Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for reserved (0.19 sec)

  1. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

    // Copyright 2011 Google Inc. All Rights Reserved.
    
    package com.google.common.hash;
    
    import static com.google.common.base.Charsets.ISO_8859_1;
    import static com.google.common.base.Charsets.UTF_8;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Strings;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.UnsignedLong;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Fingerprint2011.java

    // Copyright 2011 Google Inc. All Rights Reserved.
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static com.google.common.hash.LittleEndianByteArray.load64;
    import static com.google.common.hash.LittleEndianByteArray.load64Safely;
    import static java.lang.Long.rotateRight;
    
    import com.google.common.annotations.VisibleForTesting;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

    // Copyright 2011 Google Inc. All Rights Reserved.
    
    package com.google.common.hash;
    
    import static com.google.common.base.Charsets.ISO_8859_1;
    import static com.google.common.base.Charsets.UTF_8;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Strings;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.UnsignedLong;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

         * values in the [-128, 127] range are valid for the compact serial form. Non-negative values
         * are reserved for enums defined in BloomFilterStrategies; negative values are reserved for any
         * custom, stateful strategy we may define (e.g. any kind of strategy that would depend on user
         * input).
         */
        int ordinal();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Monitor.java

       *   times, typically once before invoking a blocking method. This often requires keeping track of
       *   the first time in a method that nanoTime() has been invoked, for which the special value 0L
       *   is reserved to mean "uninitialized". If timeout is non-positive, then nanoTime need never be
       *   called.
       * - Keep behavior of fair and non-fair instances consistent.
       */
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <pre>{@code
     * class Foo {
     *   private static final ImmutableSet<String> RESERVED_CODES =
     *       ImmutableSet.of("AZ", "CQ", "ZX");
     *
     *   private final ImmutableSet<String> codes;
     *
     *   public Foo(Iterable<String> codes) {
     *     this.codes = ImmutableSet.copyOf(codes);
     *     checkArgument(Collections.disjoint(this.codes, RESERVED_CODES));
     *   }
     * }
     * }</pre>
     *
     * <h3>See also</h3>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <pre>{@code
     * class Foo {
     *   private static final ImmutableSet<String> RESERVED_CODES =
     *       ImmutableSet.of("AZ", "CQ", "ZX");
     *
     *   private final ImmutableSet<String> codes;
     *
     *   public Foo(Iterable<String> codes) {
     *     this.codes = ImmutableSet.copyOf(codes);
     *     checkArgument(Collections.disjoint(this.codes, RESERVED_CODES));
     *   }
     * }
     * }</pre>
     *
     * <h3>See also</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

       */
      public static InetAddress fromLittleEndianByteArray(byte[] addr) throws UnknownHostException {
        byte[] reversed = new byte[addr.length];
        for (int i = 0; i < addr.length; i++) {
          reversed[i] = addr[addr.length - i - 1];
        }
        return InetAddress.getByAddress(reversed);
      }
    
      /**
       * Returns a new InetAddress that is one less than the passed in address. This method works for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       */
      @CanIgnoreReturnValue
      public double acquire(int permits) {
        long microsToWait = reserve(permits);
        stopwatch.sleepMicrosUninterruptibly(microsToWait);
        return 1.0 * microsToWait / SECONDS.toMicros(1L);
      }
    
      /**
       * Reserves the given number of permits from this {@code RateLimiter} for future use, returning
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

            queue.add(task);
            return;
          }
    
          oldRunCount = workerRunCount;
    
          // If the worker is not yet running, the delegate Executor might reject our attempt to start
          // it. To preserve FIFO order and failure atomicity of rejected execution when the same
          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top