Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for good (0.28 sec)

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

     *
     * @author Kurt Alfred Kluever
     */
    enum HashFunctionEnum {
      ADLER32(Hashing.adler32()),
      CRC32(Hashing.crc32()),
      GOOD_FAST_HASH_32(Hashing.goodFastHash(32)),
      GOOD_FAST_HASH_64(Hashing.goodFastHash(64)),
      GOOD_FAST_HASH_128(Hashing.goodFastHash(128)),
      GOOD_FAST_HASH_256(Hashing.goodFastHash(256)),
      MD5(Hashing.md5()),
      MURMUR3_128(Hashing.murmur3_128()),
      MURMUR3_32(Hashing.murmur3_32()),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      public void testSerializableOnReturnValues_good() throws Exception {
        tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable();
      }
    
      public static class GoodSerializableFactory {
        public static Object good(Runnable r) {
          return r;
        }
    
        public static Object good(AnInterface i) {
          return i;
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

      private static final long NOT_ENOUGH_MS = 5;
    
      private static final String GOOD_CALLABLE_RESULT = "good callable result";
      private static final Callable<String> GOOD_CALLABLE =
          new Callable<String>() {
            @Override
            public String call() throws InterruptedException {
              MILLISECONDS.sleep(DELAY_MS);
              return GOOD_CALLABLE_RESULT;
            }
          };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

    public final class HostSpecifierTest extends TestCase {
    
      private static final ImmutableList<String> GOOD_IPS =
          ImmutableList.of("1.2.3.4", "2001:db8::1", "[2001:db8::1]");
    
      private static final ImmutableList<String> BAD_IPS =
          ImmutableList.of("1.2.3", "2001:db8::1::::::0", "[2001:db8::1", "[::]:80");
    
      private static final ImmutableList<String> GOOD_DOMAINS =
          ImmutableList.of("com", "google.com", "foo.co.uk");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashFunctionEnum.java

     *
     * @author Kurt Alfred Kluever
     */
    enum HashFunctionEnum {
      ADLER32(Hashing.adler32()),
      CRC32(Hashing.crc32()),
      GOOD_FAST_HASH_32(Hashing.goodFastHash(32)),
      GOOD_FAST_HASH_64(Hashing.goodFastHash(64)),
      GOOD_FAST_HASH_128(Hashing.goodFastHash(128)),
      GOOD_FAST_HASH_256(Hashing.goodFastHash(256)),
      MD5(Hashing.md5()),
      MURMUR3_128(Hashing.murmur3_128()),
      MURMUR3_32(Hashing.murmur3_32()),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
    
      static final HashFunction GOOD_FAST_HASH_128 =
          new Murmur3_128HashFunction(Hashing.GOOD_FAST_HASH_SEED);
    
      // TODO(user): when the shortcuts are implemented, update BloomFilterStrategies
      private final int seed;
    
      Murmur3_128HashFunction(int seed) {
        this.seed = seed;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

      private static final long NOT_ENOUGH_MS = 5;
    
      private static final String GOOD_CALLABLE_RESULT = "good callable result";
      private static final Callable<String> GOOD_CALLABLE =
          new Callable<String>() {
            @Override
            public String call() throws InterruptedException {
              MILLISECONDS.sleep(DELAY_MS);
              return GOOD_CALLABLE_RESULT;
            }
          };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/HostSpecifierTest.java

    public final class HostSpecifierTest extends TestCase {
    
      private static final ImmutableList<String> GOOD_IPS =
          ImmutableList.of("1.2.3.4", "2001:db8::1", "[2001:db8::1]");
    
      private static final ImmutableList<String> BAD_IPS =
          ImmutableList.of("1.2.3", "2001:db8::1::::::0", "[2001:db8::1", "[::]:80");
    
      private static final ImmutableList<String> GOOD_DOMAINS =
          ImmutableList.of("com", "google.com", "foo.co.uk");
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top