Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,115 for rtrace (0.07 sec)

  1. 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)
  2. 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)
  3. src/race.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # race.bash tests the standard library under the race detector.
    # https://golang.org/doc/articles/race_detector.html
    
    set -e
    
    function usage {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 14:17:20 UTC 2022
    - 919 bytes
    - Viewed (0)
  4. src/race.bat

    goto fail
    L23:call .\env.bat
    L24:del env.bat
    L25:
    L26:if %GOHOSTARCH% == amd64 goto continue
    L27:echo Race detector is only supported on windows/amd64.
    L28:goto fail
    L29:
    L30::continue
    L31:call .\make.bat --no-banner --no-local
    L32:if %GOBUILDFAIL%==1 goto end
    L33:echo # go install -race std
    L34:go install -race std
    L35:if errorlevel 1 goto fail
    L36:
    L37:go tool dist test -race
    L38:
    L39:if errorlevel 1 goto fail
    L40:goto succ
    L41:
    L42::fail
    L43:set GOBUILDFAIL=1
    L44:echo Fail.
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. src/runtime/race/race.go

    // license that can be found in the LICENSE file.
    
    //go:build race && ((linux && (amd64 || arm64 || ppc64le || s390x)) || ((freebsd || netbsd || openbsd || windows) && amd64))
    
    package race
    
    // This file merely ensures that we link in runtime/cgo in race build,
    // this in turn ensures that runtime uses pthread_create to create threads.
    // The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 868 bytes
    - Viewed (0)
  6. src/go/types/builtins.go

    		}
    		// result is constant - no need to record signature
    
    	case _Trace:
    		// trace(x, y, z, ...) dumps the positions, expressions, and
    		// values of its arguments. The result of trace is the value
    		// of the first argument.
    		// Note: trace is only available in self-test mode.
    		// (no argument evaluated yet)
    		if nargs == 0 {
    			check.dump("%v: trace() without arguments", call.Pos())
    			x.mode = novalue
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. src/go/types/typexpr.go

    	if check.conf._Trace {
    		check.trace(e0.Pos(), "-- type %s", e0)
    		check.indent++
    		defer func() {
    			check.indent--
    			var under Type
    			if T != nil {
    				// Calling under() here may lead to endless instantiations.
    				// Test case: type T[P any] *T[P]
    				under = safeUnderlying(T)
    			}
    			if T == under {
    				check.trace(e0.Pos(), "=> %s // %s", T, goTypeName(T))
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. src/internal/trace/summary_test.go

    		"region0":              {trace.EventRegionBegin, trace.EventRegionEnd},
    		"region1":              {trace.EventRegionBegin, trace.EventRegionEnd},
    		"unended region":       {trace.EventRegionBegin, trace.EventStateTransition},
    		"post-existing region": {trace.EventRegionBegin, trace.EventBad},
    	}
    	for _, summary := range summaries {
    		basicGoroutineSummaryChecks(t, summary)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/trace/goroutinegen.go

    package main
    
    import (
    	"internal/trace"
    )
    
    var _ generator = &goroutineGenerator{}
    
    type goroutineGenerator struct {
    	globalRangeGenerator
    	globalMetricGenerator
    	stackSampleGenerator[trace.GoID]
    	logEventGenerator[trace.GoID]
    
    	gStates map[trace.GoID]*gState[trace.GoID]
    	focus   trace.GoID
    	filter  map[trace.GoID]struct{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/internal/trace/trace_test.go

    			{trace.EventTaskBegin, trace.TaskID(1), []string{"task0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region1"}},
    			{trace.EventLog, trace.TaskID(1), []string{"key0", "0123456789abcdef"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region1"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region0"}},
    			{trace.EventTaskEnd, trace.TaskID(1), []string{"task0"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top