Home
last modified time | relevance | path

Searched refs:v_ (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/boost/boost/polygon/
Dgmp_override.hpp15 inline gmp_int(const mpq_class& input) : v_(input) {} in gmp_int()
18 explicit inline gmp_int(long input) : v_(input) {} in gmp_int()
19 inline gmp_int(const gmp_int& input) : v_(input.v_) {} in gmp_int()
21 v_ = that.v_; in operator =()
25 v_ = that; in operator =()
30 mpz_class num = v_.get_num(); in operator int()
31 mpz_class den = v_.get_den(); in operator int()
36 return v_.get_d(); in get_d()
39 return v_.get_num().get_si(); in get_num()
42 return v_.get_den().get_si(); in get_den()
[all …]
/third_party/mindspore/mindspore/core/ir/
Dscalar.h55 …explicit BoolImm(bool b) : Scalar(kBool), v_(b) { hash_ = hash_combine({tid(), std::hash<bool>{}(v… in BoolImm()
59 bool value() const { return v_; } in value()
60 bool IsZero() override { return v_ == false; } in IsZero()
61 bool IsOne() override { return v_ == true; } in IsOne()
65 if (v_) { in ToString()
74 oss << "Bool(" << v_ << ")"; in DumpText()
79 bool v_;
94 Int8Imm() : IntergerImm(kInt8), v_(0) {} in Int8Imm()
95 …xplicit Int8Imm(int8_t v) : IntergerImm(kInt8), v_(v) { hash_ = hash_combine({tid(), std::hash<int… in Int8Imm()
99 bool IsZero() override { return v_ == 0; } in IsZero()
[all …]
Dvalue.cc51 bool BoolImm::operator==(const BoolImm &other) const { return v_ == other.v_; } in operator ==()
61 bool Int8Imm::operator==(const Int8Imm &other) const { return v_ == other.v_; } in operator ==()
70 bool Int16Imm::operator==(const Int16Imm &other) const { return v_ == other.v_; } in operator ==()
79 bool Int32Imm::operator==(const Int32Imm &other) const { return v_ == other.v_; } in operator ==()
88 bool Int64Imm::operator==(const Int64Imm &other) const { return v_ == other.v_; } in operator ==()
97 bool UInt8Imm::operator==(const UInt8Imm &other) const { return v_ == other.v_; } in operator ==()
106 bool UInt16Imm::operator==(const UInt16Imm &other) const { return v_ == other.v_; } in operator ==()
115 bool UInt32Imm::operator==(const UInt32Imm &other) const { return v_ == other.v_; } in operator ==()
124 bool UInt64Imm::operator==(const UInt64Imm &other) const { return v_ == other.v_; } in operator ==()
134 if (std::isinf(v_) && std::isinf(other.v_)) { in operator ==()
[all …]
/third_party/boost/boost/beast/http/impl/
Dserializer.hpp51 pv_.template emplace<I>(limit_, v_.template get<I>()); in do_visit()
101 v_.template emplace<2>( in next()
114 v_.template emplace<1>(fwr_->get()); in next()
133 v_.template emplace<3>(result->first); in next()
165 v_.template emplace<7>( in next()
178 v_.template emplace<4>( in next()
195 v_.template emplace<1>(fwr_->get()); in next()
218 v_.template emplace<6>( in next()
230 v_.template emplace<5>( in next()
261 v_.template emplace<8>( in next()
[all …]
/third_party/boost/libs/beast/include/boost/beast/http/impl/
Dserializer.hpp51 pv_.template emplace<I>(limit_, v_.template get<I>()); in do_visit()
101 v_.template emplace<2>( in next()
114 v_.template emplace<1>(fwr_->get()); in next()
133 v_.template emplace<3>(result->first); in next()
165 v_.template emplace<7>( in next()
178 v_.template emplace<4>( in next()
195 v_.template emplace<1>(fwr_->get()); in next()
218 v_.template emplace<6>( in next()
230 v_.template emplace<5>( in next()
261 v_.template emplace<8>( in next()
[all …]
/third_party/boost/boost/core/
Dscoped_enum.hpp120 … explicit BOOST_CONSTEXPR EnumType(underlying_type v) BOOST_NOEXCEPT : v_(v) {} \
121 … BOOST_CONSTEXPR underlying_type get_underlying_value_() const BOOST_NOEXCEPT { return v_; } \
124 underlying_type v_; \
130 … BOOST_CONSTEXPR enum_type get_native_value_() const BOOST_NOEXCEPT { return enum_type(v_); } \
131 … ==(self_type lhs, self_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)==enum_type(rhs.v_); } \
132 … bool operator ==(self_type lhs, enum_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)==rhs; } \
133 … bool operator ==(enum_type lhs, self_type rhs) BOOST_NOEXCEPT { return lhs==enum_type(rhs.v_); } \
134 … !=(self_type lhs, self_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)!=enum_type(rhs.v_); } \
135 … bool operator !=(self_type lhs, enum_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)!=rhs; } \
136 … bool operator !=(enum_type lhs, self_type rhs) BOOST_NOEXCEPT { return lhs!=enum_type(rhs.v_); } \
[all …]
/third_party/boost/libs/variant2/test/
Dvariant_many_types.cpp19 int v_; member
27 int v_; member
32 explicit Y( int v ): v_( v ) {} in Y()
38 v_ = r.v_; in operator =()
48 int v_; member
69 BOOST_TEST_EQ( get<i>( v ).v_, t.v_ ); in operator ()()
70 BOOST_TEST_EQ( get<T>( v ).v_, t.v_ ); in operator ()()
77 BOOST_TEST_EQ( get<i>( v ).v_, t.v_ ); in operator ()()
78 BOOST_TEST_EQ( get<T>( v ).v_, t.v_ ); in operator ()()
87 BOOST_TEST_EQ( get<i>( v ).v_, t.v_ ); in operator ()()
[all …]
/third_party/boost/boost/contract/detail/condition/
Dcond_subcontracting.hpp167 v_ = v; // Invariant: v_ never null if base_call_.
168 BOOST_CONTRACT_DETAIL_DEBUG(v_);
172 v_ = new boost::contract::virtual_(
175 v_->result_ptr_ = &r_;
176 v_->result_type_name_ = typeid(VR).name();
177 v_->result_optional_ = is_optional<VR>::value;
179 } else v_ = 0;
186 if(!base_call_) delete v_;
247 if(v_) return v_->failed_;
252 if(v_) v_->failed_ = value;
[all …]
/third_party/iowow/src/utils/
Diwutils.h45 #define IW_ROUNDUP(x_, v_) (((x_) + (v_) - 1) & ~((v_) - 1)) argument
48 #define IW_ROUNDOWN(x_, v_) ((x_) - ((x_) & ((v_) - 1))) argument
104 #define IW_WRITEBV(ptr_, v_, m_) \ argument
105 static_assert(sizeof(v_) == 1, "Mismatch v_ size"); \
106 (v_) = (m_); \
107 memcpy(ptr_, &(v_), 1); \
110 #define IW_WRITESV(ptr_, v_, m_) \ argument
111 static_assert(sizeof(v_) == 2, "Mismatch v_ size"); \
112 (v_) = (m_); \
113 (v_) = IW_HTOIS(v_); \
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dint128_have_intrinsic.inc38 v_ = v;
43 return static_cast<uint64_t>(v.v_ & ~uint64_t{0});
49 static_cast<uint64_t>(static_cast<unsigned __int128>(v.v_) >> 64));
54 : v_(int128_internal::BitCastToSigned(static_cast<unsigned __int128>(high)
59 constexpr int128::int128(int v) : v_{v} {}
61 constexpr int128::int128(long v) : v_{v} {} // NOLINT(runtime/int)
63 constexpr int128::int128(long long v) : v_{v} {} // NOLINT(runtime/int)
65 constexpr int128::int128(__int128 v) : v_{v} {}
67 constexpr int128::int128(unsigned int v) : v_{v} {}
69 constexpr int128::int128(unsigned long v) : v_{v} {} // NOLINT(runtime/int)
[all …]
/third_party/abseil-cpp/absl/numeric/
Dint128_have_intrinsic.inc38 v_ = v;
43 return static_cast<uint64_t>(v.v_ & ~uint64_t{0});
49 static_cast<uint64_t>(static_cast<unsigned __int128>(v.v_) >> 64));
54 : v_(int128_internal::BitCastToSigned(static_cast<unsigned __int128>(high)
59 constexpr int128::int128(int v) : v_{v} {}
61 constexpr int128::int128(long v) : v_{v} {} // NOLINT(runtime/int)
63 constexpr int128::int128(long long v) : v_{v} {} // NOLINT(runtime/int)
65 constexpr int128::int128(__int128 v) : v_{v} {}
67 constexpr int128::int128(unsigned int v) : v_{v} {}
69 constexpr int128::int128(unsigned long v) : v_{v} {} // NOLINT(runtime/int)
[all …]
/third_party/boost/boost/beast/zlib/detail/
Dbitstream.hpp53 value_type v_ = 0; member in boost::beast::zlib::detail::bitstream
70 v_ >>= n; in drop()
78 v_ = 0; in flush()
112 return v_; in peek_fast()
135 v_ += static_cast<value_type>(*first++) << n_; in fill()
146 v_ += static_cast<value_type>(*it++) << n_; in fill_8()
155 v_ += static_cast<value_type>(*it++) << n_; in fill_16()
157 v_ += static_cast<value_type>(*it++) << n_; in fill_16()
169 v_ & ((1ULL << n) - 1)); in peek()
177 BOOST_ASSERT(n < sizeof(v_)*8); in read()
[all …]
/third_party/boost/libs/beast/include/boost/beast/zlib/detail/
Dbitstream.hpp53 value_type v_ = 0; member in boost::beast::zlib::detail::bitstream
70 v_ >>= n; in drop()
78 v_ = 0; in flush()
112 return v_; in peek_fast()
135 v_ += static_cast<value_type>(*first++) << n_; in fill()
146 v_ += static_cast<value_type>(*it++) << n_; in fill_8()
155 v_ += static_cast<value_type>(*it++) << n_; in fill_16()
157 v_ += static_cast<value_type>(*it++) << n_; in fill_16()
169 v_ & ((1ULL << n) - 1)); in peek()
177 BOOST_ASSERT(n < sizeof(v_)*8); in read()
[all …]
/third_party/flatbuffers/tests/
Dmonster_test_generated.lobster558 def MonsterCreateInventoryVector(b_:flatbuffers_builder, v_:[int]):
559 b_.StartVector(1, v_.length, 1)
560 reverse(v_) e_: b_.PrependUint8(e_)
561 return b_.EndVector(v_.length)
568 def MonsterCreateTestarrayofstringVector(b_:flatbuffers_builder, v_:[flatbuffers_offset]):
569 b_.StartVector(4, v_.length, 4)
570 reverse(v_) e_: b_.PrependUOffsetTRelative(e_)
571 return b_.EndVector(v_.length)
575 def MonsterCreateTestarrayoftablesVector(b_:flatbuffers_builder, v_:[flatbuffers_offset]):
576 b_.StartVector(4, v_.length, 4)
[all …]
/third_party/boost/boost/exception/detail/
Derror_info_impl.hpp62 v_(v) in error_info()
68 v_(x.v_) in error_info()
72 v_(std::move(v)) in BOOST_NOEXCEPT_IF()
76 v_(std::move(x.v_)) in BOOST_NOEXCEPT_IF()
87 return v_; in value()
92 return v_; in value()
100 value_type v_; member in boost::error_info
/third_party/boost/libs/smart_ptr/extras/test/
Dsp_atomic_mt_test.cpp34 int v_; // version member
39 X(): v_( 0 ), a_( 1 ), b_( 1 ) in X()
55 ++v_; in set()
82 BOOST_TEST( ps->v_ >= i ); in reader()
83 i = ps->v_; in reader()
91 BOOST_TEST( ps->v_ >= i ); in reader()
92 i = ps->v_; in reader()
100 BOOST_TEST( p2->v_ >= i ); in reader()
101 i = p2->v_; in reader()
120 BOOST_TEST( ps->v_ == i ); in writer()
[all …]
/third_party/mindspore/tests/ut/cpp/dataset/
Dqueue_test.cc42 RefCount() : v_(nullptr) {} in RefCount()
43 explicit RefCount(int x) : v_(std::make_shared<int>(x)) {} in RefCount()
44 RefCount(const RefCount &o) : v_(o.v_) {} in RefCount()
50 v_ = o.v_; in operator =()
53 RefCount(RefCount &&o) : v_(std::move(o.v_)) {} in RefCount()
56 v_ = std::move(o.v_); in operator =()
61 std::shared_ptr<int> v_; member in RefCount
146 ASSERT_EQ(b.v_.use_count(), 2); in test4()
147 ASSERT_EQ(*(b.v_.get()), 3); in test4()
/third_party/boost/boost/contract/
Dold.hpp601 : v_(v), untyped_copy_(old.untyped_copy_) {} in old_pointer()
614 } else if(!v_ && boost::contract::detail::checking::already()) { in get()
617 } else if(!v_) { in get()
625 v_->action_ == boost::contract::virtual_::push_old_init_copy || in get()
626 v_->action_ == boost::contract::virtual_::push_old_ftor_copy in get()
629 std::queue<boost::shared_ptr<void> >& copies = v_->action_ == in get()
631 v_->old_ftor_copies_ in get()
633 v_->old_init_copies_ in get()
638 boost::contract::virtual_::pop_old_init_copy(v_->action_) || in get()
639 v_->action_ == boost::contract::virtual_::pop_old_ftor_copy in get()
[all …]
/third_party/boost/libs/integer/test/
Dcommon_factor_test.cpp59 IntType v_; member in __anoncc5f59340111::my_wrapped_integer
68 my_wrapped_integer( int_type const &v = int_type() ) : v_( v ) {} in my_wrapped_integer()
71 int_type value() const { return this->v_; } in value()
74 operator bool_type() const { return this->v_ ? &self_type::v_ : 0; } in operator bool_type()
76 self_type & operator ++() { ++this->v_; return *this; } in operator ++()
77 self_type & operator --() { --this->v_; return *this; } in operator --()
79 self_type operator ~() const { return self_type( ~this->v_ ); } in operator ~()
80 self_type operator !() const { return self_type( !this->v_ ); } in operator !()
81 self_type operator +() const { return self_type( +this->v_ ); } in operator +()
82 self_type operator -() const { return self_type( -this->v_ ); } in operator -()
[all …]
/third_party/boost/libs/smart_ptr/test/
Dshared_ptr_alias_move_test.cpp24 int v_; member
26 explicit X( int v ): v_( v ) in X()
33 v_ = 0; in ~X()
166 boost::shared_ptr< int const > p2( std::move( q ), &q->v_ ); in main()
168 BOOST_TEST( p2.get() == &p->v_ ); in main()
181 p2.reset( std::move( q3 ), &q3->v_ ); in main()
183 BOOST_TEST( p2.get() == &p3->v_ ); in main()
200 BOOST_TEST( p->v_ == 5 ); in main()
206 BOOST_TEST( p2->v_ == 5 ); in main()
208 boost::shared_ptr< int const > p3( std::move( p2 ), &p2->v_ ); in main()
[all …]
/third_party/boost/libs/utility/test/
Doperators_constexpr_test.cpp21 : v_(v) { } in Value()
25 return v_ < x.v_; in operator <()
30 return v_ == x.v_; in operator ==()
34 int v_; member in __anonb57bb7770111::Value
/third_party/boost/boost/beast/websocket/detail/
Dservice.ipp26 index_ = svc_.v_.size();
27 svc_.v_.push_back(this);
36 auto& other = *svc_.v_.back();
38 svc_.v_[index_] = &other;
39 svc_.v_.pop_back();
51 v.reserve(v_.size());
52 for(auto p : v_)
/third_party/boost/libs/beast/include/boost/beast/websocket/detail/
Dservice.ipp26 index_ = svc_.v_.size();
27 svc_.v_.push_back(this);
36 auto& other = *svc_.v_.back();
38 svc_.v_[index_] = &other;
39 svc_.v_.pop_back();
51 v.reserve(v_.size());
52 for(auto p : v_)
/third_party/boost/tools/boost_install/test/atomic/
Dquick.cpp15 int v_; member
18 X(): u_( 0 ), v_( 0 ), w_( 0 ) in X()
22 X( int u, int v, int w ): u_( u ), v_( v ), w_( w ) in X()
35 BOOST_TEST_EQ( x1.v_, 2 ); in main()
41 BOOST_TEST_EQ( x2.v_, 5 ); in main()
/third_party/abseil-cpp/absl/random/
Dzipf_distribution.h69 double v() const { return v_; } in v()
72 return a.k_ == b.k_ && a.q_ == b.q_ && a.v_ == b.v_;
89 double v_; variable
151 : k_(k), q_(q), v_(v), one_minus_q_(1 - q) { in param_type()
174 const double elogv_q = (v_ == 1.0) ? 1 : pow_negative_q(v_); in param_type()
186 x += v_; in h()
195 return -v_ + ((one_minus_q_ == -1.0) in hinv()
203 return 1.0 - hinv(h(1.5) - pow_negative_q(v_ + 1.0)); in compute_s()
227 const double r = p.pow_negative_q(p.v_ + k); in operator()

123456