Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,325 for isSafe (0.19 sec)

  1. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  3. src/runtime/preempt.go

    //
    // A goroutine can be preempted at any safe-point. Currently, there
    // are a few categories of safe-points:
    //
    // 1. A blocked safe-point occurs for the duration that a goroutine is
    //    descheduled, blocked on synchronization, or in a system call.
    //
    // 2. Synchronous safe-points occur when a running goroutine checks
    //    for a preemption request.
    //
    // 3. Asynchronous safe-points occur at any instruction in user code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        }
      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        try {
          new PercentEscaper(" ", true);
          fail(msg);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/PercentEscaper.java

        // Avoid ambiguous parameters. Safe characters are never modified so if
        // space is a safe character then setting plusForSpace is meaningless.
        if (plusForSpace && safeChars.contains(" ")) {
          throw new IllegalArgumentException(
              "plusForSpace cannot be specified when space is a 'safe' character");
        }
        this.plusForSpace = plusForSpace;
        this.safeOctets = createSafeOctets(safeChars);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/PercentEscaper.java

        // Avoid ambiguous parameters. Safe characters are never modified so if
        // space is a safe character then setting plusForSpace is meaningless.
        if (plusForSpace && safeChars.contains(" ")) {
          throw new IllegalArgumentException(
              "plusForSpace cannot be specified when space is a 'safe' character");
        }
        this.plusForSpace = plusForSpace;
        this.safeOctets = createSafeOctets(safeChars);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Range.groovy

    class Range {
        private final long millis
    
        Range(long millis) {
            this.millis = millis
        }
    
        @Override
        String toString() {
            return "[approx $millis millis]"
        }
    
        boolean isCase(Duration duration) {
            def actualMillis = duration.millis
            return actualMillis > millis - 500 && actualMillis < millis + 2000
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final List<String> versionList = new ArrayList<>();
            boolean isName = true;
            for (final String value : baseName.split("-")) {
                if (isName && value.length() > 0 && value.charAt(0) >= '0' && value.charAt(0) <= '9') {
                    isName = false;
                }
                if (isName) {
                    nameList.add(value);
                } else {
                    versionList.add(value);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        }
      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        try {
          new PercentEscaper(" ", true);
          fail(msg);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/tags.go

    // MustParse is like Parse, but panics if the given BCP 47 tag cannot be parsed.
    // It simplifies safe initialization of Tag values.
    func MustParse(s string) Tag {
    	t, err := Parse(s)
    	if err != nil {
    		panic(err)
    	}
    	return t
    }
    
    // MustParseBase is like ParseBase, but panics if the given base cannot be parsed.
    // It simplifies safe initialization of Base values.
    func MustParseBase(s string) Language {
    	b, err := ParseBase(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top