Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for IntType (0.26 sec)

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

    			}
    		}
    		return strWithMaxLength
    	case "boolean":
    		return apiservercel.BoolType
    	case "number":
    		return apiservercel.DoubleType
    	case "integer":
    		return apiservercel.IntType
    	}
    	return nil
    }
    
    func zeroIfNegative(v int64) int64 {
    	if v < 0 {
    		return 0
    	}
    	return v
    }
    
    // WithTypeAndObjectMeta ensures the kind, apiVersion and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/ip.go

    	"ip": {
    		cel.Overload("string_to_ip", []*cel.Type{cel.StringType}, apiservercel.IPType,
    			cel.UnaryBinding(stringToIP)),
    	},
    	"family": {
    		cel.MemberOverload("ip_family", []*cel.Type{apiservercel.IPType}, cel.IntType,
    			cel.UnaryBinding(family)),
    	},
    	"ip.isCanonical": {
    		cel.Overload("ip_is_canonical", []*cel.Type{cel.StringType}, cel.BoolType,
    			cel.UnaryBinding(ipIsCanonical)),
    	},
    	"isUnspecified": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

        override val token: KaLifetimeToken
            get() = analysisContext.token
    
        override val int: KaType
            get() = withValidityAssertion { analysisContext.builtIns.intType.toKtType(analysisContext) }
    
        override val long: KaType
            get() = withValidityAssertion { analysisContext.builtIns.longType.toKtType(analysisContext) }
    
        override val short: KaType
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/helper.go

    				// Pick the most recent value
    				if value.Timestamp.Before(specVal.time) {
    					continue
    				}
    				specVal.time = value.Timestamp
    				specVal.value = value.FloatValue
    				if specVal.valType == cadvisorapiv1.IntType {
    					specVal.value = float64(value.IntValue)
    				}
    			}
    		}
    	}
    	var udm []statsapi.UserDefinedMetric
    	for _, specVal := range udmMap {
    		udm = append(udm, statsapi.UserDefinedMetric{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top