- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 870 for contexts (0.1 sec)
-
docs/smb3-features/05-rdma-smb-direct-design.md
// Test that we properly fall back to TCP when RDMA is not available CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); context.getConfig().setProperty("jcifs.smb.client.rdmaProvider", "nonexistent"); SmbFile file = new SmbFile("smb://server/share/test.txt", context); // Should work even if RDMA provider is not available
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java
} /** * Converts a Lucene BooleanQuery to an OpenSearch BoolQueryBuilder. * @param context The query context. * @param booleanQuery The boolean query to convert. * @param boost The boost factor to apply. * @return The converted BoolQueryBuilder. */ protected QueryBuilder convertBooleanQuery(final QueryContext context, final BooleanQuery booleanQuery, final float boost) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
String content = "#INCLUDE \\\\server\\share\\lmhosts\n" + "192.168.1.100 MAINHOST\n"; // Mock SmbFileInputStream to simulate include file try (MockedConstruction<SmbFileInputStream> mockedConstruction = Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> { // Mock the read method to return simple content
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
@Test @DisplayName("Should encode context correctly") void testEncode() { byte[] buffer = new byte[leaseContext.size()]; int encoded = leaseContext.encode(buffer, 0); assertEquals(leaseContext.size(), encoded); // Verify context header structure according to MS-SMB2 // Next field (4 bytes) - should be 0 for last/single context assertEquals(0, SMBUtil.readInt4(buffer, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
private final CIFSContext context; private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock(); private volatile boolean shutdown = false; /** * Create a new persistent handle manager * @param context the CIFS context */ public PersistentHandleManager(CIFSContext context) { this.context = context; this.handles = new ConcurrentHashMap<>();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
private final ConcurrentHashMap<String, Smb2LeaseKey> pathToLease; private final ReadWriteLock lock; private final CIFSContext context; public LeaseManager(CIFSContext context) { this.context = context; this.leases = new ConcurrentHashMap<>(); this.pathToLease = new ConcurrentHashMap<>(); this.lock = new ReentrantReadWriteLock(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/smb/AuthenticationProvider.java
AuthType getAuthType(); /** * Authenticates using the provided context * * @param context the CIFS context * @param challenge the server challenge (may be null for some auth types) * @return authentication response data * @throws CIFSException if authentication fails */ byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.util.SMBUtil; /** * SMB2 Lease V2 Create Context Response * * MS-SMB2 2.2.14.2.11 */ public class LeaseV2CreateContextResponse implements CreateContextResponse { /** * Context name for lease V2 response */ public static final String CONTEXT_NAME = "RqL2";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Encryption Negotiate Context. * * This negotiate context is used in SMB 3.x to negotiate * encryption capabilities and cipher suites. * * @author mbechler */ public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse { /** * Context type */ public static final int NEGO_CTX_ENC_TYPE = 0x2; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
*/ protected void write(final String path, final byte[] data) { LdiFileUtil.write(path, data); } /** * Gets the servlet context. * * @return the servlet context */ protected ServletContext getServletContext() { return LaServletContextUtil.getServletContext(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.1K bytes - Viewed (0)