- 04 10月, 2018 5 次提交
-
-
由 Wouter van Oortmerssen 提交于
Change-Id: I9a6256d90ea800834a887afdcf888df412018933
-
由 Wouter van Oortmerssen 提交于
Change-Id: I751f3bbd85eb1b521e1533c68f95442af0d18b8a
-
由 Jason Neufeld 提交于
This allow recycling/pooling instances without leaking ByteBuffers, by providing a mechanism to reset instance to newly constructed state.
-
由 Vladimir Glavnyy 提交于
* Assert tests on the first failure. Disable pop-up message box on assertion. * Fix format and code style * Move MSVC dependent code to ifdef
-
由 kostya-sh 提交于
As recommended by https://golang.org/pkg/cmd/go/internal/generate/: To convey to humans and machine tools that code is generated, generated source should have a line early in the file that matches the following regular expression (in Go syntax): ^// Code generated .* DO NOT EDIT\.$
-
- 02 10月, 2018 3 次提交
-
-
由 Taj Morton 提交于
-
由 Sumant Tambe 提交于
Download and build with a known grpc version
-
由 Vladimir Glavnyy 提交于
-
- 29 9月, 2018 1 次提交
-
-
由 Matt Mastracci 提交于
With the old-style code, the test fails with a borrow-checker error: ``` #[inline] pub fn name(&'a self) -> &'a str { self._tab.get::<flatbuffers::ForwardsUOffset<&str>>(Monster::VT_NAME, None).unwrap() } ``` ``` error[E0597]: `e` does not live long enough --> tests/integration_test.rs:273:57 | 273 | let enemy_of_my_enemy = monster.enemy().map(|e| e.name()); | ^ - `e` dropped here while still borrowed | | | borrowed value does not live long enough 274 | assert_eq!(enemy_of_my_enemy, Some("Fred")); 275 | } | - borrowed value needs to live until here ```
-
- 28 9月, 2018 3 次提交
-
-
由 kzvi 提交于
-
由 Shivendra Agarwal 提交于
* Add more apis to query vector types from a reference https://github.com/google/flatbuffers/issues/4818 * changing order of apis * another reordering * removed vector element type api as not needed as for now
-
由 Vladimir Glavnyy 提交于
-
- 27 9月, 2018 2 次提交
-
-
由 kzvi 提交于
-
由 jean-airoldie 提交于
* Fixed MakeCamelCase behavior when supplied Upper_Camel_Case, snake_case and UPPERCASE strings. * Modified the rust integration test to reflect changes.
-
- 25 9月, 2018 2 次提交
-
-
由 Sumant Tambe 提交于
* Add FlatBufferBuilder move semantics tests to main Do not eagerly delete/reset allocators in release and release_raw functions Update android, vs2010 build files New tests for various types of FlatBufferBuilders and move semantics * Improve test failure output with function names
-
由 Michael Edwards 提交于
-
- 22 9月, 2018 4 次提交
-
-
由 Thomas 提交于
* Add operator== for c++ genated code New "--gen-compare" option for flatc to generate compare operators. The operators are defined based on object based api types. Inspired by issue #263. * Improve compare operator for c++. Thanks for the code review. - Improve robustness against future schema extensions - Code style - Fix --rust generation in generate_code.sh
-
由 Wouter van Oortmerssen 提交于
Change-Id: I9b0664a3bde44a4ee44ef0fd117d0e4bedc132d9
-
由 Wouter van Oortmerssen 提交于
Different implementations of std::hash kept littering commits with namespace changes. Change-Id: Ic2d4fdcd76f8fef9802bc1572eb74ae7427085e3
-
由 Wouter van Oortmerssen 提交于
Change-Id: Ic97f5b50fa191f967672c404f737d302462fc6ac
-
- 21 9月, 2018 1 次提交
-
-
由 Christopher Cifra 提交于
* C# support for directly reading and writting to memory other than byte[]. For example, ByteBuffer can be initialized with a custom allocator which uses shared memory / memory mapped files. Public access to the backing buffer uses Span<T> instead of ArraySegment<T>. Writing to the buffer now supports Span<T> in addition to T[]. To maintain backwards compatibility ENABLE_SPAN_T must be defined. * Remove usage of expression bodied method so that ByteBuffer can be compiled with older version of C#.
-
- 13 9月, 2018 1 次提交
-
-
由 Robert 提交于
-
- 07 9月, 2018 1 次提交
-
-
由 Enrico Olivelli 提交于
This adds the ability to dispose unused buffers or to return them to an object pool
-
- 06 9月, 2018 1 次提交
-
-
由 Robert 提交于
-
- 05 9月, 2018 4 次提交
-
-
由 Robert 提交于
-
由 Onur Karaman 提交于
Manual vector creation begins with start_vector, not create_vector.
-
由 Robert 提交于
-
由 Robert 提交于
-
- 04 9月, 2018 6 次提交
- 03 9月, 2018 1 次提交
-
-
由 Robert 提交于
This is a port of FlatBuffers to Rust. It provides code generation and a runtime library derived from the C++ implementation. It utilizes the Rust type system to provide safe and fast traversal of FlatBuffers data. There are 188 tests, including many fuzz tests of roundtrips for various serialization scenarios. Initial benchmarks indicate that the canonical example payload can be written in ~700ns, and traversed in ~100ns. Rustaceans may be interested in the Follow, Push, and SafeSliceAccess traits. These traits lift traversals, reads, writes, and slice accesses into the type system, providing abstraction with no runtime penalty.
-
- 31 8月, 2018 1 次提交
-
-
由 Sumant Tambe 提交于
Add move semantics to MessageBuilder, FlatBufferBuilder, SliceAllocator, and vector_downward (#4893) Unit tests Update flatbuffers + gRPC build instructions Update CMakeLists.txt with cmake variables for grpc and protobuf install paths Update tests for travis build
-
- 25 8月, 2018 1 次提交
-
-
由 Gabriel Nützi 提交于
* Simple ReleaseRaw implemented * [doc] * clear_buffer and clear_allocator introduced * auto * typos * rename because of -Werror=shadow
-
- 24 8月, 2018 2 次提交
-
-
由 Christopher Cifra 提交于
C# support for directly reading and writting to memory other than byte[]. For example, ByteBuffer can be initialized with a custom allocator which uses shared memory / memory mapped files. (#4886) Public access to the backing buffer uses Span<T> instead of ArraySegment<T>. Writing to the buffer now supports Span<T> in addition to T[]. To maintain backwards compatibility ENABLE_SPAN_T must be defined.
-
由 Derek Bailey 提交于
-
- 21 8月, 2018 1 次提交
-
-
由 Derek Bailey 提交于
* Added preprocessor define for C++ if Template Aliases are supported by the compiler * Revert "Revert "Performance Increase of Vector of Structures using .NET BlockCopy (#4830)"" This reverts commit 1f5eae5d. * Put<T> method was inside #if UNSAFE_BYTEBUFFER which caused compilation failure when building in unsafe mode * Revert "Added preprocessor define for C++ if Template Aliases are supported by the compiler" This reverts commit a75af7352127c261baf0b6cca5cb823e13e78f11.
-