Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 295 for trim (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

          }
        }
    
        var pos = 0
        while (pos < value.length) {
          val tokenStart = pos
          pos = value.indexOfElement("=,;", pos)
          val directive = value.substring(tokenStart, pos).trim()
          val parameter: String?
    
          if (pos == value.length || value[pos] == ',' || value[pos] == ';') {
            pos++ // Consume ',' or ';' (if necessary).
            parameter = null
          } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                    final List<String> urlList = split(startUrls.toString(), "\n")
                            .get(stream -> stream.map(String::trim).filter(StringUtil::isNotBlank).collect(Collectors.toList()));
    
                    final String webUrls = urlList.stream().filter(s -> Arrays.stream(webProtocols).anyMatch(p -> s.startsWith(p)))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
            return Arrays.stream(ruleString.split(",")).map(s -> s.split(":")).filter(v -> v.length == 2)
                    .map(v -> new Pair<String, String>(v[0].trim(), v[1].trim()));
        }
    
        @Override
        protected List<RequestData> convertChildUrlList(final List<RequestData> urlList) {
            if (urlList != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                            postcard.addReplyTo(fessConfig.getMailReturnPath());
                            if (toAddresses.length > 0) {
                                stream(toAddresses).of(stream -> stream.map(String::trim).forEach(address -> {
                                    postcard.addTo(address);
                                }));
                            } else {
                                postcard.addTo(fessConfig.getMailFromAddress());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

        @Override
        protected Client createClient() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] hosts =
                    split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Builder builder = Settings.builder().putList("http.hosts", hosts).put("processors", fessConfig.getCrawlerHttpProcessors())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

        // _/_/_/_/_/_/_/_/_/_/
    
        @Override
        public FormMappingOption adjustFormMapping() {
            return new FormMappingOption()
                    .filterSimpleTextParameter((parameter, meta) -> parameter.trim().replace("\r\n", "\n").replace('\r', '\n'));
        }
    
        @Override
        public String customizeActionMappingRequestPath(final String requestPath) {
            if (StringUtil.isBlank(requestPath)) {
                return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

                }
            }
            return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
                if (result.exitValue == 0) outputText.trim()
                else "<unknown>" // It's a source distribution, we don't know.
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 10:02:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): String =
        providers.fileContents(repoRoot().file(path)).asText.get().trim()
    
    // TODO Simplify the buildTimestamp() calculation if possible
    fun Project.buildTimestamp(): Provider<String> =
        providers.of(BuildTimestampValueSource::class) {
            parameters {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

                String line;
                while ((line = br.readLine()) != null) {
                    if (line.length() > 0 && !line.startsWith("#")) {
                        list.add(line.trim());
                    }
                }
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to load default badwords.", e);
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. cmd/metacache-walk.go

    			sb.Reset()
    			bytebufferpool.Put(sb)
    		}()
    
    		forward := ""
    		if len(opts.ForwardTo) > 0 && strings.HasPrefix(opts.ForwardTo, current) {
    			forward = strings.TrimPrefix(opts.ForwardTo, current)
    			// Trim further directories and trailing slash.
    			if idx := strings.IndexByte(forward, '/'); idx > 0 {
    				forward = forward[:idx]
    			}
    		}
    		if contextCanceled(ctx) {
    			return ctx.Err()
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top