Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 109 for Rbrace (0.16 sec)

  1. 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)
  2. src/internal/race/race.go

    // Copyright 2015 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 (
    	"runtime"
    	"unsafe"
    )
    
    const Enabled = true
    
    func Acquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func Release(addr unsafe.Pointer) {
    	runtime.RaceRelease(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 881 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/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 (darwin && race) || (linux && race) || (freebsd && race)
    
    package unix
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    const raceenabled = true
    
    func raceAcquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func raceReleaseMerge(addr unsafe.Pointer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 629 bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/aot/benchmark_main.template

    // clang-format off
    #include "{{TFCOMPILE_HEADER}}"  // NOLINT(whitespace/braces)
    // clang-format on
    
    #include "tensorflow/compiler/aot/benchmark.h"
    #include "unsupported/Eigen/CXX11/Tensor"
    
    // Macros that expand to tokens based on the entry point name.
    // clang-format off
    #define CPP_CLASS {{TFCOMPILE_CPP_CLASS}}  // NOLINT(whitespace/braces)
    // clang-format on
    
    namespace tensorflow {
    namespace tfcompile {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy

            project.sourceSets {
                main
                test
                other
            }
    
            project.pmd {
                sourceSets = [project.sourceSets.main]
                ruleSets = ["java-braces", "java-unusedcode"]
                ruleSetConfig = project.resources.text.fromString("ruleset contents")
                ruleSetFiles = project.getLayout().files("my-ruleset.xml")
                reportsDir = project.file("pmd-reports")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 14:47:31 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    // DefPredeclaredTestFuncs defines the assert and trace built-ins.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    // DefPredeclaredTestFuncs defines the assert and trace built-ins.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top