- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,453 for byteEq (0.13 sec)
-
src/crypto/subtle/constant_time_test.go
import ( "testing" "testing/quick" ) type TestConstantTimeCompareStruct struct { a, b []byte out int } var testConstantTimeCompareData = []TestConstantTimeCompareStruct{ {[]byte{}, []byte{}, 1}, {[]byte{0x11}, []byte{0x11}, 1}, {[]byte{0x12}, []byte{0x11}, 0}, {[]byte{0x11}, []byte{0x11, 0x12}, 0}, {[]byte{0x11, 0x12}, []byte{0x11}, 0}, } func TestConstantTimeCompare(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 10 03:47:57 UTC 2017 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
} int byte2 = bytes[index++]; if (byte2 > (byte) 0xBF // Overlong? 5 most significant bits must not all be zero. || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) // Check for illegal surrogate codepoints. || (byte1 == (byte) 0xED && (byte) 0xA0 <= byte2) // Third byte trailing-byte test. || bytes[index++] > (byte) 0xBF) { return false;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 10 14:11:51 UTC 2023 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
} int byte2 = bytes[index++]; if (byte2 > (byte) 0xBF // Overlong? 5 most significant bits must not all be zero. || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) // Check for illegal surrogate codepoints. || (byte1 == (byte) 0xED && (byte) 0xA0 <= byte2) // Third byte trailing-byte test. || bytes[index++] > (byte) 0xBF) { return false;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 10 14:11:51 UTC 2023 - 7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go
_ uint64 // 0xc0 St_res05 [16]uint8 // 0xc8 // end of version 2 } type BpxFilestatus struct { Oflag1 byte Oflag2 byte Oflag3 byte Oflag4 byte } type BpxMode struct { Ftype byte Mode1 byte Mode2 byte Mode3 byte } // Thr attribute structure for extended attributes type Bpxyatt_t struct { // DSECT BPXYATT Att_id [4]uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 19.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
* @param arrays zero or more {@code byte} arrays * @return a single array containing all the values from the source arrays, in order */ public static byte[] concat(byte[]... arrays) { int length = 0; for (byte[] array : arrays) { length += array.length; } byte[] result = new byte[length]; int pos = 0; for (byte[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Bytes.java
* @param arrays zero or more {@code byte} arrays * @return a single array containing all the values from the source arrays, in order */ public static byte[] concat(byte[]... arrays) { int length = 0; for (byte[] array : arrays) { length += array.length; } byte[] result = new byte[length]; int pos = 0; for (byte[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
// These will have the same first 4 bytes (all 0). byte[] bytesA = new byte[5]; byte[] bytesB = new byte[5]; // Change only the last (5th) byte bytesA[4] = (byte) 0xbe; bytesB[4] = (byte) 0xef; HashCode hashCodeA = HashCode.fromBytes(bytesA); HashCode hashCodeB = HashCode.fromBytes(bytesB); // They aren't equal...
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.1K bytes - Viewed (0) -
src/runtime/memclr_ppc64x.s
ANDCC $7, R3, R15 BEQ zero512xsetup // at least 8 byte aligned // zero bytes up to 8 byte alignment ANDCC $1, R3, R15 // check for byte alignment BEQ byte2 MOVB R0, 0(R3) // zero 1 byte ADD $1, R3 // bump ptr by 1 ADD $-1, R4 byte2: ANDCC $2, R3, R15 // check for 2 byte alignment BEQ byte4 MOVH R0, 0(R3) // zero 2 bytes ADD $2, R3 // bump ptr by 2 ADD $-2, R4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 16 17:08:59 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/byte.go
limitations under the License. */ package sets // Byte is a set of bytes, implemented via map[byte]struct{} for minimal memory consumption. // // Deprecated: use generic Set instead. // new ways: // s1 := Set[byte]{} // s2 := New[byte]() type Byte map[byte]Empty // NewByte creates a Byte from a list of values. func NewByte(items ...byte) Byte { return Byte(New[byte](items...)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0)