Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 256 for quint8 (0.15 sec)

  1. cmd/xl-storage-format-v2-legacy.go

    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	{
    		var zb0002 uint8
    		zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Type")
    			return
    		}
    		x.Type = VersionType(zb0002)
    	}
    	{
    		var zb0003 uint8
    		zb0003, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Flags")
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue63563.go

    package p
    
    var (
    	_ = int8(1 /* ERROR "constant 255 overflows int8" */ <<8 - 1)
    	_ = int16(1 /* ERROR "constant 65535 overflows int16" */ <<16 - 1)
    	_ = int32(1 /* ERROR "constant 4294967295 overflows int32" */ <<32 - 1)
    	_ = int64(1 /* ERROR "constant 18446744073709551615 overflows int64" */ <<64 - 1)
    
    	_ = uint8(1 /* ERROR "constant 256 overflows uint8" */ << 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/internal/trace/resources.go

    	// we don't need fields for every kind of resource.
    	id       int64
    	oldState uint8
    	newState uint8
    }
    
    func goStateTransition(id GoID, from, to GoState) StateTransition {
    	return StateTransition{
    		Resource: ResourceID{Kind: ResourceGoroutine, id: int64(id)},
    		oldState: uint8(from),
    		newState: uint8(to),
    	}
    }
    
    func procStateTransition(id ProcID, from, to ProcState) StateTransition {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/debug/pe/symbol.go

    )
    
    const COFFSymbolSize = 18
    
    // COFFSymbol represents single COFF symbol table record.
    type COFFSymbol struct {
    	Name               [8]uint8
    	Value              uint32
    	SectionNumber      int16
    	Type               uint16
    	StorageClass       uint8
    	NumberOfAuxSymbols uint8
    }
    
    // readCOFFSymbols reads in the symbol table for a PE file, returning
    // a slice of COFFSymbol objects. The PE format includes both primary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. src/runtime/sizeclasses.go

    var class_to_allocnpages = [_NumSizeClasses]uint8{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 2, 3, 1, 3, 2, 3, 4, 5, 6, 1, 7, 6, 5, 4, 3, 5, 7, 2, 9, 7, 5, 8, 3, 10, 7, 4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue67872.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type A = uint8
    type E uint8
    
    func f[P ~A](P) {}
    
    func g(e E) {
    	f(e)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 242 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils_test.cc

    #include "tsl/framework/numeric_types.h"
    
    namespace mlir::quant::tensorflow {
    namespace {
    
    std::string GetQint8Tensor() {
      ::tensorflow::Tensor tensor(::tensorflow::DT_QINT8, {2, 2});
      tensor.matrix<tsl::qint8>()(0, 0) = tsl::qint8(1);
      tensor.matrix<tsl::qint8>()(0, 1) = tsl::qint8(2);
      tensor.matrix<tsl::qint8>()(1, 0) = tsl::qint8(3);
      tensor.matrix<tsl::qint8>()(1, 1) = tsl::qint8(4);
    
      ::tensorflow::TensorProto tensor_proto;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. src/runtime/covermeta.go

    	"unsafe"
    )
    
    // The compiler emits calls to runtime.addCovMeta
    // but this code has moved to rtcov.AddMeta.
    func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran)
    	if id == 0 {
    		throw("runtime.addCovMeta: coverage package map collision")
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 603 bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_riscv64.s

    TEXT ·Xchguintptr(SB), NOSPLIT, $0-24
    	JMP	·Xchg64(SB)
    
    // func And8(ptr *uint8, val uint8)
    TEXT ·And8(SB), NOSPLIT, $0-9
    	MOV	ptr+0(FP), A0
    	MOVBU	val+8(FP), A1
    	AND	$3, A0, A2
    	AND	$-4, A0
    	SLL	$3, A2
    	XOR	$255, A1
    	SLL	A2, A1
    	XOR	$-1, A1
    	AMOANDW A1, (A0), ZERO
    	RET
    
    // func Or8(ptr *uint8, val uint8)
    TEXT ·Or8(SB), NOSPLIT, $0-9
    	MOV	ptr+0(FP), A0
    	MOVBU	val+8(FP), A1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/internal/abi/map.go

    	MapBucketCount     = 1 << MapBucketCountBits
    
    	// Maximum key or elem size to keep inline (instead of mallocing per element).
    	// Must fit in a uint8.
    	// Note: fast map functions cannot handle big elems (bigger than MapMaxElemBytes).
    	MapMaxKeyBytes  = 128
    	MapMaxElemBytes = 128 // Must fit in a uint8.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 20:09:01 UTC 2024
    - 719 bytes
    - Viewed (0)
Back to top