Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for dmitriy (0.65 sec)

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

     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }</pre>
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @DoNotMock("Implement with a lambda")
    @ElementTypesAreNonnullByDefault
    public interface Funnel<T extends @Nullable Object> extends Serializable {
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/AbstractHasher.java

    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractHasher implements Hasher {
      @Override
      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

     * the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction {
      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    /**
     * See MurmurHash3_x86_32 in <a
     * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">the C++
     * implementation</a>.
     *
     * @author Austin Appleby
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_32HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_32 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/MessageDigestHashFunction.java

    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    
    /**
     * {@link HashFunction} adapter for {@link MessageDigest} instances.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {
    
      @SuppressWarnings("Immutable") // cloned before each use
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

     * {@code Hasher} objects of the delegate hash functions, and in the end, they are used by
     * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractCompositeHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // array not modified after creation
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

    import javax.annotation.CheckForNull;
    
    /**
     * See MurmurHash3_x64_128 in <a href="http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp">the
     * C++ implementation</a>.
     *
     * @author Austin Appleby
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
     * @author Dimitris Andreou
     */
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import java.util.Locale;
    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import java.util.Locale;
    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
Back to top