Home
last modified time | relevance | path

Searched refs:bit_vec (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/lite/src/
Dweight_decoder.cc43 auto bit_vec = StringToBitVector(str); in IndexingDecompress() local
48 bool bit = bit_vec[index++]; in IndexingDecompress()
59 bool bit = bit_vec[index++]; in IndexingDecompress()
72 bool bit = bit_vec[index++]; in IndexingDecompress()
108 auto bit_vec = StringToBitVector(str); in SparseDecompress() local
113 bool bit = bit_vec[index++]; in SparseDecompress()
119 bool bit = bit_vec[index++]; in SparseDecompress()
125 bool bit = bit_vec[index++]; in SparseDecompress()
136 bool bit = bit_vec[index++]; in SparseDecompress()
149 bool bit = bit_vec[index++]; in SparseDecompress()
[all …]
/third_party/boost/libs/dynamic_bitset/test/
Ddyn_bitset_unit_tests1.cpp501 std::vector<bool> bit_vec(1, true); in run_test_cases() local
502 Tests::operator_bracket(b, bit_vec); in run_test_cases()
507 std::vector<bool> bit_vec(n); in run_test_cases() local
509 bit_vec[i] = long_string[n - 1 - i] == '0' ? 0 : 1; in run_test_cases()
510 Tests::operator_bracket(b, bit_vec); in run_test_cases()
Dbitset_test.hpp444 static void operator_bracket(const Bitset& lhs, const std::vector<bool>& bit_vec) in operator_bracket()
453 BOOST_TEST(x == bit_vec[i]); in operator_bracket()
455 BOOST_TEST(x == !bit_vec[i]); in operator_bracket()