MCPcopy Create free account

hub / github.com/cel-expr/cel-go / functions

Functions9,178 in github.com/cel-expr/cel-go

FunctionTestNewInfoSource_NoPanicOnNil
(t *testing.T)
common/source_test.go:135
FunctionTestNewModelOptions
(t *testing.T)
common/cost/version_test.go:108
FunctionTestNewProtoObject
(t *testing.T)
common/types/object_test.go:32
FunctionTestNewSourceInfoRelative
(t *testing.T)
common/ast/ast_test.go:356
FunctionTestNewTextSourceWithLimit_Exceeded
(t *testing.T)
common/source_test.go:140
FunctionTestNewTextSourceWithLimit_MultibyteWithinLimit
(t *testing.T)
common/source_test.go:150
FunctionTestNewVariable
(t *testing.T)
common/decls/decls_test.go:1242
FunctionTestNilFunction
(t *testing.T)
common/decls/decls_test.go:1324
FunctionTestNilOverloadFunctionsRejected
TestNilOverloadFunctionsRejected guards that a missing estimator or tracker is reported when the estimator or tracker is configured, rather than panic
common/cost/version_test.go:159
FunctionTestNilProgram
(t *testing.T)
cel/cel_test.go:1389
FunctionTestNilVariable
(t *testing.T)
common/decls/decls_test.go:1356
FunctionTestNodeAsUintValue
(t *testing.T)
common/cost/cost_test.go:541
FunctionTestNodeCount
(t *testing.T)
common/ast/ast_test.go:396
FunctionTestNonOptionalCompositionStep_UnconditionalCombine
Note: This test case cannot be reached through the policy format (because the compiler statically rejects policies with unreachable outputs), but is e
policy/composer_test.go:142
FunctionTestNullConvertToNative
(t *testing.T)
common/types/null_test.go:31
FunctionTestNullConvertToType
(t *testing.T)
common/types/null_test.go:102
FunctionTestNullEqual
(t *testing.T)
common/types/null_test.go:115
FunctionTestNullIsZeroValue
(t *testing.T)
common/types/null_test.go:121
FunctionTestNullType
(t *testing.T)
common/types/null_test.go:127
FunctionTestNullValue
(t *testing.T)
common/types/null_test.go:133
FunctionTestObservableInterpretable
(t *testing.T)
interpreter/interpreter_test.go:3072
FunctionTestOptimizeWithSource
(t *testing.T)
cel/optimizer_test.go:200
FunctionTestOptionalCalculateSize
(t *testing.T)
common/types/optional_test.go:189
FunctionTestOptionalCharge
TestOptionalCharge pins the charges which show that an optional is sized as 1 plus the value it holds from cost model version 1, and as 1 at version 0
common/cost/optional_cost_test.go:159
FunctionTestOptionalConvertToNative
(t *testing.T)
common/types/optional_test.go:67
FunctionTestOptionalConvertToType
(t *testing.T)
common/types/optional_test.go:89
FunctionTestOptionalCostBounds
(t *testing.T)
common/cost/cost_bounds_test.go:545
FunctionTestOptionalCostSoundness
TestOptionalCostSoundness checks that, under each strategy at cost model version 1, the tracked cost of an expression which creates, reads or compares
common/cost/optional_cost_test.go:103
FunctionTestOptionalEqual
(t *testing.T)
common/types/optional_test.go:101
FunctionTestOptionalGetValue
(t *testing.T)
common/types/optional_test.go:57
FunctionTestOptionalHasValueArgType
TestOptionalHasValueArgType verifies that the argument type must agree with the type held by the optional, including when the argument is itself an op
cel/cel_test.go:4495
FunctionTestOptionalHasValueCost
TestOptionalHasValueCost verifies that the cost of comparing the optional's value against the input argument is tracked rather than being charged as a
cel/cel_test.go:4143
FunctionTestOptionalHasValueVersion
(t *testing.T)
cel/cel_test.go:4252
FunctionTestOptionalListTypePermutations
(t *testing.T)
cel/cel_test.go:5667
FunctionTestOptionalMacroError
(t *testing.T)
cel/cel_test.go:4116
FunctionTestOptionalMapAttributesVariablesLiteralsPartialAndTracking
(t *testing.T)
cel/cel_test.go:4640
FunctionTestOptionalMapCost
(t *testing.T)
cel/cel_test.go:4372
FunctionTestOptionalMapVersion
(t *testing.T)
cel/cel_test.go:4275
FunctionTestOptionalOperatorsLegacyEval
(t *testing.T)
cel/cel_test.go:5382
FunctionTestOptionalOptionalFormat
(t *testing.T)
common/types/optional_test.go:32
FunctionTestOptionalOptionalOf
(t *testing.T)
common/types/optional_test.go:25
FunctionTestOptionalQuantity
TestOptionalQuantity checks the estimate and track of Optional, and that ElemOf recovers the value an optional holds.
common/cost/optional_test.go:79
FunctionTestOptionalResultSizeRevision
TestOptionalResultSizeRevision pins what ModelVersion1 changed on the optional path. TestOptionalCostBounds cannot guard this on its own: dropping th
common/cost/cost_bounds_test.go:459
FunctionTestOptionalTrackedSize
TestOptionalTrackedSize checks the size each strategy tracks for an optional at each cost model version. From version 1 an optional is 1 plus the siz
common/cost/optional_test.go:34
FunctionTestOptionalType
(t *testing.T)
common/types/optional_test.go:174
FunctionTestOptionalValue
(t *testing.T)
common/types/optional_test.go:180
FunctionTestOptionalValuesCompile
(t *testing.T)
cel/cel_test.go:3257
FunctionTestOptionalValuesEval
(t *testing.T)
cel/cel_test.go:3369
FunctionTestOptionalValuesEvalErrorCases
(t *testing.T)
cel/cel_test.go:3996
FunctionTestOptionalValuesEvalUnknowns
(t *testing.T)
cel/cel_test.go:3912
FunctionTestOverlappingMacro
(t *testing.T)
checker/env_test.go:30
FunctionTestOverloadAsFunctionOptionInvalid
(t *testing.T)
common/env/env_test.go:1661
FunctionTestOverloadBinaryBindingArgCountMismatch
(t *testing.T)
common/decls/decls_test.go:717
FunctionTestOverloadBinaryBindingRedefinition
(t *testing.T)
common/decls/decls_test.go:730
FunctionTestOverloadConstructors
(t *testing.T)
common/cost/standard_test.go:288
FunctionTestOverloadFunctionBindingRedefinition
(t *testing.T)
common/decls/decls_test.go:746
FunctionTestOverloadFunctionBindingWithLateBinding
(t *testing.T)
common/decls/decls_test.go:787
FunctionTestOverloadFunctionLateBinding
(t *testing.T)
common/decls/decls_test.go:762
FunctionTestOverloadFunctionLateBindingWithBinding
(t *testing.T)
common/decls/decls_test.go:798
FunctionTestOverloadFunctionMixLateAndNonLateBinding
(t *testing.T)
common/decls/decls_test.go:777
FunctionTestOverloadIsNonStrict
(t *testing.T)
common/decls/decls_test.go:830
FunctionTestOverloadModelValidate
(t *testing.T)
common/cost/validate_test.go:28
FunctionTestOverloadOperandTrait
(t *testing.T)
common/decls/decls_test.go:877
FunctionTestOverloadUnaryBindingArgCountMismatch
(t *testing.T)
common/decls/decls_test.go:704
FunctionTestOverloadUnaryBindingRedefinition
(t *testing.T)
common/decls/decls_test.go:688
FunctionTestOverrideValidator
(t *testing.T)
cel/validator_test.go:493
FunctionTestOverrideValidatorFromConfig
(t *testing.T)
cel/validator_test.go:550
FunctionTestOverrideValidatorPreservesOrder
(t *testing.T)
cel/validator_test.go:573
FunctionTestParse
(t *testing.T)
policy/parser_test.go:28
FunctionTestParse
(t *testing.T)
parser/parser_test.go:2792
FunctionTestParse
(t *testing.T)
repl/commands_test.go:113
FunctionTestParseAndCheckConcurrently
(t *testing.T)
cel/cel_test.go:1809
FunctionTestParseDescription
(t *testing.T)
common/doc_test.go:22
FunctionTestParseDescriptions
(t *testing.T)
common/doc_test.go:54
FunctionTestParseError
(t *testing.T)
policy/parser_test.go:45
FunctionTestParseError
(t *testing.T)
cel/cel_test.go:1772
FunctionTestParseErrorData
(t *testing.T)
parser/parser_test.go:3905
FunctionTestParseErrors
(t *testing.T)
repl/commands_test.go:313
FunctionTestParseStructTag
(t *testing.T)
common/types/provider_test.go:2711
FunctionTestParseTimestamp
(t *testing.T)
common/types/timestamp_test.go:556
FunctionTestParseType
(t *testing.T)
repl/typefmt_test.go:174
FunctionTestParseTypeDesc
(t *testing.T)
common/env/io_test.go:25
FunctionTestParseTypeDescErrors
(t *testing.T)
common/env/io_test.go:80
FunctionTestParseTypeErrors
(t *testing.T)
repl/typefmt_test.go:340
FunctionTestParseUnverifiedTokenAndFieldVariations
(t *testing.T)
ext/security/jwt/jwt_test.go:197
FunctionTestParseWithMacroTracking
(t *testing.T)
cel/cel_test.go:1780
FunctionTestParserErrorRecoveryLimit
(t *testing.T)
cel/env_test.go:1475
FunctionTestParserExpressionSizeLimit
(t *testing.T)
cel/cel_test.go:4542
FunctionTestParserOptionErrors
(t *testing.T)
parser/parser_test.go:2944
FunctionTestParserRecursionLimit
(t *testing.T)
cel/cel_test.go:3100
FunctionTestPartialActivation_NewPartialActivationNilInput
(t *testing.T)
interpreter/activation_test.go:194
FunctionTestPartialAttributeFactory_MaybeAttributeGloballyNamespaced
(t *testing.T)
interpreter/attribute_patterns_test.go:502
FunctionTestPartialAttributeFactory_ResolveUnknownQualifier
(t *testing.T)
interpreter/attribute_patterns_test.go:511
FunctionTestPartialVars
(t *testing.T)
cel/cel_test.go:2309
FunctionTestPartialVarsEnv
(t *testing.T)
cel/cel_test.go:2471
FunctionTestPartialVarsExtendedEnv
(t *testing.T)
cel/cel_test.go:2503
FunctionTestPolicyAndRuleSemanticMethods
(t *testing.T)
policy/parser_test.go:430
FunctionTestPopulateMacroCalls
(t *testing.T)
parser/parser_test.go:3054
FunctionTestProcess
(t *testing.T)
repl/evaluator_test.go:497
FunctionTestProcessOptionError
(t *testing.T)
repl/evaluator_test.go:1336
← previousnext →8,001–8,100 of 9,178, ranked by callers