- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for IntType (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/quantity.go
}, "asApproximateFloat": { cel.MemberOverload("quantity_get_float", []*cel.Type{apiservercel.QuantityType}, cel.DoubleType, cel.UnaryBinding(quantityGetApproximateFloat)), }, "asInteger": { cel.MemberOverload("quantity_get_int", []*cel.Type{apiservercel.QuantityType}, cel.IntType, cel.UnaryBinding(quantityGetValue)), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/lists.go
}), "indexOf": { cel.MemberOverload("list_a_index_of_int", []*cel.Type{cel.ListType(paramA), paramA}, cel.IntType, cel.BinaryBinding(indexOf)), }, "lastIndexOf": { cel.MemberOverload("list_a_last_index_of_int", []*cel.Type{cel.ListType(paramA), paramA}, cel.IntType, cel.BinaryBinding(lastIndexOf)), }, } func (*lists) CompileOptions() []cel.EnvOption { options := []cel.EnvOption{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types_test.go
t.Errorf("fail to get cel type: %s", err) } if expT.GetListType() == nil { t.Errorf("got %v, wanted CEL list type", expT) } } func TestTypes_MapType(t *testing.T) { mp := NewMapType(StringType, IntType, -1) if !mp.IsMap() { t.Error("map type not identifiable as map") } if mp.TypeName() != "map" { t.Errorf("got %s, wanted map", mp.TypeName()) } if mp.DefaultValue() == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go
case cel.BytesType: return apiservercel.BytesType case cel.DoubleType: return apiservercel.DoubleType case cel.DurationType: return apiservercel.DurationType case cel.IntType: return apiservercel.IntType case cel.NullType: return apiservercel.NullType case cel.StringType: return apiservercel.StringType case cel.TimestampType: return apiservercel.TimestampType case cel.UintType:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 13 21:06:39 UTC 2024 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types.go
// determined at runtime rather than compile time. DynType = NewSimpleTypeWithMinSize("dyn", cel.DynType, nil, 1) // IntType is equivalent to the CEL 'int' type which is a 64-bit signed int. IntType = NewSimpleTypeWithMinSize("int", cel.IntType, types.IntZero, MinNumberSize) // NullType is equivalent to the CEL 'null_type'. NullType = NewSimpleTypeWithMinSize("null_type", cel.NullType, types.NullValue, 4)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirBuiltInTypes.kt
builtinTypes: BuiltinTypes, private val builder: KaSymbolByFirBuilder, override val token: KaLifetimeToken ) : KaBuiltinTypes() { override val int: KaType by cachedBuiltin(builtinTypes.intType) override val long: KaType by cachedBuiltin(builtinTypes.longType) override val short: KaType by cachedBuiltin(builtinTypes.shortType) override val byte: KaType by cachedBuiltin(builtinTypes.byteType)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.2K bytes - Viewed (0) -
logger/sql_test.go
func format(v []byte, escaper string) string { return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper } func TestExplainSQL(t *testing.T) { type role string type password []byte type intType int type floatType float64 var ( tt = now.MustParse("2020-02-23 11:10:10") myrole = role("admin") pwd = password("pass")
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go
field("UID", apiservercel.StringType, true), field("creationTimestamp", apiservercel.TimestampType, true), field("deletionGracePeriodSeconds", apiservercel.IntType, true), field("deletionTimestamp", apiservercel.TimestampType, true), field("generation", apiservercel.IntType, true), field("resourceVersion", apiservercel.StringType, true), field("finalizers", apiservercel.NewListType(apiservercel.StringType, -1), 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/library/regex.go
cel.BinaryBinding(func(str, regex ref.Val) ref.Val { return findAll(str, regex, types.Int(-1)) })), cel.MemberOverload("string_find_all_string_int", []*cel.Type{cel.StringType, cel.StringType, cel.IntType}, cel.ListType(cel.StringType), cel.FunctionBinding(findAll)), }, } func (*regex) CompileOptions() []cel.EnvOption { options := []cel.EnvOption{} for name, overloads := range regexLibraryDecls {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value_test.go
objType := NewObjectType("TestObject", map[string]*DeclField{}) tests := []struct { val interface{} typ ref.Type }{ {true, types.BoolType}, {float64(1.2), types.DoubleType}, {int64(-42), types.IntType}, {uint64(63), types.UintType}, {time.Duration(300), types.DurationType}, {time.Now().UTC(), types.TimestampType}, {types.NullValue, types.NullType}, {NewListValue(), types.ListType},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 10.4K bytes - Viewed (0)