- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for XOR (0.27 sec)
-
okhttp/src/main/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++ } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.8K 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) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K 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 { return Buffer() .write(this, 0, size - 1) .writeByte(this[size - 1].toInt() xor 1) .readByteString() } private fun date(s: String): Date { return SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run { timeZone = TimeZone.getTimeZone("GMT") parse(s) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 43.9K bytes - Viewed (0) -
api/go1.txt
pkg go/token, const SUB_ASSIGN Token pkg go/token, const SWITCH Token pkg go/token, const TYPE Token pkg go/token, const UnaryPrec ideal-int pkg go/token, const VAR Token pkg go/token, const XOR Token pkg go/token, const XOR_ASSIGN Token pkg go/token, func Lookup(string) Token pkg go/token, func NewFileSet() *FileSet pkg go/token, method (*File) AddLine(int) pkg go/token, method (*File) AddLineInfo(int, string, int)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (2) -
RELEASE.md
* Added 8-bit and 16-bit support for `floor_div` and `floor_mod`. * Added 16-bit and 32-bit int support for the built-in op `bitcast`. * Added 8-bit/16-bit/32-bit int/uint support for the built-in op `bitwise_xor` * Added int16 indices support for built-in op `gather` and `gather_nd`. * Added 8-bit/16-bit/32-bit int/uint support for the built-in op `right_shift`
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8) -
api/go1.1.txt
pkg go/token, const SUB_ASSIGN = 24 pkg go/token, const SWITCH = 83 pkg go/token, const TYPE = 84 pkg go/token, const UnaryPrec = 6 pkg go/token, const VAR = 85 pkg go/token, const XOR = 19 pkg go/token, const XOR_ASSIGN = 30 pkg hash/adler32, const Size = 4 pkg hash/crc32, const Castagnoli = 2197175160 pkg hash/crc32, const IEEE = 3988292384 pkg hash/crc32, const Koopman = 3945912366
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0)