Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 298 for SUBSTRING (0.13 seconds)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
                } else {
                    value = value.substring(0, pos) + " " + value.substring(lastPos + 3);
                }
                pos = value.indexOf("<!--");
            }
            return value;
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 54.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            return getQueryProcessor().execute(context, new PrefixQuery(new Term(field, text.substring(0, text.length() - 1))), boost);
        }
    
        /**
         * Converts a sort field query to add sort criteria to the context.
         *
         * @param fessConfig the Fess configuration
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            Map<String, MethodInfo> classMethodCache = METHOD_CACHE.computeIfAbsent(beanType, this::buildMethodCache);
    
            String title = Character.toTitleCase(propertyName.charAt(0)) + propertyName.substring(1);
    
            // Try setter first
            MethodInfo setter = classMethodCache.get("set" + title);
            if (setter != null && isMethodCompatible(setter.method, valueType)) {
                return setter;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

            String name = path.getFileName().toString();
            int dot = name.lastIndexOf('.');
            String ext = dot >= 1 ? name.substring(dot + 1) : "";
            ProducedArtifact artifact = session.createProducedArtifact(
                    project.getGroupId(), project.getArtifactId(), project.getVersion(), ext);
            attachArtifact(project, artifact, path);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dtyp/ACETest.java

                "0x08, Invalid" })
        void testGetApplyToText(String flagsHex, String expectedText) {
            ace.flags = Integer.parseInt(flagsHex.substring(2), 16);
            assertEquals(expectedText, ace.getApplyToText());
        }
    
        @Test
        @DisplayName("Test toString format for allow ACE")
        void testToStringAllowACE() throws SmbException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                    String executionId = "default-cli";
                    int executionIdx = pluginGoal.indexOf('@');
                    if (executionIdx > 0) {
                        executionId = pluginGoal.substring(executionIdx + 1);
                    }
    
                    MojoDescriptor mojoDescriptor = mojoDescriptorCreator.getMojoDescriptor(pluginGoal, session, project);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         */
        protected RequestData getDuplicateUrl(final RequestData requestData) {
            final String url = requestData.getUrl();
            if (url.endsWith("/")) {
                requestData.setUrl(url.substring(0, url.length() - 1));
            } else {
                requestData.setUrl(url + "/");
            }
            return requestData;
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 29 07:42:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

        private String sanitizeForLog(String str) {
            if (str == null) {
                return "null";
            }
    
            // Truncate long strings
            if (str.length() > 100) {
                str = str.substring(0, 100) + "...";
            }
    
            // Remove control characters
            return str.replaceAll("[\\x00-\\x1F\\x7F]", "?");
        }
    
        /**
         * Validation statistics
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

                      list.add((element == null) ? null : "q" + element);
                    }
                    return Collections2.transform(
                        list, from -> isNullOrEmpty(from) ? null : from.substring(1));
                  }
                })
            .named("Collections2.transform")
            .withFeatures(
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

                <li>{@code substring(string, start, [end])}: Returns a substring of the given string.</li>
                <li>{@code indexOf(string, substring)}: Returns the index of the first occurrence of substring in string, or -1 if not found.</li>
                <li>{@code contains(string, substring)}: Checks if the string contains the substring.</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
Back to Top