Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for quotas (0.03 sec)

  1. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertBasicXmlEscaper(xmlAttributeEscaper, true, true);
        // Test quotes are escaped.
        assertEquals(""test"", xmlAttributeEscaper.escape("\"test\""));
        assertEquals("'test'", xmlAttributeEscaper.escape("'test'"));
        // Test all escapes
        assertEquals(
            "a&quot;b&lt;c&gt;d&amp;e&quot;f&apos;", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'"));
        // Test '\t', '\n' and '\r' are escaped.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 22:03:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K 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;");
        builder.addEscape('\t', "&#x9;");
        builder.addEscape('\n', "&#xA;");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 6.4K 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 18 20:55:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResourceException.java

        }
    
        /**
         * Static factory for quota exceeded
         */
        public static SmbResourceException quotaExceeded(int errorCode, long used, long quota) {
            return new SmbResourceException(String.format("Quota exceeded: %d/%d bytes used", used, quota), errorCode, ResourceType.QUOTA,
                    quota - used, 1);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

        }
    
        public void test_escapeXml_allSpecialChars() {
            // Test all special characters
            String input = "Test & < > \"quote\" 'apos'";
            String expected = "Test &amp; &lt; &gt; &quot;quote&quot; &apos;apos&apos;";
            assertEquals(expected, XmlUtil.escapeXml(input));
        }
    
        public void test_escapeXml_noSpecialChars() {
            // Test string without special characters
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        #  The list of table DB names that need to be quoted. Specified tables is quoted on auto-generated SQL.
        #
        #; quoteTableNameList = list:{}
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o quoteColumnNameList: (NotRequired - Default list:{})
        #  The list of column DB names that need to be quoted. Specified columns is quoted on auto-generated SQL.
        #
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

    }
    
    private fun Buffer.startsWith(prefix: Byte): Boolean = !exhausted() && this[0] == prefix
    
    /**
     * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each
     * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a
     * double-quoted string.
     */
    @Throws(EOFException::class)
    private fun Buffer.readQuotedString(): String? {
      require(readByte() == '\"'.code.toByte())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top