Changeset 81e1984b for doc/theses/mike_brooks_MMath/programs
- Timestamp:
- Aug 12, 2025, 12:19:31 AM (4 months ago)
- Branches:
- master
- Children:
- 6c58850
- Parents:
- 58a4cde (diff), 39ffa5e (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:
-
- 2 edited
-
lst-features-intro.run.cfa (modified) (1 diff)
-
lst-features-multidir.run.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/programs/lst-features-intro.run.cfa
r58a4cde r81e1984b 20 20 struct req { 21 21 int pri, rqr; 22 inline dlink(req);// containment inheritance, fields hoisted into structure22 @inline dlink(req);@ // containment inheritance, fields hoisted into structure 23 23 }; 24 24 -
doc/theses/mike_brooks_MMath/programs/lst-features-multidir.run.cfa
r58a4cde r81e1984b 42 42 43 43 44 dlist(req, req.by_pri) reqs_pri _global;44 dlist(req, req.by_pri) reqs_pri; 45 45 dlist(req, req.by_rqr) reqs_rqr_42; 46 46 dlist(req, req.by_rqr) reqs_rqr_17; … … 55 55 r99a = {3, 99}; 56 56 57 insert_first(reqs_pri _global, r17c);58 insert_first(reqs_pri _global, r99a);59 insert_first(reqs_pri _global, r17b);60 insert_first(reqs_pri _global, r42b);61 insert_first(reqs_pri _global, r17a);62 insert_first(reqs_pri _global, r42a);57 insert_first(reqs_pri, r17c); 58 insert_first(reqs_pri, r99a); 59 insert_first(reqs_pri, r17b); 60 insert_first(reqs_pri, r42b); 61 insert_first(reqs_pri, r17a); 62 insert_first(reqs_pri, r42a); 63 63 64 64 insert_first(reqs_rqr_42, r42b); … … 79 79 80 80 with(DLINK_VIA(req, req.by_pri)) { 81 while( req & cur = iter( reqs_pri _global); advance( cur ) )81 while( req & cur = iter( reqs_pri ); advance( cur ) ) 82 82 printf("{%d %d} ", cur.pri, cur.rqr); 83 83 printf("| ");
Note:
See TracChangeset
for help on using the changeset viewer.