Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 295 for value1b (0.22 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy

            e.cause instanceof TypeConversionException
            e.cause.message == "Cannot convert string value 'unsupportedEnumValue' to an enum value of type 'org.gradle.execution.commandline.CommandLineTaskConfigurerSpec\$TestEnum' (valid case insensitive values: value1, value2)"
        }
    
        def "configures options on all types that can accommodate the setting"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:36 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/webhook_server.go

    		w.Header().Set("Content-Type", "application/json")
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    			Response: &v1beta1.AdmissionResponse{
    				Allowed: true,
    				AuditAnnotations: map[string]string{
    					"key1": "value1",
    				},
    			},
    		})
    	case "/removeLabel":
    		w.Header().Set("Content-Type", "application/json")
    		pt := v1beta1.PatchTypeJSONPatch
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 15 11:11:25 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  3. src/go/constant/value.go

    //go:generate stringer -type Kind
    
    // Kind specifies the kind of value represented by a [Value].
    type Kind int
    
    const (
    	// unknown values
    	Unknown Kind = iota
    
    	// non-numeric values
    	Bool
    	String
    
    	// numeric values
    	Int
    	Float
    	Complex
    )
    
    // A Value represents the value of a Go constant.
    type Value interface {
    	// Kind returns the value kind.
    	Kind() Kind
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  4. src/internal/trace/value.go

    package trace
    
    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)
  5. src/cmd/compile/internal/ssa/value.go

    	for _, x := range a {
    		x.Uses++
    	}
    }
    func (v *Value) SetArg(i int, w *Value) {
    	v.Args[i].Uses--
    	v.Args[i] = w
    	w.Uses++
    }
    func (v *Value) SetArgs1(a *Value) {
    	v.resetArgs()
    	v.AddArg(a)
    }
    func (v *Value) SetArgs2(a, b *Value) {
    	v.resetArgs()
    	v.AddArg(a)
    	v.AddArg(b)
    }
    func (v *Value) SetArgs3(a, b, c *Value) {
    	v.resetArgs()
    	v.AddArg(a)
    	v.AddArg(b)
    	v.AddArg(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. test/typeparam/value.go

    package main
    
    import "fmt"
    
    type value[T any] struct {
    	val T
    }
    
    func get[T any](v *value[T]) T {
    	return v.val
    }
    
    func set[T any](v *value[T], val T) {
    	v.val = val
    }
    
    func (v *value[T]) set(val T) {
    	v.val = val
    }
    
    func (v *value[T]) get() T {
    	return v.val
    }
    
    func main() {
    	var v1 value[int]
    	set(&v1, 1)
    	if got, want := get(&v1), 1; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/runtime/metrics/value.go

    	KindFloat64Histogram
    )
    
    // Value represents a metric value returned by the runtime.
    type Value struct {
    	kind    ValueKind
    	scalar  uint64         // contains scalar values for scalar Kinds.
    	pointer unsafe.Pointer // contains non-scalar values.
    }
    
    // Kind returns the tag representing the kind of value this is.
    func (v Value) Kind() ValueKind {
    	return v.kind
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            def value1 = flavor('value1')
            def value2 = flavor('value2')
    
            def candidates = [value1, value2] as Set
    
            when:
            def best = schema.matcher().selectionSchema.disambiguate(attr, flavor('requested'), candidates)
    
            then:
            best == [value1] as Set
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/value.go

    func (dv *DynValue) ExprValue() ref.Val {
    	return dv.exprValue
    }
    
    // Value returns the underlying value held by this reference.
    func (dv *DynValue) Value() interface{} {
    	return dv.value
    }
    
    // SetValue updates the underlying value held by this reference.
    func (dv *DynValue) SetValue(value interface{}) error {
    	dv.value = value
    	var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/value.h

      using const_iterator = TU::const_iterator;
      TU values_;
    
     public:
      TU::iterator begin() { return values_.begin(); }
      TU::iterator end() { return values_.end(); }
      TU::const_iterator begin() const { return values_.begin(); }
      TU::const_iterator end() const { return values_.end(); }
      const TU::value_type& operator[](size_t i) const { return values_[i]; }
      TU::value_type& operator[](size_t i) { return values_[i]; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top