Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 966 for testInt (0.21 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
    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)
  4. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Objects;
    import com.google.common.testing.EqualsTester;
    
    /**
     * Tests {@link SingletonImmutableTable}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.testers.CollectionSerializationEqualTester;
    import com.google.common.collect.testing.testers.ListAddAllAtIndexTester;
    import com.google.common.collect.testing.testers.ListAddAllTester;
    import com.google.common.collect.testing.testers.ListAddAtIndexTester;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.SetAddTester;
    import com.google.common.collect.testing.testers.SetCreationTester;
    import com.google.common.collect.testing.testers.SetEqualsTester;
    import com.google.common.collect.testing.testers.SetHashCodeTester;
    import com.google.common.collect.testing.testers.SetRemoveTester;
    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top