Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Gentlemen, choose your weapons.

Name: Anonymous 2007-12-26 8:29

http://en.wikipedia.org/wiki/Indent_style

I pick: Allman style.

Downside: Proprietary AIDS -
>This style is used by default in Microsoft Visual Studio 2005 and Apple's Xcode.

Name: Anonymous 2007-12-27 7:01

Bonus points for figuring out what it's for/from.
while(inpos<data+len) {
 unsigned short type; unsigned int rlen;
 type = *(unsigned short *)inpos++;
 rlen = ((type&63)==63)?*(unsigned int *)inpos++ : type&63;
 type >>= 6;
 switch(type) {
  ...
  default:
   *(unsigned short *)outpos++ = (type<<6) + (rlen<63)?rlen:63;
   if(rlen>=63) *(unsigned int *)outpos++ = rlen;
   while(rlen--) *outpos++ = *inpos++;
 }
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List