Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for _Trace (0.23 sec)

  1. src/runtime/race.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build race
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // Public race detection API, present iff build with -race.
    
    func RaceRead(addr unsafe.Pointer)
    func RaceWrite(addr unsafe.Pointer)
    func RaceReadRange(addr unsafe.Pointer, len int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/race.go

    // to) trigger compiler data races, so they will be exercised on
    // the racecompile builder.
    //
    // This package is not imported so functions here are not included
    // in the actual compiler.
    
    // Issue 55357: data race when building multiple instantiations of
    // generic closures with _ parameters.
    func Issue55357() {
    	type U struct {
    		A int
    		B string
    		C string
    	}
    	var q T55357[U]
    	q.Count()
    	q.List()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 20 22:16:41 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/plan9/race.go

    // Copyright 2012 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 plan9 && race
    
    package plan9
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    const raceenabled = true
    
    func raceAcquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func raceReleaseMerge(addr unsafe.Pointer) {
    	runtime.RaceReleaseMerge(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 587 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/race.go

    // Copyright 2012 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 windows && race
    
    package windows
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    const raceenabled = true
    
    func raceAcquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func raceReleaseMerge(addr unsafe.Pointer) {
    	runtime.RaceReleaseMerge(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 591 bytes
    - Viewed (0)
  5. src/runtime/race/race.go

    // license that can be found in the LICENSE file.
    
    //go:build race && ((linux && (amd64 || arm64 || ppc64le || s390x)) || ((freebsd || netbsd || openbsd || windows) && amd64))
    
    package race
    
    // This file merely ensures that we link in runtime/cgo in race build,
    // this in turn ensures that runtime uses pthread_create to create threads.
    // The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 868 bytes
    - Viewed (0)
  6. src/syscall/zsysnum_freebsd_386.go

    	SYS_GETUID                   = 24  // { uid_t getuid(void); }
    	SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
    	SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, \
    	SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, \
    	SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. src/testing/testing_test.go

    			t.Run("subsub1", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				c1 <- true
    			})
    			t.Run("subsub2", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				<-c1
    			})
    		})
    		doRace()
    		return
    	}
    
    	out := runTest(t, "TestRaceSubReports")
    
    	// There should be three race reports: one for each subtest, and one for the
    	// race after the subtests complete. Note that because the subtests run in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/syscall/mkpost.go

    	goarch := os.Getenv("GOARCH")
    	goos := os.Getenv("GOOS")
    	switch {
    	case goarch == "s390x" && goos == "linux":
    		// Export the types of PtraceRegs fields.
    		re := regexp.MustCompile("ptrace(Psw|Fpregs|Per)")
    		s = re.ReplaceAllString(s, "Ptrace$1")
    
    		// Replace padding fields inserted by cgo with blank identifiers.
    		re = regexp.MustCompile("Pad_cgo[A-Za-z0-9_]*")
    		s = re.ReplaceAllString(s, "_")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 02:59:05 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ptrace_ios.go

    // Copyright 2020 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 ios
    
    package unix
    
    func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
    	return ENOTSUP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 284 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ptrace_darwin.go

    // Copyright 2020 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 darwin && !ios
    
    package unix
    
    func ptrace(request int, pid int, addr uintptr, data uintptr) error {
    	return ptrace1(request, pid, addr, data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 315 bytes
    - Viewed (0)
Back to top