Searched refs:refs (Results 1 – 10 of 10) 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 …]
47 final Reference refs[] = new Reference[numReferences]; field in EnqueuePollRaceTest.WeakRef54 for (int j = 0; j < refs.length; j++) { in run()55 refs[j] = new WeakReference(new Object(), queue); in run()61 for (int j = 0; j < refs.length; j++) { in run()62 refs[j].enqueue(); in run()71 if (foundReferences != refs.length) { in run()72 …ntimeException("Got " + foundReferences + " references in the queue, but expected " + refs.length); in run()
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];
907 && zip->refs < MAXREFS) { in ZIP_Get_From_Cache()908 zip->refs++; in ZIP_Get_From_Cache()948 zip->refs = 1; in ZIP_Put_In_Cache0()1027 if (--zip->refs > 0) { in ZIP_Close()
212 jint refs; /* number of active references */ member
1226 private int refs = 1; field in ZipFile.Source1385 src.refs++; in get()1395 src.refs++; in get()1405 if (src != null && --src.refs == 0) { in release()
489 new_branch.set_tracking_branch(repo.remotes.aosp.refs.expected_upstream)
88 $ git push aosp HEAD^2:refs/for/expected_upstream