- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 278 for value_ (0.08 sec)
-
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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy
Property<String> testProvider = new DefaultProperty<>(Mock(PropertyHost), String).convention("lazy value") container.attributeProvider(testAttr, testProvider) when: "adding a set value testAttr" container.attribute(testAttr, "set value") then: "the set value should be retrievable" "set value" == container.getAttribute(testAttr) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 08 14:34:28 UTC 2023 - 15.3K bytes - Viewed (0) -
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) -
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) -
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) -
src/vendor/golang.org/x/crypto/cryptobyte/asn1.go
components := make([]int, len(bytes)+1) // The first varint is 40*value1 + value2: // According to this packing, value1 can take the values 0, 1 and 2 only. // When value1 = 0 or value1 = 1, then value2 is <= 39. When value1 = 2, // then there are no restrictions on value2. var v int if !bytes.readBase128Int(&v) { return false } if v < 80 { components[0] = v / 40
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 21.5K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
return p } return "" } // Tags - a rule can either have tag under <filter></filter> or under // <filter><and></and></filter>. This method returns all the tags from the // rule in the format tag1=value1&tag2=value2 func (r Rule) Tags() string { if !r.Filter.Tag.IsEmpty() { return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer for _, t := range r.Filter.And.Tags {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go
Requirement{"key", selection.In, []string{"value", "value1"}}, Requirement{"key2", selection.In, []string{"value2"}}, }, label: "key2", expectedFound: true, expectedValue: "value2", }, { name: "keyEqualOperatorExactMatch", sel: internalSelector{Requirement{"key", selection.Equals, []string{"value"}}}, label: "key", expectedFound: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 29.9K bytes - Viewed (0)