Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for escapers (0.22 sec)

  1. src/regexp/syntax/parse.go

    Switch:
    	switch c {
    	default:
    		if c < utf8.RuneSelf && !isalnum(c) {
    			// Escaped non-word characters are always themselves.
    			// PCRE is not quite so rigorous: it accepts things like
    			// \q, but we don't. We once rejected \_, but too many
    			// programs and people insist on using it, so allow \_.
    			return c, t, nil
    		}
    
    	// Octal escapes.
    	case '1', '2', '3', '4', '5', '6', '7':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. src/net/url/url_test.go

    	{'.', encodeHost, false},
    }
    
    func TestShouldEscape(t *testing.T) {
    	for _, tt := range shouldEscapeTests {
    		if shouldEscape(tt.in, tt.mode) != tt.escape {
    			t.Errorf("shouldEscape(%q, %v) returned %v; expected %v", tt.in, tt.mode, !tt.escape, tt.escape)
    		}
    	}
    }
    
    type timeoutError struct {
    	timeout bool
    }
    
    func (e *timeoutError) Error() string { return "timeout error" }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // Accessible property names are escaped according to the following rules when accessed in the expression:
      // - '__' escapes to '__underscores__'
      // - '.' escapes to '__dot__'
      // - '-' escapes to '__dash__'
      // - '/' escapes to '__slash__'
      // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // Accessible property names are escaped according to the following rules when accessed in the expression:
      // - '__' escapes to '__underscores__'
      // - '.' escapes to '__dot__'
      // - '-' escapes to '__dash__'
      // - '/' escapes to '__slash__'
      // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/types.go

    	// Accessible property names are escaped according to the following rules when accessed in the expression:
    	// - '__' escapes to '__underscores__'
    	// - '.' escapes to '__dot__'
    	// - '-' escapes to '__dash__'
    	// - '/' escapes to '__slash__'
    	// - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// Accessible property names are escaped according to the following rules when accessed in the expression:
    	// - '__' escapes to '__underscores__'
    	// - '.' escapes to '__dot__'
    	// - '-' escapes to '__dash__'
    	// - '/' escapes to '__slash__'
    	// - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// Accessible property names are escaped according to the following rules when accessed in the expression:
    	// - '__' escapes to '__underscores__'
    	// - '.' escapes to '__dot__'
    	// - '-' escapes to '__dash__'
    	// - '/' escapes to '__slash__'
    	// - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  8. src/net/http/fs_test.go

    		}
    		if trimmed := strings.TrimSuffix(strings.TrimPrefix(s, dirListPrefix), dirListSuffix); trimmed != test.escaped {
    			t.Errorf("test %q: listing dir, filename escaped to %q, want %q", test.name, trimmed, test.escaped)
    		}
    		res.Body.Close()
    	}
    }
    
    func TestFileServerSortsNames(t *testing.T) { run(t, testFileServerSortsNames) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_test.go

    func splitQuoted(s string) (r []string, err error) {
    	var args []string
    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/go/build/build.go

    func splitQuoted(s string) (r []string, err error) {
    	var args []string
    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
Back to top