- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 81 for 0x1234 (0.07 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
} @Test @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe") void testBasicAccessors() { when(pipe.getPipeType()).thenReturn(0x123456); assertSame(pipe, target.getPipe()); assertEquals(0x123456, target.getPipeType()); assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
void testPrepareWithoutReceivedDoesNotPropagate() { Smb2SessionSetupResponse resp = newResponse(); // Set a sessionId, but do not mark as received via decode resp.setSessionId(0x1234L); CIFSContext mockCtx = mock(CIFSContext.class); when(mockCtx.getConfig()).thenReturn(mock(Configuration.class));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Given - Create a custom implementation BasicFileInformation customImpl = new BasicFileInformation() { @Override public int getAttributes() { return 0x123; } @Override public long getCreateTime() { return 999L; } @Override public long getLastWriteTime() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
switch (il) { case FileSystemInformation.SMB_INFO_ALLOCATION: return 0x1; case FileSystemInformation.FS_SIZE_INFO: return 0x103; } throw new IllegalArgumentException("Unhandled information level"); } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
byte[] expanded = PacMac.expandNFold(data, outlen); assertNotNull(expanded); assertEquals(outlen, expanded.length); // Test vectors from RFC 3961 Appendix A.1 // 64-fold("012345") verifyNfold("012345", 8, new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 }); // 56-fold("password")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
customData[0] = 0x01; customData[1] = 0x02; byte[] machineId = new byte[32]; machineId[0] = 0x10; machineId[1] = 0x11; machineId[2] = 0x12; AvSingleHost avSingleHost = new AvSingleHost(customData, machineId); assertNotNull(avSingleHost); byte[] value = avSingleHost.getRaw(); assertNotNull(value);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
void shouldIdentifyFailedStates() { // Failed states: 5=disconnecting, 6=disconnected/invalid int[] failedStates = { 5, 6 }; int[] nonFailedStates = { 0, 1, 2, 3, 4 }; for (int state : failedStates) { transport.setState(state); assertTrue(transport.isFailed(), "State " + state + " should be failed"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertEquals(0, hash.length); } // Test that changing lmCompatibility at runtime doesn't affect already loaded static value @ParameterizedTest @ValueSource(strings = { "0", "1", "2", "3", "4", "5" }) void testLmCompatibilityStaticInitialization(String lmCompatibility) { // Attempt to change the property (won't affect static final LM_COMPATIBILITY)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[3] = 0x00; // Size high byte testBuffer[4] = (byte) 0xA9; // Access mask byte 0 testBuffer[5] = 0x00; // Access mask byte 1 testBuffer[6] = 0x12; // Access mask byte 2 testBuffer[7] = 0x00; // Access mask byte 3 // Add minimal SID data (S-1-1-0 - Everyone) testBuffer[8] = 0x01; // Revision testBuffer[9] = 0x01; // Sub-authority count
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0)