- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 853 for race (0.17 sec)
-
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) -
src/cmd/compile/internal/test/race.go
// or run tests. This is a non-test file to hold cases that (used // 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 20 22:16:41 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/i22600.dlv-dbg-race.nexts
David Chase <******@****.***> 1527014727 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 122 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/i22600.gdb-dbg-race.nexts
David Chase <******@****.***> 1527014727 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 149 bytes - Viewed (0) -
src/runtime/race0.go
func raceinit() (uintptr, uintptr) { throw("race"); return 0, 0 } func racefini() { throw("race") } func raceproccreate() uintptr { throw("race"); return 0 } func raceprocdestroy(ctx uintptr) { throw("race") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/race0.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 aix || (darwin && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly || zos package unix import ( "unsafe" ) const raceenabled = false func raceAcquire(addr unsafe.Pointer) { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 553 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_test_race.txt
# Test with just race instrumentation enabled go test -race -v ! stderr 'race detected during execution of test' # Test with coverage and race instrumentation enabled, and a matching fuzz # pattern go test -fuzz=FuzzRace -race -v -fuzztime=200x ! stderr 'race detected during execution of test' -- go.mod -- module test -- race_test.go -- package race import "testing" func FuzzRace(f *testing.F) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 966 bytes - Viewed (0) -
src/cmd/go/testdata/script/install_msan_and_race_and_asan_require_cgo.txt
# Tests Issue #21895 env CGO_ENABLED=0 [GOOS:darwin] [!short] [race] go build -race triv.go [!GOOS:darwin] [race] ! go install -race triv.go [!GOOS:darwin] [race] stderr '-race requires cgo' [!GOOS:darwin] [race] ! stderr '-msan' [msan] ! go install -msan triv.go [msan] stderr '-msan requires cgo' [msan] ! stderr '-race' [asan] ! go install -asan triv.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 21:38:55 UTC 2022 - 626 bytes - Viewed (0) -
src/sync/rwmutex.go
rw.w.Unlock() if race.Enabled { race.Enable() } return false } if race.Enabled { race.Enable() race.Acquire(unsafe.Pointer(&rw.readerSem)) race.Acquire(unsafe.Pointer(&rw.writerSem)) } return true } // Unlock unlocks rw for writing. It is a run-time error if rw is // not locked for writing on entry to Unlock. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 7.2K bytes - Viewed (0) -
src/sync/waitgroup.go
// See the WaitGroup example. func (wg *WaitGroup) Add(delta int) { if race.Enabled { if delta < 0 { // Synchronize decrements with Wait. race.ReleaseMerge(unsafe.Pointer(wg)) } race.Disable() defer race.Enable() } state := wg.state.Add(uint64(delta) << 32) v := int32(state >> 32) w := uint32(state) if race.Enabled && delta > 0 && v == int32(delta) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4K bytes - Viewed (0)