- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 1,290 for inrange (0.06 seconds)
-
cmd/site-replication_test.go
}, // Test3: not currently under site replication. { []madmin.PeerInfo{}, set.CreateStringSet(), set.CreateStringSet("dep1", "dep2", "dep3", "dep4"), []string{}, }, } for i, tc := range testCases { names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites) if len(names) != len(tc.expNames) { t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 2.2K bytes - Click Count (0) -
internal/config/etcd/etcd_test.go
[]string{ "https://localhost:2379", "https://localhost:2380", }, true, true, }, {"http://localhost:2379", []string{"http://localhost:2379"}, false, true}, } for _, testCase := range testCases { t.Run(testCase.s, func(t *testing.T) { endpoints, secure, err := parseEndpoints(testCase.s) if err != nil && testCase.success { t.Errorf("expected to succeed but failed with %s", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.1K bytes - Click Count (0) -
internal/rest/client_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.9K bytes - Click Count (0) -
src/bytes/compare_test.go
// nil tests {nil, nil, 0}, {[]byte(""), nil, 0}, {nil, []byte(""), 0}, {[]byte("a"), nil, 1}, {nil, []byte("a"), -1}, } func TestCompare(t *testing.T) { for _, tt := range compareTests { numShifts := 16 buffer := make([]byte, len(tt.b)+numShifts) // vary the input alignment of tt.b for offset := 0; offset <= numShifts; offset++ { shiftedB := buffer[offset : len(tt.b)+offset]Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Click Count (0) -
cmd/object-api-options.go
} } return opts, valid } func parseObjectAttributes(h http.Header) (attributes map[string]struct{}) { attributes = make(map[string]struct{}) for _, headerVal := range h.Values(xhttp.AmzObjectAttributes) { for v := range strings.SplitSeq(strings.TrimSpace(headerVal), ",") { if v != "" { attributes[v] = struct{}{} } } } return attributes }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/admin-handlers-idp-config.go
return } writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } hasEnv := false for _, ci := range cfgInfos { if ci.IsCfg && ci.IsEnv { hasEnv = true break } } if hasEnv { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigEnvOverridden), r.URL) return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 12.7K bytes - Click Count (0) -
cmd/postpolicyform_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
* * @return the classifier or an empty string if none, never {@code null} */ @Nonnull String getClassifier(); /** * {@return the specific version, range of versions, or meta-version of the artifact}. * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword. */ @Nonnull VersionConstraint getVersionConstraint(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 2.8K bytes - Click Count (0) -
internal/lock/lock_windows_test.go
// doesn't really matter anyway, since this is purely a string // function we're testing, and it's not actually being used to // do a system call) veryLong := "l" + strings.Repeat("o", 248) + "ng" for _, test := range []struct{ in, want string }{ // Short; unchanged: {`C:\short.txt`, `C:\short.txt`}, {`C:\`, `C:\`}, {`C:`, `C:`}, // The "long" substring is replaced by a looooooong
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 2.2K bytes - Click Count (0) -
internal/bucket/replication/replication_test.go
expectedParsingErr: fmt.Errorf("invalid destination '%v'", "arn:xx:replication::8320b6d18f9032b4700f1f03b50d8d1853de8f22cab86931ee794e12f190852c:destinationbucket"), expectedValidationErr: nil, }, } for i, tc := range testCases { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig)))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.4K bytes - Click Count (0)