Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Platen (0.16 sec)

  1. src/cmd/cgo/gcc.go

    		// See golang.org/issue/6563.
    		pos := (*r.Expr).Pos()
    		if x, ok := expr.(*ast.Ident); ok {
    			expr = &ast.Ident{NamePos: pos, Name: x.Name}
    		}
    
    		// Change AST, because some later processing depends on it,
    		// and also because -godefs mode still prints the AST.
    		old := *r.Expr
    		*r.Expr = expr
    
    		// Record source-level edit for cgo output.
    		if !r.Done {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	expect = "a to zed"
    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 5. Drop
    	dropNotLatin := func(r rune) rune {
    		if unicode.Is(unicode.Latin, r) {
    			return r
    		}
    		return -1
    	}
    	m = Map(dropNotLatin, []byte("Hello, 세계"))
    	expect = "Hello"
    	if string(m) != expect {
    		t.Errorf("drop: expected %q got %q", expect, m)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top