Home
last modified time | relevance | path

Searched refs:get_top (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/dports/devel/lutok/lutok-0.4/
H A Dstack_cleaner_test.cpp40 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY()
42 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY()
53 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY()
55 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY()
57 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY()
68 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY()
73 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY()
77 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY()
80 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY()
94 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY()
[all …]
H A Doperations_test.cpp141 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY()
158 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY()
175 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY()
188 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY()
247 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY()
260 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY()
273 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY()
282 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY()
H A Dstack_cleaner.cpp63 _pimpl(new impl(state_, state_.get_top())) in stack_cleaner()
74 const unsigned int current_depth = _pimpl->state_ref.get_top(); in ~stack_cleaner()
90 _pimpl->original_depth = _pimpl->state_ref.get_top(); in forget()
H A Doperations.cpp80 const int height = s.get_top() - nargs; in do_file()
93 const int actual_results = s.get_top() - height; in do_file()
120 const int height = s.get_top() - nargs; in do_string()
133 const int actual_results = s.get_top() - height; in do_string()
/dports/net/xprobe/xprobe2-0.3/src/
H A Dtarget.cc246 if (os->get_score(os->get_top(0)) > 0) ret = 1; in check_alive()
249 inet_ntoa(addr), ret == 1?"up":"down", ret ==1?os->get_prcnt_score(os->get_top(0)):0); in check_alive()
250 …(XPROBELOG_MSG_STATE, "%s%p", ret == 1?"up":"down", ret ==1?os->get_prcnt_score(os->get_top(0)):0); in check_alive()
274 if (os->get_score(os->get_top(0)) != 0) ret = 1; in os_probe()
278 ui->msg("[+] %s (%i%%)\n", oses->osid2char(os->get_top(0)), os->get_prcnt_score(os->get_top(0))); in os_probe()
289 inet_ntoa(addr), oses->osid2char(os->get_top(0)), os->get_prcnt_score(os->get_top(0))); in os_probe()
290 …(XPROBELOG_MSG_PRIMARY, "%p%s", os->get_prcnt_score(os->get_top(0)), oses->osid2char(os->get_top(0… in os_probe()
293 … while (os->get_top(i) && os->get_prcnt_score(os->get_top(i)) && i != copts->get_numofmatches()) { in os_probe()
295 inet_ntoa(addr), oses->osid2char(os->get_top(i)), in os_probe()
296 os->get_prcnt_score(os->get_top(i))); in os_probe()
[all …]
/dports/sysutils/lnav/lnav-0.10.1/src/
H A Dhotkeys.cc274 tc->horiz_shift(tc->get_top(), in handle_paging_key()
296 tc->horiz_shift(tc->get_top(), in handle_paging_key()
393 new_mark = tc->get_top(); in handle_paging_key()
401 if (new_mark == tc->get_top()) { in handle_paging_key()
411 lnav_data.ld_select_start[tc] = tc->get_top(); in handle_paging_key()
426 int start_line = min((int)tc->get_top(), in handle_paging_key()
428 int end_line = max((int)tc->get_top(), in handle_paging_key()
481 vis_line_t next_top = tc->get_top(); in handle_paging_key()
545 if (tc->get_top() == 0) { in handle_paging_key()
750 int db_row = db_tc->get_top(); in handle_paging_key()
[all …]
H A Dbottom_status_source.cc70 sf.set_value(" L%'d", (int) lc->get_top()); in update_line_number()
77 listview_value_for_rows(*lc, lc->get_top(), rows); in update_line_number()
108 vis_line_t top = lc->get_top(); in update_percent()
140 lb = std::lower_bound(bv.begin(), bv.end(), tc->get_top()); in update_marks()
141 if (lb != bv.end() && *lb == tc->get_top()) { in update_marks()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/collision/
H A Dcollision.cpp44 if (r1.get_bottom() < r2.get_top() || r1.get_top() > r2.get_bottom()) in intersects()
100 …ea.set_p1(Vector(triangle.bbox.get_left() + triangle.bbox.get_width()/2, triangle.bbox.get_top())); in rectangle_aatriangle()
113 p1 = Vector(rect.get_right(), rect.get_top()); in rectangle_aatriangle()
119 Vector(area.get_right(), area.get_top()), normal, c); in rectangle_aatriangle()
123 makePlane(Vector(area.get_right(), area.get_top()), in rectangle_aatriangle()
144 || p1.y < area.get_top() - RDELTA || p1.y > area.get_bottom() + RDELTA) { in rectangle_aatriangle()
160 constraints->constrain_top(rect.get_top() + outvec.y); in rectangle_aatriangle()
171 float itop = r1.get_bottom() - r2.get_top(); in set_rectangle_rectangle_constraints()
172 float ibottom = r2.get_bottom() - r1.get_top(); in set_rectangle_rectangle_constraints()
180 constraints->constrain_bottom(r2.get_top()); in set_rectangle_rectangle_constraints()
[all …]
/dports/sysutils/py-salt/salt-3004.1/tests/pytests/functional/modules/
H A Dtest_saltutil.py44 def get_top(configure_mocks): function
45 with patch.object(salt.state.HighState, "get_top") as get_top:
46 yield get_top
49 def test__get_top_file_envs(modules, get_top, destroy): argument
54 assert get_top.called
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/math/
H A Danchor_point.cpp101 result.y = rect.get_top(); in get_anchor_pos()
104 result.y = rect.get_top() + (rect.get_bottom() - rect.get_top()) / 2.0f; in get_anchor_pos()
111 result.y = rect.get_top(); in get_anchor_pos()
141 result.y = destrect.get_top(); in get_anchor_pos()
151 result.y = destrect.get_top(); in get_anchor_pos()
/dports/databases/grass7/grass-7.8.6/lib/python/temporal/
H A Dspatial_extent.py182 T = extent.get_top()
319 eT = extent.get_top()
322 T = self.get_top()
492 eT = extent.get_top()
495 T = self.get_top()
588 T = self.get_top()
721 T = self.get_top()
857 T = self.get_top()
1049 T = extent.get_top()
1187 T = self.get_top()
[all …]
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/object/
H A Dfallblock.cpp75 && (bumper_bbox.get_bottom() > (m_col.m_bbox.get_top() - 8)) in update()
76 && (bumper_bbox.get_top() < (m_col.m_bbox.get_bottom() + 8))) in update()
109 if (state == IDLE && player && player->get_bbox().get_bottom() < m_col.m_bbox.get_top()) in collision()
154 … m_col.m_bbox.get_right()-1, std::max(m_col.m_bbox.get_bottom(),player_bbox.get_top()-1)); in found_victim_down()
155 if ((player_bbox.get_top() >= m_col.m_bbox.get_bottom()) in found_victim_down()
H A Dblock.cpp67 mapping.get("y", m_col.m_bbox.get_top()); in Block()
99 if (player->get_bbox().get_top() > m_col.m_bbox.get_bottom() - SHIFT_DELTA && in collision()
102 if (player->get_bbox().get_top() > m_col.m_bbox.get_bottom() - SHIFT_DELTA) in collision()
120 …t == nullptr) || (moving_object->get_bbox().get_bottom() < (m_col.m_bbox.get_top() + SHIFT_DELTA))… in collision()
179 m_original_y = m_col.m_bbox.get_top(); in start_bounce()
H A Dstar.cpp49 float disp_y = player->get_bbox().get_top() - m_col.m_bbox.get_top(); in update()
54 float py = graphicsRandom.randf(m_col.m_bbox.get_top()+0, m_col.m_bbox.get_bottom()-0); in update()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/trigger/
H A Dclimbable.cpp43 reader.get("y", m_col.m_bbox.get_top()); in Climbable()
134 …if (player.get_bbox().get_top() < m_col.m_bbox.get_top() - GRACE_DY) player.add_velocity(Vector(0,… in event()
150 if (player.get_bbox().get_top() < m_col.m_bbox.get_top() - GRACE_DY) return false; in may_climb()
/dports/textproc/p5-PDF-Builder/PDF-Builder-3.023/lib/PDF/Builder/Basic/PDF/
H A DPages.pm60 $pdf //= $class->get_top()->{' parent'} if ref($class);
128 return $self->get_top()->{' parent'};
140 my $top = $self->get_top();
188 my $top = $self->get_top();
303 return $self->get_top()->get_pages_recursively();
481 sub get_top { subroutine
/dports/textproc/p5-PDF-API2/PDF-API2-2.042/lib/PDF/API2/Basic/PDF/
H A DPages.pm50 $pdf //= $class->get_top->{' parent'} if ref($class);
82 return $self->get_top->{' parent'};
94 my $top = $self->get_top();
133 my $top = $self->get_top();
226 return $self->get_top->get_pages_recurse();
394 sub get_top { subroutine
/dports/deskutils/virt-manager/virt-manager-3.2.0/tests/
H A Dtest_misc.py27 def get_top(_c): function
29 assert get_top(cpu) == [2, 3, 1]
34 assert get_top(cpu) == [2, 4, 1]
39 assert get_top(cpu) == [4, 1, 3]
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/badguy/
H A Dicecrusher.cpp333 if (m_col.m_bbox.get_top() <= start_position.y+1) { in update()
411 … m_col.m_bbox.get_right()-1, std::max(m_col.m_bbox.get_bottom(),player_bbox.get_top()-1)); in found_victim_down()
412 if ((player_bbox.get_top() >= m_col.m_bbox.get_bottom()) /* player is below crusher */ in found_victim_down()
432 && (player_bbox.get_bottom() + 5 > (m_col.m_bbox.get_top() - DROP_ACTIVATION_DISTANCE)) in found_victim_right()
433 && (player_bbox.get_top() < (m_col.m_bbox.get_bottom() + DROP_ACTIVATION_DISTANCE)) in found_victim_right()
451 && (player_bbox.get_bottom() + 5 > (m_col.m_bbox.get_top() - DROP_ACTIVATION_DISTANCE)) in found_victim_left()
452 && (player_bbox.get_top() < (m_col.m_bbox.get_bottom() + DROP_ACTIVATION_DISTANCE)) in found_victim_left()
470 …at player_focus_y = player->get_bbox().get_bottom() * 0.25f + player->get_bbox().get_top() * 0.75f; in eye_position()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/editor/
H A Dresize_marker.cpp43 new_pos.y = (m_rect->get_top() + m_rect->get_bottom())/2 - 8; in refresh_pos()
47 new_pos.y = m_rect->get_top() - 16; in refresh_pos()
83 m_rect->set_bottom(std::max(pos.y, m_rect->get_top() + 2)); in move_to()
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/ui/widget/
H A Dink-ruler.cpp155 int height = border.get_top() + border.get_bottom(); in size_request()
227 int rheight = aheight - (border.get_top() + border.get_bottom()); in draw_scale()
314 cr->move_to (position+2, border.get_top()); in draw_scale()
346 cr->move_to(position, rheight + border.get_top() - height); in draw_scale()
347 cr->line_to(position, rheight + border.get_top()); in draw_scale()
411 int rheight = aheight - border.get_top() - border.get_bottom(); in marker_rect()
422 rect.y = std::floor(border.get_top() + rheight - half_width); in marker_rect()
/dports/net/wireshark/wireshark-3.6.1/epan/
H A Dexcept.c58 #define get_top() ((struct except_stacknode *) pthread_getspecific(top_key)) macro
148 #define get_top() (stack_top) macro
190 for (top = get_top(); top != 0; top = top->except_down) { in do_throw()
232 node->except_down = get_top(); in stack_push()
259 struct except_stacknode *top = get_top(); in except_pop()
267 struct except_stacknode *top = get_top(); in except_rethrow()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/
H A Dexcept.c58 #define get_top() ((struct except_stacknode *) pthread_getspecific(top_key))
148 #define get_top() (stack_top)
190 for (top = get_top(); top != 0; top = top->except_down) {
232 node->except_down = get_top();
259 struct except_stacknode *top = get_top();
267 struct except_stacknode *top = get_top();
/dports/net/tshark-lite/wireshark-3.6.1/epan/
H A Dexcept.c58 #define get_top() ((struct except_stacknode *) pthread_getspecific(top_key)) macro
148 #define get_top() (stack_top) macro
190 for (top = get_top(); top != 0; top = top->except_down) { in do_throw()
232 node->except_down = get_top(); in stack_push()
259 struct except_stacknode *top = get_top(); in except_pop()
267 struct except_stacknode *top = get_top(); in except_rethrow()
/dports/net/tshark/wireshark-3.6.1/epan/
H A Dexcept.c58 #define get_top() ((struct except_stacknode *) pthread_getspecific(top_key)) macro
148 #define get_top() (stack_top) macro
190 for (top = get_top(); top != 0; top = top->except_down) { in do_throw()
232 node->except_down = get_top(); in stack_push()
259 struct except_stacknode *top = get_top(); in except_pop()
267 struct except_stacknode *top = get_top(); in except_rethrow()

12345678910>>...15