Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 996 for just (0.06 sec)

  1. guava/src/com/google/common/escape/CharEscaper.java

          // If no replacement is needed, just continue.
          if (r == null) {
            continue;
          }
    
          int rlen = r.length;
          int charsSkipped = index - lastEscape;
    
          // This is the size needed to add the replacement, not the full size
          // needed by the string. We only regrow when we absolutely must, and
          // when we do grow, grow enough to avoid excessive growing. Grow.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A {@link Future} implementation which always throws directly from calls to {@code get()} (i.e.
     * not wrapped in {@code ExecutionException}. For just a normal failure, use {@link
     * SettableFuture}).
     *
     * <p>Useful for testing the behavior of Future utilities against odd futures.
     *
     * @author Anthony Zana
     */
    @GwtCompatible
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashingOutputStream.java

      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
      @LazyInit private @Nullable List<@Nullable Present<V>> values;
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      CollectionFuture(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

            result *= i;
          }
          return BigInteger.valueOf(result);
        }
    
        /*
         * We want each multiplication to have both sides with approximately the same number of digits.
         * Currently, we just divide the range in half.
         */
        int mid = (n1 + n2) >>> 1;
        return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2));
      }
    
      @Benchmark
      int slowFactorial(int reps) {
        int tmp = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
      @IgnoreJRERequirement // *should* be redundant with the annotation on SpliteratorTester
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
      private abstract static class GeneralSpliterator<E extends @Nullable Object> {
        final Spliterator<E> spliterator;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

     */
    class OpenJSSEPlatform private constructor() : Platform() {
      private val provider: Provider =
        org.openjsse.net.ssl
          .OpenJSSE()
    
      // Selects TLSv1.3 so we are specific about our intended version ranges (not just 1.3)
      // and because it's a common pattern for VMs to have differences between supported and
      // defaulted versions for TLS based on what is requested.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LineReader.java

    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A class for reading lines of text. Provides the same functionality as {@link
     * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of
     * {@link Reader}.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class LineReader {
      private final Readable readable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way.
       * Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to
       * a collection of other sets.
       */
      @SuppressWarnings("CollectionUndefinedEquality")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top