Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 423 for uint16_t (0.25 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. tensorflow/cc/experimental/base/tests/tensor_types_test_util.h

    };
    
    struct UINT8Type {
      using type = uint8_t;
      static constexpr TF_DataType kDType = TF_UINT8;
    };
    
    struct INT8Type {
      using type = int8_t;
      static constexpr TF_DataType kDType = TF_INT8;
    };
    
    struct INT64Type {
      using type = int64_t;
      static constexpr TF_DataType kDType = TF_INT64;
    };
    
    struct UINT16Type {
      using type = uint16_t;
      static constexpr TF_DataType kDType = TF_UINT16;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 00:34:05 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc

                 SP_DeviceMemoryBase* location, uint64_t size, TF_Status* status) {}
    
    void Memset(const SP_Device* device, SP_Stream stream,
                SP_DeviceMemoryBase* location, uint8_t pattern, uint64_t size,
                TF_Status* status) {}
    
    void Memset32(const SP_Device* device, SP_Stream stream,
                  SP_DeviceMemoryBase* location, uint32_t pattern, uint64_t size,
                  TF_Status* status) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 20:09:00 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c

    #include <cpuid.h>
    #include <stdint.h>
    #include <x86intrin.h>
    
    // Need to wrap __get_cpuid_count because it's declared as static.
    int
    gccgoGetCpuidCount(uint32_t leaf, uint32_t subleaf,
                       uint32_t *eax, uint32_t *ebx,
                       uint32_t *ecx, uint32_t *edx)
    {
    	return __get_cpuid_count(leaf, subleaf, eax, ebx, ecx, edx);
    }
    
    #pragma GCC diagnostic ignored "-Wunknown-pragmas"
    #pragma GCC push_options
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue30527/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue30527
    
    import "math"
    
    /*
    #include <inttypes.h>
    
    static void issue30527F(char **p, uint64_t mod, uint32_t unused) {}
    */
    import "C"
    
    func G(p **C.char) {
    	C.issue30527F(p, math.MaxUint64, 1)
    	C.issue30527F(p, 1<<64-1, Z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 394 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/runtime/cgo/gcc_sigaction.c

    // defs_linux_amd64.go.  This definition — and its conversion to and from struct
    // sigaction — are specific to linux/amd64.
    typedef struct {
    	uintptr_t handler;
    	uint64_t flags;
    	uintptr_t restorer;
    	uint64_t mask;
    } go_sigaction_t;
    
    // SA_RESTORER is part of the kernel interface.
    // This is Linux i386/amd64 specific.
    #ifndef SA_RESTORER
    #define SA_RESTORER 0x4000000
    #endif
    
    int32_t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcshared/testdata/main0.c

    #include <stdio.h>
    
    #include "p.h"
    #include "libgo.h"
    
    // Tests libgo.so to export the following functions.
    //   int8_t DidInitRun();
    //   int8_t DidMainRun();
    //   int32_t FromPkg();
    //   uint32_t Divu(uint32_t, uint32_t);
    int main(void) {
      int8_t ran_init = DidInitRun();
      if (!ran_init) {
        fprintf(stderr, "ERROR: DidInitRun returned unexpected results: %d\n",
                ran_init);
        return 1;
      }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top