src/storage/source/PartitionedFile.cc
int PartitionedFile::seekPage(FILE* partition, unsigned int pageSeqInPartition) {
    if (partition == nullptr) {
        return -1;
    }
    return fseek(partition, (pageSeqInPartition) * (this->metaData->getPageSize()), SEEK_SET);
}
/**
 * Seek to the beginning of the page data for a page specified in the file.
 */
Seek to the beginning of the page data for a page specified in the file.
Seek to the beginning of the page data for a page specified in the file .
int PartitionedFile::seekPage(FILE* partition, unsigned int pageSeqInPartition) {
    if (partition == nullptr) {
        return -1;
    }
    return fseek(partition, (pageSeqInPartition) * (this->metaData->getPageSize()), SEEK_SET);
}
int PartitionedFile :: seekPage ( FILE * partition , unsigned int pageSeqInPartition ) { if ( partition == nullptr ) { return -1 ; } return fseek ( partition , ( pageSeqInPartition ) * ( this -> metaData -> getPageSize ( ) ) , SEEK_SET ) ; }
Seek to the beginning of the page data for a page specified in the file.
Seek to the beginning of the page data for a page specified in the file .