- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for PutBytes (0.13 sec)
-
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:30 UTC 2024 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
ByteBuffer bigEndian = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN); assertEquals( hashFunction.newHasher().putBytes(littleEndian).hash(), hashFunction.newHasher().putBytes(bigEndian).hash()); assertEquals(ByteOrder.LITTLE_ENDIAN, littleEndian.order()); assertEquals(ByteOrder.BIG_ENDIAN, bigEndian.order()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 25.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
@CanIgnoreReturnValue @Override public Hasher putByte(byte b) { update(1, b & 0xFF); return this; } @CanIgnoreReturnValue @Override public Hasher putBytes(byte[] bytes, int off, int len) { checkPositionIndexes(off, off + len, bytes.length); int i; for (i = 0; i + 4 <= len; i += 4) { update(4, getIntLittleEndian(bytes, off + i)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 11.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
@CanIgnoreReturnValue @Override public Hasher putByte(byte b) { update(1, b & 0xFF); return this; } @CanIgnoreReturnValue @Override public Hasher putBytes(byte[] bytes, int off, int len) { checkPositionIndexes(off, off + len, bytes.length); int i; for (i = 0; i + 4 <= len; i += 4) { update(4, getIntLittleEndian(bytes, off + i)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java
return Arrays.toString((byte[]) array); } @Override public void appendTo(Hasher hasher, Object array) { hasher.putBytes((byte[]) array); } @Override public void encode(Encoder encoder, Object array) throws IOException { encoder.writeBinary((byte[]) array); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 14.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt
get() = secretKey != null override val encryptionKeyHashCode: HashCode by lazy { secretKey?.let { Hashing.sha512().newHasher().apply { putBytes(it.encoded) putString(encryptionAlgorithm.transformation) }.hash() } ?: Hashing.newHasher().hash() } private fun shouldEncryptStreams(stateType: StateType) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java
@Override public byte[] toByteArray() { return bytes.clone(); } @Override void appendToHasher(PrimitiveHasher hasher) { hasher.putBytes(bytes); } @Override public int hashCode() { return (bytes[0] & 0xFF) | ((bytes[1] & 0xFF) << 8) | ((bytes[2] & 0xFF) << 16)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 19:25:07 UTC 2023 - 10.9K bytes - Viewed (0) -
src/cmd/go/internal/cache/cache.go
return out, size, err } // Add to cache index. return out, size, c.putIndexEntry(id, out, size, allowVerify) } // PutBytes stores the given bytes in the cache as the output for the action ID. func PutBytes(c Cache, id ActionID, data []byte) error { _, _, err := c.Put(id, bytes.NewReader(data)) return err } // copyFile copies file into the cache, expecting it to have the given
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
} if cfg.BuildN { return nil } } c := cache.Default() // Cache output from compile/link, even if we don't do the rest. switch a.Mode { case "build": cache.PutBytes(c, cache.Subkey(a.actionID, "stdout"), a.output) case "link": // Even though we don't cache the binary, cache the linker text output. // We might notice that an installed binary is up-to-date but still
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:31:25 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
// the index because the module hasn't been indexed yet. data, err = indexModule(modroot) if err != nil { return nil, err } if err = cache.PutBytes(cache.Default(), id, data); err != nil { return nil, err } } mi, err := fromBytes(modroot, data) if err != nil { return nil, err } return mi, nil }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0)