Searched refs:FloatArrayList (Results 1 – 11 of 11) sorted by relevance
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | FloatArrayListTest.java | 48 private static final FloatArrayList UNARY_LIST = newImmutableFloatArrayList(1); 49 private static final FloatArrayList TERTIARY_LIST = newImmutableFloatArrayList(1, 2, 3); 51 private FloatArrayList list; 55 list = new FloatArrayList(); in setUp() 59 assertSame(FloatArrayList.emptyList(), FloatArrayList.emptyList()); in testEmptyListReturnsSameInstance() 63 assertImmutable(FloatArrayList.emptyList()); in testEmptyListIsImmutable() 155 FloatArrayList listWithDupes = newImmutableFloatArrayList(1F, 1F); in testIndexOf_notInListWithDuplicates() 164 FloatArrayList listWithDupes = newImmutableFloatArrayList(1F, 1F, 2F); in testIndexOf_inListWithDuplicates_matchAtHead() 169 FloatArrayList listWithDupes = newImmutableFloatArrayList(2F, 1F, 1F, 2F); in testIndexOf_inListWithDuplicates_matchMidList() 186 FloatArrayList listWithDupes = newImmutableFloatArrayList(1F, 1F); in testContains_notInListWithDuplicates() [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FloatArrayList.java | 45 final class FloatArrayList extends AbstractProtobufList<Float> class 48 private static final FloatArrayList EMPTY_LIST = new FloatArrayList(new float[0], 0); 53 public static FloatArrayList emptyList() { in emptyList() 67 FloatArrayList() { in FloatArrayList() method in FloatArrayList 74 private FloatArrayList(float[] other, int size) { in FloatArrayList() method in FloatArrayList 96 if (!(o instanceof FloatArrayList)) { in equals() 99 FloatArrayList other = (FloatArrayList) o; in equals() 128 return new FloatArrayList(Arrays.copyOf(array, capacity), size); in mutableCopyWithCapacity() 243 if (!(collection instanceof FloatArrayList)) { in addAll() 247 FloatArrayList list = (FloatArrayList) collection; in addAll()
|
D | ProtobufLists.java | 80 return FloatArrayList.emptyList(); in emptyFloatList() 84 return new FloatArrayList(); in newFloatList()
|
D | ArrayDecoders.java | 340 final FloatArrayList output = (FloatArrayList) list; in decodeFloatList() 489 final FloatArrayList output = (FloatArrayList) list; in decodePackedFloatList() 791 FloatArrayList list = new FloatArrayList(); in decodeExtension()
|
D | CodedInputStreamReader.java | 345 if (target instanceof FloatArrayList) { in readFloatList() 346 FloatArrayList plist = (FloatArrayList) target; in readFloatList()
|
D | BinaryReader.java | 428 if (target instanceof FloatArrayList) { in readFloatList() 429 FloatArrayList plist = (FloatArrayList) target; in readFloatList()
|
D | BinaryWriter.java | 393 if (list instanceof FloatArrayList) { in writeFloatList() 394 writeFloatList_Internal(fieldNumber, (FloatArrayList) list, packed); in writeFloatList() 418 private final void writeFloatList_Internal(int fieldNumber, FloatArrayList list, boolean packed) in writeFloatList_Internal()
|
D | GeneratedMessageV3.java | 423 return FloatArrayList.emptyList(); in emptyFloatList() 427 return new FloatArrayList(); in newFloatList()
|
D | GeneratedMessageLite.java | 1454 return FloatArrayList.emptyList(); in emptyFloatList()
|
/third_party/protobuf/java/core/ |
D | BUILD | 34 "src/main/java/com/google/protobuf/FloatArrayList.java",
|
/third_party/protobuf/ |
D | Makefile.am | 318 java/core/src/main/java/com/google/protobuf/FloatArrayList.java \
|