Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 274 for rtrim (0.14 seconds)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            val versions = mutableMapOf<Version, String>()
            var version: String? = null
            parameters.releasedVersionsFile.get().asFile.forEachLine(Charsets.UTF_8) {
                val line = it.trim()
                if (line.startsWith("\"version\"")) {
                    version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\""))
                }
                if (line.startsWith("\"buildTime\"")) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                final List<Integer> list = new ArrayList<>();
                for (final String value : values) {
                    try {
                        list.add(Integer.parseInt(value.trim()));
                    } catch (final NumberFormatException e) {}
                }
                this.days = new int[list.size()];
                for (int i = 0; i < list.size(); i++) {
                    this.days[i] = list.get(i);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

            void shouldProvideMeaningfulDescription() {
                String description = strategy.getDescription();
    
                assertNotNull(description, "Description should not be null");
                assertFalse(description.trim().isEmpty(), "Description should not be empty");
                assertTrue(
                        description.toLowerCase().contains("compatibility")
                                || description.toLowerCase().contains("fix"),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. 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)
  9. android/guava/src/com/google/common/base/Splitter.java

       * count. Hence, {@code Splitter.on(',').limit(3).omitEmptyStrings().split("a,,,b,,,c,d")} returns
       * an iterable containing {@code ["a", "b", "c,d"]}. When trim is requested, all entries are
       * trimmed, including the last. Hence {@code Splitter.on(',').limit(3).trimResults().split(" a , b
       * , c , d ")} results in {@code ["a", "b", "c , d"]}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertTrue(json.contains("\"content\": \"Test Content\""));
            assertTrue(json.contains("\"url\": \"https://example.com/page.html\""));
            assertTrue(json.startsWith("{"));
            assertTrue(json.trim().endsWith("}"));
        }
    
        @Test
        public void test_jsonFormatter_excludeFields() {
            final Map<String, Object> source = new LinkedHashMap<>();
            source.put("title", "Test");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
Back to Top