Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 517 for adir (0.26 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    		}
    
    		var sloc []*Location
    		for _, addr := range addrs {
    			// Addresses from stack traces point to the next instruction after
    			// each call. Adjust by -1 to land somewhere on the actual call.
    			addr--
    			loc := locs[addr]
    			if locs[addr] == nil {
    				loc = &Location{
    					Address: addr,
    				}
    				p.Location = append(p.Location, loc)
    				locs[addr] = loc
    			}
    			sloc = append(sloc, loc)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  2. src/net/http/socks_bundle.go

    	if err := d.validateTarget(network, address); err != nil {
    		proxy, dst, _ := d.pathAddrs(address)
    		return nil, &net.OpError{Op: d.cmd.String(), Net: network, Source: proxy, Addr: dst, Err: err}
    	}
    	if ctx == nil {
    		proxy, dst, _ := d.pathAddrs(address)
    		return nil, &net.OpError{Op: d.cmd.String(), Net: network, Source: proxy, Addr: dst, Err: errors.New("nil context")}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/decodesym.go

    // Find the elf.Section of a given shared library that contains a given address.
    func findShlibSection(ctxt *Link, path string, addr uint64) *elf.Section {
    	for _, shlib := range ctxt.Shlibs {
    		if shlib.Path == path {
    			for _, sect := range shlib.File.Sections[1:] { // skip the NULL section
    				if sect.Addr <= addr && addr < sect.Addr+sect.Size {
    					return sect
    				}
    			}
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    // the elfMapping field is set. It populates the base and isData fields and
    // returns an error.
    func (f *file) computeBase(addr uint64) error {
    	if f == nil || f.m == nil {
    		return nil
    	}
    	if addr < f.m.start || addr >= f.m.limit {
    		return fmt.Errorf("specified address %x is outside the mapping range [%x, %x] for file %q", addr, f.m.start, f.m.limit, f.name)
    	}
    	ef, err := elfOpen(f.name)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_MSYNC         = 65  // { int msync(void *addr, size_t len, int flags); }
    	SYS_VFORK         = 66  // { pid_t vfork(void); }
    	SYS_SBRK          = 69  // { int sbrk(int incr); }
    	SYS_SSTK          = 70  // { int sstk(int incr); }
    	SYS_MUNMAP        = 73  // { int munmap(void *addr, size_t len); }
    	SYS_MPROTECT      = 74  // { int mprotect(void *addr, size_t len, int prot); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_unix.go

    	mmap   func(addr, length uintptr, prot, flags, fd int, offset int64) (uintptr, error)
    	munmap func(addr uintptr, length uintptr) error
    }
    
    func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
    	if length <= 0 {
    		return nil, EINVAL
    	}
    
    	// Map the requested memory.
    	addr, errno := m.mmap(0, uintptr(length), prot, flags, fd, offset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    	}
    	return proxyURL, nil
    }
    
    // useProxy reports whether requests to addr should use a proxy,
    // according to the NO_PROXY or no_proxy environment variable.
    // addr is always a canonicalAddr with a host and port.
    func (cfg *config) useProxy(addr string) bool {
    	if len(addr) == 0 {
    		return true
    	}
    	host, port, err := net.SplitHostPort(addr)
    	if err != nil {
    		return false
    	}
    	if host == "localhost" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/net/net_test.go

    			}
    			t.Parallel()
    
    			ln := newLocalListener(t, network)
    			switch network {
    			case "unix", "unixpacket":
    				defer os.Remove(ln.Addr().String())
    			}
    			defer ln.Close()
    
    			c, err := Dial(ln.Addr().Network(), ln.Addr().String())
    			if err != nil {
    				t.Fatal(err)
    			}
    			switch network {
    			case "unix", "unixpacket":
    				defer os.Remove(c.LocalAddr().String())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 21:04:44 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_openbsd_ppc64.go

    	SYS_MUNMAP         = 73  // { int sys_munmap(void *addr, size_t len); }
    	SYS_MPROTECT       = 74  // { int sys_mprotect(void *addr, size_t len, \
    	SYS_MADVISE        = 75  // { int sys_madvise(void *addr, size_t len, \
    	SYS_UTIMES         = 76  // { int sys_utimes(const char *path, \
    	SYS_FUTIMES        = 77  // { int sys_futimes(int fd, \
    	SYS_MQUERY         = 78  // { void *sys_mquery(void *addr, size_t len, int prot, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    	return ptracePeek(PTRACE_PEEKDATA, pid, addr, out)
    }
    
    func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (count int, err error) {
    	// As for ptracePeek, we need to align our accesses to deal
    	// with the possibility of straddling an invalid page.
    
    	// Leading edge.
    	n := 0
    	if addr%sizeofPtr != 0 {
    		var buf [sizeofPtr]byte
    		err = ptracePtr(peekReq, pid, addr-addr%sizeofPtr, unsafe.Pointer(&buf[0]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top