Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 853 for race (0.07 sec)

  1. src/cmd/go/testdata/script/build_pie_race.txt

    # go build -buildmode=pie -race main.go on Darwin should work without errors
    
    [!race] skip 'test requires race detector support'
    
    [!GOOS:darwin] ! go build -buildmode=pie -race
    [!GOOS:darwin] stderr '^-buildmode=pie not supported when -race is enabled on '$GOOS'/'$GOARCH'$'
    [!GOOS:darwin] stop 'not testing -buildmode=pie -race on platform that does not support it'
    
    go build -buildmode=pie -race bytes
    ! stderr .
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 672 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_empty.txt

    [!race] skip
    
    cd $GOPATH/src/empty/pkg
    go test -cover -coverpkg=. -race
    
    [short] stop # Only run first case in short mode
    
    cd $GOPATH/src/empty/test
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/xtest
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/pkgtest
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/pkgxtest
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/pkgtestxtest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 1K bytes
    - Viewed (0)
  3. src/testing/testing_test.go

    	// reported here (after m.Run but before the process exits), it will print
    	// "PASS", then print the stack traces for the race, then exit with nonzero
    	// status.
    	//
    	// This is a somewhat fundamental race: because the race detector hooks into
    	// the runtime at a very low level, no matter where we put the printing it
    	// would be possible to report a race that occurs afterward. However, we could
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/runtime/race/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package race implements data race detection logic.
    // No public interface is provided.
    // For details about the race detector see
    // https://golang.org/doc/articles/race_detector.html
    package race
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 386 bytes
    - Viewed (0)
  5. src/iter/iter.go

    		seqDone = true
    	})
    	next = func() (v1 V, ok1 bool) {
    		race.Write(unsafe.Pointer(&racer)) // detect races
    
    		if done {
    			return
    		}
    		if yieldNext {
    			panic("iter.Pull: next called again before yield")
    		}
    		yieldNext = true
    		race.Release(unsafe.Pointer(&racer))
    		coroswitch(c)
    		race.Acquire(unsafe.Pointer(&racer))
    
    		// Propagate panics and goexits from seq.
    		if panicValue != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. Makefile

    test-configfile: install-race
    	@env bash $(PWD)/docs/distributed/distributed-from-config-file.sh
    
    test-upgrade: install-race
    	@echo "Running minio upgrade tests"
    	@(env bash $(PWD)/buildscripts/minio-upgrade.sh)
    
    test-race: verifiers build ## builds minio, runs linters, tests (race)
    	@echo "Running unit tests under -race"
    	@(env bash $(PWD)/buildscripts/race.sh)
    
    test-iam: install-race ## verify IAM (external IDP, etcd backends)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/version_build_settings.txt

    go version -m m$GOEXE
    ! stdout gccgoflags
    
    # Build and tool tags are added but not release tags.
    # "race" is included with build tags but not "cgo".
    go build -tags=a,b
    go version -m m$GOEXE
    stdout '^\tbuild\t-tags=a,b$'
    [race] go build -race
    [race] go version -m m$GOEXE
    [race] ! stdout '^\tbuild\t-tags='
    [race] stdout '^\tbuild\t-race=true$'
    
    # CGO flags are separate settings.
    # CGO_ENABLED is always present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. src/internal/race/doc.go

    // license that can be found in the LICENSE file.
    
    /*
    Package race contains helper functions for manually instrumenting code for the race detector.
    
    The runtime package intentionally exports these functions only in the race build;
    this package exports them unconditionally but without the "race" build tag they are no-ops.
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 448 bytes
    - Viewed (0)
  9. src/cmd/internal/objabi/stack.go

    func stackGuardMultiplier(race bool) int {
    	// This arithmetic must match that in runtime/internal/sys/consts.go:StackGuardMultiplier.
    	n := 1
    	// On AIX, a larger stack is needed for syscalls.
    	if buildcfg.GOOS == "aix" {
    		n += 1
    	}
    	// The race build also needs more stack.
    	if race {
    		n += 1
    	}
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_race_cover_mode_issue20435.txt

    [short] skip
    [!race] skip
    
    # Make sure test is functional.
    go test testrace
    
    # Now, check that -race -covermode=set is not allowed.
    ! go test -race -covermode=set testrace
    stderr '-covermode must be "atomic", not "set", when -race is enabled'
    ! stdout PASS
    ! stderr PASS
    
    -- go.mod --
    module testrace
    
    go 1.16
    -- race_test.go --
    package testrace
    
    import "testing"
    
    func TestRace(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 680 bytes
    - Viewed (0)
Back to top