- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 694 for Atack (0.05 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go
} pf, err := Parse(name, data) if err != nil { return nil, fmt.Errorf("failed to parse: %v", err) } return pf, nil } // ReadFile reads the counters and stack counters from the given file. // This is the implementation of x/telemetry/counter/countertest.Read func ReadFile(name string) (counters, stackCounters map[string]uint64, _ error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 10.3K bytes - Viewed (0) -
test/fixedbugs/issue42284.dir/a.go
i = nil return i } func g() { h := E() // ERROR "inlining call to E" "T\(0\) does not escape" h.M() // ERROR "devirtualizing h.M to T" "inlining call to T.M" // BAD: T(0) could be stack allocated. i := F(T(0)) // ERROR "inlining call to F" "T\(0\) escapes to heap" // Testing that we do NOT devirtualize here: i.M()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 18:09:45 UTC 2023 - 750 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
phaseName := "init" defer func() { if phaseName != "" { err := recover() stack := make([]byte, 16384) n := runtime.Stack(stack, false) stack = stack[:n] if f.HTMLWriter != nil { f.HTMLWriter.flushPhases() } f.Fatalf("panic during %s while compiling %s:\n\n%v\n\n%s\n", phaseName, f.Name, err, stack) } }() // Run all the passes if f.Log() { printFunc(f) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/runtime/debuglog_on.go
// efficiently, or nil otherwise. The returned dlogger will be owned. func getCachedDlogger() *dlogger { mp := acquirem() // We don't return a cached dlogger if we're running on the // signal stack in case the signal arrived while in // get/putCachedDlogger. (Too bad we don't have non-atomic // exchange!) var l *dlogger if getg() != mp.gsignal { l = mp.dlogCache mp.dlogCache = nil } releasem(mp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.1K bytes - Viewed (0) -
test/maymorestack.go
panic("mayMoreStack not called") } else if count != wantCount { println(count, "!=", wantCount) panic("wrong number of calls to mayMoreStack") } } //go:noinline func anotherFunc(n int) { // Trigger a stack growth on at least some calls to // anotherFunc to test that mayMoreStack is called outside the // morestack loop. It's also important that it is called // before (not after) morestack, but that's hard to test.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 05 00:52:06 UTC 2021 - 1.1K bytes - Viewed (0) -
test/stackobj.go
var n int var c int = -1 func gc() { // encourage heap object to be collected, and have its finalizer run. runtime.GC() runtime.GC() runtime.GC() n++ } func main() { f() gc() // prior to stack objects, heap object is not collected until here if c < 0 { panic("heap object never collected") } if c != 1 { panic(fmt.Sprintf("expected collection at phase 1, got phase %d", c)) } } func f() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 03 19:54:16 UTC 2018 - 975 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
if elim[v] == nil { elim[v] = n changed = true } return case OpVarLive: // Don't delete the auto if it needs to be kept alive. // We depend on this check to keep the autotmp stack slots // for open-coded defers from being removed (since they // may not be used by the inline code, but will be used by // panic processing). n, ok := v.Aux.(*ir.Name) if !ok || n.Class != ir.PAUTO {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
length.SetTypecheck(1) return ptr, length } // mayCall reports whether evaluating expression n may require // function calls, which could clobber function call arguments/results // currently on the stack. func mayCall(n ir.Node) bool { // When instrumenting, any expression might require function calls. if base.Flag.Cfg.Instrumenting { return true } isSoftFloat := func(typ *types.Type) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/internal/obj/plist.go
pcdata := ctxt.EmitEntryStackMap(s, p, newprog) pcdata = ctxt.EmitEntryUnsafePoint(s, pcdata, newprog) return pcdata } // Similar to EmitEntryLiveness, but just emit stack map. func (ctxt *Link) EmitEntryStackMap(s *LSym, p *Prog, newprog ProgAlloc) *Prog { pcdata := Appendp(p, newprog) pcdata.Pos = s.Func().Text.Pos pcdata.As = APCDATA pcdata.From.Type = TYPE_CONST
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 11.5K bytes - Viewed (0) -
src/runtime/crash_test.go
} func TestStackOverflow(t *testing.T) { output := runTestProg(t, "testprog", "StackOverflow") want := []string{ "runtime: goroutine stack exceeds 1474560-byte limit\n", "fatal error: stack overflow", // information about the current SP and stack bounds "runtime: sp=", "stack=[", } if !strings.HasPrefix(output, want[0]) { t.Errorf("output does not start with %q", want[0]) } for _, s := range want[1:] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0)