[Commit] nickle/examples COPYING, NONE, 1.1 Makefile.am, 1.3,
1.4 miller-rabin.5c, 1.5, 1.6 mutextest.5c, 1.8,
1.9 numbers.5c, 1.2, 1.3 polynomial.5c, 1.1, 1.2 prime.5c, 1.9,
1.10 randtest.5c, 1.4, 1.5 restart.5c, 1.2, 1.3 roman.5c, 1.7,
1.8 rsa-demo.5c, 1.3, 1.4 rsa.5c, 1.2, 1.3 shortpaths.5c, 1.1,
1.2 skiplisttest.5c, 1.1, 1.2
Keith Packard
commit at keithp.com
Mon Nov 15 12:16:41 PST 2004
- Previous message: [Commit] nickle ChangeLog,1.98,1.99
- Next message: [Commit] nickle/examples/smlng COPYING, NONE, 1.1 Makefile.am, 1.1,
1.2 context.5c, 1.6, 1.7 generate.5c, 1.1, 1.2 parse.5c, 1.8,
1.9 test.5c, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: keithp
Update of /local/src/CVS/nickle/examples
In directory home.keithp.com:/tmp/cvs-serv27707/examples
Modified Files:
Makefile.am miller-rabin.5c mutextest.5c numbers.5c
polynomial.5c prime.5c randtest.5c restart.5c roman.5c
rsa-demo.5c rsa.5c shortpaths.5c skiplisttest.5c
Added Files:
COPYING
Log Message:
2004-11-15 Keith Packard <keithp at keithp.com>
* examples/COPYING:
* examples/Makefile.am:
* examples/miller-rabin.5c:
* examples/mutextest.5c:
* examples/numbers.5c:
* examples/polynomial.5c:
* examples/prime.5c:
* examples/randtest.5c:
* examples/restart.5c:
* examples/roman.5c:
* examples/rsa-demo.5c:
* examples/rsa.5c:
* examples/shortpaths.5c:
* examples/skiplisttest.5c:
* examples/smlng/COPYING:
* examples/smlng/Makefile.am:
* examples/smlng/context.5c:
* examples/smlng/generate.5c:
* examples/smlng/parse.5c:
* examples/smlng/test.5c:
* examples/turtle/COPYING:
* examples/turtle/Makefile.am:
* examples/turtle/snowflake.5c:
* examples/turtle/snowflake.tex:
* examples/turtle/turtle.5c:
Add a bunch of copyright and license information
--- NEW FILE: COPYING ---
(This appears to be a binary file; contents omitted.)
Index: Makefile.am
===================================================================
RCS file: /local/src/CVS/nickle/examples/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am 15 Nov 2004 19:31:41 -0000 1.3
+++ Makefile.am 15 Nov 2004 20:16:37 -0000 1.4
@@ -29,4 +29,4 @@
example_DATA=$(NICKLEFILES) COPYING
-EXTRA_DIST=$(NICKLEFILES)
+EXTRA_DIST=$(NICKLEFILES) COPYING
Index: miller-rabin.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/miller-rabin.5c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- miller-rabin.5c 16 Sep 2002 23:49:19 -0000 1.5
+++ miller-rabin.5c 15 Nov 2004 20:16:37 -0000 1.6
@@ -7,6 +7,10 @@
* (failure probability 1/2**d)
* primebits(n,d): returns a random n-bit number k where !composite(k,d)
*
+ * Copyright © 1999 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* Bart Massey 1999/1
*/
Index: mutextest.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/mutextest.5c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- mutextest.5c 29 Jul 2004 00:23:32 -0000 1.8
+++ mutextest.5c 15 Nov 2004 20:16:37 -0000 1.9
@@ -1,7 +1,10 @@
/*
* Let a potentially large number of threads wait
* for a mutex.
- * Keith Packard 2001
+ *
+ * Copyright © 2001 Keith Packard
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
*/
import Mutex;
Index: numbers.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/numbers.5c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- numbers.5c 19 May 2001 16:25:05 -0000 1.2
+++ numbers.5c 15 Nov 2004 20:16:37 -0000 1.3
@@ -1,5 +1,10 @@
/*
* Some number-theoretic algorithms
+ *
+ * Copyright © 1999 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* Bart Massey 1999/1
*
* bigpowmod(b,e,m): returns (b**e) mod m
Index: polynomial.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/polynomial.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- polynomial.5c 19 Aug 2002 01:02:55 -0000 1.1
+++ polynomial.5c 15 Nov 2004 20:16:37 -0000 1.2
@@ -1,3 +1,11 @@
+/*
+ * Arithmetic on polynomials with (integer) coefficients
+ *
+ * Copyright © 2002 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ */
+
namespace Polynomial {
/*
Index: prime.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/prime.5c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- prime.5c 4 Aug 2002 20:08:48 -0000 1.9
+++ prime.5c 15 Nov 2004 20:16:37 -0000 1.10
@@ -1,6 +1,10 @@
/*
* factor(): Return an array of factors of a number
- * Keith Packard 2001
+ *
+ * Copyright © 2001 Keith Packard.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* Very inefficient, but demonstrates the use of disjoint unions
* and dynamic arrays.
*/
Index: randtest.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/randtest.5c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- randtest.5c 26 May 2004 08:01:42 -0000 1.4
+++ randtest.5c 15 Nov 2004 20:16:37 -0000 1.5
@@ -1,5 +1,10 @@
/*
* Check the PRNG for a balanced low bit
+ *
+ * Copyright © 2001 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* Bart 2001/3
*/
Index: restart.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/restart.5c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- restart.5c 25 Jul 2002 18:15:48 -0000 1.2
+++ restart.5c 15 Nov 2004 20:16:37 -0000 1.3
@@ -3,6 +3,10 @@
* restart execution after correcting
* an exceptional condition.
*
+ * Copyright © 2001 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* Bart 2001/06/03
*/
Index: roman.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/roman.5c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- roman.5c 27 Jul 2002 04:53:15 -0000 1.7
+++ roman.5c 15 Nov 2004 20:16:37 -0000 1.8
@@ -1,6 +1,10 @@
/*
* Convert integer to string of roman numerals
- * Keith Packard 2001
+ *
+ * Copyright © 2001 Keith Packard
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* A classic, plus a good illustration of some
* of the structuring, typing, and nesting
* capabilities of the language.
Index: rsa-demo.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/rsa-demo.5c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rsa-demo.5c 16 Sep 2002 23:49:19 -0000 1.3
+++ rsa-demo.5c 15 Nov 2004 20:16:37 -0000 1.4
@@ -1,5 +1,10 @@
/*
* Demo of RSA implementation
+ *
+ * Copyright © 2001 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* Bart 2001/03
*/
Index: rsa.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/rsa.5c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- rsa.5c 26 May 2004 08:01:42 -0000 1.2
+++ rsa.5c 15 Nov 2004 20:16:37 -0000 1.3
@@ -1,5 +1,10 @@
/*
* RSA cryptosystem
+ *
+ * Copyright © 2001 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ *
* Bart Massey 1999/1
*
* Must first load numbers.5c
Index: shortpaths.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/shortpaths.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- shortpaths.5c 23 Jun 2004 09:00:46 -0000 1.1
+++ shortpaths.5c 15 Nov 2004 20:16:37 -0000 1.2
@@ -1,3 +1,11 @@
+/*
+ * Floyd-Warshall all-pairs shortest-path algorithm.
+ *
+ * Copyright © 2004 Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ */
+
autoimport APSP;
autoimport PRNG;
autoload SVG;
Index: skiplisttest.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/skiplisttest.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- skiplisttest.5c 29 Jul 2004 00:23:32 -0000 1.1
+++ skiplisttest.5c 15 Nov 2004 20:16:37 -0000 1.2
@@ -1,3 +1,12 @@
+/* $Header$ */
+/*
+ * Test skiplist implementation
+ *
+ * Copyright © 2004 Keith Packard and Bart Massey.
+ * All Rights Reserved. See the file COPYING in this directory
+ * for licensing information.
+ */
+
autoload Skiplist;
int gt_count = "hi";
- Previous message: [Commit] nickle ChangeLog,1.98,1.99
- Next message: [Commit] nickle/examples/smlng COPYING, NONE, 1.1 Makefile.am, 1.1,
1.2 context.5c, 1.6, 1.7 generate.5c, 1.1, 1.2 parse.5c, 1.8,
1.9 test.5c, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commit
mailing list