Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,848 for lengths (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            };
    
            // When
            int bytesRead = response.readBytesWireFormat(wireData, 0);
    
            // Then
            assertEquals(4, bytesRead);
            assertEquals(wireData.length, bytesRead);
        }
    
        @Test
        @DisplayName("Should handle concurrent read operations")
        void testConcurrentReads() throws SMBProtocolDecodingException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

                if (text == null || text.isEmpty()) {
                    return Collections.emptyList();
                }
    
                List<String> readings = new ArrayList<>();
    
                if (langs == null || langs.length == 0) {
                    readings.add(text.toUpperCase());
                } else {
                    for (String lang : langs) {
                        if (japaneseMode && "ja".equals(lang)) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                }
                targetFile = file;
            }
    
            File file = new File(targetFile, paths[paths.length - 1]);
            if (file.exists()) {
                for (int i = 0; i < maxDuplicatedPath; i++) {
                    file = new File(targetFile, paths[paths.length - 1] + "_" + i);
                    if (!file.exists()) {
                        targetFile = file;
                        break;
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/NegTokenInit.java

        @Override
        public String toString() {
            String mic = null;
            if (this.getMechanismListMIC() != null) {
                mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length);
            }
            return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic);
        }
    
        @Override
        public byte[] toByteArray() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            LdapOperationException exception = new LdapOperationException("Stack trace test");
            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
            // Verify that current test method appears in stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify cause's stack trace is also available
            StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
            assertNotNull(causeStackTrace);
            assertTrue(causeStackTrace.length > 0);
        }
    
        public void test_toString() {
            // Test toString method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
        Comparator<Optional<String>> unused = emptiesFirst(naturalOrder());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

    /**
     * The body of a [MockResponse].
     *
     * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not
     * called by readers.
     */
    public interface MockResponseBody {
      /** The length of this response in bytes, or -1 if unknown. */
      public val contentLength: Long
    
      @Throws(IOException::class)
      public fun writeTo(sink: BufferedSink)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("prefix", prefix);
            assertArgumentNotNull("handler", handler);
    
            final int pos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
                if (!entry.isDirectory()) {
                    final String entryName = entry.getName().replace('\\', '/');
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/InputValidatorTest.java

        })
        void testInvalidUsernames(String username) {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateUsername(username));
        }
    
        @Test
        @DisplayName("Test username length validation")
        void testUsernameLengthValidation() {
            String longUsername = "a".repeat(InputValidator.MAX_USERNAME_LENGTH + 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top