Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mapOfList (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    	sync.Once // for for lazy load of mapOfList since it is only needed if Equals is called
    	mapOfList map[interface{}]interface{}
    }
    
    func (t *unstructuredMapList) getMap() map[interface{}]interface{} {
    	t.Do(func() {
    		t.mapOfList = make(map[interface{}]interface{}, len(t.elements))
    		for _, e := range t.elements {
    			t.mapOfList[t.toMapKey(e)] = e
    		}
    	})
    	return t.mapOfList
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"self.mapOfListMap.map(k, self.mapOfListMap[k].map(m, m)).size() == 1": 34,
    				"self.mapOfList.map(k, self.mapOfList[k].map(l, l)).size() == 1":       34,
    				"self.listOfMap.map(e, e.map(m, m)).size() == 1":                       32,
    				"self.listOfListMap.map(e, e.map(e, e)).size() == 1":                   32,
    			},
    		},
    		{name: "optionals",
    			obj: map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    					},
    				},
    				"mapOfListMap": map[string]interface{}{
    					"o": []interface{}{
    						map[string]interface{}{
    							"k": "1",
    							"v": "d",
    						},
    					},
    				},
    				"mapOfList": map[string]interface{}{
    					"l": []interface{}{"e"},
    				},
    				"listMapOfObj": []interface{}{
    					map[string]interface{}{
    						"k2": "2",
    						"v2": "f",
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top