Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for numberValue (0.41 sec)

  1. operator/pkg/util/util.go

    }
    
    func ValueString(v *structpb.Value) string {
    	switch x := v.Kind.(type) {
    	case *structpb.Value_StringValue:
    		return x.StringValue
    	case *structpb.Value_NumberValue:
    		return fmt.Sprint(x.NumberValue)
    	default:
    		return v.String()
    	}
    }
    
    func MustStruct(m map[string]any) *structpb.Struct {
    	s, _ := structpb.NewStruct(m)
    	return s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 02 13:01:43 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/static/trace_viewer_full.html

    get displayElement(){return this.displayElement_;}
    compare(other){if(this.numberValue===undefined){if(other.numberValue===undefined){return this.name.localeCompare(other.name);}
    return 1;}
    if(other.numberValue===undefined){return-1;}
    if(this.numberValue===other.numberValue){return this.name.localeCompare(other.name);}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top