MCPcopy Create free account
hub / github.com/cmu-db/bustub / GetPinCount

Method GetPinCount

src/buffer/buffer_pool_manager.cpp:358–360  ·  view source on GitHub ↗

* @brief Retrieves the pin count of a page. If the page does not exist in memory, return `std::nullopt`. * * This function is thread safe. Callers may invoke this function in a multi-threaded environment where multiple threads * access the same page. * * This function is intended for testing purposes. If this function is implemented incorrectly, it will definitely cause * problems with the t

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36