- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 85 for _Trace (0.51 sec)
-
src/go/types/named.go
func (n *Named) expandUnderlying() Type { check := n.check if check != nil && check.conf._Trace { check.trace(n.obj.pos, "-- Named.expandUnderlying %s", n) check.indent++ defer func() { check.indent-- check.trace(n.obj.pos, "=> %s (tparams = %s, under = %s)", n, n.tparams.list(), n.underlying) }() } assert(n.inst.orig.underlying != nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
src/go/types/stmt.go
func (check *Checker) funcBody(decl *declInfo, name string, sig *Signature, body *ast.BlockStmt, iota constant.Value) { if check.conf.IgnoreFuncBodies { panic("function body not ignored") } if check.conf._Trace { check.trace(body.Pos(), "-- %s: %s", name, sig) } // save/restore current environment and set up function environment // (and use 0 indentation at function start) defer func(env environment, indent int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
src/go/types/call.go
assert(check != nil) assert(len(targs) == typ.TypeParams().Len()) if check.conf._Trace { check.trace(pos, "-- instantiating signature %s with %s", typ, targs) check.indent++ defer func() { check.indent-- check.trace(pos, "=> %s (under = %s)", res, res.Underlying()) }() } inst := check.instance(pos, typ, targs, nil, check.context()).(*Signature)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
p.print(n.Type, blank) if n.Body != nil { if p.form == ShortForm { p.print(_Lbrace) if len(n.Body.List) > 0 { p.print(_Name, "…") } p.print(_Rbrace) } else { p.print(n.Body) } } case *CompositeLit: if n.Type != nil { p.print(n.Type) } p.print(_Lbrace) if p.form == ShortForm { if len(n.ElemList) > 0 { p.print(_Name, "…") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/runtime/trace.go
buf.link = trace.empty trace.empty = buf trace.reading = nil } // Write trace header. if !trace.headerWritten { trace.headerWritten = true unlock(&trace.lock) return []byte("go 1.23 trace\x00\x00\x00"), false } // Read the next buffer. if trace.readerGen.Load() == 0 { trace.readerGen.Store(1) } var gen uintptr for { assertLockHeld(&trace.lock)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
src/cmd/cover/cover.go
clause := n.(*ast.CommClause) f.addCounters(clause.Colon+1, clause.Colon+1, clause.End(), clause.Body, false) } return f } } f.addCounters(n.Lbrace, n.Lbrace+1, n.Rbrace+1, n.List, true) // +1 to step past closing brace. case *ast.IfStmt: if n.Init != nil { ast.Walk(f, n.Init) } ast.Walk(f, n.Cond) ast.Walk(f, n.Body) if n.Else == nil { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
src/go/ast/ast.go
return s.Label.End() } return token.Pos(int(s.TokPos) + len(s.Tok.String())) } func (s *BlockStmt) End() token.Pos { if s.Rbrace.IsValid() { return s.Rbrace + 1 } if n := len(s.List); n > 0 { return s.List[n-1].End() } return s.Lbrace + 1 } func (s *IfStmt) End() token.Pos { if s.Else != nil { return s.Else.End() } return s.Body.End() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
src/runtime/race.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build race package runtime import ( "internal/abi" "unsafe" ) // Public race detection API, present iff build with -race. func RaceRead(addr unsafe.Pointer) func RaceWrite(addr unsafe.Pointer) func RaceReadRange(addr unsafe.Pointer, len int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/syscall/zsysnum_freebsd_386.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 25.5K bytes - Viewed (0) -
src/testing/testing_test.go
t.Run("subsub1", func(t *testing.T) { t.Parallel() doRace() c1 <- true }) t.Run("subsub2", func(t *testing.T) { t.Parallel() doRace() <-c1 }) }) doRace() return } out := runTest(t, "TestRaceSubReports") // There should be three race reports: one for each subtest, and one for the // race after the subtests complete. Note that because the subtests run in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 19.3K bytes - Viewed (0)