Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for value$ (0.1 sec)

  1. 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)
  2. src/log/slog/value.go

    // StringValue returns a new [Value] for a string.
    func StringValue(value string) Value {
    	return Value{num: uint64(len(value)), any: stringptr(unsafe.StringData(value))}
    }
    
    // IntValue returns a [Value] for an int.
    func IntValue(v int) Value {
    	return Int64Value(int64(v))
    }
    
    // Int64Value returns a [Value] for an int64.
    func Int64Value(v int64) Value {
    	return Value{num: uint64(v), any: KindInt64}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/internal/reflectlite/value.go

    // Using == on two Values does not compare the underlying values
    // they represent.
    type Value struct {
    	// typ_ holds the type of the value represented by a Value.
    	// Access using the typ method to avoid escape of v.
    	typ_ *abi.Type
    
    	// Pointer-valued data or, if flagIndir is set, pointer to data.
    	// Valid when either flagIndir is set or typ.pointers() is true.
    	ptr unsafe.Pointer
    
    	// flag holds metadata about the value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. 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)
  5. internal/s3select/sql/value.go

    func FromBool(b bool) *Value {
    	return &Value{value: b}
    }
    
    // FromTimestamp creates a Value from a timestamp
    func FromTimestamp(t time.Time) *Value {
    	return &Value{value: t}
    }
    
    // FromNull creates a Value with Null value
    func FromNull() *Value {
    	return &Value{value: nil}
    }
    
    // FromMissing creates a Value with Missing value
    func FromMissing() *Value {
    	return &Value{value: Missing{}}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  6. src/sync/atomic/value.go

    package atomic
    
    import (
    	"unsafe"
    )
    
    // A Value provides an atomic load and store of a consistently typed value.
    // The zero value for a Value returns nil from [Value.Load].
    // Once [Value.Store] has been called, a Value must not be copied.
    //
    // A Value must not be copied after first use.
    type Value struct {
    	v any
    }
    
    // efaceWords is interface{} internal representation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:48:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/internal/syscall/windows/registry/value.go

    	return k.setStringValue(name, SZ, value)
    }
    
    // SetExpandStringValue sets the data and type of a name value
    // under key k to value and EXPAND_SZ. The value must not contain a zero byte.
    func (k Key) SetExpandStringValue(name, value string) error {
    	return k.setStringValue(name, EXPAND_SZ, value)
    }
    
    // SetStringsValue sets the data and type of a name value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. src/reflect/value.go

    func (v Value) CanAddr() bool {
    	return v.flag&flagAddr != 0
    }
    
    // CanSet reports whether the value of v can be changed.
    // A [Value] can be changed only if it is addressable and was not
    // obtained by the use of unexported struct fields.
    // If CanSet returns false, calling [Value.Set] or any type-specific
    // setter (e.g., [Value.SetBool], [Value.SetInt]) will panic.
    func (v Value) CanSet() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top