- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for getBuffer (0.08 sec)
-
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
RdmaMemoryRegion region = provider.registerMemory(buffer, access); assertNotNull(region, "Memory region should not be null"); assertEquals(buffer, region.getBuffer(), "Buffer should match"); assertEquals(1024, region.getSize(), "Size should match buffer size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
if (this.state == 0) { bind(); } final byte[] inB = this.transportContext.getBufferCache().getBuffer(); final byte[] out = this.transportContext.getBufferCache().getBuffer(); try { final NdrBuffer buf = encodeMessage(msg, out); final int off = sendFragments(msg, out, buf);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
alignmentBytes = 1; // Need 1 byte of padding for 2-byte alignment } // The value 0xCD should be encoded as a 16-bit value (0x00CD) in little-endian byte[] bufferData = buf.getBuffer(); assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
resp.reset(); long k; /* * First request w/ interim response */ try { req.setBuffer(getContext().getBufferCache().getBuffer()); req.nextElement(); if (req.hasMoreElements()) { final SmbComBlankResponse interim = new SmbComBlankResponse(getContext().getConfig());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
// Test allocation performance long allocStart = System.nanoTime(); byte[] buffer = BufferCache.getBuffer(); long allocEnd = System.nanoTime(); totalAllocTime.addAndGet(allocEnd - allocStart); allocations.incrementAndGet();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
public int getTailSpace() { return buf.length - index; } /** * Returns the underlying byte buffer. * * @return the byte buffer */ public byte[] getBuffer() { return buf; } /** * Aligns the buffer index to the specified boundary with a fill value. * * @param boundary the alignment boundary
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
// In real implementation, this would receive using DiSNI: // RdmaCompletionEvent event = endpoint.getCqProcessor().getCqEvent(timeout); // if (event != null) { // return event.getBuffer(); // } // return null; // For skeleton implementation, return null (timeout) return null; } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(mockContext.getBufferCache()).thenReturn(mockBufferCache); // Setup buffer cache to return buffers for sendrecv operations lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]); } /** * Helper method to create a DcerpcPipeHandle with injected mocks * Uses mock to avoid constructor issues while allowing real method calls */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)