- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 216 for Trim (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
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) -
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) -
cmd/signature-v4-utils.go
extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10)) default: return nil, ErrUnsignedHeaders } } return extractedSignedHeaders, ErrNone } // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall() // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html func signV4TrimAll(input string) string {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 25 17:10:22 GMT 2024 - 9.1K bytes - Click Count (0) -
internal/s3select/csv/reader.go
ret.FieldsPerRecord = -1 // If LazyQuotes is true, a quote may appear in an unquoted field and a // non-doubled quote may appear in a quoted field. ret.LazyQuotes = true // We do not trim leading space to keep consistent with s3. ret.TrimLeadingSpace = false ret.ReuseRecord = true return ret } return r, r.startReaders(newCsvReader)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
// Test with empty array baos.reset(); byte[] data3 = {}; Hexdump.hexdump(ps, data3, 0, 0); String output3 = baos.toString(); assertEquals("", output3.trim()); } @Test @DisplayName("Should handle multiple lines in hexdump") void testHexdumpMultipleLines() { ByteArrayOutputStream baos = new ByteArrayOutputStream();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
when (this[i]) { '\t', '\n', '\u000C', '\r', ' ' -> Unit else -> return i + 1 } } return startIndex } /** Equivalent to `string.substring(startIndex, endIndex).trim()`. */ fun String.trimSubstring( startIndex: Int = 0, endIndex: Int = length, ): String { val start = indexOfFirstNonAsciiWhitespace(startIndex, endIndex)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
@get:Synchronized @set:Synchronized var maxSize: Long = maxSize set(value) { field = value if (initialized) { cleanupQueue.schedule(cleanupTask) // Trim the existing store if necessary. } } /* * This cache uses a journal file named "journal". A typical journal file looks like this: * * libcore.io.DiskLruCache * 1Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
socket.source.readUtf8LineStrict() } try { bytesRemainingInChunk = socket.source.readHexadecimalUnsignedLong() val extensions = socket.source.readUtf8LineStrict().trim() if ((bytesRemainingInChunk < 0L) || (extensions.isNotEmpty() && !extensions.startsWith(";"))) { throw ProtocolException( "expected chunk size and optional extensions" +
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7)