Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for remapper (5.46 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go

    }
    
    // Mmap manager, for use by operating system-specific implementations.
    
    type mmapper struct {
    	sync.Mutex
    	active map[*byte][]byte // active mappings; key is last byte in mapping
    	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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    		Line:     make([]Line, len(src.Line)),
    		IsFolded: src.IsFolded,
    	}
    	for i, ln := range src.Line {
    		l.Line[i] = pm.mapLine(ln)
    	}
    	// Check memoization table. Must be done on the remapped location to
    	// account for the remapped mapping ID.
    	k := l.key()
    	if ll, ok := pm.locations[k]; ok {
    		pm.locationsByID.set(src.ID, ll)
    		return ll
    	}
    	pm.locationsByID.set(src.ID, l)
    	pm.locations[k] = l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    // Mmap manager, for use by operating system-specific implementations.
    
    type mmapper struct {
    	sync.Mutex
    	active map[*byte][]byte // active mappings; key is last byte in mapping
    	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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux.go

    	DM_DEV_STATUS                               = 0xc138fd07
    	DM_DEV_SUSPEND                              = 0xc138fd06
    	DM_DEV_WAIT                                 = 0xc138fd08
    	DM_DIR                                      = "mapper"
    	DM_GET_TARGET_VERSION                       = 0xc138fd11
    	DM_IMA_MEASUREMENT_FLAG                     = 0x80000
    	DM_INACTIVE_PRESENT_FLAG                    = 0x40
    	DM_INTERNAL_SUSPEND_FLAG                    = 0x40000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 185.8K bytes
    - Viewed (0)
  5. src/encoding/xml/xml_test.go

    }
    
    func tokenMap(mapping func(t Token) Token) func(TokenReader) TokenReader {
    	return func(src TokenReader) TokenReader {
    		return mapper{
    			t: src,
    			f: mapping,
    		}
    	}
    }
    
    type mapper struct {
    	t TokenReader
    	f func(Token) Token
    }
    
    func (m mapper) Token() (Token, error) {
    	tok, err := m.t.Token()
    	if err != nil {
    		return nil, err
    	}
    	return m.f(tok), nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/mremap.go

    //go:build linux || netbsd
    
    package unix
    
    import "unsafe"
    
    type mremapMmapper struct {
    	mmapper
    	mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
    }
    
    var mapper = &mremapMmapper{
    	mmapper: mmapper{
    		active: make(map[*byte][]byte),
    		mmap:   mmap,
    		munmap: munmap,
    	},
    	mremap: mremap,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mmap_nomremap.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos
    
    package unix
    
    var mapper = &mmapper{
    	active: make(map[*byte][]byte),
    	mmap:   mmap,
    	munmap: munmap,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 343 bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    // binary search, which would make it O(N*log(M)).
    func (p *Profile) remapMappingIDs() {
    	// Some profile handlers will incorrectly set regions for the main
    	// executable if its section is remapped. Fix them through heuristics.
    
    	if len(p.Mapping) > 0 {
    		// Remove the initial mapping if named '/anon_hugepage' and has a
    		// consecutive adjacent mapping.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    // special handling. For kernel mappings, tools (like perf) use the address of
    // the kernel relocation symbol (_text or _stext) as the mmap start. Additionally,
    // for obfuscation, ChromeOS profiles have the kernel image remapped to the 0-th page.
    func kernelBase(loadSegment *elf.ProgHeader, stextOffset *uint64, start, limit, offset uint64) (uint64, bool) {
    	const (
    		// PAGE_OFFSET for PowerPC64, see arch/powerpc/Kconfig in the kernel sources.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top