Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 135 for compiled (0.05 seconds)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        private static final String PDF_DATE = "pdf_date";
    
        /** Regular expression pattern for matching email addresses */
        private static final Pattern EMAIL_ADDRESS_PATTERN =
                Pattern.compile("[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}", Pattern.CASE_INSENSITIVE);
    
        /**
         * Cache for storing resource file modification timestamps to enable cache busting.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  2. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

         *
         * @param pattern the regular expression pattern to match file paths
         */
        protected DictionaryCreator(final String pattern) {
            this.pattern = Pattern.compile(pattern);
        }
    
        /**
         * Creates a dictionary file for the given path and timestamp if it matches this creator's pattern.
         *
         * @param path the file path to create a dictionary file for
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

         */
        @Test
        public void test_labelConstantsNamingConvention() throws Exception {
            Field[] fields = FessLabels.class.getDeclaredFields();
            Pattern labelPattern = Pattern.compile("^LABELS_[A-Za-z0-9_]+$");
    
            for (Field field : fields) {
                if (Modifier.isStatic(field.getModifiers()) && Modifier.isFinal(field.getModifiers()) && Modifier.isPublic(field.getModifiers())
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Secured secured = method.getAnnotation(Secured.class);
            assertNotNull(secured);
            assertEquals("STATIC_ROLE", secured.value()[0]);
        }
    
        // Test annotation on constructor (should not compile, but test for completeness)
        static class ConstructorClass {
            // Note: @Secured cannot be applied to constructors due to @Target restrictions
            public ConstructorClass() {
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

                // Just verify the methods are callable
                assertTrue(true);
            }
        }
    
        // Test with complex source map
        @Test
        public void test_complexSourceMap() {
            TestSearchLogEvent event = new TestSearchLogEvent("complex-id", 1L, "complex");
    
            // Create nested map structure
            Map<String, Object> nestedMap = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            final String pattern = "\"" + key + "\"\\s*:\\s*\"((?:[^\"\\\\]|\\\\.)*)\"";
            final java.util.regex.Pattern p = java.util.regex.Pattern.compile(pattern);
            final java.util.regex.Matcher m = p.matcher(stripCodeFences(json));
            if (m.find()) {
                return m.group(1).replace("\\\"", "\"").replace("\\\\", "\\");
            }
            return "";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            for (int i = 0; i < 110; i++) {
                assertEquals(i, engine.evaluate("return " + i, params));
            }
    
            // Earlier scripts should still work (recompiled after eviction)
            assertEquals(0, engine.evaluate("return 0", params));
            assertEquals(50, engine.evaluate("return 50", params));
            assertEquals(109, engine.evaluate("return 109", params));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

            // Test LDAP injection attempt: *)(uid=*))(|(uid=*
            assertEquals("\\2a\\29\\28uid=\\2a\\29\\29\\28|\\28uid=\\2a", LdapUtil.escapeValue("*)(uid=*))(|(uid=*"));
    
            // Test complex injection: admin)(&(password=*))
            assertEquals("admin\\29\\28&\\28password=\\2a\\29\\29", LdapUtil.escapeValue("admin)(&(password=*))"));
        }
    
        @Test
        public void test_escapeValue_allSpecialCharsInSequence() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            assertEquals("\"\"\"end\"\"\"", result[2]);
    
            // Complex escaped scenario - only middle field gets unquoted (no internal quotes)
            value = "\"complex \"\"test\"\" value\",normal,\"another \"\"escaped\"\"\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(3, result.length);
            assertEquals("\"complex \"test\" value\"", result[0]);
            assertEquals("normal", result[1]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            /** User's group memberships. */
            protected volatile String[] groups;
    
            /** User's role assignments. */
            protected volatile String[] roles;
    
            /** User's computed permissions. */
            protected volatile String[] permissions;
    
            /** Entra ID authentication result. */
            protected IAuthenticationResult authResult;
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top