Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 339 for SUBSTRING (0.07 seconds)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    final String key = entry.getKey();
                    if (key.startsWith("fields.")) {
                        final String[] value = simplifyArray(entry.getValue());
                        fields.put(key.substring("fields.".length()), value);
                    }
                }
                return fields;
            }
    
            @Override
            public Map<String, String[]> getConditions() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  2. 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()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  3. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. 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: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  7. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            @Nullable String chop(String str) {
              if (str.endsWith(suffix)) {
                return str.substring(0, str.length() - suffix.length());
              } else {
                return null;
              }
            }
          };
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            final String omitMarker = "\n...[omitted]...\n";
            final int omitIdx = result.indexOf(omitMarker);
            assertTrue(omitIdx > 0);
            final String head = result.substring(0, omitIdx);
            final String tail = result.substring(omitIdx + omitMarker.length());
            // Verify 60/40 ratio: head=289, tail=194
            assertEquals(289, head.length());
            assertEquals(194, tail.length());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

              default:
                throw new IllegalArgumentException(
                    format("key %s invalid unit: was %s, must end with one of [dhms]", key, value));
            }
    
            long duration = Long.parseLong(value.substring(0, value.length() - 1));
            parseDuration(spec, duration, timeUnit);
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top