Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for forge (0.17 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * future.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses AtomicReferenceFieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AbstractFuture} (and all of {@code
     * com.google.common.util.concurrent}) in degenerate class loaders which make certain platform
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/EqualsTester.java

       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
       * <p>{@code EqualsTester} will always check that every object it is given returns false from
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/GeneralRange.java

          }
        }
    
        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          ImmutableIntArray.builder(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  // If this check ever fails, that means we need to either bump the
                  // number of expected insertions or don't run the test for so long.
                  // Don't forget, the bloom filter slowly saturates over time and the
                  // expected false positive probability goes up!
                  assertThat(bloomFilter.expectedFpp()).isLessThan(safetyFalsePositiveRate);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

       * for APIs like {@link #whenAllComplete whenAllComplete(...)}{@code .}{@link
       * FutureCombiner#call(Callable, Executor) call(...)}, where it is easy to use a new input from
       * the {@code call} implementation but forget to add it to the arguments of {@code
       * whenAllComplete}.
       *
       * <p>If you are looking for a method to determine whether a given {@code Future} is done, use the
       * instance method {@link Future#isDone()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Hashing.java

     * @author Jesse Wilson
     * @author Austin Appleby
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Hashing {
      private Hashing() {}
    
      /*
       * These should be ints, but we need to use longs to force GWT to do the multiplications with
       * enough precision.
       */
      private static final long C1 = 0xcc9e2d51;
      private static final long C2 = 0x1b873593;
    
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Hashing.java

     * @author Jesse Wilson
     * @author Austin Appleby
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Hashing {
      private Hashing() {}
    
      /*
       * These should be ints, but we need to use longs to force GWT to do the multiplications with
       * enough precision.
       */
      private static final long C1 = 0xcc9e2d51;
      private static final long C2 = 0x1b873593;
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top