- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 263 for A1value (0.12 sec)
-
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) -
schema/serializer.go
func (GobSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) { fieldValue := reflect.New(field.FieldType) if dbValue != nil { var bytesValue []byte switch v := dbValue.(type) { case []byte: bytesValue = v default: return fmt.Errorf("failed to unmarshal gob value: %#v", dbValue) } if len(bytesValue) > 0 {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 08:28:46 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/TaskOptionsSpec.groovy
!output.contains("profile=myvalue") } def "can use -- to specify a task option with same name as a built-in option"() { when: buildScript """ ${defineTaskWithProfileOption()} tasks.register('mytask', MyTask.class) """ then: succeeds "--", "mytask", "--profile", "myvalue" output.contains "profile=myvalue"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go
const shift = 0.7 // Saturation and value (in hsv colorspace) for background colors. const bgSaturation = 0.1 const bgValue = 0.93 // Saturation and value (in hsv colorspace) for foreground colors. const fgSaturation = 1.0 const fgValue = 0.7 // Choose saturation and value based on isBackground. var saturation float64 var value float64 if isBackground { saturation = bgSaturation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 20:51:42 UTC 2022 - 14.8K bytes - Viewed (0) -
pkg/test/framework/scope_test.go
exp := []*resource.FakeResource{ { IDValue: "child-resource", OtherValue: "child", }, { IDValue: "parent-resource", OtherValue: "parent", }, } g := NewWithT(t) parent := newScope("parent", nil) parent.add(exp[1], &resourceID{id: exp[1].IDValue}) child := newScope("child", parent) child.add(exp[0], &resourceID{id: exp[0].IDValue}) var got []OtherInterface err := child.get(&got)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 2.2K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 9.1K bytes - Viewed (0)