Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClassValue (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        for (int i = 0; i < otherEntriesInDataStructure; i++) {
          ClassValue<Boolean> classValue =
              new ClassValue<Boolean>() {
                @Override
                protected Boolean computeValue(Class<?> type) {
                  return true;
                }
              };
          classValue.get(exceptionType);
          retainedReferencesToOtherClassValues.add(classValue);
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        @J2ObjCIncompatible // ClassValue
        enum ClassValueValidator implements GetCheckedTypeValidator {
          INSTANCE;
    
          /*
           * Static final fields are presumed to be fastest, based on our experience with
           * UnsignedBytesBenchmark. TODO(cpovirk): benchmark this
           */
          private static final ClassValue<Boolean> isValidClass =
              new ClassValue<Boolean>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top