- Sort Score
- Num 10 results
- Language All
Results 21 - 27 of 27 for getBuffers (0.1 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (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 */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
public int getTailSpace() { return this.buf.length - this.index; } /** * Returns the underlying byte buffer. * * @return the byte buffer */ public byte[] getBuffer() { return this.buf; } /** * Aligns the buffer index to the specified boundary with a fill value. * * @param boundary the alignment boundary
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
@BeforeEach void setUp() { // Setup buffer cache mocks with lenient stubbing lenient().when(mockContext.getBufferCache()).thenReturn(mockBufferCache); lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]); handle = new TestDcerpcHandle(mockContext, mockBinding); } @Nested @DisplayName("Binding Parsing Tests") class BindingParsingTests {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
void testGetTailSpace() { ndrBuffer.setIndex(100); assertEquals(buffer.length - 100, ndrBuffer.getTailSpace()); } @Test void testGetBuffer() { assertSame(buffer, ndrBuffer.getBuffer()); } @Test void testAlignWithValue() { // Align to 4-byte boundary with a fill value ndrBuffer.setIndex(1); int alignedBytes = ndrBuffer.align(4, (byte) 0xFF);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokio/RealBufferedSink;->writeShort(I)Lokio/BufferedSink; HSPLokio/RealBufferedSource;-><init>(Lokio/Source;)V HSPLokio/RealBufferedSource;->close()V HSPLokio/RealBufferedSource;->exhausted()Z HSPLokio/RealBufferedSource;->getBuffer()Lokio/Buffer; HSPLokio/RealBufferedSource;->read(Lokio/Buffer;J)J HSPLokio/RealBufferedSource;->readByte()B HSPLokio/RealBufferedSource;->readByteString(J)Lokio/ByteString; HSPLokio/RealBufferedSource;->readInt()I
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1)