Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for forList (0.21 sec)

  1. pkg/kube/krt/filter.go

    	}
    }
    
    func (f *filter) Matches(object any, forList bool) bool {
    	// Check each of our defined filters to see if the object matches
    	// This function is called very often and is important to keep fast
    	// Cheaper checks should come earlier to avoid additional work and short circuit early
    
    	// If we are listing, we already did this. Do not redundantly check.
    	if !forList {
    		// First, lookup directly by key. This is cheap
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionNodeInitializerExtractionStrategy.java

                if (schema.getType().getRawClass() == List.class) {
                    return new ProjectionOnlyNodeInitializer(
                        ScalarCollectionModelProjection.forList(schema.getElementType(), !writable),
                        new ModelElementProjection(schema.getType())
                    );
                } else {
                    return new ProjectionOnlyNodeInitializer(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/InstanceBackedModelRegistrationTest.groovy

            def barReference = ModelReference.of("bar", List)
    
            def descriptor = new SimpleModelRuleDescriptor("foo")
    
            def fooList = []
            def fooRegistration = ModelRegistrations.bridgedInstance(fooReference, fooList).descriptor(descriptor).build()
            registry.register(fooRegistration)
    
            def barList = []
            def factory = Mock(org.gradle.internal.Factory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go

    						{
    							Name: "v1",
    						},
    					},
    					Names: apiextensionsv1.CustomResourceDefinitionNames{
    						Plural:   "foos",
    						Singular: "foo",
    						Kind:     "Foo",
    						ListKind: "FooList",
    					},
    					Scope: apiextensionsv1.NamespaceScoped,
    				},
    			}, "v1", schema, Options{V2: tt.v2})
    
    			var wantedSchema, wantedItemsSchema spec.Schema
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy_test.go

    }
    
    const listTypeResourceSchema = `
    apiVersion: apiextensions.k8s.io/v1
    kind: CustomResourceDefinition
    metadata:
      name: foos.test
    spec:
      group: test
      names:
        kind: Foo
        listKind: FooList
        plural: foos
        singular: foo
      scope: Cluster
      versions:
      - name: v1
        schema:
          openAPIV3Schema:
            type: object
            properties:
              numArray:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 22:16:10 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/test.go

    	// Test package.
    	if len(p.TestGoFiles) > 0 || p.Name == "main" || cover != nil && cover.Local {
    		ptest = new(Package)
    		*ptest = *p
    		ptest.Error = ptestErr
    		ptest.Incomplete = incomplete
    		ptest.ForTest = p.ImportPath
    		ptest.GoFiles = nil
    		ptest.GoFiles = append(ptest.GoFiles, p.GoFiles...)
    		ptest.GoFiles = append(ptest.GoFiles, p.TestGoFiles...)
    		ptest.Target = ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/list/list.go

    		for _, p := range all {
    			if p.ForTest != "" || p.Internal.ForMain != "" {
    				new := p.Desc()
    				old[new] = p.ImportPath
    				p.ImportPath = new
    			}
    			p.DepOnly = !cmdline[p]
    		}
    		// Update import path lists to use new strings.
    		m := make(map[string]string)
    		for _, p := range all {
    			for _, p1 := range p.Internal.Imports {
    				if p1.ForTest != "" || p1.Internal.ForMain != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/GroupingProgressLogEventGenerator.java

        private final OutputEventListener listener;
        private final LogHeaderFormatter headerFormatter;
        private final boolean verbose;
    
        // Maintain a hierarchy of all progress operations in progress — heads up: this is a *forest*, not just 1 tree
        private final Map<OperationIdentifier, OperationState> operationsInProgress = new LinkedHashMap<OperationIdentifier, OperationState>();
    
        private Object lastRenderedBuildOpId;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 13:28:29 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    		KindUnreachable:     "Unreachable",
    		KindBody:            "Body",
    		KindForBody:         "ForBody",
    		KindForDone:         "ForDone",
    		KindForLoop:         "ForLoop",
    		KindForPost:         "ForPost",
    		KindIfDone:          "IfDone",
    		KindIfElse:          "IfElse",
    		KindIfThen:          "IfThen",
    		KindLabel:           "Label",
    		KindRangeBody:       "RangeBody",
    		KindRangeDone:       "RangeDone",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/poset.go

    // for instance if A<B<C, calling SetOrder for C<A will fail returning false; also
    // calling SetEqual for C==A will fail.
    //
    // poset is implemented as a forest of DAGs; in each DAG, if there is a path (directed)
    // from node A to B, it means that A<B (or A<=B). Equality is represented by mapping
    // two SSA values to the same DAG node; when a new equality relation is recorded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
Back to top