- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for putBoolean (0.08 sec)
-
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
Hasher hasher = HASH_FN.newHasher(); // Expected data is 0x0100010100000000 hasher .putBoolean(true) .putBoolean(true) .putBoolean(false) .putBoolean(true) .putBoolean(false) .putBoolean(false) .putBoolean(false) .putBoolean(false); final long hashCode = hasher.hash().asLong(); hasher = HASH_FN.newHasher(); hasher
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
Hasher hasher = HASH_FN.newHasher(); // Expected data is 0x0100010100000000 hasher .putBoolean(true) .putBoolean(true) .putBoolean(false) .putBoolean(true) .putBoolean(false) .putBoolean(false) .putBoolean(false) .putBoolean(false); final long hashCode = hasher.hash().asLong(); hasher = HASH_FN.newHasher(); hasher
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
Hasher hasher = HASH_FN.newHasher(); // Expected data is 0x0100010100000000 hasher .putBoolean(true) .putBoolean(true) .putBoolean(false) .putBoolean(true) .putBoolean(false) .putBoolean(false) .putBoolean(false) .putBoolean(false); final long hashCode = hasher.hash().asLong(); hasher = HASH_FN.newHasher(); hasher
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
* * @author Dimitris Andreou */ @ElementTypesAreNonnullByDefault abstract class AbstractHasher implements Hasher { @Override @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)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractHasher.java
* * @author Dimitris Andreou */ @ElementTypesAreNonnullByDefault abstract class AbstractHasher implements Hasher { @Override @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)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/PrimitiveSink.java
/** Puts a double into this sink. */ @CanIgnoreReturnValue PrimitiveSink putDouble(double d); /** Puts a boolean into this sink. */ @CanIgnoreReturnValue PrimitiveSink putBoolean(boolean b); /** Puts a character into this sink. */ @CanIgnoreReturnValue PrimitiveSink putChar(char c); /** * Puts each 16-bit code unit from the {@link CharSequence} into this sink. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.9K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 25 18:22:59 UTC 2021 - 10.9K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 25 18:22:59 UTC 2021 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
} }; enum RandomHasherAction { PUT_BOOLEAN() { @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { boolean value = random.nextBoolean(); for (PrimitiveSink sink : sinks) { sink.putBoolean(value); } } }, PUT_BYTE() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0)