- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 399 for revalue (0.12 sec)
-
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) -
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: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
pkg/test/csrctrl/signer/ca_provider.go
RawCert: certPEM, RawKey: keyPEM, Certificate: certs[0], PrivateKey: priv, Backdate: 5 * time.Minute, } p.caValue.Store(ca) return nil } // currentCA provides the current value of the CA. // It always check for a stale value. This is cheap because it's all an in memory cache of small slices. func (p *caProvider) currentCA() (*authority.CertificateAuthority, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 27 08:14:39 UTC 2021 - 4.4K 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: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
* an Enum, otherwise the method which accepts a {@code String} is called with the unmodified {@code value}. * * @param testNg the TestNG instance. * @param value The configured value to set, as a string. */ private void setConfigFailurePolicy(TestNG testNg, String value) { Class<?> argType; Object argValue;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0)