Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for chrome (0.15 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

       */
      private static int chooseNextSelection(
          int[] allRequired, int requiredFrom, int requiredTo, int from, int to) {
        if (requiredFrom == requiredTo) {
          return requiredFrom; // only one thing to choose, so choose it
        }
    
        // Find the center and round down. The true center is either centerFloor or halfway between
        // centerFloor and centerFloor + 1.
        int centerFloor = (from + to) >>> 1;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
              synchronized (queue) {
                // Choose whether this thread will run or not after acquiring the lock on the first
                // iteration
                if (!hasSetRunning) {
                  if (workerRunningState == RUNNING) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @deprecated If you must interoperate with a system that requires MD5, then use this method,
       *     despite its deprecation. But if you can choose your hash function, avoid MD5, which is
       *     neither fast nor secure. As of January 2017, we suggest:
       *     <ul>
       *       <li>For security:
       *           {@link Hashing#sha256} or a higher-level API.
    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)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * ListenableFuture<Integer> faultTolerantFuture =
       *     fetchCounters().catchingAsync(
       *         FetchException.class, x -> immediateFuture(0), directExecutor());
       * }</pre>
       *
       * <p>The fallback can also choose to propagate the original exception when desired:
       *
       * <pre>{@code
       * // Falling back to a zero counter only in case the exception was a
       * // TimeoutException.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Collections2.java

         *
         * <ul>
         *   <li>For an empty list, it is 1 (base case).
         *   <li>When r numbers are added to a list of n-r elements, the number of permutations is
         *       increased by a factor of (n choose r).
         * </ul>
         */
        private static <E> int calculateSize(
            List<E> sortedInputList, Comparator<? super E> comparator) {
          int permutations = 1;
          int n = 1;
          int r = 1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19 * 20
      };
    
      /**
       * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
       * {@code k}, or {@link Long#MAX_VALUE} if the result does not fit in a {@code long}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

          "X-Content-Security-Policy-Report-Only";
      /**
       * The HTTP nonstandard {@code X-WebKit-CSP} header field name. It was introduced in <a
       * href="https://www.w3.org/TR/2011/WD-CSP-20111129/">CSP v.1</a> and used by the Chrome until
       * version 25. Please, use {@link #CONTENT_SECURITY_POLICY} to pass the CSP.
       *
       * @since 20.0
       */
      public static final String X_WEBKIT_CSP = "X-WebKit-CSP";
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          if (nextThrewException) {
            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchSunJavaBug6529795InTargetIterator() {
        try {
          /* Choose 4 steps to get sequence [next, next, next, remove] */
          new IteratorTester<Integer>(
              4, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
            @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. LICENSE

          has been advised of the possibility of such damages.
    
       9. Accepting Warranty or Additional Liability. While redistributing
          the Work or Derivative Works thereof, You may choose to offer,
          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RangeSet.java

    import javax.annotation.CheckForNull;
    
    /**
     * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain
     * Range#isConnected(Range) disconnected} ranges of type {@code C}.
     *
     * <p>Implementations that choose to support the {@link #add(Range)} operation are required to
     * ignore empty ranges and coalesce connected ranges. For example:
     *
     * <pre>{@code
     * RangeSet<Integer> rangeSet = TreeRangeSet.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top