This file contains 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
// GetKeysAndValues | |
IEnumerator GetKeysAndValues(Bucket bucket) { | |
var getKeysReq = bucket.GetKeys(); | |
yield return getKeysReq.WaitUntilDone(); | |
if(!getKeysReq.isSuccessful) { | |
Debug.LogError("Error querying keys for " + bucket.name); | |
yield break; | |
} | |
This file contains 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
SSD over SATA (Plextor) | |
=========================================================== | |
Sequential Read : 495.185 MB/s | |
Sequential Write : 323.792 MB/s | |
Random Read 512KB : 384.094 MB/s | |
Random Write 512KB : 310.445 MB/s | |
Random Read 4KB (QD=1) : 32.310 MB/s [ 7888.1 IOPS] | |
Random Write 4KB (QD=1) : 86.575 MB/s [ 21136.6 IOPS] | |
Random Read 4KB (QD=32) : 366.091 MB/s [ 89377.8 IOPS] | |
Random Write 4KB (QD=32) : 312.520 MB/s [ 76298.9 IOPS] |
This file contains 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
for dir in ~/projects/*; do (echo "Updating $dir" && cd "$dir" && git pull); done |
This file contains 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
#include <public/Graphics/GLUT/C++/GLUT.hpp> | |
// Global | |
bool bp_glutRunFlag = false; | |
// glGetString(GL_VERSION) | |
void bp_closeFunc() { | |
bp_glutRunFlag = false; | |
} |
This file contains 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
return self.binaryOperatorDivideSyntax % (self.exprPrefix, op1, connector, op2, self.exprPostfix) | |
def checkInterfaceImplementation(self, classObj, interface): | |
debug("Checking '%s' for implementation of interface '%s'" % (classObj.name, interface.name)) | |
for method in interface.functions: | |
if not classObj.hasFunction(method): | |
raise CompilerException("Class '%s' does not define the '%s' method of interface '%s'" % (classObj.name, method, interface.name)) | |
This file contains 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
a = Vector<Byte>() | |
on a | |
add('a') | |
add(98) | |
add('c') | |
add(100) | |
add(0) | |
print String(a.data) |
This file contains 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
MyClass | |
init | |
my.a = 0.0 | |
public | |
a |
This file contains 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
MyClass | |
public | |
a | |
init | |
my.a = 0.0 |
This file contains 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
MyClass | |
init | |
my.member = 5 |
This file contains 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
MyClass | |
init | |
... | |
doSomething | |
my.a = 5 |
OlderNewer