- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for XOR (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
keyIndex %= keyLength // Reassign to prevent overflow breaking counter. // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them // and convert back to byte. val bufferInt: Int = buffer[i].toInt() val keyInt: Int = key[keyIndex].toInt() buffer[i] = (bufferInt xor keyInt).toByte() i++ keyIndex++ } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/s390x.s
ORW $65536, R1 // a51a0001 ORW $-2, R1 // c01dfffffffe XOR R1, R2 // b9820021 XOR R1, R2, R3 // b9e72031 XOR $1, R1 // c01700000001 XOR $131071, R1 // c0170001ffff XOR $65536, R1 // c01700010000 XOR $-2, R1 // c0a1fffffffeb982001a XORW R1, R2 // 1721 XORW R1, R2, R3 // b9f72031
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jul 30 19:29:15 UTC 2025 - 22.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
sink().write(value.toByteArray()) } fun writeLong(v: Long) { val sink = sink() val lengthBitCount: Int = if (v < 0L) { 65 - java.lang.Long.numberOfLeadingZeros(v xor -1L) } else { 65 - java.lang.Long.numberOfLeadingZeros(v) } val lengthByteCount = (lengthBitCount + 7) / 8 for (shift in (lengthByteCount - 1) * 8 downTo 0 step 8) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/riscv64.s
AND $1, X5 // 93f21200 OR X6, X5, X7 // b3e36200 OR X5, X6 // 33635300 OR $1, X5, X6 // 13e31200 OR $1, X5 // 93e21200 XOR X6, X5, X7 // b3c36200 XOR X5, X6 // 33435300 XOR $1, X5, X6 // 13c31200 XOR $1, X5 // 93c21200 AUIPC $0, X10 // 17050000 AUIPC $0, X11 // 97050000 AUIPC $1, X10 // 17150000 AUIPC $-524288, X15 // 97070080
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 14:19:19 UTC 2025 - 49.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
/** Returns a byte string that differs from this one by one bit. */ private fun ByteString.offByOneBit(): ByteString = Buffer() .write(this, 0, size - 1) .writeByte(this[size - 1].toInt() xor 1) .readByteString() private fun date(s: String): Date = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run { timeZone = TimeZone.getTimeZone("GMT") parse(s) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 43.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertEquals(sampleSize, uniqueCounters.size(), "All nonces should have unique values"); // Verify that nonces have good entropy (not predictable) // With SecureRandom + counter XOR, they should all be different Set<String> uniqueNonces = new HashSet<>(); for (byte[] nonce : nonces) { uniqueNonces.add(bytesToHex(nonce)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
cmd/admin-handlers.go
Certs: []madmin.TLSCert{}, } if globalIsTLS { for _, c := range globalPublicCerts { check := xxh3.Hash(c.RawIssuer) check ^= xxh3.Hash(c.RawSubjectPublicKeyInfo) // We XOR, so order doesn't matter. for _, v := range c.DNSNames { check ^= xxh3.HashString(v) } for _, v := range c.EmailAddresses { check ^= xxh3.HashString(v) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
doc/go_spec.html
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0)