1. 22 Jun, 2012 2 commits
  2. 14 Jun, 2012 4 commits
    • Tudor Bosman's avatar
      Unbreak Ubuntu build. · 89111953
      Tudor Bosman authored
      Summary: follybenchmark and follyfingerprint need folly to work.
      
      Test Plan: built on ubuntu
      
      Reviewed By: andrewjcg@fb.com
      
      FB internal diff: D494955
      89111953
    • Andrew Gallagher's avatar
      Fix clang narrowing error in GroupVarintTables · 2ec85270
      Andrew Gallagher authored
      Summary:
      The __m128i type is a pair of 64-bit signed ints and the values
      generated in generate_varint_tables.py overflow this range, which
      causes clang to complain.
      
      Test Plan:
      Built and ran unittests.  Also verified that the GroupVarintTable.o
      data section was identical with and w/o this change.
      
      Reviewed By: tudorb@fb.com
      
      FB internal diff: D494645
      2ec85270
    • Tudor Bosman's avatar
      Clarify split / splitTo comments. · ff884b61
      Tudor Bosman authored
      Test Plan: No
      
      Reviewed By: delong.j@fb.com
      
      FB internal diff: D494525
      ff884b61
    • Chip Turner's avatar
      Move and refactor code · 6834f1d6
      Chip Turner authored
      Summary:
      
      Moves some string manipulation code like humanify into folly
      
      Moves hash-related functions into folly and removes some old includes
      to clean up some code
      
      Adds generic hashing for tuples, similar to pairs
      
      Updates all of the build breakages from the above
      
      Test Plan: run unit tests
      
      Reviewed By: delong.j@fb.com
      
      FB internal diff: D490478
      6834f1d6
  3. 13 Jun, 2012 2 commits
  4. 12 Jun, 2012 7 commits
    • Tudor Bosman's avatar
      Fix build and test. · 62bbd01a
      Tudor Bosman authored
      Summary:
      Fix bug in FBStringTest (don't reuse the same file name)
      
      Don't use VLOG, as that requires that glog is compiled with gflags
      support, which it isn't always.
      
      Add other targets and tests, make all tests pass.
      
      Test Plan: tests
      
      Reviewed By: delong.j@fb.com
      
      FB internal diff: D493018
      62bbd01a
    • Tudor Bosman's avatar
      Fix build and test. · 96600045
      Tudor Bosman authored
      Summary:
      Fix bug in FBStringTest (don't reuse the same file name)
      
      Don't use VLOG, as that requires that glog is compiled with gflags
      support, which it isn't always.
      
      Add other targets and tests, make all tests pass.
      
      Test Plan: tests
      
      Reviewed By: delong.j@fb.com
      
      FB internal diff: D493018
      96600045
    • Tudor Bosman's avatar
      Move Rabin fingerprinting code to folly. · 987da6d2
      Tudor Bosman authored
      Summary:
      Also generate fingerprint tables every time, so the code doesn't rot.
      
      TODO(tudorb): move benchmark to folly
      TODO(tudorb): Include the program used to generate the polynomials
      (can't build as it requires NTL from http://www.shoup.net/ntl/)
      
      Test Plan: folly/test
      
      Reviewed By: andrei.alexandrescu@fb.com
      
      FB internal diff: D492455
      987da6d2
    • Tudor Bosman's avatar
      InternalBuf doesn't need capacity · e81459f6
      Tudor Bosman authored
      Summary: as it's always kMaxInternalDataSize.
      
      Test Plan: all tests in folly/experimental/io/test, both opt and dbg
      
      Reviewed By: brianp@fb.com
      
      FB internal diff: D492008
      e81459f6
    • Tudor Bosman's avatar
      Properly align internal buffer in IOBuf. · 9f705afd
      Tudor Bosman authored
      Summary:
      Yes, it's gcc specific, because alignas and max_align_t aren't in gcc
      4.6.2.
      
      Test Plan: iobuf_test, test added
      
      Reviewed By: brianp@fb.com
      
      FB internal diff: D491939
      9f705afd
    • Tudor Bosman's avatar
      Add IOBuf::takeOwnership(unique_ptr<T>&&). · c838e280
      Tudor Bosman authored
      Summary:
      Useful for in-place serialization.  Dangerous, obviously, but anything
      involving IOBuf usually is.
      
      Test Plan: test added
      
      Reviewed By: brianp@fb.com
      
      FB internal diff: D491663
      c838e280
    • Tudor Bosman's avatar
      Typos. · 4d3ede0d
      Tudor Bosman authored
      Test Plan: No
      
      Reviewed By: delong.j@fb.com
      
      FB internal diff: D491038
      4d3ede0d
  5. 09 Jun, 2012 1 commit
  6. 08 Jun, 2012 2 commits
  7. 07 Jun, 2012 3 commits
  8. 05 Jun, 2012 10 commits
  9. 04 Jun, 2012 2 commits
  10. 02 Jun, 2012 1 commit
  11. 01 Jun, 2012 1 commit