- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for ptrTo (0.11 sec)
-
src/cmd/compile/internal/ssa/deadstore_test.go
// types of the address fields are identical (where identicalness is // decided by the CSE pass). c := testConfig(t) t1 := c.config.Types.UInt64.PtrTo() t2 := c.config.Types.UInt32.PtrTo() fun := c.Fun("entry", Bloc("entry", Valu("start", OpInitMem, types.TypeMem, 0, nil), Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil), Valu("v", OpConstBool, c.config.Types.Bool, 1, nil),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 5.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
(Load <t.FieldType(0)> (OffPtr <t.FieldType(0).PtrTo()> [0] ptr) mem) (Load <t.FieldType(1)> (OffPtr <t.FieldType(1).PtrTo()> [t.FieldOff(1)] ptr) mem) (Load <t.FieldType(2)> (OffPtr <t.FieldType(2).PtrTo()> [t.FieldOff(2)] ptr) mem)) (Load <t> ptr mem) && t.IsStruct() && t.NumFields() == 4 && CanSSA(t) => (StructMake4 (Load <t.FieldType(0)> (OffPtr <t.FieldType(0).PtrTo()> [0] ptr) mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
scan.go
values[idx] = reflect.New(reflect.PtrTo(field.FieldType)).Interface() continue } values[idx] = new(interface{}) } } else if len(columnTypes) > 0 { for idx, columnType := range columnTypes { if columnType.ScanType() != nil { values[idx] = reflect.New(reflect.PtrTo(columnType.ScanType())).Interface() } else { values[idx] = new(interface{}) } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10K bytes - Viewed (0) -
src/reflect/badlinkname.go
func badlinkname_rtype_Size(*rtype) uintptr //go:linkname badlinkname_rtype_String reflect.(*rtype).String func badlinkname_rtype_String(*rtype) string //go:linkname badlinkname_rtype_ptrTo reflect.(*rtype).ptrTo func badlinkname_rtype_ptrTo(*rtype) *abi.Type //go:linkname badlinkname_Value_pointer reflect.(*Value).pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/passbm_test.go
b.ResetTimer() for i := 0; i < passCount; i++ { fn(fun.f) } b.StopTimer() } func genFunction(size int) []bloc { var blocs []bloc elemType := types.Types[types.TINT64] ptrType := elemType.PtrTo() valn := func(s string, m, n int) string { return fmt.Sprintf("%s%d-%d", s, m, n) } blocs = append(blocs, Bloc("entry", Valu(valn("store", 0, 4), OpInitMem, types.TypeMem, 0, nil),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
} if namespaceIsSet { paramRef.Namespace = matchingNamespace } if denyNotFound { paramRef.ParameterNotFoundAction = ptrTo(admissionregistrationv1.DenyAction) } else { paramRef.ParameterNotFoundAction = ptrTo(admissionregistrationv1.AllowAction) } compiler := &fakeCompiler{} matcher := &fakeMatcher{ DefaultMatch: true, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
base.Fatalf("backingArrayPtrLen not cheap: %v", n) } ptr = ir.NewUnaryExpr(base.Pos, ir.OSPTR, n) if n.Type().IsString() { ptr.SetType(types.Types[types.TUINT8].PtrTo()) } else { ptr.SetType(n.Type().Elem().PtrTo()) } ptr.SetTypecheck(1) length = ir.NewUnaryExpr(base.Pos, ir.OLEN, n) length.SetType(types.Types[types.TINT]) length.SetTypecheck(1) return ptr, length }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/reflect/type.go
var ptrMap sync.Map // map[*rtype]*ptrType // PtrTo returns the pointer type with element t. // For example, if t represents type Foo, PtrTo(t) represents *Foo. // // PtrTo is the old spelling of [PointerTo]. // The two functions behave identically. // // Deprecated: Superseded by [PointerTo]. func PtrTo(t Type) Type { return PointerTo(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
api/go1.22.txt
pkg net/http, method (*Request) SetPathValue(string, string) #61410 pkg net/netip, method (AddrPort) Compare(AddrPort) int #61642 pkg os, method (*File) WriteTo(io.Writer) (int64, error) #58808 pkg reflect, func PtrTo //deprecated #59599 pkg reflect, func TypeFor[$0 interface{}]() Type #60088 pkg slices, func Concat[$0 interface{ ~[]$1 }, $1 interface{}](...$0) $0 #56353 pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// Get interface descriptor word. // For empty interfaces this will be the type. // For non-empty interfaces this will be the itab. srcItab := ir.NewUnaryExpr(base.Pos, ir.OITAB, s.srcName) srcData := ir.NewUnaryExpr(base.Pos, ir.OIDATA, s.srcName) srcData.SetType(types.Types[types.TUINT8].PtrTo()) srcData.SetTypecheck(1) // For empty interfaces, do:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0)