Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 218 for Trim (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

                    .collect(Collectors.joining("\n")));
            body.virtualHosts = stream(entity.getVirtualHosts())
                    .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
            return body;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. cmd/httprange.go

    	if !strings.HasPrefix(rangeString, byteRangePrefix) {
    		return nil, fmt.Errorf("'%s' does not start with '%s'", rangeString, byteRangePrefix)
    	}
    
    	// Trim byte range prefix.
    	byteRangeString := strings.TrimPrefix(rangeString, byteRangePrefix)
    
    	// Check if range string contains delimiter '-', else return error. eg. "bytes=8"
    	sepIndex := strings.Index(byteRangeString, "-")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to retrieve extended DFS referrals
         */
        public static final int FSCTL_DFS_GET_REFERRALS_EX = 0x000601B0;
        /**
         * Function code to trim file level storage
         */
        public static final int FSCTL_FILE_LEVEL_TRIM = 0x00098208;
        /**
         * Function code to validate SMB2 negotiate information
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

                execSpec.workingDir(gitExtension.getCheckoutDir().get());
                execSpecConfig.execute(execSpec);
            });
            exec.assertNormalExitValue();
            return os.toString().trim();
        }
    
        private static boolean isRemoteAvailable(Provider<String> remote, ByteArrayOutputStream output) {
            return new String(output.toByteArray()).lines().anyMatch(l -> l.contains(remote.get() + "\t"));
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                buf.append(";v=");
                buf.append(virtualHostList.stream().sorted().collect(Collectors.joining(",")));
            }
    
            final String urlId = buf.toString().trim();
            return generateId(urlId);
        }
    
        /**
         * Retrieves a list of session IDs with their document counts from the search engine.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

            return new File(baseDir, 'pid')
        }
    
        /** Reads the pid file and returns the process' pid */
        @Internal
        int getPid() {
            return Integer.parseInt(pidFile.getText('UTF-8').trim())
        }
    
        /** Returns the file the process writes its bound ports to. Defaults to "ports" inside baseDir. */
        @Internal
        protected File getPortsFile() {
            return new File(baseDir, 'ports')
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            List<String> pluginGroups = settings.getPluginGroups();
    
            if (pluginGroups != null) {
                for (int i = 0; i < pluginGroups.size(); i++) {
                    String pluginGroup = pluginGroups.get(i).trim();
    
                    if (pluginGroup.isEmpty()) {
                        addViolation(
                                problems, Severity.ERROR, "pluginGroups.pluginGroup[" + i + "]", null, "must not be empty");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            } catch (final Throwable t) {
                logger.warn("Failed to set SessionTrackingMode.", t);
            }
    
            split(fessConfig.getQueryFacetQueries(), "\n").of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(s -> {
                final String[] values = StringUtils.split(s, ":", 2);
                if (values.length != 2) {
                    return;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

        fun add(line: String) =
          apply {
            val index = line.indexOf(':')
            require(index != -1) { "Unexpected header: $line" }
            add(line.substring(0, index).trim(), line.substring(index + 1))
          }
    
        /**
         * Add a header with the specified name and value. Does validation of header names and values.
         */
        fun add(
          name: String,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top