- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 141 for TRIM (0.03 seconds)
-
internal/s3select/sql/parser_test.go
"substring('abcd' from 2)", "substring('abcd' , 2 , 2)", "substring('abcd' , 22 )", "trim(' aab ')", "trim(leading from ' aab ')", "trim(trailing from ' aab ')", "trim(both from ' aab ')", "trim(both '12' from ' aab ')", "trim(leading '12' from ' aab ')", "trim(trailing '12' from ' aab ')", "count(23)", } for i, tc := range validCases {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Click Count (0) -
utils/utils_test.go
input []int trimLen int expected []int }{ { name: "Trim two elements from end", input: []int{1, 2, 3, 4, 5}, trimLen: 2, expected: []int{1, 2, 3}, }, { name: "Trim entire slice", input: []int{1, 2, 3}, trimLen: 3, expected: []int{}, }, { name: "Trim length greater than slice length", input: []int{1, 2, 3}, trimLen: 5,
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 4.9K bytes - Click Count (0) -
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"},Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
/** * Process a single line: remove comments, trim whitespace, and replace placeholders. */ private static String processLine(String line, String mavenProjectBasedir) { // Remove comments int commentIndex = line.indexOf('#'); if (commentIndex >= 0) { line = line.substring(0, commentIndex); } // Trim whitespace line = line.trim();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0) -
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()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 19K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt
internal fun Map<String, String>.commonToHeaders(): Headers { // Make a defensive copy and clean it up. val namesAndValues = arrayOfNulls<String>(size * 2) var i = 0 for ((k, v) in this) { val name = k.trim() val value = v.trim() headersCheckName(name) headersCheckValue(value, name) namesAndValues[i] = name namesAndValues[i + 1] = value i += 2 }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K bytes - Click Count (0) -
android/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 // SerializableTesterCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java
} } configProps.remove(INCLUDES_PROPERTY); } private static void trimValues(MavenProperties configProps) { configProps.replaceAll((k, v) -> v.trim()); } private static String nextLocation(StringTokenizer st) { boolean optional = false; String retVal = null; if (st.countTokens() > 0) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.4K bytes - Click Count (0) -
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" } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0)