Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 212 for Funnels (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/hash/Funnels.java

    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Funnels for common types. All implementations are serializable.
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    public final class Funnels {
      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.hash.Funnels.byteArrayFunnel;
    import static com.google.common.hash.Hashing.murmur3_128;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.hash.Funnels.byteArrayFunnel;
    import static com.google.common.hash.Hashing.murmur3_32;
    import static com.google.common.hash.Hashing.murmur3_32_fixed;
    import static java.nio.charset.StandardCharsets.UTF_16;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
       * Carries an exchange. This is usually a connection, but it could also be a connect plan for
       * CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections.
       */
      interface Carrier {
        val route: Route
    
        fun trackFailure(
          call: RealCall,
          e: IOException?,
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java

    import com.google.common.collect.Ordering;
    import java.util.Arrays;
    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for an undirected {@link StandardMutableNetwork}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/AbstractHashFunction.java

     */
    @Immutable
    abstract class AbstractHashFunction implements HashFunction {
      @Override
      public <T extends @Nullable Object> HashCode hashObject(
          @ParametricNullness T instance, Funnel<? super T> funnel) {
        return newHasher().putObject(instance, funnel).hash();
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int len = input.length();
        return newHasher(len * 2).putUnencodedChars(input).hash();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Hasher.java

      @Override
      Hasher putString(CharSequence charSequence, Charset charset);
    
      /** A simple convenience for {@code funnel.funnel(object, this)}. */
      @CanIgnoreReturnValue
      <T extends @Nullable Object> Hasher putObject(
          @ParametricNullness T instance, Funnel<? super T> funnel);
    
      /**
       * Computes a hash code based on the data that have been provided to this hasher. The result is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

        replaceWith = ReplaceWith(expression = "socketAddress"),
        level = DeprecationLevel.ERROR,
      )
      fun socketAddress(): InetSocketAddress = socketAddress
    
      /**
       * Returns true if this route tunnels HTTPS or HTTP/2 through an HTTP proxy.
       * See [RFC 2817, Section 5.2][rfc_2817].
       *
       * [rfc_2817]: http://www.ietf.org/rfc/rfc2817.txt
       */
      fun requiresTunnel(): Boolean {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

            }
            return this;
          }
    
          @Override
          public <T extends @Nullable Object> Hasher putObject(
              @ParametricNullness T instance, Funnel<? super T> funnel) {
            for (Hasher hasher : hashers) {
              hasher.putObject(instance, funnel);
            }
            return this;
          }
    
          @Override
          public HashCode hash() {
            return makeHash(hashers);
          }
        };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /**
     * Test for {@link Network} methods which have default implementations. Currently those
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 7.4K bytes
    - Click Count (0)
Back to Top