Skip to content
Snippets Groups Projects
  1. Jul 08, 2015
  2. Jul 07, 2015
  3. Jul 03, 2015
  4. Jun 03, 2015
    • James Bielman's avatar
      RingBuf: Fix edge cases with mark/reset. · d2b4cc38
      James Bielman authored
      - This fixes #25 and fixes #26.
      
      - Move the mark state into a 'Mark' enum.
      
      - Store both 'pos' and 'len' inside the mark because both
        are needed to distinguish between full/empty states. This
        fixes 'reset' setting 'len' to zero when the buffer was
        full when marked.
      
      - Clear the mark when the length of the marked input range
        exceeds the capacity. Fixes bugs with the mark not being
        cleared correctly on writes.
      
      - Add test cases.
      d2b4cc38
  5. May 20, 2015
  6. May 19, 2015
  7. May 13, 2015
  8. May 09, 2015
  9. Apr 22, 2015
  10. Apr 12, 2015
  11. Apr 11, 2015
  12. Apr 09, 2015
  13. Apr 08, 2015
  14. Apr 07, 2015
  15. Apr 04, 2015
  16. Apr 03, 2015
  17. Apr 02, 2015
  18. Mar 30, 2015
  19. Mar 29, 2015
  20. Mar 28, 2015
  21. Mar 25, 2015
  22. Mar 24, 2015
Loading