Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for AntType (0.29 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. src/cmd/compile/internal/types/type.go

    		if f.Type.NotInHeap() {
    			t.SetNotInHeap(true)
    			break
    		}
    	}
    
    	return t
    }
    
    var (
    	IsInt     [NTYPE]bool
    	IsFloat   [NTYPE]bool
    	IsComplex [NTYPE]bool
    	IsSimple  [NTYPE]bool
    )
    
    var IsOrdered [NTYPE]bool
    
    // IsReflexive reports whether t has a reflexive equality operator.
    // That is, if x==x for all x of type t.
    func IsReflexive(t *Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  7. src/go/format/format_test.go

    // The formatted result must look the same as the input for successful tests.
    var tests = []string{
    	// declaration lists
    	`import "go/format"`,
    	"var x int",
    	"var x int\n\ntype T struct{}",
    
    	// statement lists
    	"x := 0",
    	"f(a, b, c)\nvar x int = f(1, 2, 3)",
    
    	// indentation, leading and trailing space
    	"\tx := 0\n\tgo f()",
    	"\tx := 0\n\tgo f()\n\n\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:46 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  8. 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)
  9. operator/pkg/translate/translate_value.go

    	yamlTree := make(map[string]any)
    	err = yaml.Unmarshal(values, &yamlTree)
    	if err != nil {
    		return nil, fmt.Errorf("error when unmarshalling into untype tree %v", err)
    	}
    
    	outputTree := make(map[string]any)
    	err = t.TranslateTree(yamlTree, outputTree, nil)
    	if err != nil {
    		return nil, err
    	}
    	outputVal, err := yaml.Marshal(outputTree)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. 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)
Back to top