Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 378 for quint8 (0.12 sec)

  1. src/crypto/internal/mlkem768/mlkem768_test.go

    		for n := 0; n < (1 << d); n++ {
    			expected := DecompressRat(uint16(n), uint8(d))
    			result := decompress(uint16(n), uint8(d))
    			if result != expected {
    				t.Errorf("decompress(%d, %d): got %d, expected %d", n, d, result, expected)
    			}
    		}
    	}
    }
    
    func BitRev7(n uint8) uint8 {
    	if n>>7 != 0 {
    		panic("not 7 bits")
    	}
    	var r uint8
    	r |= n >> 6 & 0b0000_0001
    	r |= n >> 4 & 0b0000_0010
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/arith_test.go

    	var sixU, nineteenU uint64 = 6, 19
    	// test all inputs for uint8, uint16
    	for i := uint64(0); i <= math.MaxUint16; i++ {
    		if i <= math.MaxUint8 {
    			if want, got := uint8(i)%uint8(sixU) == 0, div6_uint8(uint8(i)); got != want {
    				t.Errorf("div6_uint8(%d) = %v want %v", i, got, want)
    			}
    			if want, got := uint8(i)%uint8(nineteenU) == 0, div19_uint8(uint8(i)); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  3. src/encoding/binary/binary.go

    		e.bool(v.Bool())
    
    	case reflect.Int8:
    		e.int8(int8(v.Int()))
    	case reflect.Int16:
    		e.int16(int16(v.Int()))
    	case reflect.Int32:
    		e.int32(int32(v.Int()))
    	case reflect.Int64:
    		e.int64(v.Int())
    
    	case reflect.Uint8:
    		e.uint8(uint8(v.Uint()))
    	case reflect.Uint16:
    		e.uint16(uint16(v.Uint()))
    	case reflect.Uint32:
    		e.uint32(uint32(v.Uint()))
    	case reflect.Uint64:
    		e.uint64(v.Uint())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/scalar_fiat.go

    	x18 := uint8((x16 >> 8))
    	x19 := (uint8(x3) & 0xff)
    	x20 := (x3 >> 8)
    	x21 := (uint8(x20) & 0xff)
    	x22 := (x20 >> 8)
    	x23 := (uint8(x22) & 0xff)
    	x24 := (x22 >> 8)
    	x25 := (uint8(x24) & 0xff)
    	x26 := (x24 >> 8)
    	x27 := (uint8(x26) & 0xff)
    	x28 := (x26 >> 8)
    	x29 := (uint8(x28) & 0xff)
    	x30 := (x28 >> 8)
    	x31 := (uint8(x30) & 0xff)
    	x32 := uint8((x30 >> 8))
    	x33 := (uint8(x2) & 0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 35.6K bytes
    - Viewed (0)
  5. src/image/jpeg/writer.go

    	e.buf[4] = uint8(size.X & 0xff)
    	e.buf[5] = uint8(nComponent)
    	if nComponent == 1 {
    		e.buf[6] = 1
    		// No subsampling for grayscale image.
    		e.buf[7] = 0x11
    		e.buf[8] = 0x00
    	} else {
    		for i := 0; i < nComponent; i++ {
    			e.buf[3*i+6] = uint8(i + 1)
    			// We use 4:2:0 chroma subsampling.
    			e.buf[3*i+7] = "\x22\x11\x11"[i]
    			e.buf[3*i+8] = "\x00\x01\x01"[i]
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  6. api/go1.21.txt

    pkg crypto/tls, method (*SessionState) Bytes() ([]uint8, error) #60105
    pkg crypto/tls, type AlertError uint8 #44886
    pkg crypto/tls, type Config struct, UnwrapSession func([]uint8, ConnectionState) (*SessionState, error) #60105
    pkg crypto/tls, type Config struct, WrapSession func(ConnectionState, *SessionState) ([]uint8, error) #60105
    pkg crypto/tls, type QUICConfig struct #44886
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  7. api/except.txt

    pkg syscall (freebsd-arm-cgo), type Stat_t struct, Rdev uint32
    pkg syscall (freebsd-arm-cgo), type Statfs_t struct, Mntfromname [88]int8
    pkg syscall (freebsd-arm-cgo), type Statfs_t struct, Mntonname [88]int8
    pkg syscall (linux-386), type Cmsghdr struct, X__cmsg_data [0]uint8
    pkg syscall (linux-386-cgo), type Cmsghdr struct, X__cmsg_data [0]uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/dec64.rules

    				(Rsh32Ux8 <typ.UInt32> (Int64Lo x) s)
    				(Lsh32x8 <typ.UInt32>
    					(Int64Hi x)
    					(Sub8 <typ.UInt8> (Const8 <typ.UInt8> [32]) s)))
    			(And32 <typ.UInt32>
    				(Rsh32x8 <typ.UInt32>
    					(Int64Hi x)
    					(Sub8 <typ.UInt8> s (Const8 <typ.UInt8> [32])))
    				(Zeromask
    					(ZeroExt8to32
    						(Rsh8Ux32 <typ.UInt8> s (Const32 <typ.UInt32> [5])))))))
    
    (Const64 <t> [c]) && t.IsSigned() =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  9. src/image/draw/draw_test.go

    	return image.NewUniform(color.RGBA{0, 0, uint8(alpha), uint8(alpha)})
    }
    
    func fillAlpha(alpha int) image.Image {
    	return image.NewUniform(color.Alpha{uint8(alpha)})
    }
    
    func vgradGreen(alpha int) image.Image {
    	m := image.NewRGBA(image.Rect(0, 0, 16, 16))
    	for y := 0; y < 16; y++ {
    		for x := 0; x < 16; x++ {
    			m.Set(x, y, color.RGBA{0, uint8(y * alpha / 15), 0, uint8(alpha)})
    		}
    	}
    	return m
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. src/cmd/link/internal/mips64/asm.go

    		switch r.Size {
    		case 4:
    			out.Write8(uint8(elf.R_MIPS_32))
    		case 8:
    			out.Write8(uint8(elf.R_MIPS_64))
    		default:
    			return false
    		}
    	case objabi.R_ADDRMIPS:
    		out.Write8(uint8(elf.R_MIPS_LO16))
    	case objabi.R_ADDRMIPSU:
    		out.Write8(uint8(elf.R_MIPS_HI16))
    	case objabi.R_ADDRMIPSTLS:
    		out.Write8(uint8(elf.R_MIPS_TLS_TPREL_LO16))
    		if ctxt.Target.IsOpenbsd() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top