- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 702 for Append (0.11 seconds)
-
cmd/admin-bucket-handlers.go
// Check if bucket exists. if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil { writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL) return } buckets = append(buckets, BucketInfo{Name: bucket}) } else { buckets, err = objectAPI.ListBuckets(ctx, BucketOptions{}) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 33.3K bytes - Click Count (0) -
tests/preload_suits_test.go
} want := []Level1{want1, want2} var got []Level1 err := DB.Preload("Level2.Level3.Level4s").Find(&got).Error if err != nil { t.Error(err) } for _, level1 := range append(got, want...) { sort.Slice(level1.Level2.Level3.Level4s, func(i, j int) bool { return level1.Level2.Level3.Level4s[i].ID > level1.Level2.Level3.Level4s[j].ID }) } if !reflect.DeepEqual(got, want) {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jun 05 11:34:13 GMT 2025 - 30.4K bytes - Click Count (0) -
cmd/sts-handlers.go
return } if intermediates == nil { intermediates = x509.NewCertPool() } intermediates.AddCert(cert) } else { peerCertificates = append(peerCertificates, cert) } } r.TLS.PeerCertificates = peerCertificates // Now, we have to check that the client has provided exactly one leaf // certificate that we can map to a policy.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.6K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
if err != nil { t.Fatalf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error()) } foundObjects = append(foundObjects, result.Objects...) foundPrefixes = append(foundPrefixes, result.Prefixes...) if !result.IsTruncated { break } marker = result.NextMarker if len(result.Objects) > 0 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
cmd/metacache-entries_test.go
be := b.entries() for i := range be { // Modify b so it isn't deduplicated. be[i].metadata = []byte("something-else") } // Merge b into a a.merge(b, -1) //nolint:gocritic want := append(loadMetacacheSampleNames, loadMetacacheSampleNames...) sort.Strings(want) got := a.entries().names() if len(got) != len(want) { t.Errorf("unexpected count, want %v, got %v", len(want), len(got)) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 31.6K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
} func TestNoncurrentVersionsLimit(t *testing.T) { // test that the lowest max noncurrent versions limit is returned among // matching rules var rules []Rule for i := 1; i <= 10; i++ { rules = append(rules, Rule{ ID: strconv.Itoa(i), Status: "Enabled", NoncurrentVersionExpiration: NoncurrentVersionExpiration{ NewerNoncurrentVersions: i, NoncurrentDays: ExpirationDays(i), },
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
cmd/object_api_suite_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
internal/s3select/select_test.go
statusCode int response []byte } func (w *testResponseWriter) Header() http.Header { return nil } func (w *testResponseWriter) Write(p []byte) (int, error) { w.response = append(w.response, p...) return len(p), nil } func (w *testResponseWriter) WriteHeader(statusCode int) { w.statusCode = statusCode } func (w *testResponseWriter) Flush() { }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 76.1K bytes - Click Count (0) -
cmd/storage-rest-server.go
} info, err := s.getStorage().StatVol(context.Background(), params.Get(storageRESTVolume)) if err != nil { return nil, grid.NewRemoteErr(err) } return &info, nil } // AppendFileHandler - append data from the request to the file specified. func (s *storageRESTServer) AppendFileHandler(w http.ResponseWriter, r *http.Request) { if !s.IsValid(w, r) { return } volume := r.Form.Get(storageRESTVolume)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
api/go1.5.txt
pkg math/big, method (*Float) Abs(*Float) *Float pkg math/big, method (*Float) Acc() Accuracy pkg math/big, method (*Float) Add(*Float, *Float) *Float pkg math/big, method (*Float) Append([]uint8, uint8, int) []uint8 pkg math/big, method (*Float) Cmp(*Float) int pkg math/big, method (*Float) Copy(*Float) *Float pkg math/big, method (*Float) Float32() (float32, Accuracy)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0)