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
switch (typeid(A1)) | |
{ | |
case typeid(char): | |
case typeid(short int): | |
case typeid(int): | |
A1 a1 = static_cast<A1>(va_arg(vl, int)); | |
break; | |
case typeid(float): | |
case typeid(double): | |
A1 a1 = static_cast<A1>(va_arg(vl, double)); |
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
var tn = require("twitter-node"); | |
var irc = require("irc"); | |
var sys = require("sys"); | |
var client = new irc.Client("irc.wtfirc.com", "FloodBot", { channels: ["#bris2600"] }); | |
client.addListener("message", function(from, to, message) { | |
sys.puts(from + " => " + to + ": " + message); | |
}); | |
client.addListener("error", function(error) { |
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
==3214== Syscall param socketcall.send(msg) points to uninitialised byte(s) | |
==3214== at 0x40007F2: (within /lib/ld-2.7.so) | |
==3214== by 0x4035E5F: event_base_loop (in /usr/lib/libevent-1.4.so.2.1.3) | |
==3214== by 0x804EDB7: Mineserver::run(int, char**) (in /home/mcj/mineserver/mineserver/bin/mineserver) | |
==3214== by 0x804C514: main (in /home/mcj/mineserver/mineserver/bin/mineserver) | |
==3214== Address 0x4b2fd6b is 1,579 bytes inside a block of size 42,022 alloc'd | |
==3214== at 0x402377E: operator new(unsigned) (vg_replace_malloc.c:224) | |
==3214== by 0x8076092: __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned, void const*) (in /home/mcj/mineserver/mineserver/bin/mineserver) | |
==3214== by 0x8075D91: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned) (in /home/mcj/mineserver/mineserver/bin/mineserver) | |
==3214== by 0x807FF93: std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector |
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
$ ./build.sh | |
/tmp/cc-4IC5eE.o: In function `Plugin::Plugin()': | |
app.cpp:(.text+0x84): undefined reference to `std::allocator<char>::allocator()' | |
app.cpp:(.text+0xa3): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)' | |
app.cpp:(.text+0xb2): undefined reference to `operator new(unsigned int)' | |
app.cpp:(.text+0xf1): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()' | |
app.cpp:(.text+0xff): undefined reference to `std::allocator<char>::~allocator()' | |
app.cpp:(.text+0x12d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()' | |
app.cpp:(.text+0x13b): undefined reference to `std::allocator<char>::~allocator()' | |
app.cpp:(.text+0x15c): undefined reference to `std::terminate()' |
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
777777 |
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
$ ./parser -d data/log.log | |
=== Packet Header === | |
Packet length is: 225 | |
Packet CRC is: 5187 | |
=== AVL Array === | |
Codec: 8 | |
Records: 6 | |
=== AVL Element === | |
Timestamp: 1297219765583 | |
Priority: 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
diff -r -u sphinx-1.10-beta/acinclude.m4 sphinx-1.10-beta-sqlite/acinclude.m4 | |
--- sphinx-1.10-beta/acinclude.m4 2009-03-24 10:50:25.000000000 +0900 | |
+++ sphinx-1.10-beta-sqlite/acinclude.m4 2011-02-16 17:35:48.000000000 +0900 | |
@@ -221,6 +221,87 @@ | |
]) | |
+dnl -*- autoconf -*- | |
+dnl $id$ | |
+dnl Check for libsqlite, based on version found at libdbi-drivers.sf.net (GPLv2-licensed) |
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
Index: src/sphinxutils.cpp | |
=================================================================== | |
--- src/sphinxutils.cpp (revision 2673) | |
+++ src/sphinxutils.cpp (working copy) | |
@@ -129,6 +129,7 @@ | |
{ "sql_db", 0, NULL }, | |
{ "sql_port", 0, NULL }, | |
{ "sql_sock", 0, NULL }, | |
+ { "sqlite_file", 0, NULL }, | |
{ "mysql_connect_flags", 0, NULL }, |
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
#AllowEncodedSlashes On | |
ProxyPass /buildbot/ http://127.0.0.1:8010/ | |
ProxyPassReverse /buildbot/ http://127.0.0.1:8010/ |
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
mysql> select HEX(hash), LENGTH(hash), CHAR_LENGTH(hash) FROM files LIMIT 5; | |
+------------------------------------------------------------------------+-------------------+------------------------+ | |
| HEX(hash) | LENGTH(hash) | CHAR_LENGTH(hash) | | |
+------------------------------------------------------------------------+-------------------+------------------------+ | |
| 00001125C59306E280B94D29E280BA6C3DC2A17E7BC3A4C2A8CB86C38467 | 30 | 20 | | |
| 0000C29033E28093C3842548C39F41C39BC2B3C2B4E280A1C381C3A517C39C2BE280A1 | 35 | 20 | | |
| 0000C2A4C3A0C3B806C2ADC383385929C3832E1EC2BD593FC5B84F60 | 28 | 20 | | |
| 0000C2A51A45071926C393C394C39DCB9C26087FE280997B2B534F | 27 | 20 | | |
| 00011EC2ADC385E28094C38806C2BBC2B0C593E28099C2B5521125C2B4C2BC150B | 33 | |