- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 255 for getSize (0.05 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
*/ public final int getDataSize() { return this.fileDataSize; } /** * {@inheritDoc} * * @see jcifs.internal.SmbBasicFileInfo#getSize() */ @Override public long getSize() { return getDataSize(); } /** * Gets the granted access rights. * * @return the grantedAccess */ public final int getGrantedAccess() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
} @Test @DisplayName("Test getSize always returns 0") void testGetSize() { // Default instance assertEquals(0L, fileBasicInfo.getSize()); // Instance with values FileBasicInfo info = new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES); assertEquals(0L, info.getSize()); } @TestRegistered: 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/smb1/smb1/InfoTest.java
assertEquals(0xABCD, resp.getAttributes()); assertEquals(1630000001000L, resp.getCreateTime()); assertEquals(1630000001000L, resp.getLastWriteTime()); assertEquals(2048, resp.getSize()); // toString() uses lastWriteTime directly without offset assertTrue(resp.toString().contains(new Date(1630000000000L).toString())); } // Buffer helpers to build SMB basic file info wire format.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/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
return createTime; } @Override public long getLastWriteTime() { return lastWriteTime; } @Override public long getSize() { return 0L; } @Override public String toString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ public String getFileName() { return this.fileName; } /** * {@inheritDoc} * * @see jcifs.internal.SmbBasicFileInfo#getSize() */ @Override public long getSize() { return getEndOfFile(); } /** * Get the file attributes * * @return the fileAttributes */ public int getFileAttributes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
return buffer; } public int getLocalKey() { return localKey; } public int getRemoteKey() { return remoteKey; } public long getAddress() { return address; } public int getSize() { return buffer.remaining(); } public boolean hasAccess(RdmaAccess access) { return accessFlags.contains(access); } /** * Invalidate this memory region */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
@Test public void testGetSendRegion() throws Exception { RdmaMemoryRegion region = bufferManager.getSendRegion(1024); assertNotNull(region, "Send region should not be null"); assertTrue(region.getSize() >= 1024, "Region should be at least requested size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Info.java
*/ package jcifs.smb1.smb1; interface Info { int getAttributes(); long getCreateTime(); long getLastWriteTime(); long getSize();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 995 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
*/ public final long getEndOfFile() { return this.endOfFile; } /** * {@inheritDoc} * * @see jcifs.internal.SmbBasicFileInfo#getSize() */ @Override public long getSize() { return getEndOfFile(); } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
void testGetEndOfFile() { assertEquals(0, response.getEndOfFile()); } @Test @DisplayName("getSize should return same as getEndOfFile") void testGetSize() { assertEquals(response.getEndOfFile(), response.getSize()); } @Test @DisplayName("getFileAttributes should return initial value of 0") void testGetFileAttributes() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)