Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 211 for marshal (0.2 seconds)

  1. cmd/storage-rest-common_gen.go

    			return
    		}
    	} else {
    		err = z.Cache.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Cache")
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *nsScannerOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "id"
    	o = append(o, 0x83, 0xa2, 0x69, 0x64)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. cmd/metacache_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteUint8(z.dataVersion)
    	if err != nil {
    		err = msgp.WrapError(err, "dataVersion")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *metacache) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 13
    	// string "end"
    	o = append(o, 0x8d, 0xa3, 0x65, 0x6e, 0x64)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10K bytes
    - Click Count (0)
  3. cmd/batch-expire_gen.go

    	for za0001 := range z.Rules {
    		err = z.Rules[za0001].EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Rules", za0001)
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BatchJobExpire) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 6
    	// string "APIVersion"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  4. cmd/xl-storage-format-v2_gen.go

    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z ChecksumAlgo) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 55.8K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/rule_test.go

    			expectedErr: errInvalidRuleDelMarkerExpiration,
    		},
    	}
    
    	for i, tc := range invalidTestCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			var rule Rule
    			err := xml.Unmarshal([]byte(tc.inputXML), &rule)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if err := rule.Validate(); err != tc.expectedErr {
    				t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err)
    			}
    		})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  6. cmd/batch-replicate_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.SessionToken)
    	if err != nil {
    		err = msgp.WrapError(err, "SessionToken")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BatchJobReplicateCredentials) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "AccessKey"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.7K bytes
    - Click Count (0)
  7. cmd/last-minute_gen.go

    	err = en.Append(0xa1, 0x4e)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt64(z.N)
    	if err != nil {
    		err = msgp.WrapError(err, "N")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z AccElem) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "Total"
    	o = append(o, 0x83, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  8. SECURITY.md

    for the past five days please contact the security team directly:
    
    - Primary security coordinator: ******@****.***
    - Secondary coordinator: harsha@min.io
    - If you receive no response: ******@****.***
    
    ### Disclosure Process
    
    MinIO uses the following disclosure process:
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 2.2K bytes
    - Click Count (0)
  9. cmd/tier_gen.go

    			return
    		}
    		err = za0002.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Tiers", za0001)
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *TierConfigMgr) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "Tiers"
    	o = append(o, 0x81, 0xa5, 0x54, 0x69, 0x65, 0x72, 0x73)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. cmd/site-replication-metrics_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt64(z.Bytes)
    	if err != nil {
    		err = msgp.WrapError(err, "Bytes")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z RStat) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 2
    	// string "Count"
    	o = append(o, 0x82, 0xa5, 0x43, 0x6f, 0x75, 0x6e, 0x74)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.3K bytes
    - Click Count (0)
Back to Top