Searched refs:ln (Results 1 – 3 of 3) sorted by relevance
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | cylinder.cpp | 92 flt t, s, tin, tout, ln, d; in cylinder_intersect() local 100 VDOT(ln, n, n); in cylinder_intersect() 101 ln = sqrt(ln); /* finish length calculation */ in cylinder_intersect() 103 if (ln == 0.0) { /* ray is parallel to the cylinder.. */ in cylinder_intersect() 122 t = -t / ln; in cylinder_intersect() 205 flt t, s, tin, tout, ln, d, tmp, tmp3; in fcylinder_intersect() local 213 VDOT(ln, n, n); in fcylinder_intersect() 214 ln = sqrt(ln); /* finish length calculation */ in fcylinder_intersect() 216 if (ln == 0.0) { /* ray is parallel to the cylinder.. */ in fcylinder_intersect() 227 t = -t / ln; in fcylinder_intersect()
|
| /oneTBB/test/tbb/ |
| H A D | test_flow_graph_whitebox.cpp | 477 typename limiter_node_type<DecrementerType>::type ln(g,1); in TestLimiterNode() local 479 DecrementerHelper<dtype>::check(ln.decrementer()); in TestLimiterNode() 480 CHECK_MESSAGE( (ln.my_threshold == 1), "error in my_threshold"); in TestLimiterNode() 485 tbb::flow::make_edge(inq,ln); in TestLimiterNode() 486 tbb::flow::make_edge(ln,outq); in TestLimiterNode() 487 tbb::flow::make_edge(bn,ln.decrementer()); in TestLimiterNode() 491 CHECK_MESSAGE( (ln.my_predecessors.empty()), "input edge reversed"); in TestLimiterNode() 514 DecrementerHelper<dtype>::check(ln.decrementer()); in TestLimiterNode() 515 CHECK_MESSAGE( (ln.my_threshold == 1), "error in my_threshold"); in TestLimiterNode() 521 tbb::flow::make_edge(inq,ln); in TestLimiterNode() [all …]
|
| H A D | test_limiter_node.cpp | 315 tbb::flow::limiter_node<int> ln(g,2); in test_continue_msg_reception() local 317 tbb::flow::make_edge(ln, qn); in test_continue_msg_reception() 318 ln.decrementer().try_put(tbb::flow::continue_msg()); in test_continue_msg_reception() 319 ln.try_put(42); in test_continue_msg_reception() 441 tbb::flow::limiter_node<int> ln(g, try_put_num); in test_try_put_without_successors() local 443 tbb::flow::make_edge(bn, ln); in test_try_put_without_successors() 457 tbb::flow::make_edge(ln, fn); in test_try_put_without_successors() 463 tbb::flow::remove_edge(bn, ln); in test_try_put_without_successors() 464 ln.decrementer().try_put(tbb::flow::continue_msg()); in test_try_put_without_successors()
|