Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for gcbits (0.14 sec)

  1. test/codegen/bits.go

    func bitSetTest(x int) bool {
    	// amd64:"ANDL\t[$]9, AX"
    	// amd64:"CMPQ\tAX, [$]9"
    	return x&9 == 9
    }
    
    // mask contiguous one bits
    func cont1Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]16, [$]47, [$]0,"
    	return x & 0x0000ffffffff0000
    }
    
    // mask contiguous zero bits
    func cont0Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]48, [$]15, [$]0,"
    	return x & 0xffff00000000ffff
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/device_target.cc

    namespace mlir {
    namespace quant {
    
    constexpr int k8Bits = 8;
    constexpr int k32Bits = 32;
    constexpr unsigned kSigned = QuantizationFlags::Signed;
    
    DeviceTarget::DeviceTarget(MLIRContext* ctx) : ctx_(ctx) {
      f32_ = FloatType::getF32(ctx_);
      i8_ = IntegerType::get(ctx_, k8Bits);
      i8_min_ = QuantizedType::getDefaultMinimumForInteger(kSigned, k8Bits);
      i8_max_ = QuantizedType::getDefaultMaximumForInteger(kSigned, k8Bits);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/sym/symkind_string.go

    	var x [1]struct{}
    	_ = x[Sxxx-0]
    	_ = x[STEXT-1]
    	_ = x[SELFRXSECT-2]
    	_ = x[SMACHOPLT-3]
    	_ = x[STYPE-4]
    	_ = x[SSTRING-5]
    	_ = x[SGOSTRING-6]
    	_ = x[SGOFUNC-7]
    	_ = x[SGCBITS-8]
    	_ = x[SRODATA-9]
    	_ = x[SFUNCTAB-10]
    	_ = x[SELFROSECT-11]
    	_ = x[STYPERELRO-12]
    	_ = x[SSTRINGRELRO-13]
    	_ = x[SGOSTRINGRELRO-14]
    	_ = x[SGOFUNCRELRO-15]
    	_ = x[SGCBITSRELRO-16]
    	_ = x[SRODATARELRO-17]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/numa_info.go

    	// This should never happen, but just in case make sure we do not divide by zero.
    	if bm.Count() == 0 {
    		return 0
    	}
    
    	var count float64 = 0
    	var sum float64 = 0
    	for _, node1 := range bm.GetBits() {
    		for _, node2 := range bm.GetBits() {
    			sum += float64(d[node1][node2])
    			count++
    		}
    	}
    
    	return sum / count
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. src/compress/flate/huffman_bit_writer.go

    	if w.err != nil {
    		return
    	}
    	w.bits |= uint64(b) << w.nbits
    	w.nbits += nb
    	if w.nbits >= 48 {
    		bits := w.bits
    		w.bits >>= 48
    		w.nbits -= 48
    		n := w.nbytes
    		bytes := w.bytes[n : n+6]
    		bytes[0] = byte(bits)
    		bytes[1] = byte(bits >> 8)
    		bytes[2] = byte(bits >> 16)
    		bytes[3] = byte(bits >> 24)
    		bytes[4] = byte(bits >> 32)
    		bytes[5] = byte(bits >> 40)
    		n += 6
    		if n >= bufferFlushSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/bitmask/bitmask.go

    }
    
    // Count counts number of bits in mask set to one
    func (s *bitMask) Count() int {
    	return bits.OnesCount64(uint64(*s))
    }
    
    // Getbits returns each bit number with bits set to one
    func (s *bitMask) GetBits() []int {
    	var bits []int
    	for i := uint64(0); i < 64; i++ {
    		if (*s & (1 << i)) > 0 {
    			bits = append(bits, int(i))
    		}
    	}
    	return bits
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. src/compress/lzw/writer.go

    }
    
    // writeLSB writes the code c for "Least Significant Bits first" data.
    func (w *Writer) writeLSB(c uint32) error {
    	w.bits |= c << w.nBits
    	w.nBits += w.width
    	for w.nBits >= 8 {
    		if err := w.w.WriteByte(uint8(w.bits)); err != nil {
    			return err
    		}
    		w.bits >>= 8
    		w.nBits -= 8
    	}
    	return nil
    }
    
    // writeMSB writes the code c for "Most Significant Bits first" data.
    func (w *Writer) writeMSB(c uint32) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/compress/lzw/reader.go

    }
    
    // readLSB returns the next code for "Least Significant Bits first" data.
    func (r *Reader) readLSB() (uint16, error) {
    	for r.nBits < r.width {
    		x, err := r.r.ReadByte()
    		if err != nil {
    			return 0, err
    		}
    		r.bits |= uint32(x) << r.nBits
    		r.nBits += 8
    	}
    	code := uint16(r.bits & (1<<r.width - 1))
    	r.bits >>= r.width
    	r.nBits -= r.width
    	return code, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/dir_plan9.go

    // returning the remaining slice of b..
    func pstring(b []byte, s string) []byte {
    	b = pbit16(b, uint16(len(s)))
    	n := copy(b, s)
    	return b[n:]
    }
    
    // gbit8 reads an 8-bit number from b and returns it with the remaining slice of b.
    func gbit8(b []byte) (uint8, []byte) {
    	return uint8(b[0]), b[1:]
    }
    
    // gbit16 reads a 16-bit number in little-endian order from b and returns it with the remaining slice of b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  10. src/math/big/natconv.go

    				nbits -= shift
    			}
    
    			// convert any partial leading digit and advance to next word
    			if nbits == 0 {
    				// no partial digit remaining, just advance
    				w = x[k]
    				nbits = _W
    			} else {
    				// partial digit in current word w (== x[k-1]) and next word x[k]
    				w |= x[k] << nbits
    				i--
    				s[i] = digits[w&mask]
    
    				// advance
    				w = x[k] >> (shift - nbits)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
Back to top