MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / init

Method init

src/java/simpledb/index/BTreeHeaderPage.java:83–85  ·  view source on GitHub ↗

Initially mark all slots in the header used.

()

Source from the content-addressed store, hash-verified

81 * Initially mark all slots in the header used.
82 */
83 public void init() {
84 Arrays.fill(header, (byte) 0xFF);
85 }
86
87 /**
88 * Computes the number of bytes in the header while saving room for pointers

Callers 4

getEmptySlotMethod · 0.95
getSlotMethod · 0.95
getPageDataMethod · 0.95
setEmptyPageMethod · 0.95

Calls

no outgoing calls

Tested by 3

getEmptySlotMethod · 0.76
getSlotMethod · 0.76
getPageDataMethod · 0.76