Jul 1 2009

I wanted to name

Christoph

// Whaaaaa! I wanted to name this method GetClassInfo, but
// nooo, some of Microsoft devstudio’s headers #defines
// GetClassInfo to GetClassInfoA so I can’t, those $%#@^!
// bastards!!! What gives them the right to do that?

Source: Direct link to the source code
Software: Mozilla
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (5 Bewertungen, Durchschnitt: 5,00 von 5)
Loading ... Loading ...

Jun 22 2009

Play around

Christoph

/*
 * Heeelp! I just *can’t* stay away from chances
 * like this to play around… :-D
 */

Source: Direct link to the source code
Software: Kobo Deluxe
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (5 Bewertungen, Durchschnitt: 4,00 von 5)
Loading ... Loading ...

Jun 19 2009

Holy batman

Christoph

/**
 * Holy batman, you found the most important functions of
 * them all.
 */

Source: Direct link to the source code
Software: FIFE
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 3,67 von 5)
Loading ... Loading ...

Mai 25 2009

Count on crashes

Christoph

/*
like there’s ever going to be wrap around with a 32-bit
unsigned int! how long would that take? Let’s see… even if
we somehow generated 100 packets per second, we’d need to
run for over 1 year, 4 months straight. I suspect this
client, or the machine it’s running on, will crash way way
way before then. Ah, windows. Being able to COUNT on crashes
is SUCH a lovely thing. F*ck, whatever.
*/

Source: Direct link to the source code
Software: MOLE – Mud On-Line Editor
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4,50 von 5)
Loading ... Loading ...

Mai 23 2009

In trouble

Christoph

// Ok, If we’ve gotten here, we’re in trouble… [...]

Source: Direct link to the source code
Software: Octave
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4,25 von 5)
Loading ... Loading ...