Home
last modified time | relevance | path

Searched refs:additional_bytes (Results 1 – 4 of 4) sorted by relevance

/third_party/flatbuffers/ts/
Dbuilder.ts101 prep(size: number, additional_bytes: number): void {
109 const align_size = ((~(this.bb.capacity() - this.space + additional_bytes)) + 1) & (size - 1);
112 while (this.space < align_size + size + additional_bytes) {
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java312 public void prep(int size, int additional_bytes) { in prep() argument
317 int align_size = ((~(bb.capacity() - space + additional_bytes)) + 1) & (size - 1); in prep()
319 while (space < align_size + size + additional_bytes) { in prep()
/third_party/flatbuffers/php/
DFlatbufferBuilder.php139 public function prep($size, $additional_bytes) argument
145 … $align_size = ((~($this->bb->capacity() - $this->space + $additional_bytes)) + 1) & ($size - 1);
146 while ($this->space < $align_size + $size + $additional_bytes) {
/third_party/flatbuffers/lobster/
Dflatbuffers.lobster131 def Prep(size, additional_bytes):
137 let align_size = ((~(head + additional_bytes)) + 1) & (size - 1)