Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for in_escapes (0.2 sec)

  1. test/escape.go

    	go func() { x = i; c <- 1 }()
    	<-c
    	return
    }
    
    func main() {
    	p, q := i_escapes(1), i_escapes(2)
    	chk(p, q, 1, "i_escapes")
    
    	p, q = j_escapes(3), j_escapes(4)
    	chk(p, q, 3, "j_escapes")
    
    	p, q = k_escapes(5), k_escapes(6)
    	chk(p, q, 5, "k_escapes")
    
    	p, q = in_escapes(7), in_escapes(8)
    	chk(p, q, 7, "in_escapes")
    
    	p, q = select_escapes(9), select_escapes(10)
    	chk(p, q, 9, "select_escapes")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 06 18:34:24 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/html/escape.go

    // always true.
    func EscapeString(s string) string {
    	return htmlEscaper.Replace(s)
    }
    
    // UnescapeString unescapes entities like "&lt;" to become "<". It unescapes a
    // larger range of entities than EscapeString escapes. For example, "&aacute;"
    // unescapes to "รก", as does "&#225;" and "&#xE1;".
    // UnescapeString(EscapeString(s)) == s always holds, but the converse isn't
    // always true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 13 07:00:18 UTC 2020
    - 5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/escaping.go

    			ok = false
    			return ""
    		}
    	})
    	if !ok {
    		return "", false
    	}
    	return ident, true
    }
    
    var unexpandMatcher = regexp.MustCompile(`(_{2}[^_]+_{2})`)
    
    // Unescape unescapes an CEL identifier containing the escape sequences described in Escape, or return false if the
    // string contains invalid escape sequences. The escaped input is expected to be a valid CEL identifier, but is
    // not checked.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        ```
      }];
    
      let arguments = (ins
          F32:$out_scale,
          TFR_TensorListType:$in_scales);
    
      let results = (outs TFR_TensorType:$scale_factor);
    
      let assemblyFormat = [{
        `(` $out_scale `,` $in_scales `)` attr-dict `:` functional-type(operands, results)
      }];
    
      let hasCanonicalizer = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. src/net/http/server_test.go

    	matches := []struct {
    		pattern  string
    		paths    []string // paths that match the pattern
    		paths121 []string // paths that matched the pattern in Go 1.21.
    	}{
    		{
    			"/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"},
    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/go/printer/printer.go

    				_, err = p.output.Write(aNewline)
    			case tabwriter.Escape:
    				_, err = p.output.Write(p.space)
    				p.state = inEscape
    				m = n + 1 // +1: skip tabwriter.Escape
    			default:
    				_, err = p.output.Write(p.space)
    				p.state = inText
    				m = n
    			}
    		case inEscape:
    			if b == tabwriter.Escape {
    				_, err = p.output.Write(data[m:n])
    				p.resetSpace()
    			}
    		case inText:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/fields/selector.go

    type UnescapedRune struct {
    	r rune
    }
    
    func (i UnescapedRune) Error() string {
    	return fmt.Sprintf("invalid field selector: unescaped character in value: %v", i.r)
    }
    
    // UnescapeValue unescapes a fieldSelector value and returns the original literal value.
    // May return the original string if it contains no escaped or special characters.
    func UnescapeValue(s string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 23 20:40:07 UTC 2020
    - 12.3K bytes
    - Viewed (0)
  8. src/net/url/url.go

    //
    // PathUnescape is identical to [QueryUnescape] except that it does not
    // unescape '+' to ' ' (space).
    func PathUnescape(s string) (string, error) {
    	return unescape(s, encodePathSegment)
    }
    
    // unescape unescapes a string; the mode specifies
    // which section of the URL string is being unescaped.
    func unescape(s string, mode encoding) (string, error) {
    	// Count %, check that they're well-formed.
    	n := 0
    	hasPlus := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    //  2. parse the nocallback and noescape directives.
    func (f *File) ProcessCgoDirectives() {
    	linesIn := strings.Split(f.Preamble, "\n")
    	linesOut := make([]string, 0, len(linesIn))
    	f.NoCallbacks = make(map[string]bool)
    	f.NoEscapes = make(map[string]bool)
    	for _, line := range linesIn {
    		l := strings.TrimSpace(line)
    		if len(l) < 5 || l[:4] != "#cgo" || !unicode.IsSpace(rune(l[4])) {
    			linesOut = append(linesOut, line)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/cgo/out.go

    	}
    	if noCallback {
    		fmt.Fprintf(fgo2, "\t_Cgo_no_callback(false)\n")
    	}
    
    	// skip _Cgo_use when noescape exist,
    	// so that the compiler won't force to escape them to heap.
    	if !p.noEscapes[n.C] {
    		fmt.Fprintf(fgo2, "\tif _Cgo_always_false {\n")
    		if d.Type.Params != nil {
    			for i := range d.Type.Params.List {
    				fmt.Fprintf(fgo2, "\t\t_Cgo_use(p%d)\n", i)
    			}
    		}
    		fmt.Fprintf(fgo2, "\t}\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top