- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 6,831 for byte (0.07 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/secretbox/secretbox_test.go
value.PrefixTransformer{Prefix: []byte("first:"), Transformer: NewSecretboxTransformer(key1)}, value.PrefixTransformer{Prefix: []byte("second:"), Transformer: NewSecretboxTransformer(key2)}, ) out, err := p.TransformToStorage(ctx, []byte("firstvalue"), dataCtx) if err != nil { t.Fatal(err) } if !bytes.HasPrefix(out, []byte("first:")) { t.Fatalf("unexpected prefix: %q", out) }
Registered: 2024-06-15 01:39 - Last Modified: 2022-02-17 16:31 - 6.8K bytes - Viewed (0) -
src/crypto/internal/boring/notboring.go
func NewSHA512() hash.Hash { panic("boringcrypto: not available") } func SHA1([]byte) [20]byte { panic("boringcrypto: not available") } func SHA224([]byte) [28]byte { panic("boringcrypto: not available") } func SHA256([]byte) [32]byte { panic("boringcrypto: not available") } func SHA384([]byte) [48]byte { panic("boringcrypto: not available") } func SHA512([]byte) [64]byte { panic("boringcrypto: not available") }
Registered: 2024-06-12 16:32 - Last Modified: 2024-01-26 22:52 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
* @param context The local security context. */ public void setContext(byte[] context) { this.context = context; } public byte[] toByteArray() { try { String targetName = getTarget(); byte[] challenge = getChallenge(); byte[] context = getContext(); byte[] targetInformation = getTargetInformation(); int flags = getFlags();
Registered: 2024-06-12 15:45 - Last Modified: 2019-03-22 20:39 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* {@link Byte#MAX_VALUE} if it is too large, or {@link Byte#MIN_VALUE} if it is too small */ public static byte saturatedCast(long value) { if (value > Byte.MAX_VALUE) { return Byte.MAX_VALUE; } if (value < Byte.MIN_VALUE) { return Byte.MIN_VALUE; } return (byte) value; } /**
Registered: 2024-06-12 16:38 - Last Modified: 2021-04-22 13:09 - 7.5K 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/debug/gosym/testdata/pclinetest.s
BYTE $1; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0;...
Registered: 2024-06-12 16:32 - Last Modified: 2018-11-12 20:27 - 10K 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)