Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for baseList (0.13 sec)

  1. tests/embedded_struct_test.go

    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    		Email string
    	}
    
    	type HNPost struct {
    		BasePost
    		Author  `gorm:"EmbeddedPrefix:user_"` // Embedded struct
    		Upvotes int32
    	}
    
    	type EngadgetPost struct {
    		BasePost BasePost `gorm:"Embedded"`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

                }
            """
            file("src/test/groovy/BaseTest.groovy").text = """
                import spock.lang.Specification
                class BaseTest extends Specification {}
            """
            file("src/test/groovy/UnrelatedClass.groovy").text = "class UnrelatedClass {}"
            file("src/test/groovy/AppTest.groovy").text = """
                class AppTest extends BaseTest {
                    def "some test"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    // 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
    - 18.4K bytes
    - Viewed (0)
  4. 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)
  5. 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