Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for trim (0.19 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        }
                        if (pair.length == 2) {
                            String sortValue = pair[1].trim();
                            if (StringUtil.isBlank(sortValue) || "score".equals(sortValue)) {
                                sortValue = "score.desc";
                            }
                            return new Pair<>(pair[0].trim(), sortValue);
                        }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  2. 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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    	{"Trim", "\u2C6F\u2C6F\u0250\u0250\u2C6F\u2C6F", "\u2C6F", "\u0250\u0250"},
    	{"Trim", "\x80test\xff", "\xff", "test"},
    	{"Trim", " Ġ ", " ", "Ġ"},
    	{"Trim", " Ġİ0", "0 ", "Ġİ"},
    	//empty string tests
    	{"Trim", "abba", "", "abba"},
    	{"Trim", "", "123", ""},
    	{"Trim", "", "", ""},
    	{"TrimLeft", "abba", "", "abba"},
    	{"TrimLeft", "", "123", ""},
    	{"TrimLeft", "", "", ""},
    	{"TrimRight", "abba", "", "abba"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                }
            }
    
            return location;
        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuilderRequest request, int errorThreshold) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 65K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        // ----------------------------------------------------------------------
    
        private void addPath(List<String> paths, String path) {
            if (path != null) {
                path = path.trim();
                if (!path.isEmpty()) {
                    File file = new File(path);
                    if (file.isAbsolute()) {
                        path = file.getAbsolutePath();
                    } else if (".".equals(path)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                }
            });
        }
    
        protected Client createHttpClient(final FessConfig fessConfig, final String host) {
            final String[] hosts =
                    split(host, ",").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.availableProcessors())
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

       *
       * ... returns {@code "cat"}.
       *
       * <p>Note that:
       *
       * <pre>{@code
       * CharMatcher.inRange('\0', ' ').trimFrom(str)
       * }</pre>
       *
       * ... is equivalent to {@link String#trim()}.
       */
      public String trimFrom(CharSequence sequence) {
        int len = sequence.length();
        int first;
        int last;
    
        for (first = 0; first < len; first++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

       *
       * ... returns {@code "cat"}.
       *
       * <p>Note that:
       *
       * <pre>{@code
       * CharMatcher.inRange('\0', ' ').trimFrom(str)
       * }</pre>
       *
       * ... is equivalent to {@link String#trim()}.
       */
      public String trimFrom(CharSequence sequence) {
        int len = sequence.length();
        int first;
        int last;
    
        for (first = 0; first < len; first++) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/bootstrap.min.js

    _={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=g(t).css("transition-duration"),n=g(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(n);return i||o?(e...
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 58.6K bytes
    - Viewed (3)
  10. src/main/webapp/js/bootstrap.min.js

    _={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=g(t).css("transition-duration"),n=g(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(n);return i||o?(e...
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 58.6K bytes
    - Viewed (0)
Back to top