- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 185 for getSize (0.04 sec)
-
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertTrue(sendRegion.getSize() >= 4096, "Send region should be at least 4KB"); assertNotNull(sendRegion.getBuffer(), "Send region buffer should not be null"); RdmaMemoryRegion recvRegion = bufferManager.getReceiveRegion(); assertNotNull(recvRegion, "Receive region should not be null"); assertTrue(recvRegion.getSize() > 0, "Receive region should have positive size");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K 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()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbBasicFileInfo.java
* * @return file last access time */ long getLastAccessTime(); /** * Gets the file size in bytes. * * @return file size */ long getSize();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)