Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BatchJobSnowball (0.14 sec)

  1. cmd/batch-job-common-types.go

    }
    
    var _ yaml.Unmarshaler = &BatchJobSnowball{}
    
    // UnmarshalYAML - BatchJobSnowball extends unmarshal to extract line, column information
    func (b *BatchJobSnowball) UnmarshalYAML(val *yaml.Node) error {
    	type snowball BatchJobSnowball
    	var tmp snowball
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*b = BatchJobSnowball(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgBatchJobSnowball(b *testing.B) {
    	v := BatchJobSnowball{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobSnowball(b *testing.B) {
    	v := BatchJobSnowball{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types_gen.go

    func (z BatchJobSizeFilter) Msgsize() (s int) {
    	s = 1 + 11 + msgp.Int64Size + 11 + msgp.Int64Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *BatchJobSnowball) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. cmd/batch-replicate.go

    	Path     string                        `yaml:"path" json:"path"`
    	Creds    BatchJobReplicateCredentials  `yaml:"credentials" json:"credentials"`
    	Snowball BatchJobSnowball              `yaml:"snowball" json:"snowball"`
    }
    
    // ValidPath returns true if path is valid
    func (s BatchJobReplicateSource) ValidPath() bool {
    	switch s.Path {
    	case "on", "off", "auto", "":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top