mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
* First working hack of adding 64-bit. Don't judge :) * Made vector_downward work on 64 bit types * vector_downward uses size_t, added offset64 to reflection * cleaned up adding offset64 in parser * Add C++ testing skeleton for 64-bit * working test for CreateVector64 * working >2 GiB buffers * support for large strings * simplified CreateString<> to just provide the offset type * generalize CreateVector template * update test_64.afb due to upstream format change * Added Vector64 type, which is just an alias for vector ATM * Switch to Offset64 for Vector64 * Update for reflection bfbs output change * Starting to add support for vector64 type in C++ * made a generic CreateVector that can handle different offsets and vector types * Support for 32-vector with 64-addressing * Vector64 basic builder + tests working * basic support for json vector64 support * renamed fields in test_64bit.fbs to better reflect their use * working C++ vector64 builder * Apply --annotate-sparse-vector to 64-bit tests * Enable Vector64 for --annotate-sparse-vectors * Merged from upstream * Add `near_string` field for testing 32-bit offsets alongside * keep track of where the 32-bit and 64-bit regions are for flatbufferbuilder * move template<> outside class body for GCC * update run.sh to build and run tests * basic assertion for adding 64-bit offset at the wrong time * started to separate `FlatBufferBuilder` into two classes, 1 64-bit aware, the other not * add test for nested flatbuffer vector64, fix bug in alignment of big vectors * fixed CreateDirect method by iterating by Offset64 first * internal refactoring of flatbufferbuilder * block not supported languages in the parser from using 64-bit * evolution tests for adding a vector64 field * conformity tests for adding/removing offset64 attributes * ensure test is for a big buffer * add parser error tests for `offset64` and `vector64` attributes * add missing static that GCC only complains about * remove stdint-uintn.h header that gets automatically added * move 64-bit CalculateOffset internal * fixed return size of EndVector * various fixes on windows * add SizeT to vector_downward * minimze range of size changes in vector and builder * reworked how tracking if 64-offsets are added * Add ReturnT to EndVector * small cleanups * remove need for second Array definition * combine IndirectHelpers into one definition * started support for vector of struct * Support for 32/64-vectors of structs + Offset64 * small cleanups * add verification for vector64 * add sized prefix for 64-bit buffers * add fuzzer for 64-bit * add example of adding many vectors using a wrapper table * run the new -bfbs-gen-embed logic on the 64-bit tests * remove run.sh and fix cmakelist issue * fixed bazel rules * fixed some PR comments * add 64-bit tests to cmakelist |
||
|---|---|---|
| .. | ||
| 64bit | ||
| annotated_binary | ||
| arrays_test | ||
| cpp17 | ||
| DictionaryLookup | ||
| docker | ||
| evolution_test | ||
| FlatBuffers.Benchmarks | ||
| FlatBuffers.Test | ||
| flatc | ||
| fuzzer | ||
| include_test | ||
| include_test1 | ||
| include_test2 | ||
| key_field | ||
| keyword_test | ||
| KeywordTest | ||
| minified_enums | ||
| monster_test | ||
| monster_test_serialize | ||
| monster_test_suffix | ||
| more_defaults | ||
| MyGame | ||
| name_clash_test | ||
| namespace_test | ||
| nested_namespace_test | ||
| nim | ||
| optional_scalars | ||
| order | ||
| private_annotation_test | ||
| prototest | ||
| rust_no_std_compilation_test | ||
| rust_serialize_test | ||
| rust_usage_test | ||
| swift | ||
| ts | ||
| type_field_collsion | ||
| union_value_collsion | ||
| union_vector | ||
| Abc.nim | ||
| alignment_test.cpp | ||
| alignment_test.fbs | ||
| alignment_test.h | ||
| alignment_test_generated.h | ||
| arrays_test.bfbs | ||
| arrays_test.fbs | ||
| arrays_test.golden | ||
| arrays_test.schema.json | ||
| arrays_test_generated.h | ||
| BUILD.bazel | ||
| DartTest.sh | ||
| dictionary_lookup.fbs | ||
| evolution_test.cpp | ||
| evolution_test.h | ||
| flexbuffers_test.cpp | ||
| flexbuffers_test.h | ||
| fuzz_test.cpp | ||
| fuzz_test.h | ||
| go_test.go | ||
| gold_flexbuffer_example.bin | ||
| GoTest.sh | ||
| include_build_test.cc | ||
| include_test1_generated.dart | ||
| include_test2_my_game.other_name_space_generated.dart | ||
| included_test.fbs | ||
| includer_test.fbs | ||
| is_quiet_nan.h | ||
| javatest.bin | ||
| json_test.cpp | ||
| json_test.h | ||
| key_field_test.cpp | ||
| key_field_test.h | ||
| keyword_test.fbs | ||
| KotlinTest.kt | ||
| KotlinTest.sh | ||
| lobstertest.lobster | ||
| LuaTest.bat | ||
| luatest.lua | ||
| LuaTest.sh | ||
| monster_extra.fbs | ||
| monster_extra_generated.h | ||
| monster_extra_my_game_generated.dart | ||
| monster_test.afb | ||
| monster_test.bfbs | ||
| monster_test.cpp | ||
| monster_test.fbs | ||
| monster_test.grpc.fb.cc | ||
| monster_test.grpc.fb.h | ||
| monster_test.h | ||
| monster_test.schema.json | ||
| monster_test_bfbs_generated.h | ||
| monster_test_generated.grpc.fb.cc | ||
| monster_test_generated.grpc.fb.h | ||
| monster_test_generated.h | ||
| monster_test_generated.lobster | ||
| monster_test_generated.py | ||
| monster_test_generated.ts | ||
| monster_test_my_game.example2_generated.dart | ||
| monster_test_my_game.example_generated.dart | ||
| monster_test_my_game_generated.dart | ||
| monsterdata_extra.json | ||
| monsterdata_go_wire.mon.sp | ||
| monsterdata_python_wire.mon | ||
| monsterdata_test.afb | ||
| monsterdata_test.golden | ||
| monsterdata_test.json | ||
| monsterdata_test.mon | ||
| more_defaults.fbs | ||
| MoreDefaults.nim | ||
| MutatingBool.fbs | ||
| nan_inf_test.fbs | ||
| native_inline_table_test.fbs | ||
| native_inline_table_test_generated.h | ||
| native_type_test.fbs | ||
| native_type_test_generated.h | ||
| native_type_test_impl.cpp | ||
| native_type_test_impl.h | ||
| nested_union_test.fbs | ||
| optional_scalars.fbs | ||
| optional_scalars.json | ||
| optional_scalars_defaults.json | ||
| optional_scalars_generated.h | ||
| optional_scalars_generated.lobster | ||
| optional_scalars_generated.ts | ||
| optional_scalars_test.cpp | ||
| optional_scalars_test.h | ||
| parser_test.cpp | ||
| parser_test.h | ||
| phpTest.php | ||
| phpUnionVectorTest.php | ||
| phpUnionVectorTest.sh | ||
| Pizza.go | ||
| private_annotation_test.fbs | ||
| Property.nim | ||
| proto_test.cpp | ||
| proto_test.h | ||
| py_flexbuffers_test.py | ||
| py_test.py | ||
| PythonTest.sh | ||
| reflection_test.cpp | ||
| reflection_test.h | ||
| required_strings.fbs | ||
| RustTest.bat | ||
| RustTest.sh | ||
| TableA.lua | ||
| TableA.nim | ||
| TableAT.java | ||
| test.cpp | ||
| test.fbs | ||
| test_assert.cpp | ||
| test_assert.h | ||
| test_builder.cpp | ||
| test_builder.h | ||
| TestAll.sh | ||
| TestMutatingBool.nim | ||
| type_field_collsion.fbs | ||
| unicode_test.json | ||
| unicode_test.mon | ||
| union_value_collision.fbs | ||
| util_test.cpp | ||
| util_test.h | ||
| vector_has_test.fbs | ||