/third_party/boost/libs/contract/example/features/ |
D | if_constexpr.cpp | 38 explicit i(int n) : n_(n) {} in i() 43 i(i const&& o) : n_(o.n_) {} in i() 44 i& operator=(i const&& o) { n_ = o.n_; return *this; } in operator =() 47 return l.n_ == r.n_; in operator ==() 51 int n_; member 55 explicit j(int n) : n_(n) {} in j() 57 j(j const& o) : n_(o.n_) {} // Copyable. in j() 58 j& operator=(j const& o) { n_ = o.n_; return *this; } in operator =() 60 j(j const&& o) : n_(o.n_) {} in j() 61 j& operator=(j const&& o) { n_ = o.n_; return *this; } in operator =() [all …]
|
D | private_protected.cpp | 24 n_ = n; in set() 43 int n_; member in counter 54 BOOST_CONTRACT_ASSERT(result == n_); in get() 58 return result = n_; in get() 61 counter() : n_(0) {} // Should contract constructor and destructor too. in counter()
|
/third_party/boost/boost/mpl/vector/aux_/ |
D | iterator.hpp | 34 , BOOST_MPL_AUX_NTTP_DECL(long, n_) 40 typedef typename v_at<Vector,n_>::type type; 43 typedef mpl::long_<n_> pos; 47 next_ = n_ + 1 48 , prior_ = n_ - 1 49 , pos_ = n_ 63 , BOOST_MPL_AUX_NTTP_DECL(long, n_) 65 struct next< v_iter<Vector,n_> > 67 typedef v_iter<Vector,(n_ + 1)> type; 72 , BOOST_MPL_AUX_NTTP_DECL(long, n_) [all …]
|
D | at.hpp | 31 template< typename Vector, long n_ > 34 typedef long_< (Vector::lower_bound_::value + n_) > index_; 39 template< typename Vector, long n_ > 41 : aux::wrapped_type< typename v_at_impl<Vector,n_>::type > 62 template< typename Vector, BOOST_MPL_AUX_NTTP_DECL(long, n_) > struct v_at; 64 template< BOOST_MPL_AUX_NTTP_DECL(long, n_) > 65 struct at_impl< aux::vector_tag<n_> > 88 template< BOOST_MPL_AUX_NTTP_DECL(long, n_) > struct v_at_impl 104 template< typename T, BOOST_MPL_AUX_NTTP_DECL(long, n_) > 106 : aux::v_at_impl<n_>::template result_<T>
|
/third_party/boost/boost/mpl/ |
D | inherit.hpp | 174 #define n_ BOOST_PP_FRAME_ITERATION(1) macro 177 BOOST_MPL_PP_DEFAULT_PARAMS(n_, typename T, na) 179 struct BOOST_PP_CAT(inherit,n_) in BOOST_PP_CAT() argument 181 typename BOOST_PP_CAT(inherit,BOOST_PP_DEC(n_))< in BOOST_PP_CAT() 182 BOOST_MPL_PP_PARAMS(BOOST_PP_DEC(n_), T) in BOOST_PP_CAT() 184 , BOOST_PP_CAT(T,n_) in BOOST_PP_CAT() 188 n_ in BOOST_PP_CAT() 189 , BOOST_PP_CAT(inherit,n_) in BOOST_PP_CAT() 190 , (BOOST_MPL_PP_PARAMS(n_, T)) in BOOST_PP_CAT() 194 BOOST_MPL_AUX_NA_SPEC(n_, BOOST_PP_CAT(inherit,n_)) [all …]
|
/third_party/boost/boost/beast/zlib/detail/ |
D | bitstream.hpp | 54 unsigned n_ = 0; member in boost::beast::zlib::detail::bitstream 61 return n_; in size() 68 BOOST_ASSERT(n <= n_); in drop() 69 n_ -= static_cast<unsigned>(n); in drop() 77 n_ = 0; in flush() 85 drop(n_ % 8); in flush_byte() 131 while(n_ < n) in fill() 135 v_ += static_cast<value_type>(*first++) << n_; in fill() 136 n_ += 8; in fill() 146 v_ += static_cast<value_type>(*it++) << n_; in fill_8() [all …]
|
/third_party/boost/libs/beast/include/boost/beast/zlib/detail/ |
D | bitstream.hpp | 54 unsigned n_ = 0; member in boost::beast::zlib::detail::bitstream 61 return n_; in size() 68 BOOST_ASSERT(n <= n_); in drop() 69 n_ -= static_cast<unsigned>(n); in drop() 77 n_ = 0; in flush() 85 drop(n_ % 8); in flush_byte() 131 while(n_ < n) in fill() 135 v_ += static_cast<value_type>(*first++) << n_; in fill() 136 n_ += 8; in fill() 146 v_ += static_cast<value_type>(*it++) << n_; in fill_8() [all …]
|
/third_party/boost/boost/mpl/aux_/ |
D | reverse_fold_impl_body.hpp | 31 # define AUX778076_ITER_FOLD_FORWARD_STEP(unused, n_, unused2) \ argument 34 , BOOST_PP_CAT(fwd_state,n_) \ 35 , AUX778076_FOLD_IMPL_OP(BOOST_PP_CAT(iter,n_)) \ 36 >::type BOOST_PP_CAT(fwd_state,BOOST_PP_INC(n_)); \ 37 typedef typename mpl::next<BOOST_PP_CAT(iter,n_)>::type \ 38 BOOST_PP_CAT(iter,BOOST_PP_INC(n_)); \ 41 # define AUX778076_ITER_FOLD_BACKWARD_STEP_FUNC(n_) \ argument 44 , BOOST_PP_CAT(bkwd_state,n_) \ 45 , AUX778076_FOLD_IMPL_OP(BOOST_PP_CAT(iter,BOOST_PP_DEC(n_))) \ 46 >::type BOOST_PP_CAT(bkwd_state,BOOST_PP_DEC(n_)); \ [all …]
|
D | fold_impl_body.hpp | 309 # define n_ BOOST_PP_FRAME_ITERATION(1) macro 319 struct AUX778076_FOLD_IMPL_NAME<n_,First,Last,State,ForwardOp> 324 BOOST_MPL_PP_REPEAT(n_, AUX778076_ITER_FOLD_STEP, unused) 326 typedef BOOST_PP_CAT(state,n_) state; 327 typedef BOOST_PP_CAT(iter,n_) iterator; 332 template<> struct AUX778076_FOLD_CHUNK_NAME<n_> 345 BOOST_MPL_PP_REPEAT(n_, AUX778076_ITER_FOLD_STEP, unused) 347 typedef BOOST_PP_CAT(state,n_) state; 348 typedef BOOST_PP_CAT(iter,n_) iterator; 363 # undef n_
|
/third_party/boost/boost/beast/_experimental/http/impl/ |
D | icy_stream.hpp | 64 std::size_t n_ = 0; member in boost::beast::http::icy_stream::ops::read_op 93 BOOST_ASSERT(s_.n_ == 0); in operator ()() 105 s_.buf_ + s_.n_, 3 - s_.n_), in operator ()() 108 s_.n_ += static_cast<char>(bytes_transferred); in operator ()() 112 net::const_buffer(s_.buf_, s_.n_)); in operator ()() 116 s_.n_ = static_cast<char>(net::buffer_copy( in operator ()() 123 if(s_.n_ > 0) in operator ()() 126 b_, net::const_buffer(s_.buf_, s_.n_)); in operator ()() 127 s_.n_ -= static_cast<char>(bytes_transferred); in operator ()() 149 n_ = bytes_transferred; in operator ()() [all …]
|
/third_party/boost/libs/beast/include/boost/beast/_experimental/http/impl/ |
D | icy_stream.hpp | 64 std::size_t n_ = 0; member in boost::beast::http::icy_stream::ops::read_op 93 BOOST_ASSERT(s_.n_ == 0); in operator ()() 105 s_.buf_ + s_.n_, 3 - s_.n_), in operator ()() 108 s_.n_ += static_cast<char>(bytes_transferred); in operator ()() 112 net::const_buffer(s_.buf_, s_.n_)); in operator ()() 116 s_.n_ = static_cast<char>(net::buffer_copy( in operator ()() 123 if(s_.n_ > 0) in operator ()() 126 b_, net::const_buffer(s_.buf_, s_.n_)); in operator ()() 127 s_.n_ -= static_cast<char>(bytes_transferred); in operator ()() 149 n_ = bytes_transferred; in operator ()() [all …]
|
/third_party/boost/libs/beast/include/boost/beast/core/impl/ |
D | static_string.hpp | 27 n_ = 0; in static_string() 71 n_ = count; in static_string() 72 Traits::copy(&s_[0], s, n_ + 1); in static_string() 134 n_ = count; in operator =() 135 Traits::copy(&s_[0], s, n_ + 1); in operator =() 148 n_ = count; in assign() 149 Traits::assign(&s_[0], n_, ch); in assign() 160 n_ = str.n_; in assign() 161 auto const n = n_ + 1; in assign() 188 n_ = count; in assign() [all …]
|
/third_party/boost/boost/beast/core/impl/ |
D | static_string.hpp | 27 n_ = 0; in static_string() 71 n_ = count; in static_string() 72 Traits::copy(&s_[0], s, n_ + 1); in static_string() 134 n_ = count; in operator =() 135 Traits::copy(&s_[0], s, n_ + 1); in operator =() 148 n_ = count; in assign() 149 Traits::assign(&s_[0], n_, ch); in assign() 160 n_ = str.n_; in assign() 161 auto const n = n_ + 1; in assign() 188 n_ = count; in assign() [all …]
|
/third_party/boost/libs/stl_interfaces/ |
D | README.md | 23 n_(0) 31 n_(n) 36 return first_[n_ % size_]; 41 return first_[(n_ + n) % size_]; 46 ++n_; 57 n_ += n; 63 --n_; 74 n_ -= n; 81 return lhs.first_ == rhs.first_ && lhs.n_ == rhs.n_; 91 return lhs.first_ == rhs.first_ && lhs.n_ < rhs.n_; [all …]
|
/third_party/boost/boost/multi_index/detail/ |
D | auto_space.hpp | 57 al_(al),n_(n),data_(n_?alloc_traits::allocate(al_,n_):pointer(0)) in auto_space() 60 ~auto_space(){if(n_)alloc_traits::deallocate(al_,data_,n_);} in ~auto_space() 77 std::swap(n_,x.n_); in swap() 83 std::swap(n_,x.n_); in swap() 89 size_type n_; member
|
/third_party/boost/libs/stl_interfaces/example/ |
D | repeated_chars_iterator.cpp | 23 n_(0) in repeated_chars_iterator() 29 n_(n) in repeated_chars_iterator() 32 constexpr char operator*() const noexcept { return first_[n_ % size_]; } in operator *() 35 n_ += i; in operator +=() 40 return n_ - other.n_; in operator -() 46 difference_type n_; member
|
/third_party/boost/libs/endian/test/ |
D | order_test.cpp | 23 std::size_t n_; member in byte_span 27 byte_span( unsigned char const * p, std::size_t n ): p_( p ), n_( n ) in byte_span() 31 template<std::size_t N> explicit byte_span( unsigned char const (&a)[ N ] ): p_( a ), n_( N ) in byte_span() 37 if( n_ != r.n_ ) return false; in operator ==() 39 for( std::size_t i = 0; i < n_; ++i ) in operator ==() 49 if( s.n_ == 0 ) return os; in operator <<() 55 for( std::size_t i = 1; i < s.n_; ++i ) in operator <<()
|
/third_party/boost/libs/variant/test/ |
D | class_a.cpp | 30 n_ = n; in class_a() 36 n_ = other.n_; in class_a() 51 std::swap(n_, other.n_); in swap() 56 return n_; in get()
|
D | test7.cpp | 50 int n_; member 102 jas::jas(int n) : n_(n) in jas() 110 jas::jas(const jas& other) : n_(other.n_) in jas() 136 std::swap(n_, other.n_); in swap() 148 return a.n_ == b.n_; in operator ==() 153 cout << "jas::n_ = " << a.n_; in operator <<()
|
/third_party/boost/libs/python/test/ |
D | keywords.cpp | 17 , n_(n) in Foo() 24 n_ = n; in set() 31 std::string getn() const { return n_; } in getn() 36 std::string n_; member 48 , n_(n) in Bar() 55 n_ = n; in set() 67 std::string getn() const { return n_; } in getn() 72 std::string n_; member
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/ |
D | nll_loss_gpu_kernel.h | 55 …NLLLoss(n_, c_, reduction_, input_device, target_device, weight_device, loss_device, total_weight_… in Launch() 72 n_ = static_cast<int>(input_shape[0]); in Init() 84 tmp_loss_size_ = sizeof(T) * n_; in Init() 88 tmp_loss_size_ = sizeof(T) * n_; in Init() 91 tmp_target_weight_size_ = n_ * sizeof(S); in Init() 99 n_ = 0; in ResetResource() 113 input_size_list_.push_back(n_ * sizeof(int32_t)); // target tensor with shape (N) in InitSizeLists() 117 output_size_list_.push_back(n_ * sizeof(T)); // loss output of shape (N,) in InitSizeLists() 131 int n_; variable
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/ |
D | matmul_gpu_kernel.h | 60 const int ldb = (transpose_x2_ == CUBLAS_OP_T) ? SizeToInt(k_) : SizeToInt(n_); in Launch() 61 const int ldc = n_; in Launch() 64 auto stride_b = SizeToInt(k_ * n_); in Launch() 65 auto stride_c = SizeToInt(m_ * n_); in Launch() 70 Fill(m_, n_, input3_addr, output_addr, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 78 …cublasGemmEx(handle_, transpose_x2_, transpose_x1_, SizeToInt(n_), SizeToInt(m_), SizeToInt(k_), &… in Launch() 85 …cublasGemmStridedBatchedEx(handle_, transpose_x2_, transpose_x1_, SizeToInt(n_), SizeToInt(m_), Si… in Launch() 125 n_ = output_shape[dims - 1]; in Init() 156 n_ = 0; in ResetResource() 179 input_size = batch_ * n_ * k_ * unit_size; in InitSizeLists() [all …]
|
/third_party/boost/boost/xpressive/ |
D | regex_token_iterator.hpp | 51 , n_((-2 == n) ? (int)subs.size() - 1 : n) in regex_token_iterator_impl() 60 if(-1 != this->n_) in next() 63 if(0 != (++this->n_ %= (int)this->subs_.size()) || this->iter_.next()) in next() 65 this->result_ = (-1 == this->subs_[ this->n_ ]) in next() 67 : this->iter_.what_[ this->subs_[ this->n_ ] ]; in next() 70 else if(-1 == this->subs_[ this->n_-- ] && cur != this->iter_.state_.end_) in next() 82 return this->iter_.equal_to(that.iter_) && this->n_ == that.n_; in equal_to() 87 int n_; member 333 , this->impl_->n_ in fork_() 340 … if(-1 != this->impl_->n_ && this->impl_->n_ + 1 != static_cast<int>(this->impl_->subs_.size())) in fork_()
|
/third_party/flatbuffers/tests/ |
D | monster_test_generated.lobster | 556 def MonsterStartInventoryVector(b_:flatbuffers_builder, n_:int): 557 b_.StartVector(1, n_, 1) 563 def MonsterStartTest4Vector(b_:flatbuffers_builder, n_:int): 564 b_.StartVector(4, n_, 2) 566 def MonsterStartTestarrayofstringVector(b_:flatbuffers_builder, n_:int): 567 b_.StartVector(4, n_, 4) 573 def MonsterStartTestarrayoftablesVector(b_:flatbuffers_builder, n_:int): 574 b_.StartVector(4, n_, 4) 580 def MonsterStartTestnestedflatbufferVector(b_:flatbuffers_builder, n_:int): 581 b_.StartVector(1, n_, 1) [all …]
|
/third_party/abseil-cpp/absl/meta/ |
D | type_traits_test.cc | 176 int n_; member in __anon23cf6c230111::Trivial 194 explicit TrivialDefaultCtor(int n) : n_(n) {} in TrivialDefaultCtor() 197 int n_; member in __anon23cf6c230111::TrivialDefaultCtor 202 NontrivialDefaultCtor() : n_(1) {} in NontrivialDefaultCtor() 205 int n_; member in __anon23cf6c230111::NontrivialDefaultCtor 211 explicit DeletedDefaultCtor(int n) : n_(n) {} in DeletedDefaultCtor() 214 int n_; member in __anon23cf6c230111::DeletedDefaultCtor 219 explicit TrivialMoveCtor(int n) : n_(n) {} in TrivialMoveCtor() 222 n_ = t.n_; in operator =() 227 int n_; member in __anon23cf6c230111::TrivialMoveCtor [all …]
|