1. 10 Oct, 2019 1 commit
  2. 04 Oct, 2019 1 commit
  3. 14 Aug, 2019 1 commit
  4. 13 Aug, 2019 1 commit
  5. 01 Aug, 2019 1 commit
  6. 31 Jul, 2019 1 commit
  7. 11 Jul, 2019 1 commit
    • David Gibson's avatar
      bitmap: Fix some bugs on 32-bit platforms · cdd0b8b5
      David Gibson authored
      The bitmap_word type is an unsigned long.  However in some places we assign
      it using -1ULL, a 64-bit value on many platforms.  We sometimes get away
      with this because it masks correctly, but in other cases it breaks things.
      
      To clean this up define a new BITMAP_WORD_1 constant, indicating a
      bitmap_word with all bits set, and use that instead of explicit UL or ULL
      qualifiers.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      cdd0b8b5
  8. 11 Jun, 2019 4 commits
  9. 23 May, 2019 1 commit
  10. 22 May, 2019 1 commit
  11. 21 May, 2019 2 commits
  12. 02 Apr, 2019 1 commit
    • Rusty Russell's avatar
      htable: avoid branch in calculating perfect bit. · 7623d082
      Rusty Russell authored
      Final results of tools/speed/10000000 (10 runs) shows a slight
      slowdown in some tests, but it makes an empty htable smaller.
      
      -Initial delete all: 96-98(96.4+/-0.66) ns
      +Initial delete all: 97-99(98.2+/-0.75) ns
      -Initial re-inserting: 117-124(121.4+/-1.9) ns
      +Initial re-inserting: 124-131(126.4+/-2.4) ns
      -Adding (a different) half: 49-50(49.3+/-0.46) ns
      +Adding (a different) half: 50-52(51.2+/-0.75) ns
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      7623d082
  13. 01 Apr, 2019 2 commits
  14. 16 Mar, 2019 3 commits
  15. 04 Mar, 2019 5 commits
  16. 28 Feb, 2019 3 commits
  17. 13 Feb, 2019 1 commit
  18. 07 Feb, 2019 1 commit
  19. 05 Feb, 2019 1 commit
  20. 17 Dec, 2018 1 commit
  21. 12 Nov, 2018 1 commit
  22. 05 Nov, 2018 1 commit
    • Dmitry Petukhov's avatar
      small fix for ccan/take/take.c · 440efa55
      Dmitry Petukhov authored
      Hello.
      
      I've decided to take a look at c-lighting code, because we might
      consider using it in the future.
      
      I found a small problem in ccan/take/take.c that only concerns code
      that runs with CCAN_TAKE_DEBUG set (DEVELOPER=1 for c-lighting).
      
      It is a small issue, but I decided to notify you as the author of the
      code, anyway.
      
      the issue is:
        in take_() function, potential failure of realloc for labelarr is not
        handled.
      
      I attached a diff with a fix.
      
      I thought that making a pull request for c-lighting would not be right,
      as ccan is a separate project, but I did not find a way to report this
      at http://git.ozlabs.org/, where ccan repo resides.
      
      Therefore I wrote to you directly.
      
      [ Minor whitespace changes --RR ]
      440efa55
  23. 02 Nov, 2018 2 commits
  24. 18 Oct, 2018 1 commit
  25. 12 Oct, 2018 2 commits