Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Kluever (0.18 sec)

  1. guava-tests/test/com/google/common/base/OptionalTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Optional}.
     *
     * @author Kurt Alfred Kluever
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public final class OptionalTest extends TestCase {
      public void testToJavaUtil_static() {
        assertNull(Optional.toJavaUtil(null));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import sun.security.jca.ProviderList;
    import sun.security.jca.Providers;
    
    /**
     * Tests for the MacHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    public class MacHashFunctionTest extends TestCase {
    
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      private static final SecretKey MD5_KEY =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. 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 =
          ImmutableList.of(
    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)
  4. android/guava-tests/test/com/google/common/base/OptionalTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Optional}.
     *
     * @author Kurt Alfred Kluever
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public final class OptionalTest extends TestCase {
      public void testAbsent() {
        Optional<String> optionalName = Optional.absent();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import sun.security.jca.ProviderList;
    import sun.security.jca.Providers;
    
    /**
     * Tests for the MacHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    public class MacHashFunctionTest extends TestCase {
    
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      private static final SecretKey MD5_KEY =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  6. android/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 =
          ImmutableList.of(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Optional.java

     *     this type, so it is safe to cast an {@code Optional<T>} to {@code Optional<S>} for any
     *     supertype {@code S} of {@code T}.
     * @author Kurt Alfred Kluever
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Use Optional.of(value) or Optional.absent()")
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingTest.java

     *
     * <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);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.md5());
    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/src/com/google/common/hash/HashCode.java

    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable hash code of arbitrary bit length.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public abstract class HashCode {
      HashCode() {}
    
      /** Returns the number of bits in this hash code; a positive multiple of 8. */
      public abstract int bits();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

     *
     * <p>Important: the order of the constants cannot change, and they cannot be deleted - we depend on
     * their ordinal for BloomFilter serialization.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @ElementTypesAreNonnullByDefault
    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
       * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and Michael
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
Back to top