Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ovadvise (0.1 sec)

  1. src/runtime/sys_darwin.go

    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    }
    func munmap_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(madvise_trampoline)), unsafe.Pointer(&addr))
    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux.go

    	return mapper.Mmap(fd, offset, length, prot, flags)
    }
    
    func Munmap(b []byte) (err error) {
    	return mapper.Munmap(b)
    }
    
    //sys	Madvise(b []byte, advice int) (err error)
    //sys	Mprotect(b []byte, prot int) (err error)
    //sys	Mlock(b []byte) (err error)
    //sys	Munlock(b []byte) (err error)
    //sys	Mlockall(flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    		runtime.ExitSyscall()
    	}
    	if r0 != 0 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // Dummy function: there are no semantics for Madvise on z/OS
    func Madvise(b []byte, advice int) (err error) {
    	return
    }
    
    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 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	//
    	// a := &s
    	// ptr, len, cap := s
    	// len += 3
    	// if uint(len) > uint(cap) {
    	//    ptr, len, cap = growslice(ptr, len, cap, 3, typ)
    	//    vardef(a)    // if necessary, advise liveness we are writing a new a
    	//    *a.cap = cap // write before ptr to avoid a spill
    	//    *a.ptr = ptr // with write barrier
    	// }
    	// *a.len = len
    	// // with write barriers, if needed:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top