- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 176 for getfile (0.79 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/smb/SmbPipeHandleImplTest.java
assertThrows(NullPointerException.class, () -> target.unwrap(null)); } @Test @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe") void testBasicAccessors() { when(pipe.getPipeType()).thenReturn(0x123456); assertSame(pipe, target.getPipe()); assertEquals(0x123456, target.getPipeType()); assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertEquals(512, info.bytesPerSect); assertEquals(1000L * 100 * 512, info.getCapacity(), "Capacity calculation should be correct"); assertEquals(500L * 100 * 512, info.getFree(), "Free space calculation should be correct"); } /** * Tests the readDataWireFormat method with the SMB_QUERY_FS_SIZE_INFO information level. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K 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) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc hoge = beanDesc.getFieldDesc("HOGE"); assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE"))); assertThat(hoge.getFieldName(), is("HOGE")); assertThat(hoge.getFieldType(), is(sameClass(String.class))); assertThat(hoge.isPublic(), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
if (cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_SUCCESS) { try { th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId())); } catch (final SmbException e2) { e.addSuppressed(e2); } } final Smb2QueryDirectoryResponse qr = query.getResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/FloatConversionUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K 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/FileSystemInformationTest.java
assertEquals(20, bytesDecoded); assertEquals(8L * 4096L * 512L, smbInfoAllocation.getCapacity()); assertEquals(8L * 2048L * 512L, smbInfoAllocation.getFree()); } @Test @DisplayName("Should calculate capacity correctly") void testCapacityCalculation() throws SMBProtocolDecodingException { byte[] buffer = new byte[24];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc} * * @see jcifs.CIFSContext#getPipe(java.lang.String, int) */ @Override public SmbPipeResource getPipe(final String url, final int pipeType) throws CIFSException { try { return new SmbNamedPipe(url, pipeType, this); } catch (final MalformedURLException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)