Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for Funnels (0.1 sec)

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

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Funnels for common types. All implementations are serializable.
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    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;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Funnels.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Funnels for common types. All implementations are serializable.
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    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;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.01))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. 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(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. 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(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
                Hasher hasher = murmur3_32(seed).newHasher();
                Funnels.byteArrayFunnel().funnel(input, hasher);
                return hasher.hash().asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 08 13:56:22 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  7. 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;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  8. 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;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  9. 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 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  10. pkg/controller/garbagecollector/garbagecollector.go

    )
    
    // ResourceResyncTime defines the resync period of the garbage collector's informers.
    const ResourceResyncTime time.Duration = 0
    
    // GarbageCollector runs reflectors to watch for changes of managed API
    // objects, funnels the results to a single-threaded dependencyGraphBuilder,
    // which builds a graph caching the dependencies among objects. Triggered by the
    // graph changes, the dependencyGraphBuilder enqueues objects that can
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top