- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BatchJobSizeFilter (0.14 sec)
-
cmd/batch-job-common-types_test.go
objSize int64 sizeFilter BatchJobSizeFilter want bool }{ { // 1Mib < 2Mib < 10MiB -> in range objSize: 2 << 20, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20, LowerBound: 1 << 20, }, want: true, }, { // 2KiB < 1 MiB -> out of range from left objSize: 2 << 10, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20, LowerBound: 1 << 20,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/batch-job-common-types.go
msg: err.Error(), } } return nil } // BatchJobSizeFilter supports size based filters - LesserThan and GreaterThan type BatchJobSizeFilter struct { line, col int UpperBound BatchJobSize `yaml:"lessThan" json:"lessThan"` LowerBound BatchJobSize `yaml:"greaterThan" json:"greaterThan"` } // UnmarshalYAML - BatchJobSizeFilter extends unmarshal to extract line, column information
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 7.9K bytes - Viewed (0)