Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for unescaped (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/escaping_test.go

    		{unescaped: "exists", escaped: "exists"},
    		{unescaped: "exists_one", escaped: "exists_one"},
    		{unescaped: "filter", escaped: "filter"},
    		{unescaped: "size", escaped: "size"},
    		{unescaped: "contains", escaped: "contains"},
    		{unescaped: "startsWith", escaped: "startsWith"},
    		{unescaped: "endsWith", escaped: "endsWith"},
    		{unescaped: "matches", escaped: "matches"},
    		{unescaped: "duration", escaped: "duration"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  2. src/html/escape_test.go

    	{
    		"copyAmpersandHash",
    		"text &#",
    		"text &#",
    	},
    }
    
    func TestUnescape(t *testing.T) {
    	for _, tt := range unescapeTests {
    		unescaped := UnescapeString(tt.html)
    		if unescaped != tt.unescaped {
    			t.Errorf("TestUnescape %s: want %q, got %q", tt.desc, tt.unescaped, unescaped)
    		}
    	}
    }
    
    func TestUnescapeEscape(t *testing.T) {
    	ss := []string{
    		``,
    		`abc def`,
    		`a & b`,
    		`a&b`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 22 12:45:38 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  3. src/mime/quotedprintable/example_test.go

    		"Hello, Gophers! This symbol will be unescaped: =3D and this will be written in =\r\none line.",
    	} {
    		b, err := io.ReadAll(quotedprintable.NewReader(strings.NewReader(s)))
    		fmt.Printf("%s %v\n", b, err)
    	}
    	// Output:
    	// Hello, Gophers! <nil>
    	// invalid escape: <b style="font-size: 200%">hello</b> <nil>
    	// Hello, Gophers! This symbol will be unescaped: = and this will be written in one line. <nil>
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 1K bytes
    - Viewed (0)
  4. src/html/entity_test.go

    	// We verify that the length of UTF-8 encoding of each value is <= 1 + len(key).
    	// The +1 comes from the leading "&". This property implies that the length of
    	// unescaped text is <= the length of escaped text.
    	for k, v := range entity {
    		if 1+len(k) < utf8.RuneLen(v) {
    			t.Error("escaped entity &" + k + " is shorter than its UTF-8 encoding " + string(v))
    		}
    		if len(k) > longestEntityWithoutSemicolon && k[len(k)-1] != ';' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 22:10:54 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. src/net/http/server_test.go

    	}{
    		{
    			"/a", // this pattern matches a path that unescapes to "/a"
    			[]string{"/a", "/%61"},
    			[]string{"/a", "/%61"},
    		},
    		{
    			"/%62", // patterns are unescaped by segment; matches paths that unescape to "/b"
    			[]string{"/b", "/%62"},
    			[]string{"/%2562"}, // In 1.21, patterns were not unescaped but paths were.
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/strconv/quote.go

    // and therefore which escaped quote character is permitted.
    // If set to a single quote, it permits the sequence \' and disallows unescaped '.
    // If set to a double quote, it permits \" and disallows unescaped ".
    // If set to zero, it does not permit either escape and allows both quote characters to appear unescaped.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. test/fixedbugs/issue15611.go

    // ERROR "newline in character literal|newline in rune literal"
    // ERROR "invalid character literal \(missing closing '\)|rune literal not terminated"
    
    const (
    	_ = ''     // ERROR "empty character literal or unescaped ' in character literal|empty rune literal"
    	_ = 'f'
    	_ = 'foo'  // ERROR "invalid character literal \(more than one character\)|more than one character in rune literal"
    //line issue15611.go:11
    	_ = '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 00:40:38 UTC 2020
    - 685 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/PercentEscaper.java

    import javax.annotation.CheckForNull;
    
    /**
     * A {@code UnicodeEscaper} that escapes some set of Java characters using a UTF-8 based percent
     * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on
     * construction.
     *
     * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be used
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/PercentEscaper.java

    import javax.annotation.CheckForNull;
    
    /**
     * A {@code UnicodeEscaper} that escapes some set of Java characters using a UTF-8 based percent
     * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on
     * construction.
     *
     * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be used
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            }
            if (escaped.length > 0) {
              System.arraycopy(escaped, 0, dest, destIndex, escaped.length);
              destIndex += escaped.length;
            }
            // If we dealt with an escaped character, reset the unescaped range.
            unescapedChunkStart = nextIndex;
          }
          index = nextEscapeIndex(s, nextIndex, end);
        }
    
        // Process trailing unescaped characters - no need to account for escaped
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
Back to top