1. 08 May, 2019 1 commit
  2. 06 May, 2019 3 commits
    • Malthe Borch's avatar
      Use a hash table to index existing vtables (#5314) · e47ca7ab
      Malthe Borch authored
      * Use a hash table to index existing vtables
      
      This allows for quick deduplication even in situations where there
      might be thousands of vtables due to 'combinatoric explosion'.
      
      This fixes issue #5301.
      
      * Refactor 0-offset trimming
      
      * Improve deduplication benchmark
      
      The routine now generates a set of realistic logical layouts and
      uses a timer function that randomly picks a layout for each iteration.
      
      The benchmark runs in batches of # of logical layouts = 1, 10, 100, 1000.
      
      (Note that due to alignment, the actual number of vtables is usually slightly
      higher.)
      e47ca7ab
    • Vladimir Glavnyy's avatar
      Add monster_extra files to Bazel cc_test section (#5321) · d79f4e97
      Vladimir Glavnyy authored
      - add monster_extra.fbs
      - add monsterdata_extra.json
      d79f4e97
    • Lee Mracek's avatar
      Fix typo in build_defs.bzl (#5320) · 5d67693e
      Lee Mracek authored
      5d67693e
  3. 02 May, 2019 2 commits
    • Vladimir Glavnyy's avatar
      Make MonsterExtra table a root table (#5315) · af74f87c
      Vladimir Glavnyy authored
      - MonsterExtra table a root table
      - add mosterdata_extra.json
      af74f87c
    • Vladimir Glavnyy's avatar
      Fix issues with uint64 enums (#5265) · b8ef8c15
      Vladimir Glavnyy authored
      * Fix issues with uint64 enums
      
      - hide the implementation of enums from code generators
      - fix uint64 the issue in the cpp-generator
      - fix #5108
      - new tests
      - enums with bit_flags attribute should be unsigned
      
      * Refine objectives of EnumDef's FindByValue and ReverseLookup methods
      
      - move EnumDef::ReverseLookup implementation to idl_parser.cpp
      - fix typos
      
      * Make the IsUInt64 method private
      b8ef8c15
  4. 29 Apr, 2019 1 commit
  5. 27 Apr, 2019 1 commit
  6. 24 Apr, 2019 6 commits
  7. 22 Apr, 2019 2 commits
  8. 19 Apr, 2019 2 commits
  9. 18 Apr, 2019 3 commits
  10. 15 Apr, 2019 3 commits
  11. 11 Apr, 2019 4 commits
  12. 08 Apr, 2019 3 commits
  13. 05 Apr, 2019 5 commits
  14. 04 Apr, 2019 1 commit
  15. 01 Apr, 2019 1 commit
  16. 28 Mar, 2019 1 commit
  17. 25 Mar, 2019 1 commit
    • Austin Schuh's avatar
      Add missing test data file to BUILD file (#5264) · 343bbe80
      Austin Schuh authored
      $ cat
      /home/austin/.cache/bazel/_bazel_austin/4b3182bfa237d7e256d9f18ffe58322f/execroot/com_github_google_flatbuffers/bazel-out/k8-opt/testlogs/flatbuffers_test/test.log
      exec ${PAGER:-/usr/bin/less} "$0" || exit 1
      Executing tests from //:flatbuffers_test
      -----------------------------------------------------------------------------
      VALUE: "0"
      EXPECTED: "1"
      TEST FAILED: tests/test.cpp:2029, flatbuffers::LoadFile( (test_data_path
      + "union_vector/union_vector.json").c_str(), false, &jsonfile) in
      VALUE: "0"
      EXPECTED: "1"
      TEST FAILED: tests/test.cpp:2100, parser.Parse(jsonfile.c_str()) in
      VALUE: "0"
      EXPECTED: "1"
      TEST FAILED: tests/test.cpp:2103, VerifyMovieBuffer(jverifier) in
      343bbe80