Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for still (0.14 sec)

  1. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

              .put("MD5", Hashing.md5())
              .put("SHA", Hashing.sha1()) // Not the official name, but still works
              .put("SHA1", Hashing.sha1()) // Not the official name, but still works
              .put("sHa-1", Hashing.sha1()) // Not the official name, but still works
              .put("SHA-1", Hashing.sha1())
              .put("SHA-256", Hashing.sha256())
              .put("SHA-384", Hashing.sha384())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // it still should only have executed twice due to memoization
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // it still should only have executed twice due to memoization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

              .put("MD5", Hashing.md5())
              .put("SHA", Hashing.sha1()) // Not the official name, but still works
              .put("SHA1", Hashing.sha1()) // Not the official name, but still works
              .put("sHa-1", Hashing.sha1()) // Not the official name, but still works
              .put("SHA-1", Hashing.sha1())
              .put("SHA-256", Hashing.sha256())
              .put("SHA-384", Hashing.sha384())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
            "next() should still return middle element after peeking", "B", peekingIterator.next());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapValues.java

      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    
      // No longer used for new writes, but kept so that old data can still be read.
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @SuppressWarnings("unused")
      private static class SerializedForm<V> implements Serializable {
        final ImmutableMap<?, V> map;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked(1);
          cache.getUnchecked(2);
    
          Set<Object> keys = cache.asMap().keySet();
          // We don't know whether these are still in the cache, so we can't assert on the return
          // values of these removes, but the cache should be empty after the removes, regardless.
          keys.remove(1);
          keys.remove(2);
          assertFalse(keys.remove(null));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test
         * anything interesting under most environments. Still, we can run it (except for Android, at
         * least old versions), so we mostly do. This is useful because we don't actually run our CI on
         * Windows under Java 8, at least as of this writing.
         *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
            "next() should still return middle element after peeking", "B", peekingIterator.next());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to
       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
       * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception
       * message must mention two values that were associated with the duplicate key in two different
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
Back to top