Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StringIDs (0.12 sec)

  1. src/internal/trace/event/go122/event.go

    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoBlock: event.Spec{
    		Name:         "GoBlock",
    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoUnblock: event.Spec{
    		Name:         "GoUnblock",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/internal/trace/event/event.go

    	// is present, it is separated from the type with an underscore.
    	// The valid argument types and the Go types they map to are listed
    	// in the ArgTypes variable.
    	Args []string
    
    	// StringIDs indicates which of the arguments are string IDs.
    	StringIDs []int
    
    	// StackIDs indicates which of the arguments are stack IDs.
    	//
    	// The list is not sorted. The first index always refers to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/internal/trace/event.go

    		}
    	}
    	// N.B. Strings referenced by stack frames are validated
    	// early on, when reading the stacks in to begin with.
    
    	// Check strings.
    	for _, i := range spec.StringIDs {
    		id := stringID(e.base.args[i-1])
    		_, ok := e.table.strings.get(id)
    		if !ok {
    			return fmt.Errorf("found invalid string ID %d for event %s", id, spec.Name)
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top