Skip to content

Instantly share code, notes, and snippets.

<?php
$artists = array(
"千夜" => array(
"Andromeda" => array(
"Track 1",
"Track 2"
),
"Mother Goose Live" => array(
"Track 1",
"Track 2",
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c: In function ‘int LZ4_uncompress(const char*, char*, int)’:
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c:740:56: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘size_t {aka long unsigned int}’ inside { } [-Wnarrowing]
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c: In function ‘int LZ4_uncompress_unknownOutputSize(const char*, char*, int, int)’:
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c:828:56: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘size_t {aka long unsigned int}’ inside { } [-Wnarrowing]
1st line:
size_t dec2table[]={0, 0, 0, -1, 0, 1, 2, 3};
2nd line:
size_t dec2table[]={0, 0, 0, -1, 0, 1, 2, 3};
*** STACK TRACE: ***
File "/home/eduard/Projects/flua/src/flua/Tools/IDE/Threads/OutputCompilerThread.py", line 48, in run
self.outputCompiler.compile(self.ppFile, silent = True)
*** EXCEPTION: ***
Traceback (most recent call last):
File "/home/eduard/Projects/flua/src/flua/Compiler/Output/BaseOutputCompiler.py", line 359, in genericCompile
cppOut.compile()
File "/home/eduard/Projects/flua/src/flua/Compiler/Output/cpp/CPPOutputFile.py", line 117, in compile
self.body += self.parseChilds(self.codeNode, "\t" * self.currentTabLevel, self.lineLimiter)
File "/home/eduard/Projects/flua/src/flua/Compiler/Output/BaseOutputFile.py", line 1268, in parseChilds
// note that FreeImage_Unload is defined as
// DLL_API void DLL_CALLCONV FreeImage_Unload(FIBITMAP *dib);
// and the FreeImage library has been compiled without the garbage collector.
***Static roots:
From 0x8373000 to 0x83e877c (temporary)
From 0xb776b000 to 0xb776d200 (temporary)
From 0xb77322a4 to 0xb7752b20 (temporary)
From 0xb7664000 to 0xb7664144 (temporary)
From 0xb75ef000 to 0xb75ef0c0 (temporary)
@akyoto
akyoto / gist:3124312
Created July 16, 2012 18:51
Lubuntu x86 cold start
Load Configuration: 66 ms
Init Theme: 25 ms
Init Workspaces: 20 ms
Init UI: 897 ms
Init Toolbar: 0 ms
Init Dock Icons: 0 ms
Init Compiler: 21 ms
Init Preferences: 63 ms
Init Actions: 0 ms
Init module directory: 339 ms
@akyoto
akyoto / gist:3121340
Created July 16, 2012 07:24
Windows cold start
Module directory: C:/Users/Eduard/Downloads/Flua/flua/src/
---
Load Configuration: 0 ms
Init Theme: 0 ms
Init Workspaces: 0 ms
Init UI: 125 ms
Init Toolbar: 0 ms
Init Dock Icons: 0 ms
Init Compiler: 0 ms
Init Preferences: 359 ms
Load Configuration: 9 ms
Init Theme: 1 ms
Init Workspaces: 4 ms
Init UI: 98 ms
Init Toolbar: 0 ms
Init Dock Icons: 0 ms
Init Compiler: 2 ms
Init Preferences: 14 ms
Init Actions: 0 ms
Init module directory: 78 ms
# Definieren wir eine Funktion:
meineFunktion x
print x
if x == 1000
return
else
meineFunktion(x + 1)
# Und jetzt lassen wir sie von 0 starten:
BPTextureInfo *flua_loadTexture(
const char* filename,
GLenum image_format,
GLint internal_format,
GLint level,
GLint border
) {
//image format
FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;
BPTextureInfo *flua_loadTexture(
const char* filename,
GLenum image_format,
GLint internal_format,
GLint level,
GLint border
) {
//image format
FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;