Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Scanner (0.19 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

       */
      public static HashFunction fingerprint2011() {
        return Fingerprint2011.FINGERPRINT_2011;
      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /** Waits out termination of a thread pool or fails doing so. */
      void joinPool(ExecutorService exec) {
        try {
          exec.shutdown();
          assertTrue(
              "ExecutorService did not terminate in a timely manner",
              exec.awaitTermination(2 * LONG_DELAY_MS, MILLISECONDS));
        } catch (SecurityException ok) {
          // Allowed in case test doesn't have privs
        } catch (InterruptedException ie) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /** Waits out termination of a thread pool or fails doing so. */
      void joinPool(ExecutorService exec) {
        try {
          exec.shutdown();
          assertTrue(
              "ExecutorService did not terminate in a timely manner",
              exec.awaitTermination(2 * LONG_DELAY_MS, MILLISECONDS));
        } catch (SecurityException ok) {
          // Allowed in case test doesn't have privs
        } catch (InterruptedException ie) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code byte} value
       * in the manner of {@link Number#byteValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Floats.java

        reverse(array, newFirstIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code float}
       * value in the manner of {@link Number#floatValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      final int concurrencyLevel;
    
      /** Strategy for comparing keys. */
      final Equivalence<Object> keyEquivalence;
    
      /** Strategy for handling entries and segments in a type-safe and efficient manner. */
      final transient InternalEntryHelper<K, V, E, S> entryHelper;
    
      /**
       * Creates a new, empty map with the specified strategy, initial capacity and concurrency level.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

      /** The instance that actually does the work; delegates to Unsafe or a pure-Java fallback. */
      private static final LittleEndianBytes byteArray;
    
      /**
       * Load 8 bytes into long in a little endian manner, from the substring between position and
       * position + 8. The array must have at least 8 bytes from offset (inclusive).
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Doubles.java

        reverse(array, newFirstIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code double}
       * value in the manner of {@link Number#doubleValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

        reverse(array, newFirstIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code int} value
       * in the manner of {@link Number#intValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

       * Returns a new ordering on {@code F} which orders elements by first applying a function to them,
       * then comparing those results using {@code this}. For example, to compare objects by their
       * string forms, in a case-insensitive manner, use:
       *
       * <pre>{@code
       * Ordering.from(String.CASE_INSENSITIVE_ORDER)
       *     .onResultOf(Functions.toStringFunction())
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top