Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for putLong (0.06 sec)

  1. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    house, and have next to no toys to play with, and oh! ever so
    many lessons to learn!  No, I've made up my mind about it; if I'm
    Mabel, I'll stay down here!  It'll be no use their putting their
    heads down and saying "Come up again, dear!"  I shall only look
    up and say "Who am I then?  Tell me that first, and then, if I
    like being that person, I'll come up:  if not, I'll stay down
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      @Override
      @CanIgnoreReturnValue
      public Hasher putInt(int i) {
        scratch.putInt(i);
        return update(Ints.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putLong(long l) {
        scratch.putLong(l);
        return update(Longs.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putChar(char c) {
        scratch.putChar(c);
        return update(Chars.BYTES);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      @CanIgnoreReturnValue
      public final Hasher putInt(int i) {
        buffer.putInt(i);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putLong(long l) {
        buffer.putLong(l);
        munchIfFull();
        return this;
      }
    
      @Override
      public final HashCode hash() {
        munch();
        Java8Compatibility.flip(buffer);
        if (buffer.remaining() > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractHasher.java

      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
        return putByte(b ? (byte) 1 : (byte) 0);
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/AbstractStreamingHasher.java

      @CanIgnoreReturnValue
      public final Hasher putInt(int i) {
        buffer.putInt(i);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putLong(long l) {
        buffer.putLong(l);
        munchIfFull();
        return this;
      }
    
      @Override
      public final HashCode hash() {
        munch();
        Java8Compatibility.flip(buffer);
        if (buffer.remaining() > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/AbstractByteHasher.java

      @Override
      @CanIgnoreReturnValue
      public Hasher putInt(int i) {
        scratch.putInt(i);
        return update(Ints.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putLong(long l) {
        scratch.putLong(l);
        return update(Longs.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putChar(char c) {
        scratch.putChar(c);
        return update(Chars.BYTES);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/AbstractHasher.java

      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
        return putByte(b ? (byte) 1 : (byte) 0);
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

            for (Hasher hasher : hashers) {
              hasher.putInt(i);
            }
            return this;
          }
    
          @Override
          public Hasher putLong(long l) {
            for (Hasher hasher : hashers) {
              hasher.putLong(l);
            }
            return this;
          }
    
          @Override
          public Hasher putFloat(float f) {
            for (Hasher hasher : hashers) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          h1 += h2;
          h2 += h1;
    
          return HashCode.fromBytesNoCopy(
              ByteBuffer.wrap(new byte[CHUNK_SIZE])
                  .order(ByteOrder.LITTLE_ENDIAN)
                  .putLong(h1)
                  .putLong(h2)
                  .array());
        }
    
        private static long fmix64(long k) {
          k ^= k >>> 33;
          k *= 0xff51afd7ed558ccdL;
          k ^= k >>> 33;
          k *= 0xc4ceb9fe1a85ec53L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
        hasher.putLong(0x0807060504030201L);
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testChar() {
        TestHasher hasher = new TestHasher();
        hasher.putChar((char) 0x0201);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top