- Sort Score
- Result 10 results
- Languages All
Results 81 - 83 of 83 for NewValue (0.14 sec)
-
src/reflect/all_test.go
func TestAlias(t *testing.T) { x := string("hello") v := ValueOf(&x).Elem() oldvalue := v.Interface() v.SetString("world") newvalue := v.Interface() if oldvalue != "hello" || newvalue != "world" { t.Errorf("aliasing: old=%q new=%q, want hello, world", oldvalue, newvalue) } } var V = ValueOf func EmptyInterfaceV(x any) Value { return ValueOf(&x).Elem() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
kind: Baz - name: entry2 apiVersion: v3 kind: Bar `), newObj: mustUnstructured(` subField: apiVersion: v2 kind: Baz otherField: newValue list: - name: entry1 apiVersion: v2 kind: Baz otherField: newValue2 - name: entry2 apiVersion: v3 kind: Bar otherField: newValue3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
} return s.constInt32(t, int32(c)) } func (s *state) constOffPtrSP(t *types.Type, c int64) *ssa.Value { return s.f.ConstOffPtrSP(t, c, s.sp) } // newValueOrSfCall* are wrappers around newValue*, which may create a call to a // soft-float runtime function instead (when emitting soft-float code). func (s *state) newValueOrSfCall1(op ssa.Op, t *types.Type, arg *ssa.Value) *ssa.Value { if s.softFloat {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)