Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 344 for Constants (0.06 sec)

  1. src/main/java/org/codelibs/fess/Constants.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * Constants class that extends CoreLibConstants and contains application-wide constant values for the Fess search engine.
     * This class provides constants for system configuration, crawling and indexing defaults, user agent strings,
     * status values, field names, date/time formats, authentication types, and various reserved words and patterns.
     *
     * <p>Key constant categories include:</p>
     * <ul>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Config;
    
    /**
     * Configuration constants.
     */
    public final class Constants {
    
        /**
         * Maven home.
         *
         * @since 3.0.0
         */
        @Config(readOnly = true, source = Config.Source.SYSTEM_PROPERTIES)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 25 11:08:20 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class SystemUtilTest extends UnitFessTestCase {
    
        public void test_getSearchEngineHttpAddress_null() {
            // Clear the system property to test null case
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
            System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test getting numeric configuration values
        public void test_get_numericValues() {
            String intKey = "numeric.int";
            String floatKey = "numeric.float";
    
            System.setProperty(Constants.FESS_CONFIG_PREFIX + intKey, "123");
            System.setProperty(Constants.FESS_CONFIG_PREFIX + floatKey, "45.67");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            assertEquals(1, testListener.endCount);
            assertEquals(url, testListener.requestUrl);
            assertEquals(Constants.GET_METHOD, testListener.requestMethod);
            assertNull(testListener.exceptionUrl);
            assertEquals(1, testClient.count);
            assertEquals(url, response.getUrl());
            assertEquals(Constants.GET_METHOD, response.getMethod());
        }
    
        public void test_doGet_with4Exception() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ACETest.java

                    ACE.WRITE_DAC, ACE.WRITE_OWNER, ACE.SYNCHRONIZE })
            @DisplayName("Access constants should be powers of 2")
            void shouldBeValidPowersOfTwo(int constant) {
                assertTrue(constant > 0, "Constant should be positive");
                assertEquals(0, constant & (constant - 1), "Constant should be power of 2: " + Integer.toHexString(constant));
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
            queryContext = new QueryContext("test", true);
            assertEquals("test", queryContext.getQueryString());
    
            // Verify that highlighting and field log are initialized
            assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbConstantsTest.java

        }
    
        @Test
        @DisplayName("Should validate constants are immutable interface values")
        void testConstantNature() {
            // SmbConstants is an interface with static final fields
            // Verify constants maintain their values
            assertEquals(445, SmbConstants.DEFAULT_PORT);
    
            // Test that the constant values are as expected for protocol compliance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            }
    
            final String[] searchers = DocumentUtil.getValue(docMap, Constants.SEARCHER, String[].class);
            if (searchers != null) {
                docMap.put(Constants.SEARCHER, ArrayUtil.add(searchers, getName()));
            } else {
                docMap.put(Constants.SEARCHER, new String[] { getName() });
            }
    
            return docMap;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                            copyOp.exclude(Stream.concat(Stream.of(Constants.COMMON_CONVERSION_RULE),
                                    Stream.of(Constants.PERMISSIONS, Constants.VIRTUAL_HOSTS)).toArray(n -> new String[n]));
                        });
                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top