- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 89 for isptrto (0.13 sec)
-
schema/utils.go
func GetRelationsValues(ctx context.Context, reflectValue reflect.Value, rels []*Relationship) (reflectResults reflect.Value) { for _, rel := range rels { reflectResults = reflect.MakeSlice(reflect.SliceOf(reflect.PtrTo(rel.FieldSchema.ModelType)), 0, 1) appendToResults := func(value reflect.Value) { if _, isZero := rel.Field.ValueOf(ctx, value); !isZero { result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value))
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Aug 19 13:35:14 UTC 2023 - 5.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) -
src/go/internal/gccgoimporter/testdata/v1reflect.gox
func (t <type 39>) NumIn () <type -11>; func (t <type 39>) NumOut () <type -11>; func (t <type 39>) Out (i <type -11>) <type 26>; func (t <type 39>) .reflect.runtimeType () <type 21>; func (ct <type 39>) .reflect.ptrTo () <type 39>; func (t <type 39>) Implements (u <type 26>) <type -15>; func (t <type 39>) AssignableTo (u <type 26>) <type -15>; >>; .reflect.val <type 7>; ? <type 42 ".reflect.flag" <type -13>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value.go
} // Unwrap pointers, but track their use. isPtr := false if typeDesc.Kind() == reflect.Pointer { tk := typeDesc typeDesc = typeDesc.Elem() if typeDesc.Kind() == reflect.Pointer { return nil, fmt.Errorf("unsupported type conversion to '%v'", tk) } isPtr = true } if typeDesc.Kind() == reflect.Map { keyType := typeDesc.Key()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 20.5K 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/cmd/compile/internal/ssa/_gen/dec64.rules
(Store {t} dst (Int64Make hi lo) mem) && t.Size() == 8 && !config.BigEndian => (Store {hi.Type} (OffPtr <hi.Type.PtrTo()> [4] dst) hi (Store {lo.Type} dst lo mem)) (Store {t} dst (Int64Make hi lo) mem) && t.Size() == 8 && config.BigEndian => (Store {lo.Type} (OffPtr <lo.Type.PtrTo()> [4] dst) lo (Store {hi.Type} dst hi mem))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 19:35:46 UTC 2022 - 14.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390X.rules
(MOVDload [off1+off2] {mergeSym(sym1,sym2)} base mem) (MOVWZload [off1] {sym1} (MOVDaddr <t> [off2] {sym2} base) mem) && is32Bit(int64(off1)+int64(off2)) && canMergeSym(sym1, sym2) && (base.Op != OpSB || (t.IsPtr() && t.Elem().Alignment()%4 == 0 && (off1+off2)%4 == 0)) =>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 74.3K bytes - Viewed (0) -
src/reflect/abi.go
// pointer bitmap for arguments. inRegPtrs := abi.IntArgRegBitmap{} // Compute abiSeq for input parameters. var in abiSeq if rcvr != nil { stkStep, isPtr := in.addRcvr(rcvr) if stkStep != nil { if isPtr { stackPtrs.append(1) } else { stackPtrs.append(0) } } else { spill += goarch.PtrSize } } for i, arg := range t.InSlice() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K 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) -
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)