Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sait (0.32 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Once the backing futures are done there's a (brief) moment where we know nothing
        assertThat(futureResult.toString()).matches("CombinedFuture@\\w+\\[status=PENDING]");
        callableBlocking.countDown();
        // Need to wait for resultFuture to be returned.
        assertTrue(executor.awaitTermination(10, SECONDS));
        // But once the async function has returned a future we can include that in the toString
        assertThat(futureResult.toString())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Once the backing futures are done there's a (brief) moment where we know nothing
        assertThat(futureResult.toString()).matches("CombinedFuture@\\w+\\[status=PENDING]");
        callableBlocking.countDown();
        // Need to wait for resultFuture to be returned.
        assertTrue(executor.awaitTermination(10, SECONDS));
        // But once the async function has returned a future we can include that in the toString
        assertThat(futureResult.toString())
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
            }
          } else {
            // The entry already exists. Wait for loading.
            return waitForLoadingValue(e, key, valueReference);
          }
        }
    
        V waitForLoadingValue(ReferenceEntry<K, V> e, K key, ValueReference<K, V> valueReference)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            }
            checkState(whenClosed == null);
            return whenClosed = new CountDownLatch(1);
          }
        }
      }
    
      /**
       * Returns an object that can be used to wait until this objects' deferred closeables have all had
       * {@link Runnable}s that close them submitted to each one's closing {@link Executor}.
       */
      @VisibleForTesting
      CountDownLatch whenClosedCountDown() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
            }
          } else {
            // The entry already exists. Wait for loading.
            return waitForLoadingValue(e, key, valueReference);
          }
        }
    
        V waitForLoadingValue(ReferenceEntry<K, V> e, K key, ValueReference<K, V> valueReference)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top