Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 477 for params (0.17 sec)

  1. guava/src/com/google/common/base/Strings.java

       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
       * @param string the string which should appear at the end of the result
       * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
       *     which case the input string is always returned.
       * @param padChar the character to insert at the beginning of the result until the minimum length
       *     is reached
    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)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       * @param unsafeReplacement the default replacement for unsafe characters or null if no default
       *     replacement is required
       */
    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-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.lang.reflect.Constructor;
    import java.util.concurrent.BlockingQueue;
    
    /**
     * Benchmarks for {@link Monitor}.
     *
     * @author Justin T. Sampson
     */
    public class MonitorBenchmark {
    
      @Param({"10", "100", "1000"})
      int capacity;
    
      @Param({"Array", "Priority"})
      String queueType;
    
      @Param boolean useMonitor;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * If the timeout expires, not only will the output future finish, but also the input future
       * ({@code this}) will be cancelled and interrupted.
       *
       * @param timeout when to time out the future
       * @param unit the time unit of the time parameter
       * @param scheduledExecutor The executor service to enforce the timeout.
       */
      @J2ktIncompatible
      @GwtIncompatible // ScheduledExecutorService
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Arrays;
    import java.util.Collections;
    
    /**
     * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.
     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 14 22:05:11 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

          }
        };
    
        abstract <T> Iterable<T> view(T root, TreeTraverser<T> viewer);
      }
    
      private Iterable<BinaryNode> view;
    
      @Param Topology topology;
    
      @Param({"1", "100", "10000", "1000000"})
      int size;
    
      @Param Traversal traversal;
    
      @Param({"1234"})
      SpecialRandom rng;
    
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

              KeyException.class,
              RefreshFailedException.class,
              TimeoutException.class,
              TooManyListenersException.class,
              URISyntaxException.class);
    
      @Param Validator validator;
      @Param Result result;
      @Param ExceptionType exceptionType;
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
    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. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *       UnsupportedOperationException when those mutators
       * </ol>
       *
       * @param multimap the presumed-immutable multimap
       * @param sampleKey a key of the same type as that contained by {@code multimap}. {@code multimap}
       *     may or may not have {@code sampleKey} as a key.
       * @param sampleValue a key of the same type as that contained by {@code multimap}. {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
       * @param desc the text to use to describe this index in an error message
       * @return the value of {@code index}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     * </ul>
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestAlgorithmBenchmark {
      @Param({"10", "1000", "100000", "1000000"})
      int size;
    
      @Param Algorithm algorithm;
      @Param HashMethod hashMethod;
    
      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
Back to top