Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 162 for show (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertThrows(
            UnsupportedOperationException.class,
            () -> rangeSet.removeAll(ImmutableRangeSet.of(Range.closed(6, 8))));
      }
    
      @AndroidIncompatible // slow
      public void testExhaustive() {
        ImmutableSet<Range<Integer>> ranges =
            ImmutableSet.of(
                Range.<Integer>all(),
                Range.<Integer>closedOpen(3, 5),
                Range.singleton(1),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.assertInvariants(Hashing.fingerprint2011());
        assertEquals("Hashing.fingerprint2011()", Hashing.fingerprint2011().toString());
      }
    
      @AndroidIncompatible // slow TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testGoodFastHash() {
        for (int i = 1; i < 200; i += 17) {
          HashFunction hasher = Hashing.goodFastHash(i);
          assertTrue(hasher.bits() >= i);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/BaseEncoding.java

          }
    
          // Compute how input bytes are chunked. For example, with base64 we chunk every 3 bytes into
          // 4 characters. We have bitsPerChar == 6, charsPerChunk == 4, and bytesPerChunk == 3.
          // We're looking for the smallest charsPerChunk such that bitsPerChar * charsPerChunk is a
          // multiple of 8. A multiple of 8 has 3 low zero bits, so we just need to figure out how many
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

        return (result == null) ? keySet = createKeySet() : result;
      }
    
      /*
       * This could have a good default implementation of return new ImmutableKeySet<K, V>(this),
       * but ProGuard can't figure out how to eliminate that default when RegularImmutableMap
       * overrides it.
       */
      abstract ImmutableSet<K> createKeySet();
    
      UnmodifiableIterator<K> keyIterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

                    }
                  }
                }
              }
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseAllCodePoints() {
        // Exercise non-ASCII digit test cases and the like.
        char[] tmp = new char[2];
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

                    }
                  }
                }
              }
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseAllCodePoints() {
        // Exercise non-ASCII digit test cases and the like.
        char[] tmp = new char[2];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

          return ImmutableSet.of();
        }
      }
    
      // We use power-of-2 tables, and this is the highest int that's a power of 2
      static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
      // If the set has this many elements, it will "max out" the table size
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

      /** Weigher to weigh cache entries. */
      final Weigher<K, V> weigher;
    
      /** How long after the last access to an entry the map will retain that entry. */
      final long expireAfterAccessNanos;
    
      /** How long after the last write to an entry the map will retain that entry. */
      final long expireAfterWriteNanos;
    
      /** How long after the last write an entry becomes a candidate for refresh. */
      final long refreshNanos;
    
    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)
  9. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *       }
     *     };
     * iteratorTester.test();
     * iteratorTester.testForEachRemaining();
     * }</pre>
     *
     * <p><b>Note</b>: It is necessary to use {@code IteratorTester.KnownOrder} as shown above, rather
     * than {@code KnownOrder} directly, because otherwise the code cannot be compiled.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
             * If we have spun a lot, just park ourselves. This will save CPU while we wait for a slow
             * interrupting thread. In theory, interruptTask() should be very fast, but due to
             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top