- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,065 for We (0.15 sec)
-
android/guava/src/com/google/common/collect/Platform.java
* @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of * ObjectArrays, which is the main caller of this method.) */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
// If either of these reads return null then we must be after a successful cancel or another // call to this method. TimeoutFuture<V> timeoutFuture = timeoutFutureRef; if (timeoutFuture == null) { return; } ListenableFuture<V> delegate = timeoutFuture.delegateRef; if (delegate == null) { return; } /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
* * When we reference FinalizableReferenceQueue in this test, we are referencing a class that is * loaded by this test and that will obviously remain loaded for as long as the test is running. * So in order to check ClassLoader garbage collection we need to create a new ClassLoader and * make it load its own version of FinalizableReferenceQueue. Then we need to interact with that
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 16 03:24:50 GMT 2021 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
/** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */ private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
/** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */ private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
public void run() { do { // We can't have a GOLDEN_NOT_PRESENT_KEY because false positives are // possible! It's false negatives that can't happen. assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isTrue(); int key = getNonGoldenRandomKey(); // We can't check that the key is mightContain() == false before the
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
LazyLogger(Class<?> ownerOfLogger) { this.loggerName = ownerOfLogger.getName(); } Logger get() { /* * We use double-checked locking. We could the try racy single-check idiom, but that would * depend on Logger not contain mutable state. * * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* that have nullable bounds? Unfortunately, if we change the parameter to TypeParameter<? extends * @Nullable X>, then users might pass a TypeParameter<Y>, where Y is a subtype of X, while still * passing a TypeToken<X>. This would be invalid. Maybe we could accept a TypeParameter<@PolyNull * X> if we support such a thing? It would be weird or misleading for users to be able to pass
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Internal.java
* a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ @SuppressWarnings({ // We use this method only for cases in which we need to decompose to primitives. "GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive", // We use this method only from within APIs that require a Duration. "Java7ApiChecker", }) @IgnoreJRERequirement
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
* a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ @SuppressWarnings({ // We use this method only for cases in which we need to decompose to primitives. "GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive", // We use this method only from within APIs that require a Duration. "Java7ApiChecker", }) @IgnoreJRERequirement
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 2K bytes - Viewed (0)