Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for Clarke (0.28 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

       * for {@code minimumBits}, will return identically-behaving {@link HashFunction} instances.
       *
       * @param minimumBits a positive integer. This can be arbitrarily large. The returned {@link
       *     HashFunction} instance may use memory proportional to this integer.
       * @return a hash function, described above, that produces hash codes of length {@code
       *     minimumBits} or greater
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          }
        }
        Arrays.fill(contents, uniques, n, null);
        if (uniques < contents.length / 2) {
          // Deduplication eliminated many of the elements.  We don't want to retain an arbitrarily
          // large array relative to the number of elements, so we cap the ratio.
          contents = Arrays.copyOf(contents, uniques);
        }
        return new RegularImmutableSortedSet<E>(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
     * creation. However, the methods of this class have a large number of overloads that prevent such
     * allocations in many common cases.
     *
     * <p>The message string is not formatted unless the exception will be thrown, so the cost of the
     * string formatting itself should not be a concern.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. 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 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_MEAN;
    import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_STATS;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_MEAN;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_POPULATION_VARIANCE;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/NullnessCasts.java

       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * modeled by "storedPermits" variable. This variable is zero when there is no underutilization,
       * and it can grow up to maxStoredPermits, for sufficiently large underutilization. So, the
       * requested permits, by an invocation acquire(permits), are served from:
       *
       * - stored permits (if available)
       *
       * - fresh permits (for any remaining permits)
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Striped64.java

       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Strings.java

        final int len = string.length();
        final long longSize = (long) len * (long) count;
        final int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        final char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

         */
        abstract SetBuilderImpl<E> copy();
    
        /**
         * Call this before build(). Does a final check on the internal data structures, e.g. shrinking
         * unnecessarily large structures or detecting previously unnoticed hash flooding.
         */
        SetBuilderImpl<E> review() {
          return this;
        }
    
        abstract ImmutableSet<E> build();
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top