Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for dmitrii (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

     * utilities.
     *
     * <p>A comparison of the various hash functions can be found <a
     * href="http://goo.gl/jS7HH">here</a>.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public final class Hashing {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  6. android/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};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashCodeTest.java

    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link HashCode}.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    public class HashCodeTest extends TestCase {
      // note: asInt(), asLong() are in little endian
      private static final ImmutableList<ExpectedHashCode> expectedHashCodes =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/QueuesTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Queues}.
     *
     * @author Dimitris Andreou
     */
    public class QueuesTest extends TestCase {
      /*
       * All the following tests relate to BlockingQueue methods in Queues.
       */
    
      public static List<BlockingQueue<Object>> blockingQueues() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. 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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top