Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 899 for uints (0.05 sec)

  1. src/encoding/gob/debug.go

    		default:
    			errorf("corrupted CommonType, delta is %d fieldNum is %d", delta, fieldNum)
    		}
    	}
    	return CommonType{name, id}
    }
    
    // uint returns the unsigned int at the input point, as a uint (not uint64).
    func (deb *debugger) uint() uint {
    	return uint(deb.uint64())
    }
    
    // int returns the signed int at the input point, as an int (not int64).
    func (deb *debugger) int() int {
    	return int(deb.int64())
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 09:34:41 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  2. operator/pkg/util/reflect_test.go

    func TestIsInteger(t *testing.T) {
    	tests := []struct {
    		desc     string
    		function func(v reflect.Kind) bool
    		want     []any
    	}{
    		{
    			desc:     "ints",
    			function: IsIntKind,
    			want:     allIntTypes,
    		},
    		{
    			desc:     "uints",
    			function: IsUintKind,
    			want:     allUintTypes,
    		},
    	}
    
    	for _, tt := range tests {
    		var got []any
    		for _, v := range allTypes {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go

    type parseError struct{ text string }
    
    func (e *parseError) Error() string { return e.text }
    
    // FNV-1a implementation. See Go's hash/fnv/fnv.go.
    // Copied here for simplicity (can handle uints directly)
    // and to avoid the dependency.
    
    const (
    	offset64 uint64 = 14695981039346656037
    	prime64  uint64 = 1099511628211
    )
    
    func fnv(h uint64, x byte) uint64 {
    	h ^= uint64(x)
    	h *= prime64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Ints.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. src/math/rand/v2/rand.go

    // from the default Source.
    // It panics if n <= 0.
    func IntN(n int) int { return globalRand.IntN(n) }
    
    // UintN returns, as a uint, a pseudo-random number in the half-open interval [0,n)
    // from the default Source.
    // It panics if n <= 0.
    func UintN(n uint) uint { return globalRand.UintN(n) }
    
    // N returns a pseudo-random number in the half-open interval [0,n) from the default Source.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/debug/dwarf/entry.go

    		var a abbrev
    		a.tag = Tag(b.uint())
    		a.children = b.uint8() != 0
    		a.field = make([]afield, n)
    		for i := range a.field {
    			a.field[i].attr = Attr(b.uint())
    			a.field[i].fmt = format(b.uint())
    			a.field[i].class = formToClass(a.field[i].fmt, a.field[i].attr, vers, &b)
    			if a.field[i].fmt == formImplicitConst {
    				a.field[i].val = b.int()
    			}
    		}
    		b.uint()
    		b.uint()
    
    		m[id] = a
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
  8. src/math/rand/v2/regress_test.go

    	uint64(8204908297817606218),  // Uint()
    	uint64(17358349022401942459), // Uint()
    	uint64(2240328155279531677),  // Uint()
    	uint64(7311121042813227358),  // Uint()
    	uint64(14454429957748299131), // Uint()
    	uint64(13481244625344276711), // Uint()
    	uint64(9381769212557126946),  // Uint()
    	uint64(1350674201389090105),  // Uint()
    	uint64(6093522341581845358),  // Uint()
    
    	uint32(3304433030), // Uint32()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/fmt/scan_test.go

    	{"%o", "075\n", &uintVal, uint(075)},
    	{"%o", "07_5\n", &uintVal, uint(07)}, // only %v takes underscores
    	{"%x", "a75\n", &uintVal, uint(0xa75)},
    	{"%x", "A75\n", &uintVal, uint(0xa75)},
    	{"%x", "A7_5\n", &uintVal, uint(0xa7)}, // only %v takes underscores
    	{"%U", "U+1234\n", &intVal, int(0x1234)},
    	{"%U", "U+4567\n", &uintVal, uint(0x4567)},
    
    	{"%e", "2.3\n", &float64Val, 2.3},
    	{"%E", "2.3e1\n", &float32Val, float32(2.3e1)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. api/go1.9.txt

    pkg math/bits, func ReverseBytes(uint) uint
    pkg math/bits, func ReverseBytes16(uint16) uint16
    pkg math/bits, func ReverseBytes32(uint32) uint32
    pkg math/bits, func ReverseBytes64(uint64) uint64
    pkg math/bits, func RotateLeft(uint, int) uint
    pkg math/bits, func RotateLeft16(uint16, int) uint16
    pkg math/bits, func RotateLeft32(uint32, int) uint32
    pkg math/bits, func RotateLeft64(uint64, int) uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
Back to top