Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 050 (0.01 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        @DisplayName("readSetupWireFormat with various parameters should return 0")
        void testReadSetupWireFormatVariousParams() {
            // Test with different buffer sizes and offsets
            int[][] testCases = { { 0, 50 }, // No offset, 50 bytes
                    { 10, 90 }, // 10 byte offset, 90 bytes
                    { 50, 50 }, // 50 byte offset, 50 bytes
                    { 0, 0 }, // Empty buffer
                    { 100, 100 } // Large values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            qrList.calculatePageInfo();
    
            // start=10, offset=5, so startWithOffset = 10-5 = 5
            // currentPageNumber = start / pageSize + 1 = 10 / 20 + 1 = 1
            // existPrevPage = startWithOffset > 0 = 5 > 0 = true
            assertEquals(1, qrList.getCurrentPageNumber());
            assertTrue(qrList.isExistNextPage());
            assertTrue(qrList.isExistPrevPage());
            assertEquals(11, qrList.getCurrentStartRecordNumber());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void testSignSignatureExceedsBuffer() {
                byte[] data = new byte[50]; // Too small for signature field
                assertThrows(IllegalArgumentException.class, () -> digest.sign(data, 0, 50, request, response),
                        "Should throw IllegalArgumentException when signature field exceeds buffer");
            }
    
            @Test
            @DisplayName("Should handle null data buffer in verify method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top