Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for still (0.17 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. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

                  current);
              int next = current + occurrences;
              if (countMap.replace(element, current, next)) {
                return current;
              }
            }
            // If we're still here, there was a race, so just try again.
          }
        }
    
        /**
         * Removes a number of occurrences of the specified element from this multiset. If the multiset
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

     * attributes are asserted here only because server file systems may not
     * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
     * specified the server may still return objects that are not directories).
     */
        public boolean accept( SmbFile file ) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
            "remove(duplicate) should remove the first instance of the "
                + "duplicate element in the list",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
            "remove(duplicate) should remove the first instance of the "
                + "duplicate element in the list",
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/base/NullnessCasts.java

       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
Back to top