- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,101 for orange (0.05 seconds)
-
cmd/object-handlers-common_test.go
canonicalizedETag: "abc", }, { etag: "abcd", canonicalizedETag: "abcd", }, { etag: "abcd\"\"", canonicalizedETag: "abcd", }, } for _, test := range testCases { etag := canonicalizeETag(test.etag) if test.canonicalizedETag != etag { t.Fatalf("Expected %s , got %s", test.canonicalizedETag, etag) } } } // Tests - CheckPreconditions()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/signature-v4_test.go
}, region: "", expected: ErrUnsignedHeaders, }, } // Run each test case individually. for i, testCase := range testCases { // Turn the map[string]string into map[string][]string, because Go. query := url.Values{} for key, value := range testCase.queryParams { query.Set(key, value) } // Create a request to use.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.5K bytes - Click Count (0) -
internal/s3select/csv/reader.go
if r.columnNames == nil { r.columnNames = make([]string, len(csvRecord)) for i := range csvRecord { r.columnNames[i] = fmt.Sprintf("_%v", i+1) } } // If no index map, add that. if r.nameIndexMap == nil { r.nameIndexMap = make(map[string]int64) for i := range r.columnNames { r.nameIndexMap[r.columnNames[i]] = int64(i) } } dstRec, ok := dst.(*Record) if !ok {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
internal/s3select/sql/evaluate.go
if len(e.And) == 1 { // In this case, result is not required to be boolean // type. return e.And[0].evalNode(r, tableAlias) } // Compute OR of conditions result := false for _, ex := range e.And { res, err := ex.evalNode(r, tableAlias) if err != nil { return nil, err } b, ok := res.ToBool() if !ok { return nil, errExpectedBool } if b { return FromBool(true), nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
clause/benchmarks_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Oct 07 12:14:14 GMT 2022 - 1.9K bytes - Click Count (0) -
cmd/data-scanner_test.go
globalExpiryState = es // Prepare object versions obj := "obj-1" // Simulate objects uploaded 30 hours ago modTime := now.Add(-48 * time.Hour) uuids := make([]uuid.UUID, 5) for i := range uuids { uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)}) } fivs := make([]FileInfo, 5) objInfos := make([]ObjectInfo, 5) objRetentionMeta := make(map[string]string)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java
"Expected 'UnresolvableModelException' not thrown."); assertNotNull(e.getMessage()); assertEquals("No versions matched the requested parent version range '[2.0,2.1)'", e.getMessage()); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenUsingRangesWithoutUpperBound() throws Exception { final Parent parent = new Parent();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 7.9K bytes - Click Count (0) -
src/archive/zip/example_test.go
}{ {"readme.txt", "This archive contains some text files."}, {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"}, {"todo.txt", "Get animal handling licence.\nWrite more examples."}, } for _, file := range files { f, err := w.Create(file.Name) if err != nil { log.Fatal(err) } _, err = f.Write([]byte(file.Body)) if err != nil { log.Fatal(err) } }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 2K bytes - Click Count (0) -
cmd/auth-handler_test.go
}, Method: http.MethodPost, Body: nopCloser, }, authT: authTypePostPolicy, }, } // .. Tests all request auth type. for i, testc := range testCases { authT := getRequestAuthType(testc.req) if authT != testc.authT { t.Errorf("Test %d: Expected %d, got %d", i+1, testc.authT, authT) } } } // Test all s3 supported auth types.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
cmd/api-utils.go
if required <= len(buf) { t = buf[:required] } else { t = make([]byte, required) } if hexCount == 0 { copy(t, s) for i := range len(s) { if s[i] == ' ' { t[i] = '+' } } return string(t) } j := 0 for i := range len(s) { switch c := s[i]; { case c == ' ': t[j] = '+' j++ case shouldEscape(c): t[j] = '%' t[j+1] = "0123456789ABCDEF"[c>>4]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 2.8K bytes - Click Count (0)