- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for v4Addr (0.1 sec)
-
src/net/ip_test.go
in IPNet out IPNet }{ {IPNet{IP: v4addr, Mask: v4mask}, IPNet{IP: v4addr, Mask: v4mask}}, {IPNet{IP: v4addr, Mask: v4mappedv6mask}, IPNet{IP: v4addr, Mask: v4mask}}, {IPNet{IP: v4mappedv6addr, Mask: v4mappedv6mask}, IPNet{IP: v4addr, Mask: v4mask}}, {IPNet{IP: v4mappedv6addr, Mask: v6mask}, IPNet{IP: v4addr, Mask: v4maskzero}}, {IPNet{IP: v4addr, Mask: v6mask}, IPNet{IP: v4addr, Mask: v4maskzero}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 01:17:29 UTC 2024 - 25.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/pe.go
// If main section has no bits, nothing to relocate. if sect.Vaddr >= sect.Seg.Vaddr+sect.Seg.Filelen { return 0 } sect.Reloff = uint64(ctxt.Out.Offset()) for i, s := range syms { if !ldr.AttrReachable(s) { continue } if uint64(ldr.SymValue(s)) >= sect.Vaddr { syms = syms[i:] break } } eaddr := int64(sect.Vaddr + sect.Length) for _, s := range syms {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
// address where the first byte of the segment is loaded // (loadSegment.Vaddr). A file offset fx maps to a virtual (symbol) address // sx = fx - loadSegment.Off + loadSegment.Vaddr. // // Thus, a runtime virtual address x maps to a symbol address // sx = x - start + offset - loadSegment.Off + loadSegment.Vaddr. return start - offset + loadSegment.Off - loadSegment.Vaddr, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/link/internal/loadmacho/ldmacho.go
} type ldMachoCmd struct { type_ int off uint32 size uint32 seg ldMachoSeg sym ldMachoSymtab dsym ldMachoDysymtab } type ldMachoSeg struct { name string vmaddr uint64 vmsize uint64 fileoff uint32 filesz uint32 maxprot uint32 initprot uint32 nsect uint32 flags uint32 sect []ldMachoSect } type ldMachoSect struct { name string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
msect.align++ } msect.addr = sect.Vaddr msect.size = sect.Length if sect.Vaddr < sect.Seg.Vaddr+sect.Seg.Filelen { // data in file if sect.Length > sect.Seg.Vaddr+sect.Seg.Filelen-sect.Vaddr { Errorf(nil, "macho cannot represent section %s crossing data and bss", sect.Name) } msect.off = uint32(sect.Seg.Fileoff + sect.Vaddr - sect.Seg.Vaddr) } else { msect.off = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0) -
src/cmd/compile/internal/amd64/versions_test.go
for _, sec := range e.Sections { vaddr := sec.Addr paddr := sec.Offset size := sec.Size for a := range virtualEdits { if a >= vaddr && a < vaddr+size { physicalEdits[paddr+(a-vaddr)] = true } } } } else if m, err2 := macho.Open(src); err2 == nil { for _, sec := range m.Sections { vaddr := sec.Addr paddr := uint64(sec.Offset) size := sec.Size
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:19:15 UTC 2022 - 10.9K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo.go
} func (x *elfExe) ReadData(addr, size uint64) ([]byte, error) { for _, prog := range x.f.Progs { if prog.Vaddr <= addr && addr <= prog.Vaddr+prog.Filesz-1 { n := prog.Vaddr + prog.Filesz - addr if n > size { n = size } return saferio.ReadDataAt(prog, n, int64(addr-prog.Vaddr)) } } return nil, errUnrecognizedFormat } func (x *elfExe) DataStart() (uint64, uint64) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
textbase := Segtext.Sections[0].Vaddr for _, sect := range Segtext.Sections { if sect.Name != ".text" { break } // The fields written should match runtime/symtab.go:textsect. // They are designed to minimize runtime calculations. vaddr := sect.Vaddr - textbase off = t.SetUint(ctxt.Arch, off, vaddr) // field vaddr end := vaddr + sect.Length
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
if gotFlag := dynFlag&flag != 0; gotFlag { return true } } return false } segContainsSec := func(p *elf.Prog, s *elf.Section) bool { return s.Addr >= p.Vaddr && s.Addr+s.FileSize <= p.Vaddr+p.Filesz } for _, test := range tests { t.Run(test.name, func(t *testing.T) { if test.mustInternalLink { testenv.MustInternalLink(t, test.mustHaveCGO) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
src/net/lookup_test.go
t.Fatalf("DefaultResolver.LookupIP(%q, %q): failed with unexpected error: %v", network, host, err) } var v4Addrs []netip.Addr var v6Addrs []netip.Addr for _, ip := range ips { if addr, ok := netip.AddrFromSlice(ip); ok { if addr.Is4() { v4Addrs = append(v4Addrs, addr) } else { v6Addrs = append(v6Addrs, addr) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0)