Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 270 for substring (0.05 sec)

  1. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * @return The result after trimming
         */
        protected String trimPrefix(final String propertyName) {
            if (prefix == null) {
                return propertyName;
            }
            return propertyName.substring(prefix.length());
        }
    
        /**
         * Converts a value.
         *
         * @param value
         *            The value
         * @param destPropertyName
         *            The destination property name
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            if (contentLength == -1L && lowercaseHeader.startsWith("content-length:")) {
              contentLength = header.substring(15).trim().toLong()
            }
            if (lowercaseHeader.startsWith("transfer-encoding:") &&
              lowercaseHeader.substring(18).trim() == "chunked"
            ) {
              chunked = true
            }
          }
    
          val peek = dispatcher.peek()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. 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,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  6. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
                return Optional.of(str.substring(0, str.length() - suffix.length()));
              } else {
                return Optional.absent();
              }
            }
          };
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

          String suffix = ".negate()";
          String description = toString();
          String negatedDescription =
              description.endsWith(suffix)
                  ? description.substring(0, description.length() - suffix.length())
                  : description + suffix;
          return new NegatedFastMatcher(
              precomputedPositive(negatedCharacters, table, negatedDescription)) {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  9. 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>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
                item = item.substring(1, item.length() - 1);
            }
            return item;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top