- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 795 for racer (0.1 sec)
-
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) -
src/testing/testing.go
// checkRaces checks whether the global count of data race errors has increased // since c's count was last reset. // // If so, it marks c as having failed due to those races (logging an error for // the first such race), and updates the race counts for the parents of c so // that if they are currently suspended (such as in a call to T.Run) they will // not log separate errors for the race(s). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
manifests/charts/istiod-remote/templates/configmap.yaml
{{- end }} {{- if not (eq .Values.global.proxy.tracer "none") }} tracing: {{- if eq .Values.global.proxy.tracer "lightstep" }} lightstep: # Address of the LightStep Satellite pool address: {{ .Values.global.tracer.lightstep.address }} # Access Token used to communicate with the Satellite pool accessToken: {{ .Values.global.tracer.lightstep.accessToken }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 18:16:49 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/sema_test.go
// want the CAS in the waiter to execute first. Semrelease1(&sema, true, 0) atomic.CompareAndSwapUint32(&res, 0, 2) wg.Wait() // wait for goroutines to finish to avoid data races return res == 1 // did the waiter run first? } func BenchmarkSemTable(b *testing.B) { for _, n := range []int{1000, 2000, 4000, 8000} { b.Run(fmt.Sprintf("OneAddrCollision/n=%d", n), func(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 21 19:37:22 UTC 2022 - 4.2K bytes - Viewed (0) -
tests/tracer_test.go
import ( "context" "time" "gorm.io/gorm/logger" ) type Tracer struct { Logger logger.Interface Test func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) } func (S Tracer) LogMode(level logger.LogLevel) logger.Interface { return S.Logger.LogMode(level) } func (S Tracer) Info(ctx context.Context, s string, i ...interface{}) { S.Logger.Info(ctx, s, i...) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Oct 18 09:28:06 UTC 2022 - 830 bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager.go
} tracer := tracerProvider.Tracer(instrumentationScope) im := &realImageGCManager{ runtime: runtime, policy: policy, imageRecords: make(map[string]*imageRecord), statsProvider: statsProvider, recorder: recorder, nodeRef: nodeRef, tracer: tracer, } return im, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.4K 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/runtime/tracecpu.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // CPU profile -> trace package runtime // traceInitReadCPU initializes CPU profile -> tracer state for tracing. // // Returns a profBuf for reading from. func traceInitReadCPU() { if traceEnabled() { throw("traceInitReadCPU called with trace enabled") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 8.7K bytes - Viewed (0) -
src/testing/sub_test.go
} func TestRacyOutput(t *T) { var runs int32 // The number of running Writes var races int32 // Incremented for each race detected raceDetector := func(b []byte) (int, error) { // Check if some other goroutine is concurrently calling Write. if atomic.LoadInt32(&runs) > 0 { atomic.AddInt32(&races, 1) // Race detected! } atomic.AddInt32(&runs, 1) defer atomic.AddInt32(&runs, -1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 21:27:08 UTC 2023 - 23.8K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
cmd := exec.Command(testenv.GoToolPath(t), "test", "-cover", "-race") cmd.Dir = filepath.Join("testdata", "issue56006") b, err := cmd.CombinedOutput() if err != nil { t.Fatalf("go test -cover -race failed: %v\n%s", err, b) } // Don't want to see any data races in output. avoid := []string{"DATA RACE"} for _, no := range avoid { if strings.Contains(string(b), no) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0)