Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for go122GoStatus2GoState (0.17 sec)

  1. src/internal/trace/event.go

    	case go122.EvGoStatus, go122.EvGoStatusStack:
    		// N.B. ordering.advance populates e.base.extra.
    		s = goStateTransition(GoID(e.base.args[0]), GoState(e.base.extra(version.Go122)[0]), go122GoStatus2GoState[e.base.args[2]])
    	default:
    		panic(fmt.Sprintf("internal error: unexpected event type for StateTransition kind: %s", go122.EventString(e.base.typ)))
    	}
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. src/internal/trace/order.go

    	gid := GoID(ev.args[0])
    	mid := ThreadID(ev.args[1])
    	status := go122.GoStatus(ev.args[2])
    
    	if int(status) >= len(go122GoStatus2GoState) {
    		return curCtx, false, fmt.Errorf("invalid status for goroutine %d: %d", gid, status)
    	}
    	oldState := go122GoStatus2GoState[status]
    	if s, ok := o.gStates[gid]; ok {
    		if s.status != status {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top