- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 284 for 0xFF (0.01 sec)
-
src/main/java/org/codelibs/core/misc/Base64Util.java
} private static void encode(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) { final int i = ((inData[inIndex] & 0xff) << 16) + ((inData[inIndex + 1] & 0xff) << 8) + (inData[inIndex + 2] & 0xff); outData[outIndex] = ENCODE_TABLE[i >> 18]; outData[outIndex + 1] = ENCODE_TABLE[i >> 12 & 0x3f]; outData[outIndex + 2] = ENCODE_TABLE[i >> 6 & 0x3f];
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
val tagClass = tagAndClass and 0b1100_0000 val constructed = (tagAndClass and 0b0010_0000) == 0b0010_0000 val tag = when (val tag0 = tagAndClass and 0b0001_1111) { 0b0001_1111 -> readVariableLengthLong() else -> tag0.toLong() } // Read the length. val length0 = source.readByte().toInt() and 0xff val length = when {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
offset += 8; SMBUtil.writeInt8(maxLong, buffer, offset); offset += 8; SMBUtil.writeInt4(maxInt, buffer, offset); offset += 4; buffer[offset++] = (byte) 0xFF; buffer[offset++] = (byte) 0xFF; // Decode int bytesDecoded = fileStandardInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(22, bytesDecoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
h ^= fingerprint(buf, bufLen); h = remix(h); buf[bufLen++] = getChar(h); int x0 = buf[bufLen - 1] & 0xff; int x1 = buf[bufLen - 2] & 0xff; int x2 = buf[bufLen - 3] & 0xff; int x3 = buf[bufLen / 2] & 0xff; buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3; buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
byte[] buffer = new byte[32]; // Set large values to test 64-bit arithmetic buffer[0] = (byte) 0xFF; buffer[1] = (byte) 0xFF; // Large alloc buffer[24] = (byte) 0xFF; // Large sectPerAlloc buffer[28] = (byte) 0xFF; buffer[29] = (byte) 0xFF; // Large bytesPerSect int bytesDecoded = fileFsFullSizeInfo.decode(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should handle maximum values correctly") void testMaximumValues() { request.setPadding((byte) 0xFF); request.setReadFlags((byte) 0xFF); request.setReadLength(Integer.MAX_VALUE); request.setOffset(Long.MAX_VALUE); request.setMinimumCount(Integer.MAX_VALUE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
bufferIndex += 8; info.numberOfLinks = readInt4(buffer, bufferIndex); bufferIndex += 4; info.deletePending = (buffer[bufferIndex] & 0xFF) > 0; bufferIndex++; info.directory = (buffer[bufferIndex++] & 0xFF) > 0; this.info = info; return bufferIndex - start; } int readSmbQueryFileBasicInfoWireFormat(final byte[] buffer, int bufferIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/RC4.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
assertEquals(25, SMBUtil.readInt2(buffer, bodyOffset)); // Flags (VcNumber) and SecurityMode assertEquals(0x01, buffer[bodyOffset + 2] & 0xFF); // Session binding flag assertEquals(securityMode, buffer[bodyOffset + 3] & 0xFF); // Capabilities assertEquals(capabilities, SMBUtil.readInt4(buffer, bodyOffset + 4)); // Channel
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator"); assertEquals(0x04, buffer[0] & 0xFF, "First byte must be SMB_COM_QUERY_INFORMATION type 0x04"); // Verify that the string part ends with the null terminator assertArrayEquals(expectedString, subArray(buffer, 1, expectedString.length));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)