Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for PrimitiveSink (0.04 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

            String s = new String(new char[] {randomLowSurrogate(random)});
            for (PrimitiveSink sink : sinks) {
              sink.putUnencodedChars(s);
            }
          }
        },
        PUT_STRING_HIGH_SURROGATE() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            String s = new String(new char[] {randomHighSurrogate(random)});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Funnel.java

       * requirement that this data be complete enough to fully reconstitute the object later.
       *
       * @since 12.0 (in Guava 11.0, {@code PrimitiveSink} was named {@code Sink})
       */
      void funnel(@ParametricNullness T from, PrimitiveSink into);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Funnels.java

        @Override
        public void funnel(Long from, PrimitiveSink into) {
          into.putLong(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.longFunnel()";
        }
      }
    
      /**
       * Wraps a {@code PrimitiveSink} as an {@link OutputStream}, so it is easy to {@link Funnel#funnel
       * funnel} an object to a {@code PrimitiveSink} if there is already a way to write the contents of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Funnels.java

        @Override
        public void funnel(Long from, PrimitiveSink into) {
          into.putLong(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.longFunnel()";
        }
      }
    
      /**
       * Wraps a {@code PrimitiveSink} as an {@link OutputStream}, so it is easy to {@link Funnel#funnel
       * funnel} an object to a {@code PrimitiveSink} if there is already a way to write the contents of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hasher.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link PrimitiveSink} that can compute a hash code after reading the input. Each hasher should
     * translate all multibyte values ({@link #putInt(int)}, {@link #putLong(long)}, etc) to bytes in
     * little-endian order.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        SerializableTester.reserializeAndAssert(BloomFilter.create(new CustomFunnel(), 100));
      }
    
      private static final class CustomFunnel implements Funnel<Long> {
        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return object instanceof CustomFunnel;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        SerializableTester.reserializeAndAssert(BloomFilter.create(new CustomFunnel(), 100));
      }
    
      private static final class CustomFunnel implements Funnel<Long> {
        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return object instanceof CustomFunnel;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top