- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 90 for LEADING (0.03 sec)
-
internal/s3select/sql/parser.go
} // UnaryTerm represents a single negated term or a primary term type UnaryTerm struct { Negated *NegatedTerm `parser:" @@"` Primary *PrimaryTerm `parser:"| @@"` } // NegatedTerm has a leading minus sign. type NegatedTerm struct { Term *PrimaryTerm `parser:"\"-\" @@"` } // PrimaryTerm represents a Value, Path expression, a Sub-expression // or a function call. type PrimaryTerm struct {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.9K bytes - Viewed (0) -
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 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.2K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
} @Throws(IOException::class) private fun completeEvent( id: String?, type: String?, data: Buffer, ) { if (data.size != 0L) { lastId = id data.skip(1L) // Leading newline. callback.onEvent(id, type, data.readUtf8()) } } companion object { val options = Options.of( // 0 "\r\n".encodeUtf8(), // 1
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
checkVersionsOrder(a, c); checkVersionsOrder(c, d); checkVersionsOrder(b, d); checkVersionsOrder(a, d); } /** * Test all versions are equal when starting with many leading zeroes regardless of string length * (related to MNG-6572 optimization) */ @Test void testVersionEqualWithLeadingZeroes() { // versions with string lengths from 1 to 19
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
} return dummy; } /** * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate * implementation for Joiner since it fails on leading empty components. */ @Benchmark int stringBuilderIsEmpty(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
} if length > (endIdx - startIdx) { length = endIdx - startIdx } endIdx = startIdx + length } return string(rs[startIdx:endIdx]), nil } const ( trimLeading = "LEADING" trimTrailing = "TRAILING" trimBoth = "BOTH" ) func evalSQLTrim(where *string, trimChars, text string) (result string, err error) { cutSet := " " if trimChars != "" { cutSet = trimChars }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // Extra spaces treated as bad. assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // Missing leading zero treated as bad. assertThat("Thu, 1 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // RFC 850, obsoleted by RFC 1036 with any TZ. assertThat("Thursday, 01-Jan-1970 00:00:00 GMT-01:00".toHttpDateOrNull()!!.time)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.9K bytes - Viewed (0) -
internal/config/certs.go
func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) { // Read certificate file. var data []byte if data, err = os.ReadFile(certFile); err != nil { return nil, err } // Trimming leading and tailing white spaces. data = bytes.TrimSpace(data) // Parse all certs in the chain. current := data for len(current) > 0 { var pemBlock *pem.Block
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
*/ public void test_name_whitespace() { // Leading whitespace testTransformer.setName(" leadingSpaces"); assertEquals(" leadingSpaces", testTransformer.getName()); // Trailing whitespace testTransformer.setName("trailingSpaces "); assertEquals("trailingSpaces ", testTransformer.getName()); // Both leading and trailing testTransformer.setName(" bothSpaces ");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected) } @Test fun addParsing() { val headers = Headers .Builder() .add("foo: bar") .add(" foo: baz") // Name leading whitespace is trimmed. .add("foo : bak") // Name trailing whitespace is trimmed. .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace .add("ping: pong ") // Value whitespace is trimmed.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0)