- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 113 for laddr (0.42 sec)
-
src/cmd/compile/internal/ssagen/ssa.go
// Declare variable to hold address. sym := &types.Sym{Name: "&" + n.Sym().Name, Pkg: types.LocalPkg} addr := s.curfn.NewLocal(pos, sym, types.NewPtr(n.Type())) addr.SetUsed(true) types.CalcSize(addr.Type()) if n.Class == ir.PPARAMOUT { addr.SetIsOutputParamHeapAddr(true) } n.Heapaddr = addr s.assign(addr, ptr, false, 0) } // newObject returns an SSA value denoting new(typ).
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/fix/netipv6zone_test.go
Name: "netipv6zone.0", In: `package main import "net" func f() net.Addr { a := &net.IPAddr{ip1} sub(&net.UDPAddr{ip2, 12345}) c := &net.TCPAddr{IP: ip3, Port: 54321} d := &net.TCPAddr{ip4, 0} p := 1234 e := &net.TCPAddr{ip4, p} return &net.TCPAddr{ip5}, nil } `, Out: `package main import "net" func f() net.Addr { a := &net.IPAddr{IP: ip1} sub(&net.UDPAddr{IP: ip2, Port: 12345})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 837 bytes - Viewed (0) -
src/cmd/internal/obj/link.go
func (p *Prog) AddRestSourceReg(reg int16) { p.AddRestSource(Addr{Type: TYPE_REG, Reg: reg}) } // AddRestSourceConst calls p.AddRestSource with a const Addr containing off. func (p *Prog) AddRestSourceConst(off int64) { p.AddRestSource(Addr{Type: TYPE_CONST, Offset: off}) } // AddRestDest assigns []Args{{a, Destination}} to p.RestArgs when the second destination
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
schema/utils.go
case reflect.Struct: reflectResults = reflect.Append(reflectResults, result.Addr()) case reflect.Slice, reflect.Array: for i := 0; i < result.Len(); i++ { if elem := result.Index(i); elem.Kind() == reflect.Ptr { reflectResults = reflect.Append(reflectResults, elem) } else { reflectResults = reflect.Append(reflectResults, elem.Addr()) } } } } }
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/typecheck/_builtin/runtime.go
func raceread(uintptr) func racewrite(uintptr) func racereadrange(addr, size uintptr) func racewriterange(addr, size uintptr) // memory sanitizer func msanread(addr, size uintptr) func msanwrite(addr, size uintptr) func msanmove(dst, src, size uintptr) // address sanitizer func asanread(addr, size uintptr) func asanwrite(addr, size uintptr) func checkptrAlignment(unsafe.Pointer, *byte, uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_combine_dwarf.go
cSect := compressedSects[i] copy(sect.Name[:], cSect.Name) sect.Size = cSect.Size if cSect.Offset != 0 { sect.Offset = cSect.Offset + uint32(deltaOffset) } if cSect.Addr != 0 { sect.Addr = cSect.Addr } } else { if sect.Offset != 0 { sect.Offset += uint32(deltaOffset) } if sect.Reloff != 0 { sect.Reloff += uint32(deltaOffset) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/gofmt/simplify.go
// and the element is & of a composite literal of type T, // the inner &T may be omitted. if ptr, ok := astType.(*ast.StarExpr); ok { if addr, ok := x.(*ast.UnaryExpr); ok && addr.Op == token.AND { if inner, ok := addr.X.(*ast.CompositeLit); ok { if match(nil, reflect.ValueOf(ptr.X), reflect.ValueOf(inner.Type)) { inner.Type = nil // drop T *px = inner // drop & } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 20:06:14 UTC 2022 - 4.8K bytes - Viewed (0) -
src/cmd/internal/obj/arm/anames5.go
"LACON", "SBRA", "LBRA", "HAUTO", "FAUTO", "HFAUTO", "SAUTO", "LAUTO", "HOREG", "FOREG", "HFOREG", "SOREG", "ROREG", "SROREG", "LOREG", "PC", "SP", "HREG", "ADDR", "C_TLS_LE", "C_TLS_IE", "TEXTSIZE", "GOK", "NCLASS", "SCOND = (1<<4)-1", "SBIT = 1<<4", "PBIT = 1<<5", "WBIT = 1<<6", "FBIT = 1<<7", "UBIT = 1<<7", "SCOND_XOR = 14",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 27 19:54:44 UTC 2018 - 1.3K bytes - Viewed (0) -
association.go
case reflect.Slice, reflect.Array: for i := 0; i < rv.Len(); i++ { appendToFieldValues(reflect.Indirect(rv.Index(i)).Addr()) } case reflect.Struct: if !rv.CanAddr() { association.Error = ErrInvalidValue return } appendToFieldValues(rv.Addr()) } if association.Error == nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
callbacks/helper.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Apr 14 12:32:57 UTC 2022 - 3.7K bytes - Viewed (0)