Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Alerts (0.19 sec)

  1. 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)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          safeMax = -1;
          safeMin = Integer.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
    
        // This is a bit of a hack but lets us do quicker per-character checks in
        // the fast path code. The safe min/max values are very unlikely to extend
        // into the range of surrogate characters, but if they do we must not test
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<SomeEnum> units = Stream.<SomeEnum>empty().collect(Sets.toImmutableEnumSet());
        assertThat(units).isEmpty();
      }
    
      public void testToImmutableEnumSetReused() {
        // The method call lets us capture the accumulator as an A and invoke the callbacks manually
        genericTestToImmutableEnumSetReused(Sets.<SomeEnum>toImmutableEnumSet());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/base/Strings.java

       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
    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)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

                    })
                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        return suite;
      }
    
      // Overkill alert!  Test all combinations of 0-2 options during creation.
    
      public void testCreation_simple() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        assertEquals(11, queue.capacity());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          /*
           * We'll call the user callback or collect the values only when all inputs complete,
           * regardless of whether some failed. This lets us avoid calling expensive methods like
           * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it
           * lets all futures share the same listener.
           *
           * We store `localFutures` inside the listener because `this.futures` might be nulled out by
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        implements Serializable {
      // TODO(lowasser): consider overhauling this back to Map<E, Integer>
      private transient Map<E, Count> backingMap;
    
      /*
       * Cache the size for efficiency. Using a long lets us avoid the need for
       * overflow checking and ensures that size() will function correctly even if
       * the multiset had once been larger than Integer.MAX_VALUE.
       */
      private transient long size;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
Back to top