- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 174 for GetConfig (0.04 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
void testConstructorWithConfig() { TestServerMessageBlock2Request request = new TestServerMessageBlock2Request(mockConfig); assertNotNull(request); assertEquals(mockConfig, request.getConfig()); } @Test @DisplayName("Should create request with configuration and command") void testConstructorWithConfigAndCommand() { int command = SMB2_NEGOTIATE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); when(mockConfig.getListSize()).thenReturn(65536); when(mockContext.getConfig()).thenReturn(mockConfig); } @Test @DisplayName("Test constructor with configuration only") void testConstructorWithConfig() { request = new Smb2QueryDirectoryRequest(mockConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java
} @Override protected Smb2LogoffResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2LogoffResponse> req) { return new Smb2LogoffResponse(tc.getConfig()); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java
super(config, SMB2_ECHO); } @Override protected Smb2EchoResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2EchoResponse> req) { return new Smb2EchoResponse(tc.getConfig()); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
private Smb2LeaseKey leaseKey; private int leaseState; private LeaseManager leaseManager; protected void doConnect() throws IOException { // ... existing connection logic ... if (context.getConfig().isUseLeases() && tree.getSession().supports(SMB3_0)) { // Request lease when opening file leaseManager = tree.getSession().getLeaseManager(); int requestedState = isDirectory() ?
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
```java @Test public void testMultiChannelThroughput() throws Exception { // Requires multi-NIC test environment CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true"); context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4"); SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
this.digest = Crypto.getMD5(); try { final byte[] serverEncryptionKey = transport.getServerEncryptionKey(); switch (transport.getContext().getConfig().getLanManCompatibility()) { case 0: case 1: case 2: this.macSigningKey = new byte[40];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
this.fileId = fileId; } @Override protected Smb2FlushResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2FlushResponse> req) { return new Smb2FlushResponse(tc.getConfig()); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[]) */ @Override public void setFileId(final byte[] fileId) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
log.debug("Unknown host", uhe); if (this.ctx.getConfig().getDefaultDomain() == null) { throw uhe; } this.addresses = this.ctx.getNameServiceClient().getAllByName(this.ctx.getConfig().getDefaultDomain(), true); } } else if (path.length() == 0 || path.equals("/")) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } static FileEntry[] doNetShareEnum(final SmbTreeHandleImpl th) throws CIFSException { final SmbComTransaction req = new NetShareEnum(th.getConfig()); final SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig()); th.send(req, resp); if (resp.getStatus() != WinError.ERROR_SUCCESS) { throw new SmbException(resp.getStatus(), true); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0)