Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for Funnels (0.09 seconds)

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

          Funnel<? super T> funnel, long expectedInsertions, double fpp) {
        return create(funnel, expectedInsertions, fpp, BloomFilterStrategies.MURMUR128_MITZ_64);
      }
    
      @VisibleForTesting
      static <T extends @Nullable Object> BloomFilter<T> create(
          Funnel<? super T> funnel, long expectedInsertions, double fpp, Strategy strategy) {
        checkNotNull(funnel);
        checkArgument(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

                  + Integer.toHexString(expected)
                  + " got: "
                  + Integer.toHexString(verification));
        }
      }
    
      static final Funnel<Object> BAD_FUNNEL =
          new Funnel<Object>() {
            @Override
            public void funnel(Object object, PrimitiveSink bytePrimitiveSink) {
              bytePrimitiveSink.putInt(object.hashCode());
            }
          };
    
      enum RandomHasherAction {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    package com.google.common.hash;
    
    import static com.google.common.hash.BloomFilter.toBloomFilter;
    import static com.google.common.hash.Funnels.byteArrayFunnel;
    import static com.google.common.hash.Funnels.integerFunnel;
    import static com.google.common.hash.Funnels.stringFunnel;
    import static com.google.common.hash.Funnels.unencodedCharsFunnel;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Ascii;
    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableList;
    import com.google.common.hash.Funnels;
    import com.google.common.hash.HashCode;
    import com.google.common.hash.HashFunction;
    import com.google.common.hash.Hasher;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.BufferedInputStream;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        var nextRequest = tunnelRequest!!
        // Make an SSL Tunnel on the first message pair of each SSL + proxy connection.
        val url = route.address.url
        val requestLine = "CONNECT ${url.toHostHeader(includeDefaultPort = true)} HTTP/1.1"
        while (true) {
          val tunnelCodec =
            Http1ExchangeCodec(
              // No client for CONNECT tunnels:
              client = null,
              carrier = this,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

          connectionSpecIndex = -1,
          isTlsFallback = false,
        )
      }
    
      /**
       * Returns a request that creates a TLS tunnel via an HTTP proxy. Everything in the tunnel request
       * is sent unencrypted to the proxy server, so tunnels include only the minimum set of headers.
       * This avoids sending potentially sensitive data like HTTP cookies to the proxy unencrypted.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        @Override
        public <T extends @Nullable Object> boolean put(
            @ParametricNullness T object,
            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
          long hash64 = murmur3_128().hashObject(object, funnel).asLong();
          int hash1 = (int) hash64;
          int hash2 = (int) (hash64 >>> 32);
    
          boolean bitsChanged = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

      /**
       * Shortcut for {@code newHasher().putObject(instance, funnel).hash()}. The implementation
       * <i>might</i> perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 14.0
       */
      <T extends @Nullable Object> HashCode hashObject(
          @ParametricNullness T instance, Funnel<? super T> funnel);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
      private val client: OkHttpClient?,
      override val carrier: ExchangeCodec.Carrier,
      override val socket: BufferedSocket,
    ) : ExchangeCodec {
      private var state = STATE_IDLE
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method
     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top