Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,130 for quint8 (0.2 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. test/alias.go

    // Test that error messages say what the source file says
    // (uint8 vs byte, int32 vs. rune).
    // Does not compile.
    
    package main
    
    import (
    	"fmt"
    	"unicode/utf8"
    )
    
    func f(byte)  {}
    func g(uint8) {}
    
    func main() {
    	var x float64
    	f(x) // ERROR "byte"
    	g(x) // ERROR "uint8"
    
    	// Test across imports.
    
    	var ff fmt.Formatter
    	var fs fmt.State
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 588 bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg image, type CMYK struct
    pkg image, type CMYK struct, Pix []uint8
    pkg image, type CMYK struct, Rect Rectangle
    pkg image, type CMYK struct, Stride int
    pkg image/color, func CMYKToRGB(uint8, uint8, uint8, uint8) (uint8, uint8, uint8)
    pkg image/color, func RGBToCMYK(uint8, uint8, uint8) (uint8, uint8, uint8, uint8)
    pkg image/color, method (CMYK) RGBA() (uint32, uint32, uint32, uint32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_messages.go

    	x[0] = typeCertificate
    	x[1] = uint8(length >> 16)
    	x[2] = uint8(length >> 8)
    	x[3] = uint8(length)
    
    	certificateOctets := length - 3
    	x[4] = uint8(certificateOctets >> 16)
    	x[5] = uint8(certificateOctets >> 8)
    	x[6] = uint8(certificateOctets)
    
    	y := x[7:]
    	for _, slice := range m.certificates {
    		y[0] = uint8(len(slice) >> 16)
    		y[1] = uint8(len(slice) >> 8)
    		y[2] = uint8(len(slice))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/net/http/fcgi/fcgi.go

    	statusCantMultiplex
    	statusOverloaded
    	statusUnknownRole
    )
    
    type header struct {
    	Version       uint8
    	Type          recType
    	Id            uint16
    	ContentLength uint16
    	PaddingLength uint8
    	Reserved      uint8
    }
    
    type beginRequest struct {
    	role     uint16
    	flags    uint8
    	reserved [5]uint8
    }
    
    func (br *beginRequest) read(content []byte) error {
    	if len(content) != 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. src/image/jpeg/writer_test.go

    	rnd := rand.New(rand.NewSource(123))
    	// Create identical rgba and ycbcr images.
    	for y := bo.Min.Y; y < bo.Max.Y; y++ {
    		for x := bo.Min.X; x < bo.Max.X; x++ {
    			col := color.RGBA{
    				uint8(rnd.Intn(256)),
    				uint8(rnd.Intn(256)),
    				uint8(rnd.Intn(256)),
    				255,
    			}
    			imgRGBA.SetRGBA(x, y, col)
    			yo := imgYCbCr.YOffset(x, y)
    			co := imgYCbCr.COffset(x, y)
    			cy, ccr, ccb := color.RGBToYCbCr(col.R, col.G, col.B)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  7. test/fixedbugs/issue59367.go

    package main
    
    func main() {
    	var b [8]byte
    	one := uint8(1)
    	f16(&one, b[:2])
    	if b[1] != 1 {
    		println("2-byte value lost")
    	}
    	f32(&one, b[:4])
    	if b[3] != 1 {
    		println("4-byte value lost")
    	}
    	f64(&one, b[:8])
    	if b[7] != 1 {
    		println("8-byte value lost")
    	}
    }
    
    //go:noinline
    func f16(p *uint8, b []byte) {
    	_ = b[1]            // bounds check
    	x := *p             // load a byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 21:11:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_gen.go

    func (z *ChecksumAlgo) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_drq.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions='quantization-method=drq target-opset=UNIFORM_QUANTIZED' -quant-quantize-composite-functions='quantization-method=drq target-opset=UNIFORM_QUANTIZED' -symbol-dce | FileCheck %s
    
    module {
      // TODO(b/260020937): Support transpose_a, transpose_b for matmul.
      func.func @matmul(%arg0: tensor<2x12xf32>) -> (tensor<*xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. 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)
Back to top