Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,816 for Fisher (0.18 sec)

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

     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90
     * (We have made some trivial local modifications (commented out
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90
     * (We have made some trivial local modifications (commented out
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * the public domain, as explained at http://creativecommons.org/publicdomain/zero/1.0/
       *
       * Other contributors include Andrew Wright, Jeffrey Hayes, Pat Fisher, Mike Judd.
       */
    
      /**
       * An implementation of {@link ExecutorService#invokeAny} for {@link ListeningExecutorService}
       * implementations.
       */
      @SuppressWarnings({
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

              HashTestUtils.randomHighSurrogate(new Random()),
              HashTestUtils.randomLowSurrogate(new Random())
            });
      }
    
      private static void assertPutString(char[] chars) {
        Hasher h1 = new NonStreamingVersion().newHasher();
        Hasher h2 = new NonStreamingVersion().newHasher();
        String s = new String(chars);
        // this is the correct implementation of the spec
        for (int i = 0; i < s.length(); i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

              HashTestUtils.randomHighSurrogate(new Random()),
              HashTestUtils.randomLowSurrogate(new Random())
            });
      }
    
      private static void assertPutString(char[] chars) {
        Hasher h1 = new NonStreamingVersion().newHasher();
        Hasher h2 = new NonStreamingVersion().newHasher();
        String s = new String(chars);
        // this is the correct implementation of the spec
        for (int i = 0; i < s.length(); i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

      }
    
      static HashCode randomHash(HashFunction hashFunction, Random random, int numActions) {
        Hasher hasher = hashFunction.newHasher();
        for (int i = 0; i < numActions; i++) {
          RandomHasherAction.pickAtRandom(random).performAction(random, ImmutableSet.of(hasher));
        }
        return hasher.hash();
      }
    
      private static void assertShortcutsAreEquivalent(HashFunction hashFunction, int trials) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
                Hasher hasher = murmur3_32(seed).newHasher();
                Funnels.byteArrayFunnel().funnel(input, hasher);
                return hasher.hash().asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
Back to top