Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Towers (0.24 sec)

  1. android/guava/src/com/google/common/cache/LocalCache.java

      /**
       * Applies a supplemental hash function to a given hash code, which defends against poor quality
       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

       */
      static int capacity(int expectedSize) {
        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
        }
        if (expectedSize < Ints.MAX_POWER_OF_TWO) {
          // This seems to be consistent across JDKs. The capacity argument to HashMap and LinkedHashMap
          // ends up being used to compute a "threshold" size, beyond which the internal table
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    passage, not much larger than a rat-hole:  she knelt down and
    looked along the passage into the loveliest garden you ever saw.
    How she longed to get out of that dark hall, and wander about
    among those beds of bright flowers and those cool fountains, but
    she could not even get her head though the doorway; `and even if
    my head would go through,' thought poor Alice, `it would be of
    very little use without my shoulders.  Oh, how I wish
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    passage, not much larger than a rat-hole:  she knelt down and
    looked along the passage into the loveliest garden you ever saw.
    How she longed to get out of that dark hall, and wander about
    among those beds of bright flowers and those cool fountains, but
    she could not even get her head though the doorway; `and even if
    my head would go through,' thought poor Alice, `it would be of
    very little use without my shoulders.  Oh, how I wish
    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)
  5. guava/src/com/google/common/cache/LocalCache.java

      /**
       * Applies a supplemental hash function to a given hash code, which defends against poor quality
       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(testEquivalence, map.valueEquivalence);
        assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence);
      }
    
      public void testSetConcurrencyLevel() {
        // round up to the nearest power of two
    
        checkConcurrencyLevel(1, 1);
        checkConcurrencyLevel(2, 2);
        checkConcurrencyLevel(3, 4);
        checkConcurrencyLevel(4, 4);
        checkConcurrencyLevel(5, 8);
        checkConcurrencyLevel(6, 8);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(testEquivalence, map.valueEquivalence);
        assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence);
      }
    
      public void testSetConcurrencyLevel() {
        // round up to the nearest power of two
    
        checkConcurrencyLevel(1, 1);
        checkConcurrencyLevel(2, 2);
        checkConcurrencyLevel(3, 4);
        checkConcurrencyLevel(4, 4);
        checkConcurrencyLevel(5, 8);
        checkConcurrencyLevel(6, 8);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        AssertionFailedError failure = new AssertionFailedError(message);
        failure.initCause(cause);
        return failure;
      }
    
      // This test covers a bug where an Error thrown from a callback could cause the TimeoutFuture to
      // never complete when timing out.  Notably, nothing would get logged since the Error would get
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        AssertionFailedError failure = new AssertionFailedError(message);
        failure.initCause(cause);
        return failure;
      }
    
      // This test covers a bug where an Error thrown from a callback could cause the TimeoutFuture to
      // never complete when timing out.  Notably, nothing would get logged since the Error would get
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top