Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 92 for quint8 (0.17 sec)

  1. src/runtime/map_faststr.go

    				top := b.tophash[i]
    				if isEmpty(top) {
    					b.tophash[i] = evacuatedEmpty
    					continue
    				}
    				if top < minTopHash {
    					throw("bad map state")
    				}
    				var useY uint8
    				if !h.sameSizeGrow() {
    					// Compute hash to make our evacuation decision (whether we need
    					// to send this key/elem to bucket x or bucket y).
    					hash := t.Hasher(k, uintptr(h.hash0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. src/runtime/syscall_windows.go

    //
    // Returns whether the assignment succeeded.
    func (p *abiDesc) tryRegAssignArg(t *_type, offset uintptr) bool {
    	switch k := t.Kind_ & abi.KindMask; k {
    	case abi.Bool, abi.Int, abi.Int8, abi.Int16, abi.Int32, abi.Uint, abi.Uint8, abi.Uint16, abi.Uint32, abi.Uintptr, abi.Pointer, abi.UnsafePointer:
    		// Assign a register for all these types.
    		return p.assignReg(t.Size_, offset)
    	case abi.Int64, abi.Uint64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/runtime/map_test.go

    func (structKey) String() string {
    	return "structKey"
    }
    
    func TestEmptyMapWithInterfaceKey(t *testing.T) {
    	var (
    		b    bool
    		i    int
    		i8   int8
    		i16  int16
    		i32  int32
    		i64  int64
    		ui   uint
    		ui8  uint8
    		ui16 uint16
    		ui32 uint32
    		ui64 uint64
    		uipt uintptr
    		f32  float32
    		f64  float64
    		c64  complex64
    		c128 complex128
    		a    [4]string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. src/text/template/exec.go

    		truth = !val.IsNil()
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		truth = val.Int() != 0
    	case reflect.Float32, reflect.Float64:
    		truth = val.Float() != 0
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		truth = val.Uint() != 0
    	case reflect.Struct:
    		truth = true // Struct values are always true.
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux.go

    		sl--
    	}
    
    	return unsafe.Pointer(&sa.raw), sl, nil
    }
    
    type SockaddrLinklayer struct {
    	Protocol uint16
    	Ifindex  int
    	Hatype   uint16
    	Pkttype  uint8
    	Halen    uint8
    	Addr     [8]byte
    	raw      RawSockaddrLinklayer
    }
    
    func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) {
    	if sa.Ifindex < 0 || sa.Ifindex > 0x7fffffff {
    		return nil, 0, EINVAL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/iimport.go

    }
    
    func intSize(b *types.Basic) (signed bool, maxBytes uint) {
    	if (b.Info() & types.IsUntyped) != 0 {
    		return true, 64
    	}
    
    	switch b.Kind() {
    	case types.Float32, types.Complex64:
    		return true, 3
    	case types.Float64, types.Complex128:
    		return true, 7
    	}
    
    	signed = (b.Info() & types.IsUnsigned) == 0
    	switch b.Kind() {
    	case types.Int8, types.Uint8:
    		maxBytes = 1
    	case types.Int16, types.Uint16:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

    #include "tensorflow/core/util/quantization/uniform_quant_ops_attr.pb.h"
    #include "tensorflow/core/util/quantization/uniform_quant_ops_params.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    using quant::tensorflow::GetDenseAttrFromTensorProtoAttr;
    using quant::tensorflow::GetIntTypeFromTFQint;
    using quant::tensorflow::IsTFQintType;
    
    #define GEN_PASS_DEF_CONVERTTFQUANTOPSTOMHLO
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. src/runtime/stubs.go

    // bool2int returns 0 if x is false or 1 if x is true.
    func bool2int(x bool) int {
    	// Avoid branches. In the SSA compiler, this compiles to
    	// exactly what you would want it to.
    	return int(*(*uint8)(unsafe.Pointer(&x)))
    }
    
    // abort crashes the runtime in situations where even throw might not
    // work. In general it should do something a debugger will recognize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/compute_test.go

    				t.Errorf("expected version %s, got %s", tc.expectedVersion, v)
    			}
    		})
    	}
    }
    
    func TestGetSuggestedEtcdVersion(t *testing.T) {
    	constants.SupportedEtcdVersion = map[uint8]string{
    		16: "3.3.17-0",
    		17: "3.4.3-0",
    		18: "3.4.3-0",
    		19: "3.4.13-0",
    		20: "3.4.13-0",
    		21: "3.4.13-0",
    		22: "3.5.5-0",
    	}
    
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. src/runtime/panic.go

    func panicIndex(x int, y int)
    func panicIndexU(x uint, y int)
    func panicSliceAlen(x int, y int)
    func panicSliceAlenU(x uint, y int)
    func panicSliceAcap(x int, y int)
    func panicSliceAcapU(x uint, y int)
    func panicSliceB(x int, y int)
    func panicSliceBU(x uint, y int)
    func panicSlice3Alen(x int, y int)
    func panicSlice3AlenU(x uint, y int)
    func panicSlice3Acap(x int, y int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top