Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for length_is (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            int paramWritten = trans2QueryPathInfo.writeParametersWireFormat(paramBuffer, 0);
            int dataWritten = trans2QueryPathInfo.writeDataWireFormat(dataBuffer, 0);
    
            // Verify lengths
            assertEquals(2, setupWritten);
            assertTrue(paramWritten > 6);
            assertEquals(0, dataWritten);
    
            // Verify setup content
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetsTest.java

                        unfiltered.add("yyy");
                        unfiltered.addAll(ImmutableList.copyOf(elements));
                        unfiltered.add("zzz");
                        return Sets.filter(unfiltered, Collections2Test.LENGTH_1);
                      }
                    })
                .named("Sets.filter, no nulls")
                .withFeatures(
                    CollectionFeature.SUPPORTS_ADD,
                    CollectionFeature.SUPPORTS_REMOVE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                return;
            }
            if (expected == null || actual == null) {
                fail("Arrays are not equal: one is null");
            }
            assertEquals("Array lengths differ", expected.length, actual.length);
            for (int i = 0; i < expected.length; i++) {
                assertEquals("Array element at index " + i + " differs", expected[i], actual[i]);
            }
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should align to 8-byte boundary")
            void testPaddingAlignment() {
                // Test various name lengths to ensure proper padding
                for (int nameLen = 1; nameLen <= 32; nameLen++) {
                    byte[] name = new byte[nameLen];
                    Arrays.fill(name, (byte) 'A');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                        "Should throw configured exception");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 10, 50, 100, 255 })
            @DisplayName("Should handle various data lengths")
            void testVariousDataLengths(int length) throws SMBProtocolDecodingException {
                int result = testResponse.decode(testBuffer, 0, length);
    
                assertEquals(length, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. docs/en/docs/features.md

    ### Validation { #validation }
    
    * Validation for most (or all?) Python **data types**, including:
        * JSON objects (`dict`).
        * JSON array (`list`) defining item types.
        * String (`str`) fields, defining min and max lengths.
        * Numbers (`int`, `float`) with min and max values, etc.
    
    * Validation for more exotic types, like:
        * URL.
        * Email.
        * UUID.
        * ...and others.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals(14, totalWritten); // 4 header + 10 trailer
            assertEquals((byte) SessionServicePacket.SESSION_MESSAGE, dst[0]);
        }
    
        @Test
        @DisplayName("writeWireFormat should handle large lengths correctly")
        void testWriteWireFormatLargeLength() {
            packet.type = SessionServicePacket.SESSION_MESSAGE;
            packet.trailerLength = 0x10000; // Length requiring extended bit
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // When
            boolean isError = response.isErrorResponseStatus();
    
            // Then
            assertFalse(isError);
        }
    
        @DisplayName("Should handle various data lengths")
        @ParameterizedTest
        @CsvSource({ "0, 0", "1, 10", "100, 200", "512, 1024" })
        void testReadBytesWireFormatVariousDataLengths(int dataLength, int dataRemaining) throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeTests {
    
            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
                    "'\\\\server\\share\\very\\long\\path\\with\\many\\segments', 100" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            int paramWritten = trans2QueryFSInfo.writeParametersWireFormat(paramBuffer, 0);
            int dataWritten = trans2QueryFSInfo.writeDataWireFormat(dataBuffer, 0);
    
            // Verify lengths
            assertEquals(2, setupWritten);
            assertEquals(2, paramWritten);
            assertEquals(0, dataWritten);
    
            // Verify setup content
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top