- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for fileAttributes (0.82 sec)
-
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() */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
}) void testAccept(int filterAttributes, int fileAttributes, boolean expectedResult) throws SmbException { // Given a DosFileFilter with specific attributes dosFileFilter = new DosFileFilter("*.*", filterAttributes); // and a mock SmbFile with specific attributes when(mockFile.getAttributes()).thenReturn(fileAttributes); // When the accept method is calledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
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 executeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)