Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for AntType (0.15 sec)

  1. 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)
  2. src/internal/xcoff/xcoff.go

    	Nscnum  uint16  // Section number of symbol
    	Ntype   uint16  // Basic and derived type specification
    	Nsclass uint8   // Storage class of symbol
    	Nnumaux uint8   // Number of auxiliary entries
    }
    
    type SymEnt64 struct {
    	Nvalue  uint64 // Symbol value
    	Noffset uint32 // Offset of the name in string table or .debug section
    	Nscnum  uint16 // Section number of symbol
    	Ntype   uint16 // Basic and derived type specification
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/types/universe.go

    	SliceSize = RoundUp(SliceCapOffset+int64(PtrSize), int64(PtrSize))
    
    	// string is same as slice wo the cap
    	StringSize = RoundUp(SliceLenOffset+int64(PtrSize), int64(PtrSize))
    
    	for et := Kind(0); et < NTYPE; et++ {
    		SimType[et] = et
    	}
    
    	Types[TANY] = newType(TANY) // note: an old placeholder type, NOT the new builtin 'any' alias for interface{}
    	Types[TINTER] = NewInterface(nil)
    	CheckSize(Types[TINTER])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/func.go

    // FixVariadicCall rewrites calls to variadic functions to use an
    // explicit ... argument if one is not already present.
    func FixVariadicCall(call *ir.CallExpr) {
    	fntype := call.Fun.Type()
    	if !fntype.IsVariadic() || call.IsDDD {
    		return
    	}
    
    	vi := fntype.NumParams() - 1
    	vt := fntype.Param(vi).Type
    
    	args := call.Args
    	extra := args[vi:]
    	slice := MakeDotArgs(call.Pos(), vt, extra)
    	for i := range extra {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

        String dummyValidationProblem(String onType = 'InvalidTask', String onProperty = 'dummy', String desc = 'test problem', String testReason = 'this is a test.') {
            display(SimpleMessage, 'dummy') {
                type(onType).property(onProperty)
                description(desc)
                reason(testReason)
            }.render()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  7. src/debug/dwarf/type.go

    type CharType struct {
    	BasicType
    }
    
    // A UcharType represents an unsigned character type.
    type UcharType struct {
    	BasicType
    }
    
    // An IntType represents a signed integer type.
    type IntType struct {
    	BasicType
    }
    
    // A UintType represents an unsigned integer type.
    type UintType struct {
    	BasicType
    }
    
    // A FloatType represents a floating point type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  8. src/math/rand/v2/rand.go

    // The type parameter Int can be any integer type.
    // It panics if n <= 0.
    func N[Int intType](n Int) Int {
    	if n <= 0 {
    		panic("invalid argument to N")
    	}
    	return Int(globalRand.uint64n(uint64(n)))
    }
    
    type intType interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/runtime/runtime-gdb.py

    		oldbuckets = self.val['oldbuckets']
    		flags = self.val['flags']
    		inttype = self.val['hash0'].type
    		cnt = 0
    		for bucket in xrange(2 ** int(B)):
    			bp = buckets + bucket
    			if oldbuckets:
    				oldbucket = bucket & (2 ** (B - 1) - 1)
    				oldbp = oldbuckets + oldbucket
    				oldb = oldbp.dereference()
    				if (oldb['overflow'].cast(inttype) & 1) == 0:  # old bucket not evacuated yet
    					if bucket >= 2 ** (B - 1):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/provider_test.go

    			case 1:
    				e.Type = cadvisorapiv1.MetricCumulative
    			case 2:
    				e.Type = cadvisorapiv1.MetricType("delta")
    			}
    			switch c.Intn(2) {
    			case 0:
    				e.Format = cadvisorapiv1.IntType
    			case 1:
    				e.Format = cadvisorapiv1.FloatType
    			}
    			c.Fuzz(&e.Units)
    		})
    	var ret []cadvisorapiv1.MetricSpec
    	f.Fuzz(&ret)
    	return ret
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top