Skip to content
Snippets Groups Projects
  1. Jan 31, 2016
    • Nicolas Léveillé's avatar
      Finish porting hammer's library to windows · 9a7752b9
      Nicolas Léveillé authored
      We port registry by importing the (public domain) openbsd implementation
      of the tfind/tsearch POSIX binary tree search functions.
      
      These are only necessary when building on non-posix platforms
      9a7752b9
    • Nicolas Léveillé's avatar
      Remove warning about tail "potentially uninitialized" · 206f5044
      Nicolas Léveillé authored
      MSVC was complaining that the `tail` variable was potentially
      uninitialized in the while branch. Since the while loop is actually
      coupled to the if (head != NULL) that initializes the tail variable,
      we move them together, which makes the warning disappear.
      206f5044
  2. Dec 20, 2015
  3. Dec 13, 2015
  4. Dec 08, 2015
  5. Dec 07, 2015
  6. Dec 06, 2015
  7. Dec 04, 2015
    • Sven M. Hallberg's avatar
    • Alex Willmer's avatar
      Added Python versions of base64 examples · c6280a98
      Alex Willmer authored
      These are transliterations of the existing C files.
      They're not particularly Pythonic or performant, but they're a start.
      
      Example of usage
      
      ```
      $ echo '  YW55IGNhcm5hbCBwbGVhcw==' | PYTHONPATH=../build/opt/src/bindings/python/ python base64.py
      inputsize=27
      input=  YW55IGNhcm5hbCBwbGVhcw==
      ((((89L, 87L, 53L, 53L), (73L, 71L, 78L, 104L), (99L, 109L, 53L, 104L), (98L, 67L, 66L, 119L), (98L, 71L, 86L, 104L)), (99L, 'w', '=', '=')),)
      $ echo '  YW55IGNhcm5hbCBwbGVhcw==' | PYTHONPATH=../build/opt/src/bindings/python/ python base64_sem1.py
      inputsize=27
      input=  YW55IGNhcm5hbCBwbGVhcw==
      (97L, 110L, 121L, 32L, 99L, 97L, 114L, 110L, 97L, 108L, 32L, 112L, 108L, 101L, 97L, 115L)
      $ echo '  YW55IGNhcm5hbCBwbGVhcw==' | PYTHONPATH=../build/opt/src/bindings/python/ python base64_sem2.py
      inputsize=27
      input=  YW55IGNhcm5hbCBwbGVhcw==
      (97L, 110L, 121L, 32L, 99L, 97L, 114L, 110L, 97L, 108L, 32L, 112L, 108L, 101L, 97L, 115L)
      ```
      c6280a98
  8. Dec 02, 2015
  9. Dec 01, 2015
  10. Nov 30, 2015
  11. Nov 27, 2015
  12. Nov 14, 2015
  13. Nov 01, 2015
  14. Oct 30, 2015
  15. Oct 29, 2015
  16. Oct 04, 2015
Loading