Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for Crooks (0.21 sec)

  1. guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
      // Test that interrupts result in RuntimeException, not InterruptedException.
      // Trickier than it looks, because runFinalization swallows interrupts.
      // ----------------------------------------------------------------
    
      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
      // Test that interrupts result in RuntimeException, not InterruptedException.
      // Trickier than it looks, because runFinalization swallows interrupts.
      // ----------------------------------------------------------------
    
      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/internal/Finalizer.java

        try {
          finalizeReferentMethod.invoke(reference);
        } catch (Throwable t) {
          logger.log(Level.SEVERE, "Error cleaning up after reference.", t);
        }
        return true;
      }
    
      /** Looks up FinalizableReference.finalizeReferent() method. */
      @CheckForNull
      private Method getFinalizeReferentMethod() {
        Class<?> finalizableReferenceClass = finalizableReferenceClassReference.get();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

            if (!bits.get(combinedHash % bitSize)) {
              return false;
            }
          }
          return true;
        }
      },
      /**
       * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different
       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

                .getType());
      }
    
      private static TypeToken<Map<Object, Object>> mapType() {
        return new TypeToken<Map<Object, Object>>() {};
      }
    
      // Looks like recursive, but legit.
      private interface WithFalseRecursiveType<K, V> {
        WithFalseRecursiveType<List<V>, String> keyShouldNotResolveToStringList();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>please use {@link ClassSanityTester#forAllPublicStaticMethods}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                    }
                }
    
                builder.pluginRepositories(merged.values());
            }
        }
    
        /*
         * TODO: Whether duplicates should be removed looks like an option for the generated merger.
         */
        @Override
        protected void mergeBuildBase_Filters(
                BuildBase.Builder builder,
                BuildBase target,
                BuildBase source,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top