Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testDoubler (0.18 sec)

  1. guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

          @Override
          protected Iterator<Integer> newTargetIterator() {
            return newDoubler(1, 2);
          }
        }.test();
      }
    
      public void testDoubler() {
        Iterable<Integer> doubled =
            new Iterable<Integer>() {
              @Override
              public Iterator<Integer> iterator() {
                return newDoubler(2, 32);
              }
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

          @Override
          protected Iterator<Integer> newTargetIterator() {
            return newDoubler(1, 2);
          }
        }.test();
      }
    
      public void testDoubler() {
        Iterable<Integer> doubled =
            new Iterable<Integer>() {
              @Override
              public Iterator<Integer> iterator() {
                return newDoubler(2, 32);
              }
            };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        }
      }
    
      public void testFloat() {
        TestHasher hasher = new TestHasher();
        hasher.putFloat(Float.intBitsToFloat(0x04030201));
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testDouble() {
        TestHasher hasher = new TestHasher();
        hasher.putDouble(Double.longBitsToDouble(0x0807060504030201L));
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testCorrectExceptions() {
    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)
  4. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        }
      }
    
      public void testFloat() {
        TestHasher hasher = new TestHasher();
        hasher.putFloat(Float.intBitsToFloat(0x04030201));
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testDouble() {
        TestHasher hasher = new TestHasher();
        hasher.putDouble(Double.longBitsToDouble(0x0807060504030201L));
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testCorrectExceptions() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.putFloat(Float.intBitsToFloat(0x04030201));
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testDouble() {
        Sink sink = new Sink(8);
        sink.putDouble(Double.longBitsToDouble(0x0807060504030201L));
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
    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)
  6. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.putFloat(Float.intBitsToFloat(0x04030201));
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testDouble() {
        Sink sink = new Sink(8);
        sink.putDouble(Double.longBitsToDouble(0x0807060504030201L));
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top