Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for mmap64 (0.19 sec)

  1. src/syscall/syscall_aix.go

    var mapper = &mmapper{
    	active: make(map[*byte][]byte),
    	mmap:   mmap,
    	munmap: munmap,
    }
    
    //sys	mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
    //sys	munmap(addr uintptr, length uintptr) (err error)
    
    func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
    	return mapper.Mmap(fd, offset, length, prot, flags)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    		o.Write(w.Writer)
    	})
    	// TODO: output in sorted order?
    	// Currently tools (cmd/internal/goobj package) doesn't use mmap,
    	// and it just read it into a map in memory upfront. If it uses
    	// mmap, if the output is sorted, it probably could avoid reading
    	// into memory and just do lookups in the mmap'd object file.
    }
    
    // return the number of aux symbols s have.
    func nAuxSym(s *LSym) int {
    	n := 0
    	if s.Gotype != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/runtime/malloc.go

    	// s390x         TASK_SIZE         1<<64 (64 bit addresses)
    	//
    	// These limits may increase over time, but are currently at
    	// most 48 bits except on s390x. On all architectures, Linux
    	// starts placing mmap'd regions at addresses that are
    	// significantly below 48 bits, so even if it's possible to
    	// exceed Go's 48 bit limit, it's extremely unlikely in
    	// practice.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        Map<Object, Integer> map3 = ImmutableMap.<Object, Integer>of(1, 2);
        Map<Number, Object> map4 = ImmutableMap.<Number, Object>of(1, 2);
        Map<Number, Number> map5 = ImmutableMap.<Number, Number>of(1, 2);
        Map<Number, Integer> map6 = ImmutableMap.<Number, Integer>of(1, 2);
        Map<Integer, Object> map7 = ImmutableMap.<Integer, Object>of(1, 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  5. src/runtime/sys_darwin.go

    	}
    	return
    }
    func osinit_hack_trampoline()
    
    // mmap is used to do low-level memory allocation via mmap. Don't allow stack
    // splits, since this function (used by sysAlloc) is called in a lot of low-level
    // parts of the runtime and callers often assume it won't acquire any locks.
    //
    //go:nosplit
    func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (unsafe.Pointer, int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    }
    
    // Open prepares telemetry counters for recording to the file system.
    //
    // If the telemetry mode is "off", Open is a no-op. Otherwise, it opens the
    // counter file on disk and starts to mmap telemetry counters to the file.
    // Open also persists any counters already created in the current process.
    //
    // Programs using telemetry should call Open exactly once.
    func Open() {
    	counter.Open()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/runtime/os3_solaris.go

    //go:cgo_import_dynamic libc_kill kill "libc.so"
    //go:cgo_import_dynamic libc_madvise madvise "libc.so"
    //go:cgo_import_dynamic libc_malloc malloc "libc.so"
    //go:cgo_import_dynamic libc_mmap mmap "libc.so"
    //go:cgo_import_dynamic libc_munmap munmap "libc.so"
    //go:cgo_import_dynamic libc_open open "libc.so"
    //go:cgo_import_dynamic libc_pthread_attr_destroy pthread_attr_destroy "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/runtime/os_openbsd.go

    func osStackAlloc(s *mspan) {
    	osStackRemap(s, _MAP_STACK)
    }
    
    func osStackFree(s *mspan) {
    	// Undo MAP_STACK.
    	osStackRemap(s, 0)
    }
    
    func osStackRemap(s *mspan, flags int32) {
    	a, err := mmap(unsafe.Pointer(s.base()), s.npages*pageSize, _PROT_READ|_PROT_WRITE, _MAP_PRIVATE|_MAP_ANON|_MAP_FIXED|flags, -1, 0)
    	if err != 0 || uintptr(a) != s.base() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/modules.txt

    golang.org/x/telemetry/counter/countertest
    golang.org/x/telemetry/internal/config
    golang.org/x/telemetry/internal/configstore
    golang.org/x/telemetry/internal/counter
    golang.org/x/telemetry/internal/crashmonitor
    golang.org/x/telemetry/internal/mmap
    golang.org/x/telemetry/internal/telemetry
    golang.org/x/telemetry/internal/upload
    # golang.org/x/term v0.20.0
    ## explicit; go 1.18
    golang.org/x/term
    # golang.org/x/text v0.16.0
    ## explicit; go 1.18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    // mmap varies by architecture; see syscall_linux_*.go.
    //sys	munmap(addr uintptr, length uintptr) (err error)
    
    var mapper = &mmapper{
    	active: make(map[*byte][]byte),
    	mmap:   mmap,
    	munmap: munmap,
    }
    
    func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
    	return mapper.Mmap(fd, offset, length, prot, flags)
    }
    
    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