Home
last modified time | relevance | path

Searched refs:sizedByteArray (Results 1 – 15 of 15) sorted by relevance

/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersVectorsTests.swift17 …XCTAssertEqual(b.sizedByteArray, [4, 0, 0, 0, 2, 0, 0, 0, 48, 0, 0, 0, 16, 0, 0, 0, 0, 0, 10, 0, 1… in testCreatingTwoCountries()
25 …XCTAssertEqual(b.sizedByteArray, [4, 0, 0, 0, 5, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0… in testCreateIntArray()
33 XCTAssertEqual(b.sizedByteArray, [4, 0, 0, 0, 0, 0, 0, 0]) in testCreateEmptyIntArray()
41 …XCTAssertEqual(b.sizedByteArray, [4, 0, 0, 0, 2, 0, 0, 0, 20, 0, 0, 0, 4, 0, 0, 0, 6, 0, 0, 0, 78,… in testCreateVectorOfStrings()
54 …XCTAssertEqual(b.sizedByteArray, [4, 0, 0, 0, 4, 0, 0, 0, 28, 0, 0, 0, 12, 0, 0, 0, 20, 0, 0, 0, 4… in testCreateSharedStringVector()
63 let number = Numbers.getRootAsNumbers(ByteBuffer(bytes: b.sizedByteArray)) in testReadInt32Array()
73 let number = Numbers.getRootAsNumbers(ByteBuffer(bytes: b.sizedByteArray)) in testReadDoubleArray()
DFlatBuffersStructsTests.swift12 …XCTAssertEqual(b.sizedByteArray, [12, 0, 0, 0, 0, 0, 6, 0, 4, 0, 4, 0, 6, 0, 0, 0, 0, 0, 128, 63, … in testCreatingStruct()
21 let buffer = b.sizedByteArray in testReadingStruct()
32 …XCTAssertEqual(b.sizedByteArray, [12, 0, 0, 0, 8, 0, 8, 0, 0, 0, 4, 0, 8, 0, 0, 0, 4, 0, 0, 0, 2, … in testCreatingVectorStruct()
40 …XCTAssertEqual(b.sizedByteArray, [12, 0, 0, 0, 8, 0, 12, 0, 4, 0, 8, 0, 8, 0, 0, 0, 1, 0, 0, 0, 4,… in testCreatingVectorStructWithForcedDefaults()
48 …XCTAssertEqual(b.sizedByteArray, [12, 0, 0, 0, 8, 0, 12, 0, 4, 0, 8, 0, 8, 0, 0, 0, 2, 0, 0, 0, 4,… in testCreatingEnums()
57 let buffer = b.sizedByteArray in testReadingStructWithEnums()
DFlatbuffersDoubleTests.swift12 XCTAssertEqual(b.sizedByteArray, v) in testCreateCountry()
20 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinish()
28 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinishWithPrefix()
DFlatBuffersTests.swift41 XCTAssertEqual(b.sizedByteArray, v) in testCreate()
49 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinish()
57 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinishWithPrefix()
DFlatBuffersMonsterWriterTests.swift27 …XCTAssertEqual(bytes.sizedByteArray, [48, 0, 0, 0, 77, 79, 78, 83, 0, 0, 0, 0, 36, 0, 72, 0, 40, 0… in testCreateMonster()
35 …XCTAssertEqual(bytes.sizedByteArray, [48, 0, 0, 0, 77, 79, 78, 83, 0, 0, 0, 0, 36, 0, 72, 0, 40, 0… in testCreateMonsterResizedBuffer()
41 …XCTAssertEqual(bytes.sizedByteArray, [44, 1, 0, 0, 44, 0, 0, 0, 77, 79, 78, 83, 36, 0, 72, 0, 40, … in testCreateMonsterPrefixed()
DFlatBuffersUnionTests.swift19 let buffer = b.sizedByteArray in testCreateMonstor()
56 …XCTAssertEqual(builder.sizedByteArray, [32, 0, 0, 0, 0, 0, 26, 0, 36, 0, 36, 0, 0, 0, 34, 0, 28, 0… in testEndTableFinish()
68 …XCTAssertEqual(builder.sizedByteArray, [12, 0, 0, 0, 0, 0, 6, 0, 8, 0, 4, 0, 6, 0, 0, 0, 4, 0, 0, … in testEnumVector()
/external/flatbuffers/tests/docker/
DTODO.Dockerfile.testing.php.hhvm_2019_01_165 # #0 /code/tests/phpTest.php(277): Google\FlatBuffers\FlatbufferBuilder->sizedByteArray()
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java1003 public byte[] sizedByteArray(int start, int length){ in sizedByteArray() method in FlatBufferBuilder
1016 public byte[] sizedByteArray() { in sizedByteArray() method in FlatBufferBuilder
1017 return sizedByteArray(space, bb.capacity() - space); in sizedByteArray()
/external/flatbuffers/samples/
Dsample_binary.swift45 var buf = builder.sizedByteArray in main()
/external/flatbuffers/tests/
DKotlinTest.kt177 val fbb1Bytes = fbb1.sizedByteArray() in TestNestedFlatBuffer()
268 val array = fbb.sizedByteArray() in TestSizedInputStream()
DphpTest.php277 $view = Google\FlatBuffers\ByteBuffer::wrap($builder->sizedByteArray());
DJavaTest.java220 byte[] fbb1Bytes = fbb1.sizedByteArray(); in TestNestedFlatBuffer()
317 byte[] array = fbb.sizedByteArray(); in TestSizedInputStream()
/external/flatbuffers/swift/Sources/FlatBuffers/
DFlatBufferBuilder.swift42 public var sizedByteArray: [UInt8] { variable
/external/flatbuffers/php/
DFlatbufferBuilder.php964 public function sizedByteArray() function in Google\\FlatBuffers\\FlatbufferBuilder
/external/flatbuffers/docs/source/
DTutorial.md2025 byte[] buf = builder.sizedByteArray();
2036 val buf = builder.sizedByteArray()
2135 // `sizedByteArray` returns the finished buf of type [UInt8].
2136 let buf = builder.sizedByteArray