Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 853 for race (0.06 sec)

  1. src/runtime/race/race_v1_amd64.go

    // 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) || darwin || freebsd || netbsd || openbsd || windows
    
    package race
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:09 UTC 2022
    - 301 bytes
    - Viewed (0)
  2. src/internal/godebug/godebug_test.go

    	}
    }
    
    // TestPanicNilRace checks for a race in the runtime caused by use of runtime
    // atomics (not visible to usual race detection) to install the counter for
    // non-default panic(nil) semantics.  For #64649.
    func TestPanicNilRace(t *testing.T) {
    	if !race.Enabled {
    		t.Skip("Skipping test intended for use with -race.")
    	}
    	if os.Getenv("GODEBUG") != "panicnil=1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_pkgall_runtime.txt

    env GO111MODULE=off
    
    # Issue 23882
    
    [short] skip
    
    go test -coverpkg=all x
    stdout ok[\s\S]+?coverage
    
    [!race] stop
    
    go test -coverpkg=all -race x
    stdout ok[\s\S]+?coverage
    
    -- x/x.go --
    package x
    import _ "runtime"
    func F() {}
    
    -- x/x_test.go --
    package x
    import "testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 19 19:57:03 UTC 2019
    - 305 bytes
    - Viewed (0)
  4. src/sync/mutex.go

    	if atomic.CompareAndSwapInt32(&m.state, 0, mutexLocked) {
    		if race.Enabled {
    			race.Acquire(unsafe.Pointer(m))
    		}
    		return
    	}
    	// Slow path (outlined so that the fast path can be inlined)
    	m.lockSlow()
    }
    
    // TryLock tries to lock m and reports whether it succeeded.
    //
    // Note that while correct uses of TryLock do exist, they are rare,
    // and use of TryLock is often a sign of a deeper problem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/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 windows && !race
    
    package windows
    
    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
    - 454 bytes
    - Viewed (0)
  6. src/regexp/exec2_test.go

    // Copyright 2013 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 regexp
    
    import (
    	"testing"
    )
    
    // This test is excluded when running under the race detector because
    // it is a very expensive test and takes too long.
    func TestRE2Exhaustive(t *testing.T) {
    	if testing.Short() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 508 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_test_race_issue56370.txt

    [short] skip
    [!race] skip
    
    go test -race -cover issue.56370/filter
    
    -- go.mod --
    module issue.56370
    
    go 1.20
    
    -- filter/filter.go --
    
    package filter
    
    func New() func(error) bool {
    	return func(error) bool {
    		return false
    	}
    }
    
    -- filter/filter_test.go --
    
    package filter_test
    
    import (
    	"testing"
    
    	"issue.56370/filter"
    )
    
    func Test1(t *testing.T) {
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 21 19:41:54 UTC 2022
    - 576 bytes
    - Viewed (0)
  8. test/fixedbugs/issue17449.go

    // errorcheck -0 -race
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // Copyright 2016 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.
    
    // Issue 17449: race instrumentation copies over previous instrumented nodes from parents block into child's Ninit block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue15091.go

    // errorcheck -0 -race
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // Copyright 2016 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 sample
    
    type Html struct {
    	headerIDs map[string]int
    }
    
    // We don't want to see:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 989 bytes
    - Viewed (0)
  10. cni/pkg/config/config.go

    	AmbientIPv6 bool
    }
    
    // RepairConfig struct defines the Istio CNI race repair configuration
    type RepairConfig struct {
    	// Whether to enable CNI race repair
    	Enabled bool
    
    	// The node name that the CNI DaemonSet runs on
    	NodeName string
    
    	// Key and value for broken pod label
    	LabelKey   string
    	LabelValue string
    
    	// Whether to fix race condition by repairing them
    	RepairPods bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top