returns the number of empty slots on this page . concode_field_sep TupleDesc td concode_elem_sep int numSlots concode_elem_sep byte[] oldData concode_elem_sep TransactionId dirtyTID concode_elem_sep byte header[] concode_elem_sep HeapPageId pid concode_elem_sep Tuple tuples[] concode_field_sep byte[] getPageData concode_elem_sep void markDirty concode_elem_sep HeapPageId getId concode_elem_sep byte[] createEmptyPageData concode_elem_sep void insertTuple concode_elem_sep boolean isSlotUsed concode_elem_sep Iterator<Tuple> iterator concode_elem_sep Tuple readNextTuple concode_elem_sep TransactionId isDirty concode_elem_sep int getNumTuples concode_elem_sep void markSlotUsed concode_elem_sep int getHeaderSize concode_elem_sep void setBeforeImage concode_elem_sep void deleteTuple concode_elem_sep HeapPage getBeforeImage
int function ( ) { int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < numSlots ; loc1 ++ ) { if ( ! isSlotUsed ( loc1 ) ) loc0 ++ ; } return loc0 ; }