Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for reasonable (0.04 sec)

  1. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      int indexOf(@Nullable Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains check—at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
        // requireNonNull is safe because of the contains check.
        C c = (C) requireNonNull(target);
        return (int) domain.distance(first(), c);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

       * in the subdomain list. The number of levels must be non-negative, and less than {@code N-1},
       * where {@code N} is the number of parts in the domain.
       *
       * <p>TODO: Reasonable candidate for addition to public API.
       */
      private InternetDomainName ancestor(int levels) {
        ImmutableList<String> ancestorParts = parts.subList(levels, parts.size());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
        @GwtIncompatible @J2ktIncompatible     private static final long serialVersionUID = 0x150ddL;
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
      //   similar purposes.
      // * We want to behave reasonably for timeouts of 0
      // * We are more responsive to completion than timeouts. This is because parkNanos depends on
      //   system scheduling and as such we could either miss our deadline, or unpark() could be delayed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
      //   similar purposes.
      // * We want to behave reasonably for timeouts of 0
      // * We are more responsive to completion than timeouts. This is because parkNanos depends on
      //   system scheduling and as such we could either miss our deadline, or unpark() could be delayed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      /**
       * Returns an estimate for the total number of distinct elements that have been added to this
       * Bloom filter. This approximation is reasonably accurate if it does not exceed the value of
       * {@code expectedInsertions} that was used when constructing the filter.
       *
       * @since 22.0
       */
      public long approximateElementCount() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top