Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for quantity_less (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    			expectValue: trueVal,
    		},
    		{
    			name:        "inequality",
    			expr:        `quantity("200M") == quantity("0.3G")`,
    			expectValue: falseVal,
    		},
    		{
    			name:        "quantity_less",
    			expr:        `quantity("50M").isLessThan(quantity("50Mi"))`,
    			expectValue: trueVal,
    		},
    		{
    			name:        "quantity_less_obvious",
    			expr:        `quantity("50M").isLessThan(quantity("100M"))`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			expectEstimatedCost: checker.CostEstimate{Min: 3, Max: 5534023222112865798},
    			expectRuntimeCost:   9,
    		},
    		{
    			name:                "quantity_less",
    			expr:                `quantity("50M").isLessThan(quantity("50Mi"))`,
    			expectEstimatedCost: checker.CostEstimate{Min: 3, Max: 3},
    			expectRuntimeCost:   3,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    Ben Luddy <******@****.***> 1715961160 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top