def mvt_change_fit(): fit = request.args['fit'] print fit if file_allocator.mvt is not None: file_allocator.execute(4, '0') file_allocator.init(4) print file_allocator.execute(4, '0 100 ' + fit) return "Success"
def mft_init(): inp = request.args['input'] if file_allocator.mft is not None: file_allocator.execute(5, '0') file_allocator.init(5) out = file_allocator.execute(5, inp) print out return out
def indexed_file_allocation(): inp = request.args['input'] out = file_allocator.execute(3, inp) return out
def linked_file_allocation(): inp = request.args['input'] out = file_allocator.execute(2, inp) return out
def contigous_file_allocation(): inp = request.args['input'] out = file_allocator.execute(1, inp) return out
def mvt(): inp = request.args['input'] out = file_allocator.execute(4, inp) return out