Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 197 for panama (0.23 sec)

  1. guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

     */
    public class HashFunctionBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
      private static final Random random = new Random(42);
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      @Param HashFunctionEnum hashFunctionEnum;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        random.nextBytes(testBytes);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        NavigableMap<String, String> map = new SafeTreeMap<>();
                        putEntries(map, entries);
                        map.put("banana", "toast");
                        map.put("eggplant", "spam");
                        return Maps.filterKeys(map, FILTER_KEYS);
                      }
                    })
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closeables.java

       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
       * @param closeable the {@code Closeable} object to be closed, or null, in which case this method
       *     does nothing
       * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code close}
       *     methods
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheLoader.java

       * CacheBuilder#refreshAfterWrite}.
       *
       * <p><b>Note:</b> <i>all exceptions thrown by this method will be logged and then swallowed</i>.
       *
       * @param key the non-null key whose value should be loaded
       * @param oldValue the non-null old value corresponding to {@code key}
       * @return the future new value associated with {@code key}; <b>must not be null, must not return
       *     null</b>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
       *         .put('b', "anana")
       *         .putAll('a', "pple", "sparagus")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p>This method calls {@link Collection#removeAll} if {@code iterable} is a collection, and
       * {@link Iterators#removeAll} otherwise.
       *
       * @param removeFrom the iterable to (potentially) remove elements from
       * @param elementsToRemove the elements to remove
       * @return {@code true} if any element was removed from {@code iterable}
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableWeakReference.java

    @ElementTypesAreNonnullByDefault
    public abstract class FinalizableWeakReference<T> extends WeakReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable weak reference.
       *
       * @param referent to weakly reference
       * @param queue that should finalize the referent
       */
      protected FinalizableWeakReference(@CheckForNull T referent, FinalizableReferenceQueue queue) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    /**
     * Base class for map testers.
     *
     * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned
     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

         *
         * @param index the quantile index, which must be in the inclusive range [0, q] for q-quantiles
         */
        public ScaleAndIndex index(int index) {
          return new ScaleAndIndex(scale, index);
        }
    
        /**
         * Specifies multiple quantile indexes to be calculated, each index being the k in the kth
         * q-quantile.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashBasedTable.java

        return new HashBasedTable<>(new LinkedHashMap<R, Map<C, V>>(), new Factory<C, V>(0));
      }
    
      /**
       * Creates an empty {@code HashBasedTable} with the specified map sizes.
       *
       * @param expectedRows the expected number of distinct row keys
       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top