Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BatchJobExpireFilter (0.17 sec)

  1. cmd/batch-expire_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgBatchJobExpireFilter(b *testing.B) {
    	v := BatchJobExpireFilter{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobExpireFilter(b *testing.B) {
    	v := BatchJobExpireFilter{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    }
    
    var _ yaml.Unmarshaler = &BatchJobExpireFilter{}
    
    // UnmarshalYAML - BatchJobExpireFilter extends unmarshal to extract line, col
    // information
    func (ef *BatchJobExpireFilter) UnmarshalYAML(value *yaml.Node) error {
    	type expFilter BatchJobExpireFilter
    	var tmp expFilter
    	err := value.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    	*ef = BatchJobExpireFilter(tmp)
    	ef.line, ef.col = value.Line, value.Column
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. cmd/batch-expire_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Rules")
    				return
    			}
    			if cap(z.Rules) >= int(zb0002) {
    				z.Rules = (z.Rules)[:zb0002]
    			} else {
    				z.Rules = make([]BatchJobExpireFilter, zb0002)
    			}
    			for za0001 := range z.Rules {
    				err = z.Rules[za0001].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Rules", za0001)
    					return
    				}
    			}
    		default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 19.8K bytes
    - Viewed (0)
Back to top