Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 223 for rtrim (0.03 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("b", "bb", "bbb")
    
        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // An edit should now add a job to clean up if the most recent trim failed.
        assertThat(cache.edit("b")).isNull()
        taskFaker.runNextTask()
    
        // Confirm a successful cache trim now allows edits.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                boolean inlineContent = trimmedContent.find { it instanceof Text && it.textContent.trim() }
    
                if (prettyPrint && !inlineContent) {
                    trimmedContent = element.childNodes.inject([]) { list, child ->
                        if (!(child instanceof Text) || child.textContent.trim().length() != 0) {
                            list << child
                        }
                        return list
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                        form.virtualHosts = stream(entity.getVirtualHosts())
                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
                        form.name = null;
                    });
                    form.crudMode = CrudMode.CREATE;
                });
            }).renderWith(data -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                        form.virtualHosts = stream(entity.getVirtualHosts())
                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
                        form.name = null;
                    });
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

        val out = ByteArrayOutputStream()
        exec {
            isIgnoreExitValue = ignoreExitValue
            commandLine(*args)
            standardOutput = out
            this.workingDir = workingDir
        }
        return out.toString().trim()
    }
    
    
    fun ExecOperations.execAndGetStdoutIgnoringError(vararg args: String) = execAndGetStdout(File("."), true, *args)
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 21:39:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                            if (contentMetaBuf.length() > 0) {
                                contentMetaBuf.append(' ');
                            }
                            contentMetaBuf.append(joinedValue.trim());
                        }
                    }
    
                    final Tuple3<String, String, String> mapping = fessConfig.getCrawlerMetadataNameMapping(key);
                    if (mapping != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                            updater.write("# " + line);
                        }
                        continue;
                    }
    
                    final String input = m.group(1).trim();
                    final String output = m.group(2).trim();
    
                    if (input == null || output == null) {
                        logger.warn("Failed to parse {} to {}", line, path);
                        if (updater != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    String line;
                    StringBuilder contentBuilder = new StringBuilder();
                    while ((line = reader.readLine()) != null) {
                        if (!line.trim().startsWith("#")) {
                            existingClasses.add(line.trim());
                        }
                        contentBuilder.append(line).append("\n");
                    }
                    existingContent = contentBuilder.toString();
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

        @Internal
        protected
        fun getContributorsInReleaseNotes(): Set<GitHubUser> {
            val (_, contributorLines, _) = parseReleaseNotes()
            return contributorLines
                .map { it.trim() }
                .filter { it.isNotEmpty() }
                .onEach { check(contributorLineRegex.containsMatchIn(it)) { "Invalid contributor line: $it" } }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static String formatDuration(final long durationMillis) {
            return DurationFormatUtils.formatDuration(durationMillis, "d 'days' HH:mm:ss.SSS").replace("0 days", StringUtil.EMPTY).trim();
    
        }
    
        public static String formatNumber(final long value, final String pattern) {
            final DecimalFormat df = (DecimalFormat) NumberFormat.getNumberInstance(getUserLocale());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top