- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 522 for references (0.24 sec)
-
android/guava/src/com/google/common/collect/ObjectArrays.java
} /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { return Platform.newArray(reference, length); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* by individual libraries that provide specialized support for particular use cases. * * <p>Disadvantages of EventBus include: * * <ul> * <li>It makes the cross-references between producer and subscriber harder to find. This can * complicate debugging, lead to unintentional reentrant calls, and force apps to eagerly * initialize all possible subscribers at startup time.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* they all succeed. If any fail, the resulting pipeline will fail. * * <p>Calling this method allows you to use lambdas or method references typed with the types of * the input {@link ClosingFuture}s. * * @throws IllegalStateException if a {@code ClosingFuture} has already been derived from any of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
try { synchronized (this) { // Force close the handle this.open = false; this.usageCount.set(0); // Clear mutable references to free memory // Note: Some fields may be final and cannot be nulled // Clear any other mutable state would go here } } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
cmd/bucket-metadata-sys.go
delete(sys.metadataMap, bucket) globalBucketMonitor.DeleteBucket(bucket) } } // Set - sets a new metadata in-memory. // Only a shallow copy is saved and fields with references // cannot be modified without causing a race condition, // so they should be replaced atomically and not appended to, etc. // Data is not persisted to disk.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
void executeAndCompare(ListIterator<E> reference, Iterator<E> target) { internalExecuteAndCompare(reference, target, NEXT_METHOD); } }; Stimulus<E, Iterator<E>> remove = new Stimulus<E, Iterator<E>>("remove") { @Override void executeAndCompare(ListIterator<E> reference, Iterator<E> target) { internalExecuteAndCompare(reference, target, REMOVE_METHOD); } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
} finally { monitor.leave(); } } /** * Returns an array containing all of the elements in this queue, in proper sequence. * * <p>The returned array will be "safe" in that no references to it are maintained by this queue. * (In other words, this method must allocate a new array). The caller is thus free to modify the * returned array. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
* getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code * getChecked} holds no strong references to the class. */ private WeakReference<?> doTestClassUnloading() throws Exception { URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null); @SuppressWarnings("unchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Then assertNotSame(instance1, instance2); assertEquals(instance1.getCommand(), instance2.getCommand()); assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString } /** * Test thread safety of read/write operations */ @Test @DisplayName("Test thread safety of operations")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0)