Home
last modified time | relevance | path

Searched refs:sz_ (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dslice.h37 ReadableSlice() : ptr_(nullptr), sz_(0) {} in ReadableSlice()
38 ReadableSlice(const void *ptr, size_t sz) : ptr_(ptr), sz_(sz) {} in ReadableSlice()
45 sz_ = len; in ReadableSlice()
47 …ReadableSlice(const ReadableSlice &src, off64_t offset) : ReadableSlice(src, offset, src.sz_ - off… in ReadableSlice()
50 sz_ = lhs.sz_; in ReadableSlice()
55 sz_ = lhs.sz_;
62 sz_ = lhs.sz_; in ReadableSlice()
64 lhs.sz_ = 0; in ReadableSlice()
70 sz_ = lhs.sz_;
72 lhs.sz_ = 0;
[all …]
Dqueue.h48 …: sz_(sz), arr_(Services::GetAllocator<T>()), head_(0), tail_(0), my_name_(Services::GetUniqueID()… in Queue()
54 MS_LOG(DEBUG) << "Create Q with uuid " << my_name_ << " of size " << sz_ << "."; in Queue()
65 size_t capacity() const { return sz_; } in capacity()
77 auto k = tail_++ % sz_; in Add()
92 auto k = tail_++ % sz_; in Add()
108 auto k = tail_++ % sz_; in EmplaceBack()
124 auto k = head_++ % sz_; in PopFront()
139 auto k = i % sz_; in ResetQue()
163 size_t sz_;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_request.cc45 sz_ += fbb->GetSize(); in SerializeCacheRowRequest()
47 sz_ += ts->SizeInBytes(); in SerializeCacheRowRequest()
49 bool sent_using_local_bypass = support_local_bypass_ ? (sz_ >= kLocalByPassThreshold) : false; in SerializeCacheRowRequest()
59 MS_LOG(DEBUG) << "Requesting " << sz_ << " bytes of shared memory data"; in SerializeCacheRowRequest()
61 …mem_rq = std::make_shared<AllocateSharedBlockRequest>(rq_.connection_id(), cc->GetClientId(), sz_); in SerializeCacheRowRequest()
69 WritableSlice all(p, sz_); in SerializeCacheRowRequest()
98 sz_ += rq_.buf_data(0).size(); in SerializeCacheRowRequest()
103 …MS_LOG(DEBUG) << "Sending " << sz_ << " bytes of tensor data in " << rq_.buf_data_size() << " segm… in SerializeCacheRowRequest()
133 sz_(0), in CacheRowRequest()
Dcache_request.h211 rq_.add_buf_data(std::to_string(sz_)); in AddDataLocation()
225 int64_t sz_; variable
/third_party/boost/boost/assign/
Dlist_inserter.hpp48 repeater( std::size_t sz_, T r ) : sz( sz_ ), val( r ) in repeater()
58 fun_repeater( std::size_t sz_, Fun r ) : sz( sz_ ), val( r ) in fun_repeater()
/third_party/ejdb/src/jql/
Djqp.leg66 #define YY_MALLOC(yy_, sz_) _jqp_malloc(yy_, sz_)
67 #define YY_REALLOC(yy_, ptr_, sz_) _jqp_realloc(yy_, ptr_, sz_)
Djqp.c73 #define YY_MALLOC(yy_, sz_) _jqp_malloc(yy_, sz_) argument
74 #define YY_REALLOC(yy_, ptr_, sz_) _jqp_realloc(yy_, ptr_, sz_) argument
/third_party/libinput/tools/
Dlibinput-record.c344 #define resize(array_, sz_) \ argument
346 size_t new_size = (sz_) + 1000; \
350 (sz_) = new_size; \
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_structs.hpp2752 float sz_ = {},
2768 , sz( sz_ )
2836 SRTDataNV & setSz( float sz_ ) VULKAN_HPP_NOEXCEPT in setSz()
2838 sz = sz_; in setSz()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp2760 float sz_ = {},
2776 , sz( sz_ )
2844 VULKAN_HPP_CONSTEXPR_14 SRTDataNV & setSz( float sz_ ) VULKAN_HPP_NOEXCEPT in setSz()
2846 sz = sz_; in setSz()