Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 211 for marshal (0.06 seconds)

  1. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. cmd/tier-last-day-stats_gen.go

    			return
    		}
    		err = en.WriteTime(zb0008.UpdatedAt)
    		if err != nil {
    			err = msgp.WrapError(err, zb0007, "UpdatedAt")
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z DailyAllTierStats) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendMapHeader(o, uint32(len(z)))
    	for zb0007, zb0008 := range z {
    		o = msgp.AppendString(o, zb0007)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. cmd/bucket-replication-utils_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BucketReplicationResyncStatus) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "v"
    	o = append(o, 0x84, 0xa1, 0x76)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 59.3K bytes
    - Click Count (0)
  4. cmd/local-locker_gen.go

    		for zb0008 := range zb0007 {
    			err = zb0007[zb0008].EncodeMsg(en)
    			if err != nil {
    				err = msgp.WrapError(err, zb0006, zb0008)
    				return
    			}
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z localLockMap) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendMapHeader(o, uint32(len(z)))
    	for zb0006, zb0007 := range z {
    		o = msgp.AppendString(o, zb0006)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. cmd/storage-datatypes_gen.go

    func (z BaseOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 0
    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 151.7K bytes
    - Click Count (0)
  6. cmd/batch-rotate_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Context)
    	if err != nil {
    		err = msgp.WrapError(err, "Context")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BatchJobKeyRotateEncryption) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "Type"
    	o = append(o, 0x83, 0xa4, 0x54, 0x79, 0x70, 0x65)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  7. docs/iam/access-manager-plugin.go

    		return
    	}
    
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "  ")
    	fmt.Printf("Received JSON payload:\n%s\n", out.String())
    
    	reqMap := make(map[string]interface{})
    	err = json.Unmarshal(body, &reqMap)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	m := reqMap["input"].(map[string]interface{})
    	accountValue := m["account"].(string)
    	actionValue := m["action"].(string)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt

    import org.gradle.api.Project
    import org.gradle.api.provider.Property
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.kotlin.dsl.*
    import org.gradle.process.CommandLineArgumentProvider
    
    
    // Android Studio Narwhal 3 | 2025.1.3
    // Find all references here https://developer.android.com/studio/archive
    // Update verification-metadata.xml
    const val DEFAULT_ANDROID_STUDIO_VERSION = "2025.1.3.7"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Sep 19 16:20:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. cmd/xl-storage-format-v1_gen.go

    func (z BitrotAlgorithm) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint(uint(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BitrotAlgorithm) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint(o, uint(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
    - 41.2K bytes
    - Click Count (0)
  10. internal/crypto/sse-kms.go

    		b, err := base64.StdEncoding.DecodeString(context[0])
    		if err != nil {
    			return "", nil, err
    		}
    
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    		if err := json.Unmarshal(b, &ctx); err != nil {
    			return "", nil, err
    		}
    	}
    
    	keyID := h.Get(xhttp.AmzServerSideEncryptionKmsID)
    	spaces := strings.HasPrefix(keyID, " ") || strings.HasSuffix(keyID, " ")
    	if spaces {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
Back to Top