Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for subsequent (0.06 seconds)

  1. guava/src/com/google/common/base/Suppliers.java

      }
    
      /**
       * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
       * and returns that value on subsequent calls to {@code get()}. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

      }
    
      /**
       * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
       * and returns that value on subsequent calls to {@code get()}. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            request.addHeader("Host", "example.com");
            result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/site1/search", result.getRoutingPath());
    
            // The header remains for subsequent tests due to static request handling
            // Different matching header added to same request
            request.addHeader("X-Forwarded-Host", "test.com");
            result = virtualHostHelper.getVirtualHostPath(page);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertThat(callable.call()).isEqualTo(value);
        // Expect the same value on subsequent calls
        assertThat(callable.call()).isEqualTo(value);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable() throws Exception {
        String expected = "MyCallableString";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertThat(callable.call()).isEqualTo(value);
        // Expect the same value on subsequent calls
        assertThat(callable.call()).isEqualTo(value);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable() throws Exception {
        String expected = "MyCallableString";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        FinalizableReference.register(new Object(), latch);
      }
    
      /**
       * A predicate that is expected to return true subsequent to finalization, that is, one
       * of the following actions taken by the garbage collector when performing a full collection in
       * response to {@link System#gc()}:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        FinalizableReference.register(new Object(), latch);
      }
    
      /**
       * A predicate that is expected to return true subsequent to finalization, that is, one
       * of the following actions taken by the garbage collector when performing a full collection in
       * response to {@link System#gc()}:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(callCount.get()).isEqualTo(1);
        for (int i = 0; i < count; i++) {
          assertThat(result.get(i)).isInstanceOf(InvalidCacheLoadException.class);
        }
    
        // subsequent calls should call the loader again, not get the old exception
        assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked("bar"));
        assertThat(callCount.get()).isEqualTo(2);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * will never throw {@link ConcurrentModificationException}, and guarantees to traverse elements
       * as they existed upon construction of the iterator, and may (but is not guaranteed to) reflect
       * any modifications subsequent to construction.
       *
       * @return an iterator over the elements in this queue
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public Iterator<E> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * ConcurrentModificationException}, and guarantees to traverse elements as they existed upon
       * construction of the iterator, and may (but is not guaranteed to) reflect any modifications
       * subsequent to construction.
       *
       * @return an iterator over the elements in this queue in proper sequence
       */
      @CanIgnoreReturnValue
      @Override
      public Iterator<E> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
Back to Top