Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for baseList (0.21 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    }
    
    // multiplyWithOverflowGuard returns the product of baseCost and cardinality unless that product
    // would exceed math.MaxUint, in which case math.MaxUint is returned.
    func multiplyWithOverflowGuard(baseCost, cardinality uint64) uint64 {
    	if baseCost == 0 {
    		// an empty rule can return 0, so guard for that here
    		return 0
    	} else if math.MaxUint/baseCost < cardinality {
    		return math.MaxUint
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    // separately from Test and WithParamInterface. For example:
    
    class BaseTest : public ::testing::Test {
      // You can inherit all the usual members for a non-parameterized test
      // fixture here.
    };
    
    class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
      // The usual test fixture members go here too.
    };
    
    TEST_F(BaseTest, HasFoo) {
      // This is an ordinary non-parameterized test.
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 74.1K bytes
    - Viewed (0)
Back to top