- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for cgocaller (0.22 sec)
-
src/syscall/syscall_linux.go
return minus1, minus1, ENOTSUP } r1, r2, errno := runtime_doAllThreadsSyscall(trap, a1, a2, a3, a4, a5, a6) return r1, r2, Errno(errno) } // linked by runtime.cgocall.go // //go:uintptrescapes func cgocaller(unsafe.Pointer, ...uintptr) uintptr var cgo_libc_setegid unsafe.Pointer // non-nil if cgo linked. const minus1 = ^uintptr(0) func Setegid(egid int) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
src/runtime/cgocall.go
// // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname cgocall //go:nosplit func cgocall(fn, arg unsafe.Pointer) int32 { if !iscgo && GOOS != "solaris" && GOOS != "illumos" && GOOS != "windows" { throw("cgocall unavailable") } if fn == nil { throw("cgocall nil") } if raceenabled { racereleasemerge(unsafe.Pointer(&racecgosync)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package cgocall defines an Analyzer that detects some violations of // the cgo pointer passing rules. package cgocall import ( "fmt" "go/ast" "go/format" "go/parser" "go/token" "go/types" "log" "os" "strconv" "golang.org/x/tools/go/analysis"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_traceback.c
void x_cgo_callers(uintptr_t sig, void *info, void *context, void (*cgoTraceback)(struct cgoTracebackArg*), uintptr_t* cgoCallers, void (*sigtramp)(uintptr_t, void*, void*)) { struct cgoTracebackArg arg; arg.Context = 0; arg.SigContext = (uintptr_t)(context); arg.Buf = cgoCallers; arg.Max = 32; // must match len(runtime.cgoCallers) #if __has_feature(memory_sanitizer) // This function is called directly from the signal handler.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 08 20:11:59 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/traceback.go
// in the middle of our copy. gp.m.cgoCallersUse.Store(1) cgoCallers := *gp.m.cgoCallers gp.m.cgoCallers[0] = 0 gp.m.cgoCallersUse.Store(0) printCgoTraceback(&cgoCallers) } if readgstatus(gp)&^_Gscan == _Gsyscall { // Override registers if blocked in system call. pc = gp.syscallpc sp = gp.syscallsp flags &^= unwindTrap }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultInstrumentedGroovyCallsTrackerTest.groovy
when: def fooCaller = instance.findCallerForCurrentCallIfNotIntercepted("foo", INVOKE_METHOD) instance.leaveCall(entryBar) then: fooCaller == null when: fooCaller = instance.findCallerForCurrentCallIfNotIntercepted("foo", INVOKE_METHOD) instance.leaveCall(entryFoo) then: fooCaller == "FooCallerClass" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:59 UTC 2023 - 4.8K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/pprof_callback.go
} //export goCallbackPprof func goCallbackPprof() { // No-op. We want to stress the cgocall and cgocallback internals, // landing as many pprof signals there as possible. } func CgoPprofCallback() { // Issue 50936 was a crash in the SIGPROF handler when the signal // arrived during the exitsyscall following a cgocall(back) in dropg or // execute, when updating mp.curg. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 08 15:44:05 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall_go121.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.21 package cgocall import "go/types" func setGoVersion(tc *types.Config, pkg *types.Package) { tc.GoVersion = pkg.GoVersion()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 307 bytes - Viewed (0) -
src/cmd/vet/main.go
"golang.org/x/tools/go/analysis/passes/atomic" "golang.org/x/tools/go/analysis/passes/bools" "golang.org/x/tools/go/analysis/passes/buildtag" "golang.org/x/tools/go/analysis/passes/cgocall" "golang.org/x/tools/go/analysis/passes/composite" "golang.org/x/tools/go/analysis/passes/copylock" "golang.org/x/tools/go/analysis/passes/defers" "golang.org/x/tools/go/analysis/passes/directive"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall_go120.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !go1.21 package cgocall import "go/types" func setGoVersion(tc *types.Config, pkg *types.Package) { // no types.Package.GoVersion until Go 1.21
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 321 bytes - Viewed (0)