Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 241 for quint8 (0.09 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/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)
  3. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      %1 = "tfl.quantize"(%0) {qtype = tensor<8x!quant.uniform<u4:f32, 1.000000e+00>>} : (tensor<8xf32>) -> tensor<8x!quant.uniform<u4:f32, 1.000000e+00>>
      func.return %1 : tensor<8x!quant.uniform<u4:f32, 1.000000e+00>>
    
    // CHECK:  %0 = "tf.FakeQuantWithMinMaxVars"(%arg0, %cst, %cst_0) <{narrow_range = false, num_bits = 3 : i64}>
    // CHECK:  %1 = "tfl.quantize"(%0) <{qtype = tensor<8x!quant.uniform<u4:f32, 1.000000e+00>>}>
    // CHECK:  return %1
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/op.go

    // For ABI register index r, returns the (dense) register number used in
    // SSA backend.
    func archRegForAbiReg(r abi.RegIndex, c *Config) uint8 {
    	var m int8
    	if int(r) < len(c.intParamRegs) {
    		m = c.intParamRegs[r]
    	} else {
    		m = c.floatParamRegs[int(r)-len(c.intParamRegs)]
    	}
    	return uint8(m)
    }
    
    // For ABI register index r, returns the register number used in the obj
    // package (assembler).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance_gen.go

    func (z *rebalSaveOpts) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = rebalSaveOpts(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z rebalSaveOpts) 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: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/encoding/binary/binary_test.go

    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    type Struct struct {
    	Int8       int8
    	Int16      int16
    	Int32      int32
    	Int64      int64
    	Uint8      uint8
    	Uint16     uint16
    	Uint32     uint32
    	Uint64     uint64
    	Float32    float32
    	Float64    float64
    	Complex64  complex64
    	Complex128 complex128
    	Array      [4]uint8
    	Bool       bool
    	BoolArray  [4]bool
    }
    
    type T struct {
    	Int     int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. src/image/gif/writer.go

    		if rgba, ok := c.(color.RGBA); ok {
    			r, g, b = rgba.R, rgba.G, rgba.B
    		} else {
    			rr, gg, bb, _ := c.RGBA()
    			r, g, b = uint8(rr>>8), uint8(gg>>8), uint8(bb>>8)
    		}
    		dst[3*i+0] = r
    		dst[3*i+1] = g
    		dst[3*i+2] = b
    	}
    	n := log2Lookup[size]
    	if n > len(p) {
    		// Pad with black.
    		clear(dst[3*len(p) : 3*n])
    	}
    	return 3 * n, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. test/codegen/comparisons.go

    	if f-int32(u>>2) >= 0 {
    		return 2
    	}
    	return 0
    }
    
    func UintLtZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCC|JCS)`
    	// arm64: -`(CMPW|CMP|BHS|BLO)`
    	if a < 0 || b < 0 || c < 0 || d < 0 {
    		return 1
    	}
    	return 0
    }
    
    func UintGeqZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCS|JCC)`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func libfuzzerTraceCmp1(uint8, uint8, uint)
    func libfuzzerTraceCmp2(uint16, uint16, uint)
    func libfuzzerTraceCmp4(uint32, uint32, uint)
    func libfuzzerTraceCmp8(uint64, uint64, uint)
    func libfuzzerTraceConstCmp1(uint8, uint8, uint)
    func libfuzzerTraceConstCmp2(uint16, uint16, uint)
    func libfuzzerTraceConstCmp4(uint32, uint32, uint)
    func libfuzzerTraceConstCmp8(uint64, uint64, uint)
    func libfuzzerHookStrCmp(string, string, uint)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net_test.go

    		Namespace: "bar",
    		UID:       "123",
    	}
    	podIP := netip.MustParseAddr("99.9.9.9")
    	podIPs := []netip.Addr{podIP}
    
    	fixture.ipsetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("99.9.9.9"),
    		uint8(unix.IPPROTO_TCP),
    		string(podMeta.UID),
    		false,
    	).Return(nil)
    
    	err := netServer.AddPodToMesh(ctx, &corev1.Pod{ObjectMeta: podMeta}, podIPs, "fakenetns")
    	assert.NoError(t, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top