- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 70 for cutInt (0.15 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformFactoryForAgent.java
this.classpathBuilder = classpathBuilder; this.classpathWalker = classpathWalker; } @Override public void applyConfigurationTo(Hasher hasher) { hasher.putInt(AGENT_INSTRUMENTATION_VERSION); } @Override public ClasspathElementTransform createTransformer(File file, ClassTransform classTransform, InstrumentationTypeRegistry typeRegistry) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:02:27 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHashFunction.java
@Override public HashCode hashString(CharSequence input, Charset charset) { return newHasher().putString(input, charset).hash(); } @Override public HashCode hashInt(int input) { return newHasher(4).putInt(input).hash(); } @Override public HashCode hashLong(long input) { return newHasher(8).putLong(input).hash(); } @Override public HashCode hashBytes(byte[] input) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
* INSTANCE; * public void funnel(Person person, PrimitiveSink into) { * into.putUnencodedChars(person.getFirstName()) * .putUnencodedChars(person.getLastName()) * .putInt(person.getAge()); * } * } * }</pre> * * @author Dimitris Andreou * @since 11.0 */ @Beta @DoNotMock("Implement with a lambda") @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
@CanIgnoreReturnValue public final Hasher putChar(char c) { buffer.putChar(c); munchIfFull(); return this; } @Override @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;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
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() { Sink sink = new Sink(8);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/DefaultHashingClassLoaderFactory.java
addToHash(hasher, spec.getDisallowedPackagePrefixes()); return hasher.hash(); } private static void addToHash(Hasher hasher, Set<String> items) { int count = items.size(); hasher.putInt(count); if (count == 0) { return; } String[] sortedItems = items.toArray(new String[count]); Arrays.sort(sortedItems); for (String item : sortedItems) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 11:14:18 UTC 2024 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
@CanIgnoreReturnValue public final Hasher putChar(char c) { buffer.putChar(c); munchIfFull(); return this; } @Override @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;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
return new BufferingHasher(expectedInputSize); } @Override public HashCode hashInt(int input) { return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array()); } @Override public HashCode hashLong(long input) { return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array()); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
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() { Sink sink = new Sink(8);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.5K bytes - Viewed (0)