Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 602 for uint16At (0.1 sec)

  1. src/cmd/internal/goobj/objfile.go

    	b := r.BytesAt(off, 4)
    	return binary.LittleEndian.Uint32(b)
    }
    
    func (r *Reader) int32At(off uint32) int32 {
    	return int32(r.uint32At(off))
    }
    
    func (r *Reader) uint16At(off uint32) uint16 {
    	b := r.BytesAt(off, 2)
    	return binary.LittleEndian.Uint16(b)
    }
    
    func (r *Reader) uint8At(off uint32) uint8 {
    	b := r.BytesAt(off, 1)
    	return b[0]
    }
    
    func (r *Reader) StringAt(off uint32, len uint32) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

          output->Add(
              Eigen::numext::bit_cast<uint16_t>(attr.getSplatValue<Eigen::half>()));
      } else {
        output->Reserve(attr.getNumElements());
        for (const Eigen::half value : attr.getValues<Eigen::half>())
          output->AddAlreadyReserved(Eigen::numext::bit_cast<uint16_t>(value));
      }
    }
    
    // Converts an MLIR elements attribute containing signed int values and adds it
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. 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)
  5. src/internal/poll/fd_windows.go

    		if m > maxWrite {
    			m = maxWrite
    		}
    		chunk := runes[:m]
    		runes = runes[m:]
    		uint16s := utf16.Encode(chunk)
    		for len(uint16s) > 0 {
    			var written uint32
    			err := syscall.WriteConsole(fd.Sysfd, &uint16s[0], uint32(len(uint16s)), &written, nil)
    			if err != nil {
    				return 0, err
    			}
    			uint16s = uint16s[written:]
    		}
    	}
    	return n, nil
    }
    
    // Pwrite emulates the Unix pwrite system call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/service.go

    //sys	CloseServiceHandle(handle Handle) (err error) = advapi32.CloseServiceHandle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	Lastchange  Timeval
    }
    
    type IfaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	_       uint16
    	Metric  int32
    }
    
    type IfmaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	_       uint16
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    }
    
    type IfaMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Index     uint16
    	Flags     int32
    	Addrs     int32
    	Addrflags int32
    	Metric    int32
    }
    
    type IfmaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Flags   int32
    	Addrs   int32
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. src/runtime/defs_linux_386.go

    type stackt struct {
    	ss_sp    *byte
    	ss_flags int32
    	ss_size  uintptr
    }
    
    type sigcontext struct {
    	gs            uint16
    	__gsh         uint16
    	fs            uint16
    	__fsh         uint16
    	es            uint16
    	__esh         uint16
    	ds            uint16
    	__dsh         uint16
    	edi           uint32
    	esi           uint32
    	ebp           uint32
    	esp           uint32
    	ebx           uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/syscall/ztypes_openbsd_ppc64.go

    }
    
    type IfaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	Tableid uint16
    	Pad1    uint8
    	Pad2    uint8
    	Addrs   int32
    	Flags   int32
    	Metric  int32
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	What    uint16
    	Name    [16]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top