MCPcopy Create free account

hub / github.com/brunocalza/buffer-pool-manager / functions

Functions48 in github.com/brunocalza/buffer-pool-manager

↓ 10 callersMethodinsert
(key interface{}, value interface{})
circular_list.go:39
↓ 9 callersMethodUnpin
Unpin unpins a frame, indicating that it can now be victimized
clock_replacer.go:38
↓ 7 callersMethodVictim
Victim removes the victim frame as defined by the replacement policy
clock_replacer.go:13
↓ 6 callersFunctionNewResponse
NewResponse creates a response for web server given a buffer pool manager
buffer_pool_manager_presenter.go:53
↓ 6 callersFunctionrenderBufferPool
(pagesTable, maxPoolSize, pinCount)
web/src/index.js:18
↓ 6 callersFunctionrenderClockReplacer
(clockReplacer)
web/src/index.js:90
↓ 6 callersFunctionrenderDisk
(pagesInDisk, maxDiskNumPages)
web/src/index.js:59
↓ 4 callersMethodPin
Pin pins a frame, indicating that it should not be victimized until it is unpinned
clock_replacer.go:48
↓ 4 callersMethodfind
(key interface{})
circular_list.go:22
↓ 3 callersMethodSize
Size returns the size of the clock
clock_replacer.go:62
↓ 3 callersMethodWritePage
(*Page)
disk_manager.go:9
↓ 3 callersFunctionnewCircularList
(maxSize int)
circular_list.go:118
↓ 2 callersMethodDecPinCount
DecPinCount decrements pin count
page.go:27
↓ 2 callersMethodFlushPage
FlushPage Flushes the target page to disk.
buffer_pool_manager.go:81
↓ 2 callersFunctionNewClockReplacer
NewClockReplacer instantiates a new clock replacer
clock_replacer.go:67
↓ 2 callersMethodgetFrameID
()
buffer_pool_manager.go:157
↓ 2 callersMethodhasKey
(key interface{})
circular_list.go:35
↓ 2 callersMethodremove
(key interface{})
circular_list.go:76
↓ 1 callersMethodAllocatePage
()
disk_manager.go:10
↓ 1 callersMethodDeallocatePage
(PageID)
disk_manager.go:11
↓ 1 callersMethodDeletePage
DeletePage deletes a page from the buffer pool.
buffer_pool_manager.go:128
↓ 1 callersMethodFetchPage
FetchPage fetches the requested page from the buffer pool.
buffer_pool_manager.go:20
↓ 1 callersMethodFlushAllpages
FlushAllpages flushes all the pages in the buffer pool to disk.
buffer_pool_manager.go:151
↓ 1 callersMethodID
ID retunds the page id
page.go:22
↓ 1 callersFunctionNewBufferPoolManager
NewBufferPoolManager returns a empty buffer pool manager
buffer_pool_manager.go:169
↓ 1 callersFunctionNewDiskManagerMock
NewDiskManagerMock returns a in-memory mock of disk manager
disk_manager_mock.go:44
↓ 1 callersMethodNewPage
NewPage allocates a new page in the buffer pool with the disk manager help
buffer_pool_manager.go:96
↓ 1 callersMethodPinCount
PinCount retunds the pin count
page.go:17
↓ 1 callersMethodReadPage
(PageID)
disk_manager.go:8
↓ 1 callersMethodUnpinPage
UnpinPage unpins the target page from the buffer pool.
buffer_pool_manager.go:59
↓ 1 callersFunctiondeletePage
(bufferPool *bpm.BufferPoolManager)
cmd/server/main.go:46
↓ 1 callersFunctionfetchPage
(bufferPool *bpm.BufferPoolManager)
cmd/server/main.go:84
↓ 1 callersFunctionflushAll
(bufferPool *bpm.BufferPoolManager)
cmd/server/main.go:103
↓ 1 callersFunctionflushPage
(bufferPool *bpm.BufferPoolManager)
cmd/server/main.go:27
↓ 1 callersFunctiongetClockReplacerRepresentation
(clockReplacer *ClockReplacer)
buffer_pool_manager_presenter.go:27
↓ 1 callersFunctionnewPage
(bufferPool *bpm.BufferPoolManager)
cmd/server/main.go:12
↓ 1 callersFunctionpagesInDisk
(diskManager DiskManager)
buffer_pool_manager_presenter.go:43
↓ 1 callersFunctionunpinPage
(bufferPool *bpm.BufferPoolManager)
cmd/server/main.go:65
MethodAllocatePage
AllocatePage allocates one more page
disk_manager_mock.go:29
MethodDeallocatePage
DeallocatePage removes page from disk
disk_manager_mock.go:39
MethodReadPage
ReadPage reads a page from pages
disk_manager_mock.go:14
FunctionTestHasKey
(t *testing.T)
circular_list_test.go:8
FunctionTestSample
(t *testing.T)
clock_replacer_test.go:7
FunctionTestSize
(t *testing.T)
circular_list_test.go:38
MethodWritePage
WritePage writes a page in memory to pages
disk_manager_mock.go:23
MethodisFull
()
circular_list.go:103
Functionmain
()
cmd/server/main.go:118
Methodprint
()
circular_list.go:107