- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,007 for construction (2.16 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals('W', asciiBytes[10]); assertEquals('z', asciiBytes[11]); assertEquals(0, asciiBytes[12]); // null character } @Test @DisplayName("Test field values after construction") void testFieldValuesAfterConstruction() { netShareEnum = new NetShareEnum(realConfig); // Test all important fields assertEquals("\\PIPE\\LANMAN", getFieldValue(netShareEnum, "name"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
// Test that SuggestUtil has a private constructor to prevent instantiation Constructor<SuggestUtil> constructor = SuggestUtil.class.getDeclaredConstructor(); assertTrue(Modifier.isPrivate(constructor.getModifiers())); // Make it accessible to test it throws no exception constructor.setAccessible(true); constructor.newInstance(); } @TestRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals(0x400000, Smb2CreateRequest.FILE_NOP_RECALL); assertEquals(0x800000, Smb2CreateRequest.FILE_OPEN_FOR_FREE_SPACE_QUERY); } @Test @DisplayName("Test default values after construction") void testDefaultValues() { request = new Smb2CreateRequest(mockConfig, "test.txt"); byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
} @Test @DisplayName("getInput/getOutput return cached streams when open; throw when closed") void getInputOutput_caching_and_closed() throws Exception { // Arrange: minimal stubs so stream construction works SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo"); when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
void testNullPath() { // When creating with null path Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null); // Then - should not throw during construction assertNotNull(reqWithNull); // But should throw when trying to use the null path assertThrows(NullPointerException.class, () -> { reqWithNull.size(); }); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
}); } /** * Test TTL with different constructor types */ @Test @DisplayName("Test TTL functionality works with all constructor types") public void testTTLWithDifferentConstructors() { // Test with String password constructor NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("user", "StringPass123!");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
protected Cache<String, CrawlingConfig> crawlingConfigCache; /** * Initializes the CrawlingConfigHelper by setting up the crawling configuration cache. * This method is called automatically after the bean construction is complete. * The cache is configured with a maximum size of 100 entries and expires after 10 minutes. */ @PostConstruct public void init() { if (logger.isDebugEnabled()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
*/ protected int splitHashSize = 10; /** * Default constructor for ThumbnailManager. */ public ThumbnailManager() { // Default constructor } /** * Initializes the thumbnail manager after construction. * Sets up base directory and starts background processing. */ @PostConstruct public void init() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
* It handles query construction, role-based access control, boost functions, sorting, and search preferences. * This class serves as the central component for translating user search requests into properly formatted * OpenSearch queries with appropriate filters and scoring mechanisms. */ public class QueryHelper { /** * Default constructor. */ public QueryHelper() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java
import org.opensearch.transport.client.Client; /** * Builder class for constructing {@link SuggestRequest} instances. * This builder provides methods to set various parameters for the suggest request. */ public class SuggestRequestBuilder extends RequestBuilder<SuggestRequest, SuggestResponse> { /** * Constructor for SuggestRequestBuilder. * @param client The OpenSearch client.Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.8K bytes - Viewed (0)