- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 1,168 for Buffer (0.04 sec)
-
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java
connection.connect(); return connection; } @Override public RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException { // TCP doesn't need real memory registration return new TcpMemoryRegion(buffer, access); } @Override public String getProviderName() { return "TCP Fallback"; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
private static <T> int drain( BlockingQueue<T> q, Collection<? super T> buffer, int numElements, long timeout, TimeUnit unit, boolean interruptibly) throws InterruptedException { return interruptibly ? Queues.drain(q, buffer, numElements, timeout, unit) : Queues.drainUninterruptibly(q, buffer, numElements, timeout, unit); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
* Server flags2 field from the SMB header. */ public int sflags2; /** * Maximum number of outstanding multiplex requests. */ public int smaxMpxCount; /** * Maximum buffer size the server can handle. */ public int maxBufferSize; /** * Session key for this connection. */ public int sessKey; /** * Server capabilities bitmap. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[4]); } @Test void testReadParameterWordsReturnsZero() { byte[] buffer = new byte[2]; int rc = instance.readParameterWordsWireFormat(buffer, 0); assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB"); } @Test void testWriteBytesReturnsZero() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.io import java.io.IOException import okio.Buffer import okio.FileSystem import okio.ForwardingFileSystem import okio.ForwardingSink import okio.Path import okio.Sink class FaultyFileSystem constructor( delegate: FileSystem?,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
import org.junit.jupiter.params.provider.MethodSource; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class MIENameTest { // Helper to build a valid buffer according to the expected layout. private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) { byte[] tokId = new byte[] { 0x04, 0x01 }; int oidLen = oidDer.length;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_LZ77); assertArrayEquals(testData, decompressed); } @Test @DisplayName("Test decompression into buffer") public void testDecompressionIntoBuffer() throws CIFSException { byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_LZ77);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
import jcifs.smb1.Config; /** * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we * create a lightweight concrete subclass only to exercise the inherited * behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negative * values are verified to ensure proper exception handling and byte * conversion. */ @ExtendWith(MockitoExtension.class)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
import mockwebserver3.SocketEffect import mockwebserver3.SocketEffect.CloseSocket import mockwebserver3.SocketEffect.CloseStream import mockwebserver3.SocketEffect.ShutdownConnection import okio.Buffer import okio.ByteString internal fun Dispatcher.wrap(): mockwebserver3.Dispatcher { if (this is QueueDispatcher) return this.delegate val delegate = this return object : mockwebserver3.Dispatcher() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 4.1K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
dstIndex += count; return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0)