Memorable 32-bit value as a constant

前端 未结 12 1629
借酒劲吻你
借酒劲吻你 2021-01-03 01:39

I am looking for a memorable 32-bit value to be used as a constant. If possible, it should be somewhat funny too.

So far, I have come up with these two:

<         


        
相关标签:
12条回答
  • 2021-01-03 01:42

    I'm a fan of 0xBAADF00D.

    0 讨论(0)
  • 2021-01-03 01:46

    You can find them yourself easily enough.

    sed '/[^a-folt]/d' /usr/share/dict/words | tr olt 017 |
    awk '{print length, $0}' | sort -n | cut -f2- -d' '
    
    0 讨论(0)
  • 2021-01-03 01:49

    The classic is 0xdeadbeef.

    0 讨论(0)
  • 2021-01-03 01:52

    Here's another: 0xDEADCAFE :)

    0 讨论(0)
  • 2021-01-03 01:55

    0xDEADBEEF 0xDEADBABE

    ...

    Hexspeak

    0 讨论(0)
  • 2021-01-03 01:55

    0xBADDD00D, 0xBADDFACE, 0xCAFEF00D, 0xBAADCAAB, 0xBADCAB1E etc etc

    0 讨论(0)
提交回复
热议问题