- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 182 for unmarshalV1 (0.2 sec)
-
cmd/kms-handlers_test.go
t.Errorf("want status code %d, got %d", test.wantStatusCode, rec.Code) } // Check returned key list is correct if test.wantKeyNames != nil { keys := []madmin.KMSKeyInfo{} err := json.Unmarshal(rec.Body.Bytes(), &keys) if err != nil { t.Fatal(err) } if len(keys) != len(test.wantKeyNames) { t.Fatalf("want %d keys, got %d", len(test.wantKeyNames), len(keys)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
cmd/test-utils_test.go
if err != nil { t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Failed parsing response body: <ERROR> %v", err))) } actualError := &APIErrorResponse{} if err = xml.Unmarshal(actualContent, actualError); err != nil { t.Fatal(failTestStr(anonTestStr, "error response failed to parse error XML")) } if actualError.BucketName != bucketName {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/site-replication.go
var ver struct { Version int `json:"version"` } err = json.Unmarshal(buf, &ver) if err != nil { return err } if ver.Version != srStateFormatVersion1 { return fmt.Errorf("Unexpected ClusterRepl state version: %d", ver.Version) } var sdata srStateData err = json.Unmarshal(buf, &sdata) if err != nil { return err } c.Lock() defer c.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL) return } var target madmin.BucketTarget json := jsoniter.ConfigCompatibleWithStandardLibrary if err = json.Unmarshal(reqBytes, &target); err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 33.2K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen.go
// string "Finished" o = append(o, 0xa8, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64) o = msgp.AppendBool(o, z.Finished) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *healingTracker) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 15:42:49 UTC 2024 - 24.6K bytes - Viewed (0) -
cmd/bucket-metadata_gen.go
o = msgp.AppendTime(o, z.BucketTargetsConfigMetaUpdatedAt) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BucketMetadata) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 25.4K bytes - Viewed (0) -
cmd/admin-handlers.go
} return nil }, idx, *client.host) } for _, nerr := range ng.Wait() { if nerr.Err != nil { waitingDrives := map[string]madmin.DiskMetrics{} jerr := json.Unmarshal([]byte(nerr.Err.Error()), &waitingDrives) if jerr == nil { prs, ok := peerResults[nerr.Host.String()] if ok { prs.WaitingDrives = waitingDrives peerResults[nerr.Host.String()] = prs }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
cmd/iam-object-store.go
data, _, err := iamOS.loadIAMConfigBytesWithMetadata(ctx, objPath) if err != nil { return err } json := jsoniter.ConfigCompatibleWithStandardLibrary return json.Unmarshal(data, item) } func (iamOS *IAMObjectStore) deleteIAMConfig(ctx context.Context, path string) error { return deleteConfig(ctx, iamOS.objAPI, path) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 26.6K bytes - Viewed (0) -
api/go1.21.txt
pkg context, func WithTimeoutCause(Context, time.Duration, error) (Context, CancelFunc) #56661 pkg crypto/elliptic, func GenerateKey //deprecated #52221 pkg crypto/elliptic, func Marshal //deprecated #52221 pkg crypto/elliptic, func Unmarshal //deprecated #52221 pkg crypto/elliptic, method (*CurveParams) Add //deprecated #34648 pkg crypto/elliptic, method (*CurveParams) Double //deprecated #34648 pkg crypto/elliptic, method (*CurveParams) IsOnCurve //deprecated #34648
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0)