Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,262 for uints (0.2 sec)

  1. src/internal/abi/abi.go

    	}
    	return unsafe.Pointer(uintptr(unsafe.Pointer(&r.Ints[reg])) + offset)
    }
    
    // IntArgRegBitmap is a bitmap large enough to hold one bit per
    // integer argument/return register.
    type IntArgRegBitmap [(IntArgRegs + 7) / 8]uint8
    
    // Set sets the i'th bit of the bitmap to 1.
    func (b *IntArgRegBitmap) Set(i int) {
    	b[i/8] |= uint8(1) << (i % 8)
    }
    
    // Get returns whether the i'th bit of the bitmap is set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/reflect/value.go

    // It panics if v's Kind is not [Uint], [Uintptr], [Uint8], [Uint16], [Uint32], or [Uint64], or if [Value.CanSet] returns false.
    func (v Value) SetUint(x uint64) {
    	v.mustBeAssignable()
    	switch k := v.kind(); k {
    	default:
    		panic(&ValueError{"reflect.Value.SetUint", v.kind()})
    	case Uint:
    		*(*uint)(v.ptr) = uint(x)
    	case Uint8:
    		*(*uint8)(v.ptr) = uint8(x)
    	case Uint16:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. api/go1.23.txt

    pkg crypto/tls, type QUICSessionTicketOptions struct, Extra [][]uint8 #63691
    pkg crypto/x509, func ParseOID(string) (OID, error) #66249
    pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249
    pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249
    pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249
    pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. test/codegen/shift.go

    	_ = y[128]
    	_ = z[128]
    	// ppc64x: -"MOVBZ", -"SRW", "RLWNM"
    	z[0] = uint32(uint8(a >> 5))
    	// ppc64x: -"MOVBZ", -"SRW", "RLWNM"
    	z[1] = uint32(uint8((a >> 4) & 0x7e))
    	// ppc64x: "RLWNM\t[$]25, R[0-9]+, [$]27, [$]29, R[0-9]+"
    	z[2] = uint32(uint8(a>>7)) & 0x1c
    	// ppc64x: -"MOVWZ"
    	y[0] = uint64((a >> 6) & 0x1c)
    	// ppc64x: -"MOVWZ"
    	y[1] = uint64(uint32(b)<<6) + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/internal/coverage/encodemeta/encode.go

    func (b *CoverageMetaDataBuilder) AddFunc(f coverage.FuncDesc) uint {
    	hashFuncDesc(b.h, &f, b.tmp)
    	fd := funcDesc{}
    	b.tmp = b.tmp[:0]
    	b.tmp = uleb128.AppendUleb128(b.tmp, uint(len(f.Units)))
    	b.tmp = uleb128.AppendUleb128(b.tmp, uint(b.stab.Lookup(f.Funcname)))
    	b.tmp = uleb128.AppendUleb128(b.tmp, uint(b.stab.Lookup(f.Srcfile)))
    	for _, u := range f.Units {
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.StLine))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. test/rename.go

    			int8 +
    			int16 +
    			int32 +
    			int64 +
    			len +
    			make +
    			new +
    			nil +
    			panic +
    			print +
    			println +
    			real +
    			recover +
    			rune +
    			string +
    			true +
    			uint +
    			uint8 +
    			uint16 +
    			uint32 +
    			uint64 +
    			uintptr +
    			iota
    	if n != NUM*(NUM-1)/2 {
    		fmt.Println("BUG: wrong n", n, NUM*(NUM-1)/2)
    		runtime.Breakpoint() // panic is inaccessible
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  7. src/math/bits/bits.go

    // Reverse returns the value of x with its bits in reversed order.
    func Reverse(x uint) uint {
    	if UintSize == 32 {
    		return uint(Reverse32(uint32(x)))
    	}
    	return uint(Reverse64(uint64(x)))
    }
    
    // Reverse8 returns the value of x with its bits in reversed order.
    func Reverse8(x uint8) uint8 {
    	return rev8tab[x]
    }
    
    // Reverse16 returns the value of x with its bits in reversed order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. test/typeparam/listimp.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type Ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~string
    }
    
    // List is a linked list of ordered values of type T.
    type List[T Ordered] struct {
    	Next *List[T]
    	Val  T
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. test/typeswitch1.go

    	switch xx := x.(type) {
    	default:
    		return fmt.Sprint("default ", xx)
    	case int, int8, int16, int32:
    		return fmt.Sprint("signed ", xx)
    	case int64:
    		return fmt.Sprint("signed64 ", int64(xx))
    	case uint, uint8, uint16, uint32:
    		return fmt.Sprint("unsigned ", xx)
    	case uint64:
    		return fmt.Sprint("unsigned64 ", uint64(xx))
    	case nil:
    		return fmt.Sprint("nil ", xx)
    	}
    	panic("not reached")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    			postIndex := iNdEx + msglen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.Hints == nil {
    				m.Hints = &EndpointHints{}
    			}
    			if err := m.Hints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    			skippy, err := skipGenerated(dAtA[iNdEx:])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top