Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,363 for constants (0.09 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * The [CacheControl] class can configure request caching directives and parse response caching
     * directives. It even offers convenient constants [CacheControl.FORCE_NETWORK] and
     * [CacheControl.FORCE_CACHE] that address the use cases above.
     *
     * [rfc_7234]: http://tools.ietf.org/html/rfc7234
     */
    class Cache internal constructor(
      directory: Path,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                    System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, originalValue);
                } else {
                    System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
                }
            }
        }
    
        @Test
        public void test_getSearchEngineHttpAddress_withEmptyString() {
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            return Constants.TRUE.equalsIgnoreCase(getSystemProperty(key, defaultValue ? Constants.TRUE : Constants.FALSE));
        }
    
        default void setSystemPropertyAsBoolean(final String key, final boolean value) {
            setSystemProperty(key, value ? Constants.TRUE : Constants.FALSE);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            queryFieldConfig.setSortFields(fields);
    
            assertSame(fields, queryFieldConfig.sortFields);
        }
    
        @Test
        public void test_constants() {
            // Test that constants have expected values
            assertEquals("score", QueryFieldConfig.SCORE_FIELD);
            assertEquals("_score", QueryFieldConfig.DOC_SCORE_FIELD);
            assertEquals("site", QueryFieldConfig.SITE_FIELD);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/scheduler/CreateForm.java

        /**
         * Initializes the form with default values for creating a new scheduled job.
         */
        public void initialize() {
            target = Constants.DEFAULT_JOB_TARGET;
            cronExpression = Constants.DEFAULT_CRON_EXPRESSION;
            scriptType = Constants.DEFAULT_JOB_SCRIPT_TYPE;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Splitter.java

     * (note: even fixed-length splitters).
     *
     * <p>Splitter instances are thread-safe immutable, and are therefore safe to store as {@code static
     * final} constants.
     *
     * <p>The {@link Joiner} class provides the inverse operation to splitting, but note that a
     * round-trip between the two should be assumed to be lossy.
     *
     * <p>See the Guava User Guide article on <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

            scheduledJob.setName("Test Job");
            scheduledJob.setScriptType("groovy");
            scheduledJob.setScriptData("println 'test'");
            scheduledJob.setJobLogging(loggingEnabled ? Constants.T : Constants.F);
            scheduledJob.setAvailable(Constants.T);
            scheduledJob.setTarget("all");
            return scheduledJob;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertEquals(
              "" + c, Character.isISOControl(c), CharMatcher.javaIsoControl().matches((char) c));
        }
      }
    
      // Omitting tests for the rest of the JAVA_* constants as these are defined
      // as extremely straightforward pass-throughs to the JDK methods.
    
      // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods
      // below by testing their text-processing methods.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  9. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. 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));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
Back to Top