- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 175 for Atack (0.07 sec)
-
src/sync/oncefunc_test.go
// Test that on the first invocation of a OnceFunc, the stack trace goes all // the way to the origin of the panic. f := sync.OnceFunc(onceFuncPanic) defer func() { if p := recover(); p != "x" { t.Fatalf("want panic %v, got %v", "x", p) } stack := debug.Stack() want := "sync_test.onceFuncPanic" if !bytes.Contains(stack, []byte(want)) { t.Fatalf("want stack containing %v, got:\n%s", want, string(stack)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:31:33 UTC 2023 - 6.9K bytes - Viewed (0) -
test/fixedbugs/bug385_64.go
// license that can be found in the LICENSE file. // Issue 2444 // Issue 4666: issue with arrays of exactly 4GB. package main var z [10 << 20]byte func main() { // GC_ERROR "stack frame too large" // seq 1 206 | sed 's/.*/ var x& [10<<20]byte/' // seq 1 206 | sed 's/.*/ z = x&/' var x1 [10<<20]byte var x2 [10<<20]byte var x3 [10<<20]byte var x4 [10<<20]byte var x5 [10<<20]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 6.9K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
if err := syscall.Close(*pipeFD); err != nil { panic(fmt.Sprintf("error closing control pipe fd %d: %v", *pipeFD, err)) } for {} } ` // TestGdbCoreSignalBacktrace tests that gdb can unwind the stack correctly // through a signal handler in a core file func TestGdbCoreSignalBacktrace(t *testing.T) { if runtime.GOOS != "linux" { // N.B. This test isn't fundamentally Linux-only, but it needs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0) -
src/net/http/pprof/pprof_test.go
} if runtime.Compiler == "gccgo" { runtime.Gosched() } } } // mutexHog2 is almost identical to mutexHog but we keep them separate // in order to distinguish them with function names in the stack trace. // We make them slightly different, using Sink, because otherwise // gccgo -c opt will merge them. func mutexHog2(mu1, mu2 *sync.Mutex, start time.Time, dt time.Duration) { atomic.AddUint32(&Sink, 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 9.7K bytes - Viewed (0) -
src/runtime/tracetype.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Trace stack table and acquisition. package runtime import ( "internal/abi" "internal/goarch" "unsafe" ) // traceTypeTable maps stack traces (arrays of PC's) to unique uint32 ids. // It is lock-free for reading. type traceTypeTable struct { tab traceMap }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadcode.go
return } // ReachableBlocks returns the reachable blocks in f. func ReachableBlocks(f *Func) []bool { reachable := make([]bool, f.NumBlocks()) reachable[f.Entry.ID] = true p := make([]*Block, 0, 64) // stack-like worklist p = append(p, f.Entry) for len(p) > 0 { // Pop a reachable block b := p[len(p)-1] p = p[:len(p)-1] // Mark successors as reachable s := b.Succs if b.Kind == BlockFirst { s = s[:1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:29:01 UTC 2023 - 9.2K bytes - Viewed (0) -
src/runtime/pprof/protomem.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/syscall_aix.go
// license that can be found in the LICENSE file. package runtime import "unsafe" // This file handles some syscalls from the syscall package // Especially, syscalls use during forkAndExecInChild which must not split the stack //go:cgo_import_dynamic libc_chdir chdir "libc.a/shr_64.o" //go:cgo_import_dynamic libc_chroot chroot "libc.a/shr_64.o" //go:cgo_import_dynamic libc_dup2 dup2 "libc.a/shr_64.o"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go
} func (r *Config) HasCounterPrefix(program, prefix string) bool { return r.pgcounterprefix[pgkey{program, prefix}] } func (r *Config) HasStack(program, stack string) bool { return r.pgstack[pgkey{program, stack}] } func (r *Config) Rate(program, name string) float64 { return r.rate[pgkey{program, name}] } func set(slice []string) map[string]bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 3.5K 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)