Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for mmap64 (0.16 sec)

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

    package unix
    
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error)
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = lseek
    
    //sys	mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) = mmap64
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    int time(uintptr_t);
    int utime(uintptr_t, uintptr_t);
    unsigned long long getsystemcfg(int);
    int umount(uintptr_t);
    int getrlimit(int, uintptr_t);
    long long lseek(int, long long, int);
    uintptr_t mmap64(uintptr_t, uintptr_t, int, int, int, long long);
    
    */
    import "C"
    import (
    	"syscall"
    	"unsafe"
    )
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    //go:cgo_import_dynamic libc_umount umount "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_getrlimit getrlimit "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_mmap64 mmap64 "libc.a/shr_64.o"
    
    //go:linkname libc_utimes libc_utimes
    //go:linkname libc_utimensat libc_utimensat
    //go:linkname libc_getcwd libc_getcwd
    //go:linkname libc_accept libc_accept
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/outbuf.go

    	if heapLen != 0 {
    		if err := out.Mmap(total); err != nil { // Mmap will copy out.heap over to out.buf
    			Exitf("mapping output file failed: %v", err)
    		}
    	}
    	return true
    }
    
    // maxOutBufHeapLen limits the growth of the heap area.
    const maxOutBufHeapLen = 10 << 20
    
    // writeLoc determines the write location if a buffer is mmaped.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/mmap/mmap.go

    // license that can be found in the LICENSE file.
    
    // This package is a lightly modified version of the mmap code
    // in github.com/google/codesearch/index.
    
    // The mmap package provides an abstraction for memory mapping files
    // on different platforms.
    package mmap
    
    import (
    	"os"
    )
    
    // Data is mmap'ed read-only data from a file.
    // The backing file is never closed, so Data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 754 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap.go

    // license that can be found in the LICENSE file.
    
    // This package is a lightly modified version of the mmap code
    // in github.com/google/codesearch/index.
    
    // The mmap package provides an abstraction for memory mapping files
    // on different platforms.
    package mmap
    
    import (
    	"os"
    )
    
    // The backing file is never closed, so Data
    // remains valid for the lifetime of the process.
    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/runtime/mmap.go

    package runtime
    
    import "unsafe"
    
    // mmap calls the mmap system call. It is implemented in assembly.
    // We only pass the lower 32 bits of file offset to the
    // assembly routine; the higher bits (if required), should be provided
    // by the assembly routine as 0.
    // 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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 844 bytes
    - Viewed (0)
  8. src/runtime/cgo/mmap.go

    import _ "unsafe"
    
    // When using cgo, call the C library for mmap, so that we call into
    // any sanitizer interceptors. This supports using the memory
    // sanitizer with Go programs. The memory sanitizer only applies to
    // C/C++ code; this permits that code to see the Go code as normal
    // program addresses that have been initialized.
    
    // To support interceptors that look for both mmap and munmap,
    // also call the C library for munmap.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. src/cmd/internal/bio/buf_mmap.go

    	if length < threshold {
    		return nil, false
    	}
    
    	// Have we reached the mmap limit?
    	if atomic.AddInt32(&mmapLimit, -1) < 0 {
    		atomic.AddInt32(&mmapLimit, 1)
    		return nil, false
    	}
    
    	// Page-align the offset.
    	off := r.Offset()
    	align := syscall.Getpagesize()
    	aoff := off &^ int64(align-1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go

    }
    
    //sys	mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
    
    func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
    	page := uintptr(offset / 4096)
    	if offset != int64(page)*4096 {
    		return 0, EINVAL
    	}
    	return mmap2(addr, length, prot, flags, fd, page)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top