- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 149 for Gettid (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
when(mockConfig.getPid()).thenReturn(1234); // When smbComTreeDisconnect = new SmbComTreeDisconnect(mockConfig); // Then assertNotNull(smbComTreeDisconnect); assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, smbComTreeDisconnect.getCommand()); verify(mockConfig).getPid(); // Verify getPid was called } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
return ((SrvPipePeekResponse) resp.getOutputData()).getReadDataAvailable(); } final TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid()); final TransPeekNamedPipeResponse resp = new TransPeekNamedPipeResponse(th.getConfig()); th.send(req, resp, RequestParam.NO_RETRY);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlock.java
/** * Gets the message ID. * * @return the message id */ long getMid(); /** * Sets the message ID. * * @param mid the message ID to set */ void setMid(long mid); /** * Gets the SMB command. * * @return the command */ int getCommand(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
} /* * NtTrans Notify Change Request / Response */ req = new NtTransNotifyChange(th.getConfig(), this.handle.getFid(), this.filter, this.recursive); resp = new NtTransNotifyChangeResponse(th.getConfig()); } if (log.isTraceEnabled()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Test at various positions in the buffer int[] positions = { 0, 10, 50, 100, 150 }; for (int pos : positions) { when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response // Fill buffer at position for (int i = 0; i < 37; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
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/main/java/jcifs/smb/SmbFileInputStream.java
continue; } // SMB1 path with optimization final SmbComReadAndX request = new SmbComReadAndX(th.getConfig(), fd.getFid(), this.fp, r, null); if (type == SmbConstants.TYPE_NAMED_PIPE) { // Use fixed 1024 values for named pipes request.setMinCount(1024);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
seekReq.setMode(0x2); // from EOF final SmbComSeekResponse seekResp = new SmbComSeekResponse(config); seekReq.setFid(response.getFid()); try { h.send(seekReq, seekResp); if (log.isDebugEnabled() && seekResp.getOffset() != fileSize) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
} /** * Get the RID * * This is the last subauthority identifier * * @return the RID */ @Override public int getRid() { if (getType() == SID_TYPE_DOMAIN) { throw new IllegalArgumentException("This SID is a domain sid"); } return this.sub_authority[this.sub_authority_count - 1]; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K 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)