Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for __munmap (0.24 sec)

  1. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic __bzero __bzero ""
    //go:cgo_import_dynamic __error __error ""
    //go:cgo_import_dynamic __fork __fork ""
    //go:cgo_import_dynamic __mmap __mmap ""
    //go:cgo_import_dynamic __munmap __munmap ""
    //go:cgo_import_dynamic __stack_chk_fail __stack_chk_fail ""
    //go:cgo_import_dynamic __stack_chk_guard __stack_chk_guard ""
    //go:cgo_import_dynamic _dyld_get_image_header _dyld_get_image_header ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic _NSGetExecutablePath _NSGetExecutablePath ""
    //go:cgo_import_dynamic __error __error ""
    //go:cgo_import_dynamic __fork __fork ""
    //go:cgo_import_dynamic __mmap __mmap ""
    //go:cgo_import_dynamic __munmap __munmap ""
    //go:cgo_import_dynamic __stack_chk_fail __stack_chk_fail ""
    //go:cgo_import_dynamic __stack_chk_guard __stack_chk_guard ""
    //go:cgo_import_dynamic _dyld_get_image_header _dyld_get_image_header ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/outbuf_mmap.go

    	if uint64(oldlen+len(out.heap)) > filesize {
    		panic("mmap size too small")
    	}
    	copy(out.buf[oldlen:], out.heap)
    	out.heap = out.heap[:0]
    	return nil
    }
    
    func (out *OutBuf) munmap() {
    	if out.buf == nil {
    		return
    	}
    	syscall.Munmap(out.buf)
    	out.buf = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/mmap_nomremap.go

    //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)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_unix.go

    	}
    	return Data{f, data[:n], nil}, nil
    }
    
    func munmapFile(d Data) error {
    	if len(d.Data) == 0 {
    		return nil
    	}
    	err := syscall.Munmap(d.Data)
    	if err != nil {
    		return &fs.PathError{Op: "munmap", Path: d.f.Name(), Err: err}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 21:40:49 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap.go

    }
    
    // Mmap maps the given file into memory.
    // When remapping a file, pass the most recently returned Data.
    func Mmap(f *os.File, data *Data) (Data, error) {
    	return mmapFile(f, data)
    }
    
    // Munmap unmaps the given file from memory.
    func Munmap(d *Data) error {
    	// d.f.Close() on Windows still gets an error
    	return munmapFile(*d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 21:40:49 UTC 2024
    - 1002 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mremap.go

    }
    
    var mapper = &mremapMmapper{
    	mmapper: mmapper{
    		active: make(map[*byte][]byte),
    		mmap:   mmap,
    		munmap: munmap,
    	},
    	mremap: mremap,
    }
    
    func (m *mremapMmapper) Mremap(oldData []byte, newLength 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
    - 1.4K bytes
    - Viewed (0)
  8. src/runtime/os_openbsd_syscall2.go

    // The err result is an OS error code such as ENOMEM.
    func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (p unsafe.Pointer, err int)
    
    // munmap calls the munmap system call. It is implemented in assembly.
    func munmap(addr unsafe.Pointer, n uintptr)
    
    func nanotime1() int64
    
    //go:noescape
    func sigaltstack(new, old *stackt)
    
    func fcntl(fd, cmd, arg int32) (ret int32, errno int32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/outbuf_nommap.go

    	oldheap := out.heap
    	if filesize < uint64(len(oldheap)) {
    		panic("mmap size too small")
    	}
    	out.heap = make([]byte, filesize)
    	copy(out.heap, oldheap)
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 660 bytes
    - Viewed (0)
  10. src/runtime/vdso_freebsd_x86.go

    	closefd(fd)
    	newP := uintptr(addr)
    	if mmapErr != 0 {
    		newP = ^uintptr(0)
    	}
    	if !atomic.Casuintptr(&hpetDevMap[idx], 0, newP) && mmapErr == 0 {
    		munmap(addr, physPageSize)
    	}
    }
    
    //go:nosplit
    func (th *vdsoTimehands) getTimecounter() (uint32, bool) {
    	switch th.algo {
    	case _VDSO_TH_ALGO_X86_TSC:
    		return th.getTSCTimecounter(), true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top