- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 324 for 0x02 (0.05 seconds)
-
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.init(filterConfig); // Test NTLM Type 1 message handling byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 }; String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message)); when(request.getHeader("Authorization")).thenReturn(authHeader);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacMacTest.java
new byte[] { (byte) 0xbb, (byte) 0x6e, (byte) 0xd3, (byte) 0x08, (byte) 0x70, (byte) 0xb7, (byte) 0xf0, (byte) 0xe0 }); // 64-fold("kerberos") verifyNfold("kerberos", 8, new byte[] { (byte) 0x6b, (byte) 0x65, (byte) 0x72, (byte) 0x62, (byte) 0x65, (byte) 0x72, (byte) 0x6f, (byte) 0x73 }); } /** * Helper method to verify n-fold expansion.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Name.java
this.scope = scope != null && scope.length() > 0 ? scope : DEFAULT_SCOPE; this.srcHashCode = 0; } int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte dst[dstIndex] = 0x20; // write name try { final byte tmp[] = name.getBytes(Name.OEM_ENCODING); int i; for (i = 0; i < tmp.length; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
Name name1 = new Name(mockConfig, "TEST", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST", 0x20, "scope"); assertTrue(name1.equals(name2)); } @Test void equals_withDifferentName_shouldReturnFalse() { Name name1 = new Name(mockConfig, "TEST1", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST2", 0x20, "scope"); assertFalse(name1.equals(name2));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
assertEquals(34, bytesRead); // Assert that the serverData fields are populated correctly assertEquals(0, response.dialectIndex); assertEquals(0x0F, serverData.securityMode); assertEquals(0x01, serverData.security); assertTrue(serverData.encryptedPasswords); assertTrue(serverData.signaturesEnabled); assertTrue(serverData.signaturesRequired);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int written = trans2SetFileInfo.writeSetupWireFormat(buffer, 0); // Should write 2 bytes: subcommand and 0x00 assertEquals(2, written); assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); } @Test @DisplayName("Test writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // NextCommand (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // MessageId (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Reserved / AsyncId (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // TreeId / AsyncIdCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
tests/test_include_router_defaults_overrides.py
"content": {"application/x-level-3": {"schema": {}}}, }, "400": {"description": "Client error level 0"}, "402": {"description": "Client error level 2"}, "403": {"description": "Client error level 3"}, "422": {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 385.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (16384) assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2)); // Verify serverTypes
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
*/ @Test void testReadParameterWordsWireFormat() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10 int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer. assertEquals(10L, response.count);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0)