Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /tests/new-tests/test-new.diderot
ViewVC logotype

Diff of /tests/new-tests/test-new.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4904, Tue Jan 24 19:47:59 2017 UTC revision 4955, Fri Apr 7 21:33:21 2017 UTC
# Line 3  Line 3 
3  // test the "new" operation  // test the "new" operation
4  //  //
5    
6  input int MaxNumStrands = 15;  input int MaxNumStrands = 8191; // should be 2^n - 1 for some n
7    int step = 0;
8    
9  strand S (int i) {  strand S (int i) {
10      output int id = i;      output int id = i;
# Line 17  Line 18 
18    
19  }  }
20    
21    update {
22      step += 1;
23      print ("global update ", step, "\n");
24    }
25    
26  create_collection { S(0) | i in 1..1 }  create_collection { S(0) | i in 1..1 }

Legend:
Removed from v.4904  
changed lines
  Added in v.4955

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0