- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 193 for Split (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/signature-v4-parser_test.go
testCases := []struct { inputSignElement string expectedSignStr string expectedErrCode APIErrorCode }{ // Test case - 1. // SignElement doesn't have 2 parts on an attempt to split at '='. // ErrMissingFields expected. { inputSignElement: "Signature", expectedSignStr: "", expectedErrCode: ErrMissingFields, }, // Test case - 2.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:35 GMT 2025 - 27.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
cmd/bucket-replication-utils.go
return r, err } for p := range strings.SplitSeq(s, ",") { if p == "" { continue } slc := strings.Split(p, "=") if len(slc) != 2 { return r, errInvalidReplicateDecisionFormat } tgtStr := strings.TrimSuffix(strings.TrimPrefix(slc[1], `"`), `"`) tgt := strings.Split(tgtStr, ";") if len(tgt) != 4 { return r, errInvalidReplicateDecisionFormat }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
internal/dsync/drwmutex.go
// Quorum is effectively = total clients subtracted with tolerance limit quorum := len(restClnts) - tolerance if !isReadLock { // In situations for write locks, as a special case // to avoid split brains we make sure to acquire // quorum + 1 when tolerance is exactly half of the // total locker clients. if quorum == tolerance { quorum++ } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* * This class tracks header values line-by-line. A field with multiple comma- separated values on * the same line will be treated as a field with a single value by this class. It is the caller's * responsibility to detect and split on commas if their field permits multiple values. This * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or * dates. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.5K bytes - Click Count (0) -
schema/schema_test.go
func (ns CustomizedNamingStrategy) ColumnName(table, column string) string { baseColumnName := ns.NamingStrategy.ColumnName(table, column) if table == "" { return baseColumnName } s := strings.Split(table, "_") var prefix string switch len(s) { case 1: prefix = s[0][:3] case 2: prefix = s[0][:1] + s[1][:2] default: prefix = s[0][:1] + s[1][:1] + s[2][:1] }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0) -
internal/s3select/sql/parser.go
func (ls *LiteralList) Capture(values []string) error { // Remove enclosing parenthesis. n := len(values[0]) r := values[0][1 : n-1] // Translate doubled quotes *ls = LiteralList(strings.Split(r, ",")) return nil } // ObjectKey is a type for parsed strings occurring in key paths type ObjectKey struct { Lit *LiteralString `parser:" \"[\" @LitString \"]\""` ID *Identifier `parser:"| \".\" @@"` }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
Splitter splitter = Splitter.on(CharMatcher.whitespace()); URL url = getClass().getResource(resourceName); for (String line : Resources.readLines(url, UTF_8)) { Iterator<String> iterator = splitter.split(line).iterator(); String input = iterator.next(); String expectedOutput = iterator.next(); assertFalse(iterator.hasNext()); assertEquals(expectedOutput, simplifyPath(input)); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 11K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminRebalanceAlreadyStarted), r.URL) return } vars := mux.Vars(r) v := vars["pool"] byID := vars["by-id"] == "true" pools := strings.Split(v, ",") poolIndices := make([]int, 0, len(pools)) for _, pool := range pools { var idx int if byID { var err error idx, err = strconv.Atoi(pool) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0) -
generics.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0)