Home
last modified time | relevance | path

Searched refs:FloatArrayList (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DFloatArrayListTest.java48 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/
DFloatArrayList.java45 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()
DProtobufLists.java80 return FloatArrayList.emptyList(); in emptyFloatList()
84 return new FloatArrayList(); in newFloatList()
DArrayDecoders.java340 final FloatArrayList output = (FloatArrayList) list; in decodeFloatList()
489 final FloatArrayList output = (FloatArrayList) list; in decodePackedFloatList()
791 FloatArrayList list = new FloatArrayList(); in decodeExtension()
DCodedInputStreamReader.java345 if (target instanceof FloatArrayList) { in readFloatList()
346 FloatArrayList plist = (FloatArrayList) target; in readFloatList()
DBinaryReader.java428 if (target instanceof FloatArrayList) { in readFloatList()
429 FloatArrayList plist = (FloatArrayList) target; in readFloatList()
DBinaryWriter.java393 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()
DGeneratedMessageV3.java423 return FloatArrayList.emptyList(); in emptyFloatList()
427 return new FloatArrayList(); in newFloatList()
DGeneratedMessageLite.java1454 return FloatArrayList.emptyList(); in emptyFloatList()
/third_party/protobuf/java/core/
DBUILD34 "src/main/java/com/google/protobuf/FloatArrayList.java",
/third_party/protobuf/
DMakefile.am318 java/core/src/main/java/com/google/protobuf/FloatArrayList.java \