Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 139 for Lange (0.49 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Range;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeoutException;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        return 0;
      }
    
      @Override
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        return this;
      }
    
      @Override
      public Range<C> range() {
        throw new NoSuchElementException();
      }
    
      @Override
      public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) {
        throw new NoSuchElementException();
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 28 18:35:00 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Cut.java

    import com.google.common.primitives.Booleans;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostAndPort.java

       * @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out
       *     of range.
       */
      public static HostAndPort fromParts(String host, int port) {
        checkArgument(isValidPort(port), "Port out of range: %s", port);
        HostAndPort parsedHost = fromString(host);
        checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CollectCollectors.java

              ImmutableSet.Builder::add,
              ImmutableSet.Builder::combine,
              ImmutableSet.Builder::build);
    
      @GwtIncompatible
      private static final Collector<Range<Comparable<?>>, ?, ImmutableRangeSet<Comparable<?>>>
          TO_IMMUTABLE_RANGE_SET =
              Collector.of(
                  ImmutableRangeSet::builder,
                  ImmutableRangeSet.Builder::add,
                  ImmutableRangeSet.Builder::combine,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * points in the supplementary range are either all escaped or all unescaped, this method can be
       * implemented more efficiently using {@link CharSequence#charAt(int)}.
       *
       * <p>Note however that if your escaper does not escape characters in the supplementary range, you
       * should either continue to validate the correctness of any surrogate characters encountered or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Chars.java

        char result = (char) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
      /**
       * Returns the {@code char} nearest in value to {@code value}.
       *
       * @param value any {@code long} value
       * @return the same value cast to {@code char} if it is in the range of the {@code char} type,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Range;
    import java.util.Random;
    
    /** Benchmarks some algorithms providing the same functionality as {@link Quantiles}. */
    public class QuantilesBenchmark {
    
      private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =
          ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers());
    
      @Param({"10", "100", "1000", "10000", "100000"})
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value any value in the range of the {@code int} type
       * @return the {@code int} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} or
       *     less than {@link Integer#MIN_VALUE}
       */
      public static int checkedCast(long value) {
        int result = (int) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Doubles.java

          max = Math.max(max, array[i]);
        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
       * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top