Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mapOfList (0.07 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)
Back to top