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
Process: OpenEmuHelperApp [34647] | |
Path: /Users/USER/Library/Developer/Xcode/DerivedData/OpenEmu-eojcpfnjbgmrisdeevqgmogsbjij/Build/Products/Release/OpenEmu.app/Contents/Resources/OpenEmuHelperApp | |
Identifier: OpenEmuHelperApp | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: OpenEmu [34634] | |
Date/Time: 2012-02-24 20:49:33.727 -0800 | |
OS Version: Mac OS X 10.7.3 (11D50) | |
Report Version: 9 |
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 <iostream> | |
#include <cmath> | |
#include "v810.h" | |
#include "cpu_utils.h" | |
#include "mmu.h" | |
#include "vip.h" | |
#include "instruction.h" | |
#include <sstream> | |
#include <string> | |
#include <algorithm> |
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
Broken Games: | |
3D Tetris - Isn't properly displaying some graphics | |
Red Alarm - Fails to draw some pieces of game |
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
-(void)displayAchievement:(MyAchievement*)achievement completion:(void (^)(void))completionBlock { | |
UIView *testView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 100)] autorelease]; | |
testView.alpha = 0; | |
testView.backgroundColor = [UIColor redColor]; | |
UILabel *label = [[[UILabel alloc] initWithFrame:CGRectMake(0,0,200, 25)] autorelease]; | |
label.text = achievement.displayName; | |
[testView addSubview:label]; | |
// only allow one achievement display at a time | |
[self.window addSubview:testView]; |
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
import collection.immutable.SortedSet | |
object Repeat { | |
def repeatChecker(textLeft: List[Char], length: Int, foundSequences :Set[Int]): SortedSet[Int] = textLeft match { | |
case Nil => SortedSet[Int]() | |
case _ if textLeft.length < length => SortedSet[Int]() | |
case _ :: tail => { | |
val nextVal = textLeft.take(length).mkString.toInt | |
if (foundSequences.contains(nextVal)) |
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
- (void)myMethod | |
{ | |
//somecode | |
} | |
- (void)moreThings | |
{ | |
switch (i) | |
{ | |
case 1: |
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 <vector> | |
int main() | |
{ | |
const std::vector<int> v(1); | |
auto a = v[0]; // a has type int | |
decltype(v[0]) b = 1; // b has type const int&, the return type of | |
// std::vector<int>::operator[](size_type) const | |
auto c = 0; // c has type int | |
auto d = c; // d has type int | |
decltype(c) e; // e has type int, the type of the entity named by c |
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 <iostream> | |
int main() | |
{ | |
int foo = 10; | |
int &ref = foo; | |
decltype((foo)) a = ref; | |
a = 5; | |
std::cout << foo << std::endl; | |
} |
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 <iostream> | |
int main() | |
{ | |
int foo = 10; | |
(foo) = 5; | |
std::cout << foo << std::endl; | |
} |
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
typedef enum { | |
A, | |
B, | |
} Blah; |