Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 75 for forge (0.15 sec)

  1. 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)
  2. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * strategies.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  10. 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 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top