Changeset 0052ada
- Timestamp:
 - Jul 5, 2021, 5:21:01 PM (4 years ago)
 - Branches:
 - ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
 - Children:
 - 8ee4475
 - Parents:
 - e49b6f5 (diff), 11ad42f (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/andrew_beach_MMath/code
 - Files:
 - 
      
- 4 edited
 
- 
          
  CondMatch.java (modified) (1 diff)
 - 
          
  cond-match-r.cfa (modified) (1 diff)
 - 
          
  cond-match.cfa (modified) (1 diff)
 - 
          
  cond-match.cpp (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
doc/theses/andrew_beach_MMath/code/CondMatch.java
re49b6f5 r0052ada 22 22 public static void main(String[] args) { 23 23 int times = 1; 24 int total_frames = 1;25 24 if (0 < args.length) { 26 25 times = Integer.parseInt(args[0]); 27 26 } 28 27 if (1 < args.length) { 29 total_frames= Integer.parseInt(args[1]);28 should_catch = 0 != Integer.parseInt(args[1]); 30 29 } 31 30  - 
      
doc/theses/andrew_beach_MMath/code/cond-match-r.cfa
re49b6f5 r0052ada 25 25 int main(int argc, char * argv[]) { 26 26 unsigned int times = 1; 27 unsigned int total_frames = 1;28 27 if (1 < argc) { 29 28 times = strtol(argv[1], 0p, 10); 30 29 } 31 30 if (2 < argc) { 32 total_frames= strtol(argv[2], 0p, 10);31 should_catch = strtol(argv[2], 0p, 10); 33 32 } 34 33  - 
      
doc/theses/andrew_beach_MMath/code/cond-match.cfa
re49b6f5 r0052ada 28 28 times = strtol(argv[1], 0p, 10); 29 29 } 30 if (2 < argc) { 31 should_catch = strtol(argv[2], 0p, 10); 32 } 30 33 31 34 Time start_time = time();  - 
      
doc/theses/andrew_beach_MMath/code/cond-match.cpp
re49b6f5 r0052ada 27 27 int main(int argc, char * argv[]) { 28 28 unsigned int times = 1; 29 unsigned int total_frames = 1;30 29 if (1 < argc) { 31 30 times = strtol(argv[1], nullptr, 10); 32 31 } 33 32 if (2 < argc) { 34 total_frames= strtol(argv[2], nullptr, 10);33 should_catch = strtol(argv[2], nullptr, 10); 35 34 } 36 35  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.