- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,713 for bytes (0.04 sec)
-
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java
private static void longToBytes(long value, byte[] bytes, int offset) { bytes[offset] = (byte) (value & 0xFF); bytes[offset + 1] = (byte) ((value >>> 8) & 0xFF); bytes[offset + 2] = (byte) ((value >>> 16) & 0xFF); bytes[offset + 3] = (byte) ((value >>> 24) & 0xFF); bytes[offset + 4] = (byte) ((value >>> 32) & 0xFF); bytes[offset + 5] = (byte) ((value >>> 40) & 0xFF);
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/crypto/internal/nistec/fiat/p256.go
func (e *P256Element) Equal(t *P256Element) int { eBytes := e.Bytes() tBytes := t.Bytes() return subtle.ConstantTimeCompare(eBytes, tBytes) } // IsZero returns 1 if e == 0, and zero otherwise. func (e *P256Element) IsZero() int { zero := make([]byte, p256ElementLen) eBytes := e.Bytes() return subtle.ConstantTimeCompare(eBytes, zero) } // Set sets e = t, and returns e.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 3.6K bytes - Viewed (0) -
cmd/httprange_test.go
errExpected bool }{ {"bytes=0-", false}, {"bytes=1-", false}, {"bytes=0-9", false}, {"bytes=1-10", false}, {"bytes=1-1", false}, {"bytes=2-5", false}, {"bytes=-5", false}, {"bytes=-1", false}, {"bytes=-1000", false}, {"bytes=", true}, {"bytes= ", true}, {"byte=", true}, {"bytes=A-B", true}, {"bytes=1-B", true}, {"bytes=B-1", true},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/norm/input.go
for ; p < len(in.bytes) && !utf8.RuneStart(in.bytes[p]); p++ { } } return p } func (in *input) appendSlice(buf []byte, b, e int) []byte { if in.bytes != nil { return append(buf, in.bytes[b:e]...) } for i := b; i < e; i++ { buf = append(buf, in.str[i]) } return buf } func (in *input) copySlice(buf []byte, b, e int) int { if in.bytes == nil { return copy(buf, in.str[b:e]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 20:28:54 UTC 2019 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
new byte[] {(byte) 2, (byte) 3, (byte) 4})) .isEqualTo(2); assertThat( Bytes.indexOf( new byte[] {(byte) 2, (byte) 2, (byte) 3, (byte) 4, (byte) 2, (byte) 3, (byte) 4}, new byte[] {(byte) 2, (byte) 3, (byte) 4})) .isEqualTo(1); assertThat( Bytes.indexOf( new byte[] {(byte) 4, (byte) 3, (byte) 2},
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 06 16:10:08 UTC 2024 - 16.4K bytes - Viewed (0) -
test/fixedbugs/issue7921.go
var b bytes.Buffer b.Grow(64) // ERROR "bufferNoEscape4 ignoring self-assignment in bytes.b.buf = bytes.b.buf\[:bytes.m\]$" "inlining call to bytes.\(\*Buffer\).Grow$" `".+" escapes to heap` useBuffer(&b) return b.Bytes() // ERROR "inlining call to bytes.\(\*Buffer\).Bytes$" } func bufferNoEscape5() { // ERROR "can inline bufferNoEscape5$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 19:43:26 UTC 2023 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
} MessageDigestHashFunction(String algorithmName, int bytes, String toString) { this.toString = checkNotNull(toString); this.prototype = getMessageDigest(algorithmName); int maxLength = prototype.getDigestLength(); checkArgument( bytes >= 4 && bytes <= maxLength, "bytes (%s) must be >= 4 and < %s", bytes, maxLength); this.bytes = bytes; this.supportsClone = supportsClone(prototype); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 25 20:32:46 UTC 2022 - 5K bytes - Viewed (0) -
guava/src/com/google/common/hash/MessageDigestHashFunction.java
} MessageDigestHashFunction(String algorithmName, int bytes, String toString) { this.toString = checkNotNull(toString); this.prototype = getMessageDigest(algorithmName); int maxLength = prototype.getDigestLength(); checkArgument( bytes >= 4 && bytes <= maxLength, "bytes (%s) must be >= 4 and < %s", bytes, maxLength); this.bytes = bytes; this.supportsClone = supportsClone(prototype); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 25 20:32:46 UTC 2022 - 5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
// loop we keep 56 bytes of state: v, w, x, y, and z. long x = load64(bytes, offset); long y = load64(bytes, offset + length - 16) ^ K1; long z = load64(bytes, offset + length - 56) ^ K0; long[] v = new long[2]; long[] w = new long[2]; weakHashLength32WithSeeds(bytes, offset + length - 64, length, y, v);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Dec 28 17:50:25 UTC 2021 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashCode.java
* must be handed-off so as to preserve the immutability contract of {@code HashCode}. */ static HashCode fromBytesNoCopy(byte[] bytes) { return new BytesHashCode(bytes); } private static final class BytesHashCode extends HashCode implements Serializable { final byte[] bytes; BytesHashCode(byte[] bytes) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 12.6K bytes - Viewed (0)