Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for leto (0.13 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      @GwtIncompatible // used only from suite
      private static ImmutableDoubleArray makeArray(Double[] values) {
        return ImmutableDoubleArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static ImmutableLongArray makeArray(Long[] values) {
        return ImmutableLongArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

            if (array[min] > array[index]) {
              min = index;
            }
          }
          if (min != from) {
            swap(array, min, from);
          }
          return;
        }
    
        // Let's play quickselect! We'll repeatedly partition the range [from, to] containing the
        // required element, as long as it has more than one element.
        while (to > from) {
          int partitionPoint = partition(array, from, to);
    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)
  5. android/guava/src/com/google/common/math/LongMath.java

       */
      @GwtIncompatible // TODO
      public static long sqrt(long x, RoundingMode mode) {
        checkNonNegative("x", x);
        if (fitsInInt(x)) {
          return IntMath.sqrt((int) x, mode);
        }
        /*
         * Let k be the true value of floor(sqrt(x)), so that
         *
         *            k * k <= x          <  (k + 1) * (k + 1)
         * (double) (k * k) <= (double) x <= (double) ((k + 1) * (k + 1))
    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)
  6. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(t);
          return;
        } finally {
          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
    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)
  7. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

          this.original = original;
        }
    
        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
         * non-legacy behavior; it just needs to let the behavior of the backing converter shine
         * through. So, we override the correctedDo* methods, after which the do* methods should never
         * be reached.
         */
    
        @Override
        protected A doForward(B b) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TopKSelector.java

          if (iterations >= maxIterations) {
            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
            // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
            Arrays.sort(castBuffer, left, right + 1, comparator);
            break;
          }
        }
        bufferSize = k;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *        0 +----------+-------+--------------→ storedPermits
       *          0 thresholdPermits maxPermits
       * </pre>
       *
       * Before going into the details of this particular function, let's keep in mind the basics:
       *
       * <ol>
       *   <li>The state of the RateLimiter (storedPermits) is a vertical line in this figure.
       *   <li>When the RateLimiter is not used, this goes right (up to maxPermits)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top