- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 140 for unmarshalV (0.05 sec)
-
internal/kms/secret-key.go
Algorithm string `json:"aead"` ID string `json:"id"` IV []byte `json:"iv"` Nonce []byte `json:"nonce"` Bytes []byte `json:"bytes"` } var value JSON if err := json.Unmarshal(text, &value); err != nil { return ErrDecrypt } if value.Algorithm != AES256GCM && value.Algorithm != CHACHA20POLY1305 { return ErrDecrypt } if len(value.IV) != IVSize { return ErrDecrypt
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Apr 21 16:23:51 UTC 2025 - 8.4K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
} // UnmarshalJSON - custom checksum info unmarshaller func (c *ChecksumInfo) UnmarshalJSON(data []byte) error { var info checksumInfoJSON json := jsoniter.ConfigCompatibleWithStandardLibrary if err := json.Unmarshal(data, &info); err != nil { return err } sum, err := hex.DecodeString(info.Hash) if err != nil { return err } c.Algorithm = BitrotAlgorithmFromString(info.Algorithm) c.Hash = sum
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/admin-handlers_test.go
if rec.Code != http.StatusOK { t.Errorf("Expected to receive %d status code but received %d. Body (%s)", http.StatusOK, rec.Code, string(resp)) } result := &serviceResult{} if err := json.Unmarshal(resp, result); err != nil { t.Error(err) } _ = result // Wait until testServiceSignalReceiver() called in a goroutine quits. wg.Wait() } // Test for service restart management REST API.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1) -
internal/config/dns/etcd_dns.go
if domain && r.Count == 0 { return nil, ErrDomainMissing } } var srvRecords []SrvRecord for _, n := range r.Kvs { var srvRecord SrvRecord if err = json.Unmarshal(n.Value, &srvRecord); err != nil { return nil, err } srvRecord.Key = strings.TrimPrefix(string(n.Key), key) srvRecord.Key = strings.TrimSuffix(srvRecord.Key, srvRecord.Host)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 8K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
t.Errorf("Test %d: %s: Expected the response to be `%s`, but instead found `%s`", i+1, instanceType, string(testCase.locationResponse), rec.Body.String()) } errorResponse := APIErrorResponse{} err = xml.Unmarshal(rec.Body.Bytes(), &errorResponse) if err != nil && !testCase.shouldPass { t.Fatalf("Test %d: %s: Unable to marshal response body %s", i+1, instanceType, rec.Body.String()) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
cmd/metacache-walk_gen.go
o = msgp.AppendInt(o, z.Limit) // string "DiskID" o = append(o, 0xa6, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44) o = msgp.AppendString(o, z.DiskID) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *WalkDirOptions) 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7K bytes - Viewed (0) -
cmd/site-replication-utils_gen.go
o, err = z.TargetReplicationResyncStatus.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "TargetReplicationResyncStatus") return } return } // UnmarshalMsg implements msgp.Unmarshaler func (z *SiteResyncStatus) 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
if e != nil && !errors.Is(e, errConfigNotFound) { return updatedAt, e } var expiryRuleRemoved bool if len(meta.LifecycleConfigXML) > 0 { var lcCfg lifecycle.Lifecycle if err := xml.Unmarshal(meta.LifecycleConfigXML, &lcCfg); err != nil { return updatedAt, err } // find a single expiry rule set the flag for _, rl := range lcCfg.Rules {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.4K bytes - Viewed (0) -
cmd/format-erasure_test.go
} b, err = os.ReadFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile)) if err != nil { t.Fatal(err) } formatV3 := &formatErasureV3{} if err = json.Unmarshal(b, formatV3); err != nil { t.Fatal(err) } if formatV3.Erasure.This != m.Erasure.Disk { t.Fatalf("expected drive uuid: %s, got: %s", m.Erasure.Disk, formatV3.Erasure.This) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.7K bytes - Viewed (0) -
docs/debugging/inspect/export.go
} return nil } type xlMetaV2VersionHeaderV2 struct { VersionID [16]byte ModTime int64 Signature [4]byte Type uint8 Flags uint8 } // UnmarshalMsg implements msgp.Unmarshaler func (z *xlMetaV2VersionHeaderV2) UnmarshalMsg(bts []byte) (o []byte, e error) { var zb0001 uint32 zb0001, bts, e = msgp.ReadArrayHeaderBytes(bts) if e != nil { e = msgp.WrapError(e) return o, e }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.2K bytes - Viewed (1)