- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newMapType (0.52 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go
field("generateName", apiservercel.StringType, true), field("namespace", apiservercel.StringType, true), field("labels", apiservercel.NewMapType(apiservercel.StringType, apiservercel.StringType, -1), true), field("annotations", apiservercel.NewMapType(apiservercel.StringType, apiservercel.StringType, -1), true), field("UID", apiservercel.StringType, true), field("creationTimestamp", apiservercel.TimestampType, true),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types.go
defaultValue: NewListValue(), // a list can always be represented as [] in JSON, so hardcode the min size // to 2 MinSerializedSize: 2, } } // NewMapType returns a parameterized map type with the given key and element types. func NewMapType(key, elem *DeclType, maxProperties int64) *DeclType { return &DeclType{ name: "map", KeyType: key, ElemType: elem, MaxElements: maxProperties,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go
maxProperties = zeroIfNegative(*s.MaxProperties()) } else { maxProperties = estimateMaxAdditionalPropertiesFromMinSize(propsType.MinSerializedSize) } return apiservercel.NewMapType(apiservercel.StringType, propsType, maxProperties) } return nil } fields := make(map[string]*apiservercel.DeclField, len(s.Properties())) required := map[string]bool{} if s.Required() != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 18:00:45 UTC 2023 - 10.5K bytes - Viewed (0) -
src/encoding/gob/type.go
return g.Name } func (g *gobEncoderType) string() string { return g.Name } // Map type type mapType struct { CommonType Key typeId Elem typeId } func newMapType(name string) *mapType { m := &mapType{CommonType{Name: name}, 0, 0} return m } func (m *mapType) init(key, elem gobType) { // Set our type id before evaluating the element's, in case it's our own.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0)