Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for _Trace (0.27 sec)

  1. src/go/types/expr.go

    // parameterized type or function value.
    func (check *Checker) rawExpr(T *target, x *operand, e ast.Expr, hint Type, allowGeneric bool) exprKind {
    	if check.conf._Trace {
    		check.trace(e.Pos(), "-- expr %s", e)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(e.Pos(), "=> %s", x)
    		}()
    	}
    
    	kind := check.exprInternal(T, x, e, hint)
    
    	if !allowGeneric {
    		check.nonGeneric(T, x)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    		s.Body = append(s.Body, p.caseClause())
    	}
    	s.Rbrace = p.pos()
    	p.want(_Rbrace)
    
    	return s
    }
    
    func (p *parser) selectStmt() *SelectStmt {
    	if trace {
    		defer p.trace("selectStmt")()
    	}
    
    	s := new(SelectStmt)
    	s.pos = p.pos()
    
    	p.want(_Select)
    	if !p.got(_Lbrace) {
    		p.syntaxError("missing { after select clause")
    		p.advance(_Case, _Default, _Rbrace)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. src/encoding/xml/marshal_test.go

    		err = enc.EncodeToken(tok)
    		if err != nil {
    			t.Fatalf("enc.EncodeToken: Unable to encode token (%#v), %v", tok, err)
    		}
    	}
    }
    
    // Issue 9796. Used to fail with GORACE="halt_on_error=1" -race.
    func TestRace9796(t *testing.T) {
    	type A struct{}
    	type B struct {
    		C []A `xml:"X>Y"`
    	}
    	var wg sync.WaitGroup
    	for i := 0; i < 2; i++ {
    		wg.Add(1)
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	_, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
    	_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			// If the struct has 3 fields tv_sec, tv_usec, _pad1, then we
    			// still want to remove the tv_ prefix.
    			// The check for "orig_" here handles orig_eax in the
    			// x86 ptrace register sets, which otherwise have all fields
    			// with reg_ prefixes.
    			if strings.HasPrefix(n.Name, "orig_") || strings.HasPrefix(n.Name, "_") {
    				continue
    			}
    			i := strings.Index(n.Name, "_")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top