Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for Funnels (0.04 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/FunnelsTest.java

    package com.google.common.hash;
    
    import static com.google.common.hash.Funnels.byteArrayFunnel;
    import static com.google.common.hash.Funnels.integerFunnel;
    import static com.google.common.hash.Funnels.longFunnel;
    import static com.google.common.hash.Funnels.sequentialFunnel;
    import static com.google.common.hash.Funnels.stringFunnel;
    import static com.google.common.hash.Funnels.unencodedCharsFunnel;
    import static com.google.common.truth.Truth.assertThat;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. android/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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top