Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 853 for race (0.15 sec)

  1. src/runtime/race/race_v3_amd64.go

    // Copyright 2022 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 linux && amd64.v3
    
    package race
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:09 UTC 2022
    - 245 bytes
    - Viewed (0)
  2. src/runtime/race/README

    runtime/race package contains the data race detector runtime library.
    It is based on ThreadSanitizer race detector, that is currently a part of
    the LLVM project (https://github.com/llvm/llvm-project/tree/main/compiler-rt).
    
    To update the .syso files use golang.org/x/build/cmd/racebuild.
    
    internal/amd64v1/race_darwin.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:19:32 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/runtime/race/race_windows_test.go

    //go:build windows && race
    
    package race_test
    
    import (
    	"sync/atomic"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    func TestAtomicMmap(t *testing.T) {
    	// Test that atomic operations work on "external" memory. Previously they crashed (#16206).
    	// Also do a sanity correctness check: under race detector atomic operations
    	// are implemented inside of race runtime.
    	kernel32 := syscall.NewLazyDLL("kernel32.dll")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_race_install_cgo.txt

    # Tests Issue #10500
    
    [!race] skip
    
    env GOBIN=$WORK/bin
    go install m/mtime m/sametime
    
    go tool -n cgo
    cp stdout cgopath.txt
    exec $GOBIN/mtime cgopath.txt # get the mtime of the file whose name is in cgopath.txt
    cp stdout cgotime_before.txt
    
     # For this test, we don't actually care whether 'go test -race -i' succeeds.
     # It may fail if GOROOT is read-only (perhaps it was installed as root).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 27 14:03:15 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/testing_issue40908.txt

    [short] skip
    [!race] skip
    
    go test -race testrace
    
    -- go.mod --
    module testrace
    
    go 1.16
    -- race_test.go --
    package testrace
    
    import "testing"
    
    func TestRace(t *testing.T) {
    	helperDone := make(chan struct{})
    	go func() {
    		t.Logf("Something happened before cleanup.")
    		close(helperDone)
    	}()
    
    	t.Cleanup(func() {
    		<-helperDone
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 336 bytes
    - Viewed (0)
  6. src/runtime/race/syso_test.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 race
    
    package race
    
    import (
    	"bytes"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"testing"
    )
    
    func TestIssue37485(t *testing.T) {
    	files, err := filepath.Glob("./*.syso")
    	if err != nil {
    		t.Fatalf("can't find syso files: %s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 725 bytes
    - Viewed (0)
  7. doc/go_mem.html

    This property is sometimes referred to as DRF-SC: data-race-free programs
    execute in a sequentially consistent manner.
    </p>
    
    <p>
    While programmers should write Go programs without data races,
    there are limitations to what a Go implementation can do in response to a data race.
    An implementation may always react to a data race by reporting the race and terminating the program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. src/runtime/race/mkcgo.sh

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Code generated by mkcgo.sh. DO NOT EDIT.
    
    //go:build race
    
    '
    
    convert() {
    	(echo "$hdr"; go tool cgo -dynpackage race -dynimport $1) | gofmt
    }
    
    convert race_darwin_arm64.syso >race_darwin_arm64.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 444 bytes
    - Viewed (0)
  9. test/fixedbugs/issue24651a.go

    //errorcheck -0 -race -m -m
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // Copyright 2018 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 main
    
    //go:norace
    func Foo(x int) int { // ERROR "cannot inline Foo: marked go:norace with -race compilation$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 881 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/plan9/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 plan9 && !race
    
    package plan9
    
    import (
    	"unsafe"
    )
    
    const raceenabled = false
    
    func raceAcquire(addr unsafe.Pointer) {
    }
    
    func raceReleaseMerge(addr unsafe.Pointer) {
    }
    
    func raceReadRange(addr unsafe.Pointer, len int) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 450 bytes
    - Viewed (0)
Back to top