Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for IntType (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/cidr.go

    			cel.UnaryBinding(cidrToIP)),
    	},
    	"prefixLength": {
    		cel.MemberOverload("cidr_prefix_length", []*cel.Type{apiservercel.CIDRType}, cel.IntType,
    			cel.UnaryBinding(prefixLength)),
    	},
    	"masked": {
    		cel.MemberOverload("cidr_masked", []*cel.Type{apiservercel.CIDRType}, apiservercel.CIDRType,
    			cel.UnaryBinding(masked)),
    	},
    	"isCIDR": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. api/go1.22.txt

    pkg math/rand/v2, func Int32N(int32) int32 #61716
    pkg math/rand/v2, func Int64() int64 #61716
    pkg math/rand/v2, func Int64N(int64) int64 #61716
    pkg math/rand/v2, func IntN(int) int #61716
    pkg math/rand/v2, func N[$0 intType]($0) $0 #61716
    pkg math/rand/v2, func New(Source) *Rand #61716
    pkg math/rand/v2, func NewChaCha8([32]uint8) *ChaCha8 #61716
    pkg math/rand/v2, func NewPCG(uint64, uint64) *PCG #61716
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AntBuilderAwareUtil.groovy

    class AntBuilderAwareUtil {
    
        static def assertSetContains(FileCollection set, Set<String> filenames) {
            assertSetContains(set, filenames, [FileCollection.AntType.ResourceCollection])
        }
    
        static def assertSetContains(FileCollection set, Set<String> filenames, Iterable<FileCollection.AntType> types, boolean generic = true) {
            AntBuilder ant = new DefaultAntBuilder(null, null)
            ant.antProject.addTaskDefinition('test', FileListTask)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    }
    
    // describe returns a string describing the type typ contained within the type
    // set of inType. If non-empty, inName is used as the name of inType (this is
    // necessary so that we can use alias type names that may not be reachable from
    // inType itself).
    func describe(typ, inType types.Type, inName string) string {
    	name := inName
    	if typ != inType {
    		name = typeName(typ)
    	}
    	if name == "" {
    		return ""
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top