Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for forList (0.41 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. internal/s3select/csv/testdata/testdata.zip

    0.35 0.0 0.0 56 32 5.37 1293 737 4 Queens 073700 4073700 I QN17 Forest Hills 4108 1856 747 4 Queens 074700 4074700 I QN17 Forest Hills 4108 3389379 2 2014-03-11 00:24:05 2014-03-11 00:28:41 N 1 -73.844093322753906 40.721103668212891 -73.850799560546875 40.735332489013672 1 0.54 4.5 0.5 0.5 1 0 6.5 1 1 95 95 green 0.00 0.0 0.0 66 45 4.70 1293 737 4 Queens 073700 4073700 I QN17 Forest Hills 4108 992 745 4 Queens 074500 4074500 E QN17 Forest Hills 4108 3389380 2 2014-03-13 10:18:41 2014-03-13 10:23:21...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 111.6K bytes
    - Viewed (0)
  5. src/runtime/minmax.go

    	}
    	// x and y are both ±0
    	// if either is -0, return -0; else return +0
    	return forbits(x, y)
    }
    
    func fmax[F floaty](x, y F) F {
    	if y != y || y > x {
    		return y
    	}
    	if x != x || x > y || x != 0 {
    		return x
    	}
    	// x and y are both ±0
    	// if both are -0, return -0; else return +0
    	return fandbits(x, y)
    }
    
    func forbits[F floaty](x, y F) F {
    	switch unsafe.Sizeof(x) {
    	case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 18:15:22 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter_test.go

    			ClusterScoped: false,
    			ToVersion:     "example.com/v2",
    			SourceObject: &unstructured.UnstructuredList{
    				Object: map[string]interface{}{
    					"apiVersion": "example.com/v1",
    					"kind":       "fooList",
    				},
    				Items: []unstructured.Unstructured{
    					{
    						Object: map[string]interface{}{
    							"apiVersion": "example.com/v1",
    							"kind":       "foo",
    							"other":      "data",
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/meta/help_test.go

    	exemptObjectIndex  = fakeObjectItemsNum / 4
    )
    
    type SampleSpec struct {
    	Flied int
    }
    
    type FooSpec struct {
    	Flied int
    }
    
    type FooList struct {
    	metav1.TypeMeta
    	metav1.ListMeta
    	Items []Foo
    }
    
    func (s *FooList) DeepCopyObject() runtime.Object { panic("unimplemented") }
    
    type SampleList struct {
    	metav1.TypeMeta
    	metav1.ListMeta
    	Items []Sample
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 13:40:46 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/listtype_test.go

    				Served:  true,
    				Schema:  fixtures.AllowAllSchema(),
    			},
    		},
    		Names: apiextensionsv1.CustomResourceDefinitionNames{
    			Plural:   "foos",
    			Singular: "foo",
    			Kind:     "Foo",
    			ListKind: "FooList",
    		},
    		Scope: apiextensionsv1.ClusterScoped,
    	},
    }
    
    const (
    	// structural schema because x-kubernetes-list-type is only allowed for those
    	listTypeResourceSchema = `
    type: object
    properties:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top