Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for uint16_t (0.2 sec)

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

          switch (itype.getWidth()) {
            case 8:
              return DenseElementsAttr::get<uint8_t>(shaped_type,
                                                     static_cast<uint8_t>(value));
              break;
            case 16:
              return DenseElementsAttr::get<uint16_t>(shaped_type,
                                                      static_cast<uint16_t>(value));
              break;
            case 32:
    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/runtime/write_err_android.go

    	// The first 11 bytes of the header corresponds to android_log_header_t
    	// as defined in system/core/include/private/android_logger.h
    	//   hdr[0] log type id (unsigned char), defined in <log/log.h>
    	//   hdr[1:2] tid (uint16_t)
    	//   hdr[3:11] log_time defined in <log/log_read.h>
    	//      hdr[3:7] sec unsigned uint32, little endian.
    	//      hdr[7:11] nsec unsigned uint32, little endian.
    	hdr[0] = 0 // LOG_ID_MAIN
    	sec, nsec, _ := time_now()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/cgo/libcgo.h

    // license that can be found in the LICENSE file.
    
    #include <stdint.h>
    #include <stdlib.h>
    #include <stdio.h>
    
    #undef nil
    #define nil ((void*)0)
    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    typedef uint32_t uint32;
    typedef uint64_t uint64;
    typedef uintptr_t uintptr;
    
    /*
     * The beginning of the per-goroutine structure,
     * as defined in ../pkg/runtime/runtime.h.
     * Just enough to edit these two fields.
     */
    typedef struct G G;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/fingerprinting_utils.h

    // Hashes the contents of `graph_def`.
    absl::StatusOr<uint64_t> HashGraphDef(
        tensorflow::GraphDef* graph_def,
        const ::tensorflow::proto_splitter::ChunkedMessage& chunked_message,
        riegeli::RecordReader<riegeli::FdReader<>>& reader,
        const std::vector<::tensorflow::proto_splitter::ChunkInfo>& chunks_info);
    
    // Hashes the contents of `signature_def`.
    absl::StatusOr<uint64_t> HashSignatureDef(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top