- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,005 for byte (0.09 sec)
-
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
byte[] encode(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) return bytes.toByteArray() } byte[] truncate(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) def result = bytes.toByteArray() if (result.length < 2) {
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-15 16:06 - 14.9K bytes - Viewed (0) -
src/crypto/aes/gcm_ppc64x.go
} func gcmLengths(len0, len1 uint64) [16]byte { return [16]byte{ byte(len0 >> 56), byte(len0 >> 48), byte(len0 >> 40), byte(len0 >> 32), byte(len0 >> 24), byte(len0 >> 16), byte(len0 >> 8), byte(len0), byte(len1 >> 56), byte(len1 >> 48), byte(len1 >> 40), byte(len1 >> 32), byte(len1 >> 24), byte(len1 >> 16), byte(len1 >> 8), byte(len1), }
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-13 18:57 - 6.4K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke.go
encPubRecip := pubRecipient.Bytes() kemContext := append(encPubEph, encPubRecip...) return dh.ExtractAndExpand(dhVal, kemContext), encPubEph, nil } type Sender struct { aead cipher.AEAD kem *dhKEM sharedSecret []byte suiteID []byte key []byte baseNonce []byte exporterSecret []byte seqNum uint128 }
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-22 22:33 - 7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go
if n, err := r.Read(buf); err != io.ErrShortBuffer && n != 1 && bytes.Equal(buf, []byte{0x01}) { t.Fatalf("unexpected: %v %d %v", err, n, buf) } if n, err := r.Read(buf); err != io.ErrShortBuffer && n != 1 && bytes.Equal(buf, []byte{0x02}) { t.Fatalf("unexpected: %v %d %v", err, n, buf) } // read the remaining frame buf = make([]byte, 2) if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) {
Registered: 2024-06-15 01:39 - Last Modified: 2024-05-09 13:33 - 6.3K bytes - Viewed (0) -
src/crypto/aes/aes_gcm.go
//go:noescape func gcmAesInit(productTable *[256]byte, ks []uint32) //go:noescape func gcmAesData(productTable *[256]byte, data []byte, T *[16]byte) //go:noescape func gcmAesEnc(productTable *[256]byte, dst, src []byte, ctr, T *[16]byte, ks []uint32) //go:noescape func gcmAesDec(productTable *[256]byte, dst, src []byte, ctr, T *[16]byte, ks []uint32) //go:noescape
Registered: 2024-06-12 16:32 - Last Modified: 2024-03-27 18:23 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* * @since 10.0 */ public static final byte MAX_POWER_OF_TWO = (byte) 0x80; /** * The largest value that fits into an unsigned byte. * * @since 13.0 */ public static final byte MAX_VALUE = (byte) 0xFF; private static final int UNSIGNED_MASK = 0xFF; /**
Registered: 2024-06-12 16:38 - Last Modified: 2024-06-07 22:25 - 18.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
want: []byte{0x37}, }, { in: FromInt32(-1 - 24), // max negative integer representable in two bytes want: []byte{0x38, 0x18}, }, { in: FromInt32(-1 - math.MaxUint8), // min negative integer representable in two bytes want: []byte{0x38, 0xff}, }, { in: FromInt32(-2 - math.MaxUint8), // max negative integer representable in three bytes want: []byte{0x39, 0x01, 0x00},
Registered: 2024-06-15 01:39 - Last Modified: 2024-05-29 21:48 - 14.3K bytes - Viewed (0) -
src/runtime/memmove_test.go
// BenchmarkIssue18740 ensures that memmove uses 4 and 8 byte load/store to move 4 and 8 bytes. // It used to do 2 2-byte load/stores, which leads to a pipeline stall // when we try to read the result with one 4-byte load. func BenchmarkIssue18740(b *testing.B) { benchmarks := []struct { name string nbyte int f func([]byte) uint64 }{ {"2byte", 2, func(buf []byte) uint64 { return uint64(binary.LittleEndian.Uint16(buf)) }},
Registered: 2024-06-12 16:32 - Last Modified: 2024-03-29 16:41 - 21.2K bytes - Viewed (0) -
src/encoding/asn1/marshal.go
func makeUTF8String(s string) encoder { return stringEncoder(s) } func appendTwoDigits(dst []byte, v int) []byte { return append(dst, byte('0'+(v/10)%10), byte('0'+v%10)) } func appendFourDigits(dst []byte, v int) []byte { return append(dst, byte('0'+(v/1000)%10), byte('0'+(v/100)%10), byte('0'+(v/10)%10), byte('0'+v%10)) } func outsideUTCRange(t time.Time) bool { year := t.Year()
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-23 01:00 - 17.1K bytes - Viewed (0) -
test/fixedbugs/bug385_64.go
var x51 [10<<20]byte var x52 [10<<20]byte var x53 [10<<20]byte var x54 [10<<20]byte var x55 [10<<20]byte var x56 [10<<20]byte var x57 [10<<20]byte var x58 [10<<20]byte var x59 [10<<20]byte var x60 [10<<20]byte var x61 [10<<20]byte var x62 [10<<20]byte var x63 [10<<20]byte var x64 [10<<20]byte var x65 [10<<20]byte var x66 [10<<20]byte var x67 [10<<20]byte var x68 [10<<20]byte var x69 [10<<20]byte
Registered: 2024-06-12 16:32 - Last Modified: 2024-04-09 16:41 - 6.9K bytes - Viewed (0)