Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for musthave (0.17 sec)

  1. src/runtime/ehooks_test.go

    		scenarios := []struct {
    			mode     string
    			expected string
    			musthave []string
    		}{
    			{
    				mode:     "simple",
    				expected: "bar foo",
    			},
    			{
    				mode:     "goodexit",
    				expected: "orange apple",
    			},
    			{
    				mode:     "badexit",
    				expected: "blub blix",
    			},
    			{
    				mode: "panics",
    				musthave: []string{
    					"fatal error: exit hook invoked panic",
    					"main.testPanics",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/internal/trace/event/requirements.go

    type Constraint uint8
    
    const (
    	MustNotHave Constraint = iota
    	MayHave
    	MustHave
    )
    
    // UserGoReqs is a common requirement among events that are running
    // or are close to running user code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 685 bytes
    - Viewed (0)
  3. src/internal/trace/order.go

    		return curCtx, false, fmt.Errorf("%s event for proc that's not %s or %s", go122.EventString(ev.typ), go122.ProcRunning, go122.ProcSyscall)
    	}
    	reqs := event.SchedReqs{Thread: event.MustHave, Proc: event.MustHave, Goroutine: event.MayHave}
    	if err := validateCtx(curCtx, reqs); err != nil {
    		return curCtx, false, err
    	}
    	state.status = go122.ProcIdle
    	newCtx := curCtx
    	newCtx.P = NoProc
    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