- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,013 for Value (0.05 sec)
-
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: 2024-06-12 16:32 - Last Modified: 2024-05-16 16:12 - 13.3K bytes - Viewed (0) -
src/internal/reflectlite/value.go
func ValueOf(i any) Value { if i == nil { return Value{} } return unpackEface(i) } // assignTo returns a value v that can be assigned directly to typ. // It panics if v is not assignable to typ. // For a conversion to an interface type, target is a suggested scratch space to use. func (v Value) assignTo(context string, dst *abi.Type, target unsafe.Pointer) Value { // if v.flag&flagMethod != 0 {
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-07 17:01 - 13.6K bytes - Viewed (0) -
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: 2024-06-15 01:39 - Last Modified: 2022-10-10 22:05 - 20.5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/value.h
// initialized value. type_ = NONE; } } ~TaggedValue() { destroy(); } /// @brief Get the underlying value based on type. /// /// @tparam T The desired return type. /// @return The unwrapped value. If this `TaggedValue` type does not currently /// contain a value of type `T`, the program terminates via a call to /// `assert`.
Registered: 2024-06-16 05:45 - Last Modified: 2024-04-13 05:23 - 20.4K bytes - Viewed (0) -
internal/s3select/sql/value.go
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{}} } // FromBytes creates a Value from a []byte func FromBytes(b []byte) *Value { return &Value{value: b} }
Registered: 2024-06-16 00:44 - Last Modified: 2022-02-25 20:31 - 20.2K bytes - Viewed (0) -
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: 2024-06-12 16:32 - Last Modified: 2023-09-18 20:01 - 11K bytes - Viewed (0) -
src/go/constant/value.go
} Error: panic(fmt.Sprintf("invalid binary operation %v %s %v", x_, op, y_)) } func add(x, y Value) Value { return BinaryOp(x, token.ADD, y) } func sub(x, y Value) Value { return BinaryOp(x, token.SUB, y) } func mul(x, y Value) Value { return BinaryOp(x, token.MUL, y) } func quo(x, y Value) Value { return BinaryOp(x, token.QUO, y) } // Shift returns the result of the shift expression x op s
Registered: 2024-06-12 16:32 - Last Modified: 2023-10-19 12:02 - 34K bytes - Viewed (0) -
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: 2024-06-12 16:32 - Last Modified: 2024-05-03 16:40 - 16.7K bytes - Viewed (0) -
src/main/config/eclipse/formatter/java.xml
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/> <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/> <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/> <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/> <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
Registered: 2024-06-12 13:08 - Last Modified: 2017-09-17 06:39 - 30.5K bytes - Viewed (0) -
src/config/eclipse/formatter/java.xml
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/> <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/> <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/> <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/> <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
Registered: 2024-06-12 15:38 - Last Modified: 2015-03-23 21:27 - 30.5K bytes - Viewed (0)