- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 158 for Getsid (0.13 seconds)
-
src/test/java/jcifs/ConfigurationTest.java
mockConfig.getCapabilities(); mockConfig.getFlags2(); mockConfig.getSessionLimit(); mockConfig.getOemEncoding(); mockConfig.getLocalTimezone(); mockConfig.getPid(); mockConfig.getMaxMpxCount(); mockConfig.isSigningEnabled(); mockConfig.isIpcSigningEnforced(); mockConfig.isSigningEnforced(); mockConfig.isEncryptionEnabled();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/TreeConnectResponse.java
*/ public interface TreeConnectResponse extends CommonServerMessageBlockResponse { /** * Returns the tree identifier (TID) assigned to this tree connection. * * @return tree id */ int getTid(); /** * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe). * * @return service */ String getService(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testGetTid() { // Given when(mockResponse.getTid()).thenReturn(12345); // When int tid = mockResponse.getTid(); // Then assertEquals(12345, tid, "Should return the configured tree ID"); verify(mockResponse).getTid(); } @Test @DisplayName("Should return service type")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (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]; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(handle.ensureOpen()).thenReturn(fd); when(fd.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(config); when(config.getPid()).thenReturn(1234); // Stub send to populate the provided response instance via reflection Mockito.doAnswer(inv -> { Object resp = inv.getArgument(1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
@Mock private Configuration mockConfig; private SmbComSetInformationResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Response.java
*/ int getErrorCode(); /** * Sets the message ID. * * @param k the message ID to set */ void setMid(long k); /** * Gets the message ID. * * @return mid */ long getMid(); /** * Verifies the signature of this response. * * @param buffer the buffer containing the signature dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
*/ public final byte getOplockLevel() { return this.oplockLevel; } /** * Gets the file identifier. * * @return the fid */ public final int getFid() { return this.fid; } /** * Gets the create action taken. * * @return the createAction */ public final int getCreateAction() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
return resp.getOutputLength(); } if (this.transact) { final TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length); final TransTransactNamedPipeResponse resp = new TransTransactNamedPipeResponse(th.getConfig(), inB);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0)