- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for 050 (0.01 sec)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
when(mockSmbPipeHandleInternal.sendrecv(buf, 0, 50, inB, 4280)).thenReturn(40); int result = handle.doSendReceiveFragment(buf, 0, 50, inB); assertEquals(40, result); verify(mockSmbPipeHandleInternal).sendrecv(buf, 0, 50, inB, 4280); } @Test @DisplayName("Should handle multiple receives for fragment")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
joinHelper(10, 20, 1); joinHelper(1, 1, 1, 1, 1, 1, 1, 1); joinHelper(1, 0, 1, 0, 1, 0, 1, 0); } public void testOnlyOneOpen() throws Exception { ByteSource source = newByteSource(0, 50); int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
joinHelper(10, 20, 1); joinHelper(1, 1, 1, 1, 1, 1, 1, 1); joinHelper(1, 0, 1, 0, 1, 0, 1, 0); } public void testOnlyOneOpen() throws Exception { ByteSource source = newByteSource(0, 50); int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
MockCreateContextResponse mock = new MockCreateContextResponse("TEST"); byte[] buffer = new byte[100]; int result = mock.decode(buffer, 0, 50); assertEquals(0, result); } @ParameterizedTest @ValueSource(strings = { "", "SHORT", "VERY_LONG_CONTEXT_NAME_FOR_TESTING", "特殊字符" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
1, 3, new long[] {GREATEST - 1, GREATEST - 2, 1, 2}); } public void testDivide() { assertThat(UnsignedLongs.divide(14, 5)).isEqualTo(2); assertThat(UnsignedLongs.divide(0, 50)).isEqualTo(0); assertThat(UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL)).isEqualTo(1); assertThat(UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL)).isEqualTo(0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
serverSocket = serverSocketFactory.createServerSocket() val serverAddress = InetAddress.getByName("localhost") serverSocket!!.bind(InetSocketAddress(serverAddress, 0), 50) return InetSocketAddress(serverAddress, serverSocket!!.localPort) } private fun doServerHandshake(server: HandshakeCertificates): Future<Handshake> { return executorService.submit<Handshake> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] buffer = new byte[100]; assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 50)); } @Test void testReadDataWireFormatEmptyOutputBuffer() throws SMBProtocolDecodingException { // Test with empty outputBuffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
Trans2QueryPathInformationResponse resp = new Trans2QueryPathInformationResponse(0x999); byte[] buffer = new byte[100]; int result = resp.readDataWireFormat(buffer, 0, 50); assertEquals(0, result); assertNull(resp.info); } } @Nested @DisplayName("Mock Interaction Tests") class MockInteractionTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// Fill test pattern for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int bytesConsumed = response.decode(buffer, 0, 50); assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes regardless of extra length"); byte[] resumeKey = response.getResumeKey();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* 3. Different case * * ``` * content-type: text/html * content-length: 50 * ``` * * 4. Different values * * ``` * Content-Type: text/html * Content-Length: 050 * ``` * * Applications that require semantically equal headers should convert them into a canonical form * before comparing them for equality. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0)