Home
last modified time | relevance | path

Searched refs:TextSlice (Results 1 – 2 of 2) sorted by relevance

/oneTBB/examples/parallel_pipeline/square/
H A Dsquare.cpp40 class TextSlice { class
48 static TextSlice* allocate(std::size_t max_size) { in allocate()
50 TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate(sizeof(TextSlice) + in allocate()
92 TextSlice* next_slice = nullptr;
122 TextSlice* t = next_slice; in operator ()()
141 TextSlice* operator()(TextSlice* input) const;
144 TextSlice* MyTransformFunc::operator()(TextSlice* input) const { in operator ()()
148 TextSlice* out = TextSlice::allocate(2 * MAX_CHAR_PER_INPUT_SLICE); in operator ()()
174 void operator()(TextSlice* item) const;
179 void MyOutputFunc::operator()(TextSlice* out) const { in operator ()()
[all …]
/oneTBB/doc/main/tbb_userguide/
H A DWorking_on_the_Assembly_Line_pipeline.rst70 class TextSlice {
79TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate( sizeof(TextSlice)+max_size…
84 // Free this TextSlice object
120 oneapi::tbb::make_filter<TextSlice*,TextSlice*>(
177 oneapi::tbb::filter<TextSlice*,TextSlice*> f2(oneapi::tbb::filter_mode::parallel,
203 file and free the ``TextSlice``.
249 TextSlice* operator()( TextSlice* input ) const;
253 TextSlice* MyTransformFunc::operator()( TextSlice* input ) const {
257 TextSlice* out = TextSlice::allocate( 2*MAX_CHAR_PER_INPUT_SLICE );
289 TextSlice* next_slice = NULL;
[all …]