- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 883 for byte (0.02 sec)
-
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
new byte[] {LEAST}, new byte[] {LEAST, LEAST}, new byte[] {LEAST, (byte) 1}, new byte[] {(byte) 1}, new byte[] {(byte) 1, LEAST}, new byte[] {GREATEST, GREATEST - (byte) 1}, new byte[] {GREATEST, GREATEST}, new byte[] {GREATEST, GREATEST, GREATEST}); Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator();
Registered: 2025-05-30 12:43 - Last Modified: 2025-04-10 20:12 - 7.1K bytes - Viewed (0) -
src/bufio/bufio.go
} // ReadByte reads and returns a single byte. // If no byte is available, returns an error. func (b *Reader) ReadByte() (byte, error) { b.lastRuneSize = -1 for b.r == b.w { if b.err != nil { return 0, b.readErr() } b.fill() // buffer is empty } c := b.buf[b.r] b.r++ b.lastByte = int(c) return c, nil } // UnreadByte unreads the last byte. Only the most recently read byte can be unread.
Registered: 2025-05-27 11:13 - Last Modified: 2025-02-07 01:08 - 22K bytes - Viewed (0) -
internal/config/crypto.go
// The context is bound to the returned ciphertext. // // The same context must be provided when decrypting the // ciphertext. func EncryptBytes(k *kms.KMS, plaintext []byte, context kms.Context) ([]byte, error) { ciphertext, err := Encrypt(k, bytes.NewReader(plaintext), context) if err != nil { return nil, err } return io.ReadAll(ciphertext) } // DecryptBytes decrypts the ciphertext using a key managed by the KMS.
Registered: 2025-05-25 19:28 - Last Modified: 2025-05-16 14:27 - 4.7K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// For example, // // "10000;chunk-signature=..." => "10000", "chunk-signature=..." func parseS3ChunkExtension(buf []byte) ([]byte, []byte) { buf = trimTrailingWhitespace(buf) semi := bytes.Index(buf, []byte(s3ChunkSignatureStr)) // Chunk signature not found, return the whole buffer. if semi == -1 { return buf, nil } return buf[:semi], parseChunkSignature(buf[semi:])
Registered: 2025-05-25 19:28 - Last Modified: 2025-03-30 00:56 - 18.2K bytes - Viewed (0) -
internal/grid/grid.go
) var internalByteBuffer = bpool.Pool[*[]byte]{ New: func() *[]byte { m := make([]byte, 0, defaultBufferSize) return &m }, } var internal32KByteBuffer = bpool.Pool[*[]byte]{ New: func() *[]byte { m := make([]byte, 0, biggerBufMin) return &m }, } // GetByteBuffer can be replaced with a function that returns a small // byte buffer. // When replacing PutByteBuffer should also be replaced
Registered: 2025-05-25 19:28 - Last Modified: 2025-03-30 00:56 - 7K bytes - Viewed (0) -
cmd/bucket-metadata.go
PolicyConfigJSON []byte NotificationConfigXML []byte LifecycleConfigXML []byte ObjectLockConfigXML []byte VersioningConfigXML []byte EncryptionConfigXML []byte TaggingConfigXML []byte QuotaConfigJSON []byte ReplicationConfigXML []byte BucketTargetsConfigJSON []byte BucketTargetsConfigMetaJSON []byte
Registered: 2025-05-25 19:28 - Last Modified: 2025-05-16 14:27 - 18.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
} private static long hashLength33To64(byte[] bytes, int offset, int length) { long z = load64(bytes, offset + 24); long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0; long b = rotateRight(a + z, 52); long c = rotateRight(a, 37); a += load64(bytes, offset + 8); c += rotateRight(a, 7); a += load64(bytes, offset + 16); long vf = a + z;
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-21 03:10 - 6.5K bytes - Viewed (0) -
internal/grid/connection_test.go
// 1: Echo errFatal(local.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) { t.Log("1: server payload: ", len(payload), "bytes.") return append([]byte{}, payload...), nil })) // 2: Return as error errFatal(local.RegisterSingleHandler(handlerTest2, func(payload []byte) ([]byte, *RemoteErr) { t.Log("2: server payload: ", len(payload), "bytes.") err := RemoteErr(payload) return nil, &err }))
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-09 14:28 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
public Hasher putBytes(byte[] bytes) { checkNotNull(bytes); update(bytes); return this; } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes, int off, int len) { checkPositionIndexes(off, off + len, bytes.length); update(bytes, off, len); return this; } @Override @CanIgnoreReturnValue public Hasher putBytes(ByteBuffer bytes) { update(bytes);
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-21 03:10 - 3.5K bytes - Viewed (0) -
cmd/post-policy_test.go
Registered: 2025-05-25 19:28 - Last Modified: 2024-12-11 10:51 - 30.7K bytes - Viewed (0)