예제 #1
0
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"
예제 #2
0
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
예제 #3
0
def indexed_file_allocation():
	inp = request.args['input']
	out = file_allocator.execute(3, inp)
	return out
예제 #4
0
def linked_file_allocation():
	inp = request.args['input']
	out = file_allocator.execute(2, inp)
	return out
예제 #5
0
def contigous_file_allocation():
	inp = request.args['input']
	out = file_allocator.execute(1, inp)
	return out
예제 #6
0
def mvt():
	inp = request.args['input']
	out = file_allocator.execute(4, inp)
	return out