Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for ptrTo (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/compile/internal/ssa/expand_calls.go

    			}
    			mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(et))
    		}
    		return mem
    
    	case types.TSLICE:
    		mem = x.decomposeOne(pos, b, a, mem, at.Elem().PtrTo(), OpSlicePtr, &rc)
    		pos = pos.WithNotStmt()
    		mem = x.decomposeOne(pos, b, a, mem, x.typs.Int, OpSliceLen, &rc)
    		return x.decomposeOne(pos, b, a, mem, x.typs.Int, OpSliceCap, &rc)
    
    	case types.TSTRING:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/decompose.go

    	}
    	v.reset(OpStringMake)
    	v.AddArg(ptr)
    	v.AddArg(len)
    }
    
    func decomposeSlicePhi(v *Value) {
    	types := &v.Block.Func.Config.Types
    	ptrType := v.Type.Elem().PtrTo()
    	lenType := types.Int
    
    	ptr := v.Block.NewValue0(v.Pos, OpPhi, ptrType)
    	len := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	cap := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	for _, a := range v.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritedec64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	config := b.Func.Config
    	// match: (Store {t} dst (Int64Make hi lo) mem)
    	// cond: t.Size() == 8 && !config.BigEndian
    	// result: (Store {hi.Type} (OffPtr <hi.Type.PtrTo()> [4] dst) hi (Store {lo.Type} dst lo mem))
    	for {
    		t := auxToType(v.Aux)
    		dst := v_0
    		if v_1.Op != OpInt64Make {
    			break
    		}
    		lo := v_1.Args[1]
    		hi := v_1.Args[0]
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top