Searched refs:refs (Results 1 – 6 of 6) sorted by relevance
33 List<Reference<String>> refs = new ArrayList<Reference<String>>(); in testDereferenceIterable() local34 refs.add(newLiteralReference("a")); in testDereferenceIterable()35 refs.add(newLiteralReference("b")); in testDereferenceIterable()36 refs.add(newLiteralReference("c")); in testDereferenceIterable()37 refs.add(newLiteralReference("d")); in testDereferenceIterable()38 refs.add(newLiteralReference("e")); in testDereferenceIterable()40 Iterable<String> strings = CollectionUtils.dereferenceIterable(refs, true); in testDereferenceIterable()43 refs.get(1).clear(); // b in testDereferenceIterable()45 assertEquals(4, refs.size()); in testDereferenceIterable()50 assertEquals(3, refs.size()); in testDereferenceIterable()[all …]
78 List<Object> refs = new ArrayList<Object>(); in timeAllocImplicitEnqueueAndRemove() local80 refs.add(new PhantomReference<Object>(new Object(), queue)); in timeAllocImplicitEnqueueAndRemove()
515 private final WeakReference<Class<?>>[] refs; field in Proxy.KeyX520 refs = (WeakReference<Class<?>>[])new WeakReference<?>[interfaces.length]; in KeyX()522 refs[i] = new WeakReference<>(interfaces[i]); in KeyX()536 equals(refs, ((KeyX) obj).refs); in equals()
233 private final java.lang.ref.WeakReference<java.lang.Class<?>>[] refs; field in Proxy.KeyX236 refs = new java.lang.ref.WeakReference[0];
827 && zip->refs < MAXREFS) { in ZIP_Get_From_Cache()828 zip->refs++; in ZIP_Get_From_Cache()865 zip->refs = 1; in ZIP_Put_In_Cache0()944 if (--zip->refs > 0) { in ZIP_Close()
211 jint refs; /* number of active references */ member