- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 364 for readn (0.04 sec)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Read first message assertEquals(1, sis.read()); assertEquals(2, sis.read()); // Read second message assertEquals(3, sis.read()); assertEquals(4, sis.read()); assertEquals(5, sis.read()); // After all data is consumed, next read throws IOException assertThrows(IOException.class, () -> sis.read()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
@Test @DisplayName("Should handle multiple consecutive reads") void testMultipleConsecutiveReads() throws Exception { // First read byte[] buffer1 = createValidOplockBreakBuffer((byte) 0x01, createTestData(16)); notification.readBytesWireFormat(buffer1, 0); // Second read with different values byte[] fileId2 = new byte[16];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** * <p> * {@link ESSourceReader} reads documents from Elasticsearch using the scroll API. * It implements the {@link DocumentReader} interface to provide a way to iterate over documents * in a large index without loading all of them into memory at once. * </p> * * <p> * The reader supports limiting the number of documents read based on a percentage of the total documentsRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
/** * This class will allow a Java program to read and write data to Named * Pipes and Transact NamedPipes. * * <p> * There are three Win32 function calls provided by the Windows SDK * that are important in the context of using jCIFS. They are: * * <ul> * <li><code>CallNamedPipe</code> A message-type pipe call that opens, * writes to, reads from, and closes the pipe in a single operation.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo(); int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)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/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
System.arraycopy(b, i, buf, index, l); advance(l); } /** * Reads an octet array from the buffer. * * @param b the byte array to read into * @param i the starting index in the array * @param l the number of bytes to read */ public void readOctetArray(final byte[] b, final int i, final int l) { System.arraycopy(buf, index, b, i, l);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that resource content is properly read using readAllBytes. * Verifies that the new implementation correctly reads entire resource content. */ @Test public void testResourceReading_readAllBytesCorrectness() throws Exception { // Read using the new method (readAllBytes) String contentNew;Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
} }); } ``` ### 5.3 Read/Write Operations with Multi-Channel ```java // In SmbFile.java public void optimizedLargeRead(byte[] buffer, long offset, int length) throws IOException { if (!session.isMultiChannelEnabled() || length < 1048576) { // 1MB threshold // Use single channel for small reads normalRead(buffer, offset, length); return; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
private int getMaxChannelsFromConfig(Configuration config) { // In a real implementation, this would read from configuration return 4; // Default to 4 channels } private LoadBalancingStrategy getLoadBalancingStrategyFromConfig(Configuration config) { // In a real implementation, this would read from configuration return LoadBalancingStrategy.ROUND_ROBIN; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0)