Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for putLongs (0.17 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

                    return Arrays.toString((long[]) array);
                }
    
                @Override
                public void appendTo(Hasher hasher, Object array) {
                    HasherExtensions.putLongs(hasher, (long[]) array);
                }
    
                @Override
                public void encode(Encoder encoder, Object array) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                update(4);
            }
    
            @Override
            public void putLong(long value) {
                buffer.putLong(value);
                update(8);
            }
    
            @Override
            public void putDouble(double value) {
                long longValue = Double.doubleToRawLongBits(value);
                putLong(longValue);
            }
    
            @Override
            public void putBoolean(boolean value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java

                longToBytes(bits2, bytes, 8);
                return bytes;
            }
    
            @Override
            void appendToHasher(PrimitiveHasher hasher) {
                hasher.putLong(bits1);
                hasher.putLong(bits2);
            }
    
            @Override
            public int hashCode() {
                return (int) bits1;
            }
    
            @Override
            public boolean equals(Object o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 19:25:07 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashFunction.java

       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
       *     .hash();
       * }</pre>
       */
      Hasher newHasher();
    
      /**
       * Begins a new hash code computation as {@link #newHasher()}, but provides a hint of the expected
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashFunction.java

       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
       *     .hash();
       * }</pre>
       */
      Hasher newHasher();
    
      /**
       * Begins a new hash code computation as {@link #newHasher()}, but provides a hint of the expected
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putInt(int i) {
          update(4, i);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putLong(long l) {
          update(4, (int) l);
          update(4, l >>> 32);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putChar(char c) {
          update(2, c);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

        PUT_LONG() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            long value = random.nextLong();
            for (PrimitiveSink sink : sinks) {
              sink.putLong(value);
            }
          }
        },
        PUT_FLOAT() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            float value = random.nextFloat();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putInt(int i) {
          update(4, i);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putLong(long l) {
          update(4, (int) l);
          update(4, l >>> 32);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putChar(char c) {
          update(2, c);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      private static final class CustomFunnel implements Funnel<Long> {
        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return (object instanceof CustomFunnel);
        }
    
        @Override
        public int hashCode() {
          return 42;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Stats.java

        checkNotNull(buffer);
        checkArgument(
            buffer.remaining() >= BYTES,
            "Expected at least Stats.BYTES = %s remaining , got %s",
            BYTES,
            buffer.remaining());
        buffer
            .putLong(count)
            .putDouble(mean)
            .putDouble(sumOfSquaresOfDeltas)
            .putDouble(min)
            .putDouble(max);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top