Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for scanner (0.17 sec)

  1. android/guava/src/com/google/common/collect/SetMultimap.java

     *
     * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
     * if key or value objects already present in the multimap change in a manner that affects
     * {@code equals} comparisons. Use caution if mutable objects are used as keys or values in a {@code
     * SetMultimap}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/base/Joiner.java

       */
      public MapJoiner withKeyValueSeparator(String keyValueSeparator) {
        return new MapJoiner(this, keyValueSeparator);
      }
    
      /**
       * An object that joins map entries in the same manner as {@code Joiner} joins iterables and
       * arrays. Like {@code Joiner}, it is thread-safe and immutable.
       *
       * <p>In addition to operating on {@code Map} instances, {@code MapJoiner} can operate on {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimap.java

     * keys and values are stored.
     *
     * <h3>Other Notes</h3>
     *
     * <p>As with {@code Map}, the behavior of a {@code Multimap} is not specified if key objects
     * already present in the multimap change in a manner that affects {@code equals} comparisons. Use
     * caution if mutable objects are used as keys in a {@code Multimap}.
     *
     * <p>All methods that modify the multimap are optional. The view collections returned by the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
          return message.toString();
        }
      }
    
      /**
       * Internal Lock implementations implement the {@code CycleDetectingLock} interface, allowing the
       * detection logic to treat all locks in the same manner.
       */
      private interface CycleDetectingLock {
    
        /** @return the {@link LockGraphNode} associated with this lock. */
        LockGraphNode getLockGraphNode();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

          // But in gcd(a - b, b), a - b is even and b is odd, so we can divide out powers of two.
    
          // We bend over backwards to avoid branching, adapting a technique from
          // http://graphics.stanford.edu/~seander/bithacks.html#IntegerMinOrMax
    
          long delta = a - b; // can't overflow, since a and b are nonnegative
    
          long minDeltaOrZero = delta & (delta >> (Long.SIZE - 1));
          // equivalent to Math.min(delta, 0)
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    go on for some time without interrupting it.
    
      `They were learning to draw,' the Dormouse went on, yawning and
    rubbing its eyes, for it was getting very sleepy; `and they drew
    all manner of things--everything that begins with an M--'
    
      `Why with an M?' said Alice.
    
      `Why not?' said the March Hare.
    
      Alice was silent.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/ClassPath.java

        ImmutableSet<LocationInfo> locations = locationsFrom(classloader);
    
        // Add all locations to the scanned set so that in a classpath [jar1, jar2], where jar1 has a
        // manifest with Class-Path pointing to jar2, we won't scan jar2 twice.
        Set<File> scanned = new HashSet<>();
        for (LocationInfo location : locations) {
          scanned.add(location.file());
        }
    
        // Scan all locations
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * @param csq a sequence of characters
       * @param start the index of the first character to be scanned
       * @param end the index immediately after the last character to be scanned
       * @throws IllegalArgumentException if the scanned sub-sequence of {@code csq} contains invalid
       *     surrogate pairs
       */
      protected int nextEscapeIndex(CharSequence csq, int start, int end) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
Back to top