- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 303 for 0xf0 (0.15 seconds)
-
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
} /** * LSA close handle message. */ public static class LsarClose extends DcerpcMessage { @Override public int getOpnum() { return 0x00; } /** Return value from the RPC call. */ public int retval; /** Policy handle to be closed. */ public rpc.policy_handle handle; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (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, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
*/ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
subCommand = NET_SERVER_ENUM2; // not really true be used by upper logic name = "\\PIPE\\LANMAN"; maxParameterCount = 8; maxDataCount = 16384; maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override void reset(final int key, final String lastName) { super.reset(); this.lastName = lastName; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.6K bytes - Click Count (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
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/dcerpc/ndr/NdrShortTest.java
void constructorMasksValue(int input) { NdrShort ns = new NdrShort(input); // NdrShort masks to 0xFF (8 bits) in its constructor int expected = input & 0xFF; assertEquals(expected, ns.value, "value should be masked to 0xFF before storing"); } /** * Round-trip encode/decode for a selection of representative values. */ @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (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 failureCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
} @Test void testShareEnumAllGetOpnum() { srvsvc.ShareEnumAll enumAll = new srvsvc.ShareEnumAll(null, 0, null, 0, 0, 0); assertEquals(0x0f, enumAll.getOpnum()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0)