MCPcopy Create free account
hub / github.com/badvision/jace / allocate

Method allocate

src/main/java/jace/hardware/massStorage/DiskNode.java:87–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 public void allocate() throws IOException {
88 if (!allocated) {
89 doAllocate();
90 allocationTime = System.currentTimeMillis();
91 allocated = true;
92 }
93 }
94
95 public void deallocate() {
96 if (allocated) {

Callers 7

refreshMethod · 0.95
MediaMethod · 0.80
initMethod · 0.80
checkFileMethod · 0.80
FileNodeMethod · 0.80
readBlockMethod · 0.80
FreespaceBitmapMethod · 0.80

Calls 1

doAllocateMethod · 0.95

Tested by

no test coverage detected