Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 441 for ktrace (0.2 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/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)
  7. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go

    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("ProcStart", trace.ProcID(1), testgen.Seq(1))
    	b0.Event("GoSyscallEndBlocked")
    
    	// A running goroutine steals proc 0.
    	b1 := g.Batch(trace.ThreadID(1), 0)
    	b1.Event("ProcStatus", trace.ProcID(2), go122.ProcRunning)
    	b1.Event("GoStatus", trace.GoID(2), trace.ThreadID(1), go122.GoRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/annotations-stress.go

    	t3.End()
    	trace.Stop()
    	t2.End()
    	t0.End()
    }
    
    func do(ctx context.Context, k int) {
    	trace.Log(ctx, "log", "before do")
    
    	var t *trace.Task
    	ctx, t = trace.NewTask(ctx, "do")
    	defer t.End()
    
    	trace.Log(ctx, "log2", "do")
    
    	// Create a region and spawn more tasks and more workers.
    	trace.WithRegion(ctx, "fanout", func() {
    		for i := 0; i < k; i++ {
    			go func(i int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/ProblemDescription.kt

        else -> "$kind '$name' of '${taskPathFrom(trace)}'"
    }
    
    
    fun taskPathFrom(trace: PropertyTrace): String =
        trace.sequence.filterIsInstance<PropertyTrace.Task>().first().path
    
    
    fun projectPathFrom(trace: PropertyTrace): String =
        trace.sequence.filterIsInstance<PropertyTrace.Project>().first().path
    
    
    fun firstTypeFrom(trace: PropertyTrace): Class<*> =
        trace.sequence.mapNotNull { typeFrom(it) }.first()
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/trace/viewer.go

    package main
    
    import (
    	"fmt"
    	"internal/trace"
    	"internal/trace/traceviewer"
    	"time"
    )
    
    // viewerFrames returns the frames of the stack of ev. The given frame slice is
    // used to store the frames to reduce allocations.
    func viewerFrames(stk trace.Stack) []*trace.Frame {
    	var frames []*trace.Frame
    	stk.Frames(func(f trace.StackFrame) bool {
    		frames = append(frames, &trace.Frame{
    			PC:   f.PC,
    			Fn:   f.Func,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top