- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 481 for initializer (0.19 sec)
-
src/test/java/jcifs/smb/DosFileFilterTest.java
// Basic setup, specific filter attributes will be set in each test } /** * Tests the constructor of DosFileFilter. * This test ensures that the constructor runs without errors and correctly initializes the object. * The wildcard parameter is stored but its filtering logic is handled server-side, * so we only verify its acceptance here. */ @Test void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
private static class TestFessConfig extends FessConfig.SimpleImpl { private static final long serialVersionUID = 1L; public TestFessConfig() { super(); // Initialize the properties to avoid NullPointerException try { java.lang.reflect.Field propField = org.lastaflute.core.direction.ObjectiveConfig.class.getDeclaredField("prop");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
crawlingConfigHelperField.setAccessible(true); crawlingConfigHelperField.set(null, null); } catch (Exception e) { // Ignore } // Initialize test helpers systemHelper = new TestSystemHelper(); indexingHelper = new TestIndexingHelper(); crawlingInfoHelper = new TestCrawlingInfoHelper(); searchLogHelper = new TestSearchLogHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
*/ public CustomSizeValidator() { // Empty constructor } private int min = 0; private int max = Integer.MAX_VALUE; private String message; @Override public void initialize(final CustomSize constraintAnnotation) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String minKey = constraintAnnotation.minKey(); if (StringUtil.isNotBlank(minKey)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
// Any result is acceptable as long as no unexpected exception assertNotNull(result); } catch (Exception e) { // Expected behavior when components are not fully initialized Throwable cause = e.getCause(); assertNotNull(cause); } } catch (Exception e) { // Test setup exception is acceptable assertNotNull(e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/DeleteForm.java
* Contains query and document ID fields for targeted document deletion. */ public class DeleteForm { /** * Creates a new instance of DeleteForm. * This constructor initializes the form for deleting documents from search results * in the admin interface with validation rules for query and document identification. */ public DeleteForm() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java
private int preferredSendSize; private int maxReceiveSize; private int maxFragmentedSize; /** * Create new RDMA negotiation request */ public RdmaNegotiateRequest() { // Initialize with default values this.minVersion = 0x0100; // SMB Direct 1.0 this.maxVersion = 0x0100; // SMB Direct 1.0 this.creditsRequested = RdmaCapabilities.DEFAULT_SEND_CREDIT_TARGET;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost method int expectedCreditCost = 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
/** The maximum number of highlighted fragments to return. */ private int numOfFragments; /** The offset for fragment positioning. */ private int fragmentOffset; /** * Default constructor that initializes highlighting settings from Fess configuration. * Loads default values for type, fragment size, number of fragments, and fragment offset. */ public HighlightInfo() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
doAnswer(inv -> { Object arg = inv.getArgument(0); if (arg instanceof Smb2CreateRequest) { Smb2CreateRequest create = (Smb2CreateRequest) arg; // Initialize response chain (also for chained query) Smb2CreateResponse cr = create.initResponse(cifsContext); // Access chained Smb2QueryDirectoryRequest via reflection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0)