Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for consistent (0.16 sec)

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

       *       traffic to {@code charlie}, rather than letting {@code bravo} keep its traffic.
       * </ul>
       *
       * <p>See the <a href="http://en.wikipedia.org/wiki/Consistent_hashing">Wikipedia article on
       * consistent hashing</a> for more information.
       */
      public static int consistentHash(HashCode hashCode, int buckets) {
        return consistentHash(hashCode.padToLong(), buckets);
      }
    
      /**
    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/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whose
     * comparator is not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        }
        return totalSize;
      }
    
      /**
       * Peeks into the cache's internals to check its internal consistency. Verifies that each
       * segment's count matches its #elements (after cleanup), each segment is unlocked, each entry
       * contains a non-null key and value, and the eviction and expiration queues are consistent (see
       * {@link #checkEviction}, {@link #checkExpiration}).
       */
      static void checkValidState(Cache<?, ?> cache) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Functions.java

      }
    
      /**
       * Creates a function that returns the same boolean output as the given predicate for all inputs.
       *
       * <p>The returned function is <i>consistent with equals</i> (as documented at {@link
       * Function#apply}) if and only if {@code predicate} is itself consistent with equals.
       *
       * <p><b>Java 8+ users:</b> use the method reference {@code predicate::test} instead.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whose
     * comparator is not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Functions.java

      }
    
      /**
       * Creates a function that returns the same boolean output as the given predicate for all inputs.
       *
       * <p>The returned function is <i>consistent with equals</i> (as documented at {@link
       * Function#apply}) if and only if {@code predicate} is itself consistent with equals.
       *
       * <p><b>Java 8+ users:</b> use the method reference {@code predicate::test} instead.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

       * <p>Anything after a {@code %} in an IPv6 address is ignored (assumed to be a Scope ID).
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() appear consistent to javac's type inference.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      abstract static class CachingAsList<E> extends ImmutableSet<E> {
        @LazyInit private transient ImmutableList<E> asList;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top