Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for KindFloat64 (0.23 sec)

  1. src/runtime/metrics/description.go

    			"This metric is an overestimate, and not directly comparable to " +
    			"system CPU time measurements. Compare only with other /cpu/classes " +
    			"metrics.",
    		Kind:       KindFloat64,
    		Cumulative: true,
    	},
    	{
    		Name: "/cpu/classes/gc/mark/dedicated:cpu-seconds",
    		Description: "Estimated total CPU time spent performing GC tasks on " +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/runtime/metrics/value.go

    	// KindBad indicates that the Value has no type and should not be used.
    	KindBad ValueKind = iota
    
    	// KindUint64 indicates that the type of the Value is a uint64.
    	KindUint64
    
    	// KindFloat64 indicates that the type of the Value is a float64.
    	KindFloat64
    
    	// KindFloat64Histogram indicates that the type of the Value is a *Float64Histogram.
    	KindFloat64Histogram
    )
    
    // Value represents a metric value returned by the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/log/slog/value.go

    type Kind int
    
    // The following list is sorted alphabetically, but it's also important that
    // KindAny is 0 so that a zero Value represents nil.
    
    const (
    	KindAny Kind = iota
    	KindBool
    	KindDuration
    	KindFloat64
    	KindInt64
    	KindString
    	KindTime
    	KindUint64
    	KindGroup
    	KindLogValuer
    )
    
    var kindStrings = []string{
    	"Any",
    	"Bool",
    	"Duration",
    	"Float64",
    	"Int64",
    	"String",
    	"Time",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/log/slog/json_handler.go

    	case KindString:
    		s.appendString(v.str())
    	case KindInt64:
    		*s.buf = strconv.AppendInt(*s.buf, v.Int64(), 10)
    	case KindUint64:
    		*s.buf = strconv.AppendUint(*s.buf, v.Uint64(), 10)
    	case KindFloat64:
    		// json.Marshal is funny about floats; it doesn't
    		// always match strconv.AppendFloat. So just call it.
    		// That's expensive, but floats are rare.
    		if err := appendJSONMarshal(s.buf, v.Float64()); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg log/slog, const KindBool = 1 #56345
    pkg log/slog, const KindBool Kind #56345
    pkg log/slog, const KindDuration = 2 #56345
    pkg log/slog, const KindDuration Kind #56345
    pkg log/slog, const KindFloat64 = 3 #56345
    pkg log/slog, const KindFloat64 Kind #56345
    pkg log/slog, const KindGroup = 8 #56345
    pkg log/slog, const KindGroup Kind #56345
    pkg log/slog, const KindInt64 = 4 #56345
    pkg log/slog, const KindInt64 Kind #56345
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. src/runtime/metrics_test.go

    			switch vNew.Kind() {
    			case metrics.KindUint64:
    				new := vNew.Uint64()
    				old := vOld.Uint64()
    				if new < old {
    					t.Errorf("%s decreased: %d < %d", name, new, old)
    				}
    			case metrics.KindFloat64:
    				new := vNew.Float64()
    				old := vOld.Float64()
    				if new < old {
    					t.Errorf("%s decreased: %f < %f", name, new, old)
    				}
    			case metrics.KindFloat64Histogram:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Int64Value", Func, 21},
    		{"IntValue", Func, 21},
    		{"JSONHandler", Type, 21},
    		{"Kind", Type, 21},
    		{"KindAny", Const, 21},
    		{"KindBool", Const, 21},
    		{"KindDuration", Const, 21},
    		{"KindFloat64", Const, 21},
    		{"KindGroup", Const, 21},
    		{"KindInt64", Const, 21},
    		{"KindLogValuer", Const, 21},
    		{"KindString", Const, 21},
    		{"KindTime", Const, 21},
    		{"KindUint64", Const, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top