Searched refs:size (Results 301 - 325 of 628) sorted by relevance

<<11121314151617181920>>

/libcore/luni/src/main/java/java/util/concurrent/
H A DBlockingDeque.java603 int size(); method in interface:BlockingDeque
/libcore/luni/src/main/java/libcore/util/
H A DBasicLruCache.java95 while (map.size() > maxSize) {
/libcore/luni/src/test/java/libcore/java/io/
H A DOldByteArrayOutputStreamTest.java40 assertEquals("Test 1: Failed to create stream;", 0, bos.size());
/libcore/luni/src/test/java/libcore/java/net/
H A DCookiesTest.java49 assertEquals(1, cookies.size());
/libcore/luni/src/test/java/libcore/java/util/
H A DAbstractCollectionTest.java35 m.values().toArray(new Integer[m.size()]);
H A DHashMapTest.java83 assertEquals(3, map.size());
H A DOldAndroidHashMapTest.java35 assertEquals(4, map.size());
53 assertEquals(0, map.size());
68 assertEquals(0, map.size());
103 assertEquals(0, map.size());
/libcore/luni/src/test/java/tests/support/
H A DThreadPool.java55 while (taskQueue.size() == 0) {
/libcore/ojluni/src/main/java/java/util/
H A DCollection.java141 int size(); method in interface:Collection
201 * specified array and the size of this collection.
H A DList.java121 int size(); method in interface:List
178 * the size of this list.
333 * (<tt>index &lt; 0 || index &gt; size()</tt>)
394 * lists have the same size, and all corresponding pairs of elements in
435 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
455 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
476 * (<tt>index &lt; 0 || index &gt; size()</tt>)
491 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
561 * ({@code index < 0 || index > size()})
591 * those that change the size o
[all...]
/libcore/ojluni/src/main/java/sun/net/www/http/
H A DChunkedInputStream.java36 * size indicator. Optionally the last chunk can be followed by trailers
64 * The size, in bytes, of the chunk that is currently being read.
65 * This size is only valid if the current position in the underlying
98 * read. It may contain bytes representing chunk-size, chunk-data, or
129 * Maximum chunk header size of 2KB + 2 bytes for CRLF
135 * chunk-size [ chunk-extension ] CRLF
180 * Ensures there is <code>size</code> bytes available in
185 private void ensureRawAvailable(int size) { argument
186 if (rawCount + size > rawData.length) {
188 if (used + size > rawDat
[all...]
H A DKeepAliveCache.java195 for (i = 0; i < v.size(); i++) {
206 if (v.size() == 0) {
216 } while (size() > 0);
273 if (size() >= KeepAliveCache.getMaxConnections()) {
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DOutputRecord.java71 * SSL record size. It allocates the header bytes directly.
75 OutputRecord(byte type, int size) { argument
76 super(size);
90 * Get the size of the buffer we need for records of the specified
278 throw new SSLException("output record size too small: "
343 if (heldRecordBuffer != null && heldRecordBuffer.size() > 0) {
344 int heldLen = heldRecordBuffer.size();
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificatePolicySet.java89 for (int i = 0; i < ids.size(); i++) {
/libcore/ojluni/src/main/native/
H A DInet4AddressImpl.c72 jint size; local
87 size = 60*1024;
88 setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size));
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DLoggingTestCase.java56 result.setParameters(list.toArray(new Object[list.size()]));
H A DStreamTestDataProvider.java126 int size = 5;
127 for (int i = 0; i < (1 << size) - 2; i++) {
128 Integer[] content = new Integer[size];
129 for (int e = 0; e < size; e++) {
159 spliterators.add(splitDescr("Iterators.s(Arrays.s(array).iterator(), size):" + name,
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DLoggingTestCase.java56 result.setParameters(list.toArray(new Object[list.size()]));
H A DStreamTestDataProvider.java129 int size = 5;
130 for (int i = 0; i < (1 << size) - 2; i++) {
131 Integer[] content = new Integer[size];
132 for (int e = 0; e < size; e++) {
162 spliterators.add(splitDescr("Iterators.s(Arrays.s(array).iterator(), size):" + name,
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestCase.java232 * Asserts that the length of the collection is the expected size.
237 * expected size
249 * Asserts that the length of the collection is the expected size.
254 * expected size
266 * Asserts that the length of the collection is the expected size.
271 * expected size
378 List upperd = new ArrayList(expected.size());
951 * Gets the size of the collection
955 * @return size of collection
957 public int size(Collectio method in class:DOMTestCase
968 public int size(NamedNodeMap collection) { method in class:DOMTestCase
979 public int size(NodeList collection) { method in class:DOMTestCase
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DBufferedReaderTest.java299 int size = 2, pos = 0;
301 char[] contents = new char[size];
304 if (pos >= size)
310 if (pos >= size)
313 if (toRead > (size - pos))
314 toRead = size - pos;
321 return size - pos > 0;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DNetworkInterfaceTest.java108 for (int i = 0; i < notOkAddresses.size(); i++) {
131 for (int i = 0; i < okAddresses.size(); i++) {
158 for (int i = 0; i < notOkAddresses.size(); i++) {
168 for (int i = 0; i < okAddresses.size(); i++) {
358 netif.getInterfaceAddresses().size());
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSessionContextTest.java51 int size = Collections.list(s.getIds()).size();
53 assertEquals(0, size);
55 assertEquals(expected, size);
210 assertTrue(uniqueCipherSuites.size() >= 3);
/libcore/ojluni/src/main/java/java/util/prefs/
H A DXmlSupport.java117 for (int i=ancestors.size()-1; i >= 0; i--) {
333 prefsKids = new Preferences[xmlKids.size() - 1];
336 for (int i=1; i < xmlKids.size(); i++) {
342 for (int i=1; i < xmlKids.size(); i++)
354 for (int i=0, numEntries = entries.size(); i < numEntries; i++) {
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
H A DFlagOpTest.java112 FlagDeclaringOp[] opsArray = ops.toArray(new FlagDeclaringOp[ops.size()]);
151 FlagDeclaringOp[] opsArray = ops.toArray(new FlagDeclaringOp[ops.size()]);
185 IntermediateTestOp[] opsArray = ops.toArray(new IntermediateTestOp[ops.size()]);
221 IntermediateTestOp[] opsArray = ops.toArray(new IntermediateTestOp[ops.size()]);
247 IntermediateTestOp[] opsArray = ops.toArray(new IntermediateTestOp[ops.size()]);

Completed in 2438 milliseconds

<<11121314151617181920>>