Changeset 8614140 for doc/theses/mike_brooks_MMath/programs
- Timestamp:
- Jan 8, 2026, 1:26:42 PM (8 weeks ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- fb7c9168
- Parents:
- 79ba50c (diff), 4904b05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- doc/theses/mike_brooks_MMath/programs
- Files:
-
- 7 added
- 3 deleted
- 7 edited
-
ar-bchk/Makefile (added)
-
ar-bchk/control.c (added)
-
ar-bchk/control.cc (added)
-
ar-bchk/control.cfa (added)
-
ar-bchk/treatment.c (added)
-
ar-bchk/treatment.cc (added)
-
ar-bchk/treatment.cfa (added)
-
array-boundcheck-removal-matmul.cfa (deleted)
-
array-boundcheck-removal-stdvec.cpp (deleted)
-
array-boundcheck-removal.cfa (deleted)
-
hello-accordion.cfa (modified) (2 diffs)
-
hello-array.cfa (modified) (3 diffs)
-
school1 (modified) (1 diff)
-
school1.out (modified) (1 diff)
-
school2 (modified) (1 diff)
-
school2.out (modified) (1 diff)
-
sharing-demo.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/programs/hello-accordion.cfa
r79ba50c r8614140 31 31 int getPref( @School( C, S ) & school@, int is, int pref ) { 32 32 for ( ic; C ) { 33 if ( pref == @school.preferences@[ic][is] ;) return ic; $\C{// offset calculation implicit}$33 if ( pref == @school.preferences@[ic][is] ) return ic; $\C{// offset calculation implicit}$ 34 34 } 35 assert( false ); 35 assert( false ); // must find a match 36 36 } 37 37 … … 89 89 90 90 for ( is; ns ) { 91 sout | school.student_ids[is] | ": " | nonl;91 sout | school.student_ids[is] | ": "; 92 92 for ( pref; 1 ~= nc ) { 93 93 int ic = getPref( school, is, pref ); -
doc/theses/mike_brooks_MMath/programs/hello-array.cfa
r79ba50c r8614140 89 89 90 90 forall( [M], [N] ) 91 void bad( array(float, M) &x, 92 array(float, N) &y ) { 91 void f( array(float, M) &x, array(float, N) &y ) { 93 92 f( x, x ); $\C[0.5in]{// ok}$ 94 93 f( y, y ); $\C{// ok}$ 95 96 94 f( x, y ); $\C{// error}\CRT$ 95 if ( M == N ) f( x, @(array( float, M ) &)@y ); $\C{// ok}\CRT$ 97 96 } 98 99 97 #endif 100 98 … … 109 107 110 108 forall( [M], [N] ) 111 void bad_fixed( array( float, M ) & x, 112 array( float, N ) & y ) { 109 void f( array( float, M ) & x, array( float, N ) & y ) { 113 110 f( x, x ); $\C[0.5in]{// ok}$ 114 111 f( y, y ); $\C{// ok}$ 115 if ( M == N ) 116 f( x, @(array( float, M ) &)@y ); $\C{// ok}\CRT$ 112 if ( M == N ) f( x, @(array( float, M ) &)@y ); $\C{// ok}\CRT$ 117 113 } 118 114 … … 132 128 133 129 forall( [M], [N] ) 134 void bad_ok_only( array(float, M) &x, 135 array(float, N) &y ) { 130 void bad_ok_only( array(float, M) &x, array(float, N) &y ) { 136 131 f( x, x ); 137 132 f( y, y ); -
doc/theses/mike_brooks_MMath/programs/school1
r79ba50c r8614140 1 1 3 courses, 2 students 2 c\s 90111111 902222223 ENGL101 324 PHYS101 135 CHEM101 212 c\s 90111111 90222222 3 ENGL101 3 2 4 PHYS101 1 3 5 CHEM101 2 1 -
doc/theses/mike_brooks_MMath/programs/school1.out
r79ba50c r8614140 1 90111111: PHYS101 CHEM101 ENGL101 2 90222222: CHEM101 ENGL101 PHYS101 1 90111111: 2 PHYS101 CHEM101 ENGL101 3 90222222: 4 CHEM101 ENGL101 PHYS101 -
doc/theses/mike_brooks_MMath/programs/school2
r79ba50c r8614140 1 1 5 courses, 3 students 2 c\s 90111111 90222222 903333333 ENGL101 3 234 PHYS101 1 345 CHEM101 2 156 PHIL101 4 527 MATH499 5 412 c\s 90111111 90222222 90333333 3 ENGL101 3 2 3 4 PHYS101 1 3 4 5 CHEM101 2 1 5 6 PHIL101 4 5 2 7 MATH499 5 4 1 -
doc/theses/mike_brooks_MMath/programs/school2.out
r79ba50c r8614140 1 90111111: PHYS101 CHEM101 ENGL101 PHIL101 MATH499 2 90222222: CHEM101 ENGL101 PHYS101 MATH499 PHIL101 3 90333333: MATH499 PHIL101 ENGL101 PHYS101 CHEM101 1 90111111: 2 PHYS101 CHEM101 ENGL101 PHIL101 MATH499 3 90222222: 4 CHEM101 ENGL101 PHYS101 MATH499 PHIL101 5 90333333: 6 MATH499 PHIL101 ENGL101 PHYS101 CHEM101 -
doc/theses/mike_brooks_MMath/programs/sharing-demo.cfa
r79ba50c r8614140 300 300 open( outfile, "build/sharing10.tex" ); 301 301 outfile | "\\begin{cquote}"; 302 outfile | "\\setlength{\\tabcolsep}{10pt}"; 302 303 outfile | "\\begin{tabular}{@{}rlllll@{}}"; 303 304 outfile | "\t\t\t\t& @s1@\t& @s1_bgn@\t& @s1_crs@\t& @s1_mid@\t& @s1_end@\t\\\\";
Note:
See TracChangeset
for help on using the changeset viewer.