Searched refs:FlexBuffers (Results 1 – 13 of 13) sorted by relevance
/third_party/flatbuffers/tests/ |
D | JavaTest.java | 13 import com.google.flatbuffers.FlexBuffers; 18 import com.google.flatbuffers.FlexBuffers.FlexBufferException; 19 import com.google.flatbuffers.FlexBuffers.Reference; 20 import com.google.flatbuffers.FlexBuffers.Vector; 22 import com.google.flatbuffers.FlexBuffers.KeyVector; 660 FlexBuffers.Map m = FlexBuffers.getRoot(builder.getBuffer()).asMap(); in testFlexBuffersTest() 666 TestEq(m.get("no_key").asMap(), FlexBuffers.Map.empty()); // empty if fail in testFlexBuffersTest() 667 TestEq(m.get("no_key").asKey(), FlexBuffers.Key.empty()); // empty if fail in testFlexBuffersTest() 668 TestEq(m.get("no_key").asVector(), FlexBuffers.Vector.empty()); // empty if fail in testFlexBuffersTest() 669 TestEq(m.get("no_key").asBlob(), FlexBuffers.Blob.empty()); // empty if fail in testFlexBuffersTest() [all …]
|
/third_party/flatbuffers/docs/source/ |
D | FlexBuffers.md | 1 FlexBuffers {#flexbuffers} 10 For this, FlatBuffers has a dedicated format, called FlexBuffers. 12 with FlatBuffers (by storing a part of a buffer in FlexBuffers 17 FlexBuffers can also be accessed without parsing / copying / object allocation. 21 FlexBuffers' design and implementation allows for a very compact encoding, 25 usually more bulky because of the need to be self-descriptive, FlexBuffers 28 FlexBuffers is still slower than regular FlatBuffers though, so we recommend to 60 FlexBuffers stores ints only as big as needed, so it doesn't differentiate 147 FlexBuffers.Map map = FlexBuffers.getRoot(bb).asMap(); 149 FlexBuffers.Vector vec = map.get("vec").asVector(); [all …]
|
D | Internals.md | 317 # FlexBuffers chapter 326 One difference is that FlexBuffers are built front to back, so children are 343 The representation of the vector is at the core of how FlexBuffers works (since 388 FlexBuffers supports integers (`TYPE_INT` and `TYPE_UINT`) and floats
|
D | FlatBuffers.md | 186 - [FlexBuffers C#](https://github.com/mzaks/FlexBuffers-CSharp) and
|
D | Compiler.md | 217 data using schema-less FlexBuffers.
|
D | doxyfile | 769 "FlexBuffers.md" \
|
/third_party/flatbuffers/rust/flexbuffers/ |
D | README.md | 4 schema-less binary format developed at Google. FlexBuffers can be accessed 9 FlexBuffers' design and implementation allows for a very compact encoding, 13 FlexBuffers supports [Serde](https://serde.rs/) for automatically serializing
|
D | Cargo.toml | 7 description = "Official FlexBuffers Rust runtime library."
|
/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffersBuilder.java | 28 import static com.google.flatbuffers.FlexBuffers.*; 29 import static com.google.flatbuffers.FlexBuffers.Unsigned.byteToUnsignedInt; 30 import static com.google.flatbuffers.FlexBuffers.Unsigned.intToUnsignedLong; 31 import static com.google.flatbuffers.FlexBuffers.Unsigned.shortToUnsignedInt; 523 if (!FlexBuffers.isTypedVectorElementType(vectorType)) { in createVector() 535 assert (!fixed || FlexBuffers.isTypedVectorElementType(vectorType)); in createVector() 558 : (typed ? FlexBuffers.toTypedVector(vectorType, fixed ? length : 0) in createVector() 644 return new Value(-1, FlexBuffers.toTypedVector(FBT_KEY,0), bitWidth, vloc); in createKeyVector() 737 if (FlexBuffers.isTypeInline(type)) { in storedWidth() 749 if (FlexBuffers.isTypeInline(type)) { in elemWidth()
|
D | FlexBuffers.java | 20 import static com.google.flatbuffers.FlexBuffers.Unsigned.byteToUnsignedInt; 21 import static com.google.flatbuffers.FlexBuffers.Unsigned.intToUnsignedLong; 22 import static com.google.flatbuffers.FlexBuffers.Unsigned.shortToUnsignedInt; 45 public class FlexBuffers { class 338 return FlexBuffers.isTypedVector(type); in isTypedVector() 531 } else if(type == FlexBuffers.FBT_VECTOR_STRING_DEPRECATED) { in asVector() 533 … return new TypedVector(bb, indirect(bb, end, parentWidth), byteWidth, FlexBuffers.FBT_KEY); in asVector() 534 } else if (FlexBuffers.isTypedVector(type)) { in asVector() 535 …return new TypedVector(bb, indirect(bb, end, parentWidth), byteWidth, FlexBuffers.toTypedVectorEle… in asVector()
|
/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/ |
D | FlexBuffersBenchmark.kt | 19 import com.google.flatbuffers.FlexBuffers 91 val ref = FlexBuffers.getRoot(jBuilder.finish()) in mapJava() 119 val root = FlexBuffers.getRoot(jBuilder.buffer) in intArrayJava() 145 val root = FlexBuffers.getRoot(jBuilder.buffer) in stringArrayJava() 190 val ref = FlexBuffers.getRoot(jBuilder.finish()) in stringMapJava()
|
/third_party/flatbuffers/dart/lib/src/ |
D | builder.dart | 166 …/// This is due to the fact that FlexBuffers will add padding to small integer values, if they are… 190 …/// Double are stored as 8 or 4 byte values in FlexBuffers. If they are stored in a mixed vector, …
|
D | reference.dart | 102 …/// This method performers a utf8 decoding, as FlexBuffers format stores strings in utf8 encoding.
|