Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for mint (0.15 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashFunction.java

      Hasher newHasher();
    
      /**
       * Begins a new hash code computation as {@link #newHasher()}, but provides a hint of the expected
       * size of the input (in bytes). This is only important for non-streaming hash functions (hash
       * functions that need to buffer their whole input before processing any of it).
       */
      Hasher newHasher(int expectedInputSize);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

      final long queryEarliestAvailable(long nowMicros) {
        return nextFreeTicketMicros;
      }
    
      @Override
      final long reserveEarliestAvailable(int requiredPermits, long nowMicros) {
        resync(nowMicros);
        long returnValue = nextFreeTicketMicros;
        double storedPermitsToSpend = min(requiredPermits, this.storedPermits);
        double freshPermits = requiredPermits - storedPermitsToSpend;
        long waitMicros =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
            return Math.max(0, data.size() + delta);
          }
    
          @Override
          public T get(int index) {
            return data.get(index);
          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

    @ElementTypesAreNonnullByDefault
    public final class MapMaker {
      private static final int DEFAULT_INITIAL_CAPACITY = 16;
      private static final int DEFAULT_CONCURRENCY_LEVEL = 4;
    
      static final int UNSET_INT = -1;
    
      // TODO(kevinb): dispense with this after benchmarking
      boolean useCustomMap;
    
      int initialCapacity = UNSET_INT;
      int concurrencyLevel = UNSET_INT;
    
      @CheckForNull Strength keyStrength;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
          long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong();
          int hash1 = (int) hash64;
          int hash2 = (int) (hash64 >>> 32);
    
          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Mind-bogglingly slow in GWT
      @AndroidIncompatible // slow
      public void testOverflowCondition() {
        // See https://code.google.com/p/guava-libraries/issues/detail?id=1322 for details.
        ImmutableTable.Builder<Integer, Integer, String> builder = ImmutableTable.builder();
        for (int i = 1; i < 0x10000; i++) {
          builder.put(i, 0, "foo");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
      boolean strictParsing = true;
    
      int initialCapacity = UNSET_INT;
      int concurrencyLevel = UNSET_INT;
      long maximumSize = UNSET_INT;
      long maximumWeight = UNSET_INT;
      @CheckForNull Weigher<? super K, ? super V> weigher;
    
      @CheckForNull Strength keyStrength;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
            return Math.max(0, data.size() + delta);
          }
    
          @Override
          public T get(int index) {
            return data.get(index);
          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
Back to top