Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 392 for value_c (0.06 seconds)

  1. src/test/java/org/codelibs/fess/storage/StorageTypeTest.java

        public void test_enumValues() {
            final StorageType[] types = StorageType.values();
            assertNotNull(types);
            assertEquals(3, types.length);
        }
    
        public void test_s3Type() {
            assertEquals(StorageType.S3, StorageType.valueOf("S3"));
        }
    
        public void test_gcsType() {
            assertEquals(StorageType.GCS, StorageType.valueOf("GCS"));
        }
    
        public void test_s3CompatType() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

        @Test
        public void test_values() {
            ChatIntent[] values = ChatIntent.values();
            assertEquals(4, values.length);
    
            assertEquals(ChatIntent.SEARCH, values[0]);
            assertEquals(ChatIntent.SUMMARY, values[1]);
            assertEquals(ChatIntent.FAQ, values[2]);
            assertEquals(ChatIntent.UNCLEAR, values[3]);
        }
    
        @Test
        public void test_getValue() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            }
            if (clazz.isAssignableFrom(Float.class)) {
                if (value instanceof Float) {
                    return (T) value;
                }
                return (T) Float.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Boolean.class)) {
                if (value instanceof Boolean) {
                    return (T) value;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            // Test that values() returns all enum constants
            SsoResponseType[] values = SsoResponseType.values();
            assertNotNull(values);
            assertEquals(2, values.length);
            assertEquals(SsoResponseType.METADATA, values[0]);
            assertEquals(SsoResponseType.LOGOUT, values[1]);
        }
    
        @Test
        public void test_valueOf() {
            // Test valueOf for valid enum names
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/entity/RequestParameter.java

        private final String name;
    
        /** The array of values associated with this parameter. */
        private final String[] values;
    
        /**
         * Constructs a new RequestParameter with the specified name and values.
         *
         * @param name the name of the parameter, must not be null
         * @param values the array of values for this parameter, can be null or empty
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            "Constructor" to "AddedClass()",
            "Class" to "AddedEnum",
            "Field" to "FOO"
        ) + reportedMembersFor("AddedEnum", isEnum = true) + listOf(
            "Method" to "AddedEnum.valueOf(java.lang.String)",
            "Method" to "AddedEnum.values()",
            "Class" to "AddedObject",
            "Field" to "INSTANCE",
            "Field" to "cathedral"
        ) + reportedMembersFor("AddedObject") + reportedMembersFor("ExistingClass") + listOf(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    
    private
    fun JApiMethod.isEnumImplicitMethodValueOf(): Boolean {
        return name == "valueOf" && parameters.size == 1 && parameters.first().type == "java.lang.String"
    }
    
    
    private
    fun JApiMethod.isEnumImplicitMethodValues(): Boolean {
        return name == "values" && parameters.size == 0
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

             * The value is split by pipe character (|) and each part is trimmed.
             *
             * @param value the configuration value string to parse
             */
            public Config(final String value) {
                values = StreamUtil.split(value, Pattern.quote("|")).get(stream -> stream.map(String::trim).toArray(n -> new String[n]));
            }
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            }
            if (value instanceof Long) {
                return ((Long) value).floatValue();
            }
            if (value instanceof Float) {
                return (Float) value;
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
                try {
                    return Float.parseFloat(value.toString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(s -> {
                        final String[] values = StringUtils.split(s, "=", 2);
                        if (values.length == 2) {
                            mimetypeMap.put(values[0], values[1]);
                        }
                    }));
            if (logger.isDebugEnabled()) {
                logger.debug("loaded filetype: {}", mimetypeMap);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top