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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (download) (annotate)
Tue Sep 27 20:54:47 2016 UTC (2 years, 9 months ago) by glk
File size: 261 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
#version 2.0

// test the "new" operation
//

const int MaxNumStrands = 15;

strand S (int i) {
    output int id = i;
    update {
	if (id < MaxNumStrands) {
	    new S (2*i);
	    new S (2*i+1);
	}
	stabilize;
    }

}

create_collection { S(0) | i in 1..1 }

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