- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 284 for 0xE0 (0.18 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
*/ @Test void testConstructor_CreateAndFailIfExists() { int flags = SmbFile.O_CREAT | SmbFile.O_EXCL; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS } /** * Test constructor with O_CREAT flag. */ @Test void testConstructor_CreateAndOpen() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
} /** * Test constructor with a malformed ASN.1 token. */ @Test void testConstructor_MalformedToken() { // 1. GIVEN byte[] malformedToken = new byte[] { 0x00, 0x01, 0x02, 0x03 }; // Not a valid ASN.1 sequence Map<Integer, KerberosKey> keys = new HashMap<>(); // 2. WHEN & 3. THEN PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
byte[] expected = new byte[1 + dirName.length() + 1]; expected[0] = 0x04; // buffer format System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length()); expected[dirName.length() + 1] = 0x00; // null terminator byte[] dst = new byte[100]; int len = sdd.writeBytesWireFormat(dst, 0); assertEquals(expected.length, len); byte[] result = new byte[len];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
// session service error codes /** Connection refused by the remote host */ public static final int CONNECTION_REFUSED = -1; /** Not listening on the called name */ public static final int NOT_LISTENING_CALLED = 0x80; /** Not listening for the calling name */ public static final int NOT_LISTENING_CALLING = 0x81; /** Called name not present */ public static final int CALLED_NOT_PRESENT = 0x82;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
} off -= 4; b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE; b[off + 1] = (byte) 0x00; b[off + 2] = (byte) (len >> 8 & 0xFF); b[off + 3] = (byte) (len & 0xFF); out.write(b, off, 4 + len); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Then assertEquals(2, bytesWritten); assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]); assertEquals((byte) 0x00, dst[1]); } @Test @DisplayName("writeSetupWireFormat should handle different buffer positions") void testWriteSetupWireFormatWithOffset() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// When/Then - Should throw UnknownHostException quickly UnknownHostException exception = assertThrows(UnknownHostException.class, () -> { nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL", 0x20, null); }, "Should throw UnknownHostException for non-existent NetBIOS name with type"); // Verify the exception message indicates name resolution failureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/main/java/jcifs/smb/compression/CompressionService.java
*/ public interface CompressionService { /** * Compression algorithm constants matching SMB3 specification. */ public static final int COMPRESSION_NONE = 0x0; public static final int COMPRESSION_LZ77 = 0x1; public static final int COMPRESSION_LZ77_HUFFMAN = 0x2; public static final int COMPRESSION_LZNT1 = 0x3; public static final int COMPRESSION_PATTERN_V1 = 0x4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals(8, getFieldValue(netServerEnum2, "maxParameterCount")); assertEquals(16384, getFieldValue(netServerEnum2, "maxDataCount")); assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount")); assertEquals(0, getFieldValue(netServerEnum2, "setupCount")); assertEquals(5000, getFieldValue(netServerEnum2, "timeout")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0)