- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 40 for Stack (2.33 sec)
-
src/cmd/cgo/internal/testplugin/testdata/plugin2/plugin2.go
//#include <string.h> import "C" // #include // void cfunc() {} // uses cgo_topofstack import ( "reflect" "strings" "testplugin/common" ) func init() { _ = strings.NewReplacer() // trigger stack unwind, Issue #18190. C.strerror(C.EIO) // uses cgo_topofstack common.X = 2 } type sameNameReusedInPlugins struct { X string } type sameNameHolder struct { F *sameNameReusedInPlugins }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 796 bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
Spectre = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)") ) var DebugFlags struct { MayMoreStack string `help:"call named function before all stack growth checks"` PCTab string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"` } var ( D MultiFlag I MultiFlag PrintOut int DebugV bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:18:23 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan9.go
package main // This program failed when run under the C/C++ ThreadSanitizer. The // TSAN library was not keeping track of whether signals should be // delivered on the alternate signal stack, and the Go signal handler // was not preserving callee-saved registers from C callers. /* #cgo CFLAGS: -g -fsanitize=thread #cgo LDFLAGS: -g -fsanitize=thread #include <stdlib.h> #include <sys/time.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/dcl.go
package typecheck import ( "fmt" "sync" "cmd/compile/internal/base" "cmd/compile/internal/ir" "cmd/compile/internal/types" "cmd/internal/src" ) var funcStack []*ir.Func // stack of previous values of ir.CurFunc // DeclFunc declares the parameters for fn and adds it to // Target.Funcs. // // Before returning, it sets CurFunc to fn. When the caller is done
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:15:50 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/internal/obj/inl.go
Parent: parent, Pos: pos, Func: func_, Name: name, } tree.nodes = append(tree.nodes, call) return r } // AllParents invokes do on each InlinedCall in the inlining call // stack, from outermost to innermost. // // That is, if inlIndex corresponds to f inlining g inlining h, // AllParents invokes do with the call for inlining g into f, and then // inlining h into g.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 22:47:15 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/go/internal/mvs/errors.go
Err: err, stack: stack, } } // Module returns the module where the error occurred. If the module stack // is empty, this returns a zero value. func (e *BuildListError) Module() module.Version { if len(e.stack) == 0 { return module.Version{} } return e.stack[len(e.stack)-1].m } func (e *BuildListError) Error() string { b := &strings.Builder{} stack := e.stack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 17:22:28 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/compile/internal/test/fixedbugs_test.go
if g.x[0] != 0 { t.Fatalf("g.x[0] clobbered with %x\n", g.x[0]) } // The bug was in the following assignment. The return // value of makeT() is not copied out of the args area of // stack frame in a timely fashion. So when write barriers // are enabled, the marshaling of the args for the write // barrier call clobbers the result of makeT() before it is // read by the write barrier code. g = makeT()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_windows.go
} return i; #else return 0; #endif } */ import "C" import ( "internal/testenv" "reflect" "runtime" "strings" "testing" "unsafe" ) // Test that the stack can be unwound through a call out and call back // into Go. func testCallbackCallersSEH(t *testing.T) { testenv.SkipIfOptimizationOff(t) // This test requires inlining. if runtime.Compiler != "gc" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 16:01:37 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/mono.go
// vertices we visited earlier cannot be part of the cycle. for stack[0] != v { stack = stack[1:] } // TODO(mdempsky): Pivot stack so we report the cycle from the top? err := check.newError(InvalidInstanceCycle) obj0 := check.mono.vertices[v].obj err.addf(obj0, "instantiation cycle:") qf := RelativeTo(check.pkg) for _, v := range stack { edge := check.mono.edges[check.mono.vertices[v].pre]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 00:05:29 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/internal/obj/wasm/a.out.go
AIf AElse AEnd // opcode 0x0B ABr ABrIf ABrTable // ACall and AReturn are WebAssembly instructions. obj.ACALL and obj.ARET are higher level instructions // with Go semantics, e.g. they manipulate the Go stack on the linear memory. AReturn ACall ACallIndirect ADrop // opcode 0x1A ASelect ALocalGet // opcode 0x20 ALocalSet ALocalTee AGlobalGet AGlobalSet AI32Load // opcode 0x28
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 05:28:55 UTC 2023 - 4.3K bytes - Viewed (0)