Notices tagged with define

  1. how glorious, running on every map restart if a certain # is used (most often at the same time with a compilation) https://kiwiposter.club/attachment/2308524

    Thursday, 30-Aug-18 08:14:04 UTC from shitposter.club
  2. # traps gay

    Tuesday, 26-Jun-18 16:51:09 UTC from shitposter.club
  3. # COFE (69)

    Thursday, 21-Jun-18 15:21:43 UTC from shitposter.club
  4. my favorite hashtag is #

    Thursday, 29-Mar-18 06:30:12 UTC from shitposter.club
  5. @lambadalambda # #

    Friday, 09-Feb-18 07:22:52 UTC from quitter.no
  6. @mayuutann or you could learn how to treat singledimensional arrays just like multidimensional ones, like this C code:

    # WIDTH 10
    # HEIGHT 20

    int myarray[10*20];
    // same as int myarray[10][20];

    myarray[3 + WIDTH*8] = 99999;
    // same as myarray[3][8] = 99999;

    Thursday, 28-Dec-17 07:03:02 UTC from shitposter.club
  7. back in school we had hp-ux machines with massive 1600x1200 monitors. I wanted a cool background for my desktop so I got a masamune shirou image, and converted it to the only color format that X on hp-ux supported, .XBM

    which turns out looks like this:

    # test_width 16
    # test_height 7
    static char test_bits[] = {
    0x13, 0x00, 0x15, 0x00, 0x93, 0xcd, 0x55, 0xa5, 0x93, 0xc5, 0x00, 0x80,
    0x00, 0x60 };

    for a 1600x1200 24-bit color desktop :-( my desktop took five minutes to load just to display the background...

    Wednesday, 19-Jul-17 18:41:51 UTC from shitposter.club
  8. my favorite hashtags here on GS are # and #

    Monday, 10-Jul-17 14:17:20 UTC from shitposter.club in context
  9. @shpuld @pasty
    # DICK_LENGTH 1

    Monday, 10-Jul-17 14:16:44 UTC from shitposter.club in context
  10. # sizeof(x) rand()

    Saturday, 25-Feb-17 21:52:59 UTC from shitposter.club
  11. @fl0wn @question LOL fl0wn is deflecting. # Artificial Intelligence

    Sunday, 11-Sep-16 09:10:45 UTC from sealion.club in context
  12. # BITCOUNT(x) (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)#define BX_(x) ((x) - (((x)>>1)&0x77777777) \ - (((x)>>2)&0x33333333) \ - (((x)>>3)&0x11111111)) -- really weird C code to count the number of bits in a word

    Friday, 10-Jun-16 11:00:03 UTC from gnutan.xyz Repeated by takeshitakenji
  13. # BITCOUNT(x) (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)#define BX_(x) ((x) - (((x)>>1)&0x77777777) \ - (((x)>>2)&0x33333333) \ - (((x)>>3)&0x11111111)) -- really weird C code to count the number of bits in a word

    Friday, 10-Jun-16 11:00:03 UTC from gnutan.xyz
  14. @rebekacatalina iirc # FOO 12 means all occurrences of FOO in the source code get replaced with 12. Same as if you search and replaced FOO with 12 using a text editor.

    Thursday, 03-Sep-15 17:09:44 UTC from micro.fragdev.com
  15. @l1ghtsword I think C11 also includes a clean way of using variable-number arguments in macros. # warn(fmt, ...) fprintf(stderr, fmt, __VA_ARGS__)

    Tuesday, 29-Jul-14 19:02:31 UTC from web in context
  16. # RDN "butts"

    Wednesday, 16-Jul-14 21:01:07 UTC from web in context
  17. !coderponies

    analogmove = (!netgame
    && ((player == &players[consoleplayer] && cv_analog.value)
    || (player == &players[secondarydisplayplayer] && cv_analog2.value))
    && thiscam->chase);

    cmd = &player->cmd;
    if ((twodlevel || (actor->target->flags2 & MF2_TWOD)))
    movepushangle = ANGLE_90;
    else if (analogmove)
    movepushangle = thiscam->angle;
    else
    movepushangle = actor->angle;

    # GLIDEMOVEFACTOR 600
    P_Thrust(actor, movepushangle, cmd->forwardmove*GLIDEMOVEFACTOR);
    P_Thrust(actor, movepushangle-ANGLE_90, cmd->sidemove*GLIDEMOVEFACTOR);

    Sunday, 22-Jun-14 05:59:14 UTC from web
  18. Let me # one aspect of me for you: "I'm # you" and perhaps they think they don't need to watch the # bots so often because they are behind bars in # ?

    Sunday, 25-Aug-13 18:31:32 UTC from oracle.skilledtests.com
  19. I didn't realize CPP would let you # C keywords. It's... eeeeeeeeeevil.

    Wednesday, 03-Apr-13 15:35:01 UTC from identi.ca at 45°30'31"N 73°35'16"W
  20. @omni Either that wouldn't compile, or they've #'d YES to be a truthy value. Either way, it rubs me the wrong way. #

    Tuesday, 25-Sep-12 16:02:03 UTC from web in context
  21. # LUNA int # # 1 LUNA luna() {r eturn Luna; } while(luna()) { luna(); }

    Sunday, 15-Apr-12 23:01:13 UTC from web Repeated by bitshift
  22. # LUNA int # # 1 LUNA luna() {r eturn Luna; } while(luna()) { luna(); }

    Sunday, 15-Apr-12 23:01:13 UTC from web
  23. @sleekrush # TRUE -1 # FALSE 1 // WHAT NOW

    Wednesday, 11-Apr-12 21:03:31 UTC from web in context
  24. @comradescootaloo return ERROR_SUCCESS. Oh and: # Bork for # bork fork main() {Bork(bork(); bork(); bork()) { bork(); } }

    Wednesday, 04-Apr-12 01:00:18 UTC from web in context
  25. # mangoeser struct

    Thursday, 26-Jan-12 23:43:47 UTC from micro.fragdev.com
  26. # ERROR_SUCCESS 0 ... Silly C. !coderpony

    Wednesday, 25-Jan-12 19:24:03 UTC from web in context
  27. # Online

    Wednesday, 11-Jan-12 14:42:33 UTC from StatusNet Desktop
  28. @purplephish20 # Midday?

    Wednesday, 11-Jan-12 14:41:58 UTC from web in context
  29. RT @rotation Why isn't # a popular tag any more. I must right this injustice. Also # because.

    Thursday, 05-Jan-12 23:39:36 UTC from web