Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fileAttributes (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

                        .setPermissions(EnumSet.allOf(AclEntryPermission.class))
                        .setFlags(DIRECTORY_INHERIT, FILE_INHERIT)
                        .build());
            FileAttribute<ImmutableList<AclEntry>> attribute =
                new FileAttribute<ImmutableList<AclEntry>>() {
                  @Override
                  public String name() {
                    return "acl:acl";
                  }
    
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top