-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtypescript
More file actions
52 lines (51 loc) · 2.04 KB
/
typescript
File metadata and controls
52 lines (51 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Script started on Thu 11 Oct 2018 10:10:47 AM EDT
bash-3.2$ ls
My_Documents proj4.cpp public_html typescript
bash-3.2$ hostname whoaim mi
tgraham
bash-3.2$ hostname
CCCWORK3.WPI.EDU
bash-3.2$ hostname[2Pwhoami[4Plsexitg++ proj4.cpp
bash-3.2$ ./a.out a.out test
File size: 15786 bytes.
Occurrences of the string test in a.out is 42.
Buffer size is 1024 bytes.
bash-3.2$ ./a.out a.out test 2048
File size: 15786 bytes.
Occurrences of the string test in a.out is 38.
Buffer size is 2048 bytes.
bash-3.2$ ./a.out a.out test 2048 4096
File size: 15786 bytes.
Occurrences of the string test in a.out is 36.
Buffer size is 4096 bytes.
bash-3.2$ ./a.out a.out test 4096 mmap
File size: 15786 bytes.
Occurrences of the string test in a.out is 42.
Buffer size is 1024 bytes.
Mmap Mode is on.
bash-3.2$ ./a.out a.out test mmap 2048
File size: 15786 bytes.
Occurrences of the string test in a.out is 38.
Buffer size is 2048 bytes.
Mmap Mode is on.
bash-3.2$ ./a.out a.out test mmap 2048 4096
File size: 15786 bytes.
Occurrences of the string test in a.out is 36.
Buffer size is 4096 bytes.
Mmap Mode is on.
bash-3.2$ ./a.out a.out test mmap 4096 exit ./a.out a.out test mmap 2048[1P[1P[1P[1P[1@a[1@n[1@o[1@t[1@h[1@e[1@r[1@S[1@t[1@r[1@i[1@n[1@g
File size: 15786 bytes.
Occurrences of the string anotherString in a.out is 3.
Buffer size is 2048 bytes.
Mmap Mode is on.
bash-3.2$ ./a.out a.out anotherString mmap 2048 mmap 2048m[1P[1P[1P[1P[1P
File size: 15786 bytes.
Occurrences of the string anotherString in a.out is 3.
Buffer size is 2048 bytes.
bash-3.2$ ./a.out a.out anotherString 2048[1P[1P[1P8[K8192
File size: 15786 bytes.
Occurrences of the string anotherString in a.out is 3.
Buffer size is 8192 bytes.
bash-3.2$ exit
exit
Script done on Thu 11 Oct 2018 10:12:39 AM EDT