Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for evaluate (0.18 sec)

  1. guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      @Param ExceptionType exceptionType;
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashingOutputStream.java

       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      @Param ExceptionType exceptionType;
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/Escaper.java

     * @since 15.0
     */
    @DoNotMock("Use Escapers.nullEscaper() or another methods from the *Escapers classes")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class Escaper {
      // TODO(dbeaumont): evaluate custom implementations, considering package private constructor.
      /** Constructor for use by subclasses. */
      protected Escaper() {}
    
      /**
       * Returns the escaped form of a given literal string.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final int[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
       * instances. Note that the instances that would get smaller are the right set to care about
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final double[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
       * instances. Note that the instances that would get smaller are the right set to care about
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Ascii.java

          char c2 = s2.charAt(i);
          if (c1 == c2) {
            continue;
          }
          int alphaIndex = getAlphaIndex(c1);
          // This was also benchmarked using '&' to avoid branching (but always evaluate the rhs),
          // however this showed no obvious improvement.
          if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
            continue;
          }
          return false;
        }
        return true;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * we take them from storedPermits, reducing them to 7.0, and compute the throttling for these as
       * a call to storedPermitsToWaitTime(storedPermits = 10.0, permitsToTake = 3.0), which will
       * evaluate the integral of the function from 7.0 to 10.0.
       *
       * Using integrals guarantees that the effect of a single acquire(3) is equivalent to {
    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)
Back to top