Image we have the following code:
<script>
var TOKEN="abcdef";
</script>| /* | |
| Evan Wieland | |
| 12/7/2022 | |
| Usage: | |
| $ node dfs-hill-climb.js | |
| > Would you like to run the tests or supply your own graph (y/n)? | |
| > n |
| /** | |
| * Program that masks page number and offset from an | |
| * unsigned 32-bit address. | |
| * The size of a page is 4 KB = 4096 Bytes(4096 = 2^12 and so n = 12 bits) | |
| * A memory reference appears as: | |
| * |-----------|-----| | |
| * 31 12 11 0 | |
| */ | |
| #include <stdio.h> |
| #include <pthread.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <sys/types.h> | |
| /* the list of integers */ | |
| int *list; | |
| /* the threads will set these values */ | |
| double average; |
| /** | |
| * Records the amount of time to run a command. | |
| * Uses shared memory. | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <fcntl.h> | |
| #include <sys/types.h> |
| // | |
| // Zombie.c | |
| // | |
| // This program creates a Zombie proc. | |
| // | |
| // Evan Wieland | |
| // 9/26/2022 | |
| // | |
| #include <stdio.h> |
| /** | |
| * seconds.c | |
| * | |
| * Kernel module that communicates with /proc file system. | |
| * | |
| * The makefile must be modified to compile this program. | |
| * Change the line "simple.o" to "hello.o" | |
| * | |
| * Operating System Concepts - 10th Edition | |
| * Copyright John Wiley & Sons - 2018 |
| /** | |
| * jiffies.c | |
| * | |
| * Kernel module that communicates with /proc file system. | |
| * | |
| * The makefile must be modified to compile this program. | |
| * Change the line "simple.o" to "hello.o" | |
| * | |
| * Operating System Concepts - 10th Edition | |
| * Copyright John Wiley & Sons - 2018 |
| // | |
| // FileCopy.c | |
| // | |
| // This program copies a file from one location to another. | |
| // | |
| // Evan Wieland | |
| // 9/6/2022 | |
| // | |
| #include <stdio.h> |
| group:Employee Database | |
| EMPLOYEE = { | |
| Fname,Minit,Lname,Ssn,Bdate,Address,Sex,Salary,Super_ssn,Dno | |
| John,B,Smith,123456789,1965-01-09,"731 Fondren, Houston TX",M,30000,333445555,5 | |
| Franklin,T,Wong,333445555,1965-12-08,"638 Voss, Houston TX",M,40000,888665555,5 | |
| Alicia,J,Zelaya,999887777,1968-01-19,"3321 Castle, Spring TX",F,25000,987654321,4 | |
| Jennifer,S,Wallace,987654321,1941-06-20,"291 Berry, Bellaire TX",F,43000,888665555,4 | |
| Ramesh,K,Narayan,666884444,1962-09-15,"975 Fire Oak, Humble TX",M,38000,333445555,5 | |
| Joyce,A,English,453453453,1972-07-31,"5631 Rice, Houston TX",F,25000,333445555,5 |