- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 329 for 0xff (0.01 sec)
-
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
assertTrue(messageBytes.length >= 12); // Message type should be 1 (little endian) assertEquals(1, messageBytes[8] & 0xFF); assertEquals(0, messageBytes[9] & 0xFF); assertEquals(0, messageBytes[10] & 0xFF); assertEquals(0, messageBytes[11] & 0xFF); } @Test @DisplayName("Should handle Unicode negotiation flag") void testUnicodeNegotiation() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
int length = testBlock.encode(buffer, 0); assertTrue(length > 0); assertEquals(length, testBlock.getLength()); // SMB_HEADER is {0xFF, 'S', 'M', 'B'} byte[] expectedHeader = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B' }; assertArrayEquals(expectedHeader, java.util.Arrays.copyOfRange(buffer, 0, 4)); assertEquals(0, buffer[SmbConstants.CMD_OFFSET]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Arrange context = new EncryptionNegotiateContext(); byte[] buffer = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // Padding 0x02, 0x00, // 2 ciphers 0x01, 0x00, // AES128_CCM 0x02, 0x00 // AES128_GCM }; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
int readIndex = (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 4] & 0xFF) | ((buffer[Smb2Constants.SMB2_HEADER_LENGTH + 5] & 0xFF) << 8) | ((buffer[Smb2Constants.SMB2_HEADER_LENGTH + 6] & 0xFF) << 16) | ((buffer[Smb2Constants.SMB2_HEADER_LENGTH + 7] & 0xFF) << 24); assertEquals(fileIndex, readIndex); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K 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) -
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/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/smb/PreauthIntegrityServiceTest.java
public void testSupportedHashAlgorithms() { assertTrue(preauthService.isHashAlgorithmSupported(PreauthIntegrityService.HASH_ALGO_SHA512)); assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported int[] supported = preauthService.getSupportedHashAlgorithms(); assertNotNull(supported); assertEquals(1, supported.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
cmd/erasure-sets_test.go
{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35}, {"SHØRT", 49}, {"There are far too many object names, and far too few bucket names!", 8}, {"a/b/c/", 159}, {"/a/b/c", 96}, {string([]byte{0xff, 0xfe, 0xfd}), 147}, } // Tests hashing order to be consistent. for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0)