- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for ptrTo (0.07 sec)
-
src/cmd/compile/internal/ir/func.go
} var e Node = NewLinksymExpr(pos, name.LinksymABI(abi), types.Types[types.TUINTPTR]) e = NewAddrExpr(pos, e) e.SetType(types.Types[types.TUINTPTR].PtrTo()) e = NewConvExpr(pos, OCONVNOP, types.Types[types.TUINTPTR], e) e.SetTypecheck(1) return e } // fn is not a defined function. It must be ABIInternal.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
// cond: t.IsStruct() && t.NumFields() == 3 && CanSSA(t) // result: (StructMake3 (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)) for { t := v.Type ptr := v_0 mem := v_1 if !(t.IsStruct() && t.NumFields() == 3 && CanSSA(t)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
schema/field.go
return &serializer{ Field: field, Serializer: si.Interface().(SerializerInterface), } }, } } if field.NewValuePool == nil { field.NewValuePool = poolInitializer(reflect.PtrTo(field.IndirectFieldType)) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
src/reflect/value.go
panic("reflect.Value.Addr of unaddressable value") } // Preserve flagRO instead of using v.flag.ro() so that // v.Addr().Elem() is equivalent to v (#32772) fl := v.flag & flagRO return Value{ptrTo(v.typ()), v.ptr, fl | flag(Pointer)} } // Bool returns v's underlying value. // It panics if v's kind is not [Bool]. func (v Value) Bool() bool { // panicNotBool is split out to keep Bool inlineable.
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/ssagen/ssa.go
if buildcfg.GOARM64.LSE { emit(s, n, args, op1, typ) } else { // Target Atomic feature is identified by dynamic detection addr := s.entryNewValue1A(ssa.OpAddr, types.Types[types.TBOOL].PtrTo(), ir.Syms.ARM64HasATOMICS, s.sb) v := s.load(types.Types[types.TBOOL], addr) b := s.endBlock() b.Kind = ssa.BlockIf b.SetControl(v) bTrue := s.f.NewBlock(ssa.BlockPlain)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/order.go
} tmp := o.newTemp(kt, true) // *(*nt)(&tmp) = n var e ir.Node = typecheck.NodAddr(tmp) e = ir.NewConvExpr(pos, ir.OCONVNOP, nt.PtrTo(), e) e = ir.NewStarExpr(pos, e) o.append(ir.NewAssignStmt(pos, e, n)) return tmp } } // mapKeyReplaceStrConv replaces OBYTES2STR by OBYTES2STRTMP
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:33 UTC 2024 - 42.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/reflect/all_test.go
check("ArrayOf", ArrayOf(10, TypeOf(T{}))) check("ChanOf", ChanOf(BothDir, TypeOf(T{}))) check("FuncOf", FuncOf([]Type{TypeOf(T{})}, nil, false)) check("MapOf", MapOf(TypeOf(T{}), TypeOf(T{}))) check("PtrTo", PointerTo(TypeOf(T{}))) check("SliceOf", SliceOf(TypeOf(T{}))) } type XM struct{ _ bool } func (*XM) String() string { return "" } func TestPtrToMethods(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/fmt/fmt_test.go
if i >= 0 && i < len(s) { var pattern, chars string switch { case strings.HasPrefix(tt.out[i:], "PTR_b"): pattern = "PTR_b" chars = "01" case strings.HasPrefix(tt.out[i:], "PTR_o"): pattern = "PTR_o" chars = "01234567" case strings.HasPrefix(tt.out[i:], "PTR_d"): pattern = "PTR_d" chars = "0123456789" case strings.HasPrefix(tt.out[i:], "PTR_x"): pattern = "PTR_x"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Method.PkgPath", Field, 0}, {"Method.Type", Field, 0}, {"New", Func, 0}, {"NewAt", Func, 0}, {"Pointer", Const, 18}, {"PointerTo", Func, 18}, {"Ptr", Const, 0}, {"PtrTo", Func, 0}, {"RecvDir", Const, 0}, {"Select", Func, 1}, {"SelectCase", Type, 1}, {"SelectCase.Chan", Field, 1}, {"SelectCase.Dir", Field, 1}, {"SelectCase.Send", Field, 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)