Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for fillAttributes (0.21 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            searchAttributes = ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM;
    
            // fileAttributes
            fileAttributes = 0;
    
            // openFunction
            if(( flags & SmbFile.O_TRUNC ) == SmbFile.O_TRUNC ) {
                // truncate the file
                if(( flags & SmbFile.O_CREAT ) == SmbFile.O_CREAT ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. cmd/os_windows.go

    			}
    		}
    		name := syscall.UTF16ToString(data.FileName[0:])
    		if name == "" || name == "." || name == ".." { // Useless names
    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    			fi, err := os.Stat(pathJoin(dirPath, name))
    			if err != nil {
    				// It got deleted in the meantime, not found
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public final long getSize () {
            return getEndOfFile();
        }
    
    
        /**
         * @return the fileAttributes
         */
        public final int getFileAttributes () {
            return this.fileAttributes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/symlink_windows.go

    	FileIdExtdDirectoryInfo        = 0x13 // FILE_ID_EXTD_DIR_INFO
    	FileIdExtdDirectoryRestartInfo = 0x14 // FILE_ID_EXTD_DIR_INFO
    )
    
    type FILE_ATTRIBUTE_TAG_INFO struct {
    	FileAttributes uint32
    	ReparseTag     uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 19:06:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	// ² https://golang.org/issue/42637#issuecomment-760715755.
    }
    
    func copyFindData(dst *Win32finddata, src *win32finddata1) {
    	dst.FileAttributes = src.FileAttributes
    	dst.CreationTime = src.CreationTime
    	dst.LastAccessTime = src.LastAccessTime
    	dst.LastWriteTime = src.LastWriteTime
    	dst.FileSizeHigh = src.FileSizeHigh
    	dst.FileSizeLow = src.FileSizeLow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  7. src/os/stat_windows.go

    	var fa syscall.Win32FileAttributeData
    	err = syscall.GetFileAttributesEx(namep, syscall.GetFileExInfoStandard, (*byte)(unsafe.Pointer(&fa)))
    	if err == nil && fa.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT == 0 {
    		// Not a surrogate for another named entity, because it isn't any kind of reparse point.
    		// The information we got from GetFileAttributesEx is good enough for now.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/syscall_windows.go

    	SecurityDescriptor uintptr
    	InheritHandle      bool
    }
    
    type FILE_BASIC_INFO struct {
    	CreationTime   int64
    	LastAccessTime int64
    	LastWriteTime  int64
    	ChangedTime    int64
    	FileAttributes uint32
    
    	// Pad out to 8-byte alignment.
    	//
    	// Without this padding, TestChmod fails due to an argument validation error
    	// in SetFileInformationByHandle on windows/386.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/go/printer/testdata/statements.golden

    		},
    		nil
    }
    
    func _() interface{} {
    	return &fileStat{
    		name:		basename(file.name),
    		size:		mkSize(d.FileSizeHigh, d.FileSizeLow),
    		modTime:	mkModTime(d.LastWriteTime),
    		mode:		mkMode(d.FileAttributes),
    		sys:		mkSysFromFI(&d),
    	}, nil
    }
    
    // Formatting of if-statement headers.
    func _() {
    	if true {
    	}
    	if true {
    	}	// no semicolon printed
    	if expr {
    	}
    	if expr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 12 18:18:12 UTC 2014
    - 8K bytes
    - Viewed (0)
  10. src/go/printer/testdata/statements.input

    }
    
    func _() interface{} {
    	return &fileStat{
    			name:    basename(file.name),
    			size:    mkSize(d.FileSizeHigh, d.FileSizeLow),
    			modTime: mkModTime(d.LastWriteTime),
    			mode:    mkMode(d.FileAttributes),
    			sys:     mkSysFromFI(&d),
    		}, nil
    }
    
    // Formatting of if-statement headers.
    func _() {
    	if true {}
    	if; true {}  // no semicolon printed
    	if expr{}
    	if;expr{}  // no semicolon printed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 8.3K bytes
    - Viewed (0)
Back to top