1. 09 9月, 2020 1 次提交
  2. 28 12月, 2018 1 次提交
    • B
      [vector] Remove static_array · fa333e34
      Behdad Esfahbod 提交于
      Was good idea, but with C++ types with constructor/destructor, was getting in
      the way as compiler was destructing those items where it was not desired.
      Since C++ does not allow zero-sized arrays, just remove it...
      fa333e34
  3. 22 12月, 2018 1 次提交
  4. 18 12月, 2018 1 次提交
  5. 17 12月, 2018 1 次提交
  6. 14 11月, 2018 1 次提交
  7. 04 11月, 2018 2 次提交
  8. 30 10月, 2018 2 次提交
    • B
      [set/map] Fix uninitialized memory · b1862743
      Behdad Esfahbod 提交于
      I keep forgetting that primitive types are NOT initialized during construction. :|
      b1862743
    • B
      Remove ASSERT_POD · 35d410f2
      Behdad Esfahbod 提交于
      Newer compilers / language allows structs with constructor in union.
      So, this was not actually testing anything.  Indeed, the recent
      change in DISALLOW_COPY *is* making some of our types non-POD.
      That broke some bots.
      
      Just remove this since it wasn't doing much, and I'd rather have
      DISALLOW_COPY.
      35d410f2
  9. 26 8月, 2018 1 次提交
  10. 09 8月, 2018 2 次提交
  11. 06 8月, 2018 2 次提交
  12. 01 8月, 2018 1 次提交
  13. 17 7月, 2018 2 次提交
  14. 16 7月, 2018 1 次提交
  15. 10 7月, 2018 2 次提交
  16. 01 6月, 2018 2 次提交
  17. 08 5月, 2018 1 次提交
  18. 02 5月, 2018 2 次提交
  19. 15 11月, 2017 1 次提交
  20. 04 11月, 2017 1 次提交
  21. 28 10月, 2017 1 次提交
  22. 15 10月, 2017 1 次提交
  23. 31 8月, 2015 1 次提交
    • B
      Poison freed objects such that double-free is detected · 326b5ebf
      Behdad Esfahbod 提交于
      Previously we were setting refcount of freed objects to the inert value, which
      was harmful because it caused further destroy()s of the freed object to NOT
      call free() and hence hide the bug.  Indeed, after eb0bf3ae test-object
      was double-free'ing objects and this was never caught on Linux.  It only was
      caught as crashing on Mac.
      
      Now we poison refcount upon freeing and check that it's valid whenever reading
      it.  Makes test-object fail now.
      326b5ebf
  24. 09 4月, 2015 1 次提交
    • K
      Minor refactoring to the atomics implementation · 3f174cd0
      Konstantin Ritt 提交于
      s/atomic_int/atomic_int_impl/ and s/atomic_ptr/atomic_ptr_impl/
      to bring it in par with hb_mutex_impl_t, then re-introduce
      hb_atomic_int_t as a wrapper around hb_atomic_int_impl_t.
      
      In hb_reference_count_t, make it clear the non-atomic get and set
      are intentional due to nature of the cases they are used in
      (comparison to -1 and the debug output/tracing).
      3f174cd0
  25. 15 8月, 2014 6 次提交
  26. 04 12月, 2012 2 次提交