Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 637 for checkID (0.16 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    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)
  2. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public void runWithTimeout(Runnable runnable, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(runnable);
        checkNotNull(timeoutUnit);
        try {
          runnable.run();
        } catch (Exception e) { // sneaky checked exception
          throw new UncheckedExecutionException(e);
        } catch (Error e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java

      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public void addListener(Runnable listener, Executor executor) {
        checkNotNull(listener, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
        try {
          executor.execute(listener);
        } catch (Exception e) { // sneaky checked exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSortedMultiset.java

          @ParametricNullness E fromElement,
          BoundType fromBoundType,
          @ParametricNullness E toElement,
          BoundType toBoundType) {
        // These are checked elsewhere, but NullPointerTester wants them checked eagerly.
        checkNotNull(fromBoundType);
        checkNotNull(toBoundType);
        return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/RelationshipTester.java

          for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) {
            // check related items in same group
            for (int relatedItemNumber = 0; relatedItemNumber < group.size(); relatedItemNumber++) {
              if (itemNumber != relatedItemNumber) {
                assertRelated(groupNumber, itemNumber, relatedItemNumber);
              }
            }
            // check unrelated items in all other groups
            for (int unrelatedGroupNumber = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    /** Microbenchmark for {@link Futures#getChecked}. */
    public class FuturesGetCheckedBenchmark {
      private enum Validator {
        NON_CACHING_WITH_CONSTRUCTOR_CHECK(nonCachingWithConstructorCheckValidator()),
        NON_CACHING_WITHOUT_CONSTRUCTOR_CHECK(nonCachingWithoutConstructorCheckValidator()),
        WEAK_SET(weakSetValidator()),
        ;
    
        final GetCheckedTypeValidator validator;
    
    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)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      public void clear() {
        if (needsAllocArrays()) {
          return;
        }
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
        // Either both arrays are null or neither is, but we check both to satisfy the nullness checker.
        if (predecessor != null && successor != null) {
          Arrays.fill(predecessor, 0, size(), 0);
          Arrays.fill(successor, 0, size(), 0);
        }
        super.clear();
      }
    
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Imposes a time limit on method calls.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @DoNotMock("Use FakeTimeLimiter")
    @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A wrapper around {@code TreeSet} that aggressively checks to see if elements are mutually
     * comparable. This implementation passes the navigable set test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top