Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for checkModel (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

            assert actual instanceof KotlinDslScriptsModel
    
            checkModel(actual, expected, [
                [{ it.scriptModels }, { a, e -> checkKotlinDslScriptModel(a, e) }]
            ])
        }
    
        static void checkKotlinDslScriptModel(actual, expected) {
            assert expected instanceof KotlinDslScriptModel
            assert actual instanceof KotlinDslScriptModel
    
            checkModel(actual, expected, [
                { it.classPath },
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

        private static void checkContentRoot(IdeaContentRoot actual, IdeaContentRoot expected) {
            checkModel(actual, expected, [
                { it.rootDirectory },
                { it.excludeDirectories },
            ])
        }
    
        private static void checkDependency(IdeaDependency actual, IdeaDependency expected) {
            checkModel(actual, expected, [
                { it.scope.scope },
                { it.exported },
            ])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. src/go/printer/printer_test.go

    var fset = token.NewFileSet()
    
    type checkMode uint
    
    const (
    	export checkMode = 1 << iota
    	rawFormat
    	normNumber
    	idempotent
    	allowTypeParams
    )
    
    // format parses src, prints the corresponding AST, verifies the resulting
    // src is syntactically correct, and returns the resulting src or an error
    // if any.
    func format(src []byte, mode checkMode) ([]byte, error) {
    	// parse src
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one.go

    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	type nodeStatus struct {
    		node   string
    		status *framework.Status
    	}
    	result := make([]*nodeStatus, numAllNodes)
    	checkNode := func(i int) {
    		// We check the nodes starting from where we left off in the previous scheduling cycle,
    		// this is to make sure all nodes have the same chance of being examined across pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	stopCh := make(chan struct{})
    	obj := config.NewFunc()
    	// Give this error when it is constructed rather than when you get the
    	// first watch item, because it's much easier to track down that way.
    	if err := runtime.CheckCodec(config.Codec, obj); err != nil {
    		return nil, fmt.Errorf("storage codec doesn't seem to match given type: %v", err)
    	}
    
    	var indexedTrigger *indexedTriggerFunc
    	if config.IndexerFuncs != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top