Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 376 for Reed (0.16 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. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * does not need to be escaped. When called as part of an escaping operation, the given code point
       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>If an empty array is returned, this effectively strips the input character from the
       * resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        } finally {
          notJar.delete();
        }
      }
    
      public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException {
        if (isWindows()) {
          return; // TODO: b/136041958 - We need to account for drive letters in the path.
        }
        assertEquals(
            new File("/usr/test/dep.jar").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "file:/usr/test/dep.jar")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 16:50:33 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  9. android/pom.xml

          </activation>
          <properties>
            <!--
                Some tests need reflective access to the internals of these packages. It is only the
                tests themselves and not the code being tested that needs that access, though there's no
                obvious way to ensure that.
    
                We could consider arranging things so that only the tests we know need this would get
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. .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)
Back to top