/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
HashBiMap.java | 48 * @param expectedSize the expected number of entries 52 public static <K, V> HashBiMap<K, V> create(int expectedSize) { 53 return new HashBiMap<K, V>(expectedSize); 72 private HashBiMap(int expectedSize) { 74 Maps.<K, V>newHashMapWithExpectedSize(expectedSize), 75 Maps.<V, K>newHashMapWithExpectedSize(expectedSize));
|
Maps.java | 87 * that it <i>should</i> hold {@code expectedSize} elements without growth. 92 * @param expectedSize the number of elements you expect to add to the 95 * expectedSize} elements without resizing 96 * @throws IllegalArgumentException if {@code expectedSize} is negative 99 int expectedSize) { 100 return new HashMap<K, V>(capacity(expectedSize)); 105 * long as it grows no larger than expectedSize and the load factor is >= its 108 static int capacity(int expectedSize) { 109 if (expectedSize < 3) { 110 checkArgument(expectedSize >= 0) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ColorSpace.java | 105 private static void expectInputSize(ByteBuffer input, int expectedSize) { 106 if (input.remaining() < expectedSize) { 108 + "and height! Expected: " + expectedSize + ", Got: " + input.remaining() 113 private static void expectOutputSize(ByteBuffer output, int expectedSize) { 114 if (output.remaining() < expectedSize) { 116 + "and height! Expected: " + expectedSize + ", Got: " + output.remaining()
|
/external/guava/guava/src/com/google/common/collect/ |
HashBiMap.java | 52 * @param expectedSize the expected number of entries 56 public static <K, V> HashBiMap<K, V> create(int expectedSize) { 57 return new HashBiMap<K, V>(expectedSize); 76 private HashBiMap(int expectedSize) { 78 Maps.<K, V>newHashMapWithExpectedSize(expectedSize), 79 Maps.<V, K>newHashMapWithExpectedSize(expectedSize));
|
HashBasedTable.java | 57 final int expectedSize; 58 Factory(int expectedSize) { 59 this.expectedSize = expectedSize; 63 return Maps.newHashMapWithExpectedSize(expectedSize);
|
MinMaxPriorityQueue.java | 121 * expectedSize} elements. 123 public static Builder<Comparable> expectedSize(int expectedSize) { 125 .expectedSize(expectedSize); 144 * MinMaxPriorityQueue#expectedSize(int)} or {@link 162 private int expectedSize = UNSET_EXPECTED_SIZE; 171 * expected size of {@code expectedSize}. 173 public Builder<B> expectedSize(int expectedSize) { [all...] |
Maps.java | 90 * that it <i>should</i> hold {@code expectedSize} elements without growth. 95 * @param expectedSize the number of elements you expect to add to the 98 * expectedSize} elements without resizing 99 * @throws IllegalArgumentException if {@code expectedSize} is negative 102 int expectedSize) { 103 return new HashMap<K, V>(capacity(expectedSize)); 108 * long as it grows no larger than expectedSize and the load factor is >= its 111 static int capacity(int expectedSize) { 112 if (expectedSize < 3) { 113 checkArgument(expectedSize >= 0) [all...] |
Sets.java | 182 * that it <i>should</i> hold {@code expectedSize} elements without growth. 187 * @param expectedSize the number of elements you expect to add to the 190 * expectedSize} elements without resizing 191 * @throws IllegalArgumentException if {@code expectedSize} is negative 193 public static <E> HashSet<E> newHashSetWithExpectedSize(int expectedSize) { 194 return new HashSet<E>(Maps.capacity(expectedSize)); 253 * capacity" that it <i>should</i> hold {@code expectedSize} elements without 258 * @param expectedSize the number of elements you expect to add to the 261 * {@code expectedSize} elements without resizing 262 * @throws IllegalArgumentException if {@code expectedSize} is negativ [all...] |
/external/skia/tests/ |
OSPathTest.cpp | 35 size_t expectedSize = dir.size() + filename.size(); 37 expectedSize++; 39 REPORTER_ASSERT(reporter, fullName.size() == expectedSize);
|
PDFPrimitivesTest.cpp | 73 const char* expectedData, size_t expectedSize, 81 REPORTER_ASSERT(reporter, directSize == expectedSize);
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 46 int expectedSize = expectedScreenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 56 assertEquals("Expected screen size value of " + expectedSize + " but got " + actualSize 57 + " for orientation " + ORIENTATIONS[i], expectedSize, actualSize);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestInnerClass.java | 61 public void assertSize(String assertID, int expectedSize, NodeList collection) { 62 test.assertSize(assertID, expectedSize, collection); 65 public void assertSize(String assertID, int expectedSize, 67 test.assertSize(assertID, expectedSize, collection); 70 public void assertSize(String assertID, int expectedSize, 72 test.assertSize(assertID, expectedSize, collection);
|
DOMTestFramework.java | 59 int expectedSize, 65 int expectedSize, 71 int expectedSize,
|
DOMTestCase.java | 236 * @param expectedSize 243 int expectedSize, 245 framework.assertSize(this, assertID, expectedSize, collection); 253 * @param expectedSize 260 int expectedSize, 262 framework.assertSize(this, assertID, expectedSize, collection); 270 * @param expectedSize 277 int expectedSize, 279 framework.assertSize(this, assertID, expectedSize, collection);
|
JUnitTestCaseAdapter.java | 226 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NodeList collection) { 227 assertEquals(assertID,expectedSize, collection.getLength()); 230 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NamedNodeMap collection) { 231 assertEquals(assertID, expectedSize, collection.getLength()); 234 public void assertSize(DOMTestCase test, String assertID, int expectedSize, Collection collection) { 235 assertEquals(assertID, expectedSize, collection.size());
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ArrayBufferBuilderTest.cpp | 137 size_t expectedSize = sizeof(expected) - 1; 141 ASSERT_EQ(expectedSize, result->byteLength()); 142 EXPECT_EQ(0, memcmp(expected, result->data(), expectedSize)); 171 size_t expectedSize = sizeof(expected) - 1; 174 EXPECT_EQ(expectedSize, result.length());
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractTableReadTest.java | 50 protected void assertSize(int expectedSize) { 51 assertEquals(expectedSize, table.size());
|
MinMaxPriorityQueueTest.java | 70 .expectedSize(8) 80 .expectedSize(8) 108 .expectedSize(8) 140 .expectedSize(8) 163 .expectedSize(8) 188 MinMaxPriorityQueue.expectedSize(heapSize).create(); 470 MinMaxPriorityQueue.expectedSize(5).create(); 502 Ordering.natural().reverse()).expectedSize(5).create(); 552 MinMaxPriorityQueue.expectedSize(heapSize).create();
|
/external/chromium_org/third_party/icu/source/test/iotest/ |
filetst.c | 436 int32_t expectedSize = (int32_t)strlen(testStr); 455 u_uastrncpy(buffer, testStr, expectedSize+1); 457 u_file_write(buffer, expectedSize, myFile); 475 if (readSize != expectedSize*repetitions) { 476 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); 478 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { 497 u_uastrncpy(buffer, testStr, expectedSize+1); 499 u_file_write(buffer, expectedSize, myFile); 520 if (readSize != expectedSize*repetitions) { 521 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions) [all...] |
/external/icu4c/test/iotest/ |
filetst.c | 436 int32_t expectedSize = (int32_t)strlen(testStr); 455 u_uastrncpy(buffer, testStr, expectedSize+1); 457 u_file_write(buffer, expectedSize, myFile); 475 if (readSize != expectedSize*repetitions) { 476 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); 478 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { 497 u_uastrncpy(buffer, testStr, expectedSize+1); 499 u_file_write(buffer, expectedSize, myFile); 520 if (readSize != expectedSize*repetitions) { 521 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions) [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
usettest.c | 362 int32_t expectedSize = 0; 389 ++expectedSize; 467 if (uset_size(set) == expectedSize) { 468 log_verbose("Ok: %s size is %d\n", pat, expectedSize); 471 pat, uset_size(set), expectedSize);
|
/external/icu4c/test/cintltst/ |
usettest.c | 362 int32_t expectedSize = 0; 389 ++expectedSize; 467 if (uset_size(set) == expectedSize) { 468 log_verbose("Ok: %s size is %d\n", pat, expectedSize); 471 pat, uset_size(set), expectedSize);
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
ImageReaderTest.java | 346 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; 347 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length);
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
Frame.cpp | 257 FloatSize Frame::resizePageRectsKeepingRatio(const FloatSize& originalSize, const FloatSize& expectedSize) 266 resultSize.setWidth(floorf(expectedSize.width())); 271 resultSize.setHeight(floorf(expectedSize.height()));
|
Frame.h | 174 FloatSize resizePageRectsKeepingRatio(const FloatSize& originalSize, const FloatSize& expectedSize);
|