Searched refs:size (Results 501 - 525 of 628) sorted by relevance

<<212223242526

/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DDistributionPointFetcher.java128 debug.println("Returning " + results.size() + " CRLs");
167 if (crlIssuers.size() != 1) {
436 if (pointCrlIssuers.size() != 1) {
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DHelloExtensions.java311 names = new ArrayList<ServerName>(hostnames.size());
324 if (names.size() > 1) {
800 SignatureAndHashAlgorithm.sizeInRecord() * algorithms.size();
/libcore/jsr166-tests/src/test/java/jsr166/
H A DReentrantLockTest.java145 assertEquals(threads.length, lock.getWaitingThreads(c).size());
347 assertEquals(1, lock.getQueuedThreads().size());
351 assertEquals(2, lock.getQueuedThreads().size());
358 assertEquals(1, lock.getQueuedThreads().size());
865 assertEquals(1, lock.getWaitingThreads(c).size());
875 assertEquals(2, lock.getWaitingThreads(c).size());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DResourceBundleTest.java119 URL[] urls = new URL[urlVec.size()];
120 for (int i = 0; i < urlVec.size(); i++)
H A DLocaleTest.java138 assertEquals(localesSet.size(), locales.length);
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentHashMap.java74 * {@code size}, {@code isEmpty}, and {@code containsValue} are typically
82 * the same slot modulo the table size), with the expected average
89 * good idea to provide a size estimate as an optional {@code
168 * argument. Methods proceed sequentially if the current map size is
265 * The table is lazily initialized to a power-of-two size upon the
305 * list size k are (exp(-0.5) * pow(0.5, k) / factorial(k)). The
488 * The largest possible (non-power of two) array size.
555 * The bit shift for recording size stamp in sizeCtl.
668 * Returns a power of two table size for the given desired capacity.
770 * when table is null, holds the initial table size t
888 public int size() { method in class:ConcurrentHashMap
2361 tryPresize(int size) argument
3330 Traverser(Node<K,V>[] tab, int size, int index, int limit) argument
3416 BaseIterator(Node<K,V>[] tab, int size, int index, int limit, ConcurrentHashMap<K,V> map) argument
3437 KeyIterator(Node<K,V>[] tab, int index, int size, int limit, ConcurrentHashMap<K,V> map) argument
3457 ValueIterator(Node<K,V>[] tab, int index, int size, int limit, ConcurrentHashMap<K,V> map) argument
3477 EntryIterator(Node<K,V>[] tab, int index, int size, int limit, ConcurrentHashMap<K,V> map) argument
3542 KeySpliterator(Node<K,V>[] tab, int size, int index, int limit, long est) argument
3581 ValueSpliterator(Node<K,V>[] tab, int size, int index, int limit, long est) argument
3620 EntrySpliterator(Node<K,V>[] tab, int size, int index, int limit, long est, ConcurrentHashMap<K,V> map) argument
4422 public final int size() { return map.size(); } method in class:ConcurrentHashMap.CollectionView
[all...]
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldResultSetMetaDataTest.java699 * Tests fail. always returns 0. Missing case where display size greater than 0
704 int size = rsmd.getColumnDisplaySize(i + 1);
705 assertTrue(size > 0);
/libcore/ojluni/src/main/java/java/util/prefs/
H A DAbstractPreferences.java1149 * preference node. (The returned array will be of size zero if
1168 * returned array will be of size zero if this node has no children.)
1498 return prefListeners.toArray(new PreferenceChangeListener[prefListeners.size()]);
1503 return nodeListeners.toArray(new NodeChangeListener[nodeListeners.size()]);
/libcore/ojluni/src/main/java/java/util/stream/
H A DDoublePipeline.java264 public void begin(long size) {
302 public void begin(long size) {
H A DLongPipeline.java281 public void begin(long size) {
319 public void begin(long size) {
/libcore/ojluni/src/main/native/
H A Djava_util_zip_ZipFile.c226 return ze->csize != 0 ? ze->csize : ze->size;
233 return ze->size;
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
H A DStreamOpFlagsTest.java55 for (int i = 0; i < (1 << flags.size()); i++) {
57 for (int f = 0; f < flags.size(); f++) {
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java688 Certificate[] acerts = new Certificate[validCerts.size()];
810 return (String[]) al.toArray(new String[al.size()]);
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofWriter.java179 int samplesCount = samples.size();
H A DHprofData.java334 Set<Sample> samples = new HashSet<Sample>(stackTraces.size());
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationFactory.java164 elements = merged.toArray(new AnnotationMember[merged.size()]);
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLClassLoaderTest.java269 return new URLClassLoader(urlList.toArray(new URL[urlList.size()]));
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldFileChannelTest.java190 * @param size the content size to be written
194 private void writeLargeDataToFile(File file, int size) argument
197 byte[] buf = new byte[size];
200 // we don't care about content - just need a particular file size
1071 private void assertLockFails(long position, long size) throws IOException { argument
1073 readWriteFileChannel.tryLock(position, size, false);
/libcore/luni/src/test/java/libcore/java/text/
H A DOldAttributedCharacterIteratorTest.java92 assertEquals(2, attributes.size());
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DZipEntryTest.java80 assertEquals(filenames.size(), entryCount);
/libcore/luni/src/test/java/libcore/xml/
H A DSimpleParserTest.java197 assertEquals(0, namespaces2.size());
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DCreateDocument.java206 for (int indexN1009A = 0; indexN1009A < illegalQNames.size(); indexN1009A++) {
H A DElementSetAttributeNS.java134 for (int indexN10058 = 0; indexN10058 < qualifiedNames.size(); indexN10058++) {
/libcore/luni/src/test/java/tests/security/cert/
H A DCertificateFactory3Test.java113 assertEquals("Incorrect Collection size", col.size(), 1);
H A DCertificateFactory4Test.java141 && crls.size() > 0);

Completed in 4202 milliseconds

<<212223242526