Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 4 of 4) sorted by relevance

/oneTBB/doc/main/tbb_userguide/
H A DFlow_Graph_Single_Vs_Broadcast.rst51 buffer_node<continue_msg> buf1(g);
56 make_edge(buf1,f1);
57 make_edge(buf1,f2);
58 make_edge(buf1,f3);
59 buf1.try_put(continue_msg());
60 buf1.try_put(continue_msg());
61 buf1.try_put(continue_msg());
64 remove_edge(buf1,f1);
65 remove_edge(buf1,f2);
66 remove_edge(buf1,f3);
H A DFlow_Graph_Reservation.rst64 buffer_node<int> buf1(g);
74 make_edge(buf1,input_port<0>(jn));
79 buf1.try_put(3);
86 if(buf1.try_get(icnt)) printf("buf1 had %d\n", icnt);
87 else printf("buf1 was empty\n");
145 buf1.try_put(3);
148 ``buf1`` attempts to forward 3 to ``jn``. ``jn`` does not accept the
212 colored grey.) ``jn`` receives the value 3 from ``buf1``, but it
231 the push succeeded, ``jn`` signals ``buf1`` and ``buf2`` that the
238 - ``jn`` tries to reserve ``buf1``, which fails. The arc to ``buf1``
[all …]
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_regression.cpp105 char *buf1 = (char*)scalable_realloc(buf, 2*realSz); in TestReallocMsize() local
106 REQUIRE_MESSAGE(buf1, ""); in TestReallocMsize()
107 …REQUIRE_MESSAGE((scalable_msize(buf1)>=2*realSz), "scalable_msize must be not less then allocated … in TestReallocMsize()
108 buf1[2*realSz-1] = 0; in TestReallocMsize()
109 if ( strspn(buf1, "a") < realSz-1 ) { in TestReallocMsize()
113 scalable_free(buf1); in TestReallocMsize()
/oneTBB/test/tbb/
H A Dtest_indexer_node.cpp614 buffer_node<indexer_output_t> buf1(g); in test_precedes() local
618 indexer_node<int, float, double> node(precedes(buf1, buf2, buf3)); in test_precedes()
624 check_edge<indexer_output_t, int>(g, start1, buf1, 1); in test_precedes()