Searched refs:int_index (Results 1 – 3 of 3) sorted by relevance
/third_party/boost/libs/container_hash/test/ |
D | hash_type_index_test.cpp | 27 std::type_index int_index = typeid(int); in test_type_index() local 31 BOOST_TEST(hasher(int_index) == int_index.hash_code()); in test_type_index() 32 BOOST_TEST(hasher(int_index) == int2_index.hash_code()); in test_type_index() 34 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(int_index) == int_index.hash_code()); in test_type_index() 35 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(int_index) == int2_index.hash_code()); in test_type_index() 38 BOOST_TEST(hasher(int_index) == hasher(int2_index)); in test_type_index() 39 BOOST_TEST(hasher(int_index) != hasher(char_index)); in test_type_index()
|
/third_party/alsa-lib/src/control/ |
D | tlv.c | 40 #define int_index(size) (((size) + sizeof(int) - 1) / sizeof(int)) macro 77 size = int_index(size) * sizeof(int); in snd_tlv_parse_dB_info() 86 len = int_index(tlv[SNDRV_CTL_TLVO_LEN]) + 2; in snd_tlv_parse_dB_info() 137 len = int_index(tlv[SNDRV_CTL_TLVO_LEN]); in snd_tlv_get_dB_range() 164 pos += int_index(tlv[pos + 3]) + 4; in snd_tlv_get_dB_range() 209 len = int_index(tlv[SNDRV_CTL_TLVO_LEN]); in snd_tlv_convert_to_dB() 220 pos += int_index(tlv[pos + 3]) + 4; in snd_tlv_convert_to_dB() 302 len = int_index(tlv[SNDRV_CTL_TLVO_LEN]); in snd_tlv_convert_from_dB() 327 pos += int_index(tlv[pos + 3]) + 4; in snd_tlv_convert_from_dB()
|
/third_party/mindspore/mindspore/ops/composite/multitype_ops/ |
D | _compile_utils.py | 199 def tensor_itemset_by_number_with_number(data, int_index, number_value): argument 201 itemset_data = tensor_setitem_by_number_with_number(flatten_data, int_index, number_value) 313 def _tensor_index_by_integer(data, int_index): argument 319 transformed_number = const_utils.check_range(int_index, data_shape[0]) 421 int_index = const_utils.check_range(index, dim_size) 422 tensor_index = F.scalar_to_tensor(int_index, mstype.int64) 502 int_index = const_utils.check_range(index, dim_size) 503 tensor_index = F.scalar_to_tensor(int_index, mstype.int64)
|