Home
last modified time | relevance | path

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

123456789

/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
H A DFlatBuffersVectorsTests.swift42 …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()
52 …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()
61 XCTAssertEqual(b.sizedByteArray, [4, 0, 0, 0, 0, 0, 0, 0]) in testCreateEmptyIntArray()
70 …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()
85 …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()
95 let number = Numbers.getRootAsNumbers(ByteBuffer(bytes: b.sizedByteArray)) in testReadInt32Array()
105 let number = Numbers.getRootAsNumbers(ByteBuffer(bytes: b.sizedByteArray)) in testReadDoubleArray()
121 let msg = Swift_Tests_Vectors.getRootAsVectors(bb: ByteBuffer(bytes: builder.sizedByteArray)) in testHasForArray()
H A DFlatbuffersDoubleTests.swift40 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinish()
59 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinishWithPrefix()
H A DFlatBuffersMonsterWriterTests.swift48 …XCTAssertEqual(bytes.sizedByteArray, [48, 0, 0, 0, 77, 79, 78, 83, 0, 0, 0, 0, 36, 0, 72, 0, 40, 0… in testCreateMonster()
59 …XCTAssertEqual(bytes.sizedByteArray, [48, 0, 0, 0, 77, 79, 78, 83, 0, 0, 0, 0, 36, 0, 72, 0, 40, 0… in testCreateMonsterResizedBuffer()
67 …XCTAssertEqual(bytes.sizedByteArray, [44, 1, 0, 0, 44, 0, 0, 0, 77, 79, 78, 83, 36, 0, 72, 0, 40, … in testCreateMonsterPrefixed()
H A DFlatBuffersTests.swift64 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinish()
78 XCTAssertEqual(b.sizedByteArray, v) in testCreateFinishWithPrefix()
H A DFlatBuffersUnionTests.swift36 let buffer = b.sizedByteArray in testCreateMonstor()
80 …XCTAssertEqual(builder.sizedByteArray, [32, 0, 0, 0, 0, 0, 26, 0, 48, 0, 36, 0, 0, 0, 34, 0, 28, 0… in testEndTableFinish()
94 …XCTAssertEqual(builder.sizedByteArray, [12, 0, 0, 0, 0, 0, 6, 0, 8, 0, 4, 0, 6, 0, 0, 0, 4, 0, 0, … in testEnumVector()
/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/
H A DFlatBuffersMonsterWriterTests.swift39 …XCTAssertEqual(bytes.sizedByteArray, [48, 0, 0, 0, 77, 79, 78, 83, 0, 0, 0, 0, 36, 0, 72, 0, 40, 0… in testCreateMonster()
50 …XCTAssertEqual(bytes.sizedByteArray, [48, 0, 0, 0, 77, 79, 78, 83, 0, 0, 0, 0, 36, 0, 72, 0, 40, 0… in testCreateMonsterResizedBuffer()
58 …XCTAssertEqual(bytes.sizedByteArray, [44, 1, 0, 0, 44, 0, 0, 0, 77, 79, 78, 83, 36, 0, 72, 0, 40, … in testCreateMonsterPrefixed()
/aosp_15_r20/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManager.java120 return builder.sizedByteArray(); in buildTrainingConstraints()
128 return builder.sizedByteArray(); in buildDefaultTrainingInterval()
144 return builder.sizedByteArray(); in buildTrainingIntervalOptions()
/aosp_15_r20/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/
DResultCallbackHelperTest.java209 return builder.sizedByteArray(); in createDefaultTrainingIntervalOptions()
215 return builder.sizedByteArray(); in createDefaultTrainingConstraints()
/aosp_15_r20/external/flatbuffers/java/com/google/flatbuffers/
H A DFlatBufferBuilder.java1067 public byte[] sizedByteArray(int start, int length){ in sizedByteArray() method in FlatBufferBuilder
1080 public byte[] sizedByteArray() { in sizedByteArray() method in FlatBufferBuilder
1081 return sizedByteArray(space, bb.capacity() - space); in sizedByteArray()
/aosp_15_r20/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DFederatedTrainingTaskTest.java163 return builder.sizedByteArray(); in createDefaultTrainingConstraints()
171 return builder.sizedByteArray(); in createDefaultTrainingIntervalOptions()
DFederatedTrainingTaskDaoTest.java341 return builder.sizedByteArray(); in createDefaultTrainingConstraints()
349 return builder.sizedByteArray(); in createDefaultTrainingIntervalOptions()
/aosp_15_r20/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DJobSchedulerHelperTest.java236 return builder.sizedByteArray(); in createTrainingConstraints()
244 return builder.sizedByteArray(); in createDefaultTrainingIntervalOptions()
DFederatedComputeLearningJobScheduleOrchestratorTest.java150 return builder.sizedByteArray(); in createDefaultTrainingConstraints()
/aosp_15_r20/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/
DOnDevicePersonalizationFlatbufferUtils.java84 return builder.sizedByteArray(); in createQueryData()
103 return builder.sizedByteArray(); in createEventData()
/aosp_15_r20/external/flatbuffers/tests/MyGame/Example/
H A DArrayTableT.java27 return fbb.sizedByteArray(); in serializeToBinary()
H A DMonsterT.java321 return fbb.sizedByteArray(); in serializeToBinary()
/aosp_15_r20/external/flatbuffers/tests/union_vector/
H A DMovieT.java31 return fbb.sizedByteArray(); in serializeToBinary()
/aosp_15_r20/external/flatbuffers/tests/docker/
H A DTODO.Dockerfile.testing.php.hhvm_2019_01_165 # #0 /code/tests/phpTest.php(277): Google\FlatBuffers\FlatbufferBuilder->sizedByteArray()
/aosp_15_r20/external/flatbuffers/swift/Sources/FlatBuffers/Documentation.docc/Resources/code/swift/
H A Dswift_code_10.swift67 let buf = builder.sizedByteArray in run()
/aosp_15_r20/external/flatbuffers/tests/MyGame/
H A DMonsterExtraT.java81 return fbb.sizedByteArray(); in serializeToBinary()
/aosp_15_r20/out/soong/.intermediates/external/flatbuffers/flatbuffers-java/android_common_apex33/turbine/
Dflatbuffers-java.jarcom/google/flatbuffers/ArrayReadWriteBuf.class <Unknown> package com.google.flatbuffers public ...
/aosp_15_r20/external/flatbuffers/samples/
H A Dsample_binary.swift59 let buf = builder.sizedByteArray in main()
/aosp_15_r20/external/flatbuffers/tests/
H A DKotlinTest.kt201 val fbb1Bytes = fbb1.sizedByteArray() in TestNestedFlatBuffer()
292 val array = fbb.sizedByteArray() in TestSizedInputStream()
/aosp_15_r20/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/util/
DTrainingConditionsCheckerTest.java184 byte[] trainingConstraintsBytes = builder.sizedByteArray(); in createDefaultTrainingConstraints()
/aosp_15_r20/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataDao.java181 return builder.sizedByteArray(); in convertAppInstallFromMapToBytes()

123456789