- Sort Score
- Result 10 results
- Languages All
Results 81 - 82 of 82 for ptrType (1.16 sec)
-
src/cmd/compile/internal/ssagen/ssa.go
i = s.boundsCheck(i, len, ssa.BoundsIndex, n.Bounded()) ptrtyp := s.f.Config.Types.BytePtr ptr := s.newValue1(ssa.OpStringPtr, ptrtyp, a) if ir.IsConst(n.Index, constant.Int) { ptr = s.newValue1I(ssa.OpOffPtr, ptrtyp, ir.Int64Val(n.Index), ptr) } else { ptr = s.newValue2(ssa.OpAddPtr, ptrtyp, ptr, i) } return s.load(types.Types[types.TUINT8], ptr)
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/reflect/all_test.go
v = v.Elem() v = v.Field(0) v.SetInt(2) if p.X != 2 { t.Errorf("Addr.Elem.Set failed to set value") } // Again but take address of the ValueOf value. // Exercises generation of PtrTypes not present in the binary. q := &p v = ValueOf(&q).Elem() v = v.Addr() v = v.Elem() v = v.Elem() v = v.Addr() v = v.Elem() v = v.Field(0) v.SetInt(3) if p.X != 3 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)