Questions tagged [paging]

A memory-management technique where a computer stores and retrieves data from secondary storage for use in main memory. Memory is divided into equal sized pages so to not waste any memory.

2459 questions
0
votes
1 answer

How can I let UIScrollView (pagingEnabled) to move 1.2 page each time?

Ok. here is the story: I have a UIWebView in full screen, width = 768 It loads several images and those images are in one line, which means the UIWebView will scroll only horizontally. Now, I set the UIScrollView inside the UIWebView to…
Jackson Tale
  • 25,428
  • 34
  • 149
  • 271
0
votes
1 answer

Issue with Paging3 and Rxjava in MVP

In my project I want to use paging 3 . before adding paging into my project , I could get the data from server and show into my RecyclerView but after adding paging I faced with this issue : in my Paging Source class : class RepoPagingSource @Inject…
0
votes
3 answers

Implemet Paging on MVC3 with razor

I want to implement the Paging and Sorting functionality on MVC3 With Razor. Is there any In build function for that? Or need to implement manually . Anybody have any articles regarding this?
sandeep
  • 675
  • 2
  • 11
  • 13
0
votes
1 answer

MongoDB exception Size must be between 0 and 16MB

I am using aggregate and facets to implement paging using skip and limit.One facet is used to get the paged data and another facet is used to get total order count. Db.collection.Aggregate.Match(filter).Facet(facet1,facet2); When passing page…
0
votes
4 answers

How to execute two commands at the same time in SQL Server 2008

How I can execute two commands at the same time in SQL Server? I want to get a row count of a table and some row according to the row count. For example I want to get row count of a table and assuming I want to get last 50 rows on a single page. How…
Arian
  • 12,793
  • 66
  • 176
  • 300
0
votes
0 answers

Why is the TLB not saved on context switch?

According to this question the TLB content is not saved in the process control block in Linux, or equivalent in other operating systems. I would like to understand why that is, as saving and loading TLB entries takes time, but I would think this…
n66
  • 1
  • 2
0
votes
1 answer

Looking for a custom memory allocator which allocates from within a large pre-allocated block of memory

I have a memory-heavy application which is supposed to run with low latency and with constant speed, but in practice it has poor performance during the first few seconds of startup. This appears to be because the initial memory accesses triggers…
David Williams
  • 753
  • 1
  • 4
  • 11
0
votes
1 answer

FirestorePagingAdapter with additional/different list items crashes due to reuse of keys

I am using the FirestorePagingAdapter to load data using paging from my backend. My RecyclerView not only hosts the result of the paging request but also data that is displayed depending on the result of the paging (Imagine a Chat/message app where…
Avinta
  • 678
  • 1
  • 9
  • 26
0
votes
1 answer

Getting size of the page table for a system with a tiny amount of memory, only a few total pages

I'm asked to make a Page Table inside Memory under these conditions. We have 16 bits Virtual Address Memory size is 512 words page size is 128 Bytes So I tried doing this : 2^16 / 2^7 = 2^9 Pages 2^9 * 4 = 2^11 Bytes = 2KB Page Table Size,…
0
votes
0 answers

Cant scroll to new item in RecyclerView

I just want recycler view to scroll to last position when receiving message from StompClient. I am using StompClient library. And when i am getting new message i am updating RV Adapter, but i cant scroll it for some reason. I've tried postdelaying…
0
votes
3 answers

Displaying gridview with 3 columns

I have a gallery which holds a large number of thumbnail images and I want to show 6 at a time. I have this working using the code below, but I can not get the images to display as 2 rows of 3 - it shows as 6 rows of 1. I can get the desired result…
Tom
  • 12,776
  • 48
  • 145
  • 240
0
votes
0 answers

UICollectionView with two vertical sections per screen

I need to display 2 vertical sections with headers in a collectionView on a vertical scrolling screen. Two calendar months should be visible on the screen. I need to scroll sections 2 per screen, as if the isPagingEnable property is enabled (maybe…
0
votes
1 answer

How can I tell Linux to keep a page and not evict it?

Possible Duplicate: Can I tell Linux not to swap out a particular processes' memory? I want to allocate a chunk of memory in Linux and be sure that it will get no #GP or #PF faults. Regarding #GP, it's my responsibility as a programmer to ensure…
Nathan Fellman
  • 122,701
  • 101
  • 260
  • 319
0
votes
1 answer

How can I tell Windows to keep a page and not evict it?

I want to allocate a chunk of memory in Windows and be sure that it will get no #GP or #PF faults. Regarding #GP, it's my responsibility as a programmer to ensure that I do not exceed any bounds. However, #PF are the the responsibility of the OS,…
Nathan Fellman
  • 122,701
  • 101
  • 260
  • 319
0
votes
0 answers

Mapping virtual pages from different page directories to the same physical page

I'm working on a kernel for i386 and want to do the following: Write data to a virtual 4MB page in the current page directory ("current" as in it's loaded to cr3). Make a separate page directory and set one of its entries to map to the physical…
BrockLee
  • 931
  • 2
  • 9
  • 24