Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for Reed (0.32 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      @Benchmark
      byte hashing(int reps) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

      }
    
      public void testParanoidHashBytes() {
        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  3. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     *
     * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
     * this optimization, so there is no need to specialize methods to return or accept this type
     * instead of {@code ListenableFuture}.
     *
     * <p>This class is GWT-compatible.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/ParametricNullness.java

     *       list.
     *   <li><a href="https://developers.google.com/j2objc">J2ObjC</a>
     *   <li>{@code NullPointerTester}, at least in the Android backport (where the type-use annotations
     *       {@code NullPointerTester} would need are not available) and in case of <a
     *       href="https://bugs.openjdk.java.net/browse/JDK-8202469">JDK-8202469</a>
     * </ul>
     *
     * <p>This annotation is a temporary hack. We will remove it after we're able to adopt the <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ParametricNullness.java

     *       list.
     *   <li><a href="https://developers.google.com/j2objc">J2ObjC</a>
     *   <li>{@code NullPointerTester}, at least in the Android backport (where the type-use annotations
     *       {@code NullPointerTester} would need are not available) and in case of <a
     *       href="https://bugs.openjdk.java.net/browse/JDK-8202469">JDK-8202469</a>
     * </ul>
     *
     * <p>This annotation is a temporary hack. We will remove it after we're able to adopt the <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        // We need to wait for the runner to exit.  It used to be that the runner would get stuck in the
        // busy loop when interrupt threw.
        runner.join(TimeUnit.SECONDS.toMillis(10));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

          render: java
        validations:
          required: false
    
      - type: markdown
        attributes:
          value: >
            #### Ubiquity: provide concrete use cases
    
    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashing.java

            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
              tableSet(table, tableIndex, newNext);
            } else {
              // we need to update the link from the chain
              entries[lastEntryIndex] = maskCombine(entries[lastEntryIndex], newNext, mask);
            }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashing.java

            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
              tableSet(table, tableIndex, newNext);
            } else {
              // we need to update the link from the chain
              entries[lastEntryIndex] = maskCombine(entries[lastEntryIndex], newNext, mask);
            }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Internal.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @SuppressWarnings({
        // We use this method only for cases in which we need to decompose to primitives.
        "GoodTime-ApiWithNumericTimeUnit",
        "GoodTime-DecomposeToPrimitive",
        // We use this method only from within APIs that require a Duration.
        "Java7ApiChecker",
      })
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top