Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 223 for ltrim (0.05 sec)

  1. guava-tests/test/com/google/common/base/PredicatesTest.java

        new EqualsTester()
            .addEqualityGroup(trimEqualsFoo, Predicates.compose(equalsFoo, trim))
            .addEqualityGroup(equalsFoo)
            .addEqualityGroup(trim)
            .addEqualityGroup(Predicates.compose(equalsFoo, identity))
            .addEqualityGroup(Predicates.compose(equalsBar, trim))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                    buf.append("</item>");
                }
            }
            buf.append("</list>");
            // TODO support other type
            // TODO trim(default)
            return "<field name=\"" + XmlUtil.escapeXml(name) + "\">" + buf.toString().trim() + "</field>\n";
        }
    
        protected String getAdditionalData(final ResponseData responseData, final Document document) {
            return "";
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K 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"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  4. cmd/object-lambda-handlers.go

    	if code, ok := statusTextToCode[text]; ok {
    		return code
    	}
    	return -1
    }
    
    func fwdHeadersToS3(h http.Header, w http.ResponseWriter) {
    	const trim = "x-amz-fwd-header-"
    	for k, v := range h {
    		if stringsHasPrefixFold(k, trim) {
    			w.Header()[k[len(trim):]] = v
    		}
    	}
    }
    
    func fwdStatusToAPIError(resp *http.Response) *APIError {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        static void populate( Reader r ) throws IOException {
            String line;
            BufferedReader br = new BufferedReader( r );
    
            while(( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if( line.length() == 0 ) {
                    continue;
                } else if( line.charAt( 0 ) == '#' ) {
                    if( line.startsWith( "#INCLUDE " )) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                }
                restrictions.add(restriction);
                upperBound = restriction.getUpperBound();
    
                process = process.substring(index + 1).trim();
    
                if (process.startsWith(",")) {
                    process = process.substring(1).trim();
                }
            }
    
            if (!process.isEmpty()) {
                if (!restrictions.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } }
            def propertiesTable = withCategories { propertiesSection ? propertiesSection.table[0] : parse('<table/>')}
            def methodsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Methods' } }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        break;
                    case 5:
                        if (ch == '=') {
                            key = str.substring(mark, si).trim();
                            mark = si + 1;
                        } else if (ch == ',' || ch == ']') {
                            String val = str.substring(mark, si).trim();
                            if (key == null)
                                key = "endpoint";
                            binding.setOption(key, val);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top