Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    		v := x & (1<<8 - 1)
    		rot := (x >> 8) & (1<<4 - 1) * 2
    		if rot > 0 && v&3 == 0 {
    			// could rotate less
    			return ImmAlt{uint8(v), uint8(rot)}
    		}
    		if rot >= 24 && ((v<<(32-rot))&0xFF)>>(32-rot) == v {
    			// could wrap around to rot==0.
    			return ImmAlt{uint8(v), uint8(rot)}
    		}
    		return Imm(v>>rot | v<<(32-rot))
    
    	case arg_endian:
    		return Endian((x >> 9) & 1)
    
    	case arg_fbits:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/types.go

    //go:nosplit
    func (i *Int64) Add(delta int64) int64 {
    	return Xaddint64(&i.value, delta)
    }
    
    // Uint8 is an atomically accessed uint8 value.
    //
    // A Uint8 must not be copied.
    type Uint8 struct {
    	noCopy noCopy
    	value  uint8
    }
    
    // Load accesses and returns the value atomically.
    //
    //go:nosplit
    func (u *Uint8) Load() uint8 {
    	return Load8(&u.value)
    }
    
    // Store updates the value atomically.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/c/ops_test.cc

      TF_OpDefinitionBuilder* builder = TF_NewOpDefinitionBuilder("UnknownShapeOp");
      TF_OpDefinitionBuilderAddInput(builder, "input1: uint8");
      TF_OpDefinitionBuilderAddInput(builder, "input2: uint32");
      TF_OpDefinitionBuilderAddOutput(builder, "output1: uint8");
      TF_OpDefinitionBuilderAddOutput(builder, "output2: uint8");
      TF_OpDefinitionBuilderSetShapeInferenceFunction(
          builder, &TF_ShapeInferenceContextSetUnknownShape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top