flatbuffers/tests
mustiikhalil 1f4a9038ce
[Swift] Improves vectors performance & arrays within lib (#8415)
* Improves vectors performance and adds a benchmark to vectors of offsets in swift

Improves performance for all arrays and for loops

Uses a tuple instead of allocating a struct each time we start iterating over fieldloc

Updates benchmark library

* Fixing swift Wasm ci
2024-11-19 07:02:47 +01:00
..
64bit FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
DictionaryLookup FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
FlatBuffers.Benchmarks [C#] Prepares for official Nuget release (#7496) 2022-09-01 10:17:34 -07:00
FlatBuffers.Test Target .NET Standard 2.1, .NET 6, .NET 8 only (#8184) 2023-12-19 14:43:55 -08:00
KeywordTest FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
MyGame [Python] Render enums as Python IntEnum (#8145) 2024-06-03 08:39:14 -07:00
annotated_binary Fixed vtable duplication for binary annotator (#7809) 2023-02-02 10:39:39 -08:00
arrays_test Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
bazel_repository_test_dir Remove npm/rules_js dependency for C++ only use cases (#7990) 2024-04-18 05:06:06 +00:00
cpp17 FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
docker Moves all of the swift test code into tests/swift (#7509) 2022-09-09 22:35:42 -07:00
evolution_test FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
flatc [Kotlin] Control the generation of reflection with --reflect-names (#7775) 2023-01-10 10:03:39 -08:00
fuzzer Rename GenerateText 2023-05-11 18:14:27 -07:00
include_test Fix go generator undefined Package name, also throwing exception (#7632) 2022-11-22 13:21:25 -08:00
include_test1 Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
include_test2 Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
key_field FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
keyword_test [Rust] Add the Allocator trait for the builder API (#8106) 2023-10-07 15:28:52 -04:00
minified_enums Fixes #7345 to add the option to minify enums (#7566) 2022-11-11 04:47:28 +00:00
monster_test Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
monster_test_serialize Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
monster_test_suffix FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
more_defaults [Rust] Add the Allocator trait for the builder API (#8106) 2023-10-07 15:28:52 -04:00
name_clash_test [idl_parser] Check structs and enums do not clash in a namespace (#6562) 2021-05-14 13:56:52 -07:00
namespace_test Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
nested_namespace_test FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
nim [Nim] Bfbs Nim Generator (#7534) 2022-10-21 14:30:04 -04:00
optional_scalars FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
order Fix go generator undefined Package name, also throwing exception (#7632) 2022-11-22 13:21:25 -08:00
private_annotation_test Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
prototest Parsing from proto should keep field ID. (fixes #7645) (#7655) 2023-02-01 11:17:35 -08:00
rust_namer_test Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
rust_no_std_compilation_test Rust fix compilation for no_std targets #2 (#7553) 2022-10-19 09:14:41 -04:00
rust_serialize_test Rust soundness fixes (#7518) 2022-09-29 09:58:49 -04:00
rust_usage_test use ALIGN for Push::alignment in struct types (#8398) 2024-10-28 08:42:55 -07:00
swift [Swift] Improves vectors performance & arrays within lib (#8415) 2024-11-19 07:02:47 +01:00
ts Remove npm/rules_js dependency for C++ only use cases (#7990) 2024-04-18 05:06:06 +00:00
type_field_collsion FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
union_value_collsion FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
union_vector FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
.gitignore remove and auto-generate alignment_test_generated.h 2023-05-12 16:26:21 -07:00
Abc.nim FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
BUILD.bazel Remove npm/rules_js dependency for C++ only use cases (#7990) 2024-04-18 05:06:06 +00:00
DartTest.sh dart: use enhanced enums (#8313) 2024-11-18 17:31:19 +00:00
FromInclude.py [Python] Generate `.pyi` stub files when `--python-typing` is on. (#8312) 2024-05-29 12:47:29 -07:00
GoTest.sh Add --go-module-name flag to support generating Go module compatible code (#7651) 2022-11-22 14:28:01 -08:00
KotlinTest.kt [Kotlin] Fix key lookup returning null clashing with default value (#7237) 2022-04-11 17:17:19 -07:00
KotlinTest.sh Add Kotlin multiplatform support (#7969) 2023-05-26 11:00:33 -07:00
LobsterTest.bat Lobster namespace change 2023-09-17 10:21:58 -07:00
LuaTest.bat Lua Generator using IR. (#6940) 2021-12-02 21:29:19 -08:00
LuaTest.sh Lua Generator using IR. (#6940) 2021-12-02 21:29:19 -08:00
MoreDefaults.nim FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
MutatingBool.fbs Fixed default value of bool in struct for Swift (#7072) 2022-02-02 23:39:19 +03:00
Pizza.go Fix go generator undefined Package name, also throwing exception (#7632) 2022-11-22 13:21:25 -08:00
Property.nim FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
PythonTest.sh [gRPC] Update the code generator for Python to produce typed handlers (#8326) 2024-06-18 16:02:57 -07:00
RustTest.bat chore: add rust windows test to CI, fix RustTest.bat (#7963) 2023-05-16 16:06:41 -07:00
RustTest.sh Rust fix compilation for no_std targets #2 (#7553) 2022-10-19 09:14:41 -04:00
TableA.lua FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
TableA.nim FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
TableA.py [Python] Generate `.pyi` stub files when `--python-typing` is on. (#8312) 2024-05-29 12:47:29 -07:00
TableAT.java [Java] ObjectAPI implementation (#6521) (#6582) 2021-06-03 14:17:40 -07:00
TestAll.sh [TS] Allows object API to set 0 for a null-default scalar. (#7864) 2023-09-12 19:58:55 +02:00
TestMutatingBool.nim FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
__init__.py [Python] Fix various codegen problems (#8292) 2024-05-01 14:39:47 -07:00
alignment_test.cpp Add a unit test for odd-sized small structs (for #8117) (#8363) 2024-08-20 00:27:32 -04:00
alignment_test.fbs Add a unit test for odd-sized small structs (for #8117) (#8363) 2024-08-20 00:27:32 -04:00
alignment_test.h [C++] Rare bad buffer content alignment if sizeof(T) != alignof(T) (#7520) 2022-09-21 11:05:05 -07:00
alignment_test.json Fix misalignment of small structs in a Vector (C++) (#7883) 2023-09-28 22:53:50 -07:00
alignment_test_after_fix.afb Fix misalignment of small structs in a Vector (C++) (#7883) 2023-09-28 22:53:50 -07:00
alignment_test_after_fix.bin Fix misalignment of small structs in a Vector (C++) (#7883) 2023-09-28 22:53:50 -07:00
alignment_test_before_fix.afb Fix misalignment of small structs in a Vector (C++) (#7883) 2023-09-28 22:53:50 -07:00
alignment_test_before_fix.bin Fix misalignment of small structs in a Vector (C++) (#7883) 2023-09-28 22:53:50 -07:00
arrays_test.bfbs Put documentation to bfbs if it is not empty (#7649) 2022-11-17 15:55:42 -08:00
arrays_test.fbs
arrays_test.golden
arrays_test.schema.json JSON schema - tailing double quotes for maximum (#6452) 2021-02-10 11:45:34 -08:00
bazel_repository_test_template.sh Remove npm/rules_js dependency for C++ only use cases (#7990) 2024-04-18 05:06:06 +00:00
defs.bzl Remove npm/rules_js dependency for C++ only use cases (#7990) 2024-04-18 05:06:06 +00:00
dictionary_lookup.fbs [Java] Fix key lookup returning null clashing with default value (#7236) 2022-04-11 17:16:41 -07:00
evolution_test.cpp feat(C++): Support underlying_type for union (#7954) 2023-05-14 21:22:38 -07:00
evolution_test.h Refactor test.cpp (#7487) 2022-08-28 16:54:58 -07:00
flexbuffers_test.cpp FlexBuffers: JSON output supports indentation 2023-06-14 18:12:55 -07:00
flexbuffers_test.h [C++] Fix clang `-Wnewline-eof` warning (#7711) 2022-12-14 21:35:54 -08:00
fuzz_test.cpp Rename GenerateText 2023-05-11 18:14:27 -07:00
fuzz_test.h Refactor test.cpp (#7487) 2022-08-28 16:54:58 -07:00
go_test.go Support file_identifier in Go (#7904) 2023-04-26 05:15:09 +00:00
gold_flexbuffer_example.bin Rust Flexbuffers (#5669) 2020-05-07 14:11:26 -07:00
include_build_test.cc Add deps attribute to flatbuffer_cc_library (#7107) 2022-02-21 22:33:47 -06:00
include_test1_generated.dart dart: use enhanced enums (#8313) 2024-11-18 17:31:19 +00:00
include_test2_my_game.other_name_space_generated.dart dart: use enhanced enums (#8313) 2024-11-18 17:31:19 +00:00
included_test.fbs Add deps attribute to flatbuffer_cc_library (#7107) 2022-02-21 22:33:47 -06:00
includer_test.fbs Add deps attribute to flatbuffer_cc_library (#7107) 2022-02-21 22:33:47 -06:00
is_quiet_nan.h Refactor test.cpp (#7487) 2022-08-28 16:54:58 -07:00
javatest.bin
json_test.cpp Rename GenerateText 2023-05-11 18:14:27 -07:00
json_test.h Make JSON supporting advanced union features (#7869) 2023-04-26 05:37:06 +00:00
key_field_test.cpp run `scripts/clang-format-all.sh` 2023-05-11 12:23:49 -07:00
key_field_test.h [C++] Enable using struct and array of struct as key (#7741) 2023-01-24 16:37:13 -08:00
keyword_test.fbs Fix Rust codegen escaping field in tables. (#7659) 2022-12-15 06:04:57 +00:00
lobstertest.lobster corrected a typo (#8063) 2023-09-29 07:40:02 -07:00
luatest.lua [Lua] manipulate byte array as string (#6624) 2021-05-07 22:57:13 -07:00
monster_extra.fbs [Dart] Fix deprecated field support, inf/nan (#5724) 2020-01-23 14:53:58 -08:00
monster_extra_generated.h FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
monster_extra_my_game_generated.dart dart: use enhanced enums (#8313) 2024-11-18 17:31:19 +00:00
monster_test.afb Fixed vtable duplication for binary annotator (#7809) 2023-02-02 10:39:39 -08:00
monster_test.bfbs Put documentation to bfbs if it is not empty (#7649) 2022-11-17 15:55:42 -08:00
monster_test.cpp Fix handling non null-terminated string_views in LookupByKey (#8203) 2024-03-25 10:39:51 -07:00
monster_test.fbs Fix handling of +/-inf defaults in TS/rust/go/dart codegen (#7588) 2022-11-08 10:59:46 -08:00
monster_test.grpc.fb.cc [C++/grpc] added hiding of unused variables in the generated code (#6677) 2021-06-06 17:40:56 +07:00
monster_test.grpc.fb.h cpp_generator: comment out unused parameter to avoid warnings (#7381) 2022-07-26 15:05:01 -07:00
monster_test.h [C++] Fix clang `-Wnewline-eof` warning (#7711) 2022-12-14 21:35:54 -08:00
monster_test.schema.json Fix handling of +/-inf defaults in TS/rust/go/dart codegen (#7588) 2022-11-08 10:59:46 -08:00
monster_test_bfbs_generated.h don't emit flatbuffers include in bfbs generated output (#7968) 2023-05-17 21:13:16 -07:00
monster_test_generated.grpc.fb.cc missing generated files (#6966) 2021-12-03 11:23:58 -08:00
monster_test_generated.grpc.fb.h missing generated files (#6966) 2021-12-03 11:23:58 -08:00
monster_test_generated.h FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
monster_test_generated.lobster Lobster namespace change 2023-09-17 10:21:58 -07:00
monster_test_generated.py [Python] Render enums as Python IntEnum (#8145) 2024-06-03 08:39:14 -07:00
monster_test_generated.ts Wrap types in namespace for --ts-flat-files and --gen-all (#7451) 2022-08-16 12:52:26 -07:00
monster_test_my_game.example2_generated.dart dart: use enhanced enums (#8313) 2024-11-18 17:31:19 +00:00
monster_test_my_game.example_generated.dart dart: use enhanced enums (#8313) 2024-11-18 17:31:19 +00:00
monster_test_my_game_generated.dart dart: use enhanced enums (#8313) 2024-11-18 17:31:19 +00:00
monsterdata_extra.json
monsterdata_go_wire.mon.sp Support file_identifier in Go (#7904) 2023-04-26 05:15:09 +00:00
monsterdata_python_wire.mon
monsterdata_test.afb Fixed vtable duplication for binary annotator (#7809) 2023-02-02 10:39:39 -08:00
monsterdata_test.golden
monsterdata_test.json fixed comparator for native_inline (#7076) 2022-02-02 23:44:43 -08:00
monsterdata_test.mon fixed comparator for native_inline (#7076) 2022-02-02 23:44:43 -08:00
more_defaults.fbs Default-empty vectors of enums (#6505) 2021-04-06 07:23:45 -04:00
nan_inf_test.fbs [swift] fix broken swift test build (#7633) (#7634) 2022-11-11 18:36:47 +01:00
native_inline_table_test.fbs [C++] support native_inline attribute for vector of tables (#7479) 2022-08-29 12:48:10 -07:00
native_inline_table_test_generated.h FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
native_type_test.fbs [C++] #6501 - Problem when mapping a native type multiple times (#6514) 2021-03-18 11:01:50 -07:00
native_type_test_generated.h FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
native_type_test_impl.cpp [C++] #6501 - Problem when mapping a native type multiple times (#6514) 2021-03-18 11:01:50 -07:00
native_type_test_impl.h clang-all (#6941) 2021-11-19 17:01:48 -08:00
nested_union_test.fbs [Python] Fixed the issue with nested unions relying on InitFromBuf. (#7576) 2022-10-26 14:56:52 -07:00
optional_scalars.fbs Kotlin test optional enum (#6201) 2020-10-22 13:36:02 -07:00
optional_scalars.json Reenable optional json (#7352) 2022-06-16 09:26:44 -07:00
optional_scalars_defaults.json Reenable optional json (#7352) 2022-06-16 09:26:44 -07:00
optional_scalars_generated.h FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
optional_scalars_generated.lobster Lobster namespace change 2023-09-17 10:21:58 -07:00
optional_scalars_generated.ts Wrap types in namespace for --ts-flat-files and --gen-all (#7451) 2022-08-16 12:52:26 -07:00
optional_scalars_test.cpp run `scripts/clang-format-all.sh` 2023-05-11 12:23:49 -07:00
optional_scalars_test.h Refactor test.cpp (#7487) 2022-08-28 16:54:58 -07:00
parser_test.cpp feat: Support union underlying type for TS/JS (#7961) 2023-05-15 13:18:49 -07:00
parser_test.h [C++] Fix clang `-Wnewline-eof` warning (#7711) 2022-12-14 21:35:54 -08:00
phpTest.php Fix PHP byte validation and reenable builds (#7670) 2022-11-29 08:12:28 -08:00
phpUnionVectorTest.php
phpUnionVectorTest.sh
private_annotation_test.fbs Started implementation for private flags in rust (#7269) 2022-06-05 23:04:05 +02:00
proto_test.cpp Rename GenerateText 2023-05-11 18:14:27 -07:00
proto_test.h Parsing from proto should keep field ID. (fixes #7645) (#7655) 2023-02-01 11:17:35 -08:00
py_flexbuffers_test.py Fix Python host-endianness dependencies (#7773) 2023-01-10 10:20:08 -08:00
py_test.py Add Clear() for python Builder (#8186) 2023-12-17 22:18:11 -08:00
reflection_test.cpp various fixes (#7986) 2023-05-31 11:52:05 -07:00
reflection_test.h tests/reflection_test.h: add missing <stdint.h> include (#7680) 2022-11-30 18:47:10 -08:00
required_strings.fbs [TS]: builder, Fix requiredField(). Verity that the field is present in the vtable (#7739) (#7752) 2023-01-10 10:43:17 -08:00
rust_namer_test.fbs Removes 'size' and 'alignment' as Rust keywords (#8139) 2024-11-12 05:13:02 +00:00
service_test.fbs [gRPC] Update the code generator for Python to produce typed handlers (#8326) 2024-06-18 16:02:57 -07:00
service_test_generated.py [gRPC] Update the code generator for Python to produce typed handlers (#8326) 2024-06-18 16:02:57 -07:00
service_test_generated.pyi [gRPC] Update the code generator for Python to produce typed handlers (#8326) 2024-06-18 16:02:57 -07:00
service_test_grpc.fb.py [gRPC] Update the code generator for Python to produce typed handlers (#8326) 2024-06-18 16:02:57 -07:00
service_test_grpc.fb.pyi [gRPC] Update the code generator for Python to produce typed handlers (#8326) 2024-06-18 16:02:57 -07:00
test.cpp Fix CI builds (#8161) 2023-11-18 00:19:03 -08:00
test.fbs Optionally generate Python type annotations (#7858) 2023-04-28 09:38:29 -07:00
test_assert.cpp remove travis config (#7522) 2022-09-10 12:36:51 -07:00
test_assert.h moved function to namespace (#8068) 2023-09-29 07:50:06 -07:00
test_builder.cpp run `scripts/clang-format-all.sh` 2023-05-11 12:23:49 -07:00
test_builder.h FlatBuffers 64 for C++ (#7935) 2023-05-09 09:16:30 -07:00
type_field_collsion.fbs [C#] Fix collision of field name and type name (#7149) 2022-03-30 12:51:58 -07:00
unicode_test.json
unicode_test.mon [TS] Add Build TS to CI jobs (#6524) 2021-04-12 10:41:59 -07:00
union_underlying_type_test.fbs feat(C++): Support underlying_type for union (#7954) 2023-05-14 21:22:38 -07:00
union_underlying_type_test_generated.h FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
union_value_collision.fbs [CS] Naming collision if field has same name as table and used as key (#7842) 2023-03-02 21:42:27 -08:00
util_test.cpp ToCamelCase() when kLowerCamel now converts first char to lower. (#7838) 2023-03-15 01:09:24 +00:00
util_test.h Refactor test.cpp (#7487) 2022-08-28 16:54:58 -07:00
vector_has_test.fbs [swift] add had<ArrayName> property for arrays to check presence in a message (#7280) 2022-05-11 15:35:53 +02:00