Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for BatchJobPrefix (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/batch-handlers_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgBatchJobPrefix(b *testing.B) {
    	v := BatchJobPrefix{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobPrefix(b *testing.B) {
    	v := BatchJobPrefix{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. cmd/batch-handlers_gen.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BatchJobPrefix) DecodeMsg(dc *msgp.Reader) (err error) {
    	var zb0002 uint32
    	zb0002, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if cap((*z)) >= int(zb0002) {
    		(*z) = (*z)[:zb0002]
    	} else {
    		(*z) = make(BatchJobPrefix, zb0002)
    	}
    	for zb0001 := range *z {
    		(*z)[zb0001], err = dc.ReadString()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  3. cmd/batch-handlers.go

    		lookup = minio.BucketLookupAuto
    	}
    	return lookup
    }
    
    // BatchJobPrefix - to support prefix field yaml unmarshalling with string or slice of strings
    type BatchJobPrefix []string
    
    var _ yaml.Unmarshaler = &BatchJobPrefix{}
    
    // UnmarshalYAML - to support prefix field yaml unmarshalling with string or slice of strings
    func (b *BatchJobPrefix) UnmarshalYAML(value *yaml.Node) error {
    	// try slice first
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  4. cmd/batch-handlers_test.go

    import (
    	"slices"
    	"testing"
    
    	"gopkg.in/yaml.v3"
    )
    
    func TestBatchJobPrefix_UnmarshalYAML(t *testing.T) {
    	type args struct {
    		yamlStr string
    	}
    	type PrefixTemp struct {
    		Prefix BatchJobPrefix `yaml:"prefix"`
    	}
    	tests := []struct {
    		name    string
    		b       PrefixTemp
    		args    args
    		want    []string
    		wantErr bool
    	}{
    		{
    			name: "test1",
    			b:    PrefixTemp{},
    			args: args{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. cmd/batch-replicate.go

    // the source of the data for the target
    type BatchJobReplicateSource struct {
    	Type     BatchJobReplicateResourceType `yaml:"type" json:"type"`
    	Bucket   string                        `yaml:"bucket" json:"bucket"`
    	Prefix   BatchJobPrefix                `yaml:"prefix" json:"prefix"`
    	Endpoint string                        `yaml:"endpoint" json:"endpoint"`
    	Path     string                        `yaml:"path" json:"path"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 6.3K bytes
    - Click Count (0)
Back to Top