Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for reserved (4.66 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
    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)
  8. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          int dividend = r.nextInt();
          int divisor = r.nextInt();
          // Test that the Euclidean property is preserved:
          assertThat(
                  dividend
                      - (divisor * UnsignedInts.divide(dividend, divisor)
                          + UnsignedInts.remainder(dividend, divisor)))
              .isEqualTo(0);
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName origin = InternetDomainName.from("foo.com");
        InternetDomainName parent = origin.parent();
        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
      public void testValidTopPrivateDomain() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * When multiple elements are equivalent according to {@code compareTo()}, only the first one
       * specified is included. To create a copy of a {@code SortedSet} that preserves the comparator,
       * call {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top