Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for uint16_t (0.16 sec)

  1. src/cmd/cgo/internal/test/test.go

    typedef uint32_t VkFlags;
    typedef VkFlags  VkDeviceQueueCreateFlags;
    typedef uint32_t VkStructureType;
    
    typedef struct VkDeviceQueueCreateInfo {
        VkStructureType             sType;
        const void*                 pNext;
        VkDeviceQueueCreateFlags    flags;
        uint32_t                    queueFamilyIndex;
        uint32_t                    queueCount;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    }
    
    template <>
    inline std::vector<int16_t> GetVector(DenseElementsAttr elements) {
      auto type = elements.getType();
      auto elemType = type.getElementType();
      if (elemType.isSignlessInteger(16)) {
        auto vec = llvm::to_vector(llvm::map_range(
            elements.getValues<APInt>(),
            [&](APInt value) -> int16_t { return value.getSExtValue(); }));
        return std::vector<int16_t>(vec.begin(), vec.end());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

              return true;
            }
          }
        }
        return false;
      }
    
      // Returns the producer op code of the specified tensor_idx.
      bool GetProducerOpCode(const Model* model, uint32_t subgraph_idx,
                             uint32_t tensor_idx, BuiltinOperator* op_code) {
        const auto subgraph = model->subgraphs()->Get(subgraph_idx);
        for (size_t op_idx = 0; op_idx < subgraph->operators()->size(); ++op_idx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      se_.memset32 = [](const SP_Device* device, SP_Stream stream,
                        SP_DeviceMemoryBase* location, uint32_t pattern,
                        uint64_t size, TF_Status* status) {
        TF_SetStatus(status, TF_OK, "");
        EXPECT_EQ(stream->stream_id, 14);
        EXPECT_EQ(size % 4, 0);
        auto ptr = static_cast<uint32_t*>(location->opaque);
        for (int i = 0; i < size / 4; i++) {
          *(ptr + i) = pattern;
        }
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. 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)
  6. src/crypto/tls/cipher_suites.go

    	TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA          uint16 = 0xc009
    	TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA          uint16 = 0xc00a
    	TLS_ECDHE_RSA_WITH_RC4_128_SHA                uint16 = 0xc011
    	TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA           uint16 = 0xc012
    	TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA            uint16 = 0xc013
    	TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA            uint16 = 0xc014
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/encoding/binary/binary.go

    type littleEndian struct{}
    
    func (littleEndian) Uint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (littleEndian) PutUint16(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 (littleEndian) AppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. test/codegen/shift.go

    	// ppc64x:-".*RLWINM",-".*RLDICR",".*CLRLSLDI"
    	f += tab[uint16(v)|h]
    	// ppc64x:-".*AND",-"RLDICR",".*CLRLSLDI"
    	f += tab[v&0xff]
    	// ppc64x:-".*AND",".*CLRLSLWI"
    	f += 2 * uint32(uint16(d))
    	// ppc64x:-".*AND",-"RLDICR",".*CLRLSLDI"
    	g := 2 * uint64(uint32(d))
    	return f, g
    }
    
    func checkCombinedShifts(v8 uint8, v16 uint16, v32 uint32, x32 int32, v64 uint64) (uint8, uint16, uint32, uint64, int64) {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/encoding/binary/binary_test.go

    			math.Float64bits(math.E),
    		} {
    			want16 := uint16(value)
    			order.PutUint16(buf[:2], want16)
    			if got := order.Uint16(buf[:2]); got != want16 {
    				t.Errorf("PutUint16: Uint16 = %v, want %v", got, want16)
    			}
    			buf = order.AppendUint16(buf[:offset], want16)
    			if got := order.Uint16(buf[offset:]); got != want16 {
    				t.Errorf("AppendUint16: Uint16 = %v, want %v", got, want16)
    			}
    			if len(buf) != offset+2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. src/crypto/internal/mlkem768/mlkem768.go

    		b = b[5:]
    		f[i] = fieldElement(decompress(uint16(x>>0&0b11_1111_1111), 10))
    		f[i+1] = fieldElement(decompress(uint16(x>>10&0b11_1111_1111), 10))
    		f[i+2] = fieldElement(decompress(uint16(x>>20&0b11_1111_1111), 10))
    		f[i+3] = fieldElement(decompress(uint16(x>>30&0b11_1111_1111), 10))
    	}
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top