Home
last modified time | relevance | path

Searched refs:ArrayTable (Results 1 – 21 of 21) sorted by relevance

/external/flatbuffers/tests/MyGame/Example/
DArrayTable.cs12 public struct ArrayTable : IFlatbufferObject struct
17 …public static ArrayTable GetRootAsArrayTable(ByteBuffer _bb) { return GetRootAsArrayTable(_bb, new… in GetRootAsArrayTable()
18 …public static ArrayTable GetRootAsArrayTable(ByteBuffer _bb, ArrayTable obj) { return (obj.__assig… in GetRootAsArrayTable()
21 public ArrayTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
27 public static Offset<MyGame.Example.ArrayTable> EndArrayTable(FlatBufferBuilder builder) { in EndArrayTable() argument
29 return new Offset<MyGame.Example.ArrayTable>(o); in EndArrayTable()
31 …inishArrayTableBuffer(FlatBufferBuilder builder, Offset<MyGame.Example.ArrayTable> offset) { build… in FinishArrayTableBuffer() argument
32 …fixedArrayTableBuffer(FlatBufferBuilder builder, Offset<MyGame.Example.ArrayTable> offset) { build… in FinishSizePrefixedArrayTableBuffer() argument
41 public static Offset<MyGame.Example.ArrayTable> Pack(FlatBufferBuilder builder, ArrayTableT _o) { in Pack() argument
42 if (_o == null) return default(Offset<MyGame.Example.ArrayTable>); in Pack()
[all …]
DArrayTable.java11 public final class ArrayTable extends Table { class
13 …public static ArrayTable getRootAsArrayTable(ByteBuffer _bb) { return getRootAsArrayTable(_bb, new… in getRootAsArrayTable()
14 …public static ArrayTable getRootAsArrayTable(ByteBuffer _bb, ArrayTable obj) { _bb.order(ByteOrder… in getRootAsArrayTable()
17 public ArrayTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
34 public ArrayTable get(int j) { return get(new ArrayTable(), j); } in get()
35 …public ArrayTable get(ArrayTable obj, int j) { return obj.__assign(__indirect(__element(j), bb), … in get()
DArrayTable.py9 class ArrayTable(object): class
15 x = ArrayTable()
56 arrayTable = ArrayTable()
/external/guava/android/guava-tests/test/com/google/common/collect/
DArrayTableTest.java41 protected ArrayTable<String, Integer, Character> create(Object... data) { in create()
44 ArrayTable<String, Integer, Character> table = in create()
45 ArrayTable.create(asList("foo", "bar", "cat"), asList(1, 2, 3)); in create()
147 table = ArrayTable.create(asList("foo", "bar"), asList(1, 3)); in testHashCode()
181 table = ArrayTable.create(ImmutableList.of("foo"), ImmutableList.of(1)); in testToStringSize1()
188 ArrayTable.create(asList("foo", "bar", "foo"), asList(1, 2, 3)); in testCreateDuplicateRows()
196 ArrayTable.create(asList("foo", "bar"), asList(1, 2, 3, 2)); in testCreateDuplicateColumns()
204 ArrayTable.create(Arrays.<String>asList(), asList(1, 2, 3)); in testCreateEmptyRows()
212 ArrayTable.create(asList("foo", "bar"), Arrays.<Integer>asList()); in testCreateEmptyColumns()
219 ArrayTable<String, String, Character> table = in testCreateEmptyRowsXColumns()
[all …]
DTableCollectionTest.java120 ArrayTable.create(ImmutableList.copyOf(elements), ImmutableList.of(1, 2)); in suite()
210 ArrayTable.create(ImmutableList.of(1, 2), ImmutableList.copyOf(elements)); in suite()
302 ArrayTable.create(rowKeys, ImmutableList.of('a')); in suite()
429 ArrayTable.create(ImmutableList.of("bar"), columnKeys); in suite()
584 ArrayTable.create(rowKeys, columnKeys); in suite()
819 return ArrayTable.create( in makeTable()
978 return ArrayTable.create( in makeTable()
1177 return ArrayTable.create(Arrays.asList("foo", "bar", "dog"), Arrays.asList(1, 2, 3)); in makeTable()
1404 return ArrayTable.create(Arrays.asList(1, 2, 3), Arrays.asList("foo", "bar", "dog")); in makeTable()
DEmptyImmutableTableTest.java55 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) in testEqualsObjectNullValues()
DSingletonImmutableTableTest.java82 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) in testEqualsObjectNullValues()
DBenchmarkHelpers.java367 return ArrayTable.create(contents); in create()
/external/guava/guava-tests/test/com/google/common/collect/
DArrayTableTest.java41 protected ArrayTable<String, Integer, Character> create(Object... data) { in create()
44 ArrayTable<String, Integer, Character> table = in create()
45 ArrayTable.create(asList("foo", "bar", "cat"), asList(1, 2, 3)); in create()
147 table = ArrayTable.create(asList("foo", "bar"), asList(1, 3)); in testHashCode()
181 table = ArrayTable.create(ImmutableList.of("foo"), ImmutableList.of(1)); in testToStringSize1()
188 ArrayTable.create(asList("foo", "bar", "foo"), asList(1, 2, 3)); in testCreateDuplicateRows()
196 ArrayTable.create(asList("foo", "bar"), asList(1, 2, 3, 2)); in testCreateDuplicateColumns()
204 ArrayTable.create(Arrays.<String>asList(), asList(1, 2, 3)); in testCreateEmptyRows()
212 ArrayTable.create(asList("foo", "bar"), Arrays.<Integer>asList()); in testCreateEmptyColumns()
219 ArrayTable<String, String, Character> table = in testCreateEmptyRowsXColumns()
[all …]
DTableCollectionTest.java120 ArrayTable.create(ImmutableList.copyOf(elements), ImmutableList.of(1, 2)); in suite()
210 ArrayTable.create(ImmutableList.of(1, 2), ImmutableList.copyOf(elements)); in suite()
302 ArrayTable.create(rowKeys, ImmutableList.of('a')); in suite()
429 ArrayTable.create(ImmutableList.of("bar"), columnKeys); in suite()
584 ArrayTable.create(rowKeys, columnKeys); in suite()
819 return ArrayTable.create( in makeTable()
978 return ArrayTable.create( in makeTable()
1177 return ArrayTable.create(Arrays.asList("foo", "bar", "dog"), Arrays.asList(1, 2, 3)); in makeTable()
1404 return ArrayTable.create(Arrays.asList(1, 2, 3), Arrays.asList("foo", "bar", "dog")); in makeTable()
DEmptyImmutableTableTest.java55 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) in testEqualsObjectNullValues()
DSingletonImmutableTableTest.java82 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) in testEqualsObjectNullValues()
DTablesTest.java78 () -> ArrayTable.create(ImmutableList.of("one"), ImmutableList.of("uno"))); in testToTableNullValues()
DBenchmarkHelpers.java367 return ArrayTable.create(contents); in create()
/external/flatbuffers/tests/
Darrays_test_generated.h16 struct ArrayTable;
215 typedef ArrayTable TableType;
231 struct ArrayTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
253 …static flatbuffers::Offset<ArrayTable> Pack(flatbuffers::FlatBufferBuilder &_fbb, const ArrayTable…
257 typedef ArrayTable Table;
261 fbb_.AddStruct(ArrayTable::VT_A, a); in add_a()
268 flatbuffers::Offset<ArrayTable> Finish() { in Finish()
270 auto o = flatbuffers::Offset<ArrayTable>(end); in Finish()
275 inline flatbuffers::Offset<ArrayTable> CreateArrayTable(
283 flatbuffers::Offset<ArrayTable> CreateArrayTable(flatbuffers::FlatBufferBuilder &_fbb, const ArrayT…
[all …]
Darrays_test.fbs21 table ArrayTable{
25 root_type ArrayTable;
DJavaTest.java558 ArrayTable.startArrayTable(builder); in TestFixedLengthArrays()
559 ArrayTable.addA(builder, arrayOffset); in TestFixedLengthArrays()
560 int tableOffset = ArrayTable.endArrayTable(builder); in TestFixedLengthArrays()
562 ArrayTable.finishArrayTableBuffer(builder, tableOffset); in TestFixedLengthArrays()
564 ArrayTable table = ArrayTable.getRootAsArrayTable(builder.dataBuffer()); in TestFixedLengthArrays()
Dpy_test.py46 import MyGame.Example.ArrayTable # refers to generated code
2153 MyGame.Example.ArrayTable.ArrayTableStart(builder)
2154 MyGame.Example.ArrayTable.ArrayTableAddA(builder, arrayOffset)
2155 tableOffset = MyGame.Example.ArrayTable.ArrayTableEnd(builder)
2161 table = MyGame.Example.ArrayTable.ArrayTable.GetRootAsArrayTable(buf, 0)
/external/guava/android/guava/src/com/google/common/collect/
DArrayTable.java80 public final class ArrayTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable { class
91 public static <R, C, V> ArrayTable<R, C, V> create( in create()
93 return new ArrayTable<>(rowKeys, columnKeys); in create()
120 public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, V> table) { in create()
121 return (table instanceof ArrayTable<?, ?, ?>) in create()
122 ? new ArrayTable<R, C, V>((ArrayTable<R, C, V>) table) in create()
123 : new ArrayTable<R, C, V>(table); in create()
134 private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) { in ArrayTable() method in ArrayTable
155 private ArrayTable(Table<R, C, V> table) { in ArrayTable() method in ArrayTable
160 private ArrayTable(ArrayTable<R, C, V> table) { in ArrayTable() method in ArrayTable
/external/guava/guava/src/com/google/common/collect/
DArrayTable.java81 public final class ArrayTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable { class
92 public static <R, C, V> ArrayTable<R, C, V> create( in create()
94 return new ArrayTable<>(rowKeys, columnKeys); in create()
121 public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, V> table) { in create()
122 return (table instanceof ArrayTable<?, ?, ?>) in create()
123 ? new ArrayTable<R, C, V>((ArrayTable<R, C, V>) table) in create()
124 : new ArrayTable<R, C, V>(table); in create()
135 private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) { in ArrayTable() method in ArrayTable
156 private ArrayTable(Table<R, C, V> table) { in ArrayTable() method in ArrayTable
161 private ArrayTable(ArrayTable<R, C, V> table) { in ArrayTable() method in ArrayTable
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs412 ArrayTable.StartArrayTable(builder); in TestFixedLenghtArrays()
413 ArrayTable.AddA(builder, arrayOffset); in TestFixedLenghtArrays()
414 Offset<ArrayTable> tableOffset = ArrayTable.EndArrayTable(builder); in TestFixedLenghtArrays()
416 ArrayTable.FinishArrayTableBuffer(builder, tableOffset); in TestFixedLenghtArrays()
418 ArrayTable table = ArrayTable.GetRootAsArrayTable(builder.DataBuffer); in TestFixedLenghtArrays()
682 private void AreEqual(ArrayTable a, ArrayTableT b) in AreEqual()
724 private void AreEqual(ArrayTable a, ArrayTable b) in AreEqual()
766 private void TestObjectAPI(ArrayTable a) in TestObjectAPI()
772 fbb.Finish(ArrayTable.Pack(fbb, b).Value); in TestObjectAPI()
773 var c = ArrayTable.GetRootAsArrayTable(fbb.DataBuffer); in TestObjectAPI()