Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for calls (0.16 sec)

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

            }
          }
        }
      }
    
      /**
       * Call the non-timed {@link Future#get()} in a way that allows us to abort if it's expected to
       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
       * then we call it in a separate thread (using pseudoTimedGet). The result is that we wait as long
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            }
          }
        }
      }
    
      /**
       * Call the non-timed {@link Future#get()} in a way that allows us to abort if it's expected to
       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
       * then we call it in a separate thread (using pseudoTimedGet). The result is that we wait as long
    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)
  3. guava/src/com/google/common/cache/LocalCache.java

         * @throws ExecutionError if the loading thread throws an error
         */
        V waitForValue() throws ExecutionException;
    
        /** Returns the weight of this entry. This is assumed to be static between calls to setValue. */
        int getWeight();
    
        /**
         * Returns the entry associated with this value reference, or {@code null} if this value
         * reference is independent of any entry.
         */
        @CheckForNull
    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

         *     {@link #whenAllComplete(Iterable)} or {@link #whenAllComplete(Iterable)}
         * @throws IllegalStateException if called outside of a call to {@link
         *     CombiningCallable#call(DeferredCloser, Peeker)} or {@link
         *     AsyncCombiningCallable#call(DeferredCloser, Peeker)}
         */
        @ParametricNullness
        public final <D extends @Nullable Object> D getDone(ClosingFuture<D> closingFuture)
    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. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    angry, and wags its tail when it's pleased.  Now I growl when I'm
    pleased, and wag my tail when I'm angry.  Therefore I'm mad.'
    
      `I call it purring, not growling,' said Alice.
    
      `Call it what you like,' said the Cat.  `Do you play croquet
    with the Queen to-day?'
    
      `I should like it very much,' said Alice, `but I haven't been
    invited yet.'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

         * @throws ExecutionError if the loading thread throws an error
         */
        V waitForValue() throws ExecutionException;
    
        /** Returns the weight of this entry. This is assumed to be static between calls to setValue. */
        int getWeight();
    
        /**
         * Returns the entry associated with this value reference, or {@code null} if this value
         * reference is independent of any entry.
         */
        @CheckForNull
    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)
  9. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    angry, and wags its tail when it's pleased.  Now I growl when I'm
    pleased, and wag my tail when I'm angry.  Therefore I'm mad.'
    
      `I call it purring, not growling,' said Alice.
    
      `Call it what you like,' said the Cat.  `Do you play croquet
    with the Queen to-day?'
    
      `I should like it very much,' said Alice, `but I haven't been
    invited yet.'
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        }
        Entry<K, ? extends V> entry1 = entryItr.next();
        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
          K key = entry.getKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top