Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 378 for quint8 (0.19 sec)

  1. src/image/gif/writer_test.go

    	bo := rgba.Bounds()
    	rnd := rand.New(rand.NewSource(123))
    	for y := bo.Min.Y; y < bo.Max.Y; y++ {
    		for x := bo.Min.X; x < bo.Max.X; x++ {
    			rgba.SetRGBA(x, y, color.RGBA{
    				uint8(rnd.Intn(256)),
    				uint8(rnd.Intn(256)),
    				uint8(rnd.Intn(256)),
    				255,
    			})
    		}
    	}
    
    	b.SetBytes(640 * 480 * 4)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		Encode(io.Discard, rgba, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/compare.go

    		var eqtype ir.Node
    		tab := ir.NewUnaryExpr(base.Pos, ir.OITAB, l)
    		rtyp := reflectdata.CompareRType(base.Pos, n)
    		if l.Type().IsEmptyInterface() {
    			tab.SetType(types.NewPtr(types.Types[types.TUINT8]))
    			tab.SetTypecheck(1)
    			eqtype = ir.NewBinaryExpr(base.Pos, eq, tab, rtyp)
    		} else {
    			nonnil := ir.NewBinaryExpr(base.Pos, brcom(eq), typecheck.NodNil(), tab)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/error.go

    		print(typestring, "(", *(*int)(eface.data), ")")
    	case abi.Int8:
    		print(typestring, "(", *(*int8)(eface.data), ")")
    	case abi.Int16:
    		print(typestring, "(", *(*int16)(eface.data), ")")
    	case abi.Int32:
    		print(typestring, "(", *(*int32)(eface.data), ")")
    	case abi.Int64:
    		print(typestring, "(", *(*int64)(eface.data), ")")
    	case abi.Uint:
    		print(typestring, "(", *(*uint)(eface.data), ")")
    	case abi.Uint8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils_test.cc

          )mlir";
    
      Block block{};
      TF::UniformRequantizeOp op =
          ParseUniformRequantizedOp(kRequantOpExpr, block, ctx_);
    
      llvm::StringMap<Attribute> identifier_to_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    func (b *Builder) BytesOrPanic() []byte {
    	if b.err != nil {
    		panic(b.err)
    	}
    	return b.result[b.offset:]
    }
    
    // AddUint8 appends an 8-bit value to the byte string.
    func (b *Builder) AddUint8(v uint8) {
    	b.add(byte(v))
    }
    
    // AddUint16 appends a big-endian, 16-bit value to the byte string.
    func (b *Builder) AddUint16(v uint16) {
    	b.add(byte(v>>8), byte(v))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. schema/field.go

    		case Bool, Int, Uint, Float, String, Time, Bytes:
    			field.DataType = DataType(strings.ToLower(val))
    		default:
    			field.DataType = DataType(val)
    		}
    	}
    
    	if field.Size == 0 {
    		switch reflect.Indirect(fieldValue).Kind() {
    		case reflect.Int, reflect.Int64, reflect.Uint, reflect.Uint64, reflect.Float64:
    			field.Size = 64
    		case reflect.Int8, reflect.Uint8:
    			field.Size = 8
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. src/image/png/reader.go

    	if rowSize != int64(int(rowSize)) {
    		return nil, UnsupportedError("dimension overflow")
    	}
    	// cr and pr are the bytes for the current and previous row.
    	cr := make([]uint8, rowSize)
    	pr := make([]uint8, rowSize)
    
    	for y := 0; y < height; y++ {
    		// Read the decompressed bytes.
    		_, err := io.ReadFull(r, cr)
    		if err != nil {
    			if err == io.EOF || err == io.ErrUnexpectedEOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  9. test/codegen/mathbits.go

    	// amd64:"ROLW" 386:"ROLW"
    	// arm64:"RORW",-"CSEL"
    	return bits.RotateLeft16(n, s)
    }
    
    func RotateLeft8(n uint8, s int) uint8 {
    	// amd64:"ROLB" 386:"ROLB"
    	// arm64:"LSL","LSR",-"CSEL"
    	return bits.RotateLeft8(n, s)
    }
    
    func RotateLeftVariable(n uint, m int) uint {
    	// amd64:"ROLQ"
    	// arm64:"ROR"
    	// ppc64x:"ROTL"
    	// s390x:"RLLG"
    	// wasm:"I64Rotl"
    	return bits.RotateLeft(n, m)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    		}
    
    		for ; length > 0; length-- {
    			i := v >> uint((length-1)*8) & 0xff
    			c.AddUint8(uint8(i))
    		}
    	})
    }
    
    // AddASN1Uint64 appends a DER-encoded ASN.1 INTEGER.
    func (b *Builder) AddASN1Uint64(v uint64) {
    	b.AddASN1(asn1.INTEGER, func(c *Builder) {
    		length := 1
    		for i := v; i >= 0x80; i >>= 8 {
    			length++
    		}
    
    		for ; length > 0; length-- {
    			i := v >> uint((length-1)*8) & 0xff
    			c.AddUint8(uint8(i))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top