/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnsdb/src/ |
H A D | journal-cjf-page-output-stream.c | 129 …data->size, jnl->last_page.records_limit + data->size, jnl->last_page.records_limit + data->size, … in journal_cjf_page_output_stream_next() 138 …ebug3("cjf: updating PAGE item at %u[(1 + %u) * 8]", jnl->last_page.file_offset, jnl->last_page.co… in journal_cjf_page_output_stream_next() 142 head.count = jnl->last_page.count + 1; in journal_cjf_page_output_stream_next() 145 …journal_cjf_page_cache_write_item(jnl->file, jnl->last_page.file_offset, jnl->last_page.count, &it… in journal_cjf_page_output_stream_next() 148 if(jnl->last_page.count == 0) in journal_cjf_page_output_stream_next() 153 jnl->last_page.serial_end = data->serial_to; in journal_cjf_page_output_stream_next() 157 jnl->last_page.records_limit += data->size; in journal_cjf_page_output_stream_next() 159 jnl->last_page.count = head.count; in journal_cjf_page_output_stream_next() 253 data->jnl->last_page.records_limit, data->jnl->last_page.records_limit); in journal_cjf_page_output_stream_cancel() 344 …if((jnl->last_page.count == 0) && (jnl->last_page.file_offset == CJF_HEADER_SIZE) && (jnl->first_p… in journal_cjf_page_output_stream_reopen() [all …]
|
H A D | journal-cjf.c | 204 if(jnl->last_page.count == 0) in log_debug_jnl() 215 jnl->last_page.serial_start, jnl->last_page.serial_end, in log_debug_jnl() 216 jnl->last_page.count,jnl->last_page.size, in log_debug_jnl() 217 jnl->last_page.file_offset, jnl->last_page.records_limit, in log_debug_jnl() 227 if(jnl->last_page.count == 0) in log_debug_jnl() 355 jnl->last_page.count = 0; in journal_cjf_load_idxt() 357 jnl->last_page.serial_start = 0; in journal_cjf_load_idxt() 358 jnl->last_page.serial_end = 0; in journal_cjf_load_idxt() 359 jnl->last_page.records_limit = jnl->last_page.file_offset + CJF_SECTION_INDEX_SIZE; in journal_cjf_load_idxt() 1952 jnl->last_page.count = 0; in journal_cjf_truncate_to_size() [all …]
|
H A D | journal-cjf-page.c | 124 yassert(jnl->last_page.size > 0); in journal_cjf_page_is_full() 126 return jnl->last_page.count == jnl->last_page.size; in journal_cjf_page_is_full() 132 return jnl->last_page.count; in journal_cjf_page_line_count() 147 return jnl->last_page.file_offset; in journal_cjf_page_get_file_offset() 153 return jnl->last_page.records_limit; in journal_cjf_page_get_stream_file_offset()
|
/dports/databases/p5-Data-Pageset/Data-Pageset-1.06/lib/Data/ |
H A D | Pageset.pm | 190 return $self->last_page 191 if $self->_current_page_accessor > $self->last_page; 228 if $self->current_page() < $self->last_page(); 234 if ( $end_page < $self->last_page() ) { 246 $end_page = $self->last_page() if $self->last_page() < $end_page; 253 if ( $max_pages_per_set >= $self->last_page() ) { 274 $end_page = $self->last_page() 275 if $self->last_page() < $end_page; 284 > ( $self->last_page() - $middle - $offset ) ) 289 = $self->last_page() [all …]
|
/dports/databases/p5-Data-Page/Data-Page-2.03/lib/Data/ |
H A D | Page.pm | 39 return $self->last_page 40 if $self->_current_page_accessor > $self->last_page; 68 sub last_page { subroutine 72 my $last_page; 75 $last_page = $pages; 77 $last_page = 1 + int($pages); 80 $last_page = 1 if $last_page < 1; 81 return $last_page; 97 if ( $self->current_page == $self->last_page ) { 117 $self->current_page < $self->last_page ? $self->current_page + 1 : undef;
|
/dports/databases/p5-DBIx-Class/DBIx-Class-0.082842/lib/DBIx/Class/ResultSet/ |
H A D | Pager.pm | 50 return $self->last_page 51 if $self->{current_page} > $self->last_page; 87 sub last_page { subroutine 91 my $last_page; 94 $last_page = $pages; 96 $last_page = 1 + int($pages); 99 $last_page = 1 if $last_page < 1; 100 return $last_page; 116 if ( $self->current_page == $self->last_page ) { 136 $self->current_page < $self->last_page ? $self->current_page + 1 : undef;
|
/dports/www/p5-VUser-Google-ProvisioningAPI/VUser-Google-ProvisioningAPI-0.24/lib/VUser/Google/ProvisioningAPI/ |
H A D | V2_0.pm | 607 $last_page = 0; 949 $last_page = 0; 951 $last_page = 1; 997 $last_page = 0; 999 $last_page = 1; 1165 $last_page = 0; 1167 $last_page = 1; 1210 $last_page = 0; 1212 $last_page = 1; 1380 $last_page = 0; [all …]
|
/dports/www/py-turbogears2/TurboGears2-2.3.12/tg/support/ |
H A D | paginate.py | 94 self.last_page = None 104 self.last_page = self.first_page + self.page_count - 1 107 if self.page > self.last_page: 108 self.page = self.last_page 130 if self.page < self.last_page: 341 'last_page': self.last_page, 350 'link_last': self.page<self.last_page and\ 383 rightmost_page = min(self.last_page, (self.page+radius)) 416 if self.last_page - rightmost_page > 1: 425 if self.page != self.last_page and rightmost_page < self.last_page: [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/pci/emu10k1/ |
H A D | memory.c | 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 214 page = blk->last_page + 1; in search_empty() 455 int first_page, last_page; in get_single_page_range() local 459 if (q->last_page == first_page) in get_single_page_range() 462 last_page = blk->last_page; in get_single_page_range() 465 if (q->first_page == last_page) in get_single_page_range() 469 *last_page_ret = last_page; in get_single_page_range() 474 int last_page) in __synth_free_pages() argument 507 int page, first_page, last_page; in synth_alloc_pages() local 528 last_page = page - 1; in synth_alloc_pages() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/sound/pci/emu10k1/ |
H A D | memory.c | 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 214 page = blk->last_page + 1; in search_empty() 455 int first_page, last_page; in get_single_page_range() local 459 if (q->last_page == first_page) in get_single_page_range() 462 last_page = blk->last_page; in get_single_page_range() 465 if (q->first_page == last_page) in get_single_page_range() 469 *last_page_ret = last_page; in get_single_page_range() 474 int last_page) in __synth_free_pages() argument 507 int page, first_page, last_page; in synth_alloc_pages() local 528 last_page = page - 1; in synth_alloc_pages() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/pci/emu10k1/ |
H A D | memory.c | 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 214 page = blk->last_page + 1; in search_empty() 455 int first_page, last_page; in get_single_page_range() local 459 if (q->last_page == first_page) in get_single_page_range() 462 last_page = blk->last_page; in get_single_page_range() 465 if (q->first_page == last_page) in get_single_page_range() 469 *last_page_ret = last_page; in get_single_page_range() 474 int last_page) in __synth_free_pages() argument 507 int page, first_page, last_page; in synth_alloc_pages() local 528 last_page = page - 1; in synth_alloc_pages() [all …]
|
/dports/math/singular/Singular-Release-4-2-1/omalloc/ |
H A D | om_Alloc.c | 67 omAssume(bin->last_page == page); in omTakeOutBinPage() 68 bin->last_page = NULL; in omTakeOutBinPage() 77 if (bin->last_page == page) in omTakeOutBinPage() 80 bin->last_page = page->prev; in omTakeOutBinPage() 94 omAssume(bin->last_page == NULL); in omInsertBinPage() 98 bin->last_page = page; in omInsertBinPage() 102 omAssume(after != NULL && bin->last_page != NULL); in omInsertBinPage() 103 if (after == bin->last_page) in omInsertBinPage() 105 bin->last_page = page; in omInsertBinPage() 127 omAssume(bin->last_page != NULL); in omAllocBinFromFullPage() [all …]
|
H A D | omBin.c | 121 s_bin->bin->last_page = NULL; in _omGetSpecBin() 201 s_bin->last_page = NULL; in omCreateStickyBin() 249 tl = bin->last_page; in omSetStickyBinTag() 253 bin->last_page = s_bin->last_page; in omSetStickyBinTag() 255 s_bin->last_page = tl; in omSetStickyBinTag() 287 if (to_bin->last_page == NULL) in omMergeStickyPages() 290 to_bin->last_page = from_bin->last_page; in omMergeStickyPages() 328 to_bin->last_page = from_bin->last_page; in omMergeStickyPages() 384 new_bin->last_page = NULL; in omGetStickyBinOfBin() 588 omBinPage page = bin->last_page; [all …]
|
/dports/x11/multi-aterm/multi-aterm-0.2.1/src/ |
H A D | notebook2.c | 130 TermWin.last_page = -1; in init_notebook() 237 if( x <= TermWin.last_page) { in page_right_shift() 282 if( TermWin.last_page < MAX_PAGES-1) { in append_page() 290 TermWin.last_page++; in append_page() 378 TermWin.last_page--; in remove_thumb() 387 TermWin.last_page--; in remove_thumb() 416 if( TermWin.last_page == 0) { in remove_page() 439 TermWin.last_page--; in remove_page() 652 if(TermWin.last_page >= 0) { in resize_thumb_bar() 665 if(TermWin.last_page >= 0) { in resize_thumb_bar() [all …]
|
/dports/devel/p5-Minion/Minion-10.22/lib/Mojolicious/Plugin/Minion/resources/templates/minion/ |
H A D | _pagination.html.ep | 3 % my $last_page = POSIX::ceil($total / $limit); 7 % my $last_offset = ($last_page - 1) * $limit; 32 % $start = $start >= ($last_page - 4) ? $last_page - 4 : $start; 34 % my $end = $last_page < ($start + 4) ? $last_page : $start + 4; 46 % if ($current_page >= $last_page) { 56 % if ($current_page >= $last_page) {
|
/dports/devel/libfreefare/libfreefare-libfreefare-0.4.0/test/ |
H A D | test_mifare_ultralight.c | 134 int last_page; in test_mifare_ultralight_cache_wrap() local 137 last_page = MIFARE_ULTRALIGHT_C_PAGE_COUNT_READ -1; in test_mifare_ultralight_cache_wrap() 141 last_page = MIFARE_ULTRALIGHT_PAGE_COUNT -1; in test_mifare_ultralight_cache_wrap() 143 res = mifare_ultralight_read (tag, last_page, &page); in test_mifare_ultralight_cache_wrap() 150 for (int i = 3; i < last_page; i++) { in test_mifare_ultralight_cache_wrap() 153 …RE_ULTRALIGHT(tag)->cached_pages[last_page], cut_message ("Wrong page cache value for tag->cached_… in test_mifare_ultralight_cache_wrap() 191 int last_page = MIFARE_ULTRALIGHT_C_PAGE_COUNT_READ -1; in test_mifare_ultralightc_authenticate() local 192 res = mifare_ultralight_read (tag, last_page, &page); in test_mifare_ultralightc_authenticate()
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/shared_examples/controllers/ |
H A D | paginated_collection_shared_examples.rb | 10 get action, params: params.merge(page: last_page) 16 get action, params: params.merge(page: last_page + 1) 18 expect(response).to redirect_to(params.merge(page: last_page)) 24 get action, params: params.merge(page: last_page + 1, host: external_host) 26 expect(response).to redirect_to(params.merge(page: last_page))
|
/dports/devel/upp/upp/uppsrc/RichText/ |
H A D | HeaderFooter.cpp | 101 int last_page = -1; in PaintHeaderFooter() local 104 while(last_page <= to_page) { in PaintHeaderFooter() 105 while(last_page < rc.py.page) { in PaintHeaderFooter() 106 last_page++; in PaintHeaderFooter() 107 if(last_page >= from_page && (rc.header || rc.footer)) { in PaintHeaderFooter() 109 …GetHeaderFooterText(rc.header, last_page, pagecount).Paint(pw, PageY(last_page, page.top), page, p… in PaintHeaderFooter() 111 …GetHeaderFooterText(rc.footer, last_page, pagecount).Paint(pw, PageY(last_page, page.bottom - rc.f… in PaintHeaderFooter()
|
/dports/graphics/svgalib/svgalib-1.4.3/src/ |
H A D | gvga6400.c | 36 static unsigned char last_page = 0; variable 115 last_page = 0x40 | page | (page << 3); in gvga6400_setpage() 118 outb(SEQ_D, last_page); in gvga6400_setpage() 123 last_page &= 0xf8; in gvga6400_setrdpage() 124 last_page |= page & 0x07; in gvga6400_setrdpage() 127 outb(SEQ_D, last_page); in gvga6400_setrdpage() 132 last_page &= 0xc7; in gvga6400_setwrpage() 133 last_page |= ((page & 7) << 3); in gvga6400_setwrpage() 136 outb(SEQ_D, last_page); in gvga6400_setwrpage()
|
H A D | et3000.c | 269 static unsigned char last_page = 0x40; variable 274 last_page = page | (page << 3) | 0x40; in et3000_setpage() 275 port_out(last_page, SEG_SELECT); in et3000_setpage() 282 last_page &= 0xC7; in et3000_setrdpage() 283 last_page |= (page << 3); in et3000_setrdpage() 284 port_out(last_page, SEG_SELECT); in et3000_setrdpage() 290 last_page &= 0xF8; in et3000_setwrpage() 291 last_page |= page; in et3000_setwrpage() 292 port_out(last_page, SEG_SELECT); in et3000_setwrpage()
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/projects/ |
H A D | branches_by_mode_service.rb | 47 branches_with_links(branches, last_page: branches.last_page?) 62 last_page = branches.size <= per_page 66 branches_with_links(branches, last_page: last_page) 69 def branches_with_links(branches, last_page:) argument 79 unless last_page
|
/dports/lang/sbcl/sbcl-1.3.13/src/runtime/ |
H A D | gencgc.c | 832 page_index_t last_page; in gc_alloc_new_region() local 856 alloc_region->last_page = last_page; in gc_alloc_new_region() 1369 last_page++) { in gc_find_freeish_pages() 2624 for (last_page = i; ; last_page++) { in scavenge_generations() 2649 i = last_page; in scavenge_generations() 2743 for (last_page = i; ;last_page++) { in scavenge_newspace_generation_one_scan() 2767 i = last_page; in scavenge_newspace_generation_one_scan() 2996 last_page++; in free_oldspace() 3384 for (last_page = i; ;last_page++) in walk_generation() 3394 i = last_page; in walk_generation() [all …]
|
/dports/www/seahub/seahub-8.0.7-server/seahub/utils/ |
H A D | paginator.py | 7 last_page = num_pages 10 last_page = 10 13 last_page = current_page + 4 if current_page + 4 < num_pages else num_pages 14 return list(range(first_page, last_page + 1))
|
/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnsdb/include/dnsdb/ |
H A D | journal-cjf-common.h | 166 jnl_page last_page; // current page member 194 return jnl->last_page.file_offset_limit; in journal_cjf_get_last_page_offset_limit() 199 return jnl->last_page.records_limit; in journal_cjf_get_last_page_first_available_byte_offset() 204 return jnl->last_page.file_offset_limit >= jnl->last_page.records_limit; in journal_cjf_get_last_page_has_room_left() 209 s64 to = (s64)jnl->last_page.file_offset_limit; in journal_cjf_get_last_page_available_space_left() 210 s64 from = (s64)jnl->last_page.records_limit; in journal_cjf_get_last_page_available_space_left()
|
/dports/www/p5-Maypole/Maypole-2.13/lib/Maypole/templates/factory/ |
H A D | pager | 31 [% IF pager.first_page == pager.last_page; %] 34 [% pager.current_page %] of [% pager.last_page %] | 51 IF pager.last_page < end_page; 52 SET end_page = pager.last_page; 70 IF end_page < pager.last_page; 71 PROCESS pager_link page_num = pager.last_page, action = pager_action;
|