Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 150 for thorough (0.29 sec)

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

      }
    
      /**
       * Returns an {@code ImmutableRangeSet} containing each of the specified disjoint ranges.
       * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and
       * will be merged.
       *
       * @throws IllegalArgumentException if any ranges overlap or are empty
       * @since 21.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

          assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i));
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
        // Test the thorough test inputs, which also includes special constants in the Miller-Rabin
        // tests.
        for (long l : POSITIVE_LONG_CANDIDATES) {
          assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l));
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Lists.java

            }
          };
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Implementation of a transforming random access list. We try to make as many of these methods
       * pass-through to the source list as possible so that the performance characteristics of the
       * source list and transformed list are similar.
       *
       * @see Lists#transform
       */
      private static class TransformingRandomAccessList<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/BaseEncoding.java

     *
     * <p>...returns the ASCII bytes of the string {@code "foo"}.
     *
     * <p>By default, {@code BaseEncoding}'s behavior is relatively strict and in accordance with RFC
     * 4648. Decoding rejects characters in the wrong case, though padding is optional. To modify
     * encoding and decoding behavior, use configuration methods to obtain a new encoding with modified
     * behavior:
     *
     * <pre>{@code
     * BaseEncoding.base16().lowerCase().decode("deadbeef");
    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)
  5. android/guava/src/com/google/common/math/IntMath.java

      public static int log2(int x, RoundingMode mode) {
        checkPositive("x", x);
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(isPowerOfTwo(x));
            // fall through
          case DOWN:
          case FLOOR:
            return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x);
    
          case UP:
          case CEILING:
            return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

       * a view of the multiset whose elements are of this class. A multiset implementation may return
       * Entry instances that are either live "read-through" views to the Multiset, or immutable
       * snapshots. Note that this type is unrelated to the similarly-named type {@code Map.Entry}.
       *
       * @since 2.0
       */
      interface Entry<E extends @Nullable Object> {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheStats.java

       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long requestCount() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long requestCount() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * So in order to check ClassLoader garbage collection we need to create a new ClassLoader and
       * make it load its own version of FinalizableReferenceQueue. Then we need to interact with that
       * parallel version through reflection in order to exercise the parallel
       * FinalizableReferenceQueue, and then check that the parallel ClassLoader can be
       * garbage-collected after that.
       */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

        if (IPV4_DELIMITER_MATCHER.countIn(ipString) + 1 != IPV4_PART_COUNT) {
          return null; // Wrong number of parts
        }
    
        byte[] bytes = new byte[IPV4_PART_COUNT];
        int start = 0;
        // Iterate through the parts of the ip string.
        // Invariant: start is always the beginning of an octet.
        for (int i = 0; i < IPV4_PART_COUNT; i++) {
          int end = ipString.indexOf(IPV4_DELIMITER, start);
          if (end == -1) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top