Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for Kluever (0.19 sec)

  1. guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.security.MessageDigest;
    
    /**
     * Benchmarks for comparing instance creation of {@link MessageDigest}s.
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestCreationBenchmark {
    
      @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"})
      private String algorithm;
    
      private MessageDigest md;
    
      @BeforeExperiment
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2017-12-04 17:37
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java

     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    
    /**
     * An enum that contains all of the known hash functions.
     *
     * @author Kurt Alfred Kluever
     */
    enum HashFunctionEnum {
      ADLER32(Hashing.adler32()),
      CRC32(Hashing.crc32()),
      GOOD_FAST_HASH_32(Hashing.goodFastHash(32)),
      GOOD_FAST_HASH_64(Hashing.goodFastHash(64)),
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2021-09-08 13:56
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Atomics}.
     *
     * @author Kurt Alfred Kluever
     */
    public class AtomicsTest extends TestCase {
    
      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertEquals(null, Atomics.newReference().get());
      }
    Java
    - Registered: 2023-11-24 12:43
    - Last Modified: 2023-09-06 17:04
    - 2.5K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Atomics}.
     *
     * @author Kurt Alfred Kluever
     */
    public class AtomicsTest extends TestCase {
    
      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertEquals(null, Atomics.newReference().get());
      }
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2023-09-06 17:04
    - 2.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link ForwardingListMultimap}.
     *
     * @author Kurt Alfred Kluever
     */
    public class ForwardingListMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2017-12-04 17:37
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.security.MessageDigest;
    
    /**
     * Benchmarks for comparing instance creation of {@link MessageDigest}s.
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestCreationBenchmark {
    
      @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"})
      private String algorithm;
    
      private MessageDigest md;
    
      @BeforeExperiment
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2017-12-04 17:37
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link ForwardingSetMultimap}.
     *
     * @author Kurt Alfred Kluever
     */
    public class ForwardingSetMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2017-12-04 17:37
    - 1.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link ForwardingSetMultimap}.
     *
     * @author Kurt Alfred Kluever
     */
    public class ForwardingSetMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2017-12-04 17:37
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>hashFunctionEnum: The {@link HashFunction} to use for hashing.
     * </ul>
     *
     * @author Kurt Alfred Kluever
     */
    public class HashFunctionBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
      private static final Random random = new Random(42);
    
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2017-12-04 17:37
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link StandardSystemProperty}.
     *
     * @author Kurt Alfred Kluever
     */
    @GwtIncompatible
    public class StandardSystemPropertyTest extends TestCase {
    
      public void testGetKeyMatchesString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2023-10-10 08:40
    - 2.4K bytes
    - Viewed (0)
Back to top