/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | FlatBuffersVectorsTests.swift | 31 let vectorOffset = b.createVector(ofOffsets: vector) in testCreatingTwoCountries() 39 let o = b.createVector(numbers, size: numbers.count) in testCreateIntArray() 47 let o = b.createVector(numbers, size: numbers.count) in testCreateEmptyIntArray() 55 let o = b.createVector(ofStrings: strs) in testCreateVectorOfStrings() 68 let end = b.createVector(ofOffsets: v) in testCreateSharedStringVector() 113 b.createVector(array, size: array.count) in createNumbersVector() 117 b.createVector(array, size: array.count) in createNumbersVector() 121 b.createVector(array, size: array.count) in createNumbersVector() 125 b.createVector(array, size: array.count) in createNumbersVector()
|
D | FlatBuffersUnionTests.swift | 29 let weapons = b.createVector(ofOffsets: [weapon]) in testCreateMonstor() 56 let inv = builder.createVector(inventory, size: 10) in testEndTableFinish() 57 let weapons = builder.createVector(ofOffsets: [weaponOne, weaponTwo]) in testEndTableFinish() 58 let path = builder.createVector(ofStructs: [ in testEndTableFinish() 81 let off = builder.createVector(vectorOfEnums) in testEnumVector() 108 let types = fb.createVector(characterType) in testUnionVector() 109 let characterVector = fb.createVector(ofOffsets: characters) in testUnionVector() 152 let types = fb.createVector(characterType) in testStringUnion() 153 let characterVector = fb.createVector(ofOffsets: characters) in testStringUnion()
|
D | more_defaults_generated.swift | 94 let __ints = builder.createVector(obj.ints) in pack() 95 let __floats = builder.createVector(obj.floats) in pack() 110 let __abcs = builder.createVector(obj.abcs) in pack() 111 let __bools = builder.createVector(obj.bools) in pack()
|
D | FlatBuffersMonsterWriterTests.swift | 106 let bools = fbb.createVector(boolArray) in testArrayOfBools() 150 let inv = fbb.createVector(_inv) in createMonster() 157 let test4 = fbb.createVector(ofStructs: [ in createMonster() 162 let stringTestVector = fbb.createVector(ofOffsets: [test1, test2]) in createMonster()
|
D | monster_test_generated.swift | 590 return fbb.createVector(ofOffsets: off) in sortVectorOfStat() 691 return fbb.createVector(ofOffsets: off) in sortVectorOfReferrable() 1103 return fbb.createVector(ofOffsets: off) in sortVectorOfMonster() 1137 let __inventory = builder.createVector(obj.inventory) in pack() 1145 …let __testarrayofstring = builder.createVector(ofStrings: obj.testarrayofstring.compactMap({ $0 })… in pack() 1150 let __testarrayoftables = builder.createVector(ofOffsets: __testarrayoftables__) in pack() 1152 let __testnestedflatbuffer = builder.createVector(obj.testnestedflatbuffer) in pack() 1154 let __testarrayofbools = builder.createVector(obj.testarrayofbools) in pack() 1155 …let __testarrayofstring2 = builder.createVector(ofStrings: obj.testarrayofstring2.compactMap({ $0 … in pack() 1162 let __flex = builder.createVector(obj.flex) in pack() [all …]
|
D | union_vector_generated.swift | 274 let __characters = builder.createVector(ofOffsets: __characters__) in pack() 275 let __charactersType = builder.createVector(obj.characters.compactMap { $0?.type }) in pack()
|
/third_party/flatbuffers/swift/Sources/FlatBuffers/ |
D | FlatBufferBuilder.swift | 309 mutating public func createVector<T: Scalar>(_ elements: [T]) -> Offset { in createVector<T: Scalar>() 310 createVector(elements, size: elements.count) in createVector<T: Scalar>() 317 mutating public func createVector<T: Scalar>(_ elements: [T], size: Int) -> Offset { in createVector<T: Scalar>() 327 mutating public func createVector<T: Enum>(_ elements: [T]) -> Offset { in createVector<T: Enum>() 328 createVector(elements, size: elements.count) in createVector<T: Enum>() 335 mutating public func createVector<T: Enum>(_ elements: [T], size: Int) -> Offset { in createVector<T: Enum>() 347 mutating public func createVector(ofOffsets offsets: [Offset]) -> Offset { in createVector() function 348 createVector(ofOffsets: offsets, len: offsets.count) in createVector() 355 mutating public func createVector(ofOffsets offsets: [Offset], len: Int) -> Offset { in createVector() function 366 mutating public func createVector(ofStrings str: [String]) -> Offset { in createVector() function [all …]
|
/third_party/flatbuffers/samples/ |
D | sample_binary.swift | 43 let inventoryOffset = builder.createVector(inventory) in main() 45 let weaponsOffset = builder.createVector(ofOffsets: [sword, axe]) in main()
|
/third_party/flatbuffers/ts/flexbuffers/ |
D | builder.ts | 191 const vec = this.createVector(stackPointer.stackPosition, vecLength, 1); 207 … this.keyVectorLookup[keyVectorHash] = this.createVector(stackPointer.stackPosition, vecLength, 2); 209 …e = this.dedupKeyVectors ? this.keyVectorLookup[keyVectorHash] : this.createVector(stackPointer.st… 210 …const valuesStackValue = this.createVector(stackPointer.stackPosition + 1, vecLength, 2, keysStack… 333 …private createVector(start: number, vecLength: number, step: number, keys: StackValue | null = nul…
|
/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffersBuilder.java | 461 Value vec = createVector(iKey, start, stack.size() - start, typed, fixed, null); in endVector() 504 …private Value createVector(int key, int start, int length, boolean typed, boolean fixed, Value key… in createVector() method in FlexBuffersBuilder 614 Value vec = createVector(iKey, start, stack.size() - start, false, false, keys); in endMap()
|
/third_party/flatbuffers/tests/FlatBuffers.Benchmarks.swift/Sources/FlatBuffers.Benchmarks.swift/ |
D | main.swift | 101 let vector = fb.createVector(ofOffsets: offsets) in benchmarkThreeMillionStructs()
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffersBuilder.kt | 409 endAnyVector(position) { createVector(putKey(key), position, stack.size - position) } in startVector() 659 private inline fun createVector(key: Int, start: Int, length: Int, keys: Value? = null): Value { in createVector() method in com.google.flatbuffers.kotlin.FlexBuffersBuilder
|
/third_party/flatbuffers/docs/source/ |
D | Tutorial.md | 1131 let inventoryOffset = builder.createVector(inventory) 1282 let weaponsOffset = builder.createVector(ofOffsets: [sword, axe]) 1424 let points = fbb.createVector(ofStructs: [
|