- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 45 for cgocaller (0.13 sec)
-
src/cmd/go/internal/test/flagdefs.go
"asmdecl": true, "assign": true, "atomic": true, "bool": true, "bools": true, "buildtag": true, "buildtags": true, "cgocall": true, "composites": true, "copylocks": true, "defers": true, "directive": true, "errorsas": true, "framepointer": true, "httpresponse": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/cgo/linux_syscall.c
* honored for all pthreads (by default), and this in turn with cgo * ensures that all Go threads launched with cgo are kept in sync for * these function calls. */ // argset_t matches runtime/cgocall.go:argset. typedef struct { uintptr_t* args; uintptr_t retval; } argset_t; // libc backed posix-compliant syscalls. #define SET_RETVAL(fn) \ uintptr_t ret = (uintptr_t) fn ; \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/vet/doc.go
atomic check for common mistakes using the sync/atomic package bools check for common mistakes involving boolean operators buildtag check //go:build and // +build directives cgocall detect some violations of the cgo pointer passing rules composites check for unkeyed composite literals copylocks check for locks erroneously passed by value
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 00:17:30 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/syscall_windows.go
} // The cgocall parameters are stored in m instead of in // the stack because the stack can move during fn if it // calls back into Go. c := &getg().m.winsyscall c.fn = fn c.n = uintptr(len(args)) if c.n != 0 { c.args = uintptr(noescape(unsafe.Pointer(&args[0]))) } cgocall(asmstdcallAddr, unsafe.Pointer(c)) // cgocall may reschedule us on to a different M,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/vendor/modules.txt
golang.org/x/tools/go/analysis/passes/assign 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/ctrlflow golang.org/x/tools/go/analysis/passes/defers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 4.8K bytes - Viewed (0) -
src/runtime/runtime2.go
traceback uint8 ncgocall uint64 // number of cgo calls in total ncgo int32 // number of cgo calls currently in progress cgoCallersUse atomic.Uint32 // if non-zero, cgoCallers in use temporarily cgoCallers *cgoCallers // cgo traceback if crashing in cgo call park note alllink *m // on allm schedlink muintptr lockedg guintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/sys_freebsd_amd64.s
TESTQ CX, CX JZ sigtramp // g.m.curg == nil MOVQ g_syscallsp(CX), CX TESTQ CX, CX JZ sigtramp // g.m.curg.syscallsp == 0 MOVQ m_cgoCallers(AX), R8 TESTQ R8, R8 JZ sigtramp // g.m.cgoCallers == nil MOVL m_cgoCallersUse(AX), CX TESTL CX, CX JNZ sigtramp // g.m.cgoCallersUse != 0 // Jump to a function in runtime/cgo. // That function, written in C, will call the user's traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 12.7K bytes - Viewed (0) -
src/runtime/race_s390x.s
// from Go code without going all the way through cgo. // First, it's much faster (up to 50% speedup for real Go programs). // Second, it eliminates race-related special cases from cgocall and scheduler. // Third, in long-term it will allow to remove cyclic runtime/race dependency on cmd/go. // A brief recap of the s390x C calling convention. // Arguments are passed in R2...R6, the rest is on stack.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 13.1K bytes - Viewed (0) -
src/runtime/proc.go
// cgoCallers. We are running in a signal handler // with all signals blocked, so we don't have to worry // about any other code interrupting us. if mp.cgoCallersUse.Load() == 0 && mp.cgoCallers != nil && mp.cgoCallers[0] != 0 { for cgoOff < len(mp.cgoCallers) && mp.cgoCallers[cgoOff] != 0 { cgoOff++ } n += copy(stk[:], mp.cgoCallers[:cgoOff]) mp.cgoCallers[0] = 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/runtime/asm_mips64x.s
MOVV fn+0(FP), R25 MOVV arg+8(FP), R4 JAL (R25) RET // func asmcgocall(fn, arg unsafe.Pointer) int32 // Call fn(arg) on the scheduler stack, // aligned appropriately for the gcc ABI. // See cgocall.go for more details. TEXT ·asmcgocall(SB),NOSPLIT,$0-20 MOVV fn+0(FP), R25 MOVV arg+8(FP), R4 MOVV R29, R3 // save original stack pointer MOVV g, R2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 19:45:59 UTC 2023 - 24.3K bytes - Viewed (0)