- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 174 for GetConfig (0.06 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
Arrays.fill(testFileId, (byte) 0xAB); // Use lenient stubbing for default configuration values lenient().when(mockConfig.getNotifyBufferSize()).thenReturn(8192); lenient().when(mockContext.getConfig()).thenReturn(mockConfig); request = new Smb2ChangeNotifyRequest(mockConfig, testFileId); } @Test @DisplayName("Should create request with configuration and file ID")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
private Address address; @Mock private Smb2NegotiateResponse negotiateResponse; private SmbTransportImpl transport; @BeforeEach void setUp() throws Exception { when(context.getConfig()).thenReturn(config); when(config.isSigningEnforced()).thenReturn(false); when(config.getSessionTimeout()).thenReturn(30_000); when(config.getResponseTimeout()).thenReturn(5_000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
} @Override protected Smb2IoctlResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2IoctlResponse> req) { return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode); } /** * Set the IOCTL flags * @param flags the flags to set */ public void setFlags(final int flags) { this.flags = flags;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@Mock private NetbiosAddress mockLocalHost; @BeforeEach void setUp() { // Setup mock context with lenient stubbing to avoid UnnecessaryStubbingException lenient().when(mockContext.getConfig()).thenReturn(mockConfig); lenient().when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockLocalHost);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
final Map<String, Object> newDataMap = new LinkedHashMap<>(); for (final Map.Entry<String, Object> e : dataMap.entrySet()) { if (fieldConfigs.getConfig(e.getKey()).map(FieldConfigs.Config::isOverwrite).orElse(false) && e.getValue() instanceof final Object[] values && values.length > 0) { newDataMap.put(e.getKey(), values[values.length - 1]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
*/ @Override protected Smb2NegotiateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2NegotiateResponse> req) { return new Smb2NegotiateResponse(tc.getConfig()); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
*/ @Override public SmbComNTCreateAndXResponse initResponse(final CIFSContext tc) { final SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(tc.getConfig()); setResponse(resp); return resp; } /** * Adds flags to the flags0 field. * * @param fl * the flags0 to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
when(mockConfig.getTransactionBufferSize()).thenReturn(65536); when(mockConfig.getReceiveBufferSize()).thenReturn(65536); when(mockConfig.getSendBufferSize()).thenReturn(65536); when(mockContext.getConfig()).thenReturn(mockConfig); } @Test @DisplayName("Should create response with configuration") void testConstructor() { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
directoryCache.put(directoryPath, cacheEntry); leaseToPath.put(leaseKey, directoryPath); // Start change notification if enabled Configuration config = context.getConfig(); if (isDirectoryNotificationsEnabled(config)) { changeNotifier.startWatching(directoryPath, leaseKey); } return leaseKey; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
when(pipe.getPipeType()).thenReturn(SmbPipeResource.PIPE_TYPE_RDWR); when(pipe.getUncPath()).thenReturn("\\\\pipe\\\\my-pipe"); // Setup tree with configuration when(tree.getConfig()).thenReturn(config); when(tree.getSendBufferSize()).thenReturn(65536); when(config.getPid()).thenReturn(12345); when(config.getSendBufferSize()).thenReturn(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0)