Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for FileAttributes (0.06 sec)

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

            this.desiredAccess = desiredAccess;
        }
    
        /**
         * Set the file attributes for the created file
         * @param fileAttributes the fileAttributes to set
         */
        public void setFileAttributes(final int fileAttributes) {
            this.fileAttributes = fileAttributes;
        }
    
        /**
         * Set the share access mode for the file
         * @param shareAccess the shareAccess to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            setFieldValue(response, "wordCount", 10);
    
            // Write test data to buffer
            int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
            SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex);
            SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public final long getSize() {
            return getEndOfFile();
        }
    
        /**
         * Get the file attributes
         * @return the fileAttributes
         */
        public final int getFileAttributes() {
            return this.fileAttributes;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Prepare a buffer with sample data.
            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/InfoTest.java

            SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) {
            };
            java.lang.reflect.Field fileAttr = SmbComQueryInformationResponse.class.getDeclaredField("fileAttributes");
            fileAttr.setAccessible(true);
            fileAttr.setInt(resp, 0xABCD);
            java.lang.reflect.Field lastWrite = SmbComQueryInformationResponse.class.getDeclaredField("lastWriteTime");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            i += 8;
    
            SMBUtil.writeInt8(allocSize, body, i); // AllocationSize
            i += 8;
            SMBUtil.writeInt8(eof, body, i); // EndOfFile
            i += 8;
    
            SMBUtil.writeInt4(attrs, body, i); // FileAttributes
            i += 4;
            i += 4; // Reserved2
    
            System.arraycopy(fileId, 0, body, i, 16); // FileId
            i += 16;
    
            SMBUtil.writeInt4(0, body, i); // CreateContextsOffset
            i += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                endOfFileField.setAccessible(true);
                assertEquals(512L, endOfFileField.get(response));
    
                Field fileAttributesField = Smb2CloseResponse.class.getDeclaredField("fileAttributes");
                fileAttributesField.setAccessible(true);
                assertEquals(0x01, fileAttributesField.get(response));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         *
         * @param <T> the response type
         * @param th the tree handle
         * @param createDisposition the create disposition
         * @param createOptions the create options
         * @param fileAttributes the file attributes
         * @param desiredAccess the desired access flags
         * @param shareAccess the share access flags
         * @param first the first request to execute
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg syscall (windows-386), type ByHandleFileInformation struct
    pkg syscall (windows-386), type ByHandleFileInformation struct, CreationTime Filetime
    pkg syscall (windows-386), type ByHandleFileInformation struct, FileAttributes uint32
    pkg syscall (windows-386), type ByHandleFileInformation struct, FileIndexHigh uint32
    pkg syscall (windows-386), type ByHandleFileInformation struct, FileIndexLow uint32
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top