Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ValueKind (0.3 sec)

  1. src/internal/trace/value.go

    import "fmt"
    
    // Value is a dynamically-typed value obtained from a trace.
    type Value struct {
    	kind   ValueKind
    	scalar uint64
    }
    
    // ValueKind is the type of a dynamically-typed value from a trace.
    type ValueKind uint8
    
    const (
    	ValueBad ValueKind = iota
    	ValueUint64
    )
    
    // Kind returns the ValueKind of the value.
    //
    // It represents the underlying structure of the value.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. src/runtime/metrics/value.go

    // license that can be found in the LICENSE file.
    
    package metrics
    
    import (
    	"math"
    	"unsafe"
    )
    
    // ValueKind is a tag for a metric [Value] which indicates its type.
    type ValueKind int
    
    const (
    	// 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
    
    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. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

        private ProviderInternal<? extends Map<? extends K, ? extends V>> checkMapProvider(String valueKind, @Nullable Provider<? extends Map<? extends K, ? extends V>> provider) {
            if (provider == null) {
                throw new IllegalArgumentException(String.format("Cannot set the %s of a property using a null provider.", valueKind));
            }
            ProviderInternal<? extends Map<? extends K, ? extends V>> p = Providers.internal(provider);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/converter_gen.cc

        // Emit a loop to check all operands.
        os << formatv("    for (Value v : top.getODS{0}{1}s({2})) {{\n",
                      // Capitalize the first letter to match the function name
                      valueKind.substr(0, 1).upper(), valueKind.substr(1),
                      static_value.index());
    
        os << "      (void)v;\n"
           << "      if (!("
           << tgfmt(pred.getCondition(), &fctx.withSelf("v.getType()")) << ")) {\n"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go

    func (r ratchetingValueValidator) SetPath(path string) {
    	// Do nothing
    	// Unused by kube-openapi
    }
    
    func (r ratchetingValueValidator) Applies(source interface{}, valueKind reflect.Kind) bool {
    	return true
    }
    
    func isTypeMetaField(path string) bool {
    	return path == "kind" || path == "apiVersion"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 21:17:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/runtime/metrics/doc.go

    users should consider this to be an exceptional and rare event, coinciding with a
    very large change in a particular Go implementation.
    
    Each metric key also has a "kind" (see [ValueKind]) that describes the format of the
    metric's value.
    In the interest of not breaking users of this package, the "kind" for a given metric
    is guaranteed not to change. If it must change, then a new metric will be introduced
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/runtime/metrics/description.go

    	Description string
    
    	// Kind is the kind of value for this metric.
    	//
    	// The purpose of this field is to allow users to filter out metrics whose values are
    	// types which their application may not understand.
    	Kind ValueKind
    
    	// Cumulative is whether or not the metric is cumulative. If a cumulative metric is just
    	// a single number, then it increases monotonically. If the metric is a distribution,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. src/runtime/metrics.go

    		case cpuStatsDep:
    			a.cpuStats.compute()
    		case gcStatsDep:
    			a.gcStats.compute()
    		}
    	}
    	a.ensured = a.ensured.union(missing)
    }
    
    // metricKind is a runtime copy of runtime/metrics.ValueKind and
    // must be kept structurally identical to that type.
    type metricKind int
    
    const (
    	// These values must be kept identical to their corresponding Kind* values
    	// in the runtime/metrics package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg runtime/metrics, const KindBad = 0
    pkg runtime/metrics, const KindBad ValueKind
    pkg runtime/metrics, const KindFloat64 = 2
    pkg runtime/metrics, const KindFloat64 ValueKind
    pkg runtime/metrics, const KindFloat64Histogram = 3
    pkg runtime/metrics, const KindFloat64Histogram ValueKind
    pkg runtime/metrics, const KindUint64 = 1
    pkg runtime/metrics, const KindUint64 ValueKind
    pkg runtime/metrics, func All() []Description
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    if(values.length!==this.valueCount_){throw new Error('Must provide '+this.valueCount_+' values');}
    let isTotal;switch(valueKind){case MultiDimensionalViewBuilder.ValueKind.SELF:isTotal=false;break;case MultiDimensionalViewBuilder.ValueKind.TOTAL:isTotal=true;break;default:throw new Error('Invalid value kind: '+valueKind);}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top