Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for dmitrii (0.47 sec)

  1. android/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 =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingTest.java

    /**
     * Unit tests for {@link Hashing}.
     *
     * <p>TODO(b/33919189): Migrate repeated testing methods to {@link #HashTestUtils} and tweak unit
     * tests to reference them from there.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    public class HashingTest extends TestCase {
      public void testMd5() {
        HashTestUtils.checkAvalanche(Hashing.md5(), 100, 0.4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashSet.java

     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

    import java.nio.charset.Charset;
    import java.util.Arrays;
    import java.util.Random;
    import java.util.Set;
    import org.junit.Assert;
    
    /**
     * Various utilities for testing {@link HashFunction}s.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    final class HashTestUtils {
      private HashTestUtils() {}
    
      /** Converts a string, which should contain only ascii-representable characters, to a byte[]. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    public class CompactHashSetTest extends TestCase {
      public static Test suite() {
        List<Feature<?>> allFeatures =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    public class CompactHashSetTest extends TestCase {
      public static Test suite() {
        List<Feature<?>> allFeatures =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/FunnelsTest.java

    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.mockito.InOrder;
    
    /**
     * Tests for HashExtractors.
     *
     * @author Dimitris Andreou
     */
    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
          new ThreadLocal<Random>() {
            @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * granted immediately, but it is the <i>next</i> request that will experience extra throttling,
     * thus paying for the cost of the expensive task.
     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    // TODO(user): switch to nano precision. A natural unit of cost is "bytes", and a micro precision
    // would mean a maximum rate of "1MB/s", which might be small in some cases.
    @Beta
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
Back to top