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
vector: | |
// Optimize the common case of length == 32 which is used by Interpreter::dcb* | |
bool destroy_block = true; | |
if (length == 32) | |
00000000008D8EC1 cmp r8d,20h | |
00000000008D8EC5 jne JitBaseBlockCache::InvalidateICache+6Eh (08D8F0Eh) | |
{ | |
if (!valid_block[pAddr / 32]) | |
00000000008D8EC7 mov r11,qword ptr [rcx+40h] |
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 fun() | |
{ | |
union Test1 | |
{ | |
struct | |
{ | |
u32 foo : 2; | |
u32 bar : 2; | |
}; |
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
/*--------------------------------------------------------------------------------- | |
nehe lesson 2 port to GX by WinterMute | |
---------------------------------------------------------------------------------*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <malloc.h> |
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 sys | |
def GenerateGaussianFilter(taps) : | |
weights = [] | |
sum = 0.0 | |
w = 1.0 | |
width = (taps-1)*2 | |
for i in range((width)/2+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
Raw Symbols | |
Total Count : 1548 | |
Total Size : 388632 | |
-------------------------------------- | |
Sorted by Size | |
Size Section/Type Name Source | |
19720 .text _vfprintf_r | |
19397 .text _svfprintf_r | |
16384 .bss emergency_buffer | |
11997 .text _vfiprintf_r |
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 sys | |
import textwrap | |
s=open(sys.argv[1], 'rb').read().encode("hex").upper() | |
t=",".join(["0x"+x+y for (x,y) in zip(s[0::2], s[1::2])]) | |
print "const unsigned char data[] = {\n\t%s\n};"%" \n\t".join(textwrap.wrap(t,80)) |
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
// On MacOS X compile with g++ -framework OpenCL <filename> | |
#include <stdio.h> | |
#include <OpenCL/opencl.h> | |
#define P(x) x,#x | |
void printClDeviceInfoString(cl_device_id device_id, cl_device_info param_name, const char* printable_name) | |
{ | |
char val[1024]; |
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 <Rush/Rush.h> | |
#include <Rush/Platform.h> | |
#include <Rush/RenderPrimitiveBatch.h> | |
#include <Rush/GraphicsBitmapFont.h> | |
#include <stdio.h> | |
using namespace Rush; | |
RushAppConfig g_appConfig; |
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 <Rush/Rush.h> | |
#include <Rush/Platform.h> | |
#include <stdio.h> | |
using namespace Rush; | |
RushAppConfig g_appConfig; | |
static void startup(RushPlatformContext* context) |
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
# JamPlus script | |
MODEL_TOOL = "..\\bin\\datatool.exe" ; | |
TEXTURE_TOOL = "..\\scripts\\win32\\texconv.exe" ; | |
SHADER_TOOL = "..\\scripts\\win32\\fxc.exe" ; | |
# -------------------------------------------------------------------------- | |
actions ModelAction | |
{ |
OlderNewer