Home
last modified time | relevance | path

Searched refs:putInt (Results 1 – 25 of 45) sorted by relevance

12

/third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.kt21 fun mutateA(a: Int) : ByteBuffer = bb.putInt(bb_pos + 0, a) in mutateA()
23 fun mutateB(b: Int) : ByteBuffer = bb.putInt(bb_pos + 4, b) in mutateA()
27 builder.putInt(b) in mutateA()
28 builder.putInt(a) in mutateA()
DStructInNestedNS.java16 public void mutateA(int a) { bb.putInt(bb_pos + 0, a); } in mutateA()
18 public void mutateB(int b) { bb.putInt(bb_pos + 4, b); } in mutateB()
22 builder.putInt(b); in createStructInNestedNS()
23 builder.putInt(a); in createStructInNestedNS()
DStructInNestedNS.php48 $builder->putInt($b);
49 $builder->putInt($a);
/third_party/flatbuffers/tests/MyGame/Example/
DAbility.kt21 fun mutateId(id: UInt) : ByteBuffer = bb.putInt(bb_pos + 0, id.toInt()) in mutateId()
23 fun mutateDistance(distance: UInt) : ByteBuffer = bb.putInt(bb_pos + 4, distance.toInt()) in mutateId()
27 builder.putInt(distance.toInt()) in mutateId()
28 builder.putInt(id.toInt()) in mutateId()
DAbility.java16 public void mutateId(long id) { bb.putInt(bb_pos + 0, (int)id); } in mutateId()
18 public void mutateDistance(long distance) { bb.putInt(bb_pos + 4, (int)distance); } in mutateDistance()
22 builder.putInt((int)distance); in createAbility()
23 builder.putInt((int)id); in createAbility()
DArrayStruct.java18 public void mutateB(int j, int b) { bb.putInt(bb_pos + 4 + j * 4, b); } in mutateB()
23 public void mutateE(int e) { bb.putInt(bb_pos + 136, e); } in mutateE()
33 builder.putInt(e); in createArrayStruct()
45 builder.putInt(d_a[_idx0-1][_idx1-1]); in createArrayStruct()
51 builder.putInt(b[_idx0-1]); in createArrayStruct()
DStructOfStructs.kt30 builder.putInt(c_distance.toInt()) in a()
31 builder.putInt(c_id.toInt()) in a()
37 builder.putInt(a_distance.toInt()) in a()
38 builder.putInt(a_id.toInt()) in a()
DStructOfStructs.java25 builder.putInt((int)c_distance); in createStructOfStructs()
26 builder.putInt((int)c_id); in createStructOfStructs()
32 builder.putInt((int)a_distance); in createStructOfStructs()
33 builder.putInt((int)a_id); in createStructOfStructs()
DNestedStruct.java16 public void mutateA(int j, int a) { bb.putInt(bb_pos + 0 + j * 4, a); } in mutateA()
35 builder.putInt(a[_idx0-1]); in createNestedStruct()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java132 static void putInt(Object target, long offset, int value) { in putInt() method in UnsafeUtil
133 MEMORY_ACCESSOR.putInt(target, offset, value); in putInt()
188 static void putInt(int[] target, long index, int value) { in putInt() method in UnsafeUtil
189 MEMORY_ACCESSOR.putInt(target, INT_ARRAY_BASE_OFFSET + (index * INT_ARRAY_INDEX_SCALE), value); in putInt()
266 static void putInt(long address, int value) { in putInt() method in UnsafeUtil
267 MEMORY_ACCESSOR.putInt(address, value); in putInt()
557 public final void putInt(Object target, long offset, int value) { in putInt() method in UnsafeUtil.MemoryAccessor
558 unsafe.putInt(target, offset, value); in putInt()
603 public abstract void putInt(long address, int value); in putInt() method in UnsafeUtil.MemoryAccessor
638 public void putInt(long address, int value) { in putInt() method in UnsafeUtil.JvmMemoryAccessor
[all …]
DMessageSchema.java1226 UnsafeUtil.putInt(message, offset, UnsafeUtil.getInt(other, offset)); in mergeSingleField()
1238 UnsafeUtil.putInt(message, offset, UnsafeUtil.getInt(other, offset)); in mergeSingleField()
1265 UnsafeUtil.putInt(message, offset, UnsafeUtil.getInt(other, offset)); in mergeSingleField()
1271 UnsafeUtil.putInt(message, offset, UnsafeUtil.getInt(other, offset)); in mergeSingleField()
1277 UnsafeUtil.putInt(message, offset, UnsafeUtil.getInt(other, offset)); in mergeSingleField()
1289 UnsafeUtil.putInt(message, offset, UnsafeUtil.getInt(other, offset)); in mergeSingleField()
1646 unsafe.putInt(message, (long) presenceMaskAndOffset, fieldSize); in getSerializedSizeProto2()
1662 unsafe.putInt(message, (long) presenceMaskAndOffset, fieldSize); in getSerializedSizeProto2()
1678 unsafe.putInt(message, (long) presenceMaskAndOffset, fieldSize); in getSerializedSizeProto2()
1694 unsafe.putInt(message, (long) presenceMaskAndOffset, fieldSize); in getSerializedSizeProto2()
[all …]
/third_party/flatbuffers/tests/union_vector/
DBookReader.kt19 fun mutateBooksRead(booksRead: Int) : ByteBuffer = bb.putInt(bb_pos + 0, booksRead) in mutateBooksRead()
23 builder.putInt(booksRead) in mutateBooksRead()
DRapunzel.kt19 fun mutateHairLength(hairLength: Int) : ByteBuffer = bb.putInt(bb_pos + 0, hairLength) in mutateHairLength()
23 builder.putInt(hairLength) in mutateHairLength()
DRapunzel.java14 public void mutateHairLength(int hair_length) { bb.putInt(bb_pos + 0, hair_length); } in mutateHairLength()
18 builder.putInt(hairLength); in createRapunzel()
DBookReader.java14 public void mutateBooksRead(int books_read) { bb.putInt(bb_pos + 0, books_read); } in mutateBooksRead()
18 builder.putInt(booksRead); in createBookReader()
DBookReader.php38 $builder->putInt($booksRead);
DRapunzel.php38 $builder->putInt($hairLength);
/third_party/mindspore/mindspore/lite/java/java/fl_client/src/main/java/com/mindspore/flclient/model/
DAlBert.java62 inputIdBufffer.putInt(feature.inputIds[j]); in fillInputBuffer()
63 tokenIdBufffer.putInt(feature.tokenIds[j]); in fillInputBuffer()
64 maskIdBufffer.putInt(feature.inputMasks[j]); in fillInputBuffer()
69 labelIdBufffer.putInt(feature.labelIds); in fillInputBuffer()
/third_party/flatbuffers/java/com/google/flatbuffers/
DByteBufferReadWriteBuf.java86 public void putInt(int value) { in putInt() method in ByteBufferReadWriteBuf
87 buffer.putInt(value); in putInt()
134 buffer.putInt(index, value); in setInt()
DFlexBuffersBuilder.java221 public void putInt(int val) { in putInt() method in FlexBuffersBuilder
222 putInt(null, val); in putInt()
230 public void putInt(String key, int val) { in putInt() method in FlexBuffersBuilder
231 putInt(key, (long) val); in putInt()
239 public void putInt(String key, long val) { in putInt() method in FlexBuffersBuilder
256 public void putInt(long value) { in putInt() method in FlexBuffersBuilder
257 putInt(null, value); in putInt()
415 case 4: bb.putInt((int) value); break; in writeInt()
DFlatBufferBuilder.java361 public void putInt (int x) { bb.putInt (space -= Constants.SIZEOF_INT, x); } in putInt() method in FlatBufferBuilder
414 public void addInt (int x) { prep(Constants.SIZEOF_INT, 0); putInt (x); } in addInt()
446 putInt(off); in addOffset()
511 putInt(vector_num_elems); in endVector()
913 bb.putInt(space, existing_vtable - vtableloc); in endTable()
920 bb.putInt(bb.capacity() - vtableloc, offset() - vtableloc); in endTable()
/third_party/flatbuffers/php/
DFlatbufferBuilder.php225 public function putInt($x) function in Google\\FlatBuffers\\FlatbufferBuilder
227 $this->bb->putInt($this->space -= 4, $x);
288 $this->putInt($new_off);
349 $this->putInt($x);
859 $this->bb->putInt($this->space, $existing_vtable - $vtableloc);
872 $this->bb->putInt($this->bb->capacity() - $vtableloc, $this->offset() - $vtableloc);
/third_party/flatbuffers/tests/
DJavaTest.java620 builder.putInt(-100); in testFlexBuffersTest()
624 builder.putInt(Long.MAX_VALUE); in testFlexBuffersTest()
627 builder.putInt("test", 200); in testFlexBuffersTest()
635 builder.putInt(1); in testFlexBuffersTest()
636 builder.putInt(2); in testFlexBuffersTest()
637 builder.putInt(3); in testFlexBuffersTest()
652 builder.putInt("int", -120); in testFlexBuffersTest()
785 builder.putInt(10); in testSingleElementByte()
792 builder.putInt(Short.MAX_VALUE); in testSingleElementShort()
799 builder.putInt(Integer.MIN_VALUE); in testSingleElementInt()
[all …]
DphpTest.php394 $uut->putInt(0, 0x0A0B0C0D);
402 $uut->putInt(0, -2147483648);
412 $uut->putInt(2, 0x0A0B0C0D);
419 $uut->putInt(0, 0x0A0B0C0D);
426 $uut->putInt(2, 0x0A0B0C0D);
/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/
DFlexBuffersBenchmark.kt79 jBuilder.putInt("int", 10) in mapJava()
83 bigIntArray.forEach { jBuilder.putInt(it) } in mapJava()
116 bigIntArray.forEach { jBuilder.putInt(it) } in intArrayJava()

12