- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 357 for Atack (0.03 sec)
-
src/cmd/compile/internal/ssa/testdata/i22600.go
package main import ( "fmt" "os" ) func test() { pwd, err := os.Getwd() if err != nil { fmt.Println(err) os.Exit(1) } fmt.Println(pwd) } func main() { growstack() // Use stack early to prevent growth during test, which confuses gdb test() } var snk string //go:noinline func growstack() { snk = fmt.Sprintf("%#v,%#v,%#v", 1, true, "cat")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 358 bytes - Viewed (0) -
src/cmd/compile/internal/s390x/ggen.go
// zerorange clears the stack in the given range. func zerorange(pp *objw.Progs, p *obj.Prog, off, cnt int64, _ *uint32) *obj.Prog { if cnt == 0 { return p } // Adjust the frame to account for LR. off += base.Ctxt.Arch.FixedFrameSize reg := int16(s390x.REGSP) // If the off cannot fit in a 12-bit unsigned displacement then we // need to create a copy of the stack pointer that we can adjust.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 2.5K bytes - Viewed (0) -
src/net/rawconn_unix_test.go
if operr != nil { return } switch addr := addr.(type) { case *TCPAddr: // There's no guarantee that IP-level socket // options work well with dual stack sockets. // A simple solution would be to take a look // at the bound address to the raw connection // and to classify the address family of the // underlying socket by the bound address: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 3K bytes - Viewed (0) -
test/fixedbugs/issue27201.go
defer checkstack() v := *p // panic should happen here, line 20 sink = int64(v) // not here, line 21 } var sink int64 func checkstack() { _ = recover() var buf [1024]byte n := runtime.Stack(buf[:], false) s := string(buf[:n]) if strings.Contains(s, "issue27201.go:21 ") { panic("panic at wrong location") } if !strings.Contains(s, "issue27201.go:20 ") { panic("no panic at correct location") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 14 22:41:33 UTC 2019 - 681 bytes - Viewed (0) -
src/internal/trace/traceviewer/pprof.go
return } defer os.Remove(svgFilename) w.Header().Set("Content-Type", "image/svg+xml") http.ServeFile(w, r, svgFilename) } } type ProfileRecord struct { Stack []*trace.Frame Count uint64 Time time.Duration } func BuildProfile(prof []ProfileRecord) *profile.Profile { p := &profile.Profile{ PeriodType: &profile.ValueType{Type: "trace", Unit: "count"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:28:02 UTC 2023 - 4K bytes - Viewed (0) -
src/regexp/backtrack.go
// // backtrack is a fast replacement for the NFA code on small // regexps when onepass cannot be used. package regexp import ( "regexp/syntax" "sync" ) // A job is an entry on the backtracker's job stack. It holds // the instruction pc and the position in the input. type job struct { pc uint32 arg bool pos int } const ( visitedBits = 32 maxBacktrackProg = 500 // len(prog.Inst) <= max
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 17:25:39 UTC 2023 - 8.8K bytes - Viewed (0) -
test/fixedbugs/issue30977.go
} //go:noinline func f() { // The compiler optimizes this to direct copying // the call result to both globals, with write // barriers. The first write barrier call clobbers // the result of g on stack. X = g() Y = X } var X, Y T const N = 1000 func main() { // Keep GC running so the write barrier is on. go func() { for { runtime.GC() } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:05:13 UTC 2019 - 865 bytes - Viewed (0) -
src/runtime/nonwindows_stub.go
func enableWER() {} // winlibcall is not implemented on non-Windows systems, // but it is used in non-OS-specific parts of the runtime. // Define it as an empty struct to avoid wasting stack space.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 03:12:13 UTC 2024 - 962 bytes - Viewed (0) -
test/fixedbugs/issue40954.go
// we stored an integer in that pointer. That integer just happens // to be the address of i. // v is also the address of i. // p has a base type which is marked not-in-heap, so it // should not be adjusted when the stack is copied. recurse(100, p, v) } func recurse(n int, p *S, v uintptr) { if n > 0 { recurse(n-1, p, v) } if uintptr(unsafe.Pointer(p)) != v { panic("adjusted notinheap pointer") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 15:27:18 UTC 2022 - 874 bytes - Viewed (0) -
test/abi/bad_internal_offsets.go
F1 string F2 StructF0S1 } type StructF0S1 struct { _ uint16 } // 0 returns 3 params //go:registerparams //go:noinline func Test0(p0 uint32, p1 StructF0S0, p2 int32) { // consume some stack space, so as to trigger morestack var pad [256]uint64 pad[FailCount]++ if p0 == 0 { return } p1f0c := int16(-3096) if p1.F0 != p1f0c { NoteFailureElem(0, "genChecker0", "parm", 1, 0, pad[0]) return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.4K bytes - Viewed (0)