Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for large (0.22 sec)

  1. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static final int[] LARGE_INTEGER_VALUES = {Integer.MAX_VALUE, Integer.MAX_VALUE / 2};
      static final double LARGE_INTEGER_VALUES_MEAN =
          BigInteger.valueOf(Integer.MAX_VALUE)
              .multiply(BigInteger.valueOf(3L))
              .divide(BigInteger.valueOf(4L))
              .doubleValue();
      static final double LARGE_INTEGER_VALUES_POPULATION_VARIANCE =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Striped.java

      /**
       * If there are at least this many stripes, we assume the memory usage of a ConcurrentMap will be
       * smaller than a large array. (This assumes that in the lazy case, most stripes are unused. As
       * always, if many stripes are in use, a non-lazy striped makes more sense.)
       */
      private static final int LARGE_LAZY_CUTOFF = 1024;
    
      private Striped() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    the same, shedding gallons of tears, until there was a large pool
    all round her, about four inches deep and reaching half down the
    hall.
    
      After a time she heard a little pattering of feet in the
    distance, and she hastily dried her eyes to see what was coming.
    It was the White Rabbit returning, splendidly dressed, with a
    pair of white kid gloves in one hand and a large fan in the
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

        }
      }
    
      // Incorrect expected present count.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooLarge() {
        assertFalse(
            "setCount() with a too-large oldCount should return false",
            getMultiset().setCount(e0(), 2, 3));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ADD)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
      SEVERAL(3),
      /*
       * TODO: add VERY_LARGE, noting that we currently assume that the fourth
       * sample element is not in any collection
       */
    
      ANY(ZERO, ONE, SEVERAL);
    
      private final Set<Feature<? super Collection>> implied;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        };
    
        abstract Striped<Lock> get(int stripes);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        };
    
        abstract Striped<Lock> get(int stripes);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
            "expected collection %s; actual collection %s", expected, this.collection);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 18:59:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:59:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top