- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 381 for readn (0.8 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer. assertEquals(10L, response.count); // The method should return the number of bytes read. assertEquals(8, bytesRead); } /** * Test the writeParameterWordsWireFormat method. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
class IntegrationTests { @Test @DisplayName("Should handle complete read-write cycle") void testCompleteReadWriteCycle() throws SMBProtocolDecodingException { // Given byte[] writeBuffer = new byte[100]; byte[] readBuffer = new byte[100]; // Prepare valid read buffer SMBUtil.writeInt2(4, readBuffer, 10);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
byte[] buffer = new byte[10]; // When int bytesRead = trans.readSetupWireFormat(buffer, 0, 10); // Then assertEquals(0, bytesRead, "Should read 0 bytes."); } /** * Tests the readParametersWireFormat method. */ @Test void testReadParametersWireFormat() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
assertEquals(0x05, Smb2LeaseState.SMB2_LEASE_READ_WRITE); assertEquals(0x07, Smb2LeaseState.SMB2_LEASE_FULL); } @Test @DisplayName("Should detect read caching correctly") void testHasReadCaching() { assertTrue(Smb2LeaseState.hasReadCaching(Smb2LeaseState.SMB2_LEASE_READ_CACHING)); assertTrue(Smb2LeaseState.hasReadCaching(Smb2LeaseState.SMB2_LEASE_READ_HANDLE));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java
} /** * Get maximum read/write size * * @return maximum read/write size in bytes */ public int getMaxReadWriteSize() { return maxReadWriteSize; } /** * Set maximum read/write size * * @param maxReadWriteSize maximum read/write size in bytes */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/resources/ajax/js/test.js
$(document).ready(function(){ openPage("home.html"); setEventHandlers(); }); function setEventHandlers(){ $('#info').click(function(){ openPage("info.html") } ); $('#home').click(function(){ openPage("home.html") } ); } function openPage(page){ $('#content').load(page); location.hash = page; } function addFooter(msg){ $('#footer').html($('#footer').html() + "<p>FOOTER: " + msg + "</p>");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 410 bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
} private static final Logger logger = Logger.getLogger(JarFileUtil.class); /** * Creates and returns a <code>JarFile</code> to read the specified JAR file. * * @param file the file path (must not be {@literal null}) * @return a <code>JarFile</code> to read the specified JAR file */ public static JarFile create(final String file) { assertArgumentNotNull("file", file); try {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size assertEquals(2, buffer[2]); // Padding assertEquals(0x01, buffer[3]); // Read flags assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
// Flags should not be set for partial read assertFalse(d.getParametersDone(), "parametersDone should be false for partial read"); assertFalse(d.getDataDone(), "dataDone should be false for partial read"); assertTrue(d.getHasMore(), "hasMore should remain true for partial read"); } /** * Test scenario with no data to read */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertEquals(0, response.writeDataWireFormat(null, 0)); } @Test @DisplayName("Should handle null buffer in read operations") void testReadOperationsWithNullBuffer() { // Read operations return 0 when given null buffer - no exceptions thrown assertEquals(0, response.readSetupWireFormat(null, 0, 0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0)