- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 140 for unmarshalV1 (0.05 sec)
-
internal/grid/grid_types_msgp_test.go
o = msgp.AppendInt(o, z.Num) // string "String" o = append(o, 0xa6, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67) o = msgp.AppendString(o, z.String) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *testRequest) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.1K bytes - Viewed (0) -
cmd/batch-handlers_test.go
args: args{ yamlStr: ` prefix: - "foo" - "bar" `, }, want: []string{"foo", "bar"}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if err := yaml.Unmarshal([]byte(tt.args.yamlStr), &tt.b); (err != nil) != tt.wantErr { t.Errorf("UnmarshalYAML() error = %v, wantErr %v", err, tt.wantErr) } if !slices.Equal(tt.b.Prefix.F(), tt.want) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
o = append(o, 0xa2, 0x62, 0x64) o = msgp.AppendInt64(o, z.BytesDone) // string "bf" o = append(o, 0xa2, 0x62, 0x66) o = msgp.AppendInt64(o, z.BytesFailed) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *PoolDecommissionInfo) 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 - 26.7K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
errLifecycleInvalidDeleteAll = Errorf("Days (positive integer) should be present inside Expiration with ExpiredObjectAllVersions.") ) // ExpirationDays is a type alias to unmarshal Days in Expiration type ExpirationDays int // UnmarshalXML parses number of days from Expiration and validates if // greater than zero
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.6K bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
o = msgp.AppendNil(o) } else { o, err = z.Cache.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "Cache") return } } return } // UnmarshalMsg implements msgp.Unmarshaler func (z *nsScannerOptions) 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.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.configuration; /** * Preprocesses a value from a bean configuration before the bean configurator unmarshals it into a bean property. A * common use case for such preprocessing is the evaluation of variables within the configuration value. * */ public interface BeanConfigurationValuePreprocessor { /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen.go
} } // string "UpdatedAt" o = append(o, 0xa9, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74) o = msgp.AppendTime(o, zb0008.UpdatedAt) } return } // UnmarshalMsg implements msgp.Unmarshaler func (z *DailyAllTierStats) UnmarshalMsg(bts []byte) (o []byte, err error) { var zb0004 uint32 zb0004, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.2K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail bool err := xml.Unmarshal([]byte(test.xml), &dexp) if test.err == nil { if err != nil { fail = true } } else { if err == nil { fail = true } if test.err.Error() != err.Error() { fail = trueRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/event/targetid.go
func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data. func (tid *TargetID) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err != nil { return err } targetID, err := parseTargetID(s) if err != nil { return err } *tid = *targetID return nil } // parseTargetID - parses string to TargetID.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen.go
func (z BucketBandwidthReport) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 0 _ = z o = append(o, 0x80) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BucketBandwidthReport) 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 - 5.4K bytes - Viewed (0)