- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 585 for buffer1 (5.14 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
void testReadSetupWireFormat() { netShareEnum = new NetShareEnum(realConfig); byte[] buffer = new byte[100]; int result = netShareEnum.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = netShareEnum.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); // Test with zero length
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertSame(a, first, "First get should return first cached buffer"); assertSame(c, second, "Second get should return second cached buffer"); assertNotSame(d, third, "Third get should allocate a new buffer (not the dropped one)"); assertEquals(3, third.length, "Allocated buffer length matches configured maximum size"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
/** Maximum number of lines to buffer. */ private final int maxLineBuffer; /** * Constructor for InputStreamThread. * @param is The input stream to read from. * @param charset The character encoding to use. * @param maxOutputLineBuffer The maximum number of lines to buffer. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling * this method should provide all changes (size of that buffer can be adjusted through * {@link jcifs.Configuration#getNotifyBufferSize()}). * If the server cannot fulfill the request because the changes did not fit the buffer * it will return an empty list of changes. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
*/ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
buffer[offset + 2] = 0x00; buffer[offset + 3] = 0x00; buffer[offset + 4] = 0x00; buffer[offset + 5] = 0x00; buffer[offset + 6] = 0x00; buffer[offset + 7] = 0x01; // Sub-authority SMBUtil.writeInt4(0, buffer, offset + 8); } private void prepareDaclHeader(byte[] buffer, int offset, int aceCount) { buffer[offset] = 0x02; // revisionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals((byte) 0xEF, buffer[0]); // Little-endian assertEquals((byte) 0xCD, buffer[1]); assertEquals((byte) 0xAB, buffer[2]); assertEquals((byte) 0x89, buffer[3]); assertEquals((byte) 0x67, buffer[4]); assertEquals((byte) 0x45, buffer[5]); assertEquals((byte) 0x23, buffer[6]); assertEquals((byte) 0x01, buffer[7]); ndrBuffer.setIndex(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
SocketInputStream sis = new SocketInputStream(in); // Read using array-only method byte[] buffer = new byte[3]; assertEquals(3, sis.read(buffer)); assertArrayEquals(new byte[] { 1, 2, 3 }, buffer); } @Test @DisplayName("Available returns remaining bytes in current message")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)