Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for cgocaller (1.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top