Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setFileAttributes (0.36 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.desiredAccess = desiredAccess;
        }
    
    
        /**
         * @param fileAttributes
         *            the fileAttributes to set
         */
        public void setFileAttributes ( int fileAttributes ) {
            this.fileAttributes = fileAttributes;
        }
    
    
        /**
         * @param shareAccess
         *            the shareAccess to set
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  2. src/os/file_windows.go

    		if e2 != nil {
    			e = e2
    		} else {
    			if a&syscall.FILE_ATTRIBUTE_DIRECTORY != 0 {
    				e = e1
    			} else if a&syscall.FILE_ATTRIBUTE_READONLY != 0 {
    				if e1 = syscall.SetFileAttributes(p, a&^syscall.FILE_ATTRIBUTE_READONLY); e1 == nil {
    					if e = syscall.DeleteFile(p); e == nil {
    						return nil
    					}
    				}
    			}
    		}
    	}
    	return &PathError{Op: "remove", Path: name, Err: e}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/syscall/syscall_windows.go

    //sys	SetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetime) (err error)
    //sys	GetFileAttributes(name *uint16) (attrs uint32, err error) [failretval==INVALID_FILE_ATTRIBUTES] = kernel32.GetFileAttributesW
    //sys	SetFileAttributes(name *uint16, attrs uint32) (err error) = kernel32.SetFileAttributesW
    //sys	GetFileAttributesEx(name *uint16, level uint32, info *byte) (err error) = kernel32.GetFileAttributesExW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                    }
                    else {
                        req.setCreateDisposition(Smb2CreateRequest.FILE_OPEN);
                    }
    
                    req.setShareAccess(sharing);
                    req.setFileAttributes(attrs);
                    Smb2CreateResponse resp = h.send(req);
                    info = resp;
                    fileSize = resp.getEndOfFile();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  5. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	SetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetime) (err error)
    //sys	GetFileAttributes(name *uint16) (attrs uint32, err error) [failretval==INVALID_FILE_ATTRIBUTES] = kernel32.GetFileAttributesW
    //sys	SetFileAttributes(name *uint16, attrs uint32) (err error) = kernel32.SetFileAttributesW
    //sys	GetFileAttributesEx(name *uint16, level uint32, info *byte) (err error) = kernel32.GetFileAttributesExW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_windows.go

    	r1, _, e1 := Syscall(procSetEnvironmentVariableW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(value)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func SetFileAttributes(name *uint16, attrs uint32) (err error) {
    	r1, _, e1 := Syscall(procSetFileAttributesW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(attrs), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    }
    
    func SetEvent(event Handle) (err error) {
    	r1, _, e1 := syscall.Syscall(procSetEvent.Addr(), 1, uintptr(event), 0, 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func SetFileAttributes(name *uint16, attrs uint32) (err error) {
    	r1, _, e1 := syscall.Syscall(procSetFileAttributesW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(attrs), 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)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SetBpfPromisc", Func, 0},
    		{"SetBpfTimeout", Func, 0},
    		{"SetCurrentDirectory", Func, 0},
    		{"SetEndOfFile", Func, 0},
    		{"SetEnvironmentVariable", Func, 0},
    		{"SetFileAttributes", Func, 0},
    		{"SetFileCompletionNotificationModes", Func, 2},
    		{"SetFilePointer", Func, 0},
    		{"SetFileTime", Func, 0},
    		{"SetHandleInformation", Func, 0},
    		{"SetKevent", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg syscall (windows-386), func SetEndOfFile(Handle) error
    pkg syscall (windows-386), func SetEnvironmentVariable(*uint16, *uint16) error
    pkg syscall (windows-386), func SetFileAttributes(*uint16, uint32) error
    pkg syscall (windows-386), func SetFilePointer(Handle, int32, *int32, uint32) (uint32, error)
    pkg syscall (windows-386), func SetFileTime(Handle, *Filetime, *Filetime, *Filetime) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top