Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for moveFile (3.2 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(flags))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func MoveFile(from *uint16, to *uint16) (err error) {
    	r1, _, e1 := syscall.Syscall(procMoveFileW.Addr(), 2, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/asm7.go

    // These optimizations need to be synchronized with the asmout function.
    func (o *Optab) size(ctxt *obj.Link, p *obj.Prog) int {
    	// Optimize adrp+add+ld/st to adrp+ld/st(offset).
    	sz := movesize(p.As)
    	if sz != -1 {
    		// Relocations R_AARCH64_LDST{64,32,16,8}_ABS_LO12_NC can only generate 8-byte, 4-byte,
    		// 2-byte and 1-byte aligned addresses, so the address of load/store must be aligned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top