Home
last modified time | relevance | path

Searched refs:new_with_capacity (Results 1 – 5 of 5) sorted by relevance

/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs158 let builder = &mut flatbuffers::FlatBufferBuilder::new_with_capacity(1<<20); in create_string_10()
173 let builder = &mut flatbuffers::FlatBufferBuilder::new_with_capacity(1<<20); in create_string_100()
191 let builder = &mut flatbuffers::FlatBufferBuilder::new_with_capacity(1<<20); in create_byte_vector_100_naive()
209 let builder = &mut flatbuffers::FlatBufferBuilder::new_with_capacity(1<<20); in create_byte_vector_100_optimal()
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs62 Self::new_with_capacity(0) in new()
69 pub fn new_with_capacity(size: usize) -> Self { in new_with_capacity() method
696 Self::new_with_capacity(0) in default()
/external/flatbuffers/samples/
Dsample_binary.rs35 let mut builder = flatbuffers::FlatBufferBuilder::new_with_capacity(1024); in main()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs221 flatbuffers::FlatBufferBuilder::new_with_capacity(flatbuffers::FLATBUFFERS_MAX_BUFFER_SIZE+1); in builder_abort_with_greater_than_maximum_buffer_size()
2325 let mut b = flatbuffers::FlatBufferBuilder::new_with_capacity(12); in layout_03b_11xbyte_vector_matches_builder_size()
/external/flatbuffers/docs/source/
DTutorial.md652 let mut builder = flatbuffers::FlatBufferBuilder::new_with_capacity(1024);