Home
last modified time | relevance | path

Searched refs:in_ (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/libs/beast/include/boost/beast/_experimental/test/impl/
Dstream.ipp28 boost::shared_ptr<detail::stream_state> const& in_,
32 std::unique_lock<std::mutex> lock(in_->m);
34 ++in_->nread;
35 if(in_->op != nullptr)
37 std::logic_error{"in_->op != nullptr"});
41 if(in_->fc && in_->fc->fail(ec))
49 if(buf_size == 0 || buffer_bytes(in_->b.data()) > 0)
57 if(in_->code != detail::stream_status::ok)
65 in_->op = std::move(op);
75 in_->remove();
[all …]
Dstream.hpp199 boost::shared_ptr<detail::stream_state> in_, in operator ()()
212 ++in_->nwrite; in operator ()()
216 in_->exec, in operator ()()
223 if(in_->fc && in_->fc->fail(ec)) in operator ()()
237 buffer_bytes(buffers), in_->write_max); in operator ()()
279 ++in_->nread; in read_some()
282 if(in_->fc && in_->fc->fail(ec)) in read_some()
292 std::unique_lock<std::mutex> lock{in_->m}; in read_some()
293 BOOST_ASSERT(! in_->op); in read_some()
294 in_->cv.wait(lock, in read_some()
[all …]
/third_party/boost/boost/beast/_experimental/test/impl/
Dstream.ipp28 boost::shared_ptr<detail::stream_state> const& in_,
32 std::unique_lock<std::mutex> lock(in_->m);
34 ++in_->nread;
35 if(in_->op != nullptr)
37 std::logic_error{"in_->op != nullptr"});
41 if(in_->fc && in_->fc->fail(ec))
49 if(buf_size == 0 || buffer_bytes(in_->b.data()) > 0)
57 if(in_->code != detail::stream_status::ok)
65 in_->op = std::move(op);
75 in_->remove();
[all …]
Dstream.hpp199 boost::shared_ptr<detail::stream_state> in_, in operator ()()
212 ++in_->nwrite; in operator ()()
216 in_->exec, in operator ()()
223 if(in_->fc && in_->fc->fail(ec)) in operator ()()
237 buffer_bytes(buffers), in_->write_max); in operator ()()
279 ++in_->nread; in read_some()
282 if(in_->fc && in_->fc->fail(ec)) in read_some()
292 std::unique_lock<std::mutex> lock{in_->m}; in read_some()
293 BOOST_ASSERT(! in_->op); in read_some()
294 in_->cv.wait(lock, in read_some()
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dflat_buffer.hpp43 , in_(nullptr) in basic_flat_buffer()
57 , in_(nullptr) in basic_flat_buffer()
71 , in_(nullptr)
88 , in_(nullptr)
102 , in_(boost::exchange(other.in_, nullptr))
121 in_ = nullptr;
131 in_ = other.in_;
140 other.in_ = nullptr;
153 , in_(nullptr)
170 , in_(nullptr)
[all …]
Dflat_static_buffer.ipp26 begin_ in_ out_ last_ end_
35 in_ = begin_;
55 std::memmove(begin_, in_, len);
56 in_ = begin_;
57 out_ = in_ + len;
68 in_ = begin_;
69 out_ = in_;
72 in_ += n;
80 in_ = begin_;
/third_party/boost/boost/beast/core/impl/
Dflat_buffer.hpp43 , in_(nullptr) in basic_flat_buffer()
57 , in_(nullptr) in basic_flat_buffer()
71 , in_(nullptr)
88 , in_(nullptr)
102 , in_(boost::exchange(other.in_, nullptr))
121 in_ = nullptr;
131 in_ = other.in_;
140 other.in_ = nullptr;
153 , in_(nullptr)
170 , in_(nullptr)
[all …]
Dflat_static_buffer.ipp26 begin_ in_ out_ last_ end_
35 in_ = begin_;
55 std::memmove(begin_, in_, len);
56 in_ = begin_;
57 out_ = in_ + len;
68 in_ = begin_;
69 out_ = in_;
72 in_ += n;
80 in_ = begin_;
/third_party/mindspore/mindspore/ops/composite/multitype_ops/
Din_impl.py23 in_ = base.MultitypeFuncGraph("in", True) variable
30 @in_.register("Number", "Tuple")
45 @in_.register("Number", "List")
60 @in_.register("String", "Tuple")
75 @in_.register("String", "List")
90 @in_.register("String", "Dictionary")
105 @in_.register("Tensor", "List")
120 @in_.register("Tensor", "Tuple")
135 @in_.register("mstype", "List")
150 @in_.register("mstype", "Tuple")
/third_party/boost/boost/beast/_experimental/test/
Dstream.hpp148 boost::shared_ptr<detail::stream_state> in_; member in boost::beast::test::basic_stream
214 : in_(std::move(other.in_)) in basic_stream()
217 assert(in_->exec.target_type() == typeid(Executor2)); in basic_stream()
218 in_->exec = executor_type(*in_->exec.template target<Executor2>()); in basic_stream()
321 in_->read_max = n; in read_size()
328 in_->write_max = n; in write_size()
335 return in_->b; in buffer()
354 return in_->nread; in nread()
361 return in_->nread_bytes; in nread_bytes()
368 return in_->nwrite; in nwrite()
[all …]
/third_party/boost/libs/beast/include/boost/beast/_experimental/test/
Dstream.hpp148 boost::shared_ptr<detail::stream_state> in_; member in boost::beast::test::basic_stream
214 : in_(std::move(other.in_)) in basic_stream()
217 assert(in_->exec.target_type() == typeid(Executor2)); in basic_stream()
218 in_->exec = executor_type(*in_->exec.template target<Executor2>()); in basic_stream()
321 in_->read_max = n; in read_size()
328 in_->write_max = n; in write_size()
335 return in_->b; in buffer()
354 return in_->nread; in nread()
361 return in_->nread_bytes; in nread_bytes()
368 return in_->nwrite; in nwrite()
[all …]
/third_party/boost/boost/beast/core/
Dflat_static_buffer.hpp54 char* in_; member in boost::beast::flat_static_buffer_base
107 return out_ - in_; in size()
128 return {in_, dist(in_, out_)}; in data()
142 return {in_, dist(in_, out_)}; in data()
Dflat_buffer.hpp92 char* in_; member in boost::beast::basic_flat_buffer
406 return dist(in_, out_); in size()
427 return {in_, dist(in_, out_)}; in data()
441 return {in_, dist(in_, out_)}; in data()
/third_party/boost/libs/beast/include/boost/beast/core/
Dflat_static_buffer.hpp54 char* in_; member in boost::beast::flat_static_buffer_base
107 return out_ - in_; in size()
128 return {in_, dist(in_, out_)}; in data()
142 return {in_, dist(in_, out_)}; in data()
Dflat_buffer.hpp92 char* in_; member in boost::beast::basic_flat_buffer
406 return dist(in_, out_); in size()
427 return {in_, dist(in_, out_)}; in data()
441 return {in_, dist(in_, out_)}; in data()
/third_party/boost/libs/iostreams/src/
Dzstd.cpp59 …: cstream_(ZSTD_createCStream()), dstream_(ZSTD_createDStream()), in_(new ZSTD_inBuffer), out_(new… in zstd_base()
66 delete static_cast<ZSTD_inBuffer*>(in_); in ~zstd_base()
73 ZSTD_inBuffer *in = static_cast<ZSTD_inBuffer *>(in_); in before()
85 ZSTD_inBuffer *in = static_cast<ZSTD_inBuffer *>(in_); in after()
94 ZSTD_inBuffer *in = static_cast<ZSTD_inBuffer *>(in_); in deflate()
114 ZSTD_inBuffer *in = static_cast<ZSTD_inBuffer *>(in_); in inflate()
126 ZSTD_inBuffer *in = static_cast<ZSTD_inBuffer *>(in_); in reset()
147 ZSTD_inBuffer *in = static_cast<ZSTD_inBuffer *>(in_); in do_init()
/third_party/boost/boost/thread/concurrent_queues/
Dsync_bounded_queue.hpp97 size_type in_; member in boost::concurrent::sync_bounded_queue
109 return in_ == out_; in empty()
113 return in_ == out_; in empty()
117 return (inc(in_) == out_); in full()
121 return (inc(in_) == out_); in full()
130 return ((in_+capacity(lk)-out_) % capacity(lk)); in size()
213 in_ = in; in set_in()
219 data_[in_] = elem; in push_at()
225 data_[in_] = boost::move(elem); in push_at()
232 …waiting_full_(0), waiting_empty_(0), data_(new value_type[max_elems + 1]), in_(0), out_(0), capaci… in sync_bounded_queue()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Ddepthtospace_gpu_kernel.h50 CalDepthToSpace(size, input, in_, ic_, ih_, iw_, on_, oc_, oh_, ow_, block_size_, output, in Launch()
94 in_ = input_shape[0]; in Init()
99 on_ = in_; in Init()
114 in_ = 0; in ResetResource()
144 size_t in_; variable
Dspacetodepth_gpu_kernel.h51 CalSpaceToDepth(size, input, in_, ic_, ih_, iw_, on_, oc_, oh_, ow_, block_size_, output, in Launch()
95 in_ = input_shape[0]; in Init()
100 on_ = in_; in Init()
115 in_ = 0; in ResetResource()
145 size_t in_; variable
Dspacetobatch_gpu_kernel.h47 …CalSpaceToBatch<T>(size, input, in_, ih_, iw_, ic_, on_, oh_, ow_, oc_, paddings_[0][0], paddings_… in Launch()
61 in_ = input_shape_[0]; in Init()
66 on_ = in_ * block_size_ * block_size_; in Init()
75 in_ = 0; in ResetResource()
159 size_t in_; variable
Dbatchtospace_gpu_kernel.h46 …CalBatchToSpace<T>(size, input, in_, ih_, iw_, ic_, on_, oh_, ow_, oc_, crops_[0][0], crops_[0][1]… in Launch()
60 in_ = input_shape_[0]; in Init()
65 on_ = in_ / (block_size_ * block_size_); in Init()
74 in_ = 0; in ResetResource()
167 size_t in_; variable
/third_party/boost/libs/thread/doc/
Dinternal_locking.qbk306 bool full() { return in_==out_; }
307 bool empty() { return in_==(out_%size)+1; }
310 data_[in_]=v;
311 in_ = (in_% size)+1;
333 unsigned in_, out_;
336 sync_buffer():in_(0), out_(0) {}
338 bool full() { return out_==(in_+1)%(size+1); }
339 bool empty() { return out_==in_; }
341 unsigned get_in() {return in_;}
348 data_[in_]=v;
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dpad_fp32.cc54 auto ret = ExtendShape(in_, DEFAULT_PAD_NDIMS, input->shape().data(), rank); in ReSize()
95 input_separate_dims.emplace_back(in_[i]); in InitMirrorPadBlock()
226 …Pad(input_data, output_data, in_, out_, pad_param_->paddings_, task_id, op_parameter_->thread_num_… in RunImpl()
251 …Pad(input_data, output_data, in_, out_, pad_param_->paddings_, task_id, op_parameter_->thread_num_… in RunMirrorPadImpl()
267 … MirrorPad(input_data, output_data, in_, pad_param_, output_index, output_index + block.size_[5]); in RunMirrorPadImpl()
282 MirrorPad(input_data, output_data, in_, pad_param_, begin, end); in RunMirrorPadImpl()
328 auto ret = ExtendShape(in_, DEFAULT_PAD_NDIMS, input_shape.data(), rank); in CopyPaddingFromInput()
343 pad_param_->in_strides[i] = in_[i + 1] * pad_param_->in_strides[i + 1]; in CalculateStrides()
346 out_[i] = in_[i] + pad_param_->paddings_[i * 2] + pad_param_->paddings_[i * 2 + 1]; in CalculateStrides()
359 ret = ExtendShape(in_, DEFAULT_PAD_NDIMS, input_shape.data(), rank); in HandleMirrorPad()
[all …]
/third_party/boost/boost/iostreams/
Dcombine.hpp108 { return boost::iostreams::read(in_, src, s, n); } in read()
119 iostreams::close(in_, snk, BOOST_IOS::in); in close()
121 detail::close_all(in_, snk); in close()
136 InputFilter in_; member in boost::iostreams::detail::combined_filter
240 (const InputFilter& in, const OutputFilter& out) : in_(in), out_(out) in combined_filter()
248 iostreams::imbue(in_, loc); in imbue()
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_geometry_managers.py106 a.pack_configure(in_=pack)
108 a.pack_configure(in_=c)
113 a.pack_configure(in_=a)
115 a.pack_configure(in_='.foo')
232 b.pack_configure(side='right', in_=a, anchor='s', expand=True, fill='x',
297 f2.place_configure(in_=f2)
301 f2.place_configure(in_='spam')
302 f2.place_configure(in_=f)
307 f2.place_configure(in_=f)
320 f2.place_configure(in_=f, x='spam')
[all …]

123