Here are my CS projects. Click on "View Code Snippet" to expand and see a sample of code from the project. Each item in "View Technologies" is clickable and links to an online webpage with more information.
<divclass="project-box"><h2><aclass="project-title"href="https://github.com/meredithmhu/meredithmhu.github.io"target="_blank">My Website</a></h2><p>This is the GitHub repository for this website. I created this website to showcase my projects and interests in CS.</p><p>Lines of Code: 500+ | Hours Spent: 20+</p>
I was a research assistant in a programming languages and architecture lab while at school, and worked on an optimizing compiler for heterogeneous language processing called Caiman.
This was my final project for CS 4411, OS Practicum, a project course on operating systems I took during the final year of my undergraduate degree in CS at Cornell.
/* Create a new FAT file system on the specified inode of the block store below
*/
int fatdisk_create(block_store_t *below, unsigned int below_ino, unsigned int ninodes) {
// Create a fatdisk_block union named superblock for our superblock
union fatdisk_block superblock;
// Read and check if you can read it (-1 means read error)
if( (*below->read)(below, below_ino, 0, (block_t*) &superblock) <0){return-1;}//Ifyoucanreadit,checkwhetherthereisalreadyafilesystemthere.if(superblock.superblock.n_inodeblocks!=0){printf("fatdisk:onealreadyexistswith%luinodes\n",superblock.superblock.n_inodeblocks*INODES_PER_BLOCK);//Notanerrorsodon'treturn-1,butwedowanttonotdestroythebelowFATfilesystemreturn0;}
If you'd like to see more of my work, check out my GitHub profile.