Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 193 for equivalentTo (0.06 sec)

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

        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
        Reader reader = concatenated.openStream(); // no need to worry about closing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

       */
      public CharMatcher or(CharMatcher other) {
        return new Or(this, other);
      }
    
      /**
       * Returns a {@code char} matcher functionally equivalent to this one, but which may be faster to
       * query than the original; your mileage may vary. Precomputation takes time and requires more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

      }
    
      /**
       * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
       * try to ensure that this will happen.
       *
       * <p>This is a convenience method, equivalent to:
       *
       * {@snippet :
       * awaitDone(new FinalizationPredicate() {
       *   public boolean isDone() {
       *     return ref.get() == null;
       *   }
       * });
       * }
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *
         * Expected outputs are generated by the code itself, but they've been
         * checked against the inputs under Bash in order to confirm that the two
         * forms are equivalent (though not necessarily minimal, though we hope this
         * to be the case). Thus, this test is more of a regression test.
         *
         * Rough instructions to regenerate the test outputs and verify correctness:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Functions.java

     *
     * @author Mike Bostock
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class Functions {
      private Functions() {}
    
      /**
       * A function equivalent to the method reference {@code Object::toString}. The function simply
       * invokes {@code toString} on its argument and returns the result. It throws a {@link
       * NullPointerException} on null input.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        abstract operator fun set(
          builder: HttpUrl.Builder,
          value: String,
        )
    
        abstract operator fun get(url: HttpUrl): String
    
        /**
         * Returns a character equivalent to 's' in this component. This is used to convert hostname
         * characters to lowercase.
         */
        open fun canonicalize(s: String): String = s
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TableCollectorsTest.java

          BiPredicate<C, C> pairwiseOnResultOf(Function<C, R> arg) {
        Equivalence<C> equivalence = Equivalence.equals().<E>pairwise().onResultOf(arg);
        return equivalence::equivalent;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Cache.java

       *
       * @since 11.0
       */
      void put(K key, V value);
    
      /**
       * Copies all of the mappings from the specified map to the cache. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        level = DeprecationLevel.ERROR,
      )
      fun receivedResponseAtMillis(): Long = receivedResponseAtMillis
    
      /**
       * Closes the response body. Equivalent to `body().close()`.
       *
       * Prior to OkHttp 5.0, it was an error to close a response that is not eligible for a body. This
       * includes the responses returned from [cacheResponse], [networkResponse], and [priorResponse].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            // This is a multibyte value. Read 7 bits at a time.
            var result = prefixMask
            var shift = 0
            while (true) {
              val b = readByte()
              if (b and 0x80 != 0) { // Equivalent to (b >= 128) since b is in [0..255].
                result += b and 0x7f shl shift
                shift += 7
              } else {
                result += b shl shift // Last byte.
                break
              }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top