- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 27 for getBuffers (0.37 seconds)
-
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
OutputStream encodingStream = encoding.encoding.encodingStream(target); encodingStream.write(encodingInputs[i & INPUTS_MASK]); encodingStream.close(); tmp += target.getBuffer().length(); } return tmp; } @Benchmark public int decodingStream(int reps) throws IOException { int tmp = 0; byte[] target = new byte[n]; for (int i = 0; i < reps; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
} /** * Get the underlying buffer * * @return memory buffer * @throws IllegalStateException if memory region has been invalidated */ public ByteBuffer getBuffer() { if (!valid) { throw new IllegalStateException("Memory region invalidated"); } return buffer; } /** * Get local memory key *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.3K bytes - Click Count (0) -
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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.7K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
OutputStream encodingStream = encoding.encoding.encodingStream(target); encodingStream.write(encodingInputs[i & INPUTS_MASK]); encodingStream.close(); tmp += target.getBuffer().length(); } return tmp; } @Benchmark public int decodingStream(int reps) throws IOException { int tmp = 0; byte[] target = new byte[n]; for (int i = 0; i < reps; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
@Override protected void doSend(final Request request) throws IOException { CommonServerMessageBlock smb = (CommonServerMessageBlock) request; final byte[] buffer = this.getContext().getBufferCache().getBuffer(); try { // synchronize around encode and write so that the ordering for SMB1 signing can be maintained synchronized (this.outLock) { final int n = smb.encode(buffer, 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0)