Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 185 for goio (0.07 sec)

  1. src/internal/trace/resources.go

    // P in particular.
    const NoProc = ProcID(-1)
    
    // GoID is the runtime-internal G structure's goid field. This is unique
    // for each goroutine.
    type GoID int64
    
    // NoGoroutine indicates that the relevant events don't correspond to any
    // goroutine in particular.
    const NoGoroutine = GoID(-1)
    
    // GoState represents the state of a goroutine.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/windowsStartScript.txt

    set DEFAULT_JVM_OPTS=${defaultJvmOpts}
    
    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if %ERRORLEVEL% equ 0 goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
    echo. 1>&2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 13:16:41 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-confuse-seq-across-generations.go

    	b21.Event("GoStart", trace.GoID(1), testgen.Seq(2))
    
    	// The goroutine starts running, then stops, then starts again.
    	b20 := g2.Batch(trace.ThreadID(0), 5)
    	b20.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b20.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunnable)
    	b20.Event("GoStart", trace.GoID(1), testgen.Seq(1))
    	b20.Event("GoStop", "whatever", testgen.NoStack)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    		modinfo = ""
    	}
    }
    
    func dumpgstatus(gp *g) {
    	thisg := getg()
    	print("runtime:   gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
    	print("runtime: getg:  g=", thisg, ", goid=", thisg.goid, ",  g->atomicstatus=", readgstatus(thisg), "\n")
    }
    
    // sched.lock must be held.
    func checkmcount() {
    	assertLockHeld(&sched.lock)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. src/cmd/trace/threadgen.go

    			g.threads[ev.Thread()] = struct{}{}
    		}
    	}
    
    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ThreadID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/trace/pprof.go

    // If the id string is empty, returns nil without an error.
    func pprofMatchingGoroutines(name string, t *parsedTrace) (map[trace.GoID][]interval, error) {
    	res := make(map[trace.GoID][]interval)
    	for _, g := range t.summary.Goroutines {
    		if name != "" && g.Name != name {
    			continue
    		}
    		endTime := g.EndTime
    		if g.EndTime == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    	b0.Event("GoCreateSyscall", trace.GoID(4))
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle)
    	b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1))
    	b0.Event("GoSyscallEndBlocked")
    	b0.Event("GoStart", trace.GoID(4), testgen.Seq(1))
    	b0.Event("GoSyscallBegin", testgen.Seq(2), testgen.NoStack)
    	b0.Event("GoDestroySyscall")
    	b0.Event("GoCreateSyscall", trace.GoID(4))
    	b0.Event("GoSyscallEnd")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/internal/trace/oldtrace.go

    	case oldtrace.EvGoCreate:
    		if it.preInit {
    			it.createdPreInit[GoID(ev.Args[0])] = struct{}{}
    			return Event{}, errSkip
    		}
    		mappedType = go122.EvGoCreate
    	case oldtrace.EvGoStart:
    		if it.preInit {
    			mappedType = go122.EvGoStatus
    			mappedArgs = timedEventArgs{ev.Args[0], ^uint64(0), uint64(go122.GoRunning)}
    			delete(it.createdPreInit, GoID(ev.Args[0]))
    		} else {
    			mappedType = go122.EvGoStart
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/stmt0.go

    		}
    	}
    
    	switch x {
    	case 0:
    		goto L1
    		L1: fallthrough; ;
    	case 1:
    		goto L2
    		goto L3
    		goto L4
    		L2: L3: L4: fallthrough
    	default:
    	}
    
    	switch x {
    	case 0:
    		goto L5
    		L5: fallthrough
    	default:
    		goto L6
    		goto L7
    		goto L8
    		L6: L7: L8: fallthrough /* ERROR "cannot fallthrough final case in switch" */
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/internal/runtime/exithook/hooks.go

    // If an exit hook invokes exit in another goroutine, that exit will block.
    func Run(code int) {
    	for !locked.CompareAndSwap(0, 1) {
    		if Goid() == runGoid.Load() {
    			Throw("exit hook invoked exit")
    		}
    		Gosched()
    	}
    	defer locked.Store(0)
    	runGoid.Store(Goid())
    	defer runGoid.Store(0)
    
    	defer func() {
    		if e := recover(); e != nil {
    			Throw("exit hook invoked panic")
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top