- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 585 for buffer1 (0.88 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
@Test @DisplayName("Should not modify buffer during write") void testWriteDoesNotModifyBuffer() { byte[] buffer = new byte[64]; Arrays.fill(buffer, (byte) 0xAA); byte[] originalBuffer = buffer.clone(); notification.writeBytesWireFormat(buffer, 0); assertArrayEquals(originalBuffer, buffer); } } @NestedRegistered: 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/jcifs/smb1/dcerpc/rpc.java
final int _bufferl = length / 2; final int _buffers = maximum_length / 2; _dst.enc_ndr_long(_buffers); _dst.enc_ndr_long(0); _dst.enc_ndr_long(_bufferl); final int _bufferi = _dst.index; _dst.advance(2 * _bufferl); _dst = _dst.derive(_bufferi); for (int _i = 0; _i < _bufferl; _i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
throw new NdrException(NdrException.INVALID_CONFORMANCE); } this.buffer = new short[_buffers]; } _src = _src.derive(_bufferi); for (int _i = 0; _i < _bufferl; _i++) { this.buffer[_i] = (short) _src.dec_ndr_short(); } } } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
assertThrows(Exception.class, () -> new Pac(pacData, keys)); } @Test void testZeroBufferCount() throws IOException { // Test PAC with zero buffers (missing required buffers) ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, 0); // bufferCount = 0 writeLittleEndianInt(baos, PacConstants.PAC_VERSION); // valid version
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
*/ public BufferCacheImpl(final Configuration cfg) { this(cfg.getBufferCacheSize(), cfg.getMaximumBufferSize()); } /** * Constructs a buffer cache with specified parameters. * * @param maxBuffers the maximum number of buffers to cache * @param maxSize the size of each buffer in bytes * */ public BufferCacheImpl(final int maxBuffers, final int maxSize) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
); when(mockNdrBuffer.dec_ndr_small()).thenReturn(4, 5); when(mockDeferredNdrBuffer.dec_ndr_long()).thenReturn(5, 0, 5, // name buffer: buffers, 0, bufferl 6, 0, 6, // dns_domain buffer: buffers, 0, bufferl 7, 0, 7 // dns_forest buffer: buffers, 0, bufferl ); when(mockDeferredNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 'a', (int) (int) (short) 'b', (int) (int) (short) 'c',Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
// Pre-allocate buffer pool initializeBufferPool(); } private void initializeBufferPool() { // Allocate send buffers for (int i = 0; i < initialSendBuffers; i++) { try { ByteBuffer buffer = ByteBuffer.allocateDirect(sendBufferSize); RdmaMemoryRegion region = provider.registerMemory(buffer,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
* * @param buffer buffer to release */ public void releaseBuffer(ByteBuffer buffer) { // For direct buffers, we rely on GC // Could implement a more sophisticated buffer pool here } /** * Clean up all pooled regions * * This method should be called when shutting down to * release all resources. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
assertTrue(str.startsWith("TransWaitNamedPipeResponse["), "toString should begin with class name"); } /** * Verify that all methods can be called with null buffers without * throwing exceptions. This test ensures robustness of the implementation. */ @Test void methodsHandleNullBuffersGracefully() { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0)