Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for quotas (0.05 sec)

  1. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            // Text with comma gets quoted, but parse preserves quotes
            input = "with,comma";
            escaped = KuromojiCSVUtil.quoteEscape(input); // "with,comma"
            parsed = KuromojiCSVUtil.parse(escaped);
            assertEquals(1, parsed.length);
            assertEquals("\"" + input + "\"", parsed[0]); // Quotes are preserved
    
            // Text with quotes gets escaped quotes, but escaped quotes don't get unquoted
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            // Default constructor
        }
    
        /**
         * Quotes a string value if it contains spaces.
         * Multi-word values are wrapped in double quotes with internal quotes replaced by spaces.
         *
         * @param value the string value to quote
         * @return the quoted string if it contains spaces, otherwise the original value
         */
        protected String quote(final String value) {
            if (value.split("\\s").length > 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. gradlew

            "$@"
    
    # Stop when "xargs" is not available.
    if ! command -v xargs >/dev/null 2>&1
    then
        die "xargs is not available"
    fi
    
    # Use "xargs" to parse quoted args.
    #
    # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
    #
    # In Bash we could simply go:
    #
    #   readarray ARGS < <( xargs -n1 <<<"$var" ) &&
    #   set -- "${ARGS[@]}" "$@"
    #
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/xml/XmlEscapers.java

          }
        }
    
        // Build the content escaper first and then add quote escaping for the
        // general escaper.
        builder.addEscape('&', "&amp;");
        builder.addEscape('<', "&lt;");
        builder.addEscape('>', "&gt;");
        XML_CONTENT_ESCAPER = builder.build();
        builder.addEscape('\'', "&apos;");
        builder.addEscape('"', "&quot;");
        XML_ESCAPER = builder.build();
        builder.addEscape('\t', "&#x9;");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                return "^" + Pattern.quote(s.substring(1, s.length() - 1)) + "$";
            }
            if (s.startsWith("^")) {
                return "^" + Pattern.quote(s.substring(1));
            }
            if (s.endsWith("$")) {
                return Pattern.quote(s.substring(0, s.length() - 1)) + "$";
            }
            return Pattern.quote(s);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            result = jobExecutor.execute("test", "script with \"quotes\"");
            assertEquals("Executed: test script with \"quotes\"", result);
    
            result = jobExecutor.execute("test", "script with 'single quotes'");
            assertEquals("Executed: test script with 'single quotes'", result);
        }
    
        public void test_execute_longScript() {
            // Test with long script
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

            }
    
            /**
             * Overrides the field query creation to handle quoted queries specially.
             * For quoted queries on the default field, creates a phrase query instead of a term query.
             *
             * @param field the field to query
             * @param queryText the query text
             * @param quoted whether the query is quoted
             * @return the created Query object
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            Map<String, String> params = new HashMap<>();
            params.put("quotes", "text with \"quotes\"");
            params.put("backslash", "text\\with\\backslash");
            activityHelper.print("test", OptionalThing.empty(), params);
            String result = localLogMsg.get();
            assertTrue(result.contains("\\\"quotes\\\""));
            assertTrue(result.contains("text\\\\with\\\\backslash"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/Tokenizer.java

        }
    
        private boolean processQuote() {
            if (peekc == QUOTE) {
                ttype = QUOTE;
                int i = 0;
                int d = read();
                int c = d;
                while (d >= 0) {
                    if (d == QUOTE) {
                        final int d2 = read();
                        if (d2 == QUOTE) {
                            c = QUOTE;
                        } else {
                            d = d2;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            discloser.setSubject("Test \"Subject\" with 'quotes'");
            discloser.setPlainText("Test content with\nnewlines and\ttabs");
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
            assertTrue(result.contains("Test"));
            assertTrue(result.contains("Subject"));
            assertTrue(result.contains("quotes"));
            assertTrue(result.contains("content"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top