Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,471 for isSafe (0.27 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

            """
    
            when:
            run 'help'
    
            then:
            outputContains 'Type-safe project accessors is an incubating feature.'
        }
    
        def "can use the #notation notation on type-safe accessor"() {
            given:
            createDirs("other")
            settingsFile << """
                include 'other'
            """
    
            buildFile << """
                configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("******@****.***"));
      }
    
      public void testUrlPathSegmentEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 15 20:25:06 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  3. src/runtime/mbarrier.go

    // signal handler profile logging. That's safe only because of the
    // deletion barrier. See profbuf.go for a detailed argument. If we
    // remove the deletion barrier, we'll have to work out a new way to
    // handle the profile logging.
    
    // typedmemmove copies a value of type typ to dst from src.
    // Must be nosplit, see #16026.
    //
    // TODO: Perfect for go:nosplitrec since we can't have a safe point
    // anywhere in the bulk barrier or memmove.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/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
    }
    
    // MustParse is like Parse, but panics if the given BCP 47 tag cannot be parsed.
    // It simplifies safe initialization of Tag values.
    func (c CanonType) MustParse(s string) Tag {
    	t, err := c.Parse(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSequenceReader.java

        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        return hasRemaining() ? seq.charAt(pos++) : -1;
      }
    
      @Override
      public synchronized int read(char[] cbuf, int off, int len) throws IOException {
        checkPositionIndexes(off, off + len, cbuf.length);
        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        if (!hasRemaining()) {
          return -1;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("******@****.***"));
      }
    
      public void testUrlPathSegmentEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSequenceReader.java

        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        return hasRemaining() ? seq.charAt(pos++) : -1;
      }
    
      @Override
      public synchronized int read(char[] cbuf, int off, int len) throws IOException {
        checkPositionIndexes(off, off + len, cbuf.length);
        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        if (!hasRemaining()) {
          return -1;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. src/html/template/content.go

    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	//
    	// Using JS to include valid but untrusted JSON is not safe.
    	// A safe alternative is to parse the JSON with json.Unmarshal and then
    	// pass the resultant object into the template, where it will be
    	// converted to sanitized JSON when presented in a JavaScript context.
    	JS string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ServerWithExpectations.groovy

    import org.junit.rules.ExternalResource
    import org.slf4j.Logger
    
    /**
     * This test fixture needs to be thread-safe for all operations that are done at execution time:
     *
     * - defining expectations is done serially in 'given', 'when' blocks, so doesn't need to be thread-safe
     * - but handlers, as well as failures, need to be thread-safe
     *
     */
    abstract class ServerWithExpectations extends ExternalResource implements ResettableExpectations {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/Escapers.java

        private Builder() {}
    
        /**
         * Sets the safe range of characters for the escaper. Characters in this range that have no
         * explicit replacement are considered 'safe' and remain unescaped in the output. If {@code
         * safeMax < safeMin} then the safe range is empty.
         *
         * @param safeMin the lowest 'safe' character
         * @param safeMax the highest 'safe' character
         * @return the builder instance
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top