Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top