Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for uint16At (0.13 sec)

  1. tensorflow/compiler/mlir/lite/utils/constant_utils.cc

                                                     static_cast<uint8_t>(value));
              break;
            case 16:
              return DenseElementsAttr::get<uint16_t>(shaped_type,
                                                      static_cast<uint16_t>(value));
              break;
            case 32:
              return DenseElementsAttr::get<uint32_t>(shaped_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/compress/bzip2/huffman.go

    // symbol is found.
    func (t *huffmanTree) Decode(br *bitReader) (v uint16) {
    	nodeIndex := uint16(0) // node 0 is the root of the tree.
    
    	for {
    		node := &t.nodes[nodeIndex]
    
    		var bit uint16
    		if br.bits > 0 {
    			// Get next bit - fast path.
    			br.bits--
    			bit = uint16(br.n>>(br.bits&63)) & 1
    		} else {
    			// Get next bit - slow path.
    			// Use ReadBits to retrieve a single bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/reparse_windows.go

    	SubstituteNameLength uint16
    	// PrintNameOffset is similar to SubstituteNameOffset.
    	PrintNameOffset uint16
    	// PrintNameLength is similar to SubstituteNameLength.
    	PrintNameLength uint16
    	// Flags specifies whether the substitute name is a full path name or
    	// a path name relative to the directory containing the symbolic link.
    	Flags      uint32
    	PathBuffer [1]uint16
    }
    
    // Path returns path stored in rb.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 07:15:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/unicode/utf16/utf16.go

    func Encode(s []rune) []uint16 {
    	n := len(s)
    	for _, v := range s {
    		if v >= surrSelf {
    			n++
    		}
    	}
    
    	a := make([]uint16, n)
    	n = 0
    	for _, v := range s {
    		switch RuneLen(v) {
    		case 1: // normal rune
    			a[n] = uint16(v)
    			n++
    		case 2: // needs surrogate sequence
    			r1, r2 := EncodeRune(v)
    			a[n] = uint16(r1)
    			a[n+1] = uint16(r2)
    			n += 2
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/runtime/defs_darwin_amd64.go

    	fpu_reserved  [2]int32
    	fpu_fcw       fpcontrol
    	fpu_fsw       fpstatus
    	fpu_ftw       uint8
    	fpu_rsrv1     uint8
    	fpu_fop       uint16
    	fpu_ip        uint32
    	fpu_cs        uint16
    	fpu_rsrv2     uint16
    	fpu_dp        uint32
    	fpu_ds        uint16
    	fpu_rsrv3     uint16
    	fpu_mxcsr     uint32
    	fpu_mxcsrmask uint32
    	fpu_stmm0     regmmst
    	fpu_stmm1     regmmst
    	fpu_stmm2     regmmst
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Pid    int32
    }
    
    type Termios struct {
    	Cflag uint32
    	Iflag uint32
    	Lflag uint32
    	Oflag uint32
    	Cc    [11]uint8
    }
    
    type Winsize struct {
    	Row    uint16
    	Col    uint16
    	Xpixel uint16
    	Ypixel uint16
    }
    
    type W_Mnth struct {
    	Hid   [4]byte
    	Size  int32
    	Cur1  int32 //32bit pointer
    	Cur2  int32 //^
    	Devno uint32
    	_     [4]byte
    }
    
    type W_Mntent struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/strconv/makeisprint.go

    		}
    		if i > max {
    			break
    		}
    		if lo < 0 && unicode.IsPrint(i) {
    			lo = i
    		}
    	}
    	return
    }
    
    func to16(x []uint32) []uint16 {
    	var y []uint16
    	for _, v := range x {
    		if uint32(uint16(v)) != v {
    			panic("bad 32->16 conversion")
    		}
    		y = append(y, uint16(v))
    	}
    	return y
    }
    
    func main() {
    	flag.Parse()
    
    	rang, except := scan(0, 0xFFFF)
    	range16 = to16(rang)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/crypto/internal/hpke/hpke.go

    type dhKEM struct {
    	dh  ecdh.Curve
    	kdf hkdfKDF
    
    	suiteID []byte
    	nSecret uint16
    }
    
    var SupportedKEMs = map[uint16]struct {
    	curve   ecdh.Curve
    	hash    crypto.Hash
    	nSecret uint16
    }{
    	// RFC 9180 Section 7.1
    	0x0020: {ecdh.X25519(), crypto.SHA256, 32},
    }
    
    func newDHKem(kemID uint16) (*dhKEM, error) {
    	suite, ok := SupportedKEMs[kemID]
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/unicode/utf16/utf16_test.go

    		}
    	}
    }
    
    type decodeTest struct {
    	in  []uint16
    	out []rune
    }
    
    var decodeTests = []decodeTest{
    	{[]uint16{1, 2, 3, 4}, []rune{1, 2, 3, 4}},
    	{[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff},
    		[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}},
    	{[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}},
    	{[]uint16{0xdfff}, []rune{0xfffd}},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/internal/byteorder/byteorder.go

    package byteorder
    
    func LeUint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func LePutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func LeAppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    		byte(v>>8),
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top