Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for lengths (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

             * The priority length is the number of characters before any wildcard.
             *
             * @param pattern the path pattern
             * @return the priority length
             */
            private static int calculatePriorityLength(final String pattern) {
                // For priority, we count the pattern length, treating * as having length 0
                // and $ as having length 1
                int length = 0;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (target1 == null || target2 == null) {
                return false;
            }
            final int length1 = target1.length();
            final int length2 = target2.length();
            if (length1 < length2) {
                return false;
            }
            final String s1 = target1.substring(length1 - length2);
            return s1.equalsIgnoreCase(target2);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            String[] titleValues = data.getValues("title");
            assertNotNull(titleValues);
            assertEquals(1, titleValues.length);
            assertEquals("Test Title", titleValues[0]);
    
            String[] authorValues = data.getValues("author");
            assertNotNull(authorValues);
            assertEquals(1, authorValues.length);
            assertEquals("John Doe", authorValues[0]);
        }
    
        public void test_putValues() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                } else {
                    // backward compatibility
                    final int length = spaceStr.length();
                    spaceChars = new int[length];
                    for (int i = 0; i < length; i++) {
                        spaceChars[i] = spaceStr.codePointAt(i);
                    }
                }
                propMap.put(key, spaceChars);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            if (defaultWords == null) {
                updateDefaultBadwords();
            }
            final String[] concat = new String[defaultWords.length + badWords.length];
            System.arraycopy(badWords, 0, concat, 0, badWords.length);
            System.arraycopy(defaultWords, 0, concat, badWords.length, defaultWords.length);
            return concat;
        }
    
        /**
         * Add a bad word.
         * @param badWord Bad word
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 03:02:17 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                    for (int i = 0; i < newLength; i++) {
                        values[oldValues.length + i] = Array.get(value, i);
                    }
                    dataMap.put(key, values);
                } else {
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + 1);
                    values[values.length - 1] = value;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        array.length, items.length - array.length);
            }
    
            try {
                final long start = System.currentTimeMillis();
                final SuggestWriterResult result = suggestWriter.write(client, settings, index, array, true);
                return new SuggestIndexResponse(items.length, items.length, result.getFailures(), System.currentTimeMillis() - start);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

            }
    
            // Add rows to text
            for (final String[] row : rows) {
                if (headers != null && headers.length > 0) {
                    // Associate values with column names
                    final int minLength = Math.min(headers.length, row.length);
                    for (int i = 0; i < minLength; i++) {
                        if (StringUtil.isNotBlank(row[i])) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
                        }
    
                        if (includeContent) {
                            if (file.length() < maxCachedContentSize) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayMap.java

        public V[] toArray(final V[] proto) {
            @SuppressWarnings("unchecked")
            final V[] array = proto.length >= size ? proto : (V[]) Array.newInstance(proto.getClass().getComponentType(), size);
            for (int i = 0; i < array.length; i++) {
                array[i] = getAt(i);
            }
            if (array.length > size) {
                array[size] = null;
            }
            return array;
        }
    
        @Override
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top