Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for quotas (0.04 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

                token == null -> {
                  // Value is "double-quoted". That's valid and our regex group already strips the quotes.
                  parameter.groups[3]!!.value
                }
                token.startsWith('\'') && token.endsWith('\'') && token.length > 2 -> {
                  // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
                  token.substring(1, token.length - 1)
                }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

          var value =
            if (equalsSign < pairEnd) {
              header.trimSubstring(equalsSign + 1, pairEnd)
            } else {
              ""
            }
    
          // If the value is "quoted", drop the quotes.
          if (value.startsWith("\"") && value.endsWith("\"") && value.length >= 2) {
            value = value.substring(1, value.length - 1)
          }
    
          result.add(
            Cookie
              .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

         * with Chrome's behavior (which also experimentally seems to match what IE does), but if you
         * actually want to have a good chance of things working, please avoid double-quotes, newlines,
         * percent signs, and the like in your field names.
         */
        internal fun StringBuilder.appendQuotedString(key: String) {
          append('"')
          for (i in 0 until key.length) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (pos < value.length && value[pos] == '\"') {
              // Quoted string.
              pos++ // Consume '"' open quote.
              val parameterStart = pos
              pos = value.indexOf('"', pos)
              parameter = value.substring(parameterStart, pos)
              pos++ // Consume '"' close quote (if necessary).
            } else {
              // Unquoted string.
              val parameterStart = pos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top