This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @constructor | |
*/ | |
var f1 = function() { | |
}; | |
/** | |
* | |
*/ | |
f1.prototype.foo = function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Profiler = { | |
stackFrame: [], | |
counters: {}, | |
working: false, | |
listup: function(name, obj, parentName, parentObj, level) { | |
if(level > 10) { | |
return; | |
} | |
var fullName = parentName? parentName + "." + name: name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void switch_func(int n) { | |
char *s; | |
switch(n) { | |
case 0: | |
s = "Sun"; | |
if(0) | |
case 1: | |
{ s = "Mon"; } | |
if(0) | |
case 2: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gotoLabel; | |
do { | |
switch(gotoLabel) { | |
default: | |
/* code here... */ | |
gotoLabel = "label1"; break; /*goto lable1*/ | |
case "label1": | |
/* code here... */ | |
gotoLable = null; | |
} |
NewerOlder