Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 164 for much (0.19 sec)

  1. android/guava/src/com/google/common/primitives/Chars.java

        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
       * <p>More formally, returns the lowest index {@code i} such that {@code Arrays.copyOfRange(array,
       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/BigIntegerMath.java

      }
    
      /**
       * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
       * {@code k}, that is, {@code n! / (k! (n - k)!)}.
       *
       * <p><b>Warning:</b> the result can take as much as <i>O(k log n)</i> space.
       *
       * @throws IllegalArgumentException if {@code n < 0}, {@code k < 0}, or {@code k > n}
       */
      public static BigInteger binomial(int n, int k) {
        checkNonNegative("n", n);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>If many tasks will be triggered by the same event, one heavyweight task may delay other
       *       tasks -- even tasks that are not themselves {@code directExecutor} tasks.
       *   <li>If many such tasks are chained together (such as with {@code
       *       future.transform(...).transform(...).transform(...)....}), they may overflow the stack.
       *       (In simple cases, callers can avoid this by registering all tasks with the same {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          this.expectedCompletionWaitMillis = expectedCompletionWaitMillis;
          stopwatch = Stopwatch.createStarted();
        }
    
        /**
         * Asserts that the expected completion time has passed (and not "too much" time beyond that).
         */
        void assertCompletionExpected() {
          assertAtLeastTimePassed(stopwatch, expectedCompletionWaitMillis);
          assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis + LONG_DELAY_MS);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

       * once after loading completes). Much internal cache management is performed at the segment
       * granularity. For example, access queues and write queues are kept per segment when they are
       * required by the selected eviction algorithm. As such, when writing unit tests it is not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

            assertEquals(InetAddresses.forString(withScopeId), InetAddresses.forString(ipString));
          }
        }
      }
    
      public void testToAddrStringIPv4() {
        // Don't need to test IPv4 much; it just calls getHostAddress().
        assertEquals("1.2.3.4", InetAddresses.toAddrString(InetAddresses.forString("1.2.3.4")));
      }
    
      public void testToAddrStringIPv6() {
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        /**
         * If the specified collection is backed by an ObjectCountHashMap, it will be much more
         * efficient to iterate over it by index rather than an entry iterator, which will need to
         * allocate an object for each entry, so we check for that.
         */
        @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

     *
     * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never
     * cause DNS services to be accessed. For this reason, you should prefer these methods as much as
     * possible over their JDK equivalents whenever you are expecting to handle only IP address string
     * literals -- there is no blocking DNS penalty for a malformed string.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/hash/BloomFilter.java

          expectedInsertions = 1;
        }
        /*
         * TODO(user): Put a warning in the javadoc about tiny fpp values, since the resulting size
         * is proportional to -log(p), but there is not much of a point after all, e.g.
         * optimalM(1000, 0.0000000000000001) = 76680 which is less than 10kb. Who cares!
         */
        long numBits = optimalNumOfBits(expectedInsertions, fpp);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Strings.java

          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
      }
    
      /**
       * Returns the longest string {@code prefix} such that {@code a.toString().startsWith(prefix) &&
       * b.toString().startsWith(prefix)}, taking care not to split surrogate pairs. If {@code a} and
       * {@code b} have no common prefix, returns the empty string.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
Back to top