- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 355 for getcwd (0.05 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test configuration usage") void testConfigurationUsage() { // Verify configuration is used - getPid() is called in parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test transaction response with different commands") void testTransactionResponseWithDifferentCommands() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("getRid throws for domain SIDs") void testGetRidForDomainThrows() { byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; SID domain = new SID(buildSidT((byte) 1, ident, 10, 20), jcifs.SID.SID_TYPE_DOMAIN, "DOM", null, false); IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, domain::getRid);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
rpcSid.sub_authority = new int[] { 21, 123, 456, 789, 1000 }; SID userSid = new SID(rpcSid, SID.SID_TYPE_USER, "MYDOMAIN", "user", false); assertEquals(1000, userSid.getRid()); } /** * Test getting the RID from a domain SID. * * @throws SmbException if the SID string is invalid */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
th.getConfig().getListSize() - FIND_OVERHEAD), this.response); this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(), this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD); } catch (final SmbException e) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertNotNull(testConfig.getRandom()); assertNotNull(testConfig.getLocalTimezone()); // Check PID is set assertTrue(testConfig.getPid() >= 0); assertTrue(testConfig.getPid() < 65536); // Check machine ID assertNotNull(testConfig.getMachineId()); assertEquals(32, testConfig.getMachineId().length); // Check native OS
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
} @Override public void setResponse(CommonServerMessageBlockResponse msg) { this.response = (TestResponse) msg; } @Override public long getMid() { return mid; } @Override public void setMid(long mid) { this.mid = mid; } @Override public int getCommand() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
len -= cnt; off += cnt; } else if (this.useNTSmbs) { this.reqx.setParam(fh.getFid(), this.fp, len - w, b, off, w); if ((flags & 1) != 0) { this.reqx.setParam(fh.getFid(), this.fp, len, b, off, w); this.reqx.setWriteMode(0x8); } else {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
when(tree.isConnected()).thenReturn(true); assertTrue(h.isValid()); h.markClosed(); assertFalse(h.isValid()); } @Test @DisplayName("getFid/getFileId throw SmbException when invalid") void getters_throw_whenInvalid() { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(1L, true, true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
assertNotNull(cancelRequest); assertTrue(cancelRequest instanceof SmbComNtCancel); // Verify the cancel request has the correct MID assertEquals(12345, cancelRequest.getMid()); } @Test @DisplayName("Test writeParameterWordsWireFormat for primary NT transaction") void testWriteParameterWordsWireFormatPrimary() { byte[] dst = new byte[256];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
this.largeFile = largeFile; } /** * Returns the process ID associated with this lock range. * * @return the process ID */ public int getPid() { return this.pid; } /** * Returns the starting byte offset of the lock range. * * @return the starting byte offset */ public long getByteOffset() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0)