{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.SBLAcsTe/b1/maloc_1.5-1_amd64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.SBLAcsTe/b2/maloc_1.5-1_amd64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,4 +1,4 @@\n \n- 6811d36659c7ea79a9f1e470550d7acc 122056 libdevel optional libmaloc-dev_1.5-1_amd64.deb\n+ 28183bbf161d1cd369c500b61745d5b9 122056 libdevel optional libmaloc-dev_1.5-1_amd64.deb\n 6c2e57ed95b3921b68a52a5d0390f9b8 313944 debug optional libmaloc1-dbgsym_1.5-1_amd64.deb\n 21698c8a5da3d6eb079918e9ff2e4441 82972 libs optional libmaloc1_1.5-1_amd64.deb\n"}, {"source1": "libmaloc-dev_1.5-1_amd64.deb", "source2": "libmaloc-dev_1.5-1_amd64.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2020-03-28 08:32:11.000000 debian-binary\n--rw-r--r-- 0 0 0 5460 2020-03-28 08:32:11.000000 control.tar.xz\n--rw-r--r-- 0 0 0 116404 2020-03-28 08:32:11.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 5464 2020-03-28 08:32:11.000000 control.tar.xz\n+-rw-r--r-- 0 0 0 116400 2020-03-28 08:32:11.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}, {"source1": "xz --list", "source2": "xz --list", "unified_diff": "@@ -1,13 +1,13 @@\n Streams: 1\n Blocks: 1\n- Compressed size: 5460 B\n+ Compressed size: 5464 B\n Uncompressed size: 20.0 KiB (20480 B)\n Ratio: 0.267\n Check: CRC64\n Stream Padding: 0 B\n Streams:\n Stream Blocks CompOffset UncompOffset CompSize UncompSize Ratio Check Padding\n- 1 1 0 0 5460 20480 0.267 CRC64 0\n+ 1 1 0 0 5464 20480 0.267 CRC64 0\n Blocks:\n Stream Block CompOffset UncompOffset TotalSize UncompSize Ratio Check\n- 1 1 12 0 5424 20480 0.265 CRC64\n+ 1 1 12 0 5428 20480 0.265 CRC64\n"}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -22,62 +22,62 @@\n drwxr-xr-x 0 root (0) root (0) 0 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/\n -rw-r--r-- 0 root (0) root (0) 941 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/changelog.Debian.gz\n -rw-r--r-- 0 root (0) root (0) 2759 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/copyright\n drwxr-xr-x 0 root (0) root (0) 0 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/\n -rw-r--r-- 0 root (0) root (0) 102678 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00002.html\n -rw-r--r-- 0 root (0) root (0) 34019 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00002_source.html\n -rw-r--r-- 0 root (0) root (0) 3831 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00003.dot\n--rw-r--r-- 0 root (0) root (0) 1128 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00004.dot.gz\n--rw-r--r-- 0 root (0) root (0) 12339 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00005.html\n--rw-r--r-- 0 root (0) root (0) 16675 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00005_source.html\n--rw-r--r-- 0 root (0) root (0) 1274 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00006.dot.gz\n--rw-r--r-- 0 root (0) root (0) 1004 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00007.dot\n--rw-r--r-- 0 root (0) root (0) 14174 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00008.html\n--rw-r--r-- 0 root (0) root (0) 18584 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00008_source.html\n--rw-r--r-- 0 root (0) root (0) 1151 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00009.dot.gz\n--rw-r--r-- 0 root (0) root (0) 1310 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00010.dot\n--rw-r--r-- 0 root (0) root (0) 17978 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00011.html\n--rw-r--r-- 0 root (0) root (0) 24222 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00011_source.html\n--rw-r--r-- 0 root (0) root (0) 1158 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00012.dot.gz\n--rw-r--r-- 0 root (0) root (0) 1319 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00013.dot\n--rw-r--r-- 0 root (0) root (0) 5867 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00014.html\n--rw-r--r-- 0 root (0) root (0) 6411 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00014_source.html\n--rw-r--r-- 0 root (0) root (0) 1408 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00015.dot.gz\n--rw-r--r-- 0 root (0) root (0) 701 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00016.dot\n+-rw-r--r-- 0 root (0) root (0) 1129 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00004.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 17978 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00005.html\n+-rw-r--r-- 0 root (0) root (0) 24222 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00005_source.html\n+-rw-r--r-- 0 root (0) root (0) 1159 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00006.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 1319 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00007.dot\n+-rw-r--r-- 0 root (0) root (0) 5867 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00008.html\n+-rw-r--r-- 0 root (0) root (0) 6411 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00008_source.html\n+-rw-r--r-- 0 root (0) root (0) 1408 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00009.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 701 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00010.dot\n+-rw-r--r-- 0 root (0) root (0) 12339 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00011.html\n+-rw-r--r-- 0 root (0) root (0) 16675 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00011_source.html\n+-rw-r--r-- 0 root (0) root (0) 1275 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00012.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 1004 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00013.dot\n+-rw-r--r-- 0 root (0) root (0) 14174 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00014.html\n+-rw-r--r-- 0 root (0) root (0) 18584 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00014_source.html\n+-rw-r--r-- 0 root (0) root (0) 1152 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00015.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 1310 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00016.dot\n -rw-r--r-- 0 root (0) root (0) 17659 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00017.html\n -rw-r--r-- 0 root (0) root (0) 36490 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00017_source.html\n--rw-r--r-- 0 root (0) root (0) 1148 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00018.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 1149 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00018.dot.gz\n -rw-r--r-- 0 root (0) root (0) 1108 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00019.dot\n--rw-r--r-- 0 root (0) root (0) 86130 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00020.html\n--rw-r--r-- 0 root (0) root (0) 36241 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00020_source.html\n--rw-r--r-- 0 root (0) root (0) 717 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00021.dot.gz\n--rw-r--r-- 0 root (0) root (0) 4020 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00022.dot\n--rw-r--r-- 0 root (0) root (0) 5032 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00023.html\n--rw-r--r-- 0 root (0) root (0) 5722 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00023_source.html\n--rw-r--r-- 0 root (0) root (0) 1091 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00024.dot.gz\n--rw-r--r-- 0 root (0) root (0) 2895 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00025.dot\n--rw-r--r-- 0 root (0) root (0) 18643 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00026.html\n--rw-r--r-- 0 root (0) root (0) 40474 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00026_source.html\n--rw-r--r-- 0 root (0) root (0) 853 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00027.dot.gz\n--rw-r--r-- 0 root (0) root (0) 3181 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00028.dot\n--rw-r--r-- 0 root (0) root (0) 17560 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00029.html\n--rw-r--r-- 0 root (0) root (0) 25468 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00029_source.html\n--rw-r--r-- 0 root (0) root (0) 717 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00030.dot.gz\n--rw-r--r-- 0 root (0) root (0) 3601 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00031.dot\n--rw-r--r-- 0 root (0) root (0) 28830 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00032.html\n--rw-r--r-- 0 root (0) root (0) 53368 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00032_source.html\n--rw-r--r-- 0 root (0) root (0) 805 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00033.dot.gz\n--rw-r--r-- 0 root (0) root (0) 3202 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00034.dot\n--rw-r--r-- 0 root (0) root (0) 54413 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00035.html\n--rw-r--r-- 0 root (0) root (0) 23410 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00035_source.html\n--rw-r--r-- 0 root (0) root (0) 704 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00036.dot.gz\n--rw-r--r-- 0 root (0) root (0) 3191 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00037.dot\n+-rw-r--r-- 0 root (0) root (0) 28830 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00020.html\n+-rw-r--r-- 0 root (0) root (0) 53368 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00020_source.html\n+-rw-r--r-- 0 root (0) root (0) 805 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00021.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 3202 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00022.dot\n+-rw-r--r-- 0 root (0) root (0) 54413 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00023.html\n+-rw-r--r-- 0 root (0) root (0) 23410 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00023_source.html\n+-rw-r--r-- 0 root (0) root (0) 704 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00024.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 3191 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00025.dot\n+-rw-r--r-- 0 root (0) root (0) 86130 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00026.html\n+-rw-r--r-- 0 root (0) root (0) 36241 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00026_source.html\n+-rw-r--r-- 0 root (0) root (0) 717 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00027.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 4020 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00028.dot\n+-rw-r--r-- 0 root (0) root (0) 18643 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00029.html\n+-rw-r--r-- 0 root (0) root (0) 40474 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00029_source.html\n+-rw-r--r-- 0 root (0) root (0) 854 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00030.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 3181 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00031.dot\n+-rw-r--r-- 0 root (0) root (0) 17560 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00032.html\n+-rw-r--r-- 0 root (0) root (0) 25468 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00032_source.html\n+-rw-r--r-- 0 root (0) root (0) 717 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00033.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 3601 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00034.dot\n+-rw-r--r-- 0 root (0) root (0) 5032 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00035.html\n+-rw-r--r-- 0 root (0) root (0) 5722 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00035_source.html\n+-rw-r--r-- 0 root (0) root (0) 1091 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00036.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 2895 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00037.dot\n -rw-r--r-- 0 root (0) root (0) 4710 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00038.html\n -rw-r--r-- 0 root (0) root (0) 5011 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00038_source.html\n--rw-r--r-- 0 root (0) root (0) 1458 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00039.dot.gz\n+-rw-r--r-- 0 root (0) root (0) 1459 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00039.dot.gz\n -rw-r--r-- 0 root (0) root (0) 1997 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00041.html\n -rw-r--r-- 0 root (0) root (0) 6016 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00041_source.html\n -rw-r--r-- 0 root (0) root (0) 1991 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00044.html\n -rw-r--r-- 0 root (0) root (0) 2307 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00044_source.html\n -rw-r--r-- 0 root (0) root (0) 3596 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00047.html\n -rw-r--r-- 0 root (0) root (0) 38748 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00048.html\n -rw-r--r-- 0 root (0) root (0) 22555 2020-03-28 08:32:11.000000 ./usr/share/doc/libmaloc-dev/html/a00049.html\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00004.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00004.dot.gz", "unified_diff": null, "details": [{"source1": "a00004.dot", "source2": "a00004.dot", "unified_diff": "@@ -4,49 +4,49 @@\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n Node1 [id=\"Node000001\",label=\"maloc_base.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n Node1 -> Node3 [id=\"edge2_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n Node3 -> Node2 [id=\"edge3_Node000003_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node4 [id=\"edge4_Node000001_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node4 [id=\"Node000004\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n Node4 -> Node5 [id=\"edge5_Node000004_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node5 [id=\"Node000005\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node5 [id=\"Node000005\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n Node5 -> Node3 [id=\"edge6_Node000005_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node6 [id=\"edge7_Node000001_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node6 [id=\"Node000006\",label=\"vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node6 [id=\"Node000006\",label=\"vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node6 -> Node7 [id=\"edge8_Node000006_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 [id=\"Node000007\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node7 [id=\"Node000007\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node7 -> Node2 [id=\"edge9_Node000007_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node7 -> Node3 [id=\"edge10_Node000007_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node7 -> Node4 [id=\"edge11_Node000007_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node7 -> Node5 [id=\"edge12_Node000007_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node7 -> Node8 [id=\"edge13_Node000007_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 [id=\"Node000008\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node8 [id=\"Node000008\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n Node8 -> Node5 [id=\"edge14_Node000008_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node7 -> Node9 [id=\"edge15_Node000007_Node000009\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node9 [id=\"Node000009\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n Node9 -> Node2 [id=\"edge16_Node000009_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node9 -> Node3 [id=\"edge17_Node000009_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node10 [id=\"edge18_Node000001_Node000010\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node10 [id=\"Node000010\",label=\"vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node10 [id=\"Node000010\",label=\"vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node10 -> Node11 [id=\"edge19_Node000010_Node000011\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node11 [id=\"Node000011\",label=\"vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node11 [id=\"Node000011\",label=\"vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node11 -> Node7 [id=\"edge20_Node000011_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node10 -> Node7 [id=\"edge21_Node000010_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node5 [id=\"edge22_Node000001_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node8 [id=\"edge23_Node000001_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node12 [id=\"edge24_Node000001_Node000012\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node12 [id=\"Node000012\",label=\"vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node12 [id=\"Node000012\",label=\"vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node12 -> Node6 [id=\"edge25_Node000012_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node12 -> Node11 [id=\"edge26_Node000012_Node000011\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node12 -> Node7 [id=\"edge27_Node000012_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node13 [id=\"edge28_Node000001_Node000013\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node13 [id=\"Node000013\",label=\"vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node13 [id=\"Node000013\",label=\"vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node13 -> Node7 [id=\"edge29_Node000013_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node11 [id=\"edge30_Node000001_Node000011\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node9 [id=\"edge31_Node000001_Node000009\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node7 [id=\"edge32_Node000001_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00005.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00005.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vmp.h File Reference\n+MALOC: vcom.h File Reference\n \n \n \n \n \n \n
\n@@ -41,91 +41,113 @@\n \n
\n \n
\n \n-
vmp.h File Reference
\n+
vcom.h File Reference
\n
\n
\n \n-

Class Vmp: a Virtual MPI communication layer object. \n+

Class Vcom: virtual (currently just MPI) communications layer. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vsys.h>
\n-#include <maloc/vmpi.h>
\n-#include <maloc/vcom.h>
\n+#include <maloc/vsys.h>
\n
\n-Include dependency graph for vmp.h:
\n+Include dependency graph for vcom.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n \n-\n-\n+\n+\n \n

\n Classes

struct  sVmp
 Contains public data members for Vmp class. More...
struct  sVcom
 Contains public data members for Vcom class. More...
 
\n+\n+\n+\n+\n+

\n+Macros

#define VCOM_MPI_TAG   111
 A base value for MPI tags.
 
\n \n-\n-\n-\n+\n+\n+\n

\n Typedefs

typedef struct sVmp Vmp
 Declaration of the Vmp class as teh Vmp structure.
 
typedef struct sVcom Vcom
 Declaration of the Vcom class as the Vcom structure
\n+
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n-\n+\n+\n+\n+\n

\n Functions

int Vmp_init (int *argc, char ***argv)
 The Vmp initializer.
 
int Vmp_finalize (void)
 The Vmp finalizer.
 
VmpVmp_ctor (void)
 The Vmp constructor.
 
void Vmp_dtor (Vmp **thee)
 The Vmp destructor.
 
int Vmp_rank (Vmp *thee)
 Return my processor ID.
 
int Vmp_size (Vmp *thee)
 Return the number of processors involved.
\n-
 
int Vmp_barr (Vmp *thee)
 An MPI barrier.
\n-
 
int Vmp_send (Vmp *thee, int des, char *buf, int bufsize)
 An MPI blocking send.
\n-
 
int Vmp_recv (Vmp *thee, int src, char *buf, int bufsize)
 An MPI blocking receive.
\n+
int Vcom_init (int *argc, char ***argv)
 The Vmp initializer.
 
int Vcom_finalize (void)
 The Vmp finalizer.
 
VcomVcom_ctor (int commtype)
 Construct the communications object. This routine sets up data members of class and initializes MPI.
 
int Vcom_ctor2 (Vcom *thee, int commtype)
 Construct the communications object. This routine sets up data members of class and initializes MPI. This is broken into two parts to be callable from FORTRAN.
 
void Vcom_dtor (Vcom **thee)
 Destroy the communications object.
 
void Vcom_dtor2 (Vcom *thee)
 Destroy the communications object. This is broken into two parts to be callable from FORTRAN.
 
int Vcom_send (Vcom *thee, int des, void *buf, int len, int type, int block)
 Send a buffer. Returns 1 on success.
 
int Vcom_recv (Vcom *thee, int src, void *buf, int len, int type, int block)
 Receive a (character) buffer.
\n+ The blocking flag is present, but not used. All receives are assumed to be blocking. A non-blocking receive would be very ugly to implement (signals or something?).
 
int Vcom_getCount (Vcom *thee, int src, int *length, int type)
 Perform a blocking probe to get the length (in number of items of specified type) of an incoming message and place it in the
\n+ argument ``length\".
 
int Vcom_reduce (Vcom *thee, void *sendbuf, void *recvbuf, int length, int type, int op)
 Perform a reduction of the data across all processors. This is equivalent (and in the case of MPI is identical to) MPI_Allreduce. Basically, the specified operations are appleed to each member of
\n+ the sendbuf across all processors and the results are written to recvbuf.
 
int Vcom_size (Vcom *thee)
 Get the number of PEs in communicator.
 
int Vcom_resize (Vcom *thee, int newsize)
 Resize (shrink) the communications group to include only newsize number of processors.
\n+ Obsolete processes are given rank of -1 and size of 0.
 
int Vcom_rank (Vcom *thee)
 Get the ID of the local PE
\n
 
 
int Vcom_barr (Vcom *thee)
 Synchronization barrier.
 
\n

Detailed Description

\n-

Class Vmp: a Virtual MPI communication layer object.

\n-
Author
Michael Holst
\n+

Class Vcom: virtual (currently just MPI) communications layer.

\n+
Authors
Nathan Baker and Michael Holst
\n
Note
None
\n
Version
\n-
Id
vmp.h,v 1.22 2010/08/12 05:40:23 fetk Exp
\n+
Id
vcom.h,v 1.38 2010/08/12 05:40:23 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -137,14 +159,31 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n *  
\n-
\n+

Macro Definition Documentation

\n+\n+

◆ VCOM_MPI_TAG

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define VCOM_MPI_TAG   111
\n+
\n+\n+

A base value for MPI tags.

\n+\n+
\n+
\n+\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,71 +1,104 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bp_\bs_\bh\n * _\bm_\ba_\bl_\bo_\bc\n-_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vmp.h File Reference\n-_\bV_\bm_\bp_\b _\bc_\bl_\ba_\bs_\bs\n-Class Vmp: a Virtual MPI communication layer object. _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bM_\ba_\bc_\br_\bo_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+vcom.h File Reference\n+_\bV_\bc_\bo_\bm_\b _\bc_\bl_\ba_\bs_\bs\n+Class Vcom: virtual (currently just MPI) communications layer. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\bi_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bc_\bo_\bm_\b._\bh>\n-Include dependency graph for vmp.h:\n+Include dependency graph for vcom.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n C\bCl\bla\bas\bss\bse\bes\bs\n-struct \u00a0 _\bs_\bV_\bm_\bp\n-\u00a0 Contains public data members for Vmp class. _\bM_\bo_\br_\be_\b._\b._\b.\n+struct \u00a0 _\bs_\bV_\bc_\bo_\bm\n+\u00a0 Contains public data members for Vcom class. _\bM_\bo_\br_\be_\b._\b._\b.\n+\u00a0\n+M\bMa\bac\bcr\bro\bos\bs\n+#define\u00a0 _\bV_\bC_\bO_\bM_\b__\bM_\bP_\bI_\b__\bT_\bA_\bG\u00a0\u00a0\u00a0111\n+\u00a0 A base value for MPI tags.\n \u00a0\n T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n-typedef struct _\bs_\bV_\bm_\bp\u00a0 _\bV_\bm_\bp\n-\u00a0 Declaration of the Vmp class as teh Vmp structure.\n+typedef struct _\bs_\bV_\bc_\bo_\bm\u00a0 _\bV_\bc_\bo_\bm\n+\u00a0 Declaration of the Vcom class as the Vcom structure\n+\n \u00a0\n F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n- int\u00a0 _\bV_\bm_\bp_\b__\bi_\bn_\bi_\bt (int *argc, char ***argv)\n-\u00a0 The Vmp initializer.\n-\u00a0\n- int\u00a0 _\bV_\bm_\bp_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be (void)\n-\u00a0 The Vmp finalizer.\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\bi_\bn_\bi_\bt (int *argc, char ***argv)\n+\u00a0 The Vmp initializer.\n \u00a0\n-_\bV_\bm_\bp *\u00a0 _\bV_\bm_\bp_\b__\bc_\bt_\bo_\br (void)\n-\u00a0 The Vmp constructor.\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be (void)\n+\u00a0 The Vmp finalizer.\n \u00a0\n- void\u00a0 _\bV_\bm_\bp_\b__\bd_\bt_\bo_\br (_\bV_\bm_\bp **thee)\n-\u00a0 The Vmp destructor.\n+_\bV_\bc_\bo_\bm *\u00a0 _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br (int commtype)\n+\u00a0 Construct the communications object. This routine sets up data members\n+ of class and initializes MPI.\n+\u00a0\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br_\b2 (_\bV_\bc_\bo_\bm *thee, int commtype)\n+ Construct the communications object. This routine sets up data members\n+\u00a0 of class and initializes MPI. This is broken into two parts to be\n+ callable from FORTRAN.\n+\u00a0\n+ void\u00a0 _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br (_\bV_\bc_\bo_\bm **thee)\n+\u00a0 Destroy the communications object.\n+\u00a0\n+ void\u00a0 _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br_\b2 (_\bV_\bc_\bo_\bm *thee)\n+\u00a0 Destroy the communications object. This is broken into two parts to be\n+ callable from FORTRAN.\n+\u00a0\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\bs_\be_\bn_\bd (_\bV_\bc_\bo_\bm *thee, int des, void *buf, int len, int type, int\n+ block)\n+\u00a0 Send a buffer. Returns 1 on success.\n+\u00a0\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\be_\bc_\bv (_\bV_\bc_\bo_\bm *thee, int src, void *buf, int len, int type, int\n+ block)\n+ Receive a (character) buffer.\n+\u00a0 The blocking flag is present, but not used. All receives are assumed to\n+ be blocking. A non-blocking receive would be v\bve\ber\bry\by ugly to implement\n+ (signals or something?).\n+\u00a0\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\bg_\be_\bt_\bC_\bo_\bu_\bn_\bt (_\bV_\bc_\bo_\bm *thee, int src, int *length, int type)\n+ Perform a blocking probe to get the length (in number of items of\n+\u00a0 specified type) of an incoming message and place it in the\n+ argument ``length\".\n+\u00a0\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\be_\bd_\bu_\bc_\be (_\bV_\bc_\bo_\bm *thee, void *sendbuf, void *recvbuf, int length, int\n+ type, int op)\n+ Perform a reduction of the data across all processors. This is\n+ equivalent (and in the case of MPI is identical to) MPI_Allreduce.\n+\u00a0 Basically, the specified operations are appleed to each member of\n+ the sendbuf across all processors and the results are written to\n+ recvbuf.\n+\u00a0\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\bs_\bi_\bz_\be (_\bV_\bc_\bo_\bm *thee)\n+\u00a0 Get the number of PEs in communicator.\n+\u00a0\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\be_\bs_\bi_\bz_\be (_\bV_\bc_\bo_\bm *thee, int newsize)\n+ Resize (shrink) the communications group to include only newsize number\n+\u00a0 of processors.\n+ Obsolete processes are given rank of -1 and size of 0.\n \u00a0\n- int\u00a0 _\bV_\bm_\bp_\b__\br_\ba_\bn_\bk (_\bV_\bm_\bp *thee)\n-\u00a0 Return my processor ID.\n-\u00a0\n- int\u00a0 _\bV_\bm_\bp_\b__\bs_\bi_\bz_\be (_\bV_\bm_\bp *thee)\n-\u00a0 Return the number of processors involved.\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\ba_\bn_\bk (_\bV_\bc_\bo_\bm *thee)\n+\u00a0 Get the ID of the local PE\n \n \u00a0\n- int\u00a0 _\bV_\bm_\bp_\b__\bb_\ba_\br_\br (_\bV_\bm_\bp *thee)\n-\u00a0 An MPI barrier.\n-\n-\u00a0\n- int\u00a0 _\bV_\bm_\bp_\b__\bs_\be_\bn_\bd (_\bV_\bm_\bp *thee, int des, char *buf, int bufsize)\n-\u00a0 An MPI blocking send.\n-\n-\u00a0\n- int\u00a0 _\bV_\bm_\bp_\b__\br_\be_\bc_\bv (_\bV_\bm_\bp *thee, int src, char *buf, int bufsize)\n-\u00a0 An MPI blocking receive.\n-\n+ int\u00a0 _\bV_\bc_\bo_\bm_\b__\bb_\ba_\br_\br (_\bV_\bc_\bo_\bm *thee)\n+\u00a0 Synchronization barrier.\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Class Vmp: a Virtual MPI communication layer object.\n- Author\n- Michael Holst\n+Class Vcom: virtual (currently just MPI) communications layer.\n+ Authors\n+ Nathan Baker and Michael Holst\n Note\n None\n Version\n Id\n- _\bv_\bm_\bp_\b._\bh,v 1.22 2010/08/12 05:40:23 fetk Exp\n+ _\bv_\bc_\bo_\bm_\b._\bh,v 1.38 2010/08/12 05:40:23 fetk Exp\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n@@ -78,9 +111,13 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\n *\n+*\b**\b**\b**\b**\b* M\bMa\bac\bcr\bro\bo D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVC\bCO\bOM\bM_\b_M\bMP\bPI\bI_\b_T\bTA\bAG\bG *\b**\b**\b**\b**\b*\n+#define VCOM_MPI_TAG\u00a0\u00a0\u00a0111\n+A base value for MPI tags.\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00005_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00005_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vmp.h Source File\n+MALOC: vcom.h Source File\n \n \n \n \n \n \n
\n@@ -44,89 +44,114 @@\n \n
\n \n
\n
\n
\n-
vmp.h
\n+
vcom.h
\n
\n
\n Go to the documentation of this file.
1
\n-
37#ifndef _VMP_H_
\n-
38#define _VMP_H_
\n-
39
\n-
40#include <maloc/maloc_base.h>
\n-
41
\n-
42#include <maloc/vsys.h>
\n-
43#include <maloc/vmpi.h>
\n-
44#include <maloc/vcom.h>
\n-
45
\n-
46/*
\n-
47 * ***************************************************************************
\n-
48 * Class Vmp: Parameters and datatypes
\n+
38#ifndef _VCOM_H_
\n+
39#define _VCOM_H_
\n+
40
\n+
41#include <maloc/maloc_base.h>
\n+
42
\n+
43#include <maloc/vsys.h>
\n+
44
\n+
46#define VCOM_MPI_TAG 111
\n+
47
\n+
48/*
\n
49 * ***************************************************************************
\n-
50 */
\n-
51
\n-
\n-
58struct sVmp {
\n-\n-\n-
61};
\n+
50 * Class Vcom: Parameters and datatypes
\n+
51 * ***************************************************************************
\n+
52 */
\n+
53
\n+
\n+
60struct sVcom {
\n+
61
\n+\n+\n+
66
\n+
71 int type;
\n+
73 int error;
\n+
75 void *core;
\n+
76
\n+
77};
\n
\n-
62
\n-
68typedef struct sVmp Vmp;
\n-
69
\n-
70/*
\n-
71 * ***************************************************************************
\n-
72 * Class Vmp: Inlineable methods (vmp.c)
\n-
73 * ***************************************************************************
\n-
74 */
\n-
75
\n-
76#if !defined(VINLINE_MALOC)
\n-
77#else /* if defined(VINLINE_MALOC) */
\n-
78#endif /* if !defined(VINLINE_MALOC) */
\n-
79
\n-
80
\n-
90int Vmp_init(int *argc, char ***argv);
\n-
91
\n-
99int Vmp_finalize(void);
\n-
100
\n-\n-
109
\n-
118void Vmp_dtor(Vmp **thee);
\n-
119
\n-
128int Vmp_rank(Vmp *thee);
\n-
129
\n-
138int Vmp_size(Vmp *thee);
\n-
139
\n-
148int Vmp_barr(Vmp *thee);
\n-
149
\n-
161int Vmp_send(Vmp *thee, int des, char *buf, int bufsize);
\n+
78
\n+
85typedef struct sVcom Vcom;
\n+
86
\n+
87/*
\n+
88 * ***************************************************************************
\n+
89 * Class Vcom: Inlineable methods (vcom.c)
\n+
90 * ***************************************************************************
\n+
91 */
\n+
92
\n+
93#if !defined(VINLINE_MALOC)
\n+
94#else /* if defined(VINLINE_MALOC) */
\n+
95#endif /* if !defined(VINLINE_MALOC) */
\n+
96
\n+
97
\n+
107int Vcom_init(int *argc, char ***argv);
\n+
108
\n+\n+
117
\n+
127Vcom* Vcom_ctor(int commtype);
\n+
128
\n+
140int Vcom_ctor2(Vcom* thee, int commtype);
\n+
141
\n+
150void Vcom_dtor(Vcom **thee);
\n+
151
\n+
161void Vcom_dtor2(Vcom *thee);
\n
162
\n-
174int Vmp_recv(Vmp *thee, int src, char *buf, int bufsize);
\n-
175
\n-
176#endif /* _VMP_H_ */
\n-
177
\n+
177int Vcom_send(Vcom *thee, int des, void *buf, int len, int type,
\n+
178 int block);
\n+
179
\n+
197int Vcom_recv(Vcom *thee, int src, void *buf, int len, int type,
\n+
198 int block);
\n+
199
\n+
214int Vcom_getCount(Vcom *thee, int src, int *length, int type);
\n+
215
\n+
237int Vcom_reduce(Vcom *thee, void *sendbuf, void *recvbuf, int length,
\n+
238 int type, int op);
\n+
239
\n+
248int Vcom_size(Vcom *thee);
\n+
249
\n+
261int Vcom_resize(Vcom *thee, int newsize);
\n+
262
\n+
271int Vcom_rank(Vcom *thee);
\n+
272
\n+
281int Vcom_barr(Vcom *thee);
\n+
282
\n+
283#endif /* _VCOM_H_ */
\n+
284
\n
The base (or foundation) header for MALOC.
\n-
Class Vmpi: a Virtual MPI communication layer object.
\n-
Class Vcom: virtual (currently just MPI) communications layer.
\n-
The primary header for VSYS. (Virtual SYStem utilities library.)
\n-
int Vmp_finalize(void)
The Vmp finalizer.
\n-
int Vmp_send(Vmp *thee, int des, char *buf, int bufsize)
An MPI blocking send.
\n-
int Vmp_init(int *argc, char ***argv)
The Vmp initializer.
\n-
int Vmp_rank(Vmp *thee)
Return my processor ID.
\n-
int Vmp_recv(Vmp *thee, int src, char *buf, int bufsize)
An MPI blocking receive.
\n-
Vmp * Vmp_ctor(void)
The Vmp constructor.
\n-
void Vmp_dtor(Vmp **thee)
The Vmp destructor.
\n-
int Vmp_barr(Vmp *thee)
An MPI barrier.
\n-
int Vmp_size(Vmp *thee)
Return the number of processors involved.
\n-
Contains public data members for Vmp class.
Definition vmp.h:58
\n-
int mpi_rank
Definition vmp.h:59
\n-
int mpi_size
Definition vmp.h:60
\n+
The primary header for VSYS. (Virtual SYStem utilities library.)
\n+
int Vcom_rank(Vcom *thee)
Get the ID of the local PE
\n+
int Vcom_resize(Vcom *thee, int newsize)
Resize (shrink) the communications group to include only newsize number of processors....
\n+
int Vcom_ctor2(Vcom *thee, int commtype)
Construct the communications object. This routine sets up data members of class and initializes MPI....
\n+
int Vcom_size(Vcom *thee)
Get the number of PEs in communicator.
\n+
int Vcom_reduce(Vcom *thee, void *sendbuf, void *recvbuf, int length, int type, int op)
Perform a reduction of the data across all processors. This is equivalent (and in the case of MPI is ...
\n+
Vcom * Vcom_ctor(int commtype)
Construct the communications object. This routine sets up data members of class and initializes MPI.
\n+
int Vcom_init(int *argc, char ***argv)
The Vmp initializer.
\n+
int Vcom_finalize(void)
The Vmp finalizer.
\n+
int Vcom_barr(Vcom *thee)
Synchronization barrier.
\n+
void Vcom_dtor(Vcom **thee)
Destroy the communications object.
\n+
int Vcom_recv(Vcom *thee, int src, void *buf, int len, int type, int block)
Receive a (character) buffer. The blocking flag is present, but not used. All receives are assumed ...
\n+
int Vcom_getCount(Vcom *thee, int src, int *length, int type)
Perform a blocking probe to get the length (in number of items of specified type) of an incoming mess...
\n+
int Vcom_send(Vcom *thee, int des, void *buf, int len, int type, int block)
Send a buffer. Returns 1 on success.
\n+
void Vcom_dtor2(Vcom *thee)
Destroy the communications object. This is broken into two parts to be callable from FORTRAN.
\n+
Contains public data members for Vcom class.
Definition vcom.h:60
\n+
int type
Communication type. 0 = not initialized 1 = Message Passing Interface 1.1.
Definition vcom.h:71
\n+
int error
note if any error has occurred on this vcom device
Definition vcom.h:73
\n+
int mpi_size
Total number of PEs in this communicator from MPI.
Definition vcom.h:65
\n+
void * core
Private MPI core.
Definition vcom.h:75
\n+
int mpi_rank
Local PE rank from MPI.
Definition vcom.h:63
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,110 +1,162 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bp_\bs_\bh\n * _\bm_\ba_\bl_\bo_\bc\n-vmp.h\n+vcom.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-37#ifndef _VMP_H_\n-38#define _VMP_H_\n-39\n-40#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-41\n-42#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\bi_\b._\bh>\n-44#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bc_\bo_\bm_\b._\bh>\n-45\n-46/*\n-47 *\n-***************************************************************************\n-48 * Class Vmp: Parameters and datatypes\n+38#ifndef _VCOM_H_\n+39#define _VCOM_H_\n+40\n+41#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+42\n+43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n+44\n+_\b4_\b6#define VCOM_MPI_TAG 111\n+47\n+48/*\n 49 *\n ***************************************************************************\n-50 */\n-51\n-_\b5_\b8struct _\bs_\bV_\bm_\bp {\n-_\b5_\b9 int _\bm_\bp_\bi_\b__\br_\ba_\bn_\bk;\n-_\b6_\b0 int _\bm_\bp_\bi_\b__\bs_\bi_\bz_\be;\n-61};\n-62\n-_\b6_\b8typedef struct _\bs_\bV_\bm_\bp _\bV_\bm_\bp;\n-69\n-70/*\n-71 *\n+50 * Class Vcom: Parameters and datatypes\n+51 *\n+***************************************************************************\n+52 */\n+53\n+_\b6_\b0struct _\bs_\bV_\bc_\bo_\bm {\n+61\n+_\b6_\b3 int _\bm_\bp_\bi_\b__\br_\ba_\bn_\bk;\n+_\b6_\b5 int _\bm_\bp_\bi_\b__\bs_\bi_\bz_\be;\n+66\n+_\b7_\b1 int _\bt_\by_\bp_\be;\n+_\b7_\b3 int _\be_\br_\br_\bo_\br;\n+_\b7_\b5 void *_\bc_\bo_\br_\be;\n+76\n+77};\n+78\n+_\b8_\b5typedef struct _\bs_\bV_\bc_\bo_\bm _\bV_\bc_\bo_\bm;\n+86\n+87/*\n+88 *\n ***************************************************************************\n-72 * Class Vmp: Inlineable methods (vmp.c)\n-73 *\n+89 * Class Vcom: Inlineable methods (vcom.c)\n+90 *\n ***************************************************************************\n-74 */\n-75\n-76#if !defined(VINLINE_MALOC)\n-77#else /* if defined(VINLINE_MALOC) */\n-78#endif /* if !defined(VINLINE_MALOC) */\n-79\n-80\n-_\b9_\b0int _\bV_\bm_\bp_\b__\bi_\bn_\bi_\bt(int *argc, char ***argv);\n-91\n-_\b9_\b9int _\bV_\bm_\bp_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be(void);\n-100\n-_\b1_\b0_\b8_\bV_\bm_\bp* _\bV_\bm_\bp_\b__\bc_\bt_\bo_\br(void);\n-109\n-_\b1_\b1_\b8void _\bV_\bm_\bp_\b__\bd_\bt_\bo_\br(_\bV_\bm_\bp **thee);\n-119\n-_\b1_\b2_\b8int _\bV_\bm_\bp_\b__\br_\ba_\bn_\bk(_\bV_\bm_\bp *thee);\n-129\n-_\b1_\b3_\b8int _\bV_\bm_\bp_\b__\bs_\bi_\bz_\be(_\bV_\bm_\bp *thee);\n-139\n-_\b1_\b4_\b8int _\bV_\bm_\bp_\b__\bb_\ba_\br_\br(_\bV_\bm_\bp *thee);\n-149\n-_\b1_\b6_\b1int _\bV_\bm_\bp_\b__\bs_\be_\bn_\bd(_\bV_\bm_\bp *thee, int des, char *buf, int bufsize);\n+91 */\n+92\n+93#if !defined(VINLINE_MALOC)\n+94#else /* if defined(VINLINE_MALOC) */\n+95#endif /* if !defined(VINLINE_MALOC) */\n+96\n+97\n+_\b1_\b0_\b7int _\bV_\bc_\bo_\bm_\b__\bi_\bn_\bi_\bt(int *argc, char ***argv);\n+108\n+_\b1_\b1_\b6int _\bV_\bc_\bo_\bm_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be(void);\n+117\n+_\b1_\b2_\b7_\bV_\bc_\bo_\bm* _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br(int commtype);\n+128\n+_\b1_\b4_\b0int _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br_\b2(_\bV_\bc_\bo_\bm* thee, int commtype);\n+141\n+_\b1_\b5_\b0void _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br(_\bV_\bc_\bo_\bm **thee);\n+151\n+_\b1_\b6_\b1void _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br_\b2(_\bV_\bc_\bo_\bm *thee);\n 162\n-_\b1_\b7_\b4int _\bV_\bm_\bp_\b__\br_\be_\bc_\bv(_\bV_\bm_\bp *thee, int src, char *buf, int bufsize);\n-175\n-176#endif /* _VMP_H_ */\n-177\n+_\b1_\b7_\b7int _\bV_\bc_\bo_\bm_\b__\bs_\be_\bn_\bd(_\bV_\bc_\bo_\bm *thee, int des, void *buf, int len, int _\bt_\by_\bp_\be,\n+178 int block);\n+179\n+_\b1_\b9_\b7int _\bV_\bc_\bo_\bm_\b__\br_\be_\bc_\bv(_\bV_\bc_\bo_\bm *thee, int src, void *buf, int len, int _\bt_\by_\bp_\be,\n+198 int block);\n+199\n+_\b2_\b1_\b4int _\bV_\bc_\bo_\bm_\b__\bg_\be_\bt_\bC_\bo_\bu_\bn_\bt(_\bV_\bc_\bo_\bm *thee, int src, int *length, int _\bt_\by_\bp_\be);\n+215\n+_\b2_\b3_\b7int _\bV_\bc_\bo_\bm_\b__\br_\be_\bd_\bu_\bc_\be(_\bV_\bc_\bo_\bm *thee, void *sendbuf, void *recvbuf, int length,\n+238 int _\bt_\by_\bp_\be, int op);\n+239\n+_\b2_\b4_\b8int _\bV_\bc_\bo_\bm_\b__\bs_\bi_\bz_\be(_\bV_\bc_\bo_\bm *thee);\n+249\n+_\b2_\b6_\b1int _\bV_\bc_\bo_\bm_\b__\br_\be_\bs_\bi_\bz_\be(_\bV_\bc_\bo_\bm *thee, int newsize);\n+262\n+_\b2_\b7_\b1int _\bV_\bc_\bo_\bm_\b__\br_\ba_\bn_\bk(_\bV_\bc_\bo_\bm *thee);\n+272\n+_\b2_\b8_\b1int _\bV_\bc_\bo_\bm_\b__\bb_\ba_\br_\br(_\bV_\bc_\bo_\bm *thee);\n+282\n+283#endif /* _VCOM_H_ */\n+284\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n-_\bv_\bm_\bp_\bi_\b._\bh\n-Class Vmpi: a Virtual MPI communication layer object.\n-_\bv_\bc_\bo_\bm_\b._\bh\n-Class Vcom: virtual (currently just MPI) communications layer.\n _\bv_\bs_\by_\bs_\b._\bh\n The primary header for VSYS. (Virtual SYStem utilities library.)\n-_\bV_\bm_\bp_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be\n-int Vmp_finalize(void)\n-The Vmp finalizer.\n-_\bV_\bm_\bp_\b__\bs_\be_\bn_\bd\n-int Vmp_send(Vmp *thee, int des, char *buf, int bufsize)\n-An MPI blocking send.\n-_\bV_\bm_\bp_\b__\bi_\bn_\bi_\bt\n-int Vmp_init(int *argc, char ***argv)\n+_\bV_\bc_\bo_\bm_\b__\br_\ba_\bn_\bk\n+int Vcom_rank(Vcom *thee)\n+Get the ID of the local PE\n+_\bV_\bc_\bo_\bm_\b__\br_\be_\bs_\bi_\bz_\be\n+int Vcom_resize(Vcom *thee, int newsize)\n+Resize (shrink) the communications group to include only newsize number of\n+processors....\n+_\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br_\b2\n+int Vcom_ctor2(Vcom *thee, int commtype)\n+Construct the communications object. This routine sets up data members of class\n+and initializes MPI....\n+_\bV_\bc_\bo_\bm_\b__\bs_\bi_\bz_\be\n+int Vcom_size(Vcom *thee)\n+Get the number of PEs in communicator.\n+_\bV_\bc_\bo_\bm_\b__\br_\be_\bd_\bu_\bc_\be\n+int Vcom_reduce(Vcom *thee, void *sendbuf, void *recvbuf, int length, int type,\n+int op)\n+Perform a reduction of the data across all processors. This is equivalent (and\n+in the case of MPI is ...\n+_\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br\n+Vcom * Vcom_ctor(int commtype)\n+Construct the communications object. This routine sets up data members of class\n+and initializes MPI.\n+_\bV_\bc_\bo_\bm_\b__\bi_\bn_\bi_\bt\n+int Vcom_init(int *argc, char ***argv)\n The Vmp initializer.\n-_\bV_\bm_\bp_\b__\br_\ba_\bn_\bk\n-int Vmp_rank(Vmp *thee)\n-Return my processor ID.\n-_\bV_\bm_\bp_\b__\br_\be_\bc_\bv\n-int Vmp_recv(Vmp *thee, int src, char *buf, int bufsize)\n-An MPI blocking receive.\n-_\bV_\bm_\bp_\b__\bc_\bt_\bo_\br\n-Vmp * Vmp_ctor(void)\n-The Vmp constructor.\n-_\bV_\bm_\bp_\b__\bd_\bt_\bo_\br\n-void Vmp_dtor(Vmp **thee)\n-The Vmp destructor.\n-_\bV_\bm_\bp_\b__\bb_\ba_\br_\br\n-int Vmp_barr(Vmp *thee)\n-An MPI barrier.\n-_\bV_\bm_\bp_\b__\bs_\bi_\bz_\be\n-int Vmp_size(Vmp *thee)\n-Return the number of processors involved.\n-_\bs_\bV_\bm_\bp\n-Contains public data members for Vmp class.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmp.h:58\n-_\bs_\bV_\bm_\bp_\b:_\b:_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n-int mpi_rank\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmp.h:59\n-_\bs_\bV_\bm_\bp_\b:_\b:_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n+_\bV_\bc_\bo_\bm_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be\n+int Vcom_finalize(void)\n+The Vmp finalizer.\n+_\bV_\bc_\bo_\bm_\b__\bb_\ba_\br_\br\n+int Vcom_barr(Vcom *thee)\n+Synchronization barrier.\n+_\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br\n+void Vcom_dtor(Vcom **thee)\n+Destroy the communications object.\n+_\bV_\bc_\bo_\bm_\b__\br_\be_\bc_\bv\n+int Vcom_recv(Vcom *thee, int src, void *buf, int len, int type, int block)\n+Receive a (character) buffer. The blocking flag is present, but not used. All\n+receives are assumed ...\n+_\bV_\bc_\bo_\bm_\b__\bg_\be_\bt_\bC_\bo_\bu_\bn_\bt\n+int Vcom_getCount(Vcom *thee, int src, int *length, int type)\n+Perform a blocking probe to get the length (in number of items of specified\n+type) of an incoming mess...\n+_\bV_\bc_\bo_\bm_\b__\bs_\be_\bn_\bd\n+int Vcom_send(Vcom *thee, int des, void *buf, int len, int type, int block)\n+Send a buffer. Returns 1 on success.\n+_\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br_\b2\n+void Vcom_dtor2(Vcom *thee)\n+Destroy the communications object. This is broken into two parts to be callable\n+from FORTRAN.\n+_\bs_\bV_\bc_\bo_\bm\n+Contains public data members for Vcom class.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:60\n+_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bt_\by_\bp_\be\n+int type\n+Communication type. 0 = not initialized 1 = Message Passing Interface 1.1.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:71\n+_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\be_\br_\br_\bo_\br\n+int error\n+note if any error has occurred on this vcom device\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:73\n+_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n int mpi_size\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmp.h:60\n+Total number of PEs in this communicator from MPI.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:65\n+_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bc_\bo_\br_\be\n+void * core\n+Private MPI core.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:75\n+_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n+int mpi_rank\n+Local PE rank from MPI.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:63\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00006.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00006.dot.gz", "unified_diff": null, "details": [{"source1": "a00006.dot", "source2": "a00006.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vmp.h\"\n+digraph \"vcom.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vmp.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node1 [id=\"Node000001\",label=\"vcom.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -34,36 +34,28 @@\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node19 [id=\"edge19_Node000018_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node20 [id=\"edge21_Node000018_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node21 [id=\"edge23_Node000018_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node21 -> Node2 [id=\"edge24_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node21 -> Node19 [id=\"edge25_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node22 [id=\"edge26_Node000018_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node22 -> Node2 [id=\"edge27_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node19 [id=\"edge28_Node000022_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node20 [id=\"edge29_Node000022_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node23 [id=\"edge30_Node000018_Node000023\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node23 -> Node2 [id=\"edge31_Node000023_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node24 [id=\"edge32_Node000001_Node000024\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node24 [id=\"Node000024\",label=\"maloc/vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node24 -> Node2 [id=\"edge33_Node000024_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node24 -> Node18 [id=\"edge34_Node000024_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node25 [id=\"edge35_Node000001_Node000025\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node25 [id=\"Node000025\",label=\"maloc/vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node25 -> Node2 [id=\"edge36_Node000025_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node25 -> Node18 [id=\"edge37_Node000025_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00007.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00007.dot", "unified_diff": "@@ -1,12 +1,14 @@\n-digraph \"vmp.h\"\n+digraph \"vcom.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vmp.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node1 [id=\"Node000001\",label=\"vcom.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node2 [id=\"Node000002\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00008.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00008.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vmpi.h File Reference\n+MALOC: psh.h File Reference\n \n \n \n \n \n \n
\n@@ -40,98 +40,50 @@\n
\n \n
\n
\n
\n \n-
vmpi.h File Reference
\n+
psh.h File Reference
\n
\n
\n \n-

Class Vmpi: a Virtual MPI communication layer object. \n+

Header file for a simple parallel extension of ALOC's VSH. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vsys.h>
\n+#include <maloc/vsys.h>
\n+#include <maloc/vsh.h>
\n+#include <maloc/vmp.h>
\n
\n-Include dependency graph for vmpi.h:
\n+Include dependency graph for psh.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n-\n-\n-\n-\n-

\n-Classes

struct  sVmpi
 Class Vmpi: Definition. More...
 
\n-\n-\n-\n-\n-

\n-Typedefs

typedef struct sVmpi Vmpi
 Declaration of the Vmpi class as the Vmpi structure.
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n

\n Functions

int Vmpi_init (int *argc, char ***argv)
 The Vmp initializer.
 
int Vmpi_finalize (void)
 The Vmp finalizer.
 
VmpiVmpi_ctor (void)
 The Vmpi constructor.
 
void Vmpi_dtor (Vmpi **thee)
 The Vmpi destructor.
 
int Vmpi_rank (Vmpi *thee)
 Return my processor ID.
\n-
 
int Vmpi_size (Vmpi *thee)
 Return the number of processors involved.
 
int Vmpi_barr (Vmpi *thee)
 An MPI barrier.
\n-
 
int Vmpi_send (Vmpi *thee, int des, char *buf, int bufsize)
 An MPI blocking send.
 
int Vmpi_recv (Vmpi *thee, int src, char *buf, int bufsize)
 An MPI blocking receive.
 
int Vmpi_bcast (Vmpi *thee, char *buf, int bufsize)
 An MPI broadcast.
 
int Vmpi_reduce (Vmpi *thee, char *sbuf, char *rbuf, int bufsize)
 An MPI reduce.
\n-
 
int Vmpi_isend (Vmpi *thee, int des, char *buf, int bufsize)
 An MPI non-blocking send.
 
int Vsh_pshell (Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int argc, char **argv))
 Drop-in replacement for Vsh_shell giving parallel extensions.
 
\n

Detailed Description

\n-

Class Vmpi: a Virtual MPI communication layer object.

\n+

Header file for a simple parallel extension of ALOC's VSH.

\n
Author
Michael Holst
\n
Note
None
\n
Version
\n-
Id
vmpi.h,v 1.29 2010/08/12 05:40:23 fetk Exp
\n+
Id
psh.h,v 1.28 2010/08/12 05:40:23 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,77 +1,36 @@\n MALOC\u00a00.1\n     * _\bs_\br_\bc\n     * _\bp_\bs_\bh\n     * _\bm_\ba_\bl_\bo_\bc\n-_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vmpi.h File Reference\n-_\bV_\bm_\bp_\bi_\b _\bc_\bl_\ba_\bs_\bs\n-Class Vmpi: a Virtual MPI communication layer object. _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+psh.h File Reference\n+_\bV_\bs_\bh_\b _\bc_\bl_\ba_\bs_\bs\n+Header file for a simple parallel extension of ALOC's VSH. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-Include dependency graph for vmpi.h:\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\bh_\b._\bh>\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\b._\bh>\n+Include dependency graph for psh.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n-C\bCl\bla\bas\bss\bse\bes\bs\n-struct \u00a0 _\bs_\bV_\bm_\bp_\bi\n-\u00a0        Class Vmpi: Definition. _\bM_\bo_\br_\be_\b._\b._\b.\n-\u00a0\n-T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n-typedef struct _\bs_\bV_\bm_\bp_\bi\u00a0 _\bV_\bm_\bp_\bi\n-\u00a0                     Declaration of the Vmpi class as the Vmpi structure.\n-\u00a0\n F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bi_\bn_\bi_\bt (int *argc, char ***argv)\n-\u00a0       The Vmp initializer.\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be (void)\n-\u00a0       The Vmp finalizer.\n-\u00a0\n-_\bV_\bm_\bp_\bi *\u00a0 _\bV_\bm_\bp_\bi_\b__\bc_\bt_\bo_\br (void)\n-\u00a0       The Vmpi constructor.\n-\u00a0\n-  void\u00a0 _\bV_\bm_\bp_\bi_\b__\bd_\bt_\bo_\br (_\bV_\bm_\bp_\bi **thee)\n-\u00a0       The Vmpi destructor.\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk (_\bV_\bm_\bp_\bi *thee)\n-\u00a0       Return my processor ID.\n-\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be (_\bV_\bm_\bp_\bi *thee)\n-\u00a0       Return the number of processors involved.\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bb_\ba_\br_\br (_\bV_\bm_\bp_\bi *thee)\n-\u00a0       An MPI barrier.\n-\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bs_\be_\bn_\bd (_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize)\n-\u00a0       An MPI blocking send.\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\br_\be_\bc_\bv (_\bV_\bm_\bp_\bi *thee, int src, char *buf, int bufsize)\n-\u00a0       An MPI blocking receive.\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bb_\bc_\ba_\bs_\bt (_\bV_\bm_\bp_\bi *thee, char *buf, int bufsize)\n-\u00a0       An MPI broadcast.\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\br_\be_\bd_\bu_\bc_\be (_\bV_\bm_\bp_\bi *thee, char *sbuf, char *rbuf, int bufsize)\n-\u00a0       An MPI reduce.\n-\n-\u00a0\n-   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bi_\bs_\be_\bn_\bd (_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize)\n-\u00a0       An MPI non-blocking send.\n+int\u00a0 _\bV_\bs_\bh_\b__\bp_\bs_\bh_\be_\bl_\bl (_\bV_\bs_\bh *thee, char *pPR, void *pthee, int(*builtin)(void *thee,\n+     int argc, char **argv))\n+\u00a0    Drop-in replacement for Vsh_shell giving parallel extensions.\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Class Vmpi: a Virtual MPI communication layer object.\n+Header file for a simple parallel extension of ALOC's VSH.\n   Author\n       Michael Holst\n   Note\n       None\n   Version\n   Id\n-      _\bv_\bm_\bp_\bi_\b._\bh,v 1.29 2010/08/12 05:40:23 fetk Exp\n+      _\bp_\bs_\bh_\b._\bh,v 1.28 2010/08/12 05:40:23 fetk Exp\n   Attention\n       *\n       * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n       * Copyright (C) 1994-- Michael Holst\n       *\n       * This library is free software; you can redistribute it and/or\n       * modify it under the terms of the GNU Lesser General Public\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00008_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00008_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vmpi.h Source File\n+MALOC: psh.h Source File\n \n \n \n \n \n \n 
\n@@ -44,94 +44,38 @@\n \n
\n \n
\n
\n
\n-
vmpi.h
\n+
psh.h
\n
\n
\n Go to the documentation of this file.
1
\n-
38#ifndef _VMPI_H_
\n-
39#define _VMPI_H_
\n+
32#ifndef _PSH_H_
\n+
33#define _PSH_H_
\n+
34
\n+
35#include <maloc/maloc_base.h>
\n+
36
\n+
37#include <maloc/vsys.h>
\n+
38#include <maloc/vsh.h>
\n+
39#include <maloc/vmp.h>
\n
40
\n-
41#include <maloc/maloc_base.h>
\n-
42
\n-
43#include <maloc/vsys.h>
\n-
44
\n-
45/*
\n-
46 * ***************************************************************************
\n-
47 * Class Vmpi: Parameters and datatypes
\n-
48 * ***************************************************************************
\n-
49 */
\n-
50
\n-
51
\n-
\n-
57struct sVmpi {
\n-\n-\n-
60};
\n-
\n-
61
\n-
67typedef struct sVmpi Vmpi;
\n-
68
\n-
69/*
\n-
70 * ***************************************************************************
\n-
71 * Class Vmpi: Inlineable methods (vmpi.c)
\n-
72 * ***************************************************************************
\n-
73 */
\n-
74
\n-
75#if !defined(VINLINE_MALOC)
\n-
76#else /* if defined(VINLINE_MALOC) */
\n-
77#endif /* if !defined(VINLINE_MALOC) */
\n-
78
\n-
88int Vmpi_init(int *argc, char ***argv);
\n-
89
\n-
97int Vmpi_finalize(void);
\n-
98
\n-\n-
107
\n-
116void Vmpi_dtor(Vmpi **thee);
\n-
117
\n-
126int Vmpi_rank(Vmpi *thee);
\n-
127
\n-
136int Vmpi_size(Vmpi *thee);
\n-
137
\n-
146int Vmpi_barr(Vmpi *thee);
\n-
147
\n-
159int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize);
\n-
160
\n-
172int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize);
\n-
173
\n-
184int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize);
\n-
185
\n-
197int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize);
\n-
198
\n-
210int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize);
\n-
211
\n-
212#endif /* _VMPI_H_ */
\n-
213
\n+
52int Vsh_pshell(Vsh *thee, char *pPR, void *pthee,
\n+
53 int (*builtin)(void *thee, int argc, char **argv));
\n+
54
\n+
55#endif /* _PSH_H_ */
\n+
56
\n
The base (or foundation) header for MALOC.
\n-
The primary header for VSYS. (Virtual SYStem utilities library.)
\n-
int Vmpi_init(int *argc, char ***argv)
The Vmp initializer.
\n-
int Vmpi_finalize(void)
The Vmp finalizer.
\n-
int Vmpi_size(Vmpi *thee)
Return the number of processors involved.
\n-
int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize)
An MPI reduce.
\n-
int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize)
An MPI blocking receive.
\n-
int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize)
An MPI non-blocking send.
\n-
void Vmpi_dtor(Vmpi **thee)
The Vmpi destructor.
\n-
int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize)
An MPI blocking send.
\n-
Vmpi * Vmpi_ctor(void)
The Vmpi constructor.
\n-
int Vmpi_barr(Vmpi *thee)
An MPI barrier.
\n-
int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize)
An MPI broadcast.
\n-
int Vmpi_rank(Vmpi *thee)
Return my processor ID.
\n-
Class Vmpi: Definition.
Definition vmpi.h:57
\n-
int mpi_rank
Definition vmpi.h:58
\n-
int mpi_size
Definition vmpi.h:59
\n+
Class Vmp: a Virtual MPI communication layer object.
\n+
Header file for vsh, a bourne-compatible shell.
\n+
The primary header for VSYS. (Virtual SYStem utilities library.)
\n+
int Vsh_pshell(Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int argc, char **argv))
Drop-in replacement for Vsh_shell giving parallel extensions.
\n+
Contains public data members for Vsh class.
Definition vsh.h:56
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,119 +1,38 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bp_\bs_\bh\n * _\bm_\ba_\bl_\bo_\bc\n-vmpi.h\n+psh.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-38#ifndef _VMPI_H_\n-39#define _VMPI_H_\n+32#ifndef _PSH_H_\n+33#define _PSH_H_\n+34\n+35#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+36\n+37#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n+38#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\bh_\b._\bh>\n+39#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\b._\bh>\n 40\n-41#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-42\n-43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-44\n-45/*\n-46 *\n-***************************************************************************\n-47 * Class Vmpi: Parameters and datatypes\n-48 *\n-***************************************************************************\n-49 */\n-50\n-51\n-_\b5_\b7struct _\bs_\bV_\bm_\bp_\bi {\n-_\b5_\b8 int _\bm_\bp_\bi_\b__\br_\ba_\bn_\bk;\n-_\b5_\b9 int _\bm_\bp_\bi_\b__\bs_\bi_\bz_\be;\n-60};\n-61\n-_\b6_\b7typedef struct _\bs_\bV_\bm_\bp_\bi _\bV_\bm_\bp_\bi;\n-68\n-69/*\n-70 *\n-***************************************************************************\n-71 * Class Vmpi: Inlineable methods (vmpi.c)\n-72 *\n-***************************************************************************\n-73 */\n-74\n-75#if !defined(VINLINE_MALOC)\n-76#else /* if defined(VINLINE_MALOC) */\n-77#endif /* if !defined(VINLINE_MALOC) */\n-78\n-_\b8_\b8int _\bV_\bm_\bp_\bi_\b__\bi_\bn_\bi_\bt(int *argc, char ***argv);\n-89\n-_\b9_\b7int _\bV_\bm_\bp_\bi_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be(void);\n-98\n-_\b1_\b0_\b6_\bV_\bm_\bp_\bi* _\bV_\bm_\bp_\bi_\b__\bc_\bt_\bo_\br(void);\n-107\n-_\b1_\b1_\b6void _\bV_\bm_\bp_\bi_\b__\bd_\bt_\bo_\br(_\bV_\bm_\bp_\bi **thee);\n-117\n-_\b1_\b2_\b6int _\bV_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk(_\bV_\bm_\bp_\bi *thee);\n-127\n-_\b1_\b3_\b6int _\bV_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be(_\bV_\bm_\bp_\bi *thee);\n-137\n-_\b1_\b4_\b6int _\bV_\bm_\bp_\bi_\b__\bb_\ba_\br_\br(_\bV_\bm_\bp_\bi *thee);\n-147\n-_\b1_\b5_\b9int _\bV_\bm_\bp_\bi_\b__\bs_\be_\bn_\bd(_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize);\n-160\n-_\b1_\b7_\b2int _\bV_\bm_\bp_\bi_\b__\br_\be_\bc_\bv(_\bV_\bm_\bp_\bi *thee, int src, char *buf, int bufsize);\n-173\n-_\b1_\b8_\b4int _\bV_\bm_\bp_\bi_\b__\bb_\bc_\ba_\bs_\bt(_\bV_\bm_\bp_\bi *thee, char *buf, int bufsize);\n-185\n-_\b1_\b9_\b7int _\bV_\bm_\bp_\bi_\b__\br_\be_\bd_\bu_\bc_\be(_\bV_\bm_\bp_\bi *thee, char *sbuf, char *rbuf, int bufsize);\n-198\n-_\b2_\b1_\b0int _\bV_\bm_\bp_\bi_\b__\bi_\bs_\be_\bn_\bd(_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize);\n-211\n-212#endif /* _VMPI_H_ */\n-213\n+_\b5_\b2int _\bV_\bs_\bh_\b__\bp_\bs_\bh_\be_\bl_\bl(_\bV_\bs_\bh *thee, char *pPR, void *pthee,\n+53 int (*builtin)(void *thee, int argc, char **argv));\n+54\n+55#endif /* _PSH_H_ */\n+56\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n+_\bv_\bm_\bp_\b._\bh\n+Class Vmp: a Virtual MPI communication layer object.\n+_\bv_\bs_\bh_\b._\bh\n+Header file for vsh, a bourne-compatible shell.\n _\bv_\bs_\by_\bs_\b._\bh\n The primary header for VSYS. (Virtual SYStem utilities library.)\n-_\bV_\bm_\bp_\bi_\b__\bi_\bn_\bi_\bt\n-int Vmpi_init(int *argc, char ***argv)\n-The Vmp initializer.\n-_\bV_\bm_\bp_\bi_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be\n-int Vmpi_finalize(void)\n-The Vmp finalizer.\n-_\bV_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n-int Vmpi_size(Vmpi *thee)\n-Return the number of processors involved.\n-_\bV_\bm_\bp_\bi_\b__\br_\be_\bd_\bu_\bc_\be\n-int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize)\n-An MPI reduce.\n-_\bV_\bm_\bp_\bi_\b__\br_\be_\bc_\bv\n-int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize)\n-An MPI blocking receive.\n-_\bV_\bm_\bp_\bi_\b__\bi_\bs_\be_\bn_\bd\n-int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize)\n-An MPI non-blocking send.\n-_\bV_\bm_\bp_\bi_\b__\bd_\bt_\bo_\br\n-void Vmpi_dtor(Vmpi **thee)\n-The Vmpi destructor.\n-_\bV_\bm_\bp_\bi_\b__\bs_\be_\bn_\bd\n-int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize)\n-An MPI blocking send.\n-_\bV_\bm_\bp_\bi_\b__\bc_\bt_\bo_\br\n-Vmpi * Vmpi_ctor(void)\n-The Vmpi constructor.\n-_\bV_\bm_\bp_\bi_\b__\bb_\ba_\br_\br\n-int Vmpi_barr(Vmpi *thee)\n-An MPI barrier.\n-_\bV_\bm_\bp_\bi_\b__\bb_\bc_\ba_\bs_\bt\n-int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize)\n-An MPI broadcast.\n-_\bV_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n-int Vmpi_rank(Vmpi *thee)\n-Return my processor ID.\n-_\bs_\bV_\bm_\bp_\bi\n-Class Vmpi: Definition.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmpi.h:57\n-_\bs_\bV_\bm_\bp_\bi_\b:_\b:_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n-int mpi_rank\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmpi.h:58\n-_\bs_\bV_\bm_\bp_\bi_\b:_\b:_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n-int mpi_size\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmpi.h:59\n+_\bV_\bs_\bh_\b__\bp_\bs_\bh_\be_\bl_\bl\n+int Vsh_pshell(Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int\n+argc, char **argv))\n+Drop-in replacement for Vsh_shell giving parallel extensions.\n+_\bs_\bV_\bs_\bh\n+Contains public data members for Vsh class.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vsh.h:56\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00009.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00009.dot.gz", "unified_diff": null, "details": [{"source1": "a00009.dot", "source2": "a00009.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vmpi.h\"\n+digraph \"psh.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node1 [id=\"Node000001\",label=\"psh.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -34,28 +34,44 @@\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node19 [id=\"edge19_Node000018_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node20 [id=\"edge21_Node000018_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node21 [id=\"edge23_Node000018_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node21 -> Node2 [id=\"edge24_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node21 -> Node19 [id=\"edge25_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node22 [id=\"edge26_Node000018_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node22 -> Node2 [id=\"edge27_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node19 [id=\"edge28_Node000022_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node20 [id=\"edge29_Node000022_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node23 [id=\"edge30_Node000018_Node000023\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node23 -> Node2 [id=\"edge31_Node000023_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node24 [id=\"edge32_Node000001_Node000024\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node24 [id=\"Node000024\",label=\"maloc/vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n+ Node24 -> Node2 [id=\"edge33_Node000024_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node24 -> Node18 [id=\"edge34_Node000024_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node25 [id=\"edge35_Node000001_Node000025\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node25 [id=\"Node000025\",label=\"maloc/vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node25 -> Node2 [id=\"edge36_Node000025_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node25 -> Node18 [id=\"edge37_Node000025_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node25 -> Node26 [id=\"edge38_Node000025_Node000026\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node26 [id=\"Node000026\",label=\"maloc/vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node26 -> Node2 [id=\"edge39_Node000026_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node26 -> Node18 [id=\"edge40_Node000026_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node25 -> Node27 [id=\"edge41_Node000025_Node000027\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node27 [id=\"Node000027\",label=\"maloc/vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node27 -> Node2 [id=\"edge42_Node000027_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node27 -> Node18 [id=\"edge43_Node000027_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00010.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00010.dot", "unified_diff": "@@ -1,14 +1,10 @@\n-digraph \"vmpi.h\"\n+digraph \"psh.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node1 [id=\"Node000001\",label=\"psh.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node2 [id=\"Node000002\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00011.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00011.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vcom.h File Reference\n+MALOC: vmp.h File Reference\n \n \n \n \n \n \n
\n@@ -41,113 +41,91 @@\n \n
\n
\n
\n \n-
vcom.h File Reference
\n+
vmp.h File Reference
\n
\n
\n \n-

Class Vcom: virtual (currently just MPI) communications layer. \n+

Class Vmp: a Virtual MPI communication layer object. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vsys.h>
\n+#include <maloc/vsys.h>
\n+#include <maloc/vmpi.h>
\n+#include <maloc/vcom.h>
\n
\n-Include dependency graph for vcom.h:
\n+Include dependency graph for vmp.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n \n-\n-\n+\n+\n \n

\n Classes

struct  sVcom
 Contains public data members for Vcom class. More...
struct  sVmp
 Contains public data members for Vmp class. More...
 
\n-\n-\n-\n-\n-

\n-Macros

#define VCOM_MPI_TAG   111
 A base value for MPI tags.
 
\n \n-\n-\n-\n+\n+\n+\n

\n Typedefs

typedef struct sVcom Vcom
 Declaration of the Vcom class as the Vcom structure
\n-
 
typedef struct sVmp Vmp
 Declaration of the Vmp class as teh Vmp structure.
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n-\n-\n-\n-\n+\n

\n Functions

int Vcom_init (int *argc, char ***argv)
 The Vmp initializer.
 
int Vcom_finalize (void)
 The Vmp finalizer.
 
VcomVcom_ctor (int commtype)
 Construct the communications object. This routine sets up data members of class and initializes MPI.
 
int Vcom_ctor2 (Vcom *thee, int commtype)
 Construct the communications object. This routine sets up data members of class and initializes MPI. This is broken into two parts to be callable from FORTRAN.
 
void Vcom_dtor (Vcom **thee)
 Destroy the communications object.
 
void Vcom_dtor2 (Vcom *thee)
 Destroy the communications object. This is broken into two parts to be callable from FORTRAN.
 
int Vcom_send (Vcom *thee, int des, void *buf, int len, int type, int block)
 Send a buffer. Returns 1 on success.
 
int Vcom_recv (Vcom *thee, int src, void *buf, int len, int type, int block)
 Receive a (character) buffer.
\n- The blocking flag is present, but not used. All receives are assumed to be blocking. A non-blocking receive would be very ugly to implement (signals or something?).
 
int Vcom_getCount (Vcom *thee, int src, int *length, int type)
 Perform a blocking probe to get the length (in number of items of specified type) of an incoming message and place it in the
\n- argument ``length\".
 
int Vcom_reduce (Vcom *thee, void *sendbuf, void *recvbuf, int length, int type, int op)
 Perform a reduction of the data across all processors. This is equivalent (and in the case of MPI is identical to) MPI_Allreduce. Basically, the specified operations are appleed to each member of
\n- the sendbuf across all processors and the results are written to recvbuf.
 
int Vcom_size (Vcom *thee)
 Get the number of PEs in communicator.
 
int Vcom_resize (Vcom *thee, int newsize)
 Resize (shrink) the communications group to include only newsize number of processors.
\n- Obsolete processes are given rank of -1 and size of 0.
 
int Vcom_rank (Vcom *thee)
 Get the ID of the local PE
\n+
int Vmp_init (int *argc, char ***argv)
 The Vmp initializer.
 
int Vmp_finalize (void)
 The Vmp finalizer.
 
VmpVmp_ctor (void)
 The Vmp constructor.
 
void Vmp_dtor (Vmp **thee)
 The Vmp destructor.
 
int Vmp_rank (Vmp *thee)
 Return my processor ID.
 
int Vmp_size (Vmp *thee)
 Return the number of processors involved.
\n+
 
int Vmp_barr (Vmp *thee)
 An MPI barrier.
\n+
 
int Vmp_send (Vmp *thee, int des, char *buf, int bufsize)
 An MPI blocking send.
\n+
 
int Vmp_recv (Vmp *thee, int src, char *buf, int bufsize)
 An MPI blocking receive.
\n
 
int Vcom_barr (Vcom *thee)
 Synchronization barrier.
 
 
\n

Detailed Description

\n-

Class Vcom: virtual (currently just MPI) communications layer.

\n-
Authors
Nathan Baker and Michael Holst
\n+

Class Vmp: a Virtual MPI communication layer object.

\n+
Author
Michael Holst
\n
Note
None
\n
Version
\n-
Id
vcom.h,v 1.38 2010/08/12 05:40:23 fetk Exp
\n+
Id
vmp.h,v 1.22 2010/08/12 05:40:23 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -159,31 +137,14 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n *  
\n-

Macro Definition Documentation

\n-\n-

◆ VCOM_MPI_TAG

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define VCOM_MPI_TAG   111
\n-
\n-\n-

A base value for MPI tags.

\n-\n-
\n-
\n-
\n+
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,104 +1,71 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bp_\bs_\bh\n * _\bm_\ba_\bl_\bo_\bc\n-_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bM_\ba_\bc_\br_\bo_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vcom.h File Reference\n-_\bV_\bc_\bo_\bm_\b _\bc_\bl_\ba_\bs_\bs\n-Class Vcom: virtual (currently just MPI) communications layer. _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+vmp.h File Reference\n+_\bV_\bm_\bp_\b _\bc_\bl_\ba_\bs_\bs\n+Class Vmp: a Virtual MPI communication layer object. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-Include dependency graph for vcom.h:\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\bi_\b._\bh>\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bc_\bo_\bm_\b._\bh>\n+Include dependency graph for vmp.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n C\bCl\bla\bas\bss\bse\bes\bs\n-struct \u00a0 _\bs_\bV_\bc_\bo_\bm\n-\u00a0 Contains public data members for Vcom class. _\bM_\bo_\br_\be_\b._\b._\b.\n-\u00a0\n-M\bMa\bac\bcr\bro\bos\bs\n-#define\u00a0 _\bV_\bC_\bO_\bM_\b__\bM_\bP_\bI_\b__\bT_\bA_\bG\u00a0\u00a0\u00a0111\n-\u00a0 A base value for MPI tags.\n+struct \u00a0 _\bs_\bV_\bm_\bp\n+\u00a0 Contains public data members for Vmp class. _\bM_\bo_\br_\be_\b._\b._\b.\n \u00a0\n T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n-typedef struct _\bs_\bV_\bc_\bo_\bm\u00a0 _\bV_\bc_\bo_\bm\n-\u00a0 Declaration of the Vcom class as the Vcom structure\n-\n+typedef struct _\bs_\bV_\bm_\bp\u00a0 _\bV_\bm_\bp\n+\u00a0 Declaration of the Vmp class as teh Vmp structure.\n \u00a0\n F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\bi_\bn_\bi_\bt (int *argc, char ***argv)\n-\u00a0 The Vmp initializer.\n+ int\u00a0 _\bV_\bm_\bp_\b__\bi_\bn_\bi_\bt (int *argc, char ***argv)\n+\u00a0 The Vmp initializer.\n+\u00a0\n+ int\u00a0 _\bV_\bm_\bp_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be (void)\n+\u00a0 The Vmp finalizer.\n \u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be (void)\n-\u00a0 The Vmp finalizer.\n+_\bV_\bm_\bp *\u00a0 _\bV_\bm_\bp_\b__\bc_\bt_\bo_\br (void)\n+\u00a0 The Vmp constructor.\n \u00a0\n-_\bV_\bc_\bo_\bm *\u00a0 _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br (int commtype)\n-\u00a0 Construct the communications object. This routine sets up data members\n- of class and initializes MPI.\n-\u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br_\b2 (_\bV_\bc_\bo_\bm *thee, int commtype)\n- Construct the communications object. This routine sets up data members\n-\u00a0 of class and initializes MPI. This is broken into two parts to be\n- callable from FORTRAN.\n-\u00a0\n- void\u00a0 _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br (_\bV_\bc_\bo_\bm **thee)\n-\u00a0 Destroy the communications object.\n-\u00a0\n- void\u00a0 _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br_\b2 (_\bV_\bc_\bo_\bm *thee)\n-\u00a0 Destroy the communications object. This is broken into two parts to be\n- callable from FORTRAN.\n-\u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\bs_\be_\bn_\bd (_\bV_\bc_\bo_\bm *thee, int des, void *buf, int len, int type, int\n- block)\n-\u00a0 Send a buffer. Returns 1 on success.\n-\u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\be_\bc_\bv (_\bV_\bc_\bo_\bm *thee, int src, void *buf, int len, int type, int\n- block)\n- Receive a (character) buffer.\n-\u00a0 The blocking flag is present, but not used. All receives are assumed to\n- be blocking. A non-blocking receive would be v\bve\ber\bry\by ugly to implement\n- (signals or something?).\n-\u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\bg_\be_\bt_\bC_\bo_\bu_\bn_\bt (_\bV_\bc_\bo_\bm *thee, int src, int *length, int type)\n- Perform a blocking probe to get the length (in number of items of\n-\u00a0 specified type) of an incoming message and place it in the\n- argument ``length\".\n-\u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\be_\bd_\bu_\bc_\be (_\bV_\bc_\bo_\bm *thee, void *sendbuf, void *recvbuf, int length, int\n- type, int op)\n- Perform a reduction of the data across all processors. This is\n- equivalent (and in the case of MPI is identical to) MPI_Allreduce.\n-\u00a0 Basically, the specified operations are appleed to each member of\n- the sendbuf across all processors and the results are written to\n- recvbuf.\n-\u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\bs_\bi_\bz_\be (_\bV_\bc_\bo_\bm *thee)\n-\u00a0 Get the number of PEs in communicator.\n-\u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\be_\bs_\bi_\bz_\be (_\bV_\bc_\bo_\bm *thee, int newsize)\n- Resize (shrink) the communications group to include only newsize number\n-\u00a0 of processors.\n- Obsolete processes are given rank of -1 and size of 0.\n+ void\u00a0 _\bV_\bm_\bp_\b__\bd_\bt_\bo_\br (_\bV_\bm_\bp **thee)\n+\u00a0 The Vmp destructor.\n \u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\br_\ba_\bn_\bk (_\bV_\bc_\bo_\bm *thee)\n-\u00a0 Get the ID of the local PE\n+ int\u00a0 _\bV_\bm_\bp_\b__\br_\ba_\bn_\bk (_\bV_\bm_\bp *thee)\n+\u00a0 Return my processor ID.\n+\u00a0\n+ int\u00a0 _\bV_\bm_\bp_\b__\bs_\bi_\bz_\be (_\bV_\bm_\bp *thee)\n+\u00a0 Return the number of processors involved.\n \n \u00a0\n- int\u00a0 _\bV_\bc_\bo_\bm_\b__\bb_\ba_\br_\br (_\bV_\bc_\bo_\bm *thee)\n-\u00a0 Synchronization barrier.\n+ int\u00a0 _\bV_\bm_\bp_\b__\bb_\ba_\br_\br (_\bV_\bm_\bp *thee)\n+\u00a0 An MPI barrier.\n+\n+\u00a0\n+ int\u00a0 _\bV_\bm_\bp_\b__\bs_\be_\bn_\bd (_\bV_\bm_\bp *thee, int des, char *buf, int bufsize)\n+\u00a0 An MPI blocking send.\n+\n+\u00a0\n+ int\u00a0 _\bV_\bm_\bp_\b__\br_\be_\bc_\bv (_\bV_\bm_\bp *thee, int src, char *buf, int bufsize)\n+\u00a0 An MPI blocking receive.\n+\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Class Vcom: virtual (currently just MPI) communications layer.\n- Authors\n- Nathan Baker and Michael Holst\n+Class Vmp: a Virtual MPI communication layer object.\n+ Author\n+ Michael Holst\n Note\n None\n Version\n Id\n- _\bv_\bc_\bo_\bm_\b._\bh,v 1.38 2010/08/12 05:40:23 fetk Exp\n+ _\bv_\bm_\bp_\b._\bh,v 1.22 2010/08/12 05:40:23 fetk Exp\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n@@ -111,13 +78,9 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\n *\n-*\b**\b**\b**\b**\b* M\bMa\bac\bcr\bro\bo D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVC\bCO\bOM\bM_\b_M\bMP\bPI\bI_\b_T\bTA\bAG\bG *\b**\b**\b**\b**\b*\n-#define VCOM_MPI_TAG\u00a0\u00a0\u00a0111\n-A base value for MPI tags.\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00011_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00011_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vcom.h Source File\n+MALOC: vmp.h Source File\n \n \n \n \n \n \n
\n@@ -44,114 +44,89 @@\n \n
\n \n
\n
\n
\n-
vcom.h
\n+
vmp.h
\n
\n
\n Go to the documentation of this file.
1
\n-
38#ifndef _VCOM_H_
\n-
39#define _VCOM_H_
\n-
40
\n-
41#include <maloc/maloc_base.h>
\n-
42
\n-
43#include <maloc/vsys.h>
\n-
44
\n-
46#define VCOM_MPI_TAG 111
\n-
47
\n-
48/*
\n+
37#ifndef _VMP_H_
\n+
38#define _VMP_H_
\n+
39
\n+
40#include <maloc/maloc_base.h>
\n+
41
\n+
42#include <maloc/vsys.h>
\n+
43#include <maloc/vmpi.h>
\n+
44#include <maloc/vcom.h>
\n+
45
\n+
46/*
\n+
47 * ***************************************************************************
\n+
48 * Class Vmp: Parameters and datatypes
\n
49 * ***************************************************************************
\n-
50 * Class Vcom: Parameters and datatypes
\n-
51 * ***************************************************************************
\n-
52 */
\n-
53
\n-
\n-
60struct sVcom {
\n-
61
\n-\n-\n-
66
\n-
71 int type;
\n-
73 int error;
\n-
75 void *core;
\n-
76
\n-
77};
\n+
50 */
\n+
51
\n+
\n+
58struct sVmp {
\n+\n+\n+
61};
\n
\n-
78
\n-
85typedef struct sVcom Vcom;
\n-
86
\n-
87/*
\n-
88 * ***************************************************************************
\n-
89 * Class Vcom: Inlineable methods (vcom.c)
\n-
90 * ***************************************************************************
\n-
91 */
\n-
92
\n-
93#if !defined(VINLINE_MALOC)
\n-
94#else /* if defined(VINLINE_MALOC) */
\n-
95#endif /* if !defined(VINLINE_MALOC) */
\n-
96
\n-
97
\n-
107int Vcom_init(int *argc, char ***argv);
\n-
108
\n-\n-
117
\n-
127Vcom* Vcom_ctor(int commtype);
\n-
128
\n-
140int Vcom_ctor2(Vcom* thee, int commtype);
\n-
141
\n-
150void Vcom_dtor(Vcom **thee);
\n-
151
\n-
161void Vcom_dtor2(Vcom *thee);
\n+
62
\n+
68typedef struct sVmp Vmp;
\n+
69
\n+
70/*
\n+
71 * ***************************************************************************
\n+
72 * Class Vmp: Inlineable methods (vmp.c)
\n+
73 * ***************************************************************************
\n+
74 */
\n+
75
\n+
76#if !defined(VINLINE_MALOC)
\n+
77#else /* if defined(VINLINE_MALOC) */
\n+
78#endif /* if !defined(VINLINE_MALOC) */
\n+
79
\n+
80
\n+
90int Vmp_init(int *argc, char ***argv);
\n+
91
\n+
99int Vmp_finalize(void);
\n+
100
\n+\n+
109
\n+
118void Vmp_dtor(Vmp **thee);
\n+
119
\n+
128int Vmp_rank(Vmp *thee);
\n+
129
\n+
138int Vmp_size(Vmp *thee);
\n+
139
\n+
148int Vmp_barr(Vmp *thee);
\n+
149
\n+
161int Vmp_send(Vmp *thee, int des, char *buf, int bufsize);
\n
162
\n-
177int Vcom_send(Vcom *thee, int des, void *buf, int len, int type,
\n-
178 int block);
\n-
179
\n-
197int Vcom_recv(Vcom *thee, int src, void *buf, int len, int type,
\n-
198 int block);
\n-
199
\n-
214int Vcom_getCount(Vcom *thee, int src, int *length, int type);
\n-
215
\n-
237int Vcom_reduce(Vcom *thee, void *sendbuf, void *recvbuf, int length,
\n-
238 int type, int op);
\n-
239
\n-
248int Vcom_size(Vcom *thee);
\n-
249
\n-
261int Vcom_resize(Vcom *thee, int newsize);
\n-
262
\n-
271int Vcom_rank(Vcom *thee);
\n-
272
\n-
281int Vcom_barr(Vcom *thee);
\n-
282
\n-
283#endif /* _VCOM_H_ */
\n-
284
\n+
174int Vmp_recv(Vmp *thee, int src, char *buf, int bufsize);
\n+
175
\n+
176#endif /* _VMP_H_ */
\n+
177
\n
The base (or foundation) header for MALOC.
\n-
The primary header for VSYS. (Virtual SYStem utilities library.)
\n-
int Vcom_rank(Vcom *thee)
Get the ID of the local PE
\n-
int Vcom_resize(Vcom *thee, int newsize)
Resize (shrink) the communications group to include only newsize number of processors....
\n-
int Vcom_ctor2(Vcom *thee, int commtype)
Construct the communications object. This routine sets up data members of class and initializes MPI....
\n-
int Vcom_size(Vcom *thee)
Get the number of PEs in communicator.
\n-
int Vcom_reduce(Vcom *thee, void *sendbuf, void *recvbuf, int length, int type, int op)
Perform a reduction of the data across all processors. This is equivalent (and in the case of MPI is ...
\n-
Vcom * Vcom_ctor(int commtype)
Construct the communications object. This routine sets up data members of class and initializes MPI.
\n-
int Vcom_init(int *argc, char ***argv)
The Vmp initializer.
\n-
int Vcom_finalize(void)
The Vmp finalizer.
\n-
int Vcom_barr(Vcom *thee)
Synchronization barrier.
\n-
void Vcom_dtor(Vcom **thee)
Destroy the communications object.
\n-
int Vcom_recv(Vcom *thee, int src, void *buf, int len, int type, int block)
Receive a (character) buffer. The blocking flag is present, but not used. All receives are assumed ...
\n-
int Vcom_getCount(Vcom *thee, int src, int *length, int type)
Perform a blocking probe to get the length (in number of items of specified type) of an incoming mess...
\n-
int Vcom_send(Vcom *thee, int des, void *buf, int len, int type, int block)
Send a buffer. Returns 1 on success.
\n-
void Vcom_dtor2(Vcom *thee)
Destroy the communications object. This is broken into two parts to be callable from FORTRAN.
\n-
Contains public data members for Vcom class.
Definition vcom.h:60
\n-
int type
Communication type. 0 = not initialized 1 = Message Passing Interface 1.1.
Definition vcom.h:71
\n-
int error
note if any error has occurred on this vcom device
Definition vcom.h:73
\n-
int mpi_size
Total number of PEs in this communicator from MPI.
Definition vcom.h:65
\n-
void * core
Private MPI core.
Definition vcom.h:75
\n-
int mpi_rank
Local PE rank from MPI.
Definition vcom.h:63
\n+
Class Vcom: virtual (currently just MPI) communications layer.
\n+
Class Vmpi: a Virtual MPI communication layer object.
\n+
The primary header for VSYS. (Virtual SYStem utilities library.)
\n+
int Vmp_finalize(void)
The Vmp finalizer.
\n+
int Vmp_send(Vmp *thee, int des, char *buf, int bufsize)
An MPI blocking send.
\n+
int Vmp_init(int *argc, char ***argv)
The Vmp initializer.
\n+
int Vmp_rank(Vmp *thee)
Return my processor ID.
\n+
int Vmp_recv(Vmp *thee, int src, char *buf, int bufsize)
An MPI blocking receive.
\n+
Vmp * Vmp_ctor(void)
The Vmp constructor.
\n+
void Vmp_dtor(Vmp **thee)
The Vmp destructor.
\n+
int Vmp_barr(Vmp *thee)
An MPI barrier.
\n+
int Vmp_size(Vmp *thee)
Return the number of processors involved.
\n+
Contains public data members for Vmp class.
Definition vmp.h:58
\n+
int mpi_rank
Definition vmp.h:59
\n+
int mpi_size
Definition vmp.h:60
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,162 +1,110 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bp_\bs_\bh\n * _\bm_\ba_\bl_\bo_\bc\n-vcom.h\n+vmp.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-38#ifndef _VCOM_H_\n-39#define _VCOM_H_\n-40\n-41#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-42\n-43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-44\n-_\b4_\b6#define VCOM_MPI_TAG 111\n-47\n-48/*\n-49 *\n+37#ifndef _VMP_H_\n+38#define _VMP_H_\n+39\n+40#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+41\n+42#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n+43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\bi_\b._\bh>\n+44#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bc_\bo_\bm_\b._\bh>\n+45\n+46/*\n+47 *\n ***************************************************************************\n-50 * Class Vcom: Parameters and datatypes\n-51 *\n+48 * Class Vmp: Parameters and datatypes\n+49 *\n ***************************************************************************\n-52 */\n-53\n-_\b6_\b0struct _\bs_\bV_\bc_\bo_\bm {\n-61\n-_\b6_\b3 int _\bm_\bp_\bi_\b__\br_\ba_\bn_\bk;\n-_\b6_\b5 int _\bm_\bp_\bi_\b__\bs_\bi_\bz_\be;\n-66\n-_\b7_\b1 int _\bt_\by_\bp_\be;\n-_\b7_\b3 int _\be_\br_\br_\bo_\br;\n-_\b7_\b5 void *_\bc_\bo_\br_\be;\n-76\n-77};\n-78\n-_\b8_\b5typedef struct _\bs_\bV_\bc_\bo_\bm _\bV_\bc_\bo_\bm;\n-86\n-87/*\n-88 *\n+50 */\n+51\n+_\b5_\b8struct _\bs_\bV_\bm_\bp {\n+_\b5_\b9 int _\bm_\bp_\bi_\b__\br_\ba_\bn_\bk;\n+_\b6_\b0 int _\bm_\bp_\bi_\b__\bs_\bi_\bz_\be;\n+61};\n+62\n+_\b6_\b8typedef struct _\bs_\bV_\bm_\bp _\bV_\bm_\bp;\n+69\n+70/*\n+71 *\n ***************************************************************************\n-89 * Class Vcom: Inlineable methods (vcom.c)\n-90 *\n+72 * Class Vmp: Inlineable methods (vmp.c)\n+73 *\n ***************************************************************************\n-91 */\n-92\n-93#if !defined(VINLINE_MALOC)\n-94#else /* if defined(VINLINE_MALOC) */\n-95#endif /* if !defined(VINLINE_MALOC) */\n-96\n-97\n-_\b1_\b0_\b7int _\bV_\bc_\bo_\bm_\b__\bi_\bn_\bi_\bt(int *argc, char ***argv);\n-108\n-_\b1_\b1_\b6int _\bV_\bc_\bo_\bm_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be(void);\n-117\n-_\b1_\b2_\b7_\bV_\bc_\bo_\bm* _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br(int commtype);\n-128\n-_\b1_\b4_\b0int _\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br_\b2(_\bV_\bc_\bo_\bm* thee, int commtype);\n-141\n-_\b1_\b5_\b0void _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br(_\bV_\bc_\bo_\bm **thee);\n-151\n-_\b1_\b6_\b1void _\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br_\b2(_\bV_\bc_\bo_\bm *thee);\n+74 */\n+75\n+76#if !defined(VINLINE_MALOC)\n+77#else /* if defined(VINLINE_MALOC) */\n+78#endif /* if !defined(VINLINE_MALOC) */\n+79\n+80\n+_\b9_\b0int _\bV_\bm_\bp_\b__\bi_\bn_\bi_\bt(int *argc, char ***argv);\n+91\n+_\b9_\b9int _\bV_\bm_\bp_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be(void);\n+100\n+_\b1_\b0_\b8_\bV_\bm_\bp* _\bV_\bm_\bp_\b__\bc_\bt_\bo_\br(void);\n+109\n+_\b1_\b1_\b8void _\bV_\bm_\bp_\b__\bd_\bt_\bo_\br(_\bV_\bm_\bp **thee);\n+119\n+_\b1_\b2_\b8int _\bV_\bm_\bp_\b__\br_\ba_\bn_\bk(_\bV_\bm_\bp *thee);\n+129\n+_\b1_\b3_\b8int _\bV_\bm_\bp_\b__\bs_\bi_\bz_\be(_\bV_\bm_\bp *thee);\n+139\n+_\b1_\b4_\b8int _\bV_\bm_\bp_\b__\bb_\ba_\br_\br(_\bV_\bm_\bp *thee);\n+149\n+_\b1_\b6_\b1int _\bV_\bm_\bp_\b__\bs_\be_\bn_\bd(_\bV_\bm_\bp *thee, int des, char *buf, int bufsize);\n 162\n-_\b1_\b7_\b7int _\bV_\bc_\bo_\bm_\b__\bs_\be_\bn_\bd(_\bV_\bc_\bo_\bm *thee, int des, void *buf, int len, int _\bt_\by_\bp_\be,\n-178 int block);\n-179\n-_\b1_\b9_\b7int _\bV_\bc_\bo_\bm_\b__\br_\be_\bc_\bv(_\bV_\bc_\bo_\bm *thee, int src, void *buf, int len, int _\bt_\by_\bp_\be,\n-198 int block);\n-199\n-_\b2_\b1_\b4int _\bV_\bc_\bo_\bm_\b__\bg_\be_\bt_\bC_\bo_\bu_\bn_\bt(_\bV_\bc_\bo_\bm *thee, int src, int *length, int _\bt_\by_\bp_\be);\n-215\n-_\b2_\b3_\b7int _\bV_\bc_\bo_\bm_\b__\br_\be_\bd_\bu_\bc_\be(_\bV_\bc_\bo_\bm *thee, void *sendbuf, void *recvbuf, int length,\n-238 int _\bt_\by_\bp_\be, int op);\n-239\n-_\b2_\b4_\b8int _\bV_\bc_\bo_\bm_\b__\bs_\bi_\bz_\be(_\bV_\bc_\bo_\bm *thee);\n-249\n-_\b2_\b6_\b1int _\bV_\bc_\bo_\bm_\b__\br_\be_\bs_\bi_\bz_\be(_\bV_\bc_\bo_\bm *thee, int newsize);\n-262\n-_\b2_\b7_\b1int _\bV_\bc_\bo_\bm_\b__\br_\ba_\bn_\bk(_\bV_\bc_\bo_\bm *thee);\n-272\n-_\b2_\b8_\b1int _\bV_\bc_\bo_\bm_\b__\bb_\ba_\br_\br(_\bV_\bc_\bo_\bm *thee);\n-282\n-283#endif /* _VCOM_H_ */\n-284\n+_\b1_\b7_\b4int _\bV_\bm_\bp_\b__\br_\be_\bc_\bv(_\bV_\bm_\bp *thee, int src, char *buf, int bufsize);\n+175\n+176#endif /* _VMP_H_ */\n+177\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n+_\bv_\bc_\bo_\bm_\b._\bh\n+Class Vcom: virtual (currently just MPI) communications layer.\n+_\bv_\bm_\bp_\bi_\b._\bh\n+Class Vmpi: a Virtual MPI communication layer object.\n _\bv_\bs_\by_\bs_\b._\bh\n The primary header for VSYS. (Virtual SYStem utilities library.)\n-_\bV_\bc_\bo_\bm_\b__\br_\ba_\bn_\bk\n-int Vcom_rank(Vcom *thee)\n-Get the ID of the local PE\n-_\bV_\bc_\bo_\bm_\b__\br_\be_\bs_\bi_\bz_\be\n-int Vcom_resize(Vcom *thee, int newsize)\n-Resize (shrink) the communications group to include only newsize number of\n-processors....\n-_\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br_\b2\n-int Vcom_ctor2(Vcom *thee, int commtype)\n-Construct the communications object. This routine sets up data members of class\n-and initializes MPI....\n-_\bV_\bc_\bo_\bm_\b__\bs_\bi_\bz_\be\n-int Vcom_size(Vcom *thee)\n-Get the number of PEs in communicator.\n-_\bV_\bc_\bo_\bm_\b__\br_\be_\bd_\bu_\bc_\be\n-int Vcom_reduce(Vcom *thee, void *sendbuf, void *recvbuf, int length, int type,\n-int op)\n-Perform a reduction of the data across all processors. This is equivalent (and\n-in the case of MPI is ...\n-_\bV_\bc_\bo_\bm_\b__\bc_\bt_\bo_\br\n-Vcom * Vcom_ctor(int commtype)\n-Construct the communications object. This routine sets up data members of class\n-and initializes MPI.\n-_\bV_\bc_\bo_\bm_\b__\bi_\bn_\bi_\bt\n-int Vcom_init(int *argc, char ***argv)\n-The Vmp initializer.\n-_\bV_\bc_\bo_\bm_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be\n-int Vcom_finalize(void)\n+_\bV_\bm_\bp_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be\n+int Vmp_finalize(void)\n The Vmp finalizer.\n-_\bV_\bc_\bo_\bm_\b__\bb_\ba_\br_\br\n-int Vcom_barr(Vcom *thee)\n-Synchronization barrier.\n-_\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br\n-void Vcom_dtor(Vcom **thee)\n-Destroy the communications object.\n-_\bV_\bc_\bo_\bm_\b__\br_\be_\bc_\bv\n-int Vcom_recv(Vcom *thee, int src, void *buf, int len, int type, int block)\n-Receive a (character) buffer. The blocking flag is present, but not used. All\n-receives are assumed ...\n-_\bV_\bc_\bo_\bm_\b__\bg_\be_\bt_\bC_\bo_\bu_\bn_\bt\n-int Vcom_getCount(Vcom *thee, int src, int *length, int type)\n-Perform a blocking probe to get the length (in number of items of specified\n-type) of an incoming mess...\n-_\bV_\bc_\bo_\bm_\b__\bs_\be_\bn_\bd\n-int Vcom_send(Vcom *thee, int des, void *buf, int len, int type, int block)\n-Send a buffer. Returns 1 on success.\n-_\bV_\bc_\bo_\bm_\b__\bd_\bt_\bo_\br_\b2\n-void Vcom_dtor2(Vcom *thee)\n-Destroy the communications object. This is broken into two parts to be callable\n-from FORTRAN.\n-_\bs_\bV_\bc_\bo_\bm\n-Contains public data members for Vcom class.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:60\n-_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bt_\by_\bp_\be\n-int type\n-Communication type. 0 = not initialized 1 = Message Passing Interface 1.1.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:71\n-_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\be_\br_\br_\bo_\br\n-int error\n-note if any error has occurred on this vcom device\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:73\n-_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n-int mpi_size\n-Total number of PEs in this communicator from MPI.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:65\n-_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bc_\bo_\br_\be\n-void * core\n-Private MPI core.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:75\n-_\bs_\bV_\bc_\bo_\bm_\b:_\b:_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n+_\bV_\bm_\bp_\b__\bs_\be_\bn_\bd\n+int Vmp_send(Vmp *thee, int des, char *buf, int bufsize)\n+An MPI blocking send.\n+_\bV_\bm_\bp_\b__\bi_\bn_\bi_\bt\n+int Vmp_init(int *argc, char ***argv)\n+The Vmp initializer.\n+_\bV_\bm_\bp_\b__\br_\ba_\bn_\bk\n+int Vmp_rank(Vmp *thee)\n+Return my processor ID.\n+_\bV_\bm_\bp_\b__\br_\be_\bc_\bv\n+int Vmp_recv(Vmp *thee, int src, char *buf, int bufsize)\n+An MPI blocking receive.\n+_\bV_\bm_\bp_\b__\bc_\bt_\bo_\br\n+Vmp * Vmp_ctor(void)\n+The Vmp constructor.\n+_\bV_\bm_\bp_\b__\bd_\bt_\bo_\br\n+void Vmp_dtor(Vmp **thee)\n+The Vmp destructor.\n+_\bV_\bm_\bp_\b__\bb_\ba_\br_\br\n+int Vmp_barr(Vmp *thee)\n+An MPI barrier.\n+_\bV_\bm_\bp_\b__\bs_\bi_\bz_\be\n+int Vmp_size(Vmp *thee)\n+Return the number of processors involved.\n+_\bs_\bV_\bm_\bp\n+Contains public data members for Vmp class.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmp.h:58\n+_\bs_\bV_\bm_\bp_\b:_\b:_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n int mpi_rank\n-Local PE rank from MPI.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vcom.h:63\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmp.h:59\n+_\bs_\bV_\bm_\bp_\b:_\b:_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n+int mpi_size\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmp.h:60\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00012.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00012.dot.gz", "unified_diff": null, "details": [{"source1": "a00012.dot", "source2": "a00012.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vcom.h\"\n+digraph \"vmp.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vcom.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node1 [id=\"Node000001\",label=\"vmp.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -34,28 +34,36 @@\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node19 [id=\"edge19_Node000018_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node20 [id=\"edge21_Node000018_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node21 [id=\"edge23_Node000018_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node21 -> Node2 [id=\"edge24_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node21 -> Node19 [id=\"edge25_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node22 [id=\"edge26_Node000018_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node22 -> Node2 [id=\"edge27_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node19 [id=\"edge28_Node000022_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node20 [id=\"edge29_Node000022_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node23 [id=\"edge30_Node000018_Node000023\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node23 -> Node2 [id=\"edge31_Node000023_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node24 [id=\"edge32_Node000001_Node000024\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node24 [id=\"Node000024\",label=\"maloc/vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node24 -> Node2 [id=\"edge33_Node000024_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node24 -> Node18 [id=\"edge34_Node000024_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node25 [id=\"edge35_Node000001_Node000025\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node25 [id=\"Node000025\",label=\"maloc/vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node25 -> Node2 [id=\"edge36_Node000025_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node25 -> Node18 [id=\"edge37_Node000025_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00013.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00013.dot", "unified_diff": "@@ -1,14 +1,12 @@\n-digraph \"vcom.h\"\n+digraph \"vmp.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vcom.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node1 [id=\"Node000001\",label=\"vmp.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node2 [id=\"Node000002\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00014.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00014.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: psh.h File Reference\n+MALOC: vmpi.h File Reference\n \n \n \n \n \n \n
\n@@ -40,50 +40,98 @@\n
\n \n
\n
\n
\n \n-
psh.h File Reference
\n+
vmpi.h File Reference
\n
\n
\n \n-

Header file for a simple parallel extension of ALOC's VSH. \n+

Class Vmpi: a Virtual MPI communication layer object. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vsys.h>
\n-#include <maloc/vsh.h>
\n-#include <maloc/vmp.h>
\n+#include <maloc/vsys.h>
\n
\n-Include dependency graph for psh.h:
\n+Include dependency graph for vmpi.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n+\n+\n+\n+\n+

\n+Classes

struct  sVmpi
 Class Vmpi: Definition. More...
 
\n+\n+\n+\n+\n+

\n+Typedefs

typedef struct sVmpi Vmpi
 Declaration of the Vmpi class as the Vmpi structure.
 
\n \n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n

\n Functions

int Vsh_pshell (Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int argc, char **argv))
 Drop-in replacement for Vsh_shell giving parallel extensions.
 
int Vmpi_init (int *argc, char ***argv)
 The Vmp initializer.
 
int Vmpi_finalize (void)
 The Vmp finalizer.
 
VmpiVmpi_ctor (void)
 The Vmpi constructor.
 
void Vmpi_dtor (Vmpi **thee)
 The Vmpi destructor.
 
int Vmpi_rank (Vmpi *thee)
 Return my processor ID.
\n+
 
int Vmpi_size (Vmpi *thee)
 Return the number of processors involved.
 
int Vmpi_barr (Vmpi *thee)
 An MPI barrier.
\n+
 
int Vmpi_send (Vmpi *thee, int des, char *buf, int bufsize)
 An MPI blocking send.
 
int Vmpi_recv (Vmpi *thee, int src, char *buf, int bufsize)
 An MPI blocking receive.
 
int Vmpi_bcast (Vmpi *thee, char *buf, int bufsize)
 An MPI broadcast.
 
int Vmpi_reduce (Vmpi *thee, char *sbuf, char *rbuf, int bufsize)
 An MPI reduce.
\n+
 
int Vmpi_isend (Vmpi *thee, int des, char *buf, int bufsize)
 An MPI non-blocking send.
 
\n

Detailed Description

\n-

Header file for a simple parallel extension of ALOC's VSH.

\n+

Class Vmpi: a Virtual MPI communication layer object.

\n
Author
Michael Holst
\n
Note
None
\n
Version
\n-
Id
psh.h,v 1.28 2010/08/12 05:40:23 fetk Exp
\n+
Id
vmpi.h,v 1.29 2010/08/12 05:40:23 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,36 +1,77 @@\n MALOC\u00a00.1\n     * _\bs_\br_\bc\n     * _\bp_\bs_\bh\n     * _\bm_\ba_\bl_\bo_\bc\n-_\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-psh.h File Reference\n-_\bV_\bs_\bh_\b _\bc_\bl_\ba_\bs_\bs\n-Header file for a simple parallel extension of ALOC's VSH. _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+vmpi.h File Reference\n+_\bV_\bm_\bp_\bi_\b _\bc_\bl_\ba_\bs_\bs\n+Class Vmpi: a Virtual MPI communication layer object. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\bh_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\b._\bh>\n-Include dependency graph for psh.h:\n+Include dependency graph for vmpi.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n+C\bCl\bla\bas\bss\bse\bes\bs\n+struct \u00a0 _\bs_\bV_\bm_\bp_\bi\n+\u00a0        Class Vmpi: Definition. _\bM_\bo_\br_\be_\b._\b._\b.\n+\u00a0\n+T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n+typedef struct _\bs_\bV_\bm_\bp_\bi\u00a0 _\bV_\bm_\bp_\bi\n+\u00a0                     Declaration of the Vmpi class as the Vmpi structure.\n+\u00a0\n F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n-int\u00a0 _\bV_\bs_\bh_\b__\bp_\bs_\bh_\be_\bl_\bl (_\bV_\bs_\bh *thee, char *pPR, void *pthee, int(*builtin)(void *thee,\n-     int argc, char **argv))\n-\u00a0    Drop-in replacement for Vsh_shell giving parallel extensions.\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bi_\bn_\bi_\bt (int *argc, char ***argv)\n+\u00a0       The Vmp initializer.\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be (void)\n+\u00a0       The Vmp finalizer.\n+\u00a0\n+_\bV_\bm_\bp_\bi *\u00a0 _\bV_\bm_\bp_\bi_\b__\bc_\bt_\bo_\br (void)\n+\u00a0       The Vmpi constructor.\n+\u00a0\n+  void\u00a0 _\bV_\bm_\bp_\bi_\b__\bd_\bt_\bo_\br (_\bV_\bm_\bp_\bi **thee)\n+\u00a0       The Vmpi destructor.\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk (_\bV_\bm_\bp_\bi *thee)\n+\u00a0       Return my processor ID.\n+\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be (_\bV_\bm_\bp_\bi *thee)\n+\u00a0       Return the number of processors involved.\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bb_\ba_\br_\br (_\bV_\bm_\bp_\bi *thee)\n+\u00a0       An MPI barrier.\n+\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bs_\be_\bn_\bd (_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize)\n+\u00a0       An MPI blocking send.\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\br_\be_\bc_\bv (_\bV_\bm_\bp_\bi *thee, int src, char *buf, int bufsize)\n+\u00a0       An MPI blocking receive.\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bb_\bc_\ba_\bs_\bt (_\bV_\bm_\bp_\bi *thee, char *buf, int bufsize)\n+\u00a0       An MPI broadcast.\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\br_\be_\bd_\bu_\bc_\be (_\bV_\bm_\bp_\bi *thee, char *sbuf, char *rbuf, int bufsize)\n+\u00a0       An MPI reduce.\n+\n+\u00a0\n+   int\u00a0 _\bV_\bm_\bp_\bi_\b__\bi_\bs_\be_\bn_\bd (_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize)\n+\u00a0       An MPI non-blocking send.\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Header file for a simple parallel extension of ALOC's VSH.\n+Class Vmpi: a Virtual MPI communication layer object.\n   Author\n       Michael Holst\n   Note\n       None\n   Version\n   Id\n-      _\bp_\bs_\bh_\b._\bh,v 1.28 2010/08/12 05:40:23 fetk Exp\n+      _\bv_\bm_\bp_\bi_\b._\bh,v 1.29 2010/08/12 05:40:23 fetk Exp\n   Attention\n       *\n       * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n       * Copyright (C) 1994-- Michael Holst\n       *\n       * This library is free software; you can redistribute it and/or\n       * modify it under the terms of the GNU Lesser General Public\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00014_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00014_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: psh.h Source File\n+MALOC: vmpi.h Source File\n \n \n \n \n \n \n 
\n@@ -44,38 +44,94 @@\n \n
\n \n
\n
\n
\n-
psh.h
\n+
vmpi.h
\n
\n
\n Go to the documentation of this file.
1
\n-
32#ifndef _PSH_H_
\n-
33#define _PSH_H_
\n-
34
\n-
35#include <maloc/maloc_base.h>
\n-
36
\n-
37#include <maloc/vsys.h>
\n-
38#include <maloc/vsh.h>
\n-
39#include <maloc/vmp.h>
\n+
38#ifndef _VMPI_H_
\n+
39#define _VMPI_H_
\n
40
\n-
52int Vsh_pshell(Vsh *thee, char *pPR, void *pthee,
\n-
53 int (*builtin)(void *thee, int argc, char **argv));
\n-
54
\n-
55#endif /* _PSH_H_ */
\n-
56
\n+
41#include <maloc/maloc_base.h>
\n+
42
\n+
43#include <maloc/vsys.h>
\n+
44
\n+
45/*
\n+
46 * ***************************************************************************
\n+
47 * Class Vmpi: Parameters and datatypes
\n+
48 * ***************************************************************************
\n+
49 */
\n+
50
\n+
51
\n+
\n+
57struct sVmpi {
\n+\n+\n+
60};
\n+
\n+
61
\n+
67typedef struct sVmpi Vmpi;
\n+
68
\n+
69/*
\n+
70 * ***************************************************************************
\n+
71 * Class Vmpi: Inlineable methods (vmpi.c)
\n+
72 * ***************************************************************************
\n+
73 */
\n+
74
\n+
75#if !defined(VINLINE_MALOC)
\n+
76#else /* if defined(VINLINE_MALOC) */
\n+
77#endif /* if !defined(VINLINE_MALOC) */
\n+
78
\n+
88int Vmpi_init(int *argc, char ***argv);
\n+
89
\n+
97int Vmpi_finalize(void);
\n+
98
\n+\n+
107
\n+
116void Vmpi_dtor(Vmpi **thee);
\n+
117
\n+
126int Vmpi_rank(Vmpi *thee);
\n+
127
\n+
136int Vmpi_size(Vmpi *thee);
\n+
137
\n+
146int Vmpi_barr(Vmpi *thee);
\n+
147
\n+
159int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize);
\n+
160
\n+
172int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize);
\n+
173
\n+
184int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize);
\n+
185
\n+
197int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize);
\n+
198
\n+
210int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize);
\n+
211
\n+
212#endif /* _VMPI_H_ */
\n+
213
\n
The base (or foundation) header for MALOC.
\n-
Class Vmp: a Virtual MPI communication layer object.
\n-
Header file for vsh, a bourne-compatible shell.
\n-
The primary header for VSYS. (Virtual SYStem utilities library.)
\n-
int Vsh_pshell(Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int argc, char **argv))
Drop-in replacement for Vsh_shell giving parallel extensions.
\n-
Contains public data members for Vsh class.
Definition vsh.h:56
\n+
The primary header for VSYS. (Virtual SYStem utilities library.)
\n+
int Vmpi_init(int *argc, char ***argv)
The Vmp initializer.
\n+
int Vmpi_finalize(void)
The Vmp finalizer.
\n+
int Vmpi_size(Vmpi *thee)
Return the number of processors involved.
\n+
int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize)
An MPI reduce.
\n+
int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize)
An MPI blocking receive.
\n+
int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize)
An MPI non-blocking send.
\n+
void Vmpi_dtor(Vmpi **thee)
The Vmpi destructor.
\n+
int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize)
An MPI blocking send.
\n+
Vmpi * Vmpi_ctor(void)
The Vmpi constructor.
\n+
int Vmpi_barr(Vmpi *thee)
An MPI barrier.
\n+
int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize)
An MPI broadcast.
\n+
int Vmpi_rank(Vmpi *thee)
Return my processor ID.
\n+
Class Vmpi: Definition.
Definition vmpi.h:57
\n+
int mpi_rank
Definition vmpi.h:58
\n+
int mpi_size
Definition vmpi.h:59
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,38 +1,119 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bp_\bs_\bh\n * _\bm_\ba_\bl_\bo_\bc\n-psh.h\n+vmpi.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-32#ifndef _PSH_H_\n-33#define _PSH_H_\n-34\n-35#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-36\n-37#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n-38#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\bh_\b._\bh>\n-39#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\bp_\b._\bh>\n+38#ifndef _VMPI_H_\n+39#define _VMPI_H_\n 40\n-_\b5_\b2int _\bV_\bs_\bh_\b__\bp_\bs_\bh_\be_\bl_\bl(_\bV_\bs_\bh *thee, char *pPR, void *pthee,\n-53 int (*builtin)(void *thee, int argc, char **argv));\n-54\n-55#endif /* _PSH_H_ */\n-56\n+41#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+42\n+43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\by_\bs_\b._\bh>\n+44\n+45/*\n+46 *\n+***************************************************************************\n+47 * Class Vmpi: Parameters and datatypes\n+48 *\n+***************************************************************************\n+49 */\n+50\n+51\n+_\b5_\b7struct _\bs_\bV_\bm_\bp_\bi {\n+_\b5_\b8 int _\bm_\bp_\bi_\b__\br_\ba_\bn_\bk;\n+_\b5_\b9 int _\bm_\bp_\bi_\b__\bs_\bi_\bz_\be;\n+60};\n+61\n+_\b6_\b7typedef struct _\bs_\bV_\bm_\bp_\bi _\bV_\bm_\bp_\bi;\n+68\n+69/*\n+70 *\n+***************************************************************************\n+71 * Class Vmpi: Inlineable methods (vmpi.c)\n+72 *\n+***************************************************************************\n+73 */\n+74\n+75#if !defined(VINLINE_MALOC)\n+76#else /* if defined(VINLINE_MALOC) */\n+77#endif /* if !defined(VINLINE_MALOC) */\n+78\n+_\b8_\b8int _\bV_\bm_\bp_\bi_\b__\bi_\bn_\bi_\bt(int *argc, char ***argv);\n+89\n+_\b9_\b7int _\bV_\bm_\bp_\bi_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be(void);\n+98\n+_\b1_\b0_\b6_\bV_\bm_\bp_\bi* _\bV_\bm_\bp_\bi_\b__\bc_\bt_\bo_\br(void);\n+107\n+_\b1_\b1_\b6void _\bV_\bm_\bp_\bi_\b__\bd_\bt_\bo_\br(_\bV_\bm_\bp_\bi **thee);\n+117\n+_\b1_\b2_\b6int _\bV_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk(_\bV_\bm_\bp_\bi *thee);\n+127\n+_\b1_\b3_\b6int _\bV_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be(_\bV_\bm_\bp_\bi *thee);\n+137\n+_\b1_\b4_\b6int _\bV_\bm_\bp_\bi_\b__\bb_\ba_\br_\br(_\bV_\bm_\bp_\bi *thee);\n+147\n+_\b1_\b5_\b9int _\bV_\bm_\bp_\bi_\b__\bs_\be_\bn_\bd(_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize);\n+160\n+_\b1_\b7_\b2int _\bV_\bm_\bp_\bi_\b__\br_\be_\bc_\bv(_\bV_\bm_\bp_\bi *thee, int src, char *buf, int bufsize);\n+173\n+_\b1_\b8_\b4int _\bV_\bm_\bp_\bi_\b__\bb_\bc_\ba_\bs_\bt(_\bV_\bm_\bp_\bi *thee, char *buf, int bufsize);\n+185\n+_\b1_\b9_\b7int _\bV_\bm_\bp_\bi_\b__\br_\be_\bd_\bu_\bc_\be(_\bV_\bm_\bp_\bi *thee, char *sbuf, char *rbuf, int bufsize);\n+198\n+_\b2_\b1_\b0int _\bV_\bm_\bp_\bi_\b__\bi_\bs_\be_\bn_\bd(_\bV_\bm_\bp_\bi *thee, int des, char *buf, int bufsize);\n+211\n+212#endif /* _VMPI_H_ */\n+213\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n-_\bv_\bm_\bp_\b._\bh\n-Class Vmp: a Virtual MPI communication layer object.\n-_\bv_\bs_\bh_\b._\bh\n-Header file for vsh, a bourne-compatible shell.\n _\bv_\bs_\by_\bs_\b._\bh\n The primary header for VSYS. (Virtual SYStem utilities library.)\n-_\bV_\bs_\bh_\b__\bp_\bs_\bh_\be_\bl_\bl\n-int Vsh_pshell(Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int\n-argc, char **argv))\n-Drop-in replacement for Vsh_shell giving parallel extensions.\n-_\bs_\bV_\bs_\bh\n-Contains public data members for Vsh class.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vsh.h:56\n+_\bV_\bm_\bp_\bi_\b__\bi_\bn_\bi_\bt\n+int Vmpi_init(int *argc, char ***argv)\n+The Vmp initializer.\n+_\bV_\bm_\bp_\bi_\b__\bf_\bi_\bn_\ba_\bl_\bi_\bz_\be\n+int Vmpi_finalize(void)\n+The Vmp finalizer.\n+_\bV_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n+int Vmpi_size(Vmpi *thee)\n+Return the number of processors involved.\n+_\bV_\bm_\bp_\bi_\b__\br_\be_\bd_\bu_\bc_\be\n+int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize)\n+An MPI reduce.\n+_\bV_\bm_\bp_\bi_\b__\br_\be_\bc_\bv\n+int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize)\n+An MPI blocking receive.\n+_\bV_\bm_\bp_\bi_\b__\bi_\bs_\be_\bn_\bd\n+int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize)\n+An MPI non-blocking send.\n+_\bV_\bm_\bp_\bi_\b__\bd_\bt_\bo_\br\n+void Vmpi_dtor(Vmpi **thee)\n+The Vmpi destructor.\n+_\bV_\bm_\bp_\bi_\b__\bs_\be_\bn_\bd\n+int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize)\n+An MPI blocking send.\n+_\bV_\bm_\bp_\bi_\b__\bc_\bt_\bo_\br\n+Vmpi * Vmpi_ctor(void)\n+The Vmpi constructor.\n+_\bV_\bm_\bp_\bi_\b__\bb_\ba_\br_\br\n+int Vmpi_barr(Vmpi *thee)\n+An MPI barrier.\n+_\bV_\bm_\bp_\bi_\b__\bb_\bc_\ba_\bs_\bt\n+int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize)\n+An MPI broadcast.\n+_\bV_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n+int Vmpi_rank(Vmpi *thee)\n+Return my processor ID.\n+_\bs_\bV_\bm_\bp_\bi\n+Class Vmpi: Definition.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmpi.h:57\n+_\bs_\bV_\bm_\bp_\bi_\b:_\b:_\bm_\bp_\bi_\b__\br_\ba_\bn_\bk\n+int mpi_rank\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmpi.h:58\n+_\bs_\bV_\bm_\bp_\bi_\b:_\b:_\bm_\bp_\bi_\b__\bs_\bi_\bz_\be\n+int mpi_size\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmpi.h:59\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00015.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00015.dot.gz", "unified_diff": null, "details": [{"source1": "a00015.dot", "source2": "a00015.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"psh.h\"\n+digraph \"vmpi.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"psh.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node1 [id=\"Node000001\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -34,44 +34,28 @@\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node19 [id=\"edge19_Node000018_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node20 [id=\"edge21_Node000018_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node21 [id=\"edge23_Node000018_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node21 -> Node2 [id=\"edge24_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node21 -> Node19 [id=\"edge25_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node22 [id=\"edge26_Node000018_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node22 -> Node2 [id=\"edge27_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node19 [id=\"edge28_Node000022_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node20 [id=\"edge29_Node000022_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node23 [id=\"edge30_Node000018_Node000023\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node23 -> Node2 [id=\"edge31_Node000023_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node24 [id=\"edge32_Node000001_Node000024\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node24 [id=\"Node000024\",label=\"maloc/vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n- Node24 -> Node2 [id=\"edge33_Node000024_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node24 -> Node18 [id=\"edge34_Node000024_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node25 [id=\"edge35_Node000001_Node000025\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node25 [id=\"Node000025\",label=\"maloc/vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node25 -> Node2 [id=\"edge36_Node000025_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node25 -> Node18 [id=\"edge37_Node000025_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node25 -> Node26 [id=\"edge38_Node000025_Node000026\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node26 [id=\"Node000026\",label=\"maloc/vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node26 -> Node2 [id=\"edge39_Node000026_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node26 -> Node18 [id=\"edge40_Node000026_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node25 -> Node27 [id=\"edge41_Node000025_Node000027\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node27 [id=\"Node000027\",label=\"maloc/vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node27 -> Node2 [id=\"edge42_Node000027_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node27 -> Node18 [id=\"edge43_Node000027_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00016.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00016.dot", "unified_diff": "@@ -1,10 +1,14 @@\n-digraph \"psh.h\"\n+digraph \"vmpi.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"psh.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node1 [id=\"Node000001\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node2 [id=\"Node000002\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00017.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00017.html", "unified_diff": "@@ -50,15 +50,15 @@\n
vsh.h File Reference
\n
\n
\n \n

Header file for vsh, a bourne-compatible shell. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vsys.h>
\n+#include <maloc/vsys.h>
\n
\n Include dependency graph for vsh.h:
\n
\n
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00017_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00017_source.html", "unified_diff": "@@ -53,15 +53,15 @@\n
\n Go to the documentation of this file.
1
\n
38#ifndef _VSH_H_
\n
39#define _VSH_H_
\n
40
\n
41#include <maloc/maloc_base.h>
\n
42
\n-
43#include <maloc/vsys.h>
\n+
43#include <maloc/vsys.h>
\n
44
\n
45/*
\n
46 * ***************************************************************************
\n
47 * Class Vsh: Parameters and datatypes
\n
48 * ***************************************************************************
\n
49 */
\n
50
\n@@ -146,15 +146,15 @@\n
296
\n
306void Vsh_ioCleanup(Vsh *thee, Vio **sock);
\n
307
\n
308#endif /* _VSH_H_ */
\n
309
\n
The base (or foundation) header for MALOC.
\n
#define VMAX_ARGLEN
Global constant.
Definition maloc_base.h:227
\n-
The primary header for VSYS. (Virtual SYStem utilities library.)
\n+
The primary header for VSYS. (Virtual SYStem utilities library.)
\n
double Vsh_getenvReal(Vsh *thee, const char *envi)
Get a value of variable in the environment as a real.
\n
int Vsh_putenvInfo(Vsh *thee, const char *envi, const char *valu)
Place a variable with an info string in the environment.
\n
char * Vsh_getenv(Vsh *thee, const char *envi)
Get a value of variable in the environment.
\n
char * Vsh_getenvInfo(Vsh *thee, const char *envi)
Get info associated with a variable in the environment.
\n
int Vsh_putenv(Vsh *thee, const char *envi, const char *valu)
Place a variable with a value in the environment.
\n
void Vsh_ioCleanup(Vsh *thee, Vio **sock)
Cleanup an I/O command.
\n
int Vsh_getenvInt(Vsh *thee, const char *envi)
Get a value of variable in the environment as an integer.
\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00018.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00018.dot.gz", "unified_diff": null, "details": [{"source1": "a00018.dot", "source2": "a00018.dot", "unified_diff": "@@ -34,28 +34,28 @@\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node19 [id=\"edge19_Node000018_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node20 [id=\"edge21_Node000018_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node21 [id=\"edge23_Node000018_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node21 -> Node2 [id=\"edge24_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node21 -> Node19 [id=\"edge25_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node22 [id=\"edge26_Node000018_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node22 -> Node2 [id=\"edge27_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node19 [id=\"edge28_Node000022_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node20 [id=\"edge29_Node000022_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node23 [id=\"edge30_Node000018_Node000023\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node23 -> Node2 [id=\"edge31_Node000023_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00019.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00019.dot", "unified_diff": "@@ -4,10 +4,10 @@\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n Node1 [id=\"Node000001\",label=\"vsh.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n Node1 -> Node3 [id=\"edge2_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n Node3 -> Node2 [id=\"edge3_Node000003_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00020.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00020.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vnm.h File Reference\n+MALOC: vio.h File Reference\n \n \n \n \n \n \n
\n@@ -40,190 +40,168 @@\n
\n \n
\n
\n
\n \n-
vnm.h File Reference
\n+
vio.h File Reference
\n
\n
\n \n-

Header file for an ISO C [V]irtual [N]umerical [M]achine. \n+

Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer. \n More...

\n
#include <maloc/maloc_base.h>
\n+#include <maloc/vnm.h>
\n
\n-Include dependency graph for vnm.h:
\n+Include dependency graph for vio.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n+\n+\n+\n+\n+

\n+Classes

struct  sVio
 Contains public data members for Vio class. More...
 
\n \n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+

\n Macros

#define VPOW_SAFE(x, y)   (Vnm_powsafe(x,y))
 A safe VPOW function (avoids division by zero)
 
#define VTIMERS   100
 the maiximal timer constant
 
#define VPORTNUMBER   14916
 our portbase; 5000 < VPORTNUMBER < 49152
 
#define VIO_MAXBUF   10
 number of internal buffers (BUFF datatype)
 
\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+

\n+Typedefs

typedef enum VIOtype VIOtype
 Parameter for I/O type (sdio,buff,file,unix,inet)
 
typedef enum VIOfrmt VIOfrmt
 Parameter for compression type (XDR,ASC)
 
typedef enum VIOrwkey VIOrwkey
 Parameter for rw type (R,RW)
 
typedef struct sVio Vio
 Declaration of the Vio class as the Vio structure.
 
\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n

\n+Enumerations

enum  VIOtype {
\n+  VIO_NO_TYPE\n+, VIO_SDIO\n+, VIO_BUFF\n+, VIO_FILE\n+,
\n+  VIO_UNIX\n+, VIO_INET\n+
\n+ }
 Parameter for I/O type (sdio,buff,file,unix,inet) More...
 
enum  VIOfrmt { VIO_NO_FRMT\n+, VIO_XDR\n+, VIO_ASC\n+ }
 Parameter for compression type (XDR,ASC) More...
 
enum  VIOrwkey { VIO_NO_RW\n+, VIO_R\n+, VIO_W\n+ }
 Parameter for rw type (R,RW) More...
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n

\n Functions

int Vnm_sigInt (void)
 Signal and setjmp handling routine. Return the signal interrupt flag.
 
void Vnm_sigIntSet (void)
 Signal and setjmp handling routine. Set the signal interrupt flag.
 
void Vnm_sigIntClear (void)
 Signal and setjmp handling routine. Clear the signal interrupt flag.
\n-
 
int Vnm_jmpOk (void)
 Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.
 
void Vnm_jmpOkSet (void)
 Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.
 
void Vnm_jmpOkClear (void)
 Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.
\n-
 
jmp_buf * Vnm_signalInit (void)
 Initialize the signal handling data structures.
 
void Vnm_regHand (void)
 Register the signal handler with the operating system.
 
void Vnm_sigHand (int num)
 Handle events such as SIGINT. We must have first been registered with \"Vnm_signalInit\".
 
double Vnm_powsafe (double x, double y)
 A safe VPOW function (avoids division by zero).
\n-
 
void Vnm_typeChk (void)
 Check out the sizes of various datatypes.
\n-
 
double Vnm_epsmac (void)
 Computes the unit roundoff of the machine in single
\n- precision. This is defined as the smallest positive machine number u such that 1.0d0 + u .ne. 1.0d0 (in single precision).
\n-
\n- A safe hardcoded machine epsilon as alternative:
\n- double value;
\n- value = 1.0e-9;
\n- return value;.
 
int Vnm_gentokens (char *buf, char **argv, const int argvmax, const char *white, const char *comment)
 Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-terminated) in which tokens are separated by whitespace \"white\" with possible comments \"comment\" occuring. THE INPUT STRING IS MODIFIED HERE!
 
void Vnm_tstart (int timer, const char *name)
 Starts the timer on the particular machine.
\n-
 
void Vnm_tstop (int timer, const char *name)
 Stops the timer on the particular machine.
 
char * Vnm_getuser (char *user, int usermax)
 Ask the system for the username.
 
char * Vnm_getos (char *os, int osmax)
 Ask the system for the operating system name.
 
char * Vnm_gethost (char *host, int hostmax)
 Ask the system for the hostname.
 
char * Vnm_gethome (char *path, int pathmax)
 Ask the system for the home directory.
 
char * Vnm_getcwd (char *path, int pathmax)
 Ask the system for the current working directory.
 
int Vnm_chdir (const char *path)
 Interact with the system to change the working directory.
 
int Vnm_mkdir (const char *path)
 Interact with the system to make a new directory.
\n-
 
int Vnm_system (const char *cmd)
 An improved ANSI-C \"system\" call.
 
int Vnm_systemBack (const char *cmd)
 A background variant of the ANSI-C \"system\" call.
\n-
 
int Vnm_systemKill (const char *cmd)
 Something like a UNIX \"killall\" call.
 
int Vnm_exec (int argc, char **argv)
 An improved UNIX \"exec\" call. This routine does not return except on error.
 
void Vnm_sleep (int nusecs)
 Implement a sleep function with microsecond resolution.
 
int Vnm_ioTag (void)
 Return my I/O tag.
 
int Vnm_nTags (void)
 Return the total number of tags.
 
void Vnm_setIoTag (int myTag, int numTags)
 Set my id.
 
FILE * Vnm_open (const int unit)
 Open an I/O console.
 
int Vnm_close (const int unit)
 Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_flush (const int unit)
 Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_redirect (const int flag)
 Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_print (const int unit, const char *format,...)
 External interface to the console i/o routine.
\n- We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_tprint (const int unit, const char *format,...)
 Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_qsort (int *u, int size)
 Front-end to quick sort integer array from [-large] to [+large].
\n-
 
void Vnm_qsortOrd (int *u, int *ord, int size)
 Front-end to quick sort integer array from [-large] to [+large].
 
void Vnm_dqsort (double *u, int size)
 Front-end to quick sort integer array from [-large] to [+large].
\n-
 
void Vnm_dqsortOrd (double *u, int *ord, int size)
 Front-end to quick sort integer array from [-large] to [+large].
 
void Vio_start (void)
 Start Vio communication layer (init internal variables/buffers)
 
void Vio_stop (void)
 Shutdown Vio communication layer.
 
VioVio_ctor (const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
 Construct the Vio object.
 
int Vio_ctor2 (Vio *thee, const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
 Work routine that Vio_ctor calls to do most of the construction.
 
void Vio_dtor (Vio **thee)
 Destruct the Vio object.
 
void Vio_dtor2 (Vio *thee)
 Work routine that Vio_dtor calls to do most of the destruction.
 
void Vio_setWhiteChars (Vio *thee, char *whiteChars)
 Set the white character set for I/O stream.
 
void Vio_setCommChars (Vio *thee, char *commChars)
 Set the comment character set for I/O stream.
 
int Vio_accept (Vio *thee, int nonblock)
 Accept any waiting connect attempt to our socket on our machine.
 
void Vio_acceptFree (Vio *thee)
 Free the socket child that was used for the last accept.
 
int Vio_connect (Vio *thee, int nonblock)
 Connect to some socket on a remote machine (or on our machine)
 
void Vio_connectFree (Vio *thee)
 Purge any output buffers (for <UNIX/INET>, else a no-op)
 
int Vio_scanf (Vio *thee, char *parms,...)
 Mimic \"scanf\" from an arbitrary Vio device.
 
int Vio_printf (Vio *thee, char *parms,...)
 Mimic \"printf\" from an arbitrary Vio device.
 
int Vio_read (Vio *thee, char *buf, int bufsize)
 Read (up to) bufsize characters into buf from input device.
 
int Vio_write (Vio *thee, char *buf, int bufsize)
 Write bufsize characters from buf to output device.
 
void Vio_bufTake (Vio *thee, char *buf, int bufsize)
 Set the pointer to the internal buffer.
 
char * Vio_bufGive (Vio *thee)
 Return the pointer to the internal buffer.
 
int Vio_bufSize (Vio *thee)
 Return the length to the internal buffer.
 
VioVio_socketOpen (char *key, const char *iodev, const char *iofmt, const char *iohost, const char *iofile)
 Socket open for read or write.
 
void Vio_socketClose (Vio **sock)
 Socket close from read or write.
 
\n

Detailed Description

\n-

Header file for an ISO C [V]irtual [N]umerical [M]achine.

\n-
Author
Michael Holst
\n-
Note
None
\n+

Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.

\n
Version
\n-
Id
vnm.h,v 1.22 2010/08/12 05:40:36 fetk Exp
\n+
Id
vio.h,v 1.28 2010/08/12 05:40:35 fetk Exp
\n+
Author
Michael Holst
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -234,1447 +212,45 @@\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n-*  
\n+* \n

Macro Definition Documentation

\n-\n-

◆ VPOW_SAFE

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
#define VPOW_SAFE( x,
 
)   (Vnm_powsafe(x,y))
\n-
\n-\n-

A safe VPOW function (avoids division by zero)

\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-\n-
\n-
\n-\n-

◆ VTIMERS

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define VTIMERS   100
\n-
\n-\n-

the maiximal timer constant

\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-\n-
\n-
\n-

Function Documentation

\n-\n-

◆ Vnm_chdir()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_chdir (const char * path)
\n-
\n-\n-

Interact with the system to change the working directory.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
Success enumeration
\n-
Parameters
\n- \n- \n-
pathPointer to the path
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_close()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_close (const int unit)
\n-
\n-\n-

Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
Success enumeration
\n-
Parameters
\n- \n- \n-
unitindex for the file unit
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_dqsort()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_dqsort (double * u,
int size 
)
\n-
\n-\n-

Front-end to quick sort integer array from [-large] to [+large].
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n-
uPointer to quick sort integer array
sizesize of the integer array
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_dqsortOrd()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_dqsortOrd (double * u,
int * ord,
int size 
)
\n-
\n-\n-

Front-end to quick sort integer array from [-large] to [+large].

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n- \n-
uPointer to quick sort integer array
ordPointer to reordered array
sizesize of the integer array
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_epsmac()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
double Vnm_epsmac (void )
\n-
\n-\n-

Computes the unit roundoff of the machine in single
\n- precision. This is defined as the smallest positive machine number u such that 1.0d0 + u .ne. 1.0d0 (in single precision).
\n-
\n- A safe hardcoded machine epsilon as alternative:
\n- double value;
\n- value = 1.0e-9;
\n- return value;.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
the unit roundoff of the machine in single precision.
\n-\n-
\n-
\n-\n-

◆ Vnm_exec()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_exec (int argc,
char ** argv 
)
\n-
\n-\n-

An improved UNIX \"exec\" call. This routine does not return except on error.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
no return except on error
\n-
Parameters
\n- \n- \n- \n-
argcnumber of the command line arguments
argvthe command line arguments
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_flush()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_flush (const int unit)
\n-
\n-\n-

Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n-
unitindex for the file unit
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_gentokens()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_gentokens (char * buf,
char ** argv,
const int argvmax,
const char * white,
const char * comment 
)
\n-
\n-\n-

Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-terminated) in which tokens are separated by whitespace \"white\" with possible comments \"comment\" occuring. THE INPUT STRING IS MODIFIED HERE!

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
\n- Again, the input string \"buf\" IS MODIFIED; white space characters (defined in the input string \"white\") are replaced by the NULL character '\\0'. The output \"argv\" is simply a list of pointers
\n- to the start of the tokens in \"buf\", which are NULL-terminated
\n- after we replace the white space with NULLs.
\n-
\n- We follow convention and \"NULL\"-terminate \"argv\" by setting the pointer following the last token to \"VNULL\". The return value is \"argc\", the number of tokens found (not including the terminating NULL pointer). For safety you must pass in the maximal length of argv in the parameter \"argvmax\".
\n-
\n- If we encounter a token which begins with a comment character (defined in the input string \"comment\"), then we ignore the rest of the tokens in the input buffer \"buf\". This is suitable
\n- for parsing shell languages such as sh/ksh/bash which have comments that start with e.g. \"#\" and continue until a newline.
\n-
\n- We DO NOT use the C library function strtok in this routine. (There are some bad implementations of strtok around apparently; the internal state variables maintained by strtok can get very
\n- messed up if you use strtok in multiple places in a code.)
\n-
Returns
number of tokens
\n-
Parameters
\n- \n- \n- \n- \n- \n- \n-
bufbuffer containing message
argvthe command line arguments
argvmaxmaximal number of the command line arguments
whitePointer to the input string
commenttoken which begins with a comment character
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_getcwd()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
char * Vnm_getcwd (char * path,
int pathmax 
)
\n-
\n-\n-

Ask the system for the current working directory.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
\n- Consider it an error if we can't return something useful; therefore we will VASSERT(path!=VNULL) before returning.
\n-
\n- Note that unlike Vnm_gethome, a call to Vnm_getcwd returns the current directory, possibly modified from call to call.
\n-
\n- I.e., calls to Vnm_chdir can change the current working
\n- directory; Vnm_getcwd returns the current directory, whatever that might be.
\n-
Returns
the current working directory
\n-
Parameters
\n- \n- \n- \n-
pathPointer to the path
pathmaxindex for the size of path
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_gethome()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
char * Vnm_gethome (char * path,
int pathmax 
)
\n-
\n-\n-

Ask the system for the home directory.

\n-

=

Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
\n- The following preference order is used to set the home directory:
\n-
\n- MCSH_HOME (the user must define this in his environment)
\n- CWD (always defined as the current working directory)
\n-
\n- We consider it an error if we can't return something useful;
\n- therefore we will VASSERT(path!=VNULL) before returning.
\n-
\n- We settle on a home directory the first time we are called, and then we simply return this fixed home directory forever.
\n- In other words, the first call to Vnm_gethome, regardless of
\n- who makes the call, establishes the home directory for everyone else (as long as everyone goes through Vnm_gethome!).
\n-
Returns
the home directory
\n-
Parameters
\n- \n- \n- \n-
pathPointer to the path
pathmaxindex for the size of path
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_gethost()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
char * Vnm_gethost (char * host,
int hostmax 
)
\n-
\n-\n-

Ask the system for the hostname.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
the hostname
\n-
Parameters
\n- \n- \n- \n-
hostPointer to the hostname.
hostmaxindex for maximal size of host name
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_getos()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
char * Vnm_getos (char * os,
int osmax 
)
\n-
\n-\n-

Ask the system for the operating system name.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
the operating system name
\n-
Parameters
\n- \n- \n- \n-
osPointer to the OS type
osmaxindex for maximal size of OS name
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_getuser()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
char * Vnm_getuser (char * user,
int usermax 
)
\n-
\n-\n-

Ask the system for the username.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
the username of the system
\n-
Parameters
\n- \n- \n- \n-
userPointer to the username of the system
usermaxindex for maximal size of user name
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_ioTag()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_ioTag (void )
\n-
\n-\n-

Return my I/O tag.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
my I/O tag.
\n-\n-
\n-
\n-\n-

◆ Vnm_jmpOk()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_jmpOk (void )
\n-
\n-\n-

Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
\"ok-to-jump\" flag.
\n-\n-
\n-
\n-\n-

◆ Vnm_jmpOkClear()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_jmpOkClear (void )
\n-
\n-\n-

Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-\n-
\n-
\n-\n-

◆ Vnm_jmpOkSet()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_jmpOkSet (void )
\n-
\n-\n-

Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.

\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Author
Michael Holst
\n-
Returns
None
\n-\n-
\n-
\n-\n-

◆ Vnm_mkdir()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_mkdir (const char * path)
\n-
\n-\n-

Interact with the system to make a new directory.
\n-

\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Author
Michael Holst
\n-
Returns
Success enumeration
\n-
Parameters
\n- \n- \n-
pathPointer to the path
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_nTags()

\n+\n+

◆ VIO_MAXBUF

\n \n
\n
\n \n \n- \n- \n- \n- \n- \n- \n-
int Vnm_nTags (void )
\n-
\n-\n-

Return the total number of tags.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
total number of tags.
\n-\n-
\n-
\n-\n-

◆ Vnm_open()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
FILE * Vnm_open (const int unit)
\n-
\n-\n-

Open an I/O console.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
We MUST NOT use VASSERT (or Vnm_print!) in this routine.   \n-\n-The following codes are used:                                               \n-\n-unit#      C output unit      \n--------    -------------                                                \n-\n-unit==0    garbage   -- Non-interactive i/o; lots of stuff                        \n-                        (can be redirected to ${MCSH_HOME/io.mc)\n-\n-unit==1    stdout    -- standard output (Interactive I/O)            \n-\n-unit==2    stderr    -- standard error (IMPORTANT interactive I/O)          \n-\n-unit==3    history   -- History file ${MCSH_HOME}/hist.mcsh                       \n-\n-unit==else /dev/null -- Error...                                \n-
\n-
Returns
None
\n-
Parameters
\n- \n- \n-
unitindex for the file unit
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_powsafe()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
double Vnm_powsafe (double x,
double y 
)
\n-
\n-\n-

A safe VPOW function (avoids division by zero).
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
output value of a VPOW function
\n-
Parameters
\n- \n- \n- \n-
xinput parameter
yinput parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_print()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_print (const int unit,
const char * format,
 ... 
)
\n-
\n-\n-

External interface to the console i/o routine.
\n- We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n-
unitindex for the file unit
formatPointer to the print format
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_qsort()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_qsort (int * u,
int size 
)
\n-
\n-\n-

Front-end to quick sort integer array from [-large] to [+large].
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n-
uPointer to quick sort integer array
sizesize of the integer array
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_qsortOrd()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_qsortOrd (int * u,
int * ord,
int size 
)
\n-
\n-\n-

Front-end to quick sort integer array from [-large] to [+large].

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None *
\n-
Author
Michael Holst
\n-
Parameters
\n- \n- \n- \n- \n-
uPointer to quick sort integer array
ordPointer to reordered array
sizesize of the integer array
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_redirect()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_redirect (const int flag)
\n-
\n-\n-

Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n-
flagindex for the redirect flag
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_regHand()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_regHand (void )
\n-
\n-\n-

Register the signal handler with the operating system.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-\n-
\n-
\n-\n-

◆ Vnm_setIoTag()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_setIoTag (int myTag,
int numTags 
)
\n-
\n-\n-

Set my id.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n-
myTagindex for the tag
numTagsnumber of tags
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_sigHand()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_sigHand (int num)
\n-
\n-\n-

Handle events such as SIGINT. We must have first been registered with \"Vnm_signalInit\".

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-\n-
\n-
\n-\n-

◆ Vnm_sigInt()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_sigInt (void )
\n-
\n-\n-

Signal and setjmp handling routine. Return the signal interrupt flag.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
Signal interrupt flag.
\n-\n-
\n-
\n-\n-

◆ Vnm_sigIntClear()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_sigIntClear (void )
\n-
\n-\n-

Signal and setjmp handling routine. Clear the signal interrupt flag.
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-\n-
\n-
\n-\n-

◆ Vnm_sigIntSet()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_sigIntSet (void )
\n-
\n-\n-

Signal and setjmp handling routine. Set the signal interrupt flag.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-\n-
\n-
\n-\n-

◆ Vnm_signalInit()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
jmp_buf * Vnm_signalInit (void )
\n-
\n-\n-

Initialize the signal handling data structures.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
the signal handling data structures
\n-\n-
\n-
\n-\n-

◆ Vnm_sleep()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_sleep (int nusecs)
\n-
\n-\n-

Implement a sleep function with microsecond resolution.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n- This is hacked out of the \"sleep_us\" example in Rick Steven's Advance Unix Programming book.
\n-
Returns
None
\n-
Parameters
\n- \n- \n-
nusecsnumber of microseconds
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_system()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_system (const char * cmd)
\n-
\n-\n-

An improved ANSI-C \"system\" call.

\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Author
Michael Holst
\n-
Returns
Success enumeration
\n-
Parameters
\n- \n- \n-
cmdPointer to the command
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_systemBack()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_systemBack (const char * cmd)
\n-
\n-\n-

A background variant of the ANSI-C \"system\" call.
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
Success enumeration
\n-
Parameters
\n- \n- \n-
cmdPointer to the command
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_systemKill()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
int Vnm_systemKill (const char * cmd)
\n-
\n-\n-

Something like a UNIX \"killall\" call.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
Success enumeration
\n-
Parameters
\n- \n- \n-
cmdPointer to the command
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_tprint()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_tprint (const int unit,
const char * format,
 ... 
)
\n-
\n-\n-

Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o) For a tag to be added, both of the following conditions must hold:
\n- Vnm_ioTag() >= 0 (I.e., I must have been given a tag)
\n- Vnm_nTags() > 1 (I must not be the only one given a tag)
\n-
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n-
unitindex for the file unit
formatPointer to the print format
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_tstart()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vnm_tstart (int timer,
const char * name 
)
\n-
\n-\n-

Starts the timer on the particular machine.
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n-
timerindex for the starting timer
namePointer to the object
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vnm_tstop()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n+ \n \n
void Vnm_tstop (int timer,
const char * name 
)#define VIO_MAXBUF   10
\n
\n \n-

Stops the timer on the particular machine.

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n-
Parameters
\n- \n- \n- \n-
timerindex for the starting timer
namePointer to the object
\n-
\n-
\n+

number of internal buffers (BUFF datatype)

\n \n
\n
\n-\n-

◆ Vnm_typeChk()

\n+\n+

◆ VPORTNUMBER

\n \n
\n
\n \n \n- \n- \n- \n- \n- \n+ \n \n
void Vnm_typeChk (void )#define VPORTNUMBER   14916
\n
\n \n-

Check out the sizes of various datatypes.
\n-

\n-
Author
Michael Holst
\n-
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n-
Returns
None
\n+

our portbase; 5000 < VPORTNUMBER < 49152

\n \n
\n
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,184 +1,131 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-_\bM_\ba_\bc_\br_\bo_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vnm.h File Reference\n-Header file for an ISO C [V]irtual [N]umerical [M]achine. _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bM_\ba_\bc_\br_\bo_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bE_\bn_\bu_\bm_\be_\br_\ba_\bt_\bi_\bo_\bn_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+vio.h File Reference\n+_\bV_\bi_\bo_\b _\bc_\bl_\ba_\bs_\bs\n+Class Vio: virtual I/O layer. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-Include dependency graph for vnm.h:\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n+Include dependency graph for vio.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n-M\bMa\bac\bcr\bro\bos\bs\n-#define\u00a0 _\bV_\bP_\bO_\bW_\b__\bS_\bA_\bF_\bE(x, y)\u00a0\u00a0\u00a0(_\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be(x,y))\n-\u00a0 A safe VPOW function (avoids division by zero)\n-\u00a0\n-#define\u00a0 _\bV_\bT_\bI_\bM_\bE_\bR_\bS\u00a0\u00a0\u00a0100\n-\u00a0 the maiximal timer constant\n-\u00a0\n-F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n- int\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt (void)\n-\u00a0 Signal and setjmp handling routine. Return the signal interrupt\n- flag.\n-\u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bS_\be_\bt (void)\n-\u00a0 Signal and setjmp handling routine. Set the signal interrupt flag.\n-\u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bC_\bl_\be_\ba_\br (void)\n-\u00a0 Signal and setjmp handling routine. Clear the signal interrupt flag.\n-\n-\u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk (void)\n-\u00a0 Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.\n-\u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bS_\be_\bt (void)\n-\u00a0 Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.\n-\u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bC_\bl_\be_\ba_\br (void)\n-\u00a0 Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.\n-\n-\u00a0\n-jmp_buf *\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bn_\ba_\bl_\bI_\bn_\bi_\bt (void)\n-\u00a0 Initialize the signal handling data structures.\n-\u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\br_\be_\bg_\bH_\ba_\bn_\bd (void)\n-\u00a0 Register the signal handler with the operating system.\n-\u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bH_\ba_\bn_\bd (int num)\n-\u00a0 Handle events such as SIGINT. We must have first been registered\n- with \"Vnm_signalInit\".\n-\u00a0\n- double\u00a0 _\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be (double x, double y)\n-\u00a0 A safe VPOW function (avoids division by zero).\n-\n+C\bCl\bla\bas\bss\bse\bes\bs\n+struct \u00a0 _\bs_\bV_\bi_\bo\n+\u00a0 Contains public data members for Vio class. _\bM_\bo_\br_\be_\b._\b._\b.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bt_\by_\bp_\be_\bC_\bh_\bk (void)\n-\u00a0 Check out the sizes of various datatypes.\n-\n-\u00a0\n- double\u00a0 _\bV_\bn_\bm_\b__\be_\bp_\bs_\bm_\ba_\bc (void)\n- Computes the unit roundoff of the machine in single\n- precision. This is defined as the smallest positive machine number u\n- such that 1.0d0 + u .ne. 1.0d0 (in single precision).\n+M\bMa\bac\bcr\bro\bos\bs\n+#define\u00a0 _\bV_\bP_\bO_\bR_\bT_\bN_\bU_\bM_\bB_\bE_\bR\u00a0\u00a0\u00a014916\n+\u00a0 our portbase; 5000 < VPORTNUMBER < 49152\n \u00a0\n- A safe hardcoded machine epsilon as alternative:\n- double value;\n- value = 1.0e-9;\n- return value;.\n+#define\u00a0 _\bV_\bI_\bO_\b__\bM_\bA_\bX_\bB_\bU_\bF\u00a0\u00a0\u00a010\n+\u00a0 number of internal buffers (BUFF datatype)\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bn_\bt_\bo_\bk_\be_\bn_\bs (char *buf, char **argv, const int argvmax, const char\n- *white, const char *comment)\n- Generate an [argv,argc] pair from a character string \"buf\" (assumed\n-\u00a0 NULL-terminated) in which tokens are separated by whitespace \"white\"\n- with possible comments \"comment\" occuring. THE INPUT STRING IS\n- MODIFIED HERE!\n+T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n+ typedef enum _\bV_\bI_\bO_\bt_\by_\bp_\be\u00a0 _\bV_\bI_\bO_\bt_\by_\bp_\be\n+\u00a0 Parameter for I/O type (sdio,buff,file,unix,inet)\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bt_\bs_\bt_\ba_\br_\bt (int timer, const char *name)\n-\u00a0 Starts the timer on the particular machine.\n-\n+ typedef enum _\bV_\bI_\bO_\bf_\br_\bm_\bt\u00a0 _\bV_\bI_\bO_\bf_\br_\bm_\bt\n+\u00a0 Parameter for compression type (XDR,ASC)\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bt_\bs_\bt_\bo_\bp (int timer, const char *name)\n-\u00a0 Stops the timer on the particular machine.\n+typedef enum _\bV_\bI_\bO_\br_\bw_\bk_\be_\by\u00a0 _\bV_\bI_\bO_\br_\bw_\bk_\be_\by\n+\u00a0 Parameter for rw type (R,RW)\n \u00a0\n- char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bu_\bs_\be_\br (char *user, int usermax)\n-\u00a0 Ask the system for the username.\n+ typedef struct _\bs_\bV_\bi_\bo\u00a0 _\bV_\bi_\bo\n+\u00a0 Declaration of the Vio class as the Vio structure.\n \u00a0\n- char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bo_\bs (char *os, int osmax)\n-\u00a0 Ask the system for the operating system name.\n+E\bEn\bnu\bum\bme\ber\bra\bat\bti\bio\bon\bns\bs\n+enum \u00a0 _\bV_\bI_\bO_\bt_\by_\bp_\be {\n+ \u00a0\u00a0_\bV_\bI_\bO_\b__\bN_\bO_\b__\bT_\bY_\bP_\bE , _\bV_\bI_\bO_\b__\bS_\bD_\bI_\bO , _\bV_\bI_\bO_\b__\bB_\bU_\bF_\bF , _\bV_\bI_\bO_\b__\bF_\bI_\bL_\bE ,\n+ \u00a0\u00a0_\bV_\bI_\bO_\b__\bU_\bN_\bI_\bX , _\bV_\bI_\bO_\b__\bI_\bN_\bE_\bT\n+ }\n+\u00a0 Parameter for I/O type (sdio,buff,file,unix,inet) _\bM_\bo_\br_\be_\b._\b._\b.\n \u00a0\n- char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bs_\bt (char *host, int hostmax)\n-\u00a0 Ask the system for the hostname.\n+enum \u00a0 _\bV_\bI_\bO_\bf_\br_\bm_\bt { _\bV_\bI_\bO_\b__\bN_\bO_\b__\bF_\bR_\bM_\bT , _\bV_\bI_\bO_\b__\bX_\bD_\bR , _\bV_\bI_\bO_\b__\bA_\bS_\bC }\n+\u00a0 Parameter for compression type (XDR,ASC) _\bM_\bo_\br_\be_\b._\b._\b.\n \u00a0\n- char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bm_\be (char *path, int pathmax)\n-\u00a0 Ask the system for the home directory.\n+enum \u00a0 _\bV_\bI_\bO_\br_\bw_\bk_\be_\by { _\bV_\bI_\bO_\b__\bN_\bO_\b__\bR_\bW , _\bV_\bI_\bO_\b__\bR , _\bV_\bI_\bO_\b__\bW }\n+\u00a0 Parameter for rw type (R,RW) _\bM_\bo_\br_\be_\b._\b._\b.\n \u00a0\n- char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bc_\bw_\bd (char *path, int pathmax)\n-\u00a0 Ask the system for the current working directory.\n+F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n+ void\u00a0 _\bV_\bi_\bo_\b__\bs_\bt_\ba_\br_\bt (void)\n+\u00a0 Start Vio communication layer (init internal variables/buffers)\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bc_\bh_\bd_\bi_\br (const char *path)\n-\u00a0 Interact with the system to change the working directory.\n+ void\u00a0 _\bV_\bi_\bo_\b__\bs_\bt_\bo_\bp (void)\n+\u00a0 Shutdown Vio communication layer.\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bm_\bk_\bd_\bi_\br (const char *path)\n-\u00a0 Interact with the system to make a new directory.\n-\n+ _\bV_\bi_\bo *\u00a0 _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br (const char *socktype, const char *datafrmt, const char\n+ *hostname, const char *filename, const char *rwkey)\n+\u00a0 Construct the Vio object.\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm (const char *cmd)\n-\u00a0 An improved ANSI-C \"system\" call.\n+ int\u00a0 _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br_\b2 (_\bV_\bi_\bo *thee, const char *socktype, const char *datafrmt, const\n+ char *hostname, const char *filename, const char *rwkey)\n+\u00a0 Work routine that Vio_ctor calls to do most of the construction.\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bB_\ba_\bc_\bk (const char *cmd)\n-\u00a0 A background variant of the ANSI-C \"system\" call.\n-\n+ void\u00a0 _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br (_\bV_\bi_\bo **thee)\n+\u00a0 Destruct the Vio object.\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bK_\bi_\bl_\bl (const char *cmd)\n-\u00a0 Something like a UNIX \"killall\" call.\n+ void\u00a0 _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br_\b2 (_\bV_\bi_\bo *thee)\n+\u00a0 Work routine that Vio_dtor calls to do most of the destruction.\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\be_\bx_\be_\bc (int argc, char **argv)\n-\u00a0 An improved UNIX \"exec\" call. This routine does not return except on\n- error.\n+ void\u00a0 _\bV_\bi_\bo_\b__\bs_\be_\bt_\bW_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs (_\bV_\bi_\bo *thee, char *whiteChars)\n+\u00a0 Set the white character set for I/O stream.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bs_\bl_\be_\be_\bp (int nusecs)\n-\u00a0 Implement a sleep function with microsecond resolution.\n+ void\u00a0 _\bV_\bi_\bo_\b__\bs_\be_\bt_\bC_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs (_\bV_\bi_\bo *thee, char *commChars)\n+\u00a0 Set the comment character set for I/O stream.\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg (void)\n-\u00a0 Return my I/O tag.\n+ int\u00a0 _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt (_\bV_\bi_\bo *thee, int nonblock)\n+\u00a0 Accept any waiting connect attempt to our socket on our machine.\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs (void)\n-\u00a0 Return the total number of tags.\n+ void\u00a0 _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt_\bF_\br_\be_\be (_\bV_\bi_\bo *thee)\n+\u00a0 Free the socket child that was used for the last accept.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bs_\be_\bt_\bI_\bo_\bT_\ba_\bg (int myTag, int numTags)\n-\u00a0 Set my id.\n+ int\u00a0 _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt (_\bV_\bi_\bo *thee, int nonblock)\n+\u00a0 Connect to some socket on a remote machine (or on our machine)\n \u00a0\n- FILE *\u00a0 _\bV_\bn_\bm_\b__\bo_\bp_\be_\bn (const int unit)\n-\u00a0 Open an I/O console.\n+ void\u00a0 _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt_\bF_\br_\be_\be (_\bV_\bi_\bo *thee)\n+\u00a0 Purge any output buffers (for , else a no-op)\n \u00a0\n- int\u00a0 _\bV_\bn_\bm_\b__\bc_\bl_\bo_\bs_\be (const int unit)\n-\u00a0 Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in\n- this routine.\n+ int\u00a0 _\bV_\bi_\bo_\b__\bs_\bc_\ba_\bn_\bf (_\bV_\bi_\bo *thee, char *parms,...)\n+\u00a0 Mimic \"scanf\" from an arbitrary Vio device.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bf_\bl_\bu_\bs_\bh (const int unit)\n-\u00a0 Attempt to flush the specified i/o stream. We MUST NOT use VASSERT\n- (or Vnm_print!) in this routine.\n+ int\u00a0 _\bV_\bi_\bo_\b__\bp_\br_\bi_\bn_\bt_\bf (_\bV_\bi_\bo *thee, char *parms,...)\n+\u00a0 Mimic \"printf\" from an arbitrary Vio device.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\br_\be_\bd_\bi_\br_\be_\bc_\bt (const int flag)\n- Set/unset the redirect flag for UNIT zero. When redirected, I/O goes\n-\u00a0 to the file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or\n- Vnm_print!) in this routine.\n+ int\u00a0 _\bV_\bi_\bo_\b__\br_\be_\ba_\bd (_\bV_\bi_\bo *thee, char *buf, int bufsize)\n+\u00a0 Read (up to) bufsize characters into buf from input device.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bp_\br_\bi_\bn_\bt (const int unit, const char *format,...)\n-\u00a0 External interface to the console i/o routine.\n- We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n+ int\u00a0 _\bV_\bi_\bo_\b__\bw_\br_\bi_\bt_\be (_\bV_\bi_\bo *thee, char *buf, int bufsize)\n+\u00a0 Write bufsize characters from buf to output device.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bt_\bp_\br_\bi_\bn_\bt (const int unit, const char *format,...)\n-\u00a0 Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or\n- Vnm_print!) in this routine.\n+ void\u00a0 _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bT_\ba_\bk_\be (_\bV_\bi_\bo *thee, char *buf, int bufsize)\n+\u00a0 Set the pointer to the internal buffer.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt (int *u, int size)\n-\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n-\n+char *\u00a0 _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bG_\bi_\bv_\be (_\bV_\bi_\bo *thee)\n+\u00a0 Return the pointer to the internal buffer.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt_\bO_\br_\bd (int *u, int *ord, int size)\n-\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n+ int\u00a0 _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bS_\bi_\bz_\be (_\bV_\bi_\bo *thee)\n+\u00a0 Return the length to the internal buffer.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt (double *u, int size)\n-\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n-\n+ _\bV_\bi_\bo *\u00a0 _\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bO_\bp_\be_\bn (char *key, const char *iodev, const char *iofmt, const\n+ char *iohost, const char *iofile)\n+\u00a0 Socket open for read or write.\n \u00a0\n- void\u00a0 _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt_\bO_\br_\bd (double *u, int *ord, int size)\n-\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n+ void\u00a0 _\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bC_\bl_\bo_\bs_\be (_\bV_\bi_\bo **sock)\n+\u00a0 Socket close from read or write.\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Header file for an ISO C [V]irtual [N]umerical [M]achine.\n- Author\n- Michael Holst\n- Note\n- None\n+Class Vio: virtual I/O layer.\n Version\n Id\n- _\bv_\bn_\bm_\b._\bh,v 1.22 2010/08/12 05:40:36 fetk Exp\n+ _\bv_\bi_\bo_\b._\bh,v 1.28 2010/08/12 05:40:35 fetk Exp\n+ Author\n+ Michael Holst\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n@@ -192,590 +139,15 @@\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\n *\n *\b**\b**\b**\b**\b* M\bMa\bac\bcr\bro\bo D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVP\bPO\bOW\bW_\b_S\bSA\bAF\bFE\bE *\b**\b**\b**\b**\b*\n-#define VPOW_SAFE ( \u00a0 x,\n- \u00a0 y\u00a0\n- ) \u00a0\u00a0\u00a0(_\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be(x,y))\n-A safe VPOW function (avoids division by zero)\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVT\bTI\bIM\bME\bER\bRS\bS *\b**\b**\b**\b**\b*\n-#define VTIMERS\u00a0\u00a0\u00a0100\n-the maiximal timer constant\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n-*\b**\b**\b**\b**\b* F\bFu\bun\bnc\bct\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_c\bch\bhd\bdi\bir\br(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_chdir ( const char *\u00a0 p\bpa\bat\bth\bh )\n-Interact with the system to change the working directory.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- Success enumeration\n- Parameters\n- path Pointer to the path\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_c\bcl\blo\bos\bse\be(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_close ( const int\u00a0 u\bun\bni\bit\bt )\n-Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- Success enumeration\n- Parameters\n- unit index for the file unit\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_d\bdq\bqs\bso\bor\brt\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_dqsort ( double *\u00a0 u\bu,\n- int\u00a0 s\bsi\biz\bze\be\u00a0\n- )\n-Front-end to quick sort integer array from [-large] to [+large].\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- u Pointer to quick sort integer array\n- size size of the integer array\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_d\bdq\bqs\bso\bor\brt\btO\bOr\brd\bd(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_dqsortOrd ( double *\u00a0 u\bu,\n- int *\u00a0 o\bor\brd\bd,\n- int\u00a0 s\bsi\biz\bze\be\u00a0\n- )\n-Front-end to quick sort integer array from [-large] to [+large].\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- u Pointer to quick sort integer array\n- ord Pointer to reordered array\n- size size of the integer array\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_e\bep\bps\bsm\bma\bac\bc(\b()\b) *\b**\b**\b**\b**\b*\n-double Vnm_epsmac ( void\u00a0 )\n-Computes the unit roundoff of the machine in single\n-precision. This is defined as the smallest positive machine number u such that\n-1.0d0 + u .ne. 1.0d0 (in single precision).\n-\n-A safe hardcoded machine epsilon as alternative:\n-double value;\n-value = 1.0e-9;\n-return value;.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- the unit roundoff of the machine in single precision.\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_e\bex\bxe\bec\bc(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_exec ( int\u00a0 a\bar\brg\bgc\bc,\n- char **\u00a0 a\bar\brg\bgv\bv\u00a0\n- )\n-An improved UNIX \"exec\" call. This routine does not return except on error.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- no return except on error\n- Parameters\n- argc number of the command line arguments\n- argv the command line arguments\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_f\bfl\blu\bus\bsh\bh(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_flush ( const int\u00a0 u\bun\bni\bit\bt )\n-Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or\n-Vnm_print!) in this routine.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- unit index for the file unit\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\ben\bnt\bto\bok\bke\ben\bns\bs(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_gentokens ( char *\u00a0 b\bbu\buf\bf,\n- char **\u00a0 a\bar\brg\bgv\bv,\n- const int\u00a0 a\bar\brg\bgv\bvm\bma\bax\bx,\n- const char *\u00a0 w\bwh\bhi\bit\bte\be,\n- const char *\u00a0 c\bco\bom\bmm\bme\ben\bnt\bt\u00a0\n- )\n-Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-\n-terminated) in which tokens are separated by whitespace \"white\" with possible\n-comments \"comment\" occuring. THE INPUT STRING IS MODIFIED HERE!\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n-\n- Again, the input string \"buf\" IS MODIFIED; white space characters\n- (defined in the input string \"white\") are replaced by the NULL character\n- '\\0'. The output \"argv\" is simply a list of pointers\n- to the start of the tokens in \"buf\", which are NULL-terminated\n- after we replace the white space with NULLs.\n-\n- We follow convention and \"NULL\"-terminate \"argv\" by setting the pointer\n- following the last token to \"VNULL\". The return value is \"argc\", the\n- number of tokens found (not including the terminating NULL pointer). For\n- safety you must pass in the maximal length of argv in the parameter\n- \"argvmax\".\n-\n- If we encounter a token which begins with a comment character (defined in\n- the input string \"comment\"), then we ignore the rest of the tokens in the\n- input buffer \"buf\". This is suitable\n- for parsing shell languages such as sh/ksh/bash which have comments that\n- start with e.g. \"#\" and continue until a newline.\n-\n- We DO NOT use the C library function strtok in this routine. (There are\n- some bad implementations of strtok around apparently; the internal state\n- variables maintained by strtok can get very\n- messed up if you use strtok in multiple places in a code.)\n- Returns\n- number of tokens\n- Parameters\n- buf buffer containing message\n- argv the command line arguments\n- argvmax maximal number of the command line arguments\n- white Pointer to the input string\n- comment token which begins with a comment character\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\btc\bcw\bwd\bd(\b()\b) *\b**\b**\b**\b**\b*\n-char * Vnm_getcwd ( char *\u00a0 p\bpa\bat\bth\bh,\n- int\u00a0 p\bpa\bat\bth\bhm\bma\bax\bx\u00a0\n- )\n-Ask the system for the current working directory.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n-\n- Consider it an error if we can't return something useful; therefore we\n- will VASSERT(path!=VNULL) before returning.\n-\n- Note that unlike Vnm_gethome, a call to Vnm_getcwd returns the current\n- directory, possibly modified from call to call.\n-\n- I.e., calls to Vnm_chdir can change the current working\n- directory; Vnm_getcwd returns the current directory, whatever that might\n- be.\n- Returns\n- the current working directory\n- Parameters\n- path Pointer to the path\n- pathmax index for the size of path\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\bth\bho\bom\bme\be(\b()\b) *\b**\b**\b**\b**\b*\n-char * Vnm_gethome ( char *\u00a0 p\bpa\bat\bth\bh,\n- int\u00a0 p\bpa\bat\bth\bhm\bma\bax\bx\u00a0\n- )\n-Ask the system for the home directory.\n-=\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n-\n- The following preference order is used to set the home directory:\n-\n- MCSH_HOME (the user must define this in his environment)\n- CWD (always defined as the current working directory)\n-\n- We consider it an error if we can't return something useful;\n- therefore we will VASSERT(path!=VNULL) before returning.\n-\n- We settle on a home directory the first time we are called, and then we\n- simply return this fixed home directory forever.\n- In other words, the first call to Vnm_gethome, regardless of\n- who makes the call, establishes the home directory for everyone else (as\n- long as everyone goes through Vnm_gethome!).\n- Returns\n- the home directory\n- Parameters\n- path Pointer to the path\n- pathmax index for the size of path\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\bth\bho\bos\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n-char * Vnm_gethost ( char *\u00a0 h\bho\bos\bst\bt,\n- int\u00a0 h\bho\bos\bst\btm\bma\bax\bx\u00a0\n- )\n-Ask the system for the hostname.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- the hostname\n- Parameters\n- host Pointer to the hostname.\n- hostmax index for maximal size of host name\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\bto\bos\bs(\b()\b) *\b**\b**\b**\b**\b*\n-char * Vnm_getos ( char *\u00a0 o\bos\bs,\n- int\u00a0 o\bos\bsm\bma\bax\bx\u00a0\n- )\n-Ask the system for the operating system name.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- the operating system name\n- Parameters\n- os Pointer to the OS type\n- osmax index for maximal size of OS name\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\btu\bus\bse\ber\br(\b()\b) *\b**\b**\b**\b**\b*\n-char * Vnm_getuser ( char *\u00a0 u\bus\bse\ber\br,\n- int\u00a0 u\bus\bse\ber\brm\bma\bax\bx\u00a0\n- )\n-Ask the system for the username.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- the username of the system\n- Parameters\n- user Pointer to the username of the system\n- usermax index for maximal size of user name\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_i\bio\boT\bTa\bag\bg(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_ioTag ( void\u00a0 )\n-Return my I/O tag.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- my I/O tag.\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_j\bjm\bmp\bpO\bOk\bk(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_jmpOk ( void\u00a0 )\n-Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- \"ok-to-jump\" flag.\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_j\bjm\bmp\bpO\bOk\bkC\bCl\ble\bea\bar\br(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_jmpOkClear ( void\u00a0 )\n-Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_j\bjm\bmp\bpO\bOk\bkS\bSe\bet\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_jmpOkSet ( void\u00a0 )\n-Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Author\n- Michael Holst\n- Returns\n- None\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_m\bmk\bkd\bdi\bir\br(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_mkdir ( const char *\u00a0 p\bpa\bat\bth\bh )\n-Interact with the system to make a new directory.\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Author\n- Michael Holst\n- Returns\n- Success enumeration\n- Parameters\n- path Pointer to the path\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_n\bnT\bTa\bag\bgs\bs(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_nTags ( void\u00a0 )\n-Return the total number of tags.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- total number of tags.\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_o\bop\bpe\ben\bn(\b()\b) *\b**\b**\b**\b**\b*\n-FILE * Vnm_open ( const int\u00a0 u\bun\bni\bit\bt )\n-Open an I/O console.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n-\n- The following codes are used:\n-\n-\n- unit# C output unit\n- ------- -------------\n-\n- unit==0 garbage -- Non-interactive i/o; lots of stuff\n-\n- (can be redirected to ${MCSH_HOME/io.mc)\n-\n- unit==1 stdout -- standard output (Interactive I/O)\n-\n- unit==2 stderr -- standard error (IMPORTANT interactive I/O)\n-\n-\n- unit==3 history -- History file ${MCSH_HOME}/hist.mcsh\n-\n-\n- unit==else /dev/null -- Error...\n- Returns\n- None\n- Parameters\n- unit index for the file unit\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_p\bpo\bow\bws\bsa\baf\bfe\be(\b()\b) *\b**\b**\b**\b**\b*\n-double Vnm_powsafe ( double\u00a0 x\bx,\n- double\u00a0 y\by\u00a0\n- )\n-A safe VPOW function (avoids division by zero).\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- output value of a VPOW function\n- Parameters\n- x input parameter\n- y input parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_p\bpr\bri\bin\bnt\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_print ( const int\u00a0 u\bun\bni\bit\bt,\n- const char *\u00a0 f\bfo\bor\brm\bma\bat\bt,\n- \u00a0 .\b..\b..\b.\u00a0\n- )\n-External interface to the console i/o routine.\n-We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- unit index for the file unit\n- format Pointer to the print format\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_q\bqs\bso\bor\brt\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_qsort ( int *\u00a0 u\bu,\n- int\u00a0 s\bsi\biz\bze\be\u00a0\n- )\n-Front-end to quick sort integer array from [-large] to [+large].\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- u Pointer to quick sort integer array\n- size size of the integer array\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_q\bqs\bso\bor\brt\btO\bOr\brd\bd(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_qsortOrd ( int *\u00a0 u\bu,\n- int *\u00a0 o\bor\brd\bd,\n- int\u00a0 s\bsi\biz\bze\be\u00a0\n- )\n-Front-end to quick sort integer array from [-large] to [+large].\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None *\n- Author\n- Michael Holst\n- Parameters\n- u Pointer to quick sort integer array\n- ord Pointer to reordered array\n- size size of the integer array\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_r\bre\bed\bdi\bir\bre\bec\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_redirect ( const int\u00a0 f\bfl\bla\bag\bg )\n-Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the\n-file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or Vnm_print!) in this\n-routine.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- flag index for the redirect flag\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_r\bre\beg\bgH\bHa\ban\bnd\bd(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_regHand ( void\u00a0 )\n-Register the signal handler with the operating system.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bse\bet\btI\bIo\boT\bTa\bag\bg(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_setIoTag ( int\u00a0 m\bmy\byT\bTa\bag\bg,\n- int\u00a0 n\bnu\bum\bmT\bTa\bag\bgs\bs\u00a0\n- )\n-Set my id.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- myTag index for the tag\n- numTags number of tags\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgH\bHa\ban\bnd\bd(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_sigHand ( int\u00a0 n\bnu\bum\bm )\n-Handle events such as SIGINT. We must have first been registered with\n-\"Vnm_signalInit\".\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgI\bIn\bnt\bt(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_sigInt ( void\u00a0 )\n-Signal and setjmp handling routine. Return the signal interrupt flag.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- Signal interrupt flag.\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgI\bIn\bnt\btC\bCl\ble\bea\bar\br(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_sigIntClear ( void\u00a0 )\n-Signal and setjmp handling routine. Clear the signal interrupt flag.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgI\bIn\bnt\btS\bSe\bet\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_sigIntSet ( void\u00a0 )\n-Signal and setjmp handling routine. Set the signal interrupt flag.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgn\bna\bal\blI\bIn\bni\bit\bt(\b()\b) *\b**\b**\b**\b**\b*\n-jmp_buf * Vnm_signalInit ( void\u00a0 )\n-Initialize the signal handling data structures.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- the signal handling data structures\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsl\ble\bee\bep\bp(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_sleep ( int\u00a0 n\bnu\bus\bse\bec\bcs\bs )\n-Implement a sleep function with microsecond resolution.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- This is hacked out of the \"sleep_us\" example in Rick Steven's Advance\n- Unix Programming book.\n- Returns\n- None\n- Parameters\n- nusecs number of microseconds\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsy\bys\bst\bte\bem\bm(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_system ( const char *\u00a0 c\bcm\bmd\bd )\n-An improved ANSI-C \"system\" call.\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Author\n- Michael Holst\n- Returns\n- Success enumeration\n- Parameters\n- cmd Pointer to the command\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsy\bys\bst\bte\bem\bmB\bBa\bac\bck\bk(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_systemBack ( const char *\u00a0 c\bcm\bmd\bd )\n-A background variant of the ANSI-C \"system\" call.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- Success enumeration\n- Parameters\n- cmd Pointer to the command\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsy\bys\bst\bte\bem\bmK\bKi\bil\bll\bl(\b()\b) *\b**\b**\b**\b**\b*\n-int Vnm_systemKill ( const char *\u00a0 c\bcm\bmd\bd )\n-Something like a UNIX \"killall\" call.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- Success enumeration\n- Parameters\n- cmd Pointer to the command\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\btp\bpr\bri\bin\bnt\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_tprint ( const int\u00a0 u\bun\bni\bit\bt,\n- const char *\u00a0 f\bfo\bor\brm\bma\bat\bt,\n- \u00a0 .\b..\b..\b.\u00a0\n- )\n-Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in\n-this routine.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- For a tag to be added, both of the following conditions must hold:\n- _\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg_\b(_\b) >= 0 (I.e., I must have been given a tag)\n- _\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs_\b(_\b) > 1 (I must not be the only one given a tag)\n- Returns\n- None\n- Parameters\n- unit index for the file unit\n- format Pointer to the print format\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\bts\bst\bta\bar\brt\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_tstart ( int\u00a0 t\bti\bim\bme\ber\br,\n- const char *\u00a0 n\bna\bam\bme\be\u00a0\n- )\n-Starts the timer on the particular machine.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- timer index for the starting timer\n- name Pointer to the object\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\bts\bst\bto\bop\bp(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_tstop ( int\u00a0 t\bti\bim\bme\ber\br,\n- const char *\u00a0 n\bna\bam\bme\be\u00a0\n- )\n-Stops the timer on the particular machine.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n- Parameters\n- timer index for the starting timer\n- name Pointer to the object\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\bty\byp\bpe\beC\bCh\bhk\bk(\b()\b) *\b**\b**\b**\b**\b*\n-void Vnm_typeChk ( void\u00a0 )\n-Check out the sizes of various datatypes.\n- Author\n- Michael Holst\n- Note\n- Useful constants and functions (timers, epsilon, token generators, i/o)\n- Returns\n- None\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVI\bIO\bO_\b_M\bMA\bAX\bXB\bBU\bUF\bF *\b**\b**\b**\b**\b*\n+#define VIO_MAXBUF\u00a0\u00a0\u00a010\n+number of internal buffers (BUFF datatype)\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVP\bPO\bOR\bRT\bTN\bNU\bUM\bMB\bBE\bER\bR *\b**\b**\b**\b**\b*\n+#define VPORTNUMBER\u00a0\u00a0\u00a014916\n+our portbase; 5000 < VPORTNUMBER < 49152\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00020_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00020_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vnm.h Source File\n+MALOC: vio.h Source File\n \n \n \n \n \n \n
\n@@ -44,152 +44,219 @@\n \n
\n \n
\n
\n
\n-
vnm.h
\n+
vio.h
\n
\n
\n Go to the documentation of this file.
1
\n-
33#ifndef _VNM_H_
\n-
34#define _VNM_H_
\n-
35
\n-
36#include <maloc/maloc_base.h>
\n-
37
\n-
38
\n-
46int Vnm_sigInt(void);
\n-
47
\n-
55void Vnm_sigIntSet(void);
\n+
39#ifndef _VIO_H_
\n+
40#define _VIO_H_
\n+
41
\n+
42#include <maloc/maloc_base.h>
\n+
43
\n+
44#include <maloc/vnm.h>
\n+
45
\n+
46/*
\n+
47 * ***************************************************************************
\n+
48 * Class Vio: Parameters and datatypes
\n+
49 * ***************************************************************************
\n+
50 */
\n+
51
\n+
53#define VPORTNUMBER 14916
\n+
55#define VIO_MAXBUF 10
\n
56
\n-
64void Vnm_sigIntClear(void);
\n-
65
\n-
73int Vnm_jmpOk(void);
\n-
74
\n-
82void Vnm_jmpOkSet(void);
\n-
83
\n-
91void Vnm_jmpOkClear(void);
\n+
\n+
62typedef enum VIOtype {
\n+\n+\n+\n+\n+\n+\n+\n+
\n+
70
\n+
\n+
76typedef enum VIOfrmt {
\n+\n+\n+\n+\n+
\n+
81
\n+
\n+
87typedef enum VIOrwkey {
\n+\n+\n+
90 VIO_W
\n+\n+
\n
92
\n-
100jmp_buf *Vnm_signalInit(void);
\n-
101
\n-
109void Vnm_regHand(void);
\n-
110
\n-
119void Vnm_sigHand(int num);
\n-
120
\n-
125#define VPOW_SAFE(x,y) (Vnm_powsafe(x,y))
\n-
126
\n-
136double Vnm_powsafe(double x, double y);
\n-
137
\n-
145void Vnm_typeChk(void);
\n-
146
\n-
160double Vnm_epsmac(void);
\n-
161
\n-
196int Vnm_gentokens(char *buf, char **argv,
\n-
197 const int argvmax, const char *white, const char *comment);
\n-
198
\n-
203#define VTIMERS 100
\n-
204
\n-
214void Vnm_tstart(int timer, const char *name);
\n-
215
\n-
225void Vnm_tstop(int timer, const char *name);
\n-
226
\n-
236char *Vnm_getuser(char *user, int usermax);
\n+
\n+
98struct sVio {
\n+
99
\n+\n+\n+\n+\n+\n+\n+
122 int error;
\n+
123 int dirty;
\n+
125 FILE *fp;
\n+
126 int so;
\n+
127 int soc;
\n+
128 void *name;
\n+
129 void *axdr;
\n+\n+\n+\n+\n+\n+\n+
140 char *VIObuffer;
\n+\n+\n+
144};
\n+
\n+
145
\n+
151typedef struct sVio Vio;
\n+
152
\n+
153/*
\n+
154 * ***************************************************************************
\n+
155 * Class Vio: Inlineable methods (vio.c)
\n+
156 * ***************************************************************************
\n+
157 */
\n+
158
\n+
159#if !defined(VINLINE_MALOC)
\n+
160#else /* if defined(VINLINE_MALOC) */
\n+
161#endif /* if !defined(VINLINE_MALOC) */
\n+
162
\n+
163/*
\n+
164 * ***************************************************************************
\n+
165 * Class Vio: Non-Inlineable methods (vio.c)
\n+
166 * ***************************************************************************
\n+
167 */
\n+
168
\n+
176void Vio_start(void);
\n+
177
\n+
185void Vio_stop(void);
\n+
186
\n+
199Vio* Vio_ctor(const char *socktype, const char *datafrmt,
\n+
200 const char *hostname, const char *filename, const char *rwkey);
\n+
201
\n+
215int Vio_ctor2(Vio *thee, const char *socktype, const char *datafrmt,
\n+
216 const char *hostname, const char *filename, const char *rwkey);
\n+
217
\n+
226void Vio_dtor(Vio **thee);
\n+
227
\n+
236void Vio_dtor2(Vio *thee);
\n
237
\n-
247char *Vnm_getos(char *os, int osmax);
\n+\n
248
\n-
258char *Vnm_gethost(char *host, int hostmax);
\n+
258void Vio_setCommChars(Vio *thee, char *commChars);
\n
259
\n-
279char *Vnm_gethome(char *path, int pathmax);
\n-
280
\n-
297char *Vnm_getcwd(char *path, int pathmax);
\n-
298
\n-
307int Vnm_chdir(const char *path);
\n-
308
\n-
317int Vnm_mkdir(const char *path);
\n+
272int Vio_accept(Vio *thee, int nonblock);
\n+
273
\n+
282void Vio_acceptFree(Vio *thee);
\n+
283
\n+
296int Vio_connect(Vio *thee, int nonblock);
\n+
297
\n+\n+
307
\n+
317int Vio_scanf(Vio *thee, char *parms, ...);
\n
318
\n-
327int Vnm_system(const char *cmd);
\n-
328
\n-
337int Vnm_systemBack(const char *cmd);
\n-
338
\n-
347int Vnm_systemKill(const char *cmd);
\n-
348
\n-
359int Vnm_exec(int argc, char **argv);
\n-
360
\n-
371void Vnm_sleep(int nusecs);
\n-
372
\n-
380int Vnm_ioTag(void);
\n-
381
\n-
389int Vnm_nTags(void);
\n-
390
\n-
400void Vnm_setIoTag(int myTag, int numTags);
\n+
328int Vio_printf(Vio *thee, char *parms, ...);
\n+
329
\n+
340int Vio_read(Vio *thee, char *buf, int bufsize);
\n+
341
\n+
352int Vio_write(Vio *thee, char *buf, int bufsize);
\n+
353
\n+
364void Vio_bufTake(Vio *thee, char *buf, int bufsize);
\n+
365
\n+
374char* Vio_bufGive(Vio *thee);
\n+
375
\n+
384int Vio_bufSize(Vio *thee);
\n+
385
\n+\n+
399 const char *iodev, const char *iofmt,
\n+
400 const char *iohost, const char *iofile);
\n
401
\n-
429FILE *Vnm_open(const int unit);
\n-
430
\n-
440int Vnm_close(const int unit);
\n-
441
\n-
451void Vnm_flush(const int unit);
\n-
452
\n-
463void Vnm_redirect(const int flag);
\n-
464
\n-
475void Vnm_print(const int unit, const char *format, ...);
\n-
476
\n-
490void Vnm_tprint(const int unit, const char *format, ...);
\n-
491
\n-
501void Vnm_qsort(int *u, int size);
\n-
502
\n-
513void Vnm_qsortOrd(int *u, int *ord, int size);
\n-
514
\n-
524void Vnm_dqsort(double *u, int size);
\n-
525
\n-
536void Vnm_dqsortOrd(double *u, int *ord, int size);
\n-
537
\n-
538#endif /* _VNM_H_ */
\n-
539
\n+
410void Vio_socketClose(Vio **sock);
\n+
411
\n+
412#endif /* _VIO_H_ */
\n+
413
\n
The base (or foundation) header for MALOC.
\n-
int Vnm_mkdir(const char *path)
Interact with the system to make a new directory.
\n-
void Vnm_sigHand(int num)
Handle events such as SIGINT. We must have first been registered with "Vnm_signalInit".
\n-
int Vnm_close(const int unit)
Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
\n-
char * Vnm_getos(char *os, int osmax)
Ask the system for the operating system name.
\n-
int Vnm_ioTag(void)
Return my I/O tag.
\n-
void Vnm_print(const int unit, const char *format,...)
External interface to the console i/o routine. We MUST NOT use VASSERT (or Vnm_print!...
\n-
void Vnm_setIoTag(int myTag, int numTags)
Set my id.
\n-
double Vnm_powsafe(double x, double y)
A safe VPOW function (avoids division by zero).
\n-
void Vnm_qsortOrd(int *u, int *ord, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n-
int Vnm_nTags(void)
Return the total number of tags.
\n-
void Vnm_sigIntClear(void)
Signal and setjmp handling routine. Clear the signal interrupt flag.
\n-
void Vnm_flush(const int unit)
Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
\n-
FILE * Vnm_open(const int unit)
Open an I/O console.
\n-
int Vnm_sigInt(void)
Signal and setjmp handling routine. Return the signal interrupt flag.
\n-
int Vnm_system(const char *cmd)
An improved ANSI-C "system" call.
\n-
int Vnm_exec(int argc, char **argv)
An improved UNIX "exec" call. This routine does not return except on error.
\n-
void Vnm_dqsortOrd(double *u, int *ord, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n-
void Vnm_jmpOkSet(void)
Signal and setjmp handling routine. Set the "okay-to-jump" flag.
\n-
void Vnm_tstart(int timer, const char *name)
Starts the timer on the particular machine.
\n-
char * Vnm_gethost(char *host, int hostmax)
Ask the system for the hostname.
\n-
void Vnm_sleep(int nusecs)
Implement a sleep function with microsecond resolution.
\n-
void Vnm_jmpOkClear(void)
Signal and setjmp handling routine. Clear the "okay-to-jump" flag.
\n-
jmp_buf * Vnm_signalInit(void)
Initialize the signal handling data structures.
\n-
int Vnm_chdir(const char *path)
Interact with the system to change the working directory.
\n-
void Vnm_typeChk(void)
Check out the sizes of various datatypes.
\n-
int Vnm_jmpOk(void)
Signal and setjmp handling routine. Return the "ok-to-jump" flag.
\n-
void Vnm_tprint(const int unit, const char *format,...)
Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
\n-
char * Vnm_gethome(char *path, int pathmax)
Ask the system for the home directory.
\n-
double Vnm_epsmac(void)
Computes the unit roundoff of the machine in single precision. This is defined as the smallest posi...
\n-
int Vnm_systemBack(const char *cmd)
A background variant of the ANSI-C "system" call.
\n-
int Vnm_gentokens(char *buf, char **argv, const int argvmax, const char *white, const char *comment)
Generate an [argv,argc] pair from a character string "buf" (assumed NULL-terminated) in which tokens ...
\n-
int Vnm_systemKill(const char *cmd)
Something like a UNIX "killall" call.
\n-
void Vnm_qsort(int *u, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n-
void Vnm_sigIntSet(void)
Signal and setjmp handling routine. Set the signal interrupt flag.
\n-
void Vnm_redirect(const int flag)
Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the file: ${MCSH_HOME}/io....
\n-
char * Vnm_getcwd(char *path, int pathmax)
Ask the system for the current working directory.
\n-
char * Vnm_getuser(char *user, int usermax)
Ask the system for the username.
\n-
void Vnm_regHand(void)
Register the signal handler with the operating system.
\n-
void Vnm_dqsort(double *u, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n-
void Vnm_tstop(int timer, const char *name)
Stops the timer on the particular machine.
\n+
#define VMAX_ARGNUM
Global constant.
Definition maloc_base.h:225
\n+
#define VMAX_BUFSIZE
Global constant.
Definition maloc_base.h:229
\n+
#define VMAX_ARGLEN
Global constant.
Definition maloc_base.h:227
\n+
Header file for an ISO C [V]irtual [N]umerical [M]achine.
\n+
int Vio_bufSize(Vio *thee)
Return the length to the internal buffer.
\n+
void Vio_stop(void)
Shutdown Vio communication layer.
\n+
int Vio_write(Vio *thee, char *buf, int bufsize)
Write bufsize characters from buf to output device.
\n+
int Vio_scanf(Vio *thee, char *parms,...)
Mimic "scanf" from an arbitrary Vio device.
\n+
void Vio_acceptFree(Vio *thee)
Free the socket child that was used for the last accept.
\n+
void Vio_start(void)
Start Vio communication layer (init internal variables/buffers)
\n+
int Vio_printf(Vio *thee, char *parms,...)
Mimic "printf" from an arbitrary Vio device.
\n+
Vio * Vio_socketOpen(char *key, const char *iodev, const char *iofmt, const char *iohost, const char *iofile)
Socket open for read or write.
\n+
void Vio_setWhiteChars(Vio *thee, char *whiteChars)
Set the white character set for I/O stream.
\n+
void Vio_socketClose(Vio **sock)
Socket close from read or write.
\n+
int Vio_connect(Vio *thee, int nonblock)
Connect to some socket on a remote machine (or on our machine)
\n+
VIOfrmt
Parameter for compression type (XDR,ASC)
Definition vio.h:76
\n+
int Vio_accept(Vio *thee, int nonblock)
Accept any waiting connect attempt to our socket on our machine.
\n+
Vio * Vio_ctor(const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
Construct the Vio object.
\n+
VIOtype
Parameter for I/O type (sdio,buff,file,unix,inet)
Definition vio.h:62
\n+
void Vio_dtor(Vio **thee)
Destruct the Vio object.
\n+
int Vio_read(Vio *thee, char *buf, int bufsize)
Read (up to) bufsize characters into buf from input device.
\n+
void Vio_bufTake(Vio *thee, char *buf, int bufsize)
Set the pointer to the internal buffer.
\n+
void Vio_connectFree(Vio *thee)
Purge any output buffers (for <UNIX/INET>, else a no-op)
\n+
void Vio_setCommChars(Vio *thee, char *commChars)
Set the comment character set for I/O stream.
\n+
char * Vio_bufGive(Vio *thee)
Return the pointer to the internal buffer.
\n+
VIOrwkey
Parameter for rw type (R,RW)
Definition vio.h:87
\n+
void Vio_dtor2(Vio *thee)
Work routine that Vio_dtor calls to do most of the destruction.
\n+
int Vio_ctor2(Vio *thee, const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
Work routine that Vio_ctor calls to do most of the construction.
\n+
@ VIO_XDR
Definition vio.h:78
\n+
@ VIO_NO_FRMT
Definition vio.h:77
\n+
@ VIO_ASC
Definition vio.h:79
\n+
@ VIO_NO_TYPE
Definition vio.h:63
\n+
@ VIO_FILE
Definition vio.h:66
\n+
@ VIO_UNIX
Definition vio.h:67
\n+
@ VIO_BUFF
Definition vio.h:65
\n+
@ VIO_SDIO
Definition vio.h:64
\n+
@ VIO_INET
Definition vio.h:68
\n+
@ VIO_NO_RW
Definition vio.h:88
\n+
@ VIO_W
Definition vio.h:90
\n+
@ VIO_R
Definition vio.h:89
\n+
Contains public data members for Vio class.
Definition vio.h:98
\n+
char putBuffer[VMAX_BUFSIZE]
Definition vio.h:137
\n+
VIOtype type
Definition vio.h:100
\n+
int ioBufferLen
Definition vio.h:135
\n+
VIOrwkey rwkey
Definition vio.h:113
\n+
char commChars[VMAX_ARGNUM]
Definition vio.h:132
\n+
int VIObufferPtr
Definition vio.h:142
\n+
FILE * fp
Definition vio.h:125
\n+
VIOfrmt frmt
Definition vio.h:108
\n+
int dirty
Definition vio.h:123
\n+
int soc
Definition vio.h:127
\n+
char lhost[VMAX_ARGLEN]
Definition vio.h:119
\n+
char whiteChars[VMAX_ARGNUM]
Definition vio.h:131
\n+
char ioBuffer[VMAX_BUFSIZE]
Definition vio.h:134
\n+
int VIObufferLen
Definition vio.h:141
\n+
char file[VMAX_ARGLEN]
Definition vio.h:118
\n+
void * name
Definition vio.h:128
\n+
void * axdr
Definition vio.h:129
\n+
char * VIObuffer
Definition vio.h:140
\n+
int putBufferLen
Definition vio.h:138
\n+
int so
Definition vio.h:126
\n+
char rhost[VMAX_ARGLEN]
Definition vio.h:120
\n+
int error
Definition vio.h:122
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,232 +1,343 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-vnm.h\n+vio.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-33#ifndef _VNM_H_\n-34#define _VNM_H_\n-35\n-36#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-37\n-38\n-_\b4_\b6int _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt(void);\n-47\n-_\b5_\b5void _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bS_\be_\bt(void);\n+39#ifndef _VIO_H_\n+40#define _VIO_H_\n+41\n+42#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+43\n+44#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n+45\n+46/*\n+47 *\n+***************************************************************************\n+48 * Class Vio: Parameters and datatypes\n+49 *\n+***************************************************************************\n+50 */\n+51\n+_\b5_\b3#define VPORTNUMBER 14916\n+_\b5_\b5#define VIO_MAXBUF 10\n 56\n-_\b6_\b4void _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bC_\bl_\be_\ba_\br(void);\n-65\n-_\b7_\b3int _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk(void);\n-74\n-_\b8_\b2void _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bS_\be_\bt(void);\n-83\n-_\b9_\b1void _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bC_\bl_\be_\ba_\br(void);\n+_\b6_\b2typedef enum _\bV_\bI_\bO_\bt_\by_\bp_\be {\n+_\b6_\b3 _\bV_\bI_\bO_\b__\bN_\bO_\b__\bT_\bY_\bP_\bE,\n+_\b6_\b4 _\bV_\bI_\bO_\b__\bS_\bD_\bI_\bO,\n+_\b6_\b5 _\bV_\bI_\bO_\b__\bB_\bU_\bF_\bF,\n+_\b6_\b6 _\bV_\bI_\bO_\b__\bF_\bI_\bL_\bE,\n+_\b6_\b7 _\bV_\bI_\bO_\b__\bU_\bN_\bI_\bX,\n+68 _\bV_\bI_\bO_\b__\bI_\bN_\bE_\bT\n+_\b6_\b9} _\bV_\bI_\bO_\bt_\by_\bp_\be;\n+70\n+_\b7_\b6typedef enum _\bV_\bI_\bO_\bf_\br_\bm_\bt {\n+_\b7_\b7 _\bV_\bI_\bO_\b__\bN_\bO_\b__\bF_\bR_\bM_\bT,\n+_\b7_\b8 _\bV_\bI_\bO_\b__\bX_\bD_\bR,\n+79 _\bV_\bI_\bO_\b__\bA_\bS_\bC\n+_\b8_\b0} _\bV_\bI_\bO_\bf_\br_\bm_\bt;\n+81\n+_\b8_\b7typedef enum _\bV_\bI_\bO_\br_\bw_\bk_\be_\by {\n+_\b8_\b8 _\bV_\bI_\bO_\b__\bN_\bO_\b__\bR_\bW,\n+_\b8_\b9 _\bV_\bI_\bO_\b__\bR,\n+90 _\bV_\bI_\bO_\b__\bW\n+_\b9_\b1} _\bV_\bI_\bO_\br_\bw_\bk_\be_\by;\n 92\n-_\b1_\b0_\b0jmp_buf *_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bn_\ba_\bl_\bI_\bn_\bi_\bt(void);\n-101\n-_\b1_\b0_\b9void _\bV_\bn_\bm_\b__\br_\be_\bg_\bH_\ba_\bn_\bd(void);\n-110\n-_\b1_\b1_\b9void _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bH_\ba_\bn_\bd(int num);\n-120\n-_\b1_\b2_\b5#define VPOW_SAFE(x,y) (Vnm_powsafe(x,y))\n-126\n-_\b1_\b3_\b6double _\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be(double x, double y);\n-137\n-_\b1_\b4_\b5void _\bV_\bn_\bm_\b__\bt_\by_\bp_\be_\bC_\bh_\bk(void);\n-146\n-_\b1_\b6_\b0double _\bV_\bn_\bm_\b__\be_\bp_\bs_\bm_\ba_\bc(void);\n-161\n-_\b1_\b9_\b6int _\bV_\bn_\bm_\b__\bg_\be_\bn_\bt_\bo_\bk_\be_\bn_\bs(char *buf, char **argv,\n-197 const int argvmax, const char *white, const char *comment);\n-198\n-_\b2_\b0_\b3#define VTIMERS 100\n-204\n-_\b2_\b1_\b4void _\bV_\bn_\bm_\b__\bt_\bs_\bt_\ba_\br_\bt(int timer, const char *name);\n-215\n-_\b2_\b2_\b5void _\bV_\bn_\bm_\b__\bt_\bs_\bt_\bo_\bp(int timer, const char *name);\n-226\n-_\b2_\b3_\b6char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bu_\bs_\be_\br(char *user, int usermax);\n+_\b9_\b8struct _\bs_\bV_\bi_\bo {\n+99\n+_\b1_\b0_\b0 _\bV_\bI_\bO_\bt_\by_\bp_\be _\bt_\by_\bp_\be;\n+_\b1_\b0_\b8 _\bV_\bI_\bO_\bf_\br_\bm_\bt _\bf_\br_\bm_\bt;\n+_\b1_\b1_\b3 _\bV_\bI_\bO_\br_\bw_\bk_\be_\by _\br_\bw_\bk_\be_\by;\n+_\b1_\b1_\b8 char _\bf_\bi_\bl_\be[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n+_\b1_\b1_\b9 char _\bl_\bh_\bo_\bs_\bt[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n+_\b1_\b2_\b0 char _\br_\bh_\bo_\bs_\bt[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n+_\b1_\b2_\b2 int _\be_\br_\br_\bo_\br;\n+_\b1_\b2_\b3 int _\bd_\bi_\br_\bt_\by;\n+_\b1_\b2_\b5 FILE *_\bf_\bp;\n+_\b1_\b2_\b6 int _\bs_\bo;\n+_\b1_\b2_\b7 int _\bs_\bo_\bc;\n+_\b1_\b2_\b8 void *_\bn_\ba_\bm_\be;\n+_\b1_\b2_\b9 void *_\ba_\bx_\bd_\br;\n+_\b1_\b3_\b1 char _\bw_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bN_\bU_\bM];\n+_\b1_\b3_\b2 char _\bc_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bN_\bU_\bM];\n+_\b1_\b3_\b4 char _\bi_\bo_\bB_\bu_\bf_\bf_\be_\br[_\bV_\bM_\bA_\bX_\b__\bB_\bU_\bF_\bS_\bI_\bZ_\bE];\n+_\b1_\b3_\b5 int _\bi_\bo_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn;\n+_\b1_\b3_\b7 char _\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br[_\bV_\bM_\bA_\bX_\b__\bB_\bU_\bF_\bS_\bI_\bZ_\bE];\n+_\b1_\b3_\b8 int _\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn;\n+_\b1_\b4_\b0 char *_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br;\n+_\b1_\b4_\b1 int _\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bL_\be_\bn;\n+_\b1_\b4_\b2 int _\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bP_\bt_\br;\n+144};\n+145\n+_\b1_\b5_\b1typedef struct _\bs_\bV_\bi_\bo _\bV_\bi_\bo;\n+152\n+153/*\n+154 *\n+***************************************************************************\n+155 * Class Vio: Inlineable methods (vio.c)\n+156 *\n+***************************************************************************\n+157 */\n+158\n+159#if !defined(VINLINE_MALOC)\n+160#else /* if defined(VINLINE_MALOC) */\n+161#endif /* if !defined(VINLINE_MALOC) */\n+162\n+163/*\n+164 *\n+***************************************************************************\n+165 * Class Vio: Non-Inlineable methods (vio.c)\n+166 *\n+***************************************************************************\n+167 */\n+168\n+_\b1_\b7_\b6void _\bV_\bi_\bo_\b__\bs_\bt_\ba_\br_\bt(void);\n+177\n+_\b1_\b8_\b5void _\bV_\bi_\bo_\b__\bs_\bt_\bo_\bp(void);\n+186\n+_\b1_\b9_\b9_\bV_\bi_\bo* _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br(const char *socktype, const char *datafrmt,\n+200 const char *hostname, const char *filename, const char *_\br_\bw_\bk_\be_\by);\n+201\n+_\b2_\b1_\b5int _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br_\b2(_\bV_\bi_\bo *thee, const char *socktype, const char *datafrmt,\n+216 const char *hostname, const char *filename, const char *_\br_\bw_\bk_\be_\by);\n+217\n+_\b2_\b2_\b6void _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br(_\bV_\bi_\bo **thee);\n+227\n+_\b2_\b3_\b6void _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br_\b2(_\bV_\bi_\bo *thee);\n 237\n-_\b2_\b4_\b7char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bo_\bs(char *os, int osmax);\n+_\b2_\b4_\b7void _\bV_\bi_\bo_\b__\bs_\be_\bt_\bW_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs(_\bV_\bi_\bo *thee, char *_\bw_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs);\n 248\n-_\b2_\b5_\b8char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bs_\bt(char *host, int hostmax);\n+_\b2_\b5_\b8void _\bV_\bi_\bo_\b__\bs_\be_\bt_\bC_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs(_\bV_\bi_\bo *thee, char *_\bc_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs);\n 259\n-_\b2_\b7_\b9char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bm_\be(char *path, int pathmax);\n-280\n-_\b2_\b9_\b7char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bc_\bw_\bd(char *path, int pathmax);\n-298\n-_\b3_\b0_\b7int _\bV_\bn_\bm_\b__\bc_\bh_\bd_\bi_\br(const char *path);\n-308\n-_\b3_\b1_\b7int _\bV_\bn_\bm_\b__\bm_\bk_\bd_\bi_\br(const char *path);\n+_\b2_\b7_\b2int _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt(_\bV_\bi_\bo *thee, int nonblock);\n+273\n+_\b2_\b8_\b2void _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt_\bF_\br_\be_\be(_\bV_\bi_\bo *thee);\n+283\n+_\b2_\b9_\b6int _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt(_\bV_\bi_\bo *thee, int nonblock);\n+297\n+_\b3_\b0_\b6void _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt_\bF_\br_\be_\be(_\bV_\bi_\bo *thee);\n+307\n+_\b3_\b1_\b7int _\bV_\bi_\bo_\b__\bs_\bc_\ba_\bn_\bf(_\bV_\bi_\bo *thee, char *parms, ...);\n 318\n-_\b3_\b2_\b7int _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm(const char *cmd);\n-328\n-_\b3_\b3_\b7int _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bB_\ba_\bc_\bk(const char *cmd);\n-338\n-_\b3_\b4_\b7int _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bK_\bi_\bl_\bl(const char *cmd);\n-348\n-_\b3_\b5_\b9int _\bV_\bn_\bm_\b__\be_\bx_\be_\bc(int argc, char **argv);\n-360\n-_\b3_\b7_\b1void _\bV_\bn_\bm_\b__\bs_\bl_\be_\be_\bp(int nusecs);\n-372\n-_\b3_\b8_\b0int _\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg(void);\n-381\n-_\b3_\b8_\b9int _\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs(void);\n-390\n-_\b4_\b0_\b0void _\bV_\bn_\bm_\b__\bs_\be_\bt_\bI_\bo_\bT_\ba_\bg(int myTag, int numTags);\n+_\b3_\b2_\b8int _\bV_\bi_\bo_\b__\bp_\br_\bi_\bn_\bt_\bf(_\bV_\bi_\bo *thee, char *parms, ...);\n+329\n+_\b3_\b4_\b0int _\bV_\bi_\bo_\b__\br_\be_\ba_\bd(_\bV_\bi_\bo *thee, char *buf, int bufsize);\n+341\n+_\b3_\b5_\b2int _\bV_\bi_\bo_\b__\bw_\br_\bi_\bt_\be(_\bV_\bi_\bo *thee, char *buf, int bufsize);\n+353\n+_\b3_\b6_\b4void _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bT_\ba_\bk_\be(_\bV_\bi_\bo *thee, char *buf, int bufsize);\n+365\n+_\b3_\b7_\b4char* _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bG_\bi_\bv_\be(_\bV_\bi_\bo *thee);\n+375\n+_\b3_\b8_\b4int _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bS_\bi_\bz_\be(_\bV_\bi_\bo *thee);\n+385\n+_\b3_\b9_\b8_\bV_\bi_\bo *_\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bO_\bp_\be_\bn(char *key,\n+399 const char *iodev, const char *iofmt,\n+400 const char *iohost, const char *iofile);\n 401\n-_\b4_\b2_\b9FILE *_\bV_\bn_\bm_\b__\bo_\bp_\be_\bn(const int unit);\n-430\n-_\b4_\b4_\b0int _\bV_\bn_\bm_\b__\bc_\bl_\bo_\bs_\be(const int unit);\n-441\n-_\b4_\b5_\b1void _\bV_\bn_\bm_\b__\bf_\bl_\bu_\bs_\bh(const int unit);\n-452\n-_\b4_\b6_\b3void _\bV_\bn_\bm_\b__\br_\be_\bd_\bi_\br_\be_\bc_\bt(const int flag);\n-464\n-_\b4_\b7_\b5void _\bV_\bn_\bm_\b__\bp_\br_\bi_\bn_\bt(const int unit, const char *format, ...);\n-476\n-_\b4_\b9_\b0void _\bV_\bn_\bm_\b__\bt_\bp_\br_\bi_\bn_\bt(const int unit, const char *format, ...);\n-491\n-_\b5_\b0_\b1void _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt(int *u, int size);\n-502\n-_\b5_\b1_\b3void _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt_\bO_\br_\bd(int *u, int *ord, int size);\n-514\n-_\b5_\b2_\b4void _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt(double *u, int size);\n-525\n-_\b5_\b3_\b6void _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt_\bO_\br_\bd(double *u, int *ord, int size);\n-537\n-538#endif /* _VNM_H_ */\n-539\n+_\b4_\b1_\b0void _\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bC_\bl_\bo_\bs_\be(_\bV_\bi_\bo **sock);\n+411\n+412#endif /* _VIO_H_ */\n+413\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n-_\bV_\bn_\bm_\b__\bm_\bk_\bd_\bi_\br\n-int Vnm_mkdir(const char *path)\n-Interact with the system to make a new directory.\n-_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bH_\ba_\bn_\bd\n-void Vnm_sigHand(int num)\n-Handle events such as SIGINT. We must have first been registered with\n-\"Vnm_signalInit\".\n-_\bV_\bn_\bm_\b__\bc_\bl_\bo_\bs_\be\n-int Vnm_close(const int unit)\n-Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n-_\bV_\bn_\bm_\b__\bg_\be_\bt_\bo_\bs\n-char * Vnm_getos(char *os, int osmax)\n-Ask the system for the operating system name.\n-_\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg\n-int Vnm_ioTag(void)\n-Return my I/O tag.\n-_\bV_\bn_\bm_\b__\bp_\br_\bi_\bn_\bt\n-void Vnm_print(const int unit, const char *format,...)\n-External interface to the console i/o routine. We MUST NOT use VASSERT (or\n-Vnm_print!...\n-_\bV_\bn_\bm_\b__\bs_\be_\bt_\bI_\bo_\bT_\ba_\bg\n-void Vnm_setIoTag(int myTag, int numTags)\n-Set my id.\n-_\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be\n-double Vnm_powsafe(double x, double y)\n-A safe VPOW function (avoids division by zero).\n-_\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt_\bO_\br_\bd\n-void Vnm_qsortOrd(int *u, int *ord, int size)\n-Front-end to quick sort integer array from [-large] to [+large].\n-_\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs\n-int Vnm_nTags(void)\n-Return the total number of tags.\n-_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bC_\bl_\be_\ba_\br\n-void Vnm_sigIntClear(void)\n-Signal and setjmp handling routine. Clear the signal interrupt flag.\n-_\bV_\bn_\bm_\b__\bf_\bl_\bu_\bs_\bh\n-void Vnm_flush(const int unit)\n-Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or\n-Vnm_print!) in this routine.\n-_\bV_\bn_\bm_\b__\bo_\bp_\be_\bn\n-FILE * Vnm_open(const int unit)\n-Open an I/O console.\n-_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt\n-int Vnm_sigInt(void)\n-Signal and setjmp handling routine. Return the signal interrupt flag.\n-_\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm\n-int Vnm_system(const char *cmd)\n-An improved ANSI-C \"system\" call.\n-_\bV_\bn_\bm_\b__\be_\bx_\be_\bc\n-int Vnm_exec(int argc, char **argv)\n-An improved UNIX \"exec\" call. This routine does not return except on error.\n-_\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt_\bO_\br_\bd\n-void Vnm_dqsortOrd(double *u, int *ord, int size)\n-Front-end to quick sort integer array from [-large] to [+large].\n-_\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bS_\be_\bt\n-void Vnm_jmpOkSet(void)\n-Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.\n-_\bV_\bn_\bm_\b__\bt_\bs_\bt_\ba_\br_\bt\n-void Vnm_tstart(int timer, const char *name)\n-Starts the timer on the particular machine.\n-_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bs_\bt\n-char * Vnm_gethost(char *host, int hostmax)\n-Ask the system for the hostname.\n-_\bV_\bn_\bm_\b__\bs_\bl_\be_\be_\bp\n-void Vnm_sleep(int nusecs)\n-Implement a sleep function with microsecond resolution.\n-_\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bC_\bl_\be_\ba_\br\n-void Vnm_jmpOkClear(void)\n-Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.\n-_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bn_\ba_\bl_\bI_\bn_\bi_\bt\n-jmp_buf * Vnm_signalInit(void)\n-Initialize the signal handling data structures.\n-_\bV_\bn_\bm_\b__\bc_\bh_\bd_\bi_\br\n-int Vnm_chdir(const char *path)\n-Interact with the system to change the working directory.\n-_\bV_\bn_\bm_\b__\bt_\by_\bp_\be_\bC_\bh_\bk\n-void Vnm_typeChk(void)\n-Check out the sizes of various datatypes.\n-_\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk\n-int Vnm_jmpOk(void)\n-Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.\n-_\bV_\bn_\bm_\b__\bt_\bp_\br_\bi_\bn_\bt\n-void Vnm_tprint(const int unit, const char *format,...)\n-Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in\n-this routine.\n-_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bm_\be\n-char * Vnm_gethome(char *path, int pathmax)\n-Ask the system for the home directory.\n-_\bV_\bn_\bm_\b__\be_\bp_\bs_\bm_\ba_\bc\n-double Vnm_epsmac(void)\n-Computes the unit roundoff of the machine in single precision. This is defined\n-as the smallest posi...\n-_\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bB_\ba_\bc_\bk\n-int Vnm_systemBack(const char *cmd)\n-A background variant of the ANSI-C \"system\" call.\n-_\bV_\bn_\bm_\b__\bg_\be_\bn_\bt_\bo_\bk_\be_\bn_\bs\n-int Vnm_gentokens(char *buf, char **argv, const int argvmax, const char *white,\n-const char *comment)\n-Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-\n-terminated) in which tokens ...\n-_\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bK_\bi_\bl_\bl\n-int Vnm_systemKill(const char *cmd)\n-Something like a UNIX \"killall\" call.\n-_\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt\n-void Vnm_qsort(int *u, int size)\n-Front-end to quick sort integer array from [-large] to [+large].\n-_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bS_\be_\bt\n-void Vnm_sigIntSet(void)\n-Signal and setjmp handling routine. Set the signal interrupt flag.\n-_\bV_\bn_\bm_\b__\br_\be_\bd_\bi_\br_\be_\bc_\bt\n-void Vnm_redirect(const int flag)\n-Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the\n-file: ${MCSH_HOME}/io....\n-_\bV_\bn_\bm_\b__\bg_\be_\bt_\bc_\bw_\bd\n-char * Vnm_getcwd(char *path, int pathmax)\n-Ask the system for the current working directory.\n-_\bV_\bn_\bm_\b__\bg_\be_\bt_\bu_\bs_\be_\br\n-char * Vnm_getuser(char *user, int usermax)\n-Ask the system for the username.\n-_\bV_\bn_\bm_\b__\br_\be_\bg_\bH_\ba_\bn_\bd\n-void Vnm_regHand(void)\n-Register the signal handler with the operating system.\n-_\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt\n-void Vnm_dqsort(double *u, int size)\n-Front-end to quick sort integer array from [-large] to [+large].\n-_\bV_\bn_\bm_\b__\bt_\bs_\bt_\bo_\bp\n-void Vnm_tstop(int timer, const char *name)\n-Stops the timer on the particular machine.\n+_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bN_\bU_\bM\n+#define VMAX_ARGNUM\n+Global constant.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:225\n+_\bV_\bM_\bA_\bX_\b__\bB_\bU_\bF_\bS_\bI_\bZ_\bE\n+#define VMAX_BUFSIZE\n+Global constant.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:229\n+_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN\n+#define VMAX_ARGLEN\n+Global constant.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:227\n+_\bv_\bn_\bm_\b._\bh\n+Header file for an ISO C [V]irtual [N]umerical [M]achine.\n+_\bV_\bi_\bo_\b__\bb_\bu_\bf_\bS_\bi_\bz_\be\n+int Vio_bufSize(Vio *thee)\n+Return the length to the internal buffer.\n+_\bV_\bi_\bo_\b__\bs_\bt_\bo_\bp\n+void Vio_stop(void)\n+Shutdown Vio communication layer.\n+_\bV_\bi_\bo_\b__\bw_\br_\bi_\bt_\be\n+int Vio_write(Vio *thee, char *buf, int bufsize)\n+Write bufsize characters from buf to output device.\n+_\bV_\bi_\bo_\b__\bs_\bc_\ba_\bn_\bf\n+int Vio_scanf(Vio *thee, char *parms,...)\n+Mimic \"scanf\" from an arbitrary Vio device.\n+_\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt_\bF_\br_\be_\be\n+void Vio_acceptFree(Vio *thee)\n+Free the socket child that was used for the last accept.\n+_\bV_\bi_\bo_\b__\bs_\bt_\ba_\br_\bt\n+void Vio_start(void)\n+Start Vio communication layer (init internal variables/buffers)\n+_\bV_\bi_\bo_\b__\bp_\br_\bi_\bn_\bt_\bf\n+int Vio_printf(Vio *thee, char *parms,...)\n+Mimic \"printf\" from an arbitrary Vio device.\n+_\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bO_\bp_\be_\bn\n+Vio * Vio_socketOpen(char *key, const char *iodev, const char *iofmt, const\n+char *iohost, const char *iofile)\n+Socket open for read or write.\n+_\bV_\bi_\bo_\b__\bs_\be_\bt_\bW_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs\n+void Vio_setWhiteChars(Vio *thee, char *whiteChars)\n+Set the white character set for I/O stream.\n+_\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bC_\bl_\bo_\bs_\be\n+void Vio_socketClose(Vio **sock)\n+Socket close from read or write.\n+_\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt\n+int Vio_connect(Vio *thee, int nonblock)\n+Connect to some socket on a remote machine (or on our machine)\n+_\bV_\bI_\bO_\bf_\br_\bm_\bt\n+VIOfrmt\n+Parameter for compression type (XDR,ASC)\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:76\n+_\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt\n+int Vio_accept(Vio *thee, int nonblock)\n+Accept any waiting connect attempt to our socket on our machine.\n+_\bV_\bi_\bo_\b__\bc_\bt_\bo_\br\n+Vio * Vio_ctor(const char *socktype, const char *datafrmt, const char\n+*hostname, const char *filename, const char *rwkey)\n+Construct the Vio object.\n+_\bV_\bI_\bO_\bt_\by_\bp_\be\n+VIOtype\n+Parameter for I/O type (sdio,buff,file,unix,inet)\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:62\n+_\bV_\bi_\bo_\b__\bd_\bt_\bo_\br\n+void Vio_dtor(Vio **thee)\n+Destruct the Vio object.\n+_\bV_\bi_\bo_\b__\br_\be_\ba_\bd\n+int Vio_read(Vio *thee, char *buf, int bufsize)\n+Read (up to) bufsize characters into buf from input device.\n+_\bV_\bi_\bo_\b__\bb_\bu_\bf_\bT_\ba_\bk_\be\n+void Vio_bufTake(Vio *thee, char *buf, int bufsize)\n+Set the pointer to the internal buffer.\n+_\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt_\bF_\br_\be_\be\n+void Vio_connectFree(Vio *thee)\n+Purge any output buffers (for , else a no-op)\n+_\bV_\bi_\bo_\b__\bs_\be_\bt_\bC_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs\n+void Vio_setCommChars(Vio *thee, char *commChars)\n+Set the comment character set for I/O stream.\n+_\bV_\bi_\bo_\b__\bb_\bu_\bf_\bG_\bi_\bv_\be\n+char * Vio_bufGive(Vio *thee)\n+Return the pointer to the internal buffer.\n+_\bV_\bI_\bO_\br_\bw_\bk_\be_\by\n+VIOrwkey\n+Parameter for rw type (R,RW)\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:87\n+_\bV_\bi_\bo_\b__\bd_\bt_\bo_\br_\b2\n+void Vio_dtor2(Vio *thee)\n+Work routine that Vio_dtor calls to do most of the destruction.\n+_\bV_\bi_\bo_\b__\bc_\bt_\bo_\br_\b2\n+int Vio_ctor2(Vio *thee, const char *socktype, const char *datafrmt, const char\n+*hostname, const char *filename, const char *rwkey)\n+Work routine that Vio_ctor calls to do most of the construction.\n+_\bV_\bI_\bO_\b__\bX_\bD_\bR\n+@ VIO_XDR\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:78\n+_\bV_\bI_\bO_\b__\bN_\bO_\b__\bF_\bR_\bM_\bT\n+@ VIO_NO_FRMT\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:77\n+_\bV_\bI_\bO_\b__\bA_\bS_\bC\n+@ VIO_ASC\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:79\n+_\bV_\bI_\bO_\b__\bN_\bO_\b__\bT_\bY_\bP_\bE\n+@ VIO_NO_TYPE\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:63\n+_\bV_\bI_\bO_\b__\bF_\bI_\bL_\bE\n+@ VIO_FILE\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:66\n+_\bV_\bI_\bO_\b__\bU_\bN_\bI_\bX\n+@ VIO_UNIX\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:67\n+_\bV_\bI_\bO_\b__\bB_\bU_\bF_\bF\n+@ VIO_BUFF\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:65\n+_\bV_\bI_\bO_\b__\bS_\bD_\bI_\bO\n+@ VIO_SDIO\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:64\n+_\bV_\bI_\bO_\b__\bI_\bN_\bE_\bT\n+@ VIO_INET\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:68\n+_\bV_\bI_\bO_\b__\bN_\bO_\b__\bR_\bW\n+@ VIO_NO_RW\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:88\n+_\bV_\bI_\bO_\b__\bW\n+@ VIO_W\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:90\n+_\bV_\bI_\bO_\b__\bR\n+@ VIO_R\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:89\n+_\bs_\bV_\bi_\bo\n+Contains public data members for Vio class.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:98\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br\n+char putBuffer[VMAX_BUFSIZE]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:137\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bt_\by_\bp_\be\n+VIOtype type\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:100\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bi_\bo_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn\n+int ioBufferLen\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:135\n+_\bs_\bV_\bi_\bo_\b:_\b:_\br_\bw_\bk_\be_\by\n+VIOrwkey rwkey\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:113\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bc_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs\n+char commChars[VMAX_ARGNUM]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:132\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bP_\bt_\br\n+int VIObufferPtr\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:142\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bf_\bp\n+FILE * fp\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:125\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bf_\br_\bm_\bt\n+VIOfrmt frmt\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:108\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bd_\bi_\br_\bt_\by\n+int dirty\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:123\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bs_\bo_\bc\n+int soc\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:127\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bl_\bh_\bo_\bs_\bt\n+char lhost[VMAX_ARGLEN]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:119\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bw_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs\n+char whiteChars[VMAX_ARGNUM]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:131\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bi_\bo_\bB_\bu_\bf_\bf_\be_\br\n+char ioBuffer[VMAX_BUFSIZE]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:134\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bL_\be_\bn\n+int VIObufferLen\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:141\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bf_\bi_\bl_\be\n+char file[VMAX_ARGLEN]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:118\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bn_\ba_\bm_\be\n+void * name\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:128\n+_\bs_\bV_\bi_\bo_\b:_\b:_\ba_\bx_\bd_\br\n+void * axdr\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:129\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br\n+char * VIObuffer\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:140\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn\n+int putBufferLen\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:138\n+_\bs_\bV_\bi_\bo_\b:_\b:_\bs_\bo\n+int so\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:126\n+_\bs_\bV_\bi_\bo_\b:_\b:_\br_\bh_\bo_\bs_\bt\n+char rhost[VMAX_ARGLEN]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:120\n+_\bs_\bV_\bi_\bo_\b:_\b:_\be_\br_\br_\bo_\br\n+int error\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:122\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00021.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00021.dot.gz", "unified_diff": null, "details": [{"source1": "a00021.dot", "source2": "a00021.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vnm.h\"\n+digraph \"vio.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vnm.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node1 [id=\"Node000001\",label=\"vio.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -33,8 +33,11 @@\n Node14 [id=\"Node000014\",label=\"stdlib.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n+ Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00022.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00022.dot", "unified_diff": "@@ -1,34 +1,28 @@\n-digraph \"vnm.h\"\n+digraph \"vio.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vnm.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node1 [id=\"Node000001\",label=\"vio.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node2 [id=\"Node000002\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n- Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n- Node3 -> Node5 [id=\"edge4_Node000003_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node5 [id=\"Node000005\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node5 -> Node4 [id=\"edge5_Node000005_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node6 [id=\"edge6_Node000003_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node6 [id=\"Node000006\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node6 -> Node7 [id=\"edge7_Node000006_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 [id=\"Node000007\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node7 -> Node5 [id=\"edge8_Node000007_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node7 [id=\"edge9_Node000003_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node8 [id=\"edge10_Node000003_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 [id=\"Node000008\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node8 -> Node7 [id=\"edge11_Node000008_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node9 [id=\"edge12_Node000003_Node000009\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node9 [id=\"Node000009\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n- Node9 -> Node4 [id=\"edge13_Node000009_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node9 -> Node5 [id=\"edge14_Node000009_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node10 [id=\"edge15_Node000001_Node000010\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node10 [id=\"Node000010\",label=\"vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n- Node10 -> Node3 [id=\"edge16_Node000010_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node3 [id=\"edge17_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node4 -> Node3 [id=\"edge4_Node000004_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node5 [id=\"edge5_Node000002_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node5 [id=\"Node000005\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node5 -> Node6 [id=\"edge6_Node000005_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node6 [id=\"Node000006\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node6 -> Node4 [id=\"edge7_Node000006_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node6 [id=\"edge8_Node000002_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node7 [id=\"edge9_Node000002_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node7 [id=\"Node000007\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node7 -> Node6 [id=\"edge10_Node000007_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node8 [id=\"edge11_Node000002_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 [id=\"Node000008\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n+ Node8 -> Node3 [id=\"edge12_Node000008_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 -> Node4 [id=\"edge13_Node000008_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00023.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00023.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vsys.h File Reference\n+MALOC: vpred.h File Reference\n \n \n \n \n \n \n
\n@@ -39,43 +39,105 @@\n
\n
\n \n
\n
\n
\n-
vsys.h File Reference
\n+ \n+
vpred.h File Reference
\n
\n
\n \n-

The primary header for VSYS. (Virtual SYStem utilities library.) \n+

Header file for the Geometric Predicates. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vnm.h>
\n-#include <maloc/vmem.h>
\n-#include <maloc/vio.h>
\n-#include <maloc/vset.h>
\n-#include <maloc/vpred.h>
\n
\n-Include dependency graph for vsys.h:
\n+Include dependency graph for vpred.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+

\n+Macros

#define INEXACT   /* Nothing */
 Parameters and constants \"INEXACT\".
 
#define REAL   double
 float or double
 
#define REALPRINT   doubleprint
 Print the bit representation of a double.
 
#define REALRAND   doublerand
 Generate a double with random 53-bit significand and a random exponent in [0, 511].
 
#define NARROWRAND   narrowdoublerand
 Generate a double with random 53-bit significand and a random exponent in [0, 7].
 
#define UNIFORMRAND   uniformdoublerand
 Generate a double with random 53-bit significand.
 
\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+

\n+Functions

void Vpred_exactinit (void)
 Initialize the variables used for exact arithmetic.
 
REAL Vpred_orient2d (REAL *pa, REAL *pb, REAL *pc)
 Adaptive exact 2D orientation test. Robust.
 
REAL Vpred_orient2dfast (REAL *pa, REAL *pb, REAL *pc)
 Approximate 2D orientation test. Nonrobust.
 
REAL Vpred_orient2dexact (REAL *pa, REAL *pb, REAL *pc)
 Exact 2D orientation test. Robust.
 
REAL Vpred_orient3d (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Adaptive exact 3D orientation test. Robust.
 
REAL Vpred_orient3dfast (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Approximate 3D orientation test. Nonrobust.
 
REAL Vpred_orient3dexact (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Exact 3D orientation test. Robust.
 
REAL Vpred_incircle (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Adaptive exact 2D incircle test. Robust.
 
REAL Vpred_incirclefast (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Approximate 2D incircle test. Nonrobust.
 
REAL Vpred_incircleexact (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Exact 2D incircle test. Robust.
 
REAL Vpred_insphere (REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
 Adaptive exact 3D insphere test. Robust.
 
REAL Vpred_inspherefast (REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
 Approximate 3D insphere test. Nonrobust.
 
REAL Vpred_insphereexact (REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
 Exact 3D insphere test. Robust.
 
\n

Detailed Description

\n-

The primary header for VSYS. (Virtual SYStem utilities library.)

\n-
Author
Michael Holst
\n+

Header file for the Geometric Predicates.

\n
Version
\n-
Id
vsys.h,v 1.12 2010/08/12 05:40:37 fetk Exp
\n+
Id
vpred.h,v 1.4 2010/08/12 05:40:37 fetk Exp
\n+
Author
Michael Holst
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -87,14 +149,757 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n *  
\n-
\n+

Macro Definition Documentation

\n+\n+

◆ INEXACT

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define INEXACT   /* Nothing */
\n+
\n+\n+

Parameters and constants \"INEXACT\".

\n+\n+
\n+
\n+\n+

◆ NARROWRAND

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define NARROWRAND   narrowdoublerand
\n+
\n+\n+

Generate a double with random 53-bit significand and a random exponent in [0, 7].

\n+\n+
\n+
\n+\n+

◆ REAL

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define REAL   double
\n+
\n+\n+

float or double

\n+\n+
\n+
\n+\n+

◆ REALPRINT

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define REALPRINT   doubleprint
\n+
\n+\n+

Print the bit representation of a double.

\n+\n+
\n+
\n+\n+

◆ REALRAND

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define REALRAND   doublerand
\n+
\n+\n+

Generate a double with random 53-bit significand and a random exponent in [0, 511].

\n+\n+
\n+
\n+\n+

◆ UNIFORMRAND

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define UNIFORMRAND   uniformdoublerand
\n+
\n+\n+

Generate a double with random 53-bit significand.

\n+\n+
\n+
\n+

Function Documentation

\n+\n+

◆ Vpred_exactinit()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vpred_exactinit (void )
\n+
\n+\n+

Initialize the variables used for exact arithmetic.

\n+
Note
‘epsilon’ is the largest power of two such that 1.0 + epsilon = 1.0 in floating-point arithmetic. ‘epsilon’ bounds the relative roundoff error. It is used for floating-point error analysis. ‘splitter’ is used to split floating-point numbers into two half- length significands for exact multiplication. I imagine that a highly optimizing compiler might be too smart for its own good, and somehow cause this routine to fail, if it pretends that floating-point arithmetic is too much like real arithmetic. Don't change this routine unless you fully understand it.
\n+\n+
\n+
\n+\n+

◆ Vpred_incircle()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_incircle (REALpa,
REALpb,
REALpc,
REALpd 
)
\n+
\n+\n+

Adaptive exact 2D incircle test. Robust.

\n+
Returns
a positive value if the point pd lies inside the circle passing through pa, pb, and pc; a negative value if it lies outside; and zero if the four points are cocircular. The points pa, pb, and pc must be in counterclockwise order, or the sign of the result will be reversed.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_incircleexact()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_incircleexact (REALpa,
REALpb,
REALpc,
REALpd 
)
\n+
\n+\n+

Exact 2D incircle test. Robust.

\n+
Returns
a positive value if the point pd lies inside the circle passing through pa, pb, and pc; a negative value if it lies outside; and zero if the four points are cocircular. The points pa, pb, and pc must be in counterclockwise order, or the sign of the result will be reversed.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_incirclefast()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_incirclefast (REALpa,
REALpb,
REALpc,
REALpd 
)
\n+
\n+\n+

Approximate 2D incircle test. Nonrobust.

\n+
Returns
a positive value if the point pd lies inside the circle passing through pa, pb, and pc; a negative value if it lies outside; and zero if the four points are cocircular. The points pa, pb, and pc must be in counterclockwise order, or the sign of the result will be reversed.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_insphere()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_insphere (REALpa,
REALpb,
REALpc,
REALpd,
REALpe 
)
\n+
\n+\n+

Adaptive exact 3D insphere test. Robust.

\n+
Returns
a positive value if the point pe lies inside the sphere passing through pa, pb, pc, and pd; a negative value if it lies outside; and zero if the five points are cospherical. The points pa, pb, pc, and pd must be ordered so that they have a positive orientation (as defined by orient3d()), or the sign of the result will be reversed.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
pePointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_insphereexact()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_insphereexact (REALpa,
REALpb,
REALpc,
REALpd,
REALpe 
)
\n+
\n+\n+

Exact 3D insphere test. Robust.

\n+
Returns
a positive value if the point pe lies inside the sphere passing through pa, pb, pc, and pd; a negative value if it lies outside; and zero if the five points are cospherical. The points pa, pb, pc, and pd must be ordered so that they have a positive orientation (as defined by orient3d()), or the sign of the result will be reversed.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
pePointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_inspherefast()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_inspherefast (REALpa,
REALpb,
REALpc,
REALpd,
REALpe 
)
\n+
\n+\n+

Approximate 3D insphere test. Nonrobust.

\n+
Returns
a positive value if the point pe lies inside the sphere passing through pa, pb, pc, and pd; a negative value if it lies outside; and zero if the five points are cospherical. The points pa, pb, pc, and pd must be ordered so that they have a positive orientation (as defined by orient3d()), or the sign of the result will be reversed.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
pePointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_orient2d()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_orient2d (REALpa,
REALpb,
REALpc 
)
\n+
\n+\n+

Adaptive exact 2D orientation test. Robust.

\n+
Returns
a positive value if the points pa, pb, and pc occur in counterclockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. The result is also a rough approximation of twice the signed area of the triangle defined by the three points.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_orient2dexact()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_orient2dexact (REALpa,
REALpb,
REALpc 
)
\n+
\n+\n+

Exact 2D orientation test. Robust.

\n+
Returns
a positive value if the points pa, pb, and pc occur in counterclockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. The result is also a rough approximation of twice the signed area of the triangle defined by the three points.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_orient2dfast()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_orient2dfast (REALpa,
REALpb,
REALpc 
)
\n+
\n+\n+

Approximate 2D orientation test. Nonrobust.

\n+
Returns
a positive value if the points pa, pb, and pc occur in counterclockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. The result is also a rough approximation of twice the signed area of the triangle defined by the three points.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_orient3d()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_orient3d (REALpa,
REALpb,
REALpc,
REALpd 
)
\n+
\n+\n+

Adaptive exact 3D orientation test. Robust.

\n+
Returns
a positive value if the point pd lies below the plane passing through pa, pb, and pc; \"below\" is defined so that pa, pb, and pc appear in counterclockwise order when viewed from above the plane. Returns a negative value if pd lies above the plane. Returns zero if the points are coplanar. The result is also a rough approximation of six times the signed volume of the tetrahedron defined by the four points.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_orient3dexact()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_orient3dexact (REALpa,
REALpb,
REALpc,
REALpd 
)
\n+
\n+\n+

Exact 3D orientation test. Robust.

\n+
Returns
a positive value if the point pd lies below the plane passing through pa, pb, and pc; \"below\" is defined so that pa, pb, and pc appear in counterclockwise order when viewed from above the plane. Returns a negative value if pd lies above the plane. Returns zero if the points are coplanar. The result is also a rough approximation of six times the signed volume of the tetrahedron defined by the four points.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vpred_orient3dfast()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
REAL Vpred_orient3dfast (REALpa,
REALpb,
REALpc,
REALpd 
)
\n+
\n+\n+

Approximate 3D orientation test. Nonrobust.

\n+
Returns
a positive value if the point pd lies below the plane passing through pa, pb, and pc; \"below\" is defined so that pa, pb, and pc appear in counterclockwise order when viewed from above the plane. Returns a negative value if pd lies above the plane. Returns zero if the points are coplanar. The result is also a rough approximation of six times the signed volume of the tetrahedron defined by the four points.
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n+
\n+
\n+\n+
\n+
\n+
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,30 +1,86 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-vsys.h File Reference\n-_\bg_\bl_\bo_\bb_\ba_\bl_\b__\bm_\ba_\bl_\bo_\bc_\b _\bc_\bl_\ba_\bs_\bs\n-The primary header for VSYS. (Virtual SYStem utilities library.) _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bM_\ba_\bc_\br_\bo_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+vpred.h File Reference\n+Header file for the Geometric Predicates. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bi_\bo_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\be_\bt_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bp_\br_\be_\bd_\b._\bh>\n-Include dependency graph for vsys.h:\n+Include dependency graph for vpred.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n+M\bMa\bac\bcr\bro\bos\bs\n+#define\u00a0 _\bI_\bN_\bE_\bX_\bA_\bC_\bT\u00a0\u00a0\u00a0/* Nothing */\n+\u00a0 Parameters and constants \"INEXACT\".\n+\u00a0\n+#define\u00a0 _\bR_\bE_\bA_\bL\u00a0\u00a0\u00a0double\n+\u00a0 float or double\n+\u00a0\n+#define\u00a0 _\bR_\bE_\bA_\bL_\bP_\bR_\bI_\bN_\bT\u00a0\u00a0\u00a0doubleprint\n+\u00a0 Print the bit representation of a double.\n+\u00a0\n+#define\u00a0 _\bR_\bE_\bA_\bL_\bR_\bA_\bN_\bD\u00a0\u00a0\u00a0doublerand\n+\u00a0 Generate a double with random 53-bit significand and a random exponent\n+ in [0, 511].\n+\u00a0\n+#define\u00a0 _\bN_\bA_\bR_\bR_\bO_\bW_\bR_\bA_\bN_\bD\u00a0\u00a0\u00a0narrowdoublerand\n+\u00a0 Generate a double with random 53-bit significand and a random exponent\n+ in [0, 7].\n+\u00a0\n+#define\u00a0 _\bU_\bN_\bI_\bF_\bO_\bR_\bM_\bR_\bA_\bN_\bD\u00a0\u00a0\u00a0uniformdoublerand\n+\u00a0 Generate a double with random 53-bit significand.\n+\u00a0\n+F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n+void\u00a0 _\bV_\bp_\br_\be_\bd_\b__\be_\bx_\ba_\bc_\bt_\bi_\bn_\bi_\bt (void)\n+\u00a0 Initialize the variables used for exact arithmetic.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc)\n+\u00a0 Adaptive exact 2D orientation test. Robust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc)\n+\u00a0 Approximate 2D orientation test. Nonrobust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc)\n+\u00a0 Exact 2D orientation test. Robust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n+\u00a0 Adaptive exact 3D orientation test. Robust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n+\u00a0 Approximate 3D orientation test. Nonrobust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n+\u00a0 Exact 3D orientation test. Robust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n+\u00a0 Adaptive exact 2D incircle test. Robust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n+\u00a0 Approximate 2D incircle test. Nonrobust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n+\u00a0 Exact 2D incircle test. Robust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe)\n+\u00a0 Adaptive exact 3D insphere test. Robust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe)\n+\u00a0 Approximate 3D insphere test. Nonrobust.\n+\u00a0\n+_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe)\n+\u00a0 Exact 3D insphere test. Robust.\n+\u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-The primary header for VSYS. (Virtual SYStem utilities library.)\n- Author\n- Michael Holst\n+Header file for the Geometric Predicates.\n Version\n Id\n- _\bv_\bs_\by_\bs_\b._\bh,v 1.12 2010/08/12 05:40:37 fetk Exp\n+ _\bv_\bp_\br_\be_\bd_\b._\bh,v 1.4 2010/08/12 05:40:37 fetk Exp\n+ Author\n+ Michael Holst\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n@@ -37,9 +93,256 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\n *\n+*\b**\b**\b**\b**\b* M\bMa\bac\bcr\bro\bo D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0I\bIN\bNE\bEX\bXA\bAC\bCT\bT *\b**\b**\b**\b**\b*\n+#define INEXACT\u00a0\u00a0\u00a0/* Nothing */\n+Parameters and constants \"INEXACT\".\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0N\bNA\bAR\bRR\bRO\bOW\bWR\bRA\bAN\bND\bD *\b**\b**\b**\b**\b*\n+#define NARROWRAND\u00a0\u00a0\u00a0narrowdoublerand\n+Generate a double with random 53-bit significand and a random exponent in [0,\n+7].\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0R\bRE\bEA\bAL\bL *\b**\b**\b**\b**\b*\n+#define REAL\u00a0\u00a0\u00a0double\n+float or double\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0R\bRE\bEA\bAL\bLP\bPR\bRI\bIN\bNT\bT *\b**\b**\b**\b**\b*\n+#define REALPRINT\u00a0\u00a0\u00a0doubleprint\n+Print the bit representation of a double.\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0R\bRE\bEA\bAL\bLR\bRA\bAN\bND\bD *\b**\b**\b**\b**\b*\n+#define REALRAND\u00a0\u00a0\u00a0doublerand\n+Generate a double with random 53-bit significand and a random exponent in [0,\n+511].\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0U\bUN\bNI\bIF\bFO\bOR\bRM\bMR\bRA\bAN\bND\bD *\b**\b**\b**\b**\b*\n+#define UNIFORMRAND\u00a0\u00a0\u00a0uniformdoublerand\n+Generate a double with random 53-bit significand.\n+*\b**\b**\b**\b**\b* F\bFu\bun\bnc\bct\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_e\bex\bxa\bac\bct\bti\bin\bni\bit\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vpred_exactinit ( void\u00a0 )\n+Initialize the variables used for exact arithmetic.\n+ Note\n+ \u2018epsilon\u2019 is the largest power of two such that 1.0 + epsilon = 1.0 in\n+ floating-point arithmetic. \u2018epsilon\u2019 bounds the relative roundoff error.\n+ It is used for floating-point error analysis. \u2018splitter\u2019 is used to split\n+ floating-point numbers into two half- length significands for exact\n+ multiplication. I imagine that a highly optimizing compiler might be too\n+ smart for its own good, and somehow cause this routine to fail, if it\n+ pretends that floating-point arithmetic is too much like real arithmetic.\n+ Don't change this routine unless you fully understand it.\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bnc\bci\bir\brc\bcl\ble\be(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_incircle ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n+ )\n+Adaptive exact 2D incircle test. Robust.\n+ Returns\n+ a positive value if the point pd lies inside the circle passing through\n+ pa, pb, and pc; a negative value if it lies outside; and zero if the four\n+ points are cocircular. The points pa, pb, and pc must be in\n+ counterclockwise order, or the sign of the result will be reversed.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bnc\bci\bir\brc\bcl\ble\bee\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_incircleexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n+ )\n+Exact 2D incircle test. Robust.\n+ Returns\n+ a positive value if the point pd lies inside the circle passing through\n+ pa, pb, and pc; a negative value if it lies outside; and zero if the four\n+ points are cocircular. The points pa, pb, and pc must be in\n+ counterclockwise order, or the sign of the result will be reversed.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bnc\bci\bir\brc\bcl\ble\bef\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_incirclefast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n+ )\n+Approximate 2D incircle test. Nonrobust.\n+ Returns\n+ a positive value if the point pd lies inside the circle passing through\n+ pa, pb, and pc; a negative value if it lies outside; and zero if the four\n+ points are cocircular. The points pa, pb, and pc must be in\n+ counterclockwise order, or the sign of the result will be reversed.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bns\bsp\bph\bhe\ber\bre\be(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_insphere ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpe\be\u00a0\n+ )\n+Adaptive exact 3D insphere test. Robust.\n+ Returns\n+ a positive value if the point pe lies inside the sphere passing through\n+ pa, pb, pc, and pd; a negative value if it lies outside; and zero if the\n+ five points are cospherical. The points pa, pb, pc, and pd must be\n+ ordered so that they have a positive orientation (as defined by orient3d\n+ ()), or the sign of the result will be reversed.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+ pe Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bns\bsp\bph\bhe\ber\bre\bee\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_insphereexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpe\be\u00a0\n+ )\n+Exact 3D insphere test. Robust.\n+ Returns\n+ a positive value if the point pe lies inside the sphere passing through\n+ pa, pb, pc, and pd; a negative value if it lies outside; and zero if the\n+ five points are cospherical. The points pa, pb, pc, and pd must be\n+ ordered so that they have a positive orientation (as defined by orient3d\n+ ()), or the sign of the result will be reversed.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+ pe Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bns\bsp\bph\bhe\ber\bre\bef\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_inspherefast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpe\be\u00a0\n+ )\n+Approximate 3D insphere test. Nonrobust.\n+ Returns\n+ a positive value if the point pe lies inside the sphere passing through\n+ pa, pb, pc, and pd; a negative value if it lies outside; and zero if the\n+ five points are cospherical. The points pa, pb, pc, and pd must be\n+ ordered so that they have a positive orientation (as defined by orient3d\n+ ()), or the sign of the result will be reversed.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+ pe Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt2\b2d\bd(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_orient2d ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc\u00a0\n+ )\n+Adaptive exact 2D orientation test. Robust.\n+ Returns\n+ a positive value if the points pa, pb, and pc occur in counterclockwise\n+ order; a negative value if they occur in clockwise order; and zero if\n+ they are collinear. The result is also a rough approximation of twice the\n+ signed area of the triangle defined by the three points.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt2\b2d\bde\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_orient2dexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc\u00a0\n+ )\n+Exact 2D orientation test. Robust.\n+ Returns\n+ a positive value if the points pa, pb, and pc occur in counterclockwise\n+ order; a negative value if they occur in clockwise order; and zero if\n+ they are collinear. The result is also a rough approximation of twice the\n+ signed area of the triangle defined by the three points.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt2\b2d\bdf\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_orient2dfast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc\u00a0\n+ )\n+Approximate 2D orientation test. Nonrobust.\n+ Returns\n+ a positive value if the points pa, pb, and pc occur in counterclockwise\n+ order; a negative value if they occur in clockwise order; and zero if\n+ they are collinear. The result is also a rough approximation of twice the\n+ signed area of the triangle defined by the three points.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt3\b3d\bd(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_orient3d ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n+ )\n+Adaptive exact 3D orientation test. Robust.\n+ Returns\n+ a positive value if the point pd lies below the plane passing through pa,\n+ pb, and pc; \"below\" is defined so that pa, pb, and pc appear in\n+ counterclockwise order when viewed from above the plane. Returns a\n+ negative value if pd lies above the plane. Returns zero if the points are\n+ coplanar. The result is also a rough approximation of six times the\n+ signed volume of the tetrahedron defined by the four points.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt3\b3d\bde\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_orient3dexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n+ )\n+Exact 3D orientation test. Robust.\n+ Returns\n+ a positive value if the point pd lies below the plane passing through pa,\n+ pb, and pc; \"below\" is defined so that pa, pb, and pc appear in\n+ counterclockwise order when viewed from above the plane. Returns a\n+ negative value if pd lies above the plane. Returns zero if the points are\n+ coplanar. The result is also a rough approximation of six times the\n+ signed volume of the tetrahedron defined by the four points.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt3\b3d\bdf\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n+_\bR_\bE_\bA_\bL Vpred_orient3dfast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n+ _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n+ )\n+Approximate 3D orientation test. Nonrobust.\n+ Returns\n+ a positive value if the point pd lies below the plane passing through pa,\n+ pb, and pc; \"below\" is defined so that pa, pb, and pc appear in\n+ counterclockwise order when viewed from above the plane. Returns a\n+ negative value if pd lies above the plane. Returns zero if the points are\n+ coplanar. The result is also a rough approximation of six times the\n+ signed volume of the tetrahedron defined by the four points.\n+ Parameters\n+ pa Pointer to a real parameter\n+ pb Pointer to a real parameter\n+ pc Pointer to a real parameter\n+ pd Pointer to a real parameter\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00023_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00023_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vsys.h Source File\n+MALOC: vpred.h Source File\n \n \n \n \n \n \n
\n@@ -44,37 +44,95 @@\n \n
\n \n
\n
\n
\n-
vsys.h
\n+
vpred.h
\n
\n
\n Go to the documentation of this file.
1
\n-
31#ifndef _VSYS_H_
\n-
32#define _VSYS_H_
\n-
33
\n-
34#include <maloc/maloc_base.h>
\n-
35
\n-
36#include <maloc/vnm.h>
\n-
37#include <maloc/vmem.h>
\n-
38#include <maloc/vio.h>
\n-
39#include <maloc/vset.h>
\n-
40#include <maloc/vpred.h>
\n+
30#ifndef _VPRED_H_
\n+
31#define _VPRED_H_
\n+
32
\n+
33#include <maloc/maloc_base.h>
\n+
34
\n+
35/* random() prototype seems to be missing in <stdlib.h> */
\n+
36/*
\n+
37 * if !defined(VOSF1)
\n+
38 * extern long int random(void);
\n+
39 * endif
\n+
40 */
\n
41
\n-
42#endif /* _VSYS_H_ */
\n-
43
\n+
42/* On some machines, the exact arithmetic routines might be defeated by the */
\n+
43/* use of internal extended precision floating-point registers. Sometimes */
\n+
44/* this problem can be fixed by defining certain values to be volatile, */
\n+
45/* thus forcing them to be stored to memory and rounded off. This isn't */
\n+
46/* a great solution, though, as it slows the arithmetic down. */
\n+
47/* */
\n+
48/* To try this out, write "#define INEXACT volatile" below. Normally, */
\n+
49/* however, INEXACT should be defined to be nothing. ("#define INEXACT".) */
\n+
50
\n+
52#define INEXACT /* Nothing */
\n+
53/* #define INEXACT volatile */
\n+
54
\n+
56#define REAL double
\n+
57
\n+
59#define REALPRINT doubleprint
\n+
60
\n+
63#define REALRAND doublerand
\n+
64
\n+
67#define NARROWRAND narrowdoublerand
\n+
68
\n+
70#define UNIFORMRAND uniformdoublerand
\n+
71
\n+
84void Vpred_exactinit(void);
\n+
85
\n+\n+
98
\n+\n+
111
\n+\n+
124
\n+
139REAL Vpred_orient3d(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
\n+
140
\n+\n+
156
\n+\n+
172
\n+
185REAL Vpred_incircle(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
\n+
186
\n+\n+
200
\n+\n+
214
\n+
228REAL Vpred_insphere(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
\n+
229
\n+
243REAL Vpred_inspherefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
\n+
244
\n+
258REAL Vpred_insphereexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
\n+
259
\n+
260#endif /* _VPRED_H_ */
\n+
261
\n
The base (or foundation) header for MALOC.
\n-
Header file for an ISO C [V]irtual [N]umerical [M]achine.
\n-
Class Vset: a dynamic set object.
\n-
Class Vmem: A safer, object-oriented, malloc/free object.
\n-
Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.
\n-
Header file for the Geometric Predicates.
\n+
REAL Vpred_orient2d(REAL *pa, REAL *pb, REAL *pc)
Adaptive exact 2D orientation test. Robust.
\n+
REAL Vpred_orient3dfast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Approximate 3D orientation test. Nonrobust.
\n+
#define REAL
float or double
Definition vpred.h:56
\n+
REAL Vpred_orient3dexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Exact 3D orientation test. Robust.
\n+
REAL Vpred_inspherefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
Approximate 3D insphere test. Nonrobust.
\n+
REAL Vpred_orient3d(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Adaptive exact 3D orientation test. Robust.
\n+
REAL Vpred_insphereexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
Exact 3D insphere test. Robust.
\n+
void Vpred_exactinit(void)
Initialize the variables used for exact arithmetic.
\n+
REAL Vpred_incircleexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Exact 2D incircle test. Robust.
\n+
REAL Vpred_insphere(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
Adaptive exact 3D insphere test. Robust.
\n+
REAL Vpred_orient2dfast(REAL *pa, REAL *pb, REAL *pc)
Approximate 2D orientation test. Nonrobust.
\n+
REAL Vpred_orient2dexact(REAL *pa, REAL *pb, REAL *pc)
Exact 2D orientation test. Robust.
\n+
REAL Vpred_incircle(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Adaptive exact 2D incircle test. Robust.
\n+
REAL Vpred_incirclefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Approximate 2D incircle test. Nonrobust.
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,34 +1,117 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-vsys.h\n+vpred.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-31#ifndef _VSYS_H_\n-32#define _VSYS_H_\n-33\n-34#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-35\n-36#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n-37#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n-38#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bi_\bo_\b._\bh>\n-39#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\be_\bt_\b._\bh>\n-40#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bp_\br_\be_\bd_\b._\bh>\n+30#ifndef _VPRED_H_\n+31#define _VPRED_H_\n+32\n+33#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+34\n+35/* random() prototype seems to be missing in */\n+36/*\n+37 * if !defined(VOSF1)\n+38 * extern long int random(void);\n+39 * endif\n+40 */\n 41\n-42#endif /* _VSYS_H_ */\n-43\n+42/* On some machines, the exact arithmetic routines might be defeated by the\n+*/\n+43/* use of internal extended precision floating-point registers. Sometimes */\n+44/* this problem can be fixed by defining certain values to be volatile, */\n+45/* thus forcing them to be stored to memory and rounded off. This isn't */\n+46/* a great solution, though, as it slows the arithmetic down. */\n+47/* */\n+48/* To try this out, write \"#define INEXACT volatile\" below. Normally, */\n+49/* however, INEXACT should be defined to be nothing. (\"#define INEXACT\".) */\n+50\n+_\b5_\b2#define INEXACT /* Nothing */\n+53/* #define INEXACT volatile */\n+54\n+_\b5_\b6#define REAL double\n+57\n+_\b5_\b9#define REALPRINT doubleprint\n+60\n+_\b6_\b3#define REALRAND doublerand\n+64\n+_\b6_\b7#define NARROWRAND narrowdoublerand\n+68\n+_\b7_\b0#define UNIFORMRAND uniformdoublerand\n+71\n+_\b8_\b4void _\bV_\bp_\br_\be_\bd_\b__\be_\bx_\ba_\bc_\bt_\bi_\bn_\bi_\bt(void);\n+85\n+_\b9_\b7_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc);\n+98\n+_\b1_\b1_\b0_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc);\n+111\n+_\b1_\b2_\b3_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc);\n+124\n+_\b1_\b3_\b9_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n+140\n+_\b1_\b5_\b5_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n+156\n+_\b1_\b7_\b1_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n+172\n+_\b1_\b8_\b5_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n+186\n+_\b1_\b9_\b9_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n+200\n+_\b2_\b1_\b3_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n+214\n+_\b2_\b2_\b8_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe);\n+229\n+_\b2_\b4_\b3_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe);\n+244\n+_\b2_\b5_\b8_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe);\n+259\n+260#endif /* _VPRED_H_ */\n+261\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n-_\bv_\bn_\bm_\b._\bh\n-Header file for an ISO C [V]irtual [N]umerical [M]achine.\n-_\bv_\bs_\be_\bt_\b._\bh\n-Class Vset: a dynamic set object.\n-_\bv_\bm_\be_\bm_\b._\bh\n-Class Vmem: A safer, object-oriented, malloc/free object.\n-_\bv_\bi_\bo_\b._\bh\n-Class Vio: virtual I/O layer.\n-_\bv_\bp_\br_\be_\bd_\b._\bh\n-Header file for the Geometric Predicates.\n+_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd\n+REAL Vpred_orient2d(REAL *pa, REAL *pb, REAL *pc)\n+Adaptive exact 2D orientation test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\bf_\ba_\bs_\bt\n+REAL Vpred_orient3dfast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n+Approximate 3D orientation test. Nonrobust.\n+_\bR_\bE_\bA_\bL\n+#define REAL\n+float or double\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vpred.h:56\n+_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\be_\bx_\ba_\bc_\bt\n+REAL Vpred_orient3dexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n+Exact 3D orientation test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\bf_\ba_\bs_\bt\n+REAL Vpred_inspherefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)\n+Approximate 3D insphere test. Nonrobust.\n+_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd\n+REAL Vpred_orient3d(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n+Adaptive exact 3D orientation test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\be_\bx_\ba_\bc_\bt\n+REAL Vpred_insphereexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)\n+Exact 3D insphere test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\be_\bx_\ba_\bc_\bt_\bi_\bn_\bi_\bt\n+void Vpred_exactinit(void)\n+Initialize the variables used for exact arithmetic.\n+_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\be_\bx_\ba_\bc_\bt\n+REAL Vpred_incircleexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n+Exact 2D incircle test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be\n+REAL Vpred_insphere(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)\n+Adaptive exact 3D insphere test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\bf_\ba_\bs_\bt\n+REAL Vpred_orient2dfast(REAL *pa, REAL *pb, REAL *pc)\n+Approximate 2D orientation test. Nonrobust.\n+_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\be_\bx_\ba_\bc_\bt\n+REAL Vpred_orient2dexact(REAL *pa, REAL *pb, REAL *pc)\n+Exact 2D orientation test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be\n+REAL Vpred_incircle(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n+Adaptive exact 2D incircle test. Robust.\n+_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\bf_\ba_\bs_\bt\n+REAL Vpred_incirclefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n+Approximate 2D incircle test. Nonrobust.\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00024.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00024.dot.gz", "unified_diff": null, "details": [{"source1": "a00024.dot", "source2": "a00024.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vsys.h\"\n+digraph \"vpred.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vsys.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node1 [id=\"Node000001\",label=\"vpred.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -33,26 +33,8 @@\n Node14 [id=\"Node000014\",label=\"stdlib.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n- Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n- Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node19 [id=\"edge19_Node000001_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n- Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node20 [id=\"edge21_Node000001_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 [id=\"Node000020\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n- Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 -> Node18 [id=\"edge23_Node000020_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node21 [id=\"edge24_Node000001_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 [id=\"Node000021\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n- Node21 -> Node2 [id=\"edge25_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 -> Node18 [id=\"edge26_Node000021_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 -> Node19 [id=\"edge27_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node22 [id=\"edge28_Node000001_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node22 [id=\"Node000022\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n- Node22 -> Node2 [id=\"edge29_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00025.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00025.dot", "unified_diff": "@@ -1,26 +1,28 @@\n-digraph \"vsys.h\"\n+digraph \"vpred.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vsys.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node1 [id=\"Node000001\",label=\"vpred.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n- Node1 -> Node3 [id=\"edge2_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node3 -> Node2 [id=\"edge3_Node000003_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node4 [id=\"edge4_Node000001_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node4 -> Node5 [id=\"edge5_Node000004_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node5 [id=\"Node000005\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node5 -> Node3 [id=\"edge6_Node000005_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node5 [id=\"edge7_Node000001_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node6 [id=\"edge8_Node000001_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node6 [id=\"Node000006\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node6 -> Node5 [id=\"edge9_Node000006_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node7 [id=\"edge10_Node000001_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 [id=\"Node000007\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n- Node7 -> Node2 [id=\"edge11_Node000007_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 -> Node3 [id=\"edge12_Node000007_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 [id=\"Node000002\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node4 -> Node3 [id=\"edge4_Node000004_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node5 [id=\"edge5_Node000002_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node5 [id=\"Node000005\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node5 -> Node6 [id=\"edge6_Node000005_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node6 [id=\"Node000006\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node6 -> Node4 [id=\"edge7_Node000006_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node6 [id=\"edge8_Node000002_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node7 [id=\"edge9_Node000002_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node7 [id=\"Node000007\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node7 -> Node6 [id=\"edge10_Node000007_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node8 [id=\"edge11_Node000002_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 [id=\"Node000008\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n+ Node8 -> Node3 [id=\"edge12_Node000008_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 -> Node4 [id=\"edge13_Node000008_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00026.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00026.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vset.h File Reference\n+MALOC: vnm.h File Reference\n \n \n \n \n \n \n
\n@@ -40,116 +40,190 @@\n
\n \n
\n
\n
\n \n-
vset.h File Reference
\n+
vnm.h File Reference
\n
\n
\n \n-

Class Vset: a dynamic set object. \n+

Header file for an ISO C [V]irtual [N]umerical [M]achine. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vnm.h>
\n-#include <maloc/vmem.h>
\n
\n-Include dependency graph for vset.h:
\n+Include dependency graph for vnm.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n-\n-\n-\n-\n-

\n-Classes

struct  sVset
 Contains public data members for Vset class. More...
 
\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n

\n-Typedefs

typedef struct sVset Vset
 Declaration of the Vset class as the Vset structure.
 

\n+Macros

#define VPOW_SAFE(x, y)   (Vnm_powsafe(x,y))
 A safe VPOW function (avoids division by zero)
 
#define VTIMERS   100
 the maiximal timer constant
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n

\n Functions

int Vset_num (Vset *thee)
 Return the number of things currently in the list.
 
char * Vset_access (Vset *thee, int i)
 Access an object in an arbitrary place in the list.
 
char * Vset_create (Vset *thee)
 Create an object on the end of the list.
\n-
 
char * Vset_first (Vset *thee)
 Return the first object in the set.
\n-
 
char * Vset_last (Vset *thee)
 Return the last object in the set.
 
char * Vset_next (Vset *thee)
 Return the next object in the set.
 
char * Vset_prev (Vset *thee)
 Return the prev object in the set.
 
char * Vset_peekFirst (Vset *thee)
 Return the first object in the set.
 
char * Vset_peekLast (Vset *thee)
 Return the last object in the set.
 
void Vset_destroy (Vset *thee)
 Delete an object from the end of the list.
 
VsetVset_ctor (Vmem *vmem, const char *tname, int tsize, int tmaxNum, int ioKey)
 Construct the set object.
 
void Vset_dtor (Vset **thee)
 Destroy the set object.
 
char * Vset_createLast (Vset *thee)
 Create an object on the end of the list.
 
void Vset_destroyLast (Vset *thee)
 Free up the object currently on the end of the list.
 
void Vset_initData (Vset *thee)
 Initialize the Vset data (thee).
 
void Vset_reset (Vset *thee)
 Release all Ram controlled by this (thee) and re-initialize.
 
void Vset_check (Vset *thee, int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd)
 Get and return the RAM Control Block (thee) information.
 
void Vset_memChk (Vset *thee)
 Print the exact current malloc usage.
 
int Vnm_sigInt (void)
 Signal and setjmp handling routine. Return the signal interrupt flag.
 
void Vnm_sigIntSet (void)
 Signal and setjmp handling routine. Set the signal interrupt flag.
 
void Vnm_sigIntClear (void)
 Signal and setjmp handling routine. Clear the signal interrupt flag.
\n+
 
int Vnm_jmpOk (void)
 Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.
 
void Vnm_jmpOkSet (void)
 Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.
 
void Vnm_jmpOkClear (void)
 Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.
\n+
 
jmp_buf * Vnm_signalInit (void)
 Initialize the signal handling data structures.
 
void Vnm_regHand (void)
 Register the signal handler with the operating system.
 
void Vnm_sigHand (int num)
 Handle events such as SIGINT. We must have first been registered with \"Vnm_signalInit\".
 
double Vnm_powsafe (double x, double y)
 A safe VPOW function (avoids division by zero).
\n+
 
void Vnm_typeChk (void)
 Check out the sizes of various datatypes.
\n+
 
double Vnm_epsmac (void)
 Computes the unit roundoff of the machine in single
\n+ precision. This is defined as the smallest positive machine number u such that 1.0d0 + u .ne. 1.0d0 (in single precision).
\n+
\n+ A safe hardcoded machine epsilon as alternative:
\n+ double value;
\n+ value = 1.0e-9;
\n+ return value;.
 
int Vnm_gentokens (char *buf, char **argv, const int argvmax, const char *white, const char *comment)
 Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-terminated) in which tokens are separated by whitespace \"white\" with possible comments \"comment\" occuring. THE INPUT STRING IS MODIFIED HERE!
 
void Vnm_tstart (int timer, const char *name)
 Starts the timer on the particular machine.
\n+
 
void Vnm_tstop (int timer, const char *name)
 Stops the timer on the particular machine.
 
char * Vnm_getuser (char *user, int usermax)
 Ask the system for the username.
 
char * Vnm_getos (char *os, int osmax)
 Ask the system for the operating system name.
 
char * Vnm_gethost (char *host, int hostmax)
 Ask the system for the hostname.
 
char * Vnm_gethome (char *path, int pathmax)
 Ask the system for the home directory.
 
char * Vnm_getcwd (char *path, int pathmax)
 Ask the system for the current working directory.
 
int Vnm_chdir (const char *path)
 Interact with the system to change the working directory.
 
int Vnm_mkdir (const char *path)
 Interact with the system to make a new directory.
\n+
 
int Vnm_system (const char *cmd)
 An improved ANSI-C \"system\" call.
 
int Vnm_systemBack (const char *cmd)
 A background variant of the ANSI-C \"system\" call.
\n+
 
int Vnm_systemKill (const char *cmd)
 Something like a UNIX \"killall\" call.
 
int Vnm_exec (int argc, char **argv)
 An improved UNIX \"exec\" call. This routine does not return except on error.
 
void Vnm_sleep (int nusecs)
 Implement a sleep function with microsecond resolution.
 
int Vnm_ioTag (void)
 Return my I/O tag.
 
int Vnm_nTags (void)
 Return the total number of tags.
 
void Vnm_setIoTag (int myTag, int numTags)
 Set my id.
 
FILE * Vnm_open (const int unit)
 Open an I/O console.
 
int Vnm_close (const int unit)
 Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_flush (const int unit)
 Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_redirect (const int flag)
 Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_print (const int unit, const char *format,...)
 External interface to the console i/o routine.
\n+ We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_tprint (const int unit, const char *format,...)
 Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
 
void Vnm_qsort (int *u, int size)
 Front-end to quick sort integer array from [-large] to [+large].
\n+
 
void Vnm_qsortOrd (int *u, int *ord, int size)
 Front-end to quick sort integer array from [-large] to [+large].
 
void Vnm_dqsort (double *u, int size)
 Front-end to quick sort integer array from [-large] to [+large].
\n+
 
void Vnm_dqsortOrd (double *u, int *ord, int size)
 Front-end to quick sort integer array from [-large] to [+large].
 
\n

Detailed Description

\n-

Class Vset: a dynamic set object.

\n+

Header file for an ISO C [V]irtual [N]umerical [M]achine.

\n
Author
Michael Holst
\n
Note
None
\n
Version
\n-
Id
vset.h,v 1.20 2010/08/12 05:40:37 fetk Exp
\n+
Id
vnm.h,v 1.22 2010/08/12 05:40:36 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -161,14 +235,1449 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n *  
\n-
\n+

Macro Definition Documentation

\n+\n+

◆ VPOW_SAFE

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
#define VPOW_SAFE( x,
 
)   (Vnm_powsafe(x,y))
\n+
\n+\n+

A safe VPOW function (avoids division by zero)

\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+\n+
\n+
\n+\n+

◆ VTIMERS

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+
#define VTIMERS   100
\n+
\n+\n+

the maiximal timer constant

\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+\n+
\n+
\n+

Function Documentation

\n+\n+

◆ Vnm_chdir()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_chdir (const char * path)
\n+
\n+\n+

Interact with the system to change the working directory.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
Success enumeration
\n+
Parameters
\n+ \n+ \n+
pathPointer to the path
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_close()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_close (const int unit)
\n+
\n+\n+

Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
Success enumeration
\n+
Parameters
\n+ \n+ \n+
unitindex for the file unit
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_dqsort()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_dqsort (double * u,
int size 
)
\n+
\n+\n+

Front-end to quick sort integer array from [-large] to [+large].
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+
uPointer to quick sort integer array
sizesize of the integer array
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_dqsortOrd()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_dqsortOrd (double * u,
int * ord,
int size 
)
\n+
\n+\n+

Front-end to quick sort integer array from [-large] to [+large].

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+ \n+
uPointer to quick sort integer array
ordPointer to reordered array
sizesize of the integer array
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_epsmac()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
double Vnm_epsmac (void )
\n+
\n+\n+

Computes the unit roundoff of the machine in single
\n+ precision. This is defined as the smallest positive machine number u such that 1.0d0 + u .ne. 1.0d0 (in single precision).
\n+
\n+ A safe hardcoded machine epsilon as alternative:
\n+ double value;
\n+ value = 1.0e-9;
\n+ return value;.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
the unit roundoff of the machine in single precision.
\n+\n+
\n+
\n+\n+

◆ Vnm_exec()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_exec (int argc,
char ** argv 
)
\n+
\n+\n+

An improved UNIX \"exec\" call. This routine does not return except on error.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
no return except on error
\n+
Parameters
\n+ \n+ \n+ \n+
argcnumber of the command line arguments
argvthe command line arguments
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_flush()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_flush (const int unit)
\n+
\n+\n+

Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+
unitindex for the file unit
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_gentokens()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_gentokens (char * buf,
char ** argv,
const int argvmax,
const char * white,
const char * comment 
)
\n+
\n+\n+

Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-terminated) in which tokens are separated by whitespace \"white\" with possible comments \"comment\" occuring. THE INPUT STRING IS MODIFIED HERE!

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
\n+ Again, the input string \"buf\" IS MODIFIED; white space characters (defined in the input string \"white\") are replaced by the NULL character '\\0'. The output \"argv\" is simply a list of pointers
\n+ to the start of the tokens in \"buf\", which are NULL-terminated
\n+ after we replace the white space with NULLs.
\n+
\n+ We follow convention and \"NULL\"-terminate \"argv\" by setting the pointer following the last token to \"VNULL\". The return value is \"argc\", the number of tokens found (not including the terminating NULL pointer). For safety you must pass in the maximal length of argv in the parameter \"argvmax\".
\n+
\n+ If we encounter a token which begins with a comment character (defined in the input string \"comment\"), then we ignore the rest of the tokens in the input buffer \"buf\". This is suitable
\n+ for parsing shell languages such as sh/ksh/bash which have comments that start with e.g. \"#\" and continue until a newline.
\n+
\n+ We DO NOT use the C library function strtok in this routine. (There are some bad implementations of strtok around apparently; the internal state variables maintained by strtok can get very
\n+ messed up if you use strtok in multiple places in a code.)
\n+
Returns
number of tokens
\n+
Parameters
\n+ \n+ \n+ \n+ \n+ \n+ \n+
bufbuffer containing message
argvthe command line arguments
argvmaxmaximal number of the command line arguments
whitePointer to the input string
commenttoken which begins with a comment character
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_getcwd()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
char * Vnm_getcwd (char * path,
int pathmax 
)
\n+
\n+\n+

Ask the system for the current working directory.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
\n+ Consider it an error if we can't return something useful; therefore we will VASSERT(path!=VNULL) before returning.
\n+
\n+ Note that unlike Vnm_gethome, a call to Vnm_getcwd returns the current directory, possibly modified from call to call.
\n+
\n+ I.e., calls to Vnm_chdir can change the current working
\n+ directory; Vnm_getcwd returns the current directory, whatever that might be.
\n+
Returns
the current working directory
\n+
Parameters
\n+ \n+ \n+ \n+
pathPointer to the path
pathmaxindex for the size of path
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_gethome()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
char * Vnm_gethome (char * path,
int pathmax 
)
\n+
\n+\n+

Ask the system for the home directory.

\n+

=

Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
\n+ The following preference order is used to set the home directory:
\n+
\n+ MCSH_HOME (the user must define this in his environment)
\n+ CWD (always defined as the current working directory)
\n+
\n+ We consider it an error if we can't return something useful;
\n+ therefore we will VASSERT(path!=VNULL) before returning.
\n+
\n+ We settle on a home directory the first time we are called, and then we simply return this fixed home directory forever.
\n+ In other words, the first call to Vnm_gethome, regardless of
\n+ who makes the call, establishes the home directory for everyone else (as long as everyone goes through Vnm_gethome!).
\n+
Returns
the home directory
\n+
Parameters
\n+ \n+ \n+ \n+
pathPointer to the path
pathmaxindex for the size of path
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_gethost()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
char * Vnm_gethost (char * host,
int hostmax 
)
\n+
\n+\n+

Ask the system for the hostname.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
the hostname
\n+
Parameters
\n+ \n+ \n+ \n+
hostPointer to the hostname.
hostmaxindex for maximal size of host name
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_getos()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
char * Vnm_getos (char * os,
int osmax 
)
\n+
\n+\n+

Ask the system for the operating system name.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
the operating system name
\n+
Parameters
\n+ \n+ \n+ \n+
osPointer to the OS type
osmaxindex for maximal size of OS name
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_getuser()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
char * Vnm_getuser (char * user,
int usermax 
)
\n+
\n+\n+

Ask the system for the username.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
the username of the system
\n+
Parameters
\n+ \n+ \n+ \n+
userPointer to the username of the system
usermaxindex for maximal size of user name
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_ioTag()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_ioTag (void )
\n+
\n+\n+

Return my I/O tag.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
my I/O tag.
\n+\n+
\n+
\n+\n+

◆ Vnm_jmpOk()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_jmpOk (void )
\n+
\n+\n+

Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
\"ok-to-jump\" flag.
\n+\n+
\n+
\n+\n+

◆ Vnm_jmpOkClear()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_jmpOkClear (void )
\n+
\n+\n+

Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+\n+
\n+
\n+\n+

◆ Vnm_jmpOkSet()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_jmpOkSet (void )
\n+
\n+\n+

Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.

\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Author
Michael Holst
\n+
Returns
None
\n+\n+
\n+
\n+\n+

◆ Vnm_mkdir()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_mkdir (const char * path)
\n+
\n+\n+

Interact with the system to make a new directory.
\n+

\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Author
Michael Holst
\n+
Returns
Success enumeration
\n+
Parameters
\n+ \n+ \n+
pathPointer to the path
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_nTags()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_nTags (void )
\n+
\n+\n+

Return the total number of tags.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
total number of tags.
\n+\n+
\n+
\n+\n+

◆ Vnm_open()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
FILE * Vnm_open (const int unit)
\n+
\n+\n+

Open an I/O console.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
We MUST NOT use VASSERT (or Vnm_print!) in this routine.   \n+\n+The following codes are used:                                               \n+\n+unit#      C output unit      \n+-------    -------------                                                \n+\n+unit==0    garbage   -- Non-interactive i/o; lots of stuff                        \n+                        (can be redirected to ${MCSH_HOME/io.mc)\n+\n+unit==1    stdout    -- standard output (Interactive I/O)            \n+\n+unit==2    stderr    -- standard error (IMPORTANT interactive I/O)          \n+\n+unit==3    history   -- History file ${MCSH_HOME}/hist.mcsh                       \n+\n+unit==else /dev/null -- Error...                                \n+
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+
unitindex for the file unit
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_powsafe()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
double Vnm_powsafe (double x,
double y 
)
\n+
\n+\n+

A safe VPOW function (avoids division by zero).
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
output value of a VPOW function
\n+
Parameters
\n+ \n+ \n+ \n+
xinput parameter
yinput parameter
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_print()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_print (const int unit,
const char * format,
 ... 
)
\n+
\n+\n+

External interface to the console i/o routine.
\n+ We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+
unitindex for the file unit
formatPointer to the print format
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_qsort()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_qsort (int * u,
int size 
)
\n+
\n+\n+

Front-end to quick sort integer array from [-large] to [+large].
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+
uPointer to quick sort integer array
sizesize of the integer array
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_qsortOrd()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_qsortOrd (int * u,
int * ord,
int size 
)
\n+
\n+\n+

Front-end to quick sort integer array from [-large] to [+large].

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None *
\n+
Author
Michael Holst
\n+
Parameters
\n+ \n+ \n+ \n+ \n+
uPointer to quick sort integer array
ordPointer to reordered array
sizesize of the integer array
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_redirect()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_redirect (const int flag)
\n+
\n+\n+

Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+
flagindex for the redirect flag
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_regHand()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_regHand (void )
\n+
\n+\n+

Register the signal handler with the operating system.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+\n+
\n+
\n+\n+

◆ Vnm_setIoTag()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_setIoTag (int myTag,
int numTags 
)
\n+
\n+\n+

Set my id.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+
myTagindex for the tag
numTagsnumber of tags
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_sigHand()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_sigHand (int num)
\n+
\n+\n+

Handle events such as SIGINT. We must have first been registered with \"Vnm_signalInit\".

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+\n+
\n+
\n+\n+

◆ Vnm_sigInt()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_sigInt (void )
\n+
\n+\n+

Signal and setjmp handling routine. Return the signal interrupt flag.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
Signal interrupt flag.
\n+\n+
\n+
\n+\n+

◆ Vnm_sigIntClear()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_sigIntClear (void )
\n+
\n+\n+

Signal and setjmp handling routine. Clear the signal interrupt flag.
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+\n+
\n+
\n+\n+

◆ Vnm_sigIntSet()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_sigIntSet (void )
\n+
\n+\n+

Signal and setjmp handling routine. Set the signal interrupt flag.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+\n+
\n+
\n+\n+

◆ Vnm_signalInit()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
jmp_buf * Vnm_signalInit (void )
\n+
\n+\n+

Initialize the signal handling data structures.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
the signal handling data structures
\n+\n+
\n+
\n+\n+

◆ Vnm_sleep()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_sleep (int nusecs)
\n+
\n+\n+

Implement a sleep function with microsecond resolution.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+ This is hacked out of the \"sleep_us\" example in Rick Steven's Advance Unix Programming book.
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+
nusecsnumber of microseconds
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_system()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_system (const char * cmd)
\n+
\n+\n+

An improved ANSI-C \"system\" call.

\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Author
Michael Holst
\n+
Returns
Success enumeration
\n+
Parameters
\n+ \n+ \n+
cmdPointer to the command
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_systemBack()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_systemBack (const char * cmd)
\n+
\n+\n+

A background variant of the ANSI-C \"system\" call.
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
Success enumeration
\n+
Parameters
\n+ \n+ \n+
cmdPointer to the command
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_systemKill()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
int Vnm_systemKill (const char * cmd)
\n+
\n+\n+

Something like a UNIX \"killall\" call.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
Success enumeration
\n+
Parameters
\n+ \n+ \n+
cmdPointer to the command
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_tprint()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_tprint (const int unit,
const char * format,
 ... 
)
\n+
\n+\n+

Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in this routine.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o) For a tag to be added, both of the following conditions must hold:
\n+ Vnm_ioTag() >= 0 (I.e., I must have been given a tag)
\n+ Vnm_nTags() > 1 (I must not be the only one given a tag)
\n+
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+
unitindex for the file unit
formatPointer to the print format
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_tstart()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_tstart (int timer,
const char * name 
)
\n+
\n+\n+

Starts the timer on the particular machine.
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+
timerindex for the starting timer
namePointer to the object
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_tstop()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_tstop (int timer,
const char * name 
)
\n+
\n+\n+

Stops the timer on the particular machine.

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+
Parameters
\n+ \n+ \n+ \n+
timerindex for the starting timer
namePointer to the object
\n+
\n+
\n+\n+
\n+
\n+\n+

◆ Vnm_typeChk()

\n+\n+
\n+
\n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+ \n+
void Vnm_typeChk (void )
\n+
\n+\n+

Check out the sizes of various datatypes.
\n+

\n+
Author
Michael Holst
\n+
Note
Useful constants and functions (timers, epsilon, token generators, i/o)
\n+
Returns
None
\n+\n+
\n+
\n+
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,97 +1,184 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vset.h File Reference\n-_\bV_\bs_\be_\bt_\b _\bc_\bl_\ba_\bs_\bs\n-Class Vset: a dynamic set object. _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bM_\ba_\bc_\br_\bo_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+vnm.h File Reference\n+Header file for an ISO C [V]irtual [N]umerical [M]achine. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n-Include dependency graph for vset.h:\n+Include dependency graph for vnm.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n-C\bCl\bla\bas\bss\bse\bes\bs\n-struct \u00a0 _\bs_\bV_\bs_\be_\bt\n-\u00a0 Contains public data members for Vset class. _\bM_\bo_\br_\be_\b._\b._\b.\n-\u00a0\n-T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n-typedef struct _\bs_\bV_\bs_\be_\bt\u00a0 _\bV_\bs_\be_\bt\n-\u00a0 Declaration of the Vset class as the Vset structure.\n+M\bMa\bac\bcr\bro\bos\bs\n+#define\u00a0 _\bV_\bP_\bO_\bW_\b__\bS_\bA_\bF_\bE(x, y)\u00a0\u00a0\u00a0(_\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be(x,y))\n+\u00a0 A safe VPOW function (avoids division by zero)\n+\u00a0\n+#define\u00a0 _\bV_\bT_\bI_\bM_\bE_\bR_\bS\u00a0\u00a0\u00a0100\n+\u00a0 the maiximal timer constant\n \u00a0\n F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n- int\u00a0 _\bV_\bs_\be_\bt_\b__\bn_\bu_\bm (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Return the number of things currently in the list.\n+ int\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt (void)\n+\u00a0 Signal and setjmp handling routine. Return the signal interrupt\n+ flag.\n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\ba_\bc_\bc_\be_\bs_\bs (_\bV_\bs_\be_\bt *thee, int i)\n-\u00a0 Access an object in an arbitrary place in the list.\n+ void\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bS_\be_\bt (void)\n+\u00a0 Signal and setjmp handling routine. Set the signal interrupt flag.\n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Create an object on the end of the list.\n+ void\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bC_\bl_\be_\ba_\br (void)\n+\u00a0 Signal and setjmp handling routine. Clear the signal interrupt flag.\n \n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bf_\bi_\br_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Return the first object in the set.\n+ int\u00a0 _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk (void)\n+\u00a0 Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bS_\be_\bt (void)\n+\u00a0 Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bC_\bl_\be_\ba_\br (void)\n+\u00a0 Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.\n \n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bl_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Return the last object in the set.\n+jmp_buf *\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bn_\ba_\bl_\bI_\bn_\bi_\bt (void)\n+\u00a0 Initialize the signal handling data structures.\n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bn_\be_\bx_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Return the next object in the set.\n+ void\u00a0 _\bV_\bn_\bm_\b__\br_\be_\bg_\bH_\ba_\bn_\bd (void)\n+\u00a0 Register the signal handler with the operating system.\n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bp_\br_\be_\bv (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Return the prev object in the set.\n+ void\u00a0 _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bH_\ba_\bn_\bd (int num)\n+\u00a0 Handle events such as SIGINT. We must have first been registered\n+ with \"Vnm_signalInit\".\n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bF_\bi_\br_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Return the first object in the set.\n+ double\u00a0 _\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be (double x, double y)\n+\u00a0 A safe VPOW function (avoids division by zero).\n+\n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bL_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Return the last object in the set.\n+ void\u00a0 _\bV_\bn_\bm_\b__\bt_\by_\bp_\be_\bC_\bh_\bk (void)\n+\u00a0 Check out the sizes of various datatypes.\n+\n+\u00a0\n+ double\u00a0 _\bV_\bn_\bm_\b__\be_\bp_\bs_\bm_\ba_\bc (void)\n+ Computes the unit roundoff of the machine in single\n+ precision. This is defined as the smallest positive machine number u\n+ such that 1.0d0 + u .ne. 1.0d0 (in single precision).\n+\u00a0\n+ A safe hardcoded machine epsilon as alternative:\n+ double value;\n+ value = 1.0e-9;\n+ return value;.\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bn_\bt_\bo_\bk_\be_\bn_\bs (char *buf, char **argv, const int argvmax, const char\n+ *white, const char *comment)\n+ Generate an [argv,argc] pair from a character string \"buf\" (assumed\n+\u00a0 NULL-terminated) in which tokens are separated by whitespace \"white\"\n+ with possible comments \"comment\" occuring. THE INPUT STRING IS\n+ MODIFIED HERE!\n \u00a0\n- void\u00a0 _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Delete an object from the end of the list.\n+ void\u00a0 _\bV_\bn_\bm_\b__\bt_\bs_\bt_\ba_\br_\bt (int timer, const char *name)\n+\u00a0 Starts the timer on the particular machine.\n+\n \u00a0\n-_\bV_\bs_\be_\bt *\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\bt_\bo_\br (_\bV_\bm_\be_\bm *vmem, const char *tname, int tsize, int tmaxNum, int\n- ioKey)\n-\u00a0 Construct the set object.\n+ void\u00a0 _\bV_\bn_\bm_\b__\bt_\bs_\bt_\bo_\bp (int timer, const char *name)\n+\u00a0 Stops the timer on the particular machine.\n \u00a0\n- void\u00a0 _\bV_\bs_\be_\bt_\b__\bd_\bt_\bo_\br (_\bV_\bs_\be_\bt **thee)\n-\u00a0 Destroy the set object.\n+ char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bu_\bs_\be_\br (char *user, int usermax)\n+\u00a0 Ask the system for the username.\n \u00a0\n-char *\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be_\bL_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Create an object on the end of the list.\n+ char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bo_\bs (char *os, int osmax)\n+\u00a0 Ask the system for the operating system name.\n \u00a0\n- void\u00a0 _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by_\bL_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Free up the object currently on the end of the list.\n+ char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bs_\bt (char *host, int hostmax)\n+\u00a0 Ask the system for the hostname.\n \u00a0\n- void\u00a0 _\bV_\bs_\be_\bt_\b__\bi_\bn_\bi_\bt_\bD_\ba_\bt_\ba (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Initialize the Vset data (thee).\n+ char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bm_\be (char *path, int pathmax)\n+\u00a0 Ask the system for the home directory.\n \u00a0\n- void\u00a0 _\bV_\bs_\be_\bt_\b__\br_\be_\bs_\be_\bt (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Release all Ram controlled by this (thee) and re-initialize.\n+ char *\u00a0 _\bV_\bn_\bm_\b__\bg_\be_\bt_\bc_\bw_\bd (char *path, int pathmax)\n+\u00a0 Ask the system for the current working directory.\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bc_\bh_\bd_\bi_\br (const char *path)\n+\u00a0 Interact with the system to change the working directory.\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bm_\bk_\bd_\bi_\br (const char *path)\n+\u00a0 Interact with the system to make a new directory.\n+\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm (const char *cmd)\n+\u00a0 An improved ANSI-C \"system\" call.\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bB_\ba_\bc_\bk (const char *cmd)\n+\u00a0 A background variant of the ANSI-C \"system\" call.\n+\n \u00a0\n- void\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\bh_\be_\bc_\bk (_\bV_\bs_\be_\bt *thee, int *tnum, int *tsize, int *tVecUse, int\n- *tVecMal, int *tVecOhd)\n-\u00a0 Get and return the RAM Control Block (thee) information.\n+ int\u00a0 _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bK_\bi_\bl_\bl (const char *cmd)\n+\u00a0 Something like a UNIX \"killall\" call.\n \u00a0\n- void\u00a0 _\bV_\bs_\be_\bt_\b__\bm_\be_\bm_\bC_\bh_\bk (_\bV_\bs_\be_\bt *thee)\n-\u00a0 Print the exact current malloc usage.\n+ int\u00a0 _\bV_\bn_\bm_\b__\be_\bx_\be_\bc (int argc, char **argv)\n+\u00a0 An improved UNIX \"exec\" call. This routine does not return except on\n+ error.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bs_\bl_\be_\be_\bp (int nusecs)\n+\u00a0 Implement a sleep function with microsecond resolution.\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg (void)\n+\u00a0 Return my I/O tag.\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs (void)\n+\u00a0 Return the total number of tags.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bs_\be_\bt_\bI_\bo_\bT_\ba_\bg (int myTag, int numTags)\n+\u00a0 Set my id.\n+\u00a0\n+ FILE *\u00a0 _\bV_\bn_\bm_\b__\bo_\bp_\be_\bn (const int unit)\n+\u00a0 Open an I/O console.\n+\u00a0\n+ int\u00a0 _\bV_\bn_\bm_\b__\bc_\bl_\bo_\bs_\be (const int unit)\n+\u00a0 Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in\n+ this routine.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bf_\bl_\bu_\bs_\bh (const int unit)\n+\u00a0 Attempt to flush the specified i/o stream. We MUST NOT use VASSERT\n+ (or Vnm_print!) in this routine.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\br_\be_\bd_\bi_\br_\be_\bc_\bt (const int flag)\n+ Set/unset the redirect flag for UNIT zero. When redirected, I/O goes\n+\u00a0 to the file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or\n+ Vnm_print!) in this routine.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bp_\br_\bi_\bn_\bt (const int unit, const char *format,...)\n+\u00a0 External interface to the console i/o routine.\n+ We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bt_\bp_\br_\bi_\bn_\bt (const int unit, const char *format,...)\n+\u00a0 Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or\n+ Vnm_print!) in this routine.\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt (int *u, int size)\n+\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n+\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt_\bO_\br_\bd (int *u, int *ord, int size)\n+\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt (double *u, int size)\n+\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n+\n+\u00a0\n+ void\u00a0 _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt_\bO_\br_\bd (double *u, int *ord, int size)\n+\u00a0 Front-end to quick sort integer array from [-large] to [+large].\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Class Vset: a dynamic set object.\n+Header file for an ISO C [V]irtual [N]umerical [M]achine.\n Author\n Michael Holst\n Note\n None\n Version\n Id\n- _\bv_\bs_\be_\bt_\b._\bh,v 1.20 2010/08/12 05:40:37 fetk Exp\n+ _\bv_\bn_\bm_\b._\bh,v 1.22 2010/08/12 05:40:36 fetk Exp\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n@@ -104,9 +191,591 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\n *\n+*\b**\b**\b**\b**\b* M\bMa\bac\bcr\bro\bo D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVP\bPO\bOW\bW_\b_S\bSA\bAF\bFE\bE *\b**\b**\b**\b**\b*\n+#define VPOW_SAFE ( \u00a0 x,\n+ \u00a0 y\u00a0\n+ ) \u00a0\u00a0\u00a0(_\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be(x,y))\n+A safe VPOW function (avoids division by zero)\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVT\bTI\bIM\bME\bER\bRS\bS *\b**\b**\b**\b**\b*\n+#define VTIMERS\u00a0\u00a0\u00a0100\n+the maiximal timer constant\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+*\b**\b**\b**\b**\b* F\bFu\bun\bnc\bct\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_c\bch\bhd\bdi\bir\br(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_chdir ( const char *\u00a0 p\bpa\bat\bth\bh )\n+Interact with the system to change the working directory.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ Success enumeration\n+ Parameters\n+ path Pointer to the path\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_c\bcl\blo\bos\bse\be(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_close ( const int\u00a0 u\bun\bni\bit\bt )\n+Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ Success enumeration\n+ Parameters\n+ unit index for the file unit\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_d\bdq\bqs\bso\bor\brt\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_dqsort ( double *\u00a0 u\bu,\n+ int\u00a0 s\bsi\biz\bze\be\u00a0\n+ )\n+Front-end to quick sort integer array from [-large] to [+large].\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ u Pointer to quick sort integer array\n+ size size of the integer array\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_d\bdq\bqs\bso\bor\brt\btO\bOr\brd\bd(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_dqsortOrd ( double *\u00a0 u\bu,\n+ int *\u00a0 o\bor\brd\bd,\n+ int\u00a0 s\bsi\biz\bze\be\u00a0\n+ )\n+Front-end to quick sort integer array from [-large] to [+large].\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ u Pointer to quick sort integer array\n+ ord Pointer to reordered array\n+ size size of the integer array\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_e\bep\bps\bsm\bma\bac\bc(\b()\b) *\b**\b**\b**\b**\b*\n+double Vnm_epsmac ( void\u00a0 )\n+Computes the unit roundoff of the machine in single\n+precision. This is defined as the smallest positive machine number u such that\n+1.0d0 + u .ne. 1.0d0 (in single precision).\n+\n+A safe hardcoded machine epsilon as alternative:\n+double value;\n+value = 1.0e-9;\n+return value;.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ the unit roundoff of the machine in single precision.\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_e\bex\bxe\bec\bc(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_exec ( int\u00a0 a\bar\brg\bgc\bc,\n+ char **\u00a0 a\bar\brg\bgv\bv\u00a0\n+ )\n+An improved UNIX \"exec\" call. This routine does not return except on error.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ no return except on error\n+ Parameters\n+ argc number of the command line arguments\n+ argv the command line arguments\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_f\bfl\blu\bus\bsh\bh(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_flush ( const int\u00a0 u\bun\bni\bit\bt )\n+Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or\n+Vnm_print!) in this routine.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ unit index for the file unit\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\ben\bnt\bto\bok\bke\ben\bns\bs(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_gentokens ( char *\u00a0 b\bbu\buf\bf,\n+ char **\u00a0 a\bar\brg\bgv\bv,\n+ const int\u00a0 a\bar\brg\bgv\bvm\bma\bax\bx,\n+ const char *\u00a0 w\bwh\bhi\bit\bte\be,\n+ const char *\u00a0 c\bco\bom\bmm\bme\ben\bnt\bt\u00a0\n+ )\n+Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-\n+terminated) in which tokens are separated by whitespace \"white\" with possible\n+comments \"comment\" occuring. THE INPUT STRING IS MODIFIED HERE!\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+\n+ Again, the input string \"buf\" IS MODIFIED; white space characters\n+ (defined in the input string \"white\") are replaced by the NULL character\n+ '\\0'. The output \"argv\" is simply a list of pointers\n+ to the start of the tokens in \"buf\", which are NULL-terminated\n+ after we replace the white space with NULLs.\n+\n+ We follow convention and \"NULL\"-terminate \"argv\" by setting the pointer\n+ following the last token to \"VNULL\". The return value is \"argc\", the\n+ number of tokens found (not including the terminating NULL pointer). For\n+ safety you must pass in the maximal length of argv in the parameter\n+ \"argvmax\".\n+\n+ If we encounter a token which begins with a comment character (defined in\n+ the input string \"comment\"), then we ignore the rest of the tokens in the\n+ input buffer \"buf\". This is suitable\n+ for parsing shell languages such as sh/ksh/bash which have comments that\n+ start with e.g. \"#\" and continue until a newline.\n+\n+ We DO NOT use the C library function strtok in this routine. (There are\n+ some bad implementations of strtok around apparently; the internal state\n+ variables maintained by strtok can get very\n+ messed up if you use strtok in multiple places in a code.)\n+ Returns\n+ number of tokens\n+ Parameters\n+ buf buffer containing message\n+ argv the command line arguments\n+ argvmax maximal number of the command line arguments\n+ white Pointer to the input string\n+ comment token which begins with a comment character\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\btc\bcw\bwd\bd(\b()\b) *\b**\b**\b**\b**\b*\n+char * Vnm_getcwd ( char *\u00a0 p\bpa\bat\bth\bh,\n+ int\u00a0 p\bpa\bat\bth\bhm\bma\bax\bx\u00a0\n+ )\n+Ask the system for the current working directory.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+\n+ Consider it an error if we can't return something useful; therefore we\n+ will VASSERT(path!=VNULL) before returning.\n+\n+ Note that unlike Vnm_gethome, a call to Vnm_getcwd returns the current\n+ directory, possibly modified from call to call.\n+\n+ I.e., calls to Vnm_chdir can change the current working\n+ directory; Vnm_getcwd returns the current directory, whatever that might\n+ be.\n+ Returns\n+ the current working directory\n+ Parameters\n+ path Pointer to the path\n+ pathmax index for the size of path\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\bth\bho\bom\bme\be(\b()\b) *\b**\b**\b**\b**\b*\n+char * Vnm_gethome ( char *\u00a0 p\bpa\bat\bth\bh,\n+ int\u00a0 p\bpa\bat\bth\bhm\bma\bax\bx\u00a0\n+ )\n+Ask the system for the home directory.\n+=\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+\n+ The following preference order is used to set the home directory:\n+\n+ MCSH_HOME (the user must define this in his environment)\n+ CWD (always defined as the current working directory)\n+\n+ We consider it an error if we can't return something useful;\n+ therefore we will VASSERT(path!=VNULL) before returning.\n+\n+ We settle on a home directory the first time we are called, and then we\n+ simply return this fixed home directory forever.\n+ In other words, the first call to Vnm_gethome, regardless of\n+ who makes the call, establishes the home directory for everyone else (as\n+ long as everyone goes through Vnm_gethome!).\n+ Returns\n+ the home directory\n+ Parameters\n+ path Pointer to the path\n+ pathmax index for the size of path\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\bth\bho\bos\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n+char * Vnm_gethost ( char *\u00a0 h\bho\bos\bst\bt,\n+ int\u00a0 h\bho\bos\bst\btm\bma\bax\bx\u00a0\n+ )\n+Ask the system for the hostname.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ the hostname\n+ Parameters\n+ host Pointer to the hostname.\n+ hostmax index for maximal size of host name\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\bto\bos\bs(\b()\b) *\b**\b**\b**\b**\b*\n+char * Vnm_getos ( char *\u00a0 o\bos\bs,\n+ int\u00a0 o\bos\bsm\bma\bax\bx\u00a0\n+ )\n+Ask the system for the operating system name.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ the operating system name\n+ Parameters\n+ os Pointer to the OS type\n+ osmax index for maximal size of OS name\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_g\bge\bet\btu\bus\bse\ber\br(\b()\b) *\b**\b**\b**\b**\b*\n+char * Vnm_getuser ( char *\u00a0 u\bus\bse\ber\br,\n+ int\u00a0 u\bus\bse\ber\brm\bma\bax\bx\u00a0\n+ )\n+Ask the system for the username.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ the username of the system\n+ Parameters\n+ user Pointer to the username of the system\n+ usermax index for maximal size of user name\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_i\bio\boT\bTa\bag\bg(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_ioTag ( void\u00a0 )\n+Return my I/O tag.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ my I/O tag.\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_j\bjm\bmp\bpO\bOk\bk(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_jmpOk ( void\u00a0 )\n+Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ \"ok-to-jump\" flag.\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_j\bjm\bmp\bpO\bOk\bkC\bCl\ble\bea\bar\br(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_jmpOkClear ( void\u00a0 )\n+Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_j\bjm\bmp\bpO\bOk\bkS\bSe\bet\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_jmpOkSet ( void\u00a0 )\n+Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Author\n+ Michael Holst\n+ Returns\n+ None\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_m\bmk\bkd\bdi\bir\br(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_mkdir ( const char *\u00a0 p\bpa\bat\bth\bh )\n+Interact with the system to make a new directory.\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Author\n+ Michael Holst\n+ Returns\n+ Success enumeration\n+ Parameters\n+ path Pointer to the path\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_n\bnT\bTa\bag\bgs\bs(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_nTags ( void\u00a0 )\n+Return the total number of tags.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ total number of tags.\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_o\bop\bpe\ben\bn(\b()\b) *\b**\b**\b**\b**\b*\n+FILE * Vnm_open ( const int\u00a0 u\bun\bni\bit\bt )\n+Open an I/O console.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n+\n+ The following codes are used:\n+\n+\n+ unit# C output unit\n+ ------- -------------\n+\n+ unit==0 garbage -- Non-interactive i/o; lots of stuff\n+\n+ (can be redirected to ${MCSH_HOME/io.mc)\n+\n+ unit==1 stdout -- standard output (Interactive I/O)\n+\n+ unit==2 stderr -- standard error (IMPORTANT interactive I/O)\n+\n+\n+ unit==3 history -- History file ${MCSH_HOME}/hist.mcsh\n+\n+\n+ unit==else /dev/null -- Error...\n+ Returns\n+ None\n+ Parameters\n+ unit index for the file unit\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_p\bpo\bow\bws\bsa\baf\bfe\be(\b()\b) *\b**\b**\b**\b**\b*\n+double Vnm_powsafe ( double\u00a0 x\bx,\n+ double\u00a0 y\by\u00a0\n+ )\n+A safe VPOW function (avoids division by zero).\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ output value of a VPOW function\n+ Parameters\n+ x input parameter\n+ y input parameter\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_p\bpr\bri\bin\bnt\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_print ( const int\u00a0 u\bun\bni\bit\bt,\n+ const char *\u00a0 f\bfo\bor\brm\bma\bat\bt,\n+ \u00a0 .\b..\b..\b.\u00a0\n+ )\n+External interface to the console i/o routine.\n+We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ unit index for the file unit\n+ format Pointer to the print format\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_q\bqs\bso\bor\brt\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_qsort ( int *\u00a0 u\bu,\n+ int\u00a0 s\bsi\biz\bze\be\u00a0\n+ )\n+Front-end to quick sort integer array from [-large] to [+large].\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ u Pointer to quick sort integer array\n+ size size of the integer array\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_q\bqs\bso\bor\brt\btO\bOr\brd\bd(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_qsortOrd ( int *\u00a0 u\bu,\n+ int *\u00a0 o\bor\brd\bd,\n+ int\u00a0 s\bsi\biz\bze\be\u00a0\n+ )\n+Front-end to quick sort integer array from [-large] to [+large].\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None *\n+ Author\n+ Michael Holst\n+ Parameters\n+ u Pointer to quick sort integer array\n+ ord Pointer to reordered array\n+ size size of the integer array\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_r\bre\bed\bdi\bir\bre\bec\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_redirect ( const int\u00a0 f\bfl\bla\bag\bg )\n+Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the\n+file: ${MCSH_HOME}/io.mc. We MUST NOT use VASSERT (or Vnm_print!) in this\n+routine.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ flag index for the redirect flag\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_r\bre\beg\bgH\bHa\ban\bnd\bd(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_regHand ( void\u00a0 )\n+Register the signal handler with the operating system.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bse\bet\btI\bIo\boT\bTa\bag\bg(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_setIoTag ( int\u00a0 m\bmy\byT\bTa\bag\bg,\n+ int\u00a0 n\bnu\bum\bmT\bTa\bag\bgs\bs\u00a0\n+ )\n+Set my id.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ myTag index for the tag\n+ numTags number of tags\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgH\bHa\ban\bnd\bd(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_sigHand ( int\u00a0 n\bnu\bum\bm )\n+Handle events such as SIGINT. We must have first been registered with\n+\"Vnm_signalInit\".\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgI\bIn\bnt\bt(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_sigInt ( void\u00a0 )\n+Signal and setjmp handling routine. Return the signal interrupt flag.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ Signal interrupt flag.\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgI\bIn\bnt\btC\bCl\ble\bea\bar\br(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_sigIntClear ( void\u00a0 )\n+Signal and setjmp handling routine. Clear the signal interrupt flag.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgI\bIn\bnt\btS\bSe\bet\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_sigIntSet ( void\u00a0 )\n+Signal and setjmp handling routine. Set the signal interrupt flag.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsi\big\bgn\bna\bal\blI\bIn\bni\bit\bt(\b()\b) *\b**\b**\b**\b**\b*\n+jmp_buf * Vnm_signalInit ( void\u00a0 )\n+Initialize the signal handling data structures.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ the signal handling data structures\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsl\ble\bee\bep\bp(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_sleep ( int\u00a0 n\bnu\bus\bse\bec\bcs\bs )\n+Implement a sleep function with microsecond resolution.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ This is hacked out of the \"sleep_us\" example in Rick Steven's Advance\n+ Unix Programming book.\n+ Returns\n+ None\n+ Parameters\n+ nusecs number of microseconds\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsy\bys\bst\bte\bem\bm(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_system ( const char *\u00a0 c\bcm\bmd\bd )\n+An improved ANSI-C \"system\" call.\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Author\n+ Michael Holst\n+ Returns\n+ Success enumeration\n+ Parameters\n+ cmd Pointer to the command\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsy\bys\bst\bte\bem\bmB\bBa\bac\bck\bk(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_systemBack ( const char *\u00a0 c\bcm\bmd\bd )\n+A background variant of the ANSI-C \"system\" call.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ Success enumeration\n+ Parameters\n+ cmd Pointer to the command\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_s\bsy\bys\bst\bte\bem\bmK\bKi\bil\bll\bl(\b()\b) *\b**\b**\b**\b**\b*\n+int Vnm_systemKill ( const char *\u00a0 c\bcm\bmd\bd )\n+Something like a UNIX \"killall\" call.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ Success enumeration\n+ Parameters\n+ cmd Pointer to the command\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\btp\bpr\bri\bin\bnt\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_tprint ( const int\u00a0 u\bun\bni\bit\bt,\n+ const char *\u00a0 f\bfo\bor\brm\bma\bat\bt,\n+ \u00a0 .\b..\b..\b.\u00a0\n+ )\n+Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in\n+this routine.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ For a tag to be added, both of the following conditions must hold:\n+ _\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg_\b(_\b) >= 0 (I.e., I must have been given a tag)\n+ _\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs_\b(_\b) > 1 (I must not be the only one given a tag)\n+ Returns\n+ None\n+ Parameters\n+ unit index for the file unit\n+ format Pointer to the print format\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\bts\bst\bta\bar\brt\bt(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_tstart ( int\u00a0 t\bti\bim\bme\ber\br,\n+ const char *\u00a0 n\bna\bam\bme\be\u00a0\n+ )\n+Starts the timer on the particular machine.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ timer index for the starting timer\n+ name Pointer to the object\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\bts\bst\bto\bop\bp(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_tstop ( int\u00a0 t\bti\bim\bme\ber\br,\n+ const char *\u00a0 n\bna\bam\bme\be\u00a0\n+ )\n+Stops the timer on the particular machine.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n+ Parameters\n+ timer index for the starting timer\n+ name Pointer to the object\n+*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVn\bnm\bm_\b_t\bty\byp\bpe\beC\bCh\bhk\bk(\b()\b) *\b**\b**\b**\b**\b*\n+void Vnm_typeChk ( void\u00a0 )\n+Check out the sizes of various datatypes.\n+ Author\n+ Michael Holst\n+ Note\n+ Useful constants and functions (timers, epsilon, token generators, i/o)\n+ Returns\n+ None\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00026_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00026_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vset.h Source File\n+MALOC: vnm.h Source File\n \n \n \n \n \n \n
\n@@ -44,198 +44,152 @@\n \n
\n \n
\n
\n
\n-
vset.h
\n+
vnm.h
\n
\n
\n Go to the documentation of this file.
1
\n-
38#ifndef _VSET_H_
\n-
39#define _VSET_H_
\n-
40
\n-
41#include <maloc/maloc_base.h>
\n-
42
\n-
43#include <maloc/vnm.h>
\n-
44#include <maloc/vmem.h>
\n-
45
\n-
46/*
\n-
47 * ***************************************************************************
\n-
48 * Class Vset: Parameters and datatypes
\n-
49 * ***************************************************************************
\n-
50 */
\n-
51
\n-
\n-
57struct sVset {
\n-
58
\n-\n-\n-
63
\n-
65 int curT;
\n-
66
\n-\n-
70 int sizeT;
\n-
71
\n-\n-
75 int numT;
\n-
77 int prtT;
\n-
78
\n-\n-\n-\n-\n-\n-
89
\n-
91 char **table;
\n+
33#ifndef _VNM_H_
\n+
34#define _VNM_H_
\n+
35
\n+
36#include <maloc/maloc_base.h>
\n+
37
\n+
38
\n+
46int Vnm_sigInt(void);
\n+
47
\n+
55void Vnm_sigIntSet(void);
\n+
56
\n+
64void Vnm_sigIntClear(void);
\n+
65
\n+
73int Vnm_jmpOk(void);
\n+
74
\n+
82void Vnm_jmpOkSet(void);
\n+
83
\n+
91void Vnm_jmpOkClear(void);
\n
92
\n-
93};
\n-
\n-
94
\n-
100typedef struct sVset Vset;
\n+
100jmp_buf *Vnm_signalInit(void);
\n
101
\n-
102/****************************************************************/
\n-
103/* Class Vset: Inlineable method (vset.c) */
\n-
104/****************************************************************/
\n-
105
\n-
106#if !defined(VINLINE_MALOC)
\n-
115 int Vset_num(Vset *thee);
\n-
116
\n-
126 char *Vset_access(Vset *thee, int i);
\n-
127
\n-
136 char *Vset_create(Vset *thee);
\n+
109void Vnm_regHand(void);
\n+
110
\n+
119void Vnm_sigHand(int num);
\n+
120
\n+
125#define VPOW_SAFE(x,y) (Vnm_powsafe(x,y))
\n+
126
\n+
136double Vnm_powsafe(double x, double y);
\n
137
\n-
146 char *Vset_first(Vset *thee);
\n-
147
\n-
156 char *Vset_last(Vset *thee);
\n-
157
\n-
166 char *Vset_next(Vset *thee);
\n-
167
\n-
176 char *Vset_prev(Vset *thee);
\n-
177
\n-
186 char *Vset_peekFirst(Vset *thee);
\n-
187
\n-
196 char *Vset_peekLast(Vset *thee);
\n-
197
\n-
206 void Vset_destroy(Vset *thee);
\n-
207#else /* if defined(VINLINE_MALOC) */
\n-
216# define Vset_num(thee) ((thee)->numT)
\n-
217
\n-
227# define Vset_access(thee,i) ( \\
\n-
228 ((i >= 0) && (i < thee->numT)) \\
\n-
229 ? &((thee)->table[ (i)>>(thee)->blockPower ] \\
\n-
230 [ (thee)->sizeT*((i)&(thee)->blockModulo) ]) \\
\n-
231 : VNULL \\
\n-
232 )
\n-
233
\n-
242# define Vset_create(thee) ( \\
\n-
243 ( ((((thee)->numT)>>(thee)->blockPower) >= (thee)->numBlocks) \\
\n-
244 || ((((thee)->numT+1)%(thee)->prtT) == 0) ) \\
\n-
245 ? (Vset_createLast((thee))) \\
\n-
246 : (++((thee)->numT), (Vset_access((thee),(thee)->numT-1))) \\
\n-
247 )
\n+
145void Vnm_typeChk(void);
\n+
146
\n+
160double Vnm_epsmac(void);
\n+
161
\n+
196int Vnm_gentokens(char *buf, char **argv,
\n+
197 const int argvmax, const char *white, const char *comment);
\n+
198
\n+
203#define VTIMERS 100
\n+
204
\n+
214void Vnm_tstart(int timer, const char *name);
\n+
215
\n+
225void Vnm_tstop(int timer, const char *name);
\n+
226
\n+
236char *Vnm_getuser(char *user, int usermax);
\n+
237
\n+
247char *Vnm_getos(char *os, int osmax);
\n
248
\n-
257# define Vset_first(thee) ( \\
\n-
258 (thee)->curT = 0, \\
\n-
259 Vset_access((thee), (thee)->curT) \\
\n-
260 )
\n-
261
\n-
270# define Vset_last(thee) ( \\
\n-
271 (thee)->curT = (thee)->numT-1, \\
\n-
272 Vset_access((thee), (thee)->curT) \\
\n-
273 )
\n-
274
\n-
283# define Vset_next(thee) ( \\
\n-
284 (thee)->curT++, \\
\n-
285 ((thee)->curT < (thee)->numT) \\
\n-
286 ? Vset_access((thee), (thee)->curT) \\
\n-
287 : VNULL \\
\n-
288 )
\n-
289
\n-
298# define Vset_prev(thee) ( \\
\n-
299 (thee)->curT--, \\
\n-
300 ((thee)->curT >= 0) \\
\n-
301 ? Vset_access((thee), (thee)->curT) \\
\n-
302 : VNULL \\
\n-
303 )
\n-
304
\n-
313# define Vset_peekFirst(thee) ( \\
\n-
314 Vset_access((thee), 0) \\
\n-
315 )
\n-
316
\n-
325# define Vset_peekLast(thee) ( \\
\n-
326 Vset_access((thee), (thee)->numT-1) \\
\n-
327 )
\n+
258char *Vnm_gethost(char *host, int hostmax);
\n+
259
\n+
279char *Vnm_gethome(char *path, int pathmax);
\n+
280
\n+
297char *Vnm_getcwd(char *path, int pathmax);
\n+
298
\n+
307int Vnm_chdir(const char *path);
\n+
308
\n+
317int Vnm_mkdir(const char *path);
\n+
318
\n+
327int Vnm_system(const char *cmd);
\n
328
\n-
337# define Vset_destroy(thee) ( \\
\n-
338 ( ((((thee)->numT-1)>>(thee)->blockPower) < (thee)->numBlocks-1) \\
\n-
339 || ((thee)->numT == 1) || ((((thee)->numT)%(thee)->prtT) == 0) ) \\
\n-
340 ? (Vset_destroyLast((thee))) : (void)(((thee)->numT)--) \\
\n-
341 )
\n-
342#endif /* if !defined(VINLINE_MALOC) */
\n-
343
\n-\n-
357 const char *tname, int tsize, int tmaxNum, int ioKey);
\n-
358
\n-
367void Vset_dtor(Vset **thee);
\n-
368
\n-\n-
378
\n-\n-
388
\n-
397void Vset_initData(Vset *thee);
\n-
398
\n-
407void Vset_reset(Vset *thee);
\n-
408
\n-
422void Vset_check(Vset *thee,
\n-
423 int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd);
\n-
424
\n-
433void Vset_memChk(Vset *thee);
\n-
434
\n-
435#endif /* _VSET_H_ */
\n-
436
\n+
337int Vnm_systemBack(const char *cmd);
\n+
338
\n+
347int Vnm_systemKill(const char *cmd);
\n+
348
\n+
359int Vnm_exec(int argc, char **argv);
\n+
360
\n+
371void Vnm_sleep(int nusecs);
\n+
372
\n+
380int Vnm_ioTag(void);
\n+
381
\n+
389int Vnm_nTags(void);
\n+
390
\n+
400void Vnm_setIoTag(int myTag, int numTags);
\n+
401
\n+
429FILE *Vnm_open(const int unit);
\n+
430
\n+
440int Vnm_close(const int unit);
\n+
441
\n+
451void Vnm_flush(const int unit);
\n+
452
\n+
463void Vnm_redirect(const int flag);
\n+
464
\n+
475void Vnm_print(const int unit, const char *format, ...);
\n+
476
\n+
490void Vnm_tprint(const int unit, const char *format, ...);
\n+
491
\n+
501void Vnm_qsort(int *u, int size);
\n+
502
\n+
513void Vnm_qsortOrd(int *u, int *ord, int size);
\n+
514
\n+
524void Vnm_dqsort(double *u, int size);
\n+
525
\n+
536void Vnm_dqsortOrd(double *u, int *ord, int size);
\n+
537
\n+
538#endif /* _VNM_H_ */
\n+
539
\n
The base (or foundation) header for MALOC.
\n-
#define VMAX_ARGLEN
Global constant.
Definition maloc_base.h:227
\n-
Header file for an ISO C [V]irtual [N]umerical [M]achine.
\n-
Class Vmem: A safer, object-oriented, malloc/free object.
\n-
char * Vset_peekFirst(Vset *thee)
Return the first object in the set.
\n-
char * Vset_prev(Vset *thee)
Return the prev object in the set.
\n-
void Vset_dtor(Vset **thee)
Destroy the set object.
\n-
char * Vset_first(Vset *thee)
Return the first object in the set.
\n-
Vset * Vset_ctor(Vmem *vmem, const char *tname, int tsize, int tmaxNum, int ioKey)
Construct the set object.
\n-
void Vset_reset(Vset *thee)
Release all Ram controlled by this (thee) and re-initialize.
\n-
char * Vset_next(Vset *thee)
Return the next object in the set.
\n-
void Vset_initData(Vset *thee)
Initialize the Vset data (thee).
\n-
void Vset_destroyLast(Vset *thee)
Free up the object currently on the end of the list.
\n-
char * Vset_create(Vset *thee)
Create an object on the end of the list.
\n-
void Vset_memChk(Vset *thee)
Print the exact current malloc usage.
\n-
void Vset_check(Vset *thee, int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd)
Get and return the RAM Control Block (thee) information.
\n-
int Vset_num(Vset *thee)
Return the number of things currently in the list.
\n-
char * Vset_peekLast(Vset *thee)
Return the last object in the set.
\n-
char * Vset_last(Vset *thee)
Return the last object in the set.
\n-
void Vset_destroy(Vset *thee)
Delete an object from the end of the list.
\n-
char * Vset_createLast(Vset *thee)
Create an object on the end of the list.
\n-
char * Vset_access(Vset *thee, int i)
Access an object in an arbitrary place in the list.
\n-
Contains public data members for Vmem class.
Definition vmem.h:57
\n-
Contains public data members for Vset class.
Definition vset.h:57
\n-
int blockModulo
=blockSize-1; for determining which block fast
Definition vset.h:88
\n-
char nameT[VMAX_ARGLEN]
name of object we are managing
Definition vset.h:68
\n-
int iMadeVmem
did i make vmem or was it inherited
Definition vset.h:62
\n-
int blockSize
blocksize is 2^(blockPower)
Definition vset.h:84
\n-
char ** table
list of pointers to blocks of storage we manage
Definition vset.h:91
\n-
int numBlocks
total number of allocated blocks
Definition vset.h:73
\n-
int prtT
for i/o at appropriate block creation/deletion
Definition vset.h:77
\n-
Vmem * vmem
the memory manager
Definition vset.h:60
\n-
int curT
the current "T" object in our collection
Definition vset.h:65
\n-
int blockMax
num blocks = blockMax=(maxObjects/blockSize)
Definition vset.h:86
\n-
int sizeT
size of the object in bytes
Definition vset.h:70
\n-
int blockPower
power of 2 for blocksize (e.g., =10, or =16)
Definition vset.h:82
\n-
int maxObjects
number of objects to manage (user specified)
Definition vset.h:80
\n-
int numT
the global "T" counter \u2013 how many "T"s in list
Definition vset.h:75
\n+
int Vnm_mkdir(const char *path)
Interact with the system to make a new directory.
\n+
void Vnm_sigHand(int num)
Handle events such as SIGINT. We must have first been registered with "Vnm_signalInit".
\n+
int Vnm_close(const int unit)
Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
\n+
char * Vnm_getos(char *os, int osmax)
Ask the system for the operating system name.
\n+
int Vnm_ioTag(void)
Return my I/O tag.
\n+
void Vnm_print(const int unit, const char *format,...)
External interface to the console i/o routine. We MUST NOT use VASSERT (or Vnm_print!...
\n+
void Vnm_setIoTag(int myTag, int numTags)
Set my id.
\n+
double Vnm_powsafe(double x, double y)
A safe VPOW function (avoids division by zero).
\n+
void Vnm_qsortOrd(int *u, int *ord, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n+
int Vnm_nTags(void)
Return the total number of tags.
\n+
void Vnm_sigIntClear(void)
Signal and setjmp handling routine. Clear the signal interrupt flag.
\n+
void Vnm_flush(const int unit)
Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
\n+
FILE * Vnm_open(const int unit)
Open an I/O console.
\n+
int Vnm_sigInt(void)
Signal and setjmp handling routine. Return the signal interrupt flag.
\n+
int Vnm_system(const char *cmd)
An improved ANSI-C "system" call.
\n+
int Vnm_exec(int argc, char **argv)
An improved UNIX "exec" call. This routine does not return except on error.
\n+
void Vnm_dqsortOrd(double *u, int *ord, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n+
void Vnm_jmpOkSet(void)
Signal and setjmp handling routine. Set the "okay-to-jump" flag.
\n+
void Vnm_tstart(int timer, const char *name)
Starts the timer on the particular machine.
\n+
char * Vnm_gethost(char *host, int hostmax)
Ask the system for the hostname.
\n+
void Vnm_sleep(int nusecs)
Implement a sleep function with microsecond resolution.
\n+
void Vnm_jmpOkClear(void)
Signal and setjmp handling routine. Clear the "okay-to-jump" flag.
\n+
jmp_buf * Vnm_signalInit(void)
Initialize the signal handling data structures.
\n+
int Vnm_chdir(const char *path)
Interact with the system to change the working directory.
\n+
void Vnm_typeChk(void)
Check out the sizes of various datatypes.
\n+
int Vnm_jmpOk(void)
Signal and setjmp handling routine. Return the "ok-to-jump" flag.
\n+
void Vnm_tprint(const int unit, const char *format,...)
Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in this routine.
\n+
char * Vnm_gethome(char *path, int pathmax)
Ask the system for the home directory.
\n+
double Vnm_epsmac(void)
Computes the unit roundoff of the machine in single precision. This is defined as the smallest posi...
\n+
int Vnm_systemBack(const char *cmd)
A background variant of the ANSI-C "system" call.
\n+
int Vnm_gentokens(char *buf, char **argv, const int argvmax, const char *white, const char *comment)
Generate an [argv,argc] pair from a character string "buf" (assumed NULL-terminated) in which tokens ...
\n+
int Vnm_systemKill(const char *cmd)
Something like a UNIX "killall" call.
\n+
void Vnm_qsort(int *u, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n+
void Vnm_sigIntSet(void)
Signal and setjmp handling routine. Set the signal interrupt flag.
\n+
void Vnm_redirect(const int flag)
Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the file: ${MCSH_HOME}/io....
\n+
char * Vnm_getcwd(char *path, int pathmax)
Ask the system for the current working directory.
\n+
char * Vnm_getuser(char *user, int usermax)
Ask the system for the username.
\n+
void Vnm_regHand(void)
Register the signal handler with the operating system.
\n+
void Vnm_dqsort(double *u, int size)
Front-end to quick sort integer array from [-large] to [+large].
\n+
void Vnm_tstop(int timer, const char *name)
Stops the timer on the particular machine.
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "encoding", "source2": "encoding", "unified_diff": "@@ -1 +1 @@\n-utf-8\n+us-ascii\n"}, {"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,279 +1,232 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-vset.h\n+vnm.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-38#ifndef _VSET_H_\n-39#define _VSET_H_\n-40\n-41#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-42\n-43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n-44#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n-45\n-46/*\n-47 *\n-***************************************************************************\n-48 * Class Vset: Parameters and datatypes\n-49 *\n-***************************************************************************\n-50 */\n-51\n-_\b5_\b7struct _\bs_\bV_\bs_\be_\bt {\n-58\n-_\b6_\b0 _\bV_\bm_\be_\bm *_\bv_\bm_\be_\bm;\n-_\b6_\b2 int _\bi_\bM_\ba_\bd_\be_\bV_\bm_\be_\bm;\n-63\n-_\b6_\b5 int _\bc_\bu_\br_\bT;\n-66\n-_\b6_\b8 char _\bn_\ba_\bm_\be_\bT[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n-_\b7_\b0 int _\bs_\bi_\bz_\be_\bT;\n-71\n-_\b7_\b3 int _\bn_\bu_\bm_\bB_\bl_\bo_\bc_\bk_\bs;\n-_\b7_\b5 int _\bn_\bu_\bm_\bT;\n-_\b7_\b7 int _\bp_\br_\bt_\bT;\n-78\n-_\b8_\b0 int _\bm_\ba_\bx_\bO_\bb_\bj_\be_\bc_\bt_\bs;\n-_\b8_\b2 int _\bb_\bl_\bo_\bc_\bk_\bP_\bo_\bw_\be_\br;\n-_\b8_\b4 int _\bb_\bl_\bo_\bc_\bk_\bS_\bi_\bz_\be;\n-_\b8_\b6 int _\bb_\bl_\bo_\bc_\bk_\bM_\ba_\bx;\n-_\b8_\b8 int _\bb_\bl_\bo_\bc_\bk_\bM_\bo_\bd_\bu_\bl_\bo;\n-89\n-_\b9_\b1 char **_\bt_\ba_\bb_\bl_\be;\n+33#ifndef _VNM_H_\n+34#define _VNM_H_\n+35\n+36#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+37\n+38\n+_\b4_\b6int _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt(void);\n+47\n+_\b5_\b5void _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bS_\be_\bt(void);\n+56\n+_\b6_\b4void _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bC_\bl_\be_\ba_\br(void);\n+65\n+_\b7_\b3int _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk(void);\n+74\n+_\b8_\b2void _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bS_\be_\bt(void);\n+83\n+_\b9_\b1void _\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bC_\bl_\be_\ba_\br(void);\n 92\n-93};\n-94\n-_\b1_\b0_\b0typedef struct _\bs_\bV_\bs_\be_\bt _\bV_\bs_\be_\bt;\n+_\b1_\b0_\b0jmp_buf *_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bn_\ba_\bl_\bI_\bn_\bi_\bt(void);\n 101\n-102/****************************************************************/\n-103/* Class Vset: Inlineable method (vset.c) */\n-104/****************************************************************/\n-105\n-106#if !defined(VINLINE_MALOC)\n-_\b1_\b1_\b5 int _\bV_\bs_\be_\bt_\b__\bn_\bu_\bm(_\bV_\bs_\be_\bt *thee);\n-116\n-_\b1_\b2_\b6 char *_\bV_\bs_\be_\bt_\b__\ba_\bc_\bc_\be_\bs_\bs(_\bV_\bs_\be_\bt *thee, int i);\n-127\n-_\b1_\b3_\b6 char *_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be(_\bV_\bs_\be_\bt *thee);\n+_\b1_\b0_\b9void _\bV_\bn_\bm_\b__\br_\be_\bg_\bH_\ba_\bn_\bd(void);\n+110\n+_\b1_\b1_\b9void _\bV_\bn_\bm_\b__\bs_\bi_\bg_\bH_\ba_\bn_\bd(int num);\n+120\n+_\b1_\b2_\b5#define VPOW_SAFE(x,y) (Vnm_powsafe(x,y))\n+126\n+_\b1_\b3_\b6double _\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be(double x, double y);\n 137\n-_\b1_\b4_\b6 char *_\bV_\bs_\be_\bt_\b__\bf_\bi_\br_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n-147\n-_\b1_\b5_\b6 char *_\bV_\bs_\be_\bt_\b__\bl_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n-157\n-_\b1_\b6_\b6 char *_\bV_\bs_\be_\bt_\b__\bn_\be_\bx_\bt(_\bV_\bs_\be_\bt *thee);\n-167\n-_\b1_\b7_\b6 char *_\bV_\bs_\be_\bt_\b__\bp_\br_\be_\bv(_\bV_\bs_\be_\bt *thee);\n-177\n-_\b1_\b8_\b6 char *_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bF_\bi_\br_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n-187\n-_\b1_\b9_\b6 char *_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bL_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n-197\n-_\b2_\b0_\b6 void _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by(_\bV_\bs_\be_\bt *thee);\n-207#else /* if defined(VINLINE_MALOC) */\n-216# define Vset_num(thee) ((thee)->numT)\n-217\n-227# define Vset_access(thee,i) ( \\\n-228 ((i >= 0) && (i < thee->numT)) \\\n-229 ? &((thee)->table[ (i)>>(thee)->blockPower ] \\\n-230 [ (thee)->sizeT*((i)&(thee)->blockModulo) ]) \\\n-231 : VNULL \\\n-232 )\n-233\n-242# define Vset_create(thee) ( \\\n-243 ( ((((thee)->numT)>>(thee)->blockPower) >= (thee)->numBlocks) \\\n-244 || ((((thee)->numT+1)%(thee)->prtT) == 0) ) \\\n-245 ? (Vset_createLast((thee))) \\\n-246 : (++((thee)->numT), (Vset_access((thee),(thee)->numT-1))) \\\n-247 )\n+_\b1_\b4_\b5void _\bV_\bn_\bm_\b__\bt_\by_\bp_\be_\bC_\bh_\bk(void);\n+146\n+_\b1_\b6_\b0double _\bV_\bn_\bm_\b__\be_\bp_\bs_\bm_\ba_\bc(void);\n+161\n+_\b1_\b9_\b6int _\bV_\bn_\bm_\b__\bg_\be_\bn_\bt_\bo_\bk_\be_\bn_\bs(char *buf, char **argv,\n+197 const int argvmax, const char *white, const char *comment);\n+198\n+_\b2_\b0_\b3#define VTIMERS 100\n+204\n+_\b2_\b1_\b4void _\bV_\bn_\bm_\b__\bt_\bs_\bt_\ba_\br_\bt(int timer, const char *name);\n+215\n+_\b2_\b2_\b5void _\bV_\bn_\bm_\b__\bt_\bs_\bt_\bo_\bp(int timer, const char *name);\n+226\n+_\b2_\b3_\b6char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bu_\bs_\be_\br(char *user, int usermax);\n+237\n+_\b2_\b4_\b7char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bo_\bs(char *os, int osmax);\n 248\n-257# define Vset_first(thee) ( \\\n-258 (thee)->curT = 0, \\\n-259 Vset_access((thee), (thee)->curT) \\\n-260 )\n-261\n-270# define Vset_last(thee) ( \\\n-271 (thee)->curT = (thee)->numT-1, \\\n-272 Vset_access((thee), (thee)->curT) \\\n-273 )\n-274\n-283# define Vset_next(thee) ( \\\n-284 (thee)->curT++, \\\n-285 ((thee)->curT < (thee)->numT) \\\n-286 ? Vset_access((thee), (thee)->curT) \\\n-287 : VNULL \\\n-288 )\n-289\n-298# define Vset_prev(thee) ( \\\n-299 (thee)->curT--, \\\n-300 ((thee)->curT >= 0) \\\n-301 ? Vset_access((thee), (thee)->curT) \\\n-302 : VNULL \\\n-303 )\n-304\n-313# define Vset_peekFirst(thee) ( \\\n-314 Vset_access((thee), 0) \\\n-315 )\n-316\n-325# define Vset_peekLast(thee) ( \\\n-326 Vset_access((thee), (thee)->numT-1) \\\n-327 )\n+_\b2_\b5_\b8char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bs_\bt(char *host, int hostmax);\n+259\n+_\b2_\b7_\b9char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bm_\be(char *path, int pathmax);\n+280\n+_\b2_\b9_\b7char *_\bV_\bn_\bm_\b__\bg_\be_\bt_\bc_\bw_\bd(char *path, int pathmax);\n+298\n+_\b3_\b0_\b7int _\bV_\bn_\bm_\b__\bc_\bh_\bd_\bi_\br(const char *path);\n+308\n+_\b3_\b1_\b7int _\bV_\bn_\bm_\b__\bm_\bk_\bd_\bi_\br(const char *path);\n+318\n+_\b3_\b2_\b7int _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm(const char *cmd);\n 328\n-337# define Vset_destroy(thee) ( \\\n-338 ( ((((thee)->numT-1)>>(thee)->blockPower) < (thee)->numBlocks-1) \\\n-339 || ((thee)->numT == 1) || ((((thee)->numT)%(thee)->prtT) == 0) ) \\\n-340 ? (Vset_destroyLast((thee))) : (void)(((thee)->numT)--) \\\n-341 )\n-342#endif /* if !defined(VINLINE_MALOC) */\n-343\n-_\b3_\b5_\b6_\bV_\bs_\be_\bt* _\bV_\bs_\be_\bt_\b__\bc_\bt_\bo_\br(_\bV_\bm_\be_\bm *_\bv_\bm_\be_\bm,\n-357 const char *tname, int tsize, int tmaxNum, int ioKey);\n-358\n-_\b3_\b6_\b7void _\bV_\bs_\be_\bt_\b__\bd_\bt_\bo_\br(_\bV_\bs_\be_\bt **thee);\n-368\n-_\b3_\b7_\b7char *_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be_\bL_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n-378\n-_\b3_\b8_\b7void _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by_\bL_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n-388\n-_\b3_\b9_\b7void _\bV_\bs_\be_\bt_\b__\bi_\bn_\bi_\bt_\bD_\ba_\bt_\ba(_\bV_\bs_\be_\bt *thee);\n-398\n-_\b4_\b0_\b7void _\bV_\bs_\be_\bt_\b__\br_\be_\bs_\be_\bt(_\bV_\bs_\be_\bt *thee);\n-408\n-_\b4_\b2_\b2void _\bV_\bs_\be_\bt_\b__\bc_\bh_\be_\bc_\bk(_\bV_\bs_\be_\bt *thee,\n-423 int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd);\n-424\n-_\b4_\b3_\b3void _\bV_\bs_\be_\bt_\b__\bm_\be_\bm_\bC_\bh_\bk(_\bV_\bs_\be_\bt *thee);\n-434\n-435#endif /* _VSET_H_ */\n-436\n+_\b3_\b3_\b7int _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bB_\ba_\bc_\bk(const char *cmd);\n+338\n+_\b3_\b4_\b7int _\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bK_\bi_\bl_\bl(const char *cmd);\n+348\n+_\b3_\b5_\b9int _\bV_\bn_\bm_\b__\be_\bx_\be_\bc(int argc, char **argv);\n+360\n+_\b3_\b7_\b1void _\bV_\bn_\bm_\b__\bs_\bl_\be_\be_\bp(int nusecs);\n+372\n+_\b3_\b8_\b0int _\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg(void);\n+381\n+_\b3_\b8_\b9int _\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs(void);\n+390\n+_\b4_\b0_\b0void _\bV_\bn_\bm_\b__\bs_\be_\bt_\bI_\bo_\bT_\ba_\bg(int myTag, int numTags);\n+401\n+_\b4_\b2_\b9FILE *_\bV_\bn_\bm_\b__\bo_\bp_\be_\bn(const int unit);\n+430\n+_\b4_\b4_\b0int _\bV_\bn_\bm_\b__\bc_\bl_\bo_\bs_\be(const int unit);\n+441\n+_\b4_\b5_\b1void _\bV_\bn_\bm_\b__\bf_\bl_\bu_\bs_\bh(const int unit);\n+452\n+_\b4_\b6_\b3void _\bV_\bn_\bm_\b__\br_\be_\bd_\bi_\br_\be_\bc_\bt(const int flag);\n+464\n+_\b4_\b7_\b5void _\bV_\bn_\bm_\b__\bp_\br_\bi_\bn_\bt(const int unit, const char *format, ...);\n+476\n+_\b4_\b9_\b0void _\bV_\bn_\bm_\b__\bt_\bp_\br_\bi_\bn_\bt(const int unit, const char *format, ...);\n+491\n+_\b5_\b0_\b1void _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt(int *u, int size);\n+502\n+_\b5_\b1_\b3void _\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt_\bO_\br_\bd(int *u, int *ord, int size);\n+514\n+_\b5_\b2_\b4void _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt(double *u, int size);\n+525\n+_\b5_\b3_\b6void _\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt_\bO_\br_\bd(double *u, int *ord, int size);\n+537\n+538#endif /* _VNM_H_ */\n+539\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n-_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN\n-#define VMAX_ARGLEN\n-Global constant.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:227\n-_\bv_\bn_\bm_\b._\bh\n-Header file for an ISO C [V]irtual [N]umerical [M]achine.\n-_\bv_\bm_\be_\bm_\b._\bh\n-Class Vmem: A safer, object-oriented, malloc/free object.\n-_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bF_\bi_\br_\bs_\bt\n-char * Vset_peekFirst(Vset *thee)\n-Return the first object in the set.\n-_\bV_\bs_\be_\bt_\b__\bp_\br_\be_\bv\n-char * Vset_prev(Vset *thee)\n-Return the prev object in the set.\n-_\bV_\bs_\be_\bt_\b__\bd_\bt_\bo_\br\n-void Vset_dtor(Vset **thee)\n-Destroy the set object.\n-_\bV_\bs_\be_\bt_\b__\bf_\bi_\br_\bs_\bt\n-char * Vset_first(Vset *thee)\n-Return the first object in the set.\n-_\bV_\bs_\be_\bt_\b__\bc_\bt_\bo_\br\n-Vset * Vset_ctor(Vmem *vmem, const char *tname, int tsize, int tmaxNum, int\n-ioKey)\n-Construct the set object.\n-_\bV_\bs_\be_\bt_\b__\br_\be_\bs_\be_\bt\n-void Vset_reset(Vset *thee)\n-Release all Ram controlled by this (thee) and re-initialize.\n-_\bV_\bs_\be_\bt_\b__\bn_\be_\bx_\bt\n-char * Vset_next(Vset *thee)\n-Return the next object in the set.\n-_\bV_\bs_\be_\bt_\b__\bi_\bn_\bi_\bt_\bD_\ba_\bt_\ba\n-void Vset_initData(Vset *thee)\n-Initialize the Vset data (thee).\n-_\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by_\bL_\ba_\bs_\bt\n-void Vset_destroyLast(Vset *thee)\n-Free up the object currently on the end of the list.\n-_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be\n-char * Vset_create(Vset *thee)\n-Create an object on the end of the list.\n-_\bV_\bs_\be_\bt_\b__\bm_\be_\bm_\bC_\bh_\bk\n-void Vset_memChk(Vset *thee)\n-Print the exact current malloc usage.\n-_\bV_\bs_\be_\bt_\b__\bc_\bh_\be_\bc_\bk\n-void Vset_check(Vset *thee, int *tnum, int *tsize, int *tVecUse, int *tVecMal,\n-int *tVecOhd)\n-Get and return the RAM Control Block (thee) information.\n-_\bV_\bs_\be_\bt_\b__\bn_\bu_\bm\n-int Vset_num(Vset *thee)\n-Return the number of things currently in the list.\n-_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bL_\ba_\bs_\bt\n-char * Vset_peekLast(Vset *thee)\n-Return the last object in the set.\n-_\bV_\bs_\be_\bt_\b__\bl_\ba_\bs_\bt\n-char * Vset_last(Vset *thee)\n-Return the last object in the set.\n-_\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by\n-void Vset_destroy(Vset *thee)\n-Delete an object from the end of the list.\n-_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be_\bL_\ba_\bs_\bt\n-char * Vset_createLast(Vset *thee)\n-Create an object on the end of the list.\n-_\bV_\bs_\be_\bt_\b__\ba_\bc_\bc_\be_\bs_\bs\n-char * Vset_access(Vset *thee, int i)\n-Access an object in an arbitrary place in the list.\n-_\bs_\bV_\bm_\be_\bm\n-Contains public data members for Vmem class.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:57\n-_\bs_\bV_\bs_\be_\bt\n-Contains public data members for Vset class.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:57\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bM_\bo_\bd_\bu_\bl_\bo\n-int blockModulo\n-=blockSize-1; for determining which block fast\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:88\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bn_\ba_\bm_\be_\bT\n-char nameT[VMAX_ARGLEN]\n-name of object we are managing\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:68\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bi_\bM_\ba_\bd_\be_\bV_\bm_\be_\bm\n-int iMadeVmem\n-did i make vmem or was it inherited\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:62\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bS_\bi_\bz_\be\n-int blockSize\n-blocksize is 2^(blockPower)\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:84\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bt_\ba_\bb_\bl_\be\n-char ** table\n-list of pointers to blocks of storage we manage\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:91\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bn_\bu_\bm_\bB_\bl_\bo_\bc_\bk_\bs\n-int numBlocks\n-total number of allocated blocks\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:73\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bp_\br_\bt_\bT\n-int prtT\n-for i/o at appropriate block creation/deletion\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:77\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bv_\bm_\be_\bm\n-Vmem * vmem\n-the memory manager\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:60\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bc_\bu_\br_\bT\n-int curT\n-the current \"T\" object in our collection\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:65\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bM_\ba_\bx\n-int blockMax\n-num blocks = blockMax=(maxObjects/blockSize)\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:86\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bs_\bi_\bz_\be_\bT\n-int sizeT\n-size of the object in bytes\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:70\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bP_\bo_\bw_\be_\br\n-int blockPower\n-power of 2 for blocksize (e.g., =10, or =16)\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:82\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bm_\ba_\bx_\bO_\bb_\bj_\be_\bc_\bt_\bs\n-int maxObjects\n-number of objects to manage (user specified)\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:80\n-_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bn_\bu_\bm_\bT\n-int numT\n-the global \"T\" counter \u00e2\u0080\u0093 how many \"T\"s in list\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:75\n+_\bV_\bn_\bm_\b__\bm_\bk_\bd_\bi_\br\n+int Vnm_mkdir(const char *path)\n+Interact with the system to make a new directory.\n+_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bH_\ba_\bn_\bd\n+void Vnm_sigHand(int num)\n+Handle events such as SIGINT. We must have first been registered with\n+\"Vnm_signalInit\".\n+_\bV_\bn_\bm_\b__\bc_\bl_\bo_\bs_\be\n+int Vnm_close(const int unit)\n+Close an I/O console. We MUST NOT use VASSERT (or Vnm_print!) in this routine.\n+_\bV_\bn_\bm_\b__\bg_\be_\bt_\bo_\bs\n+char * Vnm_getos(char *os, int osmax)\n+Ask the system for the operating system name.\n+_\bV_\bn_\bm_\b__\bi_\bo_\bT_\ba_\bg\n+int Vnm_ioTag(void)\n+Return my I/O tag.\n+_\bV_\bn_\bm_\b__\bp_\br_\bi_\bn_\bt\n+void Vnm_print(const int unit, const char *format,...)\n+External interface to the console i/o routine. We MUST NOT use VASSERT (or\n+Vnm_print!...\n+_\bV_\bn_\bm_\b__\bs_\be_\bt_\bI_\bo_\bT_\ba_\bg\n+void Vnm_setIoTag(int myTag, int numTags)\n+Set my id.\n+_\bV_\bn_\bm_\b__\bp_\bo_\bw_\bs_\ba_\bf_\be\n+double Vnm_powsafe(double x, double y)\n+A safe VPOW function (avoids division by zero).\n+_\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt_\bO_\br_\bd\n+void Vnm_qsortOrd(int *u, int *ord, int size)\n+Front-end to quick sort integer array from [-large] to [+large].\n+_\bV_\bn_\bm_\b__\bn_\bT_\ba_\bg_\bs\n+int Vnm_nTags(void)\n+Return the total number of tags.\n+_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bC_\bl_\be_\ba_\br\n+void Vnm_sigIntClear(void)\n+Signal and setjmp handling routine. Clear the signal interrupt flag.\n+_\bV_\bn_\bm_\b__\bf_\bl_\bu_\bs_\bh\n+void Vnm_flush(const int unit)\n+Attempt to flush the specified i/o stream. We MUST NOT use VASSERT (or\n+Vnm_print!) in this routine.\n+_\bV_\bn_\bm_\b__\bo_\bp_\be_\bn\n+FILE * Vnm_open(const int unit)\n+Open an I/O console.\n+_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt\n+int Vnm_sigInt(void)\n+Signal and setjmp handling routine. Return the signal interrupt flag.\n+_\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm\n+int Vnm_system(const char *cmd)\n+An improved ANSI-C \"system\" call.\n+_\bV_\bn_\bm_\b__\be_\bx_\be_\bc\n+int Vnm_exec(int argc, char **argv)\n+An improved UNIX \"exec\" call. This routine does not return except on error.\n+_\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt_\bO_\br_\bd\n+void Vnm_dqsortOrd(double *u, int *ord, int size)\n+Front-end to quick sort integer array from [-large] to [+large].\n+_\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bS_\be_\bt\n+void Vnm_jmpOkSet(void)\n+Signal and setjmp handling routine. Set the \"okay-to-jump\" flag.\n+_\bV_\bn_\bm_\b__\bt_\bs_\bt_\ba_\br_\bt\n+void Vnm_tstart(int timer, const char *name)\n+Starts the timer on the particular machine.\n+_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bs_\bt\n+char * Vnm_gethost(char *host, int hostmax)\n+Ask the system for the hostname.\n+_\bV_\bn_\bm_\b__\bs_\bl_\be_\be_\bp\n+void Vnm_sleep(int nusecs)\n+Implement a sleep function with microsecond resolution.\n+_\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk_\bC_\bl_\be_\ba_\br\n+void Vnm_jmpOkClear(void)\n+Signal and setjmp handling routine. Clear the \"okay-to-jump\" flag.\n+_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bn_\ba_\bl_\bI_\bn_\bi_\bt\n+jmp_buf * Vnm_signalInit(void)\n+Initialize the signal handling data structures.\n+_\bV_\bn_\bm_\b__\bc_\bh_\bd_\bi_\br\n+int Vnm_chdir(const char *path)\n+Interact with the system to change the working directory.\n+_\bV_\bn_\bm_\b__\bt_\by_\bp_\be_\bC_\bh_\bk\n+void Vnm_typeChk(void)\n+Check out the sizes of various datatypes.\n+_\bV_\bn_\bm_\b__\bj_\bm_\bp_\bO_\bk\n+int Vnm_jmpOk(void)\n+Signal and setjmp handling routine. Return the \"ok-to-jump\" flag.\n+_\bV_\bn_\bm_\b__\bt_\bp_\br_\bi_\bn_\bt\n+void Vnm_tprint(const int unit, const char *format,...)\n+Add our ioTag to Vnm_print output. We MUST NOT use VASSERT (or Vnm_print!) in\n+this routine.\n+_\bV_\bn_\bm_\b__\bg_\be_\bt_\bh_\bo_\bm_\be\n+char * Vnm_gethome(char *path, int pathmax)\n+Ask the system for the home directory.\n+_\bV_\bn_\bm_\b__\be_\bp_\bs_\bm_\ba_\bc\n+double Vnm_epsmac(void)\n+Computes the unit roundoff of the machine in single precision. This is defined\n+as the smallest posi...\n+_\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bB_\ba_\bc_\bk\n+int Vnm_systemBack(const char *cmd)\n+A background variant of the ANSI-C \"system\" call.\n+_\bV_\bn_\bm_\b__\bg_\be_\bn_\bt_\bo_\bk_\be_\bn_\bs\n+int Vnm_gentokens(char *buf, char **argv, const int argvmax, const char *white,\n+const char *comment)\n+Generate an [argv,argc] pair from a character string \"buf\" (assumed NULL-\n+terminated) in which tokens ...\n+_\bV_\bn_\bm_\b__\bs_\by_\bs_\bt_\be_\bm_\bK_\bi_\bl_\bl\n+int Vnm_systemKill(const char *cmd)\n+Something like a UNIX \"killall\" call.\n+_\bV_\bn_\bm_\b__\bq_\bs_\bo_\br_\bt\n+void Vnm_qsort(int *u, int size)\n+Front-end to quick sort integer array from [-large] to [+large].\n+_\bV_\bn_\bm_\b__\bs_\bi_\bg_\bI_\bn_\bt_\bS_\be_\bt\n+void Vnm_sigIntSet(void)\n+Signal and setjmp handling routine. Set the signal interrupt flag.\n+_\bV_\bn_\bm_\b__\br_\be_\bd_\bi_\br_\be_\bc_\bt\n+void Vnm_redirect(const int flag)\n+Set/unset the redirect flag for UNIT zero. When redirected, I/O goes to the\n+file: ${MCSH_HOME}/io....\n+_\bV_\bn_\bm_\b__\bg_\be_\bt_\bc_\bw_\bd\n+char * Vnm_getcwd(char *path, int pathmax)\n+Ask the system for the current working directory.\n+_\bV_\bn_\bm_\b__\bg_\be_\bt_\bu_\bs_\be_\br\n+char * Vnm_getuser(char *user, int usermax)\n+Ask the system for the username.\n+_\bV_\bn_\bm_\b__\br_\be_\bg_\bH_\ba_\bn_\bd\n+void Vnm_regHand(void)\n+Register the signal handler with the operating system.\n+_\bV_\bn_\bm_\b__\bd_\bq_\bs_\bo_\br_\bt\n+void Vnm_dqsort(double *u, int size)\n+Front-end to quick sort integer array from [-large] to [+large].\n+_\bV_\bn_\bm_\b__\bt_\bs_\bt_\bo_\bp\n+void Vnm_tstop(int timer, const char *name)\n+Stops the timer on the particular machine.\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00027.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00027.dot.gz", "unified_diff": null, "details": [{"source1": "a00027.dot", "source2": "a00027.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vset.h\"\n+digraph \"vnm.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vset.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node1 [id=\"Node000001\",label=\"vnm.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -33,14 +33,8 @@\n Node14 [id=\"Node000014\",label=\"stdlib.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n- Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n- Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node19 [id=\"edge19_Node000001_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n- Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00028.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00028.dot", "unified_diff": "@@ -1,28 +1,34 @@\n-digraph \"vset.h\"\n+digraph \"vnm.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vset.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node1 [id=\"Node000001\",label=\"vnm.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node2 [id=\"Node000002\",label=\"vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n- Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node4 -> Node3 [id=\"edge4_Node000004_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node5 [id=\"edge5_Node000002_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node5 [id=\"Node000005\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node5 -> Node6 [id=\"edge6_Node000005_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node6 [id=\"Node000006\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node6 -> Node4 [id=\"edge7_Node000006_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node6 [id=\"edge8_Node000002_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node7 [id=\"edge9_Node000002_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 [id=\"Node000007\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node7 -> Node6 [id=\"edge10_Node000007_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node8 [id=\"edge11_Node000002_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 [id=\"Node000008\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n- Node8 -> Node3 [id=\"edge12_Node000008_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 -> Node4 [id=\"edge13_Node000008_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 [id=\"Node000003\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node3 -> Node5 [id=\"edge4_Node000003_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node5 [id=\"Node000005\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node5 -> Node4 [id=\"edge5_Node000005_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node6 [id=\"edge6_Node000003_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node6 [id=\"Node000006\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node6 -> Node7 [id=\"edge7_Node000006_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node7 [id=\"Node000007\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node7 -> Node5 [id=\"edge8_Node000007_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node7 [id=\"edge9_Node000003_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node8 [id=\"edge10_Node000003_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 [id=\"Node000008\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node8 -> Node7 [id=\"edge11_Node000008_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node9 [id=\"edge12_Node000003_Node000009\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node9 [id=\"Node000009\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n+ Node9 -> Node4 [id=\"edge13_Node000009_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node9 -> Node5 [id=\"edge14_Node000009_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node10 [id=\"edge15_Node000001_Node000010\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node10 [id=\"Node000010\",label=\"vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node10 -> Node3 [id=\"edge16_Node000010_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node3 [id=\"edge17_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00029.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00029.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vmem.h File Reference\n+MALOC: vset.h File Reference\n \n \n \n \n \n \n
\n@@ -43,106 +43,113 @@\n
\n
\n
\n \n-
vmem.h File Reference
\n+
vset.h File Reference
\n
\n
\n \n-

Class Vmem: A safer, object-oriented, malloc/free object. \n+

Class Vset: a dynamic set object. \n More...

\n
#include <maloc/maloc_base.h>
\n+#include <maloc/vnm.h>
\n+#include <maloc/vmem.h>
\n
\n-Include dependency graph for vmem.h:
\n+Include dependency graph for vset.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n \n-\n-\n+\n+\n \n

\n Classes

struct  sVmem
 Contains public data members for Vmem class. More...
struct  sVset
 Contains public data members for Vset class. More...
 
\n \n-\n-\n-\n+\n+\n+\n

\n Typedefs

typedef struct sVmem Vmem
 Declaration of the Vmem class as the Vmem structure.
 
typedef struct sVset Vset
 Declaration of the Vset class as the Vset structure.
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n

\n Functions

size_t Vmem_bytesTotal (void)
 Return total of all active Vmem malloc areas (current footprint)
 
size_t Vmem_mallocBytesTotal (void)
 Return total of all Vmem malloc allocations.
 
size_t Vmem_freeBytesTotal (void)
 Return total of all Vmem free calls.
 
size_t Vmem_highWaterTotal (void)
 Return the high-water byte mark (largest footprint)
 
size_t Vmem_mallocAreasTotal (void)
 Return total of all active Vmem malloc areas by groups.
 
void Vmem_printTotal (void)
 Print current memory statistics for all Vmem malloc/free areas.
 
VmemVmem_ctor (char *name)
 Construct the dynamic memory allocation logging object.
 
void Vmem_dtor (Vmem **thee)
 Destruct the dynamic memory allocation logging object.
 
void * Vmem_malloc (Vmem *thee, size_t num, size_t size)
 A safe logged version of malloc.
 
void Vmem_free (Vmem *thee, size_t num, size_t size, void **ram)
 A safe logged version of free.
 
void * Vmem_realloc (Vmem *thee, size_t num, size_t size, void **ram, size_t newNum)
 A safe logged version of realloc (usually a bad idea to use this)
 
size_t Vmem_bytes (Vmem *thee)
 Return total of all ACTIVE malloc areas used by Vmem object.
 
size_t Vmem_mallocBytes (Vmem *thee)
 Return total of all mallocs performed by Vmem object.
 
size_t Vmem_freeBytes (Vmem *thee)
 Return total of all frees performed by Vmem object.
 
size_t Vmem_highWater (Vmem *thee)
 Return high-water malloc bytemark hit by Vmem object.
 
size_t Vmem_mallocAreas (Vmem *thee)
 Return total number of individual active malloc areas.
 
void Vmem_print (Vmem *thee)
 Print current memory stats associated with this Vmem object.
 
int Vset_num (Vset *thee)
 Return the number of things currently in the list.
 
char * Vset_access (Vset *thee, int i)
 Access an object in an arbitrary place in the list.
 
char * Vset_create (Vset *thee)
 Create an object on the end of the list.
\n+
 
char * Vset_first (Vset *thee)
 Return the first object in the set.
\n+
 
char * Vset_last (Vset *thee)
 Return the last object in the set.
 
char * Vset_next (Vset *thee)
 Return the next object in the set.
 
char * Vset_prev (Vset *thee)
 Return the prev object in the set.
 
char * Vset_peekFirst (Vset *thee)
 Return the first object in the set.
 
char * Vset_peekLast (Vset *thee)
 Return the last object in the set.
 
void Vset_destroy (Vset *thee)
 Delete an object from the end of the list.
 
VsetVset_ctor (Vmem *vmem, const char *tname, int tsize, int tmaxNum, int ioKey)
 Construct the set object.
 
void Vset_dtor (Vset **thee)
 Destroy the set object.
 
char * Vset_createLast (Vset *thee)
 Create an object on the end of the list.
 
void Vset_destroyLast (Vset *thee)
 Free up the object currently on the end of the list.
 
void Vset_initData (Vset *thee)
 Initialize the Vset data (thee).
 
void Vset_reset (Vset *thee)
 Release all Ram controlled by this (thee) and re-initialize.
 
void Vset_check (Vset *thee, int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd)
 Get and return the RAM Control Block (thee) information.
 
void Vset_memChk (Vset *thee)
 Print the exact current malloc usage.
 
\n

Detailed Description

\n-

Class Vmem: A safer, object-oriented, malloc/free object.

\n+

Class Vset: a dynamic set object.

\n
Author
Michael Holst
\n
Note
None
\n
Version
\n-
Id
vmem.h,v 1.21 2010/08/12 05:40:36 fetk Exp
\n+
Id
vset.h,v 1.20 2010/08/12 05:40:37 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -153,15 +160,15 @@\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n-* 
\n+* \n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,89 +1,97 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n _\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vmem.h File Reference\n-_\bV_\bm_\be_\bm_\b _\bc_\bl_\ba_\bs_\bs\n-Class Vmem: A safer, object-oriented, malloc/free object. _\bM_\bo_\br_\be_\b._\b._\b.\n+vset.h File Reference\n+_\bV_\bs_\be_\bt_\b _\bc_\bl_\ba_\bs_\bs\n+Class Vset: a dynamic set object. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-Include dependency graph for vmem.h:\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n+Include dependency graph for vset.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n C\bCl\bla\bas\bss\bse\bes\bs\n-struct \u00a0 _\bs_\bV_\bm_\be_\bm\n-\u00a0 Contains public data members for Vmem class. _\bM_\bo_\br_\be_\b._\b._\b.\n+struct \u00a0 _\bs_\bV_\bs_\be_\bt\n+\u00a0 Contains public data members for Vset class. _\bM_\bo_\br_\be_\b._\b._\b.\n \u00a0\n T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n-typedef struct _\bs_\bV_\bm_\be_\bm\u00a0 _\bV_\bm_\be_\bm\n-\u00a0 Declaration of the Vmem class as the Vmem structure.\n+typedef struct _\bs_\bV_\bs_\be_\bt\u00a0 _\bV_\bs_\be_\bt\n+\u00a0 Declaration of the Vset class as the Vset structure.\n \u00a0\n F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl (void)\n-\u00a0 Return total of all active Vmem malloc areas (current footprint)\n+ int\u00a0 _\bV_\bs_\be_\bt_\b__\bn_\bu_\bm (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Return the number of things currently in the list.\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl (void)\n-\u00a0 Return total of all Vmem malloc allocations.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\ba_\bc_\bc_\be_\bs_\bs (_\bV_\bs_\be_\bt *thee, int i)\n+\u00a0 Access an object in an arbitrary place in the list.\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl (void)\n-\u00a0 Return total of all Vmem free calls.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Create an object on the end of the list.\n+\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br_\bT_\bo_\bt_\ba_\bl (void)\n-\u00a0 Return the high-water byte mark (largest footprint)\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bf_\bi_\br_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Return the first object in the set.\n+\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs_\bT_\bo_\bt_\ba_\bl (void)\n-\u00a0 Return total of all active Vmem malloc areas by groups.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bl_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Return the last object in the set.\n \u00a0\n- void\u00a0 _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt_\bT_\bo_\bt_\ba_\bl (void)\n-\u00a0 Print current memory statistics for all Vmem malloc/free areas.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bn_\be_\bx_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Return the next object in the set.\n \u00a0\n-_\bV_\bm_\be_\bm *\u00a0 _\bV_\bm_\be_\bm_\b__\bc_\bt_\bo_\br (char *name)\n-\u00a0 Construct the dynamic memory allocation logging object.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bp_\br_\be_\bv (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Return the prev object in the set.\n \u00a0\n- void\u00a0 _\bV_\bm_\be_\bm_\b__\bd_\bt_\bo_\br (_\bV_\bm_\be_\bm **thee)\n-\u00a0 Destruct the dynamic memory allocation logging object.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bF_\bi_\br_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Return the first object in the set.\n \u00a0\n-void *\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc (_\bV_\bm_\be_\bm *thee, size_t num, size_t size)\n-\u00a0 A safe logged version of malloc.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bL_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Return the last object in the set.\n \u00a0\n- void\u00a0 _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be (_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram)\n-\u00a0 A safe logged version of free.\n+ void\u00a0 _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Delete an object from the end of the list.\n \u00a0\n-void *\u00a0 _\bV_\bm_\be_\bm_\b__\br_\be_\ba_\bl_\bl_\bo_\bc (_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram, size_t\n- newNum)\n-\u00a0 A safe logged version of realloc (usually a bad idea to use this)\n+_\bV_\bs_\be_\bt *\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\bt_\bo_\br (_\bV_\bm_\be_\bm *vmem, const char *tname, int tsize, int tmaxNum, int\n+ ioKey)\n+\u00a0 Construct the set object.\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs (_\bV_\bm_\be_\bm *thee)\n-\u00a0 Return total of all ACTIVE malloc areas used by Vmem object.\n+ void\u00a0 _\bV_\bs_\be_\bt_\b__\bd_\bt_\bo_\br (_\bV_\bs_\be_\bt **thee)\n+\u00a0 Destroy the set object.\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs (_\bV_\bm_\be_\bm *thee)\n-\u00a0 Return total of all mallocs performed by Vmem object.\n+char *\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be_\bL_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Create an object on the end of the list.\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs (_\bV_\bm_\be_\bm *thee)\n-\u00a0 Return total of all frees performed by Vmem object.\n+ void\u00a0 _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by_\bL_\ba_\bs_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Free up the object currently on the end of the list.\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br (_\bV_\bm_\be_\bm *thee)\n-\u00a0 Return high-water malloc bytemark hit by Vmem object.\n+ void\u00a0 _\bV_\bs_\be_\bt_\b__\bi_\bn_\bi_\bt_\bD_\ba_\bt_\ba (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Initialize the Vset data (thee).\n \u00a0\n-size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs (_\bV_\bm_\be_\bm *thee)\n-\u00a0 Return total number of individual active malloc areas.\n+ void\u00a0 _\bV_\bs_\be_\bt_\b__\br_\be_\bs_\be_\bt (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Release all Ram controlled by this (thee) and re-initialize.\n \u00a0\n- void\u00a0 _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt (_\bV_\bm_\be_\bm *thee)\n-\u00a0 Print current memory stats associated with this Vmem object.\n+ void\u00a0 _\bV_\bs_\be_\bt_\b__\bc_\bh_\be_\bc_\bk (_\bV_\bs_\be_\bt *thee, int *tnum, int *tsize, int *tVecUse, int\n+ *tVecMal, int *tVecOhd)\n+\u00a0 Get and return the RAM Control Block (thee) information.\n+\u00a0\n+ void\u00a0 _\bV_\bs_\be_\bt_\b__\bm_\be_\bm_\bC_\bh_\bk (_\bV_\bs_\be_\bt *thee)\n+\u00a0 Print the exact current malloc usage.\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Class Vmem: A safer, object-oriented, malloc/free object.\n+Class Vset: a dynamic set object.\n Author\n Michael Holst\n Note\n None\n Version\n Id\n- _\bv_\bm_\be_\bm_\b._\bh,v 1.21 2010/08/12 05:40:36 fetk Exp\n+ _\bv_\bs_\be_\bt_\b._\bh,v 1.20 2010/08/12 05:40:37 fetk Exp\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00029_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00029_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vmem.h Source File\n+MALOC: vset.h Source File\n \n \n \n \n \n \n
\n@@ -44,121 +44,198 @@\n \n
\n \n
\n
\n
\n-
vmem.h
\n+
vset.h
\n
\n
\n Go to the documentation of this file.
1
\n-
40#ifndef _VMEM_H_
\n-
41#define _VMEM_H_
\n+
38#ifndef _VSET_H_
\n+
39#define _VSET_H_
\n+
40
\n+
41#include <maloc/maloc_base.h>
\n
42
\n-
43#include <maloc/maloc_base.h>
\n-
44
\n-
45/*
\n-
46 * ***************************************************************************
\n-
47 * Class Vmem: Parameters and datatypes
\n-
48 * ***************************************************************************
\n-
49 */
\n-
50
\n+
43#include <maloc/vnm.h>
\n+
44#include <maloc/vmem.h>
\n+
45
\n+
46/*
\n+
47 * ***************************************************************************
\n+
48 * Class Vset: Parameters and datatypes
\n+
49 * ***************************************************************************
\n+
50 */
\n
51
\n
\n-
57struct sVmem {
\n+
57struct sVset {
\n
58
\n-\n-
61 size_t mallocBytes;
\n-
62 size_t freeBytes;
\n-
63 size_t highWater;
\n-
64 size_t mallocAreas;
\n-
66};
\n+\n+\n+
63
\n+
65 int curT;
\n+
66
\n+\n+
70 int sizeT;
\n+
71
\n+\n+
75 int numT;
\n+
77 int prtT;
\n+
78
\n+\n+\n+\n+\n+\n+
89
\n+
91 char **table;
\n+
92
\n+
93};
\n
\n-
67
\n-
73typedef struct sVmem Vmem;
\n-
74
\n-
75/*
\n-
76 * ***************************************************************************
\n-
77 * Class Vmem: Inlineable methods (vmem.c)
\n-
78 * ***************************************************************************
\n-
79 */
\n-
80
\n-
81#if !defined(VINLINE_MALOC)
\n-
82#else /* if defined(VINLINE_MALOC) */
\n-
83#endif /* if !defined(VINLINE_MALOC) */
\n-
84
\n-
85/*
\n-
86 * ***************************************************************************
\n-
87 * Class Vmem: Non-Inlineable methods (vmem.c)
\n-
88 * ***************************************************************************
\n-
89 */
\n-
90
\n-
98size_t Vmem_bytesTotal(void);
\n-
99
\n-\n-
108
\n-\n-
117
\n-\n-
126
\n-\n-
135
\n-\n-
144
\n-\n-
154
\n-
163void Vmem_dtor(Vmem **thee);
\n-
164
\n-
175void *Vmem_malloc(Vmem *thee, size_t num, size_t size);
\n-
176
\n-
188void Vmem_free(Vmem *thee, size_t num, size_t size, void **ram);
\n-
189
\n-
202void *Vmem_realloc(Vmem *thee, size_t num, size_t size, void **ram,
\n-
203 size_t newNum);
\n-
204
\n-
213size_t Vmem_bytes(Vmem *thee);
\n-
214
\n-
223size_t Vmem_mallocBytes(Vmem *thee);
\n-
224
\n-
233size_t Vmem_freeBytes(Vmem *thee);
\n-
234
\n-
243size_t Vmem_highWater(Vmem *thee);
\n-
244
\n-
253size_t Vmem_mallocAreas(Vmem *thee);
\n-
254
\n-
263void Vmem_print(Vmem *thee);
\n-
264
\n-
265#endif /* _VMEM_H_ */
\n-
266
\n+
94
\n+
100typedef struct sVset Vset;
\n+
101
\n+
102/****************************************************************/
\n+
103/* Class Vset: Inlineable method (vset.c) */
\n+
104/****************************************************************/
\n+
105
\n+
106#if !defined(VINLINE_MALOC)
\n+
115 int Vset_num(Vset *thee);
\n+
116
\n+
126 char *Vset_access(Vset *thee, int i);
\n+
127
\n+
136 char *Vset_create(Vset *thee);
\n+
137
\n+
146 char *Vset_first(Vset *thee);
\n+
147
\n+
156 char *Vset_last(Vset *thee);
\n+
157
\n+
166 char *Vset_next(Vset *thee);
\n+
167
\n+
176 char *Vset_prev(Vset *thee);
\n+
177
\n+
186 char *Vset_peekFirst(Vset *thee);
\n+
187
\n+
196 char *Vset_peekLast(Vset *thee);
\n+
197
\n+
206 void Vset_destroy(Vset *thee);
\n+
207#else /* if defined(VINLINE_MALOC) */
\n+
216# define Vset_num(thee) ((thee)->numT)
\n+
217
\n+
227# define Vset_access(thee,i) ( \\
\n+
228 ((i >= 0) && (i < thee->numT)) \\
\n+
229 ? &((thee)->table[ (i)>>(thee)->blockPower ] \\
\n+
230 [ (thee)->sizeT*((i)&(thee)->blockModulo) ]) \\
\n+
231 : VNULL \\
\n+
232 )
\n+
233
\n+
242# define Vset_create(thee) ( \\
\n+
243 ( ((((thee)->numT)>>(thee)->blockPower) >= (thee)->numBlocks) \\
\n+
244 || ((((thee)->numT+1)%(thee)->prtT) == 0) ) \\
\n+
245 ? (Vset_createLast((thee))) \\
\n+
246 : (++((thee)->numT), (Vset_access((thee),(thee)->numT-1))) \\
\n+
247 )
\n+
248
\n+
257# define Vset_first(thee) ( \\
\n+
258 (thee)->curT = 0, \\
\n+
259 Vset_access((thee), (thee)->curT) \\
\n+
260 )
\n+
261
\n+
270# define Vset_last(thee) ( \\
\n+
271 (thee)->curT = (thee)->numT-1, \\
\n+
272 Vset_access((thee), (thee)->curT) \\
\n+
273 )
\n+
274
\n+
283# define Vset_next(thee) ( \\
\n+
284 (thee)->curT++, \\
\n+
285 ((thee)->curT < (thee)->numT) \\
\n+
286 ? Vset_access((thee), (thee)->curT) \\
\n+
287 : VNULL \\
\n+
288 )
\n+
289
\n+
298# define Vset_prev(thee) ( \\
\n+
299 (thee)->curT--, \\
\n+
300 ((thee)->curT >= 0) \\
\n+
301 ? Vset_access((thee), (thee)->curT) \\
\n+
302 : VNULL \\
\n+
303 )
\n+
304
\n+
313# define Vset_peekFirst(thee) ( \\
\n+
314 Vset_access((thee), 0) \\
\n+
315 )
\n+
316
\n+
325# define Vset_peekLast(thee) ( \\
\n+
326 Vset_access((thee), (thee)->numT-1) \\
\n+
327 )
\n+
328
\n+
337# define Vset_destroy(thee) ( \\
\n+
338 ( ((((thee)->numT-1)>>(thee)->blockPower) < (thee)->numBlocks-1) \\
\n+
339 || ((thee)->numT == 1) || ((((thee)->numT)%(thee)->prtT) == 0) ) \\
\n+
340 ? (Vset_destroyLast((thee))) : (void)(((thee)->numT)--) \\
\n+
341 )
\n+
342#endif /* if !defined(VINLINE_MALOC) */
\n+
343
\n+\n+
357 const char *tname, int tsize, int tmaxNum, int ioKey);
\n+
358
\n+
367void Vset_dtor(Vset **thee);
\n+
368
\n+\n+
378
\n+\n+
388
\n+
397void Vset_initData(Vset *thee);
\n+
398
\n+
407void Vset_reset(Vset *thee);
\n+
408
\n+
422void Vset_check(Vset *thee,
\n+
423 int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd);
\n+
424
\n+
433void Vset_memChk(Vset *thee);
\n+
434
\n+
435#endif /* _VSET_H_ */
\n+
436
\n
The base (or foundation) header for MALOC.
\n
#define VMAX_ARGLEN
Global constant.
Definition maloc_base.h:227
\n-
void Vmem_free(Vmem *thee, size_t num, size_t size, void **ram)
A safe logged version of free.
\n-
size_t Vmem_mallocAreas(Vmem *thee)
Return total number of individual active malloc areas.
\n-
size_t Vmem_mallocAreasTotal(void)
Return total of all active Vmem malloc areas by groups.
\n-
void Vmem_printTotal(void)
Print current memory statistics for all Vmem malloc/free areas.
\n-
size_t Vmem_freeBytes(Vmem *thee)
Return total of all frees performed by Vmem object.
\n-
size_t Vmem_highWater(Vmem *thee)
Return high-water malloc bytemark hit by Vmem object.
\n-
void * Vmem_malloc(Vmem *thee, size_t num, size_t size)
A safe logged version of malloc.
\n-
size_t Vmem_bytesTotal(void)
Return total of all active Vmem malloc areas (current footprint)
\n-
size_t Vmem_freeBytesTotal(void)
Return total of all Vmem free calls.
\n-
void * Vmem_realloc(Vmem *thee, size_t num, size_t size, void **ram, size_t newNum)
A safe logged version of realloc (usually a bad idea to use this)
\n-
Vmem * Vmem_ctor(char *name)
Construct the dynamic memory allocation logging object.
\n-
size_t Vmem_highWaterTotal(void)
Return the high-water byte mark (largest footprint)
\n-
size_t Vmem_bytes(Vmem *thee)
Return total of all ACTIVE malloc areas used by Vmem object.
\n-
void Vmem_print(Vmem *thee)
Print current memory stats associated with this Vmem object.
\n-
void Vmem_dtor(Vmem **thee)
Destruct the dynamic memory allocation logging object.
\n-
size_t Vmem_mallocBytes(Vmem *thee)
Return total of all mallocs performed by Vmem object.
\n-
size_t Vmem_mallocBytesTotal(void)
Return total of all Vmem malloc allocations.
\n+
Header file for an ISO C [V]irtual [N]umerical [M]achine.
\n+
Class Vmem: A safer, object-oriented, malloc/free object.
\n+
char * Vset_peekFirst(Vset *thee)
Return the first object in the set.
\n+
char * Vset_prev(Vset *thee)
Return the prev object in the set.
\n+
void Vset_dtor(Vset **thee)
Destroy the set object.
\n+
char * Vset_first(Vset *thee)
Return the first object in the set.
\n+
Vset * Vset_ctor(Vmem *vmem, const char *tname, int tsize, int tmaxNum, int ioKey)
Construct the set object.
\n+
void Vset_reset(Vset *thee)
Release all Ram controlled by this (thee) and re-initialize.
\n+
char * Vset_next(Vset *thee)
Return the next object in the set.
\n+
void Vset_initData(Vset *thee)
Initialize the Vset data (thee).
\n+
void Vset_destroyLast(Vset *thee)
Free up the object currently on the end of the list.
\n+
char * Vset_create(Vset *thee)
Create an object on the end of the list.
\n+
void Vset_memChk(Vset *thee)
Print the exact current malloc usage.
\n+
void Vset_check(Vset *thee, int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd)
Get and return the RAM Control Block (thee) information.
\n+
int Vset_num(Vset *thee)
Return the number of things currently in the list.
\n+
char * Vset_peekLast(Vset *thee)
Return the last object in the set.
\n+
char * Vset_last(Vset *thee)
Return the last object in the set.
\n+
void Vset_destroy(Vset *thee)
Delete an object from the end of the list.
\n+
char * Vset_createLast(Vset *thee)
Create an object on the end of the list.
\n+
char * Vset_access(Vset *thee, int i)
Access an object in an arbitrary place in the list.
\n
Contains public data members for Vmem class.
Definition vmem.h:57
\n-
char name[VMAX_ARGLEN]
Definition vmem.h:59
\n-
size_t freeBytes
Definition vmem.h:62
\n-
size_t mallocBytes
Definition vmem.h:61
\n-
size_t mallocAreas
Definition vmem.h:64
\n-
size_t highWater
Definition vmem.h:63
\n+
Contains public data members for Vset class.
Definition vset.h:57
\n+
int blockModulo
=blockSize-1; for determining which block fast
Definition vset.h:88
\n+
char nameT[VMAX_ARGLEN]
name of object we are managing
Definition vset.h:68
\n+
int iMadeVmem
did i make vmem or was it inherited
Definition vset.h:62
\n+
int blockSize
blocksize is 2^(blockPower)
Definition vset.h:84
\n+
char ** table
list of pointers to blocks of storage we manage
Definition vset.h:91
\n+
int numBlocks
total number of allocated blocks
Definition vset.h:73
\n+
int prtT
for i/o at appropriate block creation/deletion
Definition vset.h:77
\n+
Vmem * vmem
the memory manager
Definition vset.h:60
\n+
int curT
the current "T" object in our collection
Definition vset.h:65
\n+
int blockMax
num blocks = blockMax=(maxObjects/blockSize)
Definition vset.h:86
\n+
int sizeT
size of the object in bytes
Definition vset.h:70
\n+
int blockPower
power of 2 for blocksize (e.g., =10, or =16)
Definition vset.h:82
\n+
int maxObjects
number of objects to manage (user specified)
Definition vset.h:80
\n+
int numT
the global "T" counter \u2013 how many "T"s in list
Definition vset.h:75
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "encoding", "source2": "encoding", "unified_diff": "@@ -1 +1 @@\n-us-ascii\n+utf-8\n"}, {"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,167 +1,279 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-vmem.h\n+vset.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-40#ifndef _VMEM_H_\n-41#define _VMEM_H_\n+38#ifndef _VSET_H_\n+39#define _VSET_H_\n+40\n+41#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n 42\n-43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-44\n-45/*\n-46 *\n+43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n+44#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n+45\n+46/*\n+47 *\n ***************************************************************************\n-47 * Class Vmem: Parameters and datatypes\n-48 *\n+48 * Class Vset: Parameters and datatypes\n+49 *\n ***************************************************************************\n-49 */\n-50\n+50 */\n 51\n-_\b5_\b7struct _\bs_\bV_\bm_\be_\bm {\n+_\b5_\b7struct _\bs_\bV_\bs_\be_\bt {\n 58\n-_\b5_\b9 char _\bn_\ba_\bm_\be[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n-_\b6_\b1 size_t _\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs;\n-_\b6_\b2 size_t _\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs;\n-_\b6_\b3 size_t _\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br;\n-_\b6_\b4 size_t _\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs;\n-66};\n-67\n-_\b7_\b3typedef struct _\bs_\bV_\bm_\be_\bm _\bV_\bm_\be_\bm;\n-74\n-75/*\n-76 *\n-***************************************************************************\n-77 * Class Vmem: Inlineable methods (vmem.c)\n-78 *\n-***************************************************************************\n-79 */\n-80\n-81#if !defined(VINLINE_MALOC)\n-82#else /* if defined(VINLINE_MALOC) */\n-83#endif /* if !defined(VINLINE_MALOC) */\n-84\n-85/*\n-86 *\n-***************************************************************************\n-87 * Class Vmem: Non-Inlineable methods (vmem.c)\n-88 *\n-***************************************************************************\n-89 */\n-90\n-_\b9_\b8size_t _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl(void);\n-99\n-_\b1_\b0_\b7size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl(void);\n-108\n-_\b1_\b1_\b6size_t _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl(void);\n-117\n-_\b1_\b2_\b5size_t _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br_\bT_\bo_\bt_\ba_\bl(void);\n-126\n-_\b1_\b3_\b4size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs_\bT_\bo_\bt_\ba_\bl(void);\n-135\n-_\b1_\b4_\b3void _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt_\bT_\bo_\bt_\ba_\bl(void);\n-144\n-_\b1_\b5_\b3_\bV_\bm_\be_\bm* _\bV_\bm_\be_\bm_\b__\bc_\bt_\bo_\br(char *_\bn_\ba_\bm_\be);\n-154\n-_\b1_\b6_\b3void _\bV_\bm_\be_\bm_\b__\bd_\bt_\bo_\br(_\bV_\bm_\be_\bm **thee);\n-164\n-_\b1_\b7_\b5void *_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc(_\bV_\bm_\be_\bm *thee, size_t num, size_t size);\n-176\n-_\b1_\b8_\b8void _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be(_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram);\n-189\n-_\b2_\b0_\b2void *_\bV_\bm_\be_\bm_\b__\br_\be_\ba_\bl_\bl_\bo_\bc(_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram,\n-203 size_t newNum);\n-204\n-_\b2_\b1_\b3size_t _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs(_\bV_\bm_\be_\bm *thee);\n-214\n-_\b2_\b2_\b3size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs(_\bV_\bm_\be_\bm *thee);\n-224\n-_\b2_\b3_\b3size_t _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs(_\bV_\bm_\be_\bm *thee);\n-234\n-_\b2_\b4_\b3size_t _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br(_\bV_\bm_\be_\bm *thee);\n-244\n-_\b2_\b5_\b3size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs(_\bV_\bm_\be_\bm *thee);\n-254\n-_\b2_\b6_\b3void _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt(_\bV_\bm_\be_\bm *thee);\n-264\n-265#endif /* _VMEM_H_ */\n-266\n+_\b6_\b0 _\bV_\bm_\be_\bm *_\bv_\bm_\be_\bm;\n+_\b6_\b2 int _\bi_\bM_\ba_\bd_\be_\bV_\bm_\be_\bm;\n+63\n+_\b6_\b5 int _\bc_\bu_\br_\bT;\n+66\n+_\b6_\b8 char _\bn_\ba_\bm_\be_\bT[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n+_\b7_\b0 int _\bs_\bi_\bz_\be_\bT;\n+71\n+_\b7_\b3 int _\bn_\bu_\bm_\bB_\bl_\bo_\bc_\bk_\bs;\n+_\b7_\b5 int _\bn_\bu_\bm_\bT;\n+_\b7_\b7 int _\bp_\br_\bt_\bT;\n+78\n+_\b8_\b0 int _\bm_\ba_\bx_\bO_\bb_\bj_\be_\bc_\bt_\bs;\n+_\b8_\b2 int _\bb_\bl_\bo_\bc_\bk_\bP_\bo_\bw_\be_\br;\n+_\b8_\b4 int _\bb_\bl_\bo_\bc_\bk_\bS_\bi_\bz_\be;\n+_\b8_\b6 int _\bb_\bl_\bo_\bc_\bk_\bM_\ba_\bx;\n+_\b8_\b8 int _\bb_\bl_\bo_\bc_\bk_\bM_\bo_\bd_\bu_\bl_\bo;\n+89\n+_\b9_\b1 char **_\bt_\ba_\bb_\bl_\be;\n+92\n+93};\n+94\n+_\b1_\b0_\b0typedef struct _\bs_\bV_\bs_\be_\bt _\bV_\bs_\be_\bt;\n+101\n+102/****************************************************************/\n+103/* Class Vset: Inlineable method (vset.c) */\n+104/****************************************************************/\n+105\n+106#if !defined(VINLINE_MALOC)\n+_\b1_\b1_\b5 int _\bV_\bs_\be_\bt_\b__\bn_\bu_\bm(_\bV_\bs_\be_\bt *thee);\n+116\n+_\b1_\b2_\b6 char *_\bV_\bs_\be_\bt_\b__\ba_\bc_\bc_\be_\bs_\bs(_\bV_\bs_\be_\bt *thee, int i);\n+127\n+_\b1_\b3_\b6 char *_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be(_\bV_\bs_\be_\bt *thee);\n+137\n+_\b1_\b4_\b6 char *_\bV_\bs_\be_\bt_\b__\bf_\bi_\br_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n+147\n+_\b1_\b5_\b6 char *_\bV_\bs_\be_\bt_\b__\bl_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n+157\n+_\b1_\b6_\b6 char *_\bV_\bs_\be_\bt_\b__\bn_\be_\bx_\bt(_\bV_\bs_\be_\bt *thee);\n+167\n+_\b1_\b7_\b6 char *_\bV_\bs_\be_\bt_\b__\bp_\br_\be_\bv(_\bV_\bs_\be_\bt *thee);\n+177\n+_\b1_\b8_\b6 char *_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bF_\bi_\br_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n+187\n+_\b1_\b9_\b6 char *_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bL_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n+197\n+_\b2_\b0_\b6 void _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by(_\bV_\bs_\be_\bt *thee);\n+207#else /* if defined(VINLINE_MALOC) */\n+216# define Vset_num(thee) ((thee)->numT)\n+217\n+227# define Vset_access(thee,i) ( \\\n+228 ((i >= 0) && (i < thee->numT)) \\\n+229 ? &((thee)->table[ (i)>>(thee)->blockPower ] \\\n+230 [ (thee)->sizeT*((i)&(thee)->blockModulo) ]) \\\n+231 : VNULL \\\n+232 )\n+233\n+242# define Vset_create(thee) ( \\\n+243 ( ((((thee)->numT)>>(thee)->blockPower) >= (thee)->numBlocks) \\\n+244 || ((((thee)->numT+1)%(thee)->prtT) == 0) ) \\\n+245 ? (Vset_createLast((thee))) \\\n+246 : (++((thee)->numT), (Vset_access((thee),(thee)->numT-1))) \\\n+247 )\n+248\n+257# define Vset_first(thee) ( \\\n+258 (thee)->curT = 0, \\\n+259 Vset_access((thee), (thee)->curT) \\\n+260 )\n+261\n+270# define Vset_last(thee) ( \\\n+271 (thee)->curT = (thee)->numT-1, \\\n+272 Vset_access((thee), (thee)->curT) \\\n+273 )\n+274\n+283# define Vset_next(thee) ( \\\n+284 (thee)->curT++, \\\n+285 ((thee)->curT < (thee)->numT) \\\n+286 ? Vset_access((thee), (thee)->curT) \\\n+287 : VNULL \\\n+288 )\n+289\n+298# define Vset_prev(thee) ( \\\n+299 (thee)->curT--, \\\n+300 ((thee)->curT >= 0) \\\n+301 ? Vset_access((thee), (thee)->curT) \\\n+302 : VNULL \\\n+303 )\n+304\n+313# define Vset_peekFirst(thee) ( \\\n+314 Vset_access((thee), 0) \\\n+315 )\n+316\n+325# define Vset_peekLast(thee) ( \\\n+326 Vset_access((thee), (thee)->numT-1) \\\n+327 )\n+328\n+337# define Vset_destroy(thee) ( \\\n+338 ( ((((thee)->numT-1)>>(thee)->blockPower) < (thee)->numBlocks-1) \\\n+339 || ((thee)->numT == 1) || ((((thee)->numT)%(thee)->prtT) == 0) ) \\\n+340 ? (Vset_destroyLast((thee))) : (void)(((thee)->numT)--) \\\n+341 )\n+342#endif /* if !defined(VINLINE_MALOC) */\n+343\n+_\b3_\b5_\b6_\bV_\bs_\be_\bt* _\bV_\bs_\be_\bt_\b__\bc_\bt_\bo_\br(_\bV_\bm_\be_\bm *_\bv_\bm_\be_\bm,\n+357 const char *tname, int tsize, int tmaxNum, int ioKey);\n+358\n+_\b3_\b6_\b7void _\bV_\bs_\be_\bt_\b__\bd_\bt_\bo_\br(_\bV_\bs_\be_\bt **thee);\n+368\n+_\b3_\b7_\b7char *_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be_\bL_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n+378\n+_\b3_\b8_\b7void _\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by_\bL_\ba_\bs_\bt(_\bV_\bs_\be_\bt *thee);\n+388\n+_\b3_\b9_\b7void _\bV_\bs_\be_\bt_\b__\bi_\bn_\bi_\bt_\bD_\ba_\bt_\ba(_\bV_\bs_\be_\bt *thee);\n+398\n+_\b4_\b0_\b7void _\bV_\bs_\be_\bt_\b__\br_\be_\bs_\be_\bt(_\bV_\bs_\be_\bt *thee);\n+408\n+_\b4_\b2_\b2void _\bV_\bs_\be_\bt_\b__\bc_\bh_\be_\bc_\bk(_\bV_\bs_\be_\bt *thee,\n+423 int *tnum, int *tsize, int *tVecUse, int *tVecMal, int *tVecOhd);\n+424\n+_\b4_\b3_\b3void _\bV_\bs_\be_\bt_\b__\bm_\be_\bm_\bC_\bh_\bk(_\bV_\bs_\be_\bt *thee);\n+434\n+435#endif /* _VSET_H_ */\n+436\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n _\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN\n #define VMAX_ARGLEN\n Global constant.\n D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:227\n-_\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be\n-void Vmem_free(Vmem *thee, size_t num, size_t size, void **ram)\n-A safe logged version of free.\n-_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs\n-size_t Vmem_mallocAreas(Vmem *thee)\n-Return total number of individual active malloc areas.\n-_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs_\bT_\bo_\bt_\ba_\bl\n-size_t Vmem_mallocAreasTotal(void)\n-Return total of all active Vmem malloc areas by groups.\n-_\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt_\bT_\bo_\bt_\ba_\bl\n-void Vmem_printTotal(void)\n-Print current memory statistics for all Vmem malloc/free areas.\n-_\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs\n-size_t Vmem_freeBytes(Vmem *thee)\n-Return total of all frees performed by Vmem object.\n-_\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br\n-size_t Vmem_highWater(Vmem *thee)\n-Return high-water malloc bytemark hit by Vmem object.\n-_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc\n-void * Vmem_malloc(Vmem *thee, size_t num, size_t size)\n-A safe logged version of malloc.\n-_\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl\n-size_t Vmem_bytesTotal(void)\n-Return total of all active Vmem malloc areas (current footprint)\n-_\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl\n-size_t Vmem_freeBytesTotal(void)\n-Return total of all Vmem free calls.\n-_\bV_\bm_\be_\bm_\b__\br_\be_\ba_\bl_\bl_\bo_\bc\n-void * Vmem_realloc(Vmem *thee, size_t num, size_t size, void **ram, size_t\n-newNum)\n-A safe logged version of realloc (usually a bad idea to use this)\n-_\bV_\bm_\be_\bm_\b__\bc_\bt_\bo_\br\n-Vmem * Vmem_ctor(char *name)\n-Construct the dynamic memory allocation logging object.\n-_\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br_\bT_\bo_\bt_\ba_\bl\n-size_t Vmem_highWaterTotal(void)\n-Return the high-water byte mark (largest footprint)\n-_\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs\n-size_t Vmem_bytes(Vmem *thee)\n-Return total of all ACTIVE malloc areas used by Vmem object.\n-_\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt\n-void Vmem_print(Vmem *thee)\n-Print current memory stats associated with this Vmem object.\n-_\bV_\bm_\be_\bm_\b__\bd_\bt_\bo_\br\n-void Vmem_dtor(Vmem **thee)\n-Destruct the dynamic memory allocation logging object.\n-_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs\n-size_t Vmem_mallocBytes(Vmem *thee)\n-Return total of all mallocs performed by Vmem object.\n-_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl\n-size_t Vmem_mallocBytesTotal(void)\n-Return total of all Vmem malloc allocations.\n+_\bv_\bn_\bm_\b._\bh\n+Header file for an ISO C [V]irtual [N]umerical [M]achine.\n+_\bv_\bm_\be_\bm_\b._\bh\n+Class Vmem: A safer, object-oriented, malloc/free object.\n+_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bF_\bi_\br_\bs_\bt\n+char * Vset_peekFirst(Vset *thee)\n+Return the first object in the set.\n+_\bV_\bs_\be_\bt_\b__\bp_\br_\be_\bv\n+char * Vset_prev(Vset *thee)\n+Return the prev object in the set.\n+_\bV_\bs_\be_\bt_\b__\bd_\bt_\bo_\br\n+void Vset_dtor(Vset **thee)\n+Destroy the set object.\n+_\bV_\bs_\be_\bt_\b__\bf_\bi_\br_\bs_\bt\n+char * Vset_first(Vset *thee)\n+Return the first object in the set.\n+_\bV_\bs_\be_\bt_\b__\bc_\bt_\bo_\br\n+Vset * Vset_ctor(Vmem *vmem, const char *tname, int tsize, int tmaxNum, int\n+ioKey)\n+Construct the set object.\n+_\bV_\bs_\be_\bt_\b__\br_\be_\bs_\be_\bt\n+void Vset_reset(Vset *thee)\n+Release all Ram controlled by this (thee) and re-initialize.\n+_\bV_\bs_\be_\bt_\b__\bn_\be_\bx_\bt\n+char * Vset_next(Vset *thee)\n+Return the next object in the set.\n+_\bV_\bs_\be_\bt_\b__\bi_\bn_\bi_\bt_\bD_\ba_\bt_\ba\n+void Vset_initData(Vset *thee)\n+Initialize the Vset data (thee).\n+_\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by_\bL_\ba_\bs_\bt\n+void Vset_destroyLast(Vset *thee)\n+Free up the object currently on the end of the list.\n+_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be\n+char * Vset_create(Vset *thee)\n+Create an object on the end of the list.\n+_\bV_\bs_\be_\bt_\b__\bm_\be_\bm_\bC_\bh_\bk\n+void Vset_memChk(Vset *thee)\n+Print the exact current malloc usage.\n+_\bV_\bs_\be_\bt_\b__\bc_\bh_\be_\bc_\bk\n+void Vset_check(Vset *thee, int *tnum, int *tsize, int *tVecUse, int *tVecMal,\n+int *tVecOhd)\n+Get and return the RAM Control Block (thee) information.\n+_\bV_\bs_\be_\bt_\b__\bn_\bu_\bm\n+int Vset_num(Vset *thee)\n+Return the number of things currently in the list.\n+_\bV_\bs_\be_\bt_\b__\bp_\be_\be_\bk_\bL_\ba_\bs_\bt\n+char * Vset_peekLast(Vset *thee)\n+Return the last object in the set.\n+_\bV_\bs_\be_\bt_\b__\bl_\ba_\bs_\bt\n+char * Vset_last(Vset *thee)\n+Return the last object in the set.\n+_\bV_\bs_\be_\bt_\b__\bd_\be_\bs_\bt_\br_\bo_\by\n+void Vset_destroy(Vset *thee)\n+Delete an object from the end of the list.\n+_\bV_\bs_\be_\bt_\b__\bc_\br_\be_\ba_\bt_\be_\bL_\ba_\bs_\bt\n+char * Vset_createLast(Vset *thee)\n+Create an object on the end of the list.\n+_\bV_\bs_\be_\bt_\b__\ba_\bc_\bc_\be_\bs_\bs\n+char * Vset_access(Vset *thee, int i)\n+Access an object in an arbitrary place in the list.\n _\bs_\bV_\bm_\be_\bm\n Contains public data members for Vmem class.\n D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:57\n-_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bn_\ba_\bm_\be\n-char name[VMAX_ARGLEN]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:59\n-_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs\n-size_t freeBytes\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:62\n-_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs\n-size_t mallocBytes\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:61\n-_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs\n-size_t mallocAreas\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:64\n-_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br\n-size_t highWater\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:63\n+_\bs_\bV_\bs_\be_\bt\n+Contains public data members for Vset class.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:57\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bM_\bo_\bd_\bu_\bl_\bo\n+int blockModulo\n+=blockSize-1; for determining which block fast\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:88\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bn_\ba_\bm_\be_\bT\n+char nameT[VMAX_ARGLEN]\n+name of object we are managing\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:68\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bi_\bM_\ba_\bd_\be_\bV_\bm_\be_\bm\n+int iMadeVmem\n+did i make vmem or was it inherited\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:62\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bS_\bi_\bz_\be\n+int blockSize\n+blocksize is 2^(blockPower)\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:84\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bt_\ba_\bb_\bl_\be\n+char ** table\n+list of pointers to blocks of storage we manage\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:91\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bn_\bu_\bm_\bB_\bl_\bo_\bc_\bk_\bs\n+int numBlocks\n+total number of allocated blocks\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:73\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bp_\br_\bt_\bT\n+int prtT\n+for i/o at appropriate block creation/deletion\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:77\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bv_\bm_\be_\bm\n+Vmem * vmem\n+the memory manager\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:60\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bc_\bu_\br_\bT\n+int curT\n+the current \"T\" object in our collection\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:65\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bM_\ba_\bx\n+int blockMax\n+num blocks = blockMax=(maxObjects/blockSize)\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:86\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bs_\bi_\bz_\be_\bT\n+int sizeT\n+size of the object in bytes\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:70\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bb_\bl_\bo_\bc_\bk_\bP_\bo_\bw_\be_\br\n+int blockPower\n+power of 2 for blocksize (e.g., =10, or =16)\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:82\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bm_\ba_\bx_\bO_\bb_\bj_\be_\bc_\bt_\bs\n+int maxObjects\n+number of objects to manage (user specified)\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:80\n+_\bs_\bV_\bs_\be_\bt_\b:_\b:_\bn_\bu_\bm_\bT\n+int numT\n+the global \"T\" counter \u00e2\u0080\u0093 how many \"T\"s in list\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vset.h:75\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00030.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00030.dot.gz", "unified_diff": null, "details": [{"source1": "a00030.dot", "source2": "a00030.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vmem.h\"\n+digraph \"vset.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vmem.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node1 [id=\"Node000001\",label=\"vset.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -33,8 +33,14 @@\n Node14 [id=\"Node000014\",label=\"stdlib.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n+ Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node19 [id=\"edge19_Node000001_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00031.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00031.dot", "unified_diff": "@@ -1,31 +1,28 @@\n-digraph \"vmem.h\"\n+digraph \"vset.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vmem.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node1 [id=\"Node000001\",label=\"vset.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node2 [id=\"Node000002\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n- Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n- Node3 -> Node5 [id=\"edge4_Node000003_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node5 [id=\"Node000005\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node5 -> Node4 [id=\"edge5_Node000005_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node6 [id=\"edge6_Node000003_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node6 [id=\"Node000006\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node6 -> Node7 [id=\"edge7_Node000006_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 [id=\"Node000007\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node7 -> Node5 [id=\"edge8_Node000007_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node7 [id=\"edge9_Node000003_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node8 [id=\"edge10_Node000003_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 [id=\"Node000008\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node8 -> Node7 [id=\"edge11_Node000008_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 -> Node9 [id=\"edge12_Node000003_Node000009\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node9 [id=\"Node000009\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n- Node9 -> Node4 [id=\"edge13_Node000009_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node9 -> Node5 [id=\"edge14_Node000009_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node1 -> Node3 [id=\"edge15_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node4 -> Node3 [id=\"edge4_Node000004_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node5 [id=\"edge5_Node000002_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node5 [id=\"Node000005\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node5 -> Node6 [id=\"edge6_Node000005_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node6 [id=\"Node000006\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node6 -> Node4 [id=\"edge7_Node000006_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node6 [id=\"edge8_Node000002_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node7 [id=\"edge9_Node000002_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node7 [id=\"Node000007\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node7 -> Node6 [id=\"edge10_Node000007_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 -> Node8 [id=\"edge11_Node000002_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 [id=\"Node000008\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n+ Node8 -> Node3 [id=\"edge12_Node000008_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 -> Node4 [id=\"edge13_Node000008_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00032.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00032.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vio.h File Reference\n+MALOC: vmem.h File Reference\n \n \n \n \n \n \n
\n@@ -41,167 +41,108 @@\n \n
\n
\n
\n \n-
vio.h File Reference
\n+
vmem.h File Reference
\n
\n
\n \n-

Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer. \n+

Class Vmem: A safer, object-oriented, malloc/free object. \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vnm.h>
\n
\n-Include dependency graph for vio.h:
\n+Include dependency graph for vmem.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n \n \n-\n-\n+\n+\n \n

\n Classes

struct  sVio
 Contains public data members for Vio class. More...
struct  sVmem
 Contains public data members for Vmem class. More...
 
\n-\n-\n-\n-\n-\n-\n-\n-

\n-Macros

#define VPORTNUMBER   14916
 our portbase; 5000 < VPORTNUMBER < 49152
 
#define VIO_MAXBUF   10
 number of internal buffers (BUFF datatype)
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-

\n Typedefs

typedef enum VIOtype VIOtype
 Parameter for I/O type (sdio,buff,file,unix,inet)
 
typedef enum VIOfrmt VIOfrmt
 Parameter for compression type (XDR,ASC)
 
typedef enum VIOrwkey VIOrwkey
 Parameter for rw type (R,RW)
 
typedef struct sVio Vio
 Declaration of the Vio class as the Vio structure.
 
\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n

\n-Enumerations

enum  VIOtype {
\n-  VIO_NO_TYPE\n-, VIO_SDIO\n-, VIO_BUFF\n-, VIO_FILE\n-,
\n-  VIO_UNIX\n-, VIO_INET\n-
\n- }
 Parameter for I/O type (sdio,buff,file,unix,inet) More...
 
enum  VIOfrmt { VIO_NO_FRMT\n-, VIO_XDR\n-, VIO_ASC\n- }
 Parameter for compression type (XDR,ASC) More...
 
enum  VIOrwkey { VIO_NO_RW\n-, VIO_R\n-, VIO_W\n- }
 Parameter for rw type (R,RW) More...
 
typedef struct sVmem Vmem
 Declaration of the Vmem class as the Vmem structure.
 
\n \n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n+\n

\n Functions

void Vio_start (void)
 Start Vio communication layer (init internal variables/buffers)
 
void Vio_stop (void)
 Shutdown Vio communication layer.
 
VioVio_ctor (const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
 Construct the Vio object.
 
int Vio_ctor2 (Vio *thee, const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
 Work routine that Vio_ctor calls to do most of the construction.
 
void Vio_dtor (Vio **thee)
 Destruct the Vio object.
 
void Vio_dtor2 (Vio *thee)
 Work routine that Vio_dtor calls to do most of the destruction.
 
void Vio_setWhiteChars (Vio *thee, char *whiteChars)
 Set the white character set for I/O stream.
 
void Vio_setCommChars (Vio *thee, char *commChars)
 Set the comment character set for I/O stream.
 
int Vio_accept (Vio *thee, int nonblock)
 Accept any waiting connect attempt to our socket on our machine.
 
void Vio_acceptFree (Vio *thee)
 Free the socket child that was used for the last accept.
 
int Vio_connect (Vio *thee, int nonblock)
 Connect to some socket on a remote machine (or on our machine)
 
void Vio_connectFree (Vio *thee)
 Purge any output buffers (for <UNIX/INET>, else a no-op)
 
int Vio_scanf (Vio *thee, char *parms,...)
 Mimic \"scanf\" from an arbitrary Vio device.
 
int Vio_printf (Vio *thee, char *parms,...)
 Mimic \"printf\" from an arbitrary Vio device.
 
int Vio_read (Vio *thee, char *buf, int bufsize)
 Read (up to) bufsize characters into buf from input device.
 
int Vio_write (Vio *thee, char *buf, int bufsize)
 Write bufsize characters from buf to output device.
 
void Vio_bufTake (Vio *thee, char *buf, int bufsize)
 Set the pointer to the internal buffer.
 
char * Vio_bufGive (Vio *thee)
 Return the pointer to the internal buffer.
 
int Vio_bufSize (Vio *thee)
 Return the length to the internal buffer.
 
VioVio_socketOpen (char *key, const char *iodev, const char *iofmt, const char *iohost, const char *iofile)
 Socket open for read or write.
 
void Vio_socketClose (Vio **sock)
 Socket close from read or write.
 
size_t Vmem_bytesTotal (void)
 Return total of all active Vmem malloc areas (current footprint)
 
size_t Vmem_mallocBytesTotal (void)
 Return total of all Vmem malloc allocations.
 
size_t Vmem_freeBytesTotal (void)
 Return total of all Vmem free calls.
 
size_t Vmem_highWaterTotal (void)
 Return the high-water byte mark (largest footprint)
 
size_t Vmem_mallocAreasTotal (void)
 Return total of all active Vmem malloc areas by groups.
 
void Vmem_printTotal (void)
 Print current memory statistics for all Vmem malloc/free areas.
 
VmemVmem_ctor (char *name)
 Construct the dynamic memory allocation logging object.
 
void Vmem_dtor (Vmem **thee)
 Destruct the dynamic memory allocation logging object.
 
void * Vmem_malloc (Vmem *thee, size_t num, size_t size)
 A safe logged version of malloc.
 
void Vmem_free (Vmem *thee, size_t num, size_t size, void **ram)
 A safe logged version of free.
 
void * Vmem_realloc (Vmem *thee, size_t num, size_t size, void **ram, size_t newNum)
 A safe logged version of realloc (usually a bad idea to use this)
 
size_t Vmem_bytes (Vmem *thee)
 Return total of all ACTIVE malloc areas used by Vmem object.
 
size_t Vmem_mallocBytes (Vmem *thee)
 Return total of all mallocs performed by Vmem object.
 
size_t Vmem_freeBytes (Vmem *thee)
 Return total of all frees performed by Vmem object.
 
size_t Vmem_highWater (Vmem *thee)
 Return high-water malloc bytemark hit by Vmem object.
 
size_t Vmem_mallocAreas (Vmem *thee)
 Return total number of individual active malloc areas.
 
void Vmem_print (Vmem *thee)
 Print current memory stats associated with this Vmem object.
 
\n

Detailed Description

\n-

Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.

\n+

Class Vmem: A safer, object-oriented, malloc/free object.

\n+
Author
Michael Holst
\n+
Note
None
\n
Version
\n-
Id
vio.h,v 1.28 2010/08/12 05:40:35 fetk Exp
\n-
Author
Michael Holst
\n+
Id
vmem.h,v 1.21 2010/08/12 05:40:36 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -213,47 +154,14 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n * 
\n-

Macro Definition Documentation

\n-\n-

◆ VIO_MAXBUF

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define VIO_MAXBUF   10
\n-
\n-\n-

number of internal buffers (BUFF datatype)

\n-\n-
\n-
\n-\n-

◆ VPORTNUMBER

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define VPORTNUMBER   14916
\n-
\n-\n-

our portbase; 5000 < VPORTNUMBER < 49152

\n-\n-
\n-
\n-
\n+\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,131 +1,89 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bM_\ba_\bc_\br_\bo_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bE_\bn_\bu_\bm_\be_\br_\ba_\bt_\bi_\bo_\bn_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vio.h File Reference\n-_\bV_\bi_\bo_\b _\bc_\bl_\ba_\bs_\bs\n-Class Vio: virtual I/O layer. _\bM_\bo_\br_\be_\b._\b._\b.\n+_\bC_\bl_\ba_\bs_\bs_\be_\bs | _\bT_\by_\bp_\be_\bd_\be_\bf_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n+vmem.h File Reference\n+_\bV_\bm_\be_\bm_\b _\bc_\bl_\ba_\bs_\bs\n+Class Vmem: A safer, object-oriented, malloc/free object. _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n-Include dependency graph for vio.h:\n+Include dependency graph for vmem.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n C\bCl\bla\bas\bss\bse\bes\bs\n-struct \u00a0 _\bs_\bV_\bi_\bo\n-\u00a0 Contains public data members for Vio class. _\bM_\bo_\br_\be_\b._\b._\b.\n-\u00a0\n-M\bMa\bac\bcr\bro\bos\bs\n-#define\u00a0 _\bV_\bP_\bO_\bR_\bT_\bN_\bU_\bM_\bB_\bE_\bR\u00a0\u00a0\u00a014916\n-\u00a0 our portbase; 5000 < VPORTNUMBER < 49152\n-\u00a0\n-#define\u00a0 _\bV_\bI_\bO_\b__\bM_\bA_\bX_\bB_\bU_\bF\u00a0\u00a0\u00a010\n-\u00a0 number of internal buffers (BUFF datatype)\n+struct \u00a0 _\bs_\bV_\bm_\be_\bm\n+\u00a0 Contains public data members for Vmem class. _\bM_\bo_\br_\be_\b._\b._\b.\n \u00a0\n T\bTy\byp\bpe\bed\bde\bef\bfs\bs\n- typedef enum _\bV_\bI_\bO_\bt_\by_\bp_\be\u00a0 _\bV_\bI_\bO_\bt_\by_\bp_\be\n-\u00a0 Parameter for I/O type (sdio,buff,file,unix,inet)\n-\u00a0\n- typedef enum _\bV_\bI_\bO_\bf_\br_\bm_\bt\u00a0 _\bV_\bI_\bO_\bf_\br_\bm_\bt\n-\u00a0 Parameter for compression type (XDR,ASC)\n-\u00a0\n-typedef enum _\bV_\bI_\bO_\br_\bw_\bk_\be_\by\u00a0 _\bV_\bI_\bO_\br_\bw_\bk_\be_\by\n-\u00a0 Parameter for rw type (R,RW)\n-\u00a0\n- typedef struct _\bs_\bV_\bi_\bo\u00a0 _\bV_\bi_\bo\n-\u00a0 Declaration of the Vio class as the Vio structure.\n-\u00a0\n-E\bEn\bnu\bum\bme\ber\bra\bat\bti\bio\bon\bns\bs\n-enum \u00a0 _\bV_\bI_\bO_\bt_\by_\bp_\be {\n- \u00a0\u00a0_\bV_\bI_\bO_\b__\bN_\bO_\b__\bT_\bY_\bP_\bE , _\bV_\bI_\bO_\b__\bS_\bD_\bI_\bO , _\bV_\bI_\bO_\b__\bB_\bU_\bF_\bF , _\bV_\bI_\bO_\b__\bF_\bI_\bL_\bE ,\n- \u00a0\u00a0_\bV_\bI_\bO_\b__\bU_\bN_\bI_\bX , _\bV_\bI_\bO_\b__\bI_\bN_\bE_\bT\n- }\n-\u00a0 Parameter for I/O type (sdio,buff,file,unix,inet) _\bM_\bo_\br_\be_\b._\b._\b.\n-\u00a0\n-enum \u00a0 _\bV_\bI_\bO_\bf_\br_\bm_\bt { _\bV_\bI_\bO_\b__\bN_\bO_\b__\bF_\bR_\bM_\bT , _\bV_\bI_\bO_\b__\bX_\bD_\bR , _\bV_\bI_\bO_\b__\bA_\bS_\bC }\n-\u00a0 Parameter for compression type (XDR,ASC) _\bM_\bo_\br_\be_\b._\b._\b.\n-\u00a0\n-enum \u00a0 _\bV_\bI_\bO_\br_\bw_\bk_\be_\by { _\bV_\bI_\bO_\b__\bN_\bO_\b__\bR_\bW , _\bV_\bI_\bO_\b__\bR , _\bV_\bI_\bO_\b__\bW }\n-\u00a0 Parameter for rw type (R,RW) _\bM_\bo_\br_\be_\b._\b._\b.\n+typedef struct _\bs_\bV_\bm_\be_\bm\u00a0 _\bV_\bm_\be_\bm\n+\u00a0 Declaration of the Vmem class as the Vmem structure.\n \u00a0\n F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n- void\u00a0 _\bV_\bi_\bo_\b__\bs_\bt_\ba_\br_\bt (void)\n-\u00a0 Start Vio communication layer (init internal variables/buffers)\n-\u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bs_\bt_\bo_\bp (void)\n-\u00a0 Shutdown Vio communication layer.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl (void)\n+\u00a0 Return total of all active Vmem malloc areas (current footprint)\n \u00a0\n- _\bV_\bi_\bo *\u00a0 _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br (const char *socktype, const char *datafrmt, const char\n- *hostname, const char *filename, const char *rwkey)\n-\u00a0 Construct the Vio object.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl (void)\n+\u00a0 Return total of all Vmem malloc allocations.\n \u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br_\b2 (_\bV_\bi_\bo *thee, const char *socktype, const char *datafrmt, const\n- char *hostname, const char *filename, const char *rwkey)\n-\u00a0 Work routine that Vio_ctor calls to do most of the construction.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl (void)\n+\u00a0 Return total of all Vmem free calls.\n \u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br (_\bV_\bi_\bo **thee)\n-\u00a0 Destruct the Vio object.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br_\bT_\bo_\bt_\ba_\bl (void)\n+\u00a0 Return the high-water byte mark (largest footprint)\n \u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br_\b2 (_\bV_\bi_\bo *thee)\n-\u00a0 Work routine that Vio_dtor calls to do most of the destruction.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs_\bT_\bo_\bt_\ba_\bl (void)\n+\u00a0 Return total of all active Vmem malloc areas by groups.\n \u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bs_\be_\bt_\bW_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs (_\bV_\bi_\bo *thee, char *whiteChars)\n-\u00a0 Set the white character set for I/O stream.\n+ void\u00a0 _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt_\bT_\bo_\bt_\ba_\bl (void)\n+\u00a0 Print current memory statistics for all Vmem malloc/free areas.\n \u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bs_\be_\bt_\bC_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs (_\bV_\bi_\bo *thee, char *commChars)\n-\u00a0 Set the comment character set for I/O stream.\n+_\bV_\bm_\be_\bm *\u00a0 _\bV_\bm_\be_\bm_\b__\bc_\bt_\bo_\br (char *name)\n+\u00a0 Construct the dynamic memory allocation logging object.\n \u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt (_\bV_\bi_\bo *thee, int nonblock)\n-\u00a0 Accept any waiting connect attempt to our socket on our machine.\n+ void\u00a0 _\bV_\bm_\be_\bm_\b__\bd_\bt_\bo_\br (_\bV_\bm_\be_\bm **thee)\n+\u00a0 Destruct the dynamic memory allocation logging object.\n \u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt_\bF_\br_\be_\be (_\bV_\bi_\bo *thee)\n-\u00a0 Free the socket child that was used for the last accept.\n+void *\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc (_\bV_\bm_\be_\bm *thee, size_t num, size_t size)\n+\u00a0 A safe logged version of malloc.\n \u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt (_\bV_\bi_\bo *thee, int nonblock)\n-\u00a0 Connect to some socket on a remote machine (or on our machine)\n+ void\u00a0 _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be (_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram)\n+\u00a0 A safe logged version of free.\n \u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt_\bF_\br_\be_\be (_\bV_\bi_\bo *thee)\n-\u00a0 Purge any output buffers (for , else a no-op)\n+void *\u00a0 _\bV_\bm_\be_\bm_\b__\br_\be_\ba_\bl_\bl_\bo_\bc (_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram, size_t\n+ newNum)\n+\u00a0 A safe logged version of realloc (usually a bad idea to use this)\n \u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\bs_\bc_\ba_\bn_\bf (_\bV_\bi_\bo *thee, char *parms,...)\n-\u00a0 Mimic \"scanf\" from an arbitrary Vio device.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs (_\bV_\bm_\be_\bm *thee)\n+\u00a0 Return total of all ACTIVE malloc areas used by Vmem object.\n \u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\bp_\br_\bi_\bn_\bt_\bf (_\bV_\bi_\bo *thee, char *parms,...)\n-\u00a0 Mimic \"printf\" from an arbitrary Vio device.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs (_\bV_\bm_\be_\bm *thee)\n+\u00a0 Return total of all mallocs performed by Vmem object.\n \u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\br_\be_\ba_\bd (_\bV_\bi_\bo *thee, char *buf, int bufsize)\n-\u00a0 Read (up to) bufsize characters into buf from input device.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs (_\bV_\bm_\be_\bm *thee)\n+\u00a0 Return total of all frees performed by Vmem object.\n \u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\bw_\br_\bi_\bt_\be (_\bV_\bi_\bo *thee, char *buf, int bufsize)\n-\u00a0 Write bufsize characters from buf to output device.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br (_\bV_\bm_\be_\bm *thee)\n+\u00a0 Return high-water malloc bytemark hit by Vmem object.\n \u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bT_\ba_\bk_\be (_\bV_\bi_\bo *thee, char *buf, int bufsize)\n-\u00a0 Set the pointer to the internal buffer.\n+size_t\u00a0 _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs (_\bV_\bm_\be_\bm *thee)\n+\u00a0 Return total number of individual active malloc areas.\n \u00a0\n-char *\u00a0 _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bG_\bi_\bv_\be (_\bV_\bi_\bo *thee)\n-\u00a0 Return the pointer to the internal buffer.\n-\u00a0\n- int\u00a0 _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bS_\bi_\bz_\be (_\bV_\bi_\bo *thee)\n-\u00a0 Return the length to the internal buffer.\n-\u00a0\n- _\bV_\bi_\bo *\u00a0 _\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bO_\bp_\be_\bn (char *key, const char *iodev, const char *iofmt, const\n- char *iohost, const char *iofile)\n-\u00a0 Socket open for read or write.\n-\u00a0\n- void\u00a0 _\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bC_\bl_\bo_\bs_\be (_\bV_\bi_\bo **sock)\n-\u00a0 Socket close from read or write.\n+ void\u00a0 _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt (_\bV_\bm_\be_\bm *thee)\n+\u00a0 Print current memory stats associated with this Vmem object.\n \u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Class Vio: virtual I/O layer.\n- Version\n- Id\n- _\bv_\bi_\bo_\b._\bh,v 1.28 2010/08/12 05:40:35 fetk Exp\n+Class Vmem: A safer, object-oriented, malloc/free object.\n Author\n Michael Holst\n+ Note\n+ None\n+ Version\n+ Id\n+ _\bv_\bm_\be_\bm_\b._\bh,v 1.21 2010/08/12 05:40:36 fetk Exp\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n@@ -138,16 +96,9 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\n *\n-*\b**\b**\b**\b**\b* M\bMa\bac\bcr\bro\bo D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVI\bIO\bO_\b_M\bMA\bAX\bXB\bBU\bUF\bF *\b**\b**\b**\b**\b*\n-#define VIO_MAXBUF\u00a0\u00a0\u00a010\n-number of internal buffers (BUFF datatype)\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVP\bPO\bOR\bRT\bTN\bNU\bUM\bMB\bBE\bER\bR *\b**\b**\b**\b**\b*\n-#define VPORTNUMBER\u00a0\u00a0\u00a014916\n-our portbase; 5000 < VPORTNUMBER < 49152\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00032_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00032_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vio.h Source File\n+MALOC: vmem.h Source File\n \n \n \n \n \n \n
\n@@ -44,219 +44,121 @@\n \n
\n \n
\n
\n
\n-
vio.h
\n+
vmem.h
\n
\n
\n Go to the documentation of this file.
1
\n-
39#ifndef _VIO_H_
\n-
40#define _VIO_H_
\n-
41
\n-
42#include <maloc/maloc_base.h>
\n-
43
\n-
44#include <maloc/vnm.h>
\n-
45
\n-
46/*
\n-
47 * ***************************************************************************
\n-
48 * Class Vio: Parameters and datatypes
\n-
49 * ***************************************************************************
\n-
50 */
\n+
40#ifndef _VMEM_H_
\n+
41#define _VMEM_H_
\n+
42
\n+
43#include <maloc/maloc_base.h>
\n+
44
\n+
45/*
\n+
46 * ***************************************************************************
\n+
47 * Class Vmem: Parameters and datatypes
\n+
48 * ***************************************************************************
\n+
49 */
\n+
50
\n
51
\n-
53#define VPORTNUMBER 14916
\n-
55#define VIO_MAXBUF 10
\n-
56
\n-
\n-
62typedef enum VIOtype {
\n-\n-\n-\n-\n-\n-\n-\n-
\n-
70
\n-
\n-
76typedef enum VIOfrmt {
\n-\n-\n-\n-\n-
\n-
81
\n-
\n-
87typedef enum VIOrwkey {
\n-\n-\n-
90 VIO_W
\n-\n-
\n-
92
\n-
\n-
98struct sVio {
\n+
\n+
57struct sVmem {
\n+
58
\n+\n+
61 size_t mallocBytes;
\n+
62 size_t freeBytes;
\n+
63 size_t highWater;
\n+
64 size_t mallocAreas;
\n+
66};
\n+
\n+
67
\n+
73typedef struct sVmem Vmem;
\n+
74
\n+
75/*
\n+
76 * ***************************************************************************
\n+
77 * Class Vmem: Inlineable methods (vmem.c)
\n+
78 * ***************************************************************************
\n+
79 */
\n+
80
\n+
81#if !defined(VINLINE_MALOC)
\n+
82#else /* if defined(VINLINE_MALOC) */
\n+
83#endif /* if !defined(VINLINE_MALOC) */
\n+
84
\n+
85/*
\n+
86 * ***************************************************************************
\n+
87 * Class Vmem: Non-Inlineable methods (vmem.c)
\n+
88 * ***************************************************************************
\n+
89 */
\n+
90
\n+
98size_t Vmem_bytesTotal(void);
\n
99
\n-\n-\n-\n-\n-\n-\n-
122 int error;
\n-
123 int dirty;
\n-
125 FILE *fp;
\n-
126 int so;
\n-
127 int soc;
\n-
128 void *name;
\n-
129 void *axdr;
\n-\n-\n-\n-\n-\n-\n-
140 char *VIObuffer;
\n-\n-\n-
144};
\n-
\n-
145
\n-
151typedef struct sVio Vio;
\n-
152
\n-
153/*
\n-
154 * ***************************************************************************
\n-
155 * Class Vio: Inlineable methods (vio.c)
\n-
156 * ***************************************************************************
\n-
157 */
\n-
158
\n-
159#if !defined(VINLINE_MALOC)
\n-
160#else /* if defined(VINLINE_MALOC) */
\n-
161#endif /* if !defined(VINLINE_MALOC) */
\n-
162
\n-
163/*
\n-
164 * ***************************************************************************
\n-
165 * Class Vio: Non-Inlineable methods (vio.c)
\n-
166 * ***************************************************************************
\n-
167 */
\n-
168
\n-
176void Vio_start(void);
\n-
177
\n-
185void Vio_stop(void);
\n-
186
\n-
199Vio* Vio_ctor(const char *socktype, const char *datafrmt,
\n-
200 const char *hostname, const char *filename, const char *rwkey);
\n-
201
\n-
215int Vio_ctor2(Vio *thee, const char *socktype, const char *datafrmt,
\n-
216 const char *hostname, const char *filename, const char *rwkey);
\n-
217
\n-
226void Vio_dtor(Vio **thee);
\n-
227
\n-
236void Vio_dtor2(Vio *thee);
\n-
237
\n-\n-
248
\n-
258void Vio_setCommChars(Vio *thee, char *commChars);
\n-
259
\n-
272int Vio_accept(Vio *thee, int nonblock);
\n-
273
\n-
282void Vio_acceptFree(Vio *thee);
\n-
283
\n-
296int Vio_connect(Vio *thee, int nonblock);
\n-
297
\n-\n-
307
\n-
317int Vio_scanf(Vio *thee, char *parms, ...);
\n-
318
\n-
328int Vio_printf(Vio *thee, char *parms, ...);
\n-
329
\n-
340int Vio_read(Vio *thee, char *buf, int bufsize);
\n-
341
\n-
352int Vio_write(Vio *thee, char *buf, int bufsize);
\n-
353
\n-
364void Vio_bufTake(Vio *thee, char *buf, int bufsize);
\n-
365
\n-
374char* Vio_bufGive(Vio *thee);
\n-
375
\n-
384int Vio_bufSize(Vio *thee);
\n-
385
\n-\n-
399 const char *iodev, const char *iofmt,
\n-
400 const char *iohost, const char *iofile);
\n-
401
\n-
410void Vio_socketClose(Vio **sock);
\n-
411
\n-
412#endif /* _VIO_H_ */
\n-
413
\n+\n+
108
\n+\n+
117
\n+\n+
126
\n+\n+
135
\n+\n+
144
\n+\n+
154
\n+
163void Vmem_dtor(Vmem **thee);
\n+
164
\n+
175void *Vmem_malloc(Vmem *thee, size_t num, size_t size);
\n+
176
\n+
188void Vmem_free(Vmem *thee, size_t num, size_t size, void **ram);
\n+
189
\n+
202void *Vmem_realloc(Vmem *thee, size_t num, size_t size, void **ram,
\n+
203 size_t newNum);
\n+
204
\n+
213size_t Vmem_bytes(Vmem *thee);
\n+
214
\n+
223size_t Vmem_mallocBytes(Vmem *thee);
\n+
224
\n+
233size_t Vmem_freeBytes(Vmem *thee);
\n+
234
\n+
243size_t Vmem_highWater(Vmem *thee);
\n+
244
\n+
253size_t Vmem_mallocAreas(Vmem *thee);
\n+
254
\n+
263void Vmem_print(Vmem *thee);
\n+
264
\n+
265#endif /* _VMEM_H_ */
\n+
266
\n
The base (or foundation) header for MALOC.
\n-
#define VMAX_ARGNUM
Global constant.
Definition maloc_base.h:225
\n-
#define VMAX_BUFSIZE
Global constant.
Definition maloc_base.h:229
\n
#define VMAX_ARGLEN
Global constant.
Definition maloc_base.h:227
\n-
Header file for an ISO C [V]irtual [N]umerical [M]achine.
\n-
int Vio_bufSize(Vio *thee)
Return the length to the internal buffer.
\n-
void Vio_stop(void)
Shutdown Vio communication layer.
\n-
int Vio_write(Vio *thee, char *buf, int bufsize)
Write bufsize characters from buf to output device.
\n-
int Vio_scanf(Vio *thee, char *parms,...)
Mimic "scanf" from an arbitrary Vio device.
\n-
void Vio_acceptFree(Vio *thee)
Free the socket child that was used for the last accept.
\n-
void Vio_start(void)
Start Vio communication layer (init internal variables/buffers)
\n-
int Vio_printf(Vio *thee, char *parms,...)
Mimic "printf" from an arbitrary Vio device.
\n-
Vio * Vio_socketOpen(char *key, const char *iodev, const char *iofmt, const char *iohost, const char *iofile)
Socket open for read or write.
\n-
void Vio_setWhiteChars(Vio *thee, char *whiteChars)
Set the white character set for I/O stream.
\n-
void Vio_socketClose(Vio **sock)
Socket close from read or write.
\n-
int Vio_connect(Vio *thee, int nonblock)
Connect to some socket on a remote machine (or on our machine)
\n-
VIOfrmt
Parameter for compression type (XDR,ASC)
Definition vio.h:76
\n-
int Vio_accept(Vio *thee, int nonblock)
Accept any waiting connect attempt to our socket on our machine.
\n-
Vio * Vio_ctor(const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
Construct the Vio object.
\n-
VIOtype
Parameter for I/O type (sdio,buff,file,unix,inet)
Definition vio.h:62
\n-
void Vio_dtor(Vio **thee)
Destruct the Vio object.
\n-
int Vio_read(Vio *thee, char *buf, int bufsize)
Read (up to) bufsize characters into buf from input device.
\n-
void Vio_bufTake(Vio *thee, char *buf, int bufsize)
Set the pointer to the internal buffer.
\n-
void Vio_connectFree(Vio *thee)
Purge any output buffers (for <UNIX/INET>, else a no-op)
\n-
void Vio_setCommChars(Vio *thee, char *commChars)
Set the comment character set for I/O stream.
\n-
char * Vio_bufGive(Vio *thee)
Return the pointer to the internal buffer.
\n-
VIOrwkey
Parameter for rw type (R,RW)
Definition vio.h:87
\n-
void Vio_dtor2(Vio *thee)
Work routine that Vio_dtor calls to do most of the destruction.
\n-
int Vio_ctor2(Vio *thee, const char *socktype, const char *datafrmt, const char *hostname, const char *filename, const char *rwkey)
Work routine that Vio_ctor calls to do most of the construction.
\n-
@ VIO_XDR
Definition vio.h:78
\n-
@ VIO_NO_FRMT
Definition vio.h:77
\n-
@ VIO_ASC
Definition vio.h:79
\n-
@ VIO_NO_TYPE
Definition vio.h:63
\n-
@ VIO_FILE
Definition vio.h:66
\n-
@ VIO_UNIX
Definition vio.h:67
\n-
@ VIO_BUFF
Definition vio.h:65
\n-
@ VIO_SDIO
Definition vio.h:64
\n-
@ VIO_INET
Definition vio.h:68
\n-
@ VIO_NO_RW
Definition vio.h:88
\n-
@ VIO_W
Definition vio.h:90
\n-
@ VIO_R
Definition vio.h:89
\n-
Contains public data members for Vio class.
Definition vio.h:98
\n-
char putBuffer[VMAX_BUFSIZE]
Definition vio.h:137
\n-
VIOtype type
Definition vio.h:100
\n-
int ioBufferLen
Definition vio.h:135
\n-
VIOrwkey rwkey
Definition vio.h:113
\n-
char commChars[VMAX_ARGNUM]
Definition vio.h:132
\n-
int VIObufferPtr
Definition vio.h:142
\n-
FILE * fp
Definition vio.h:125
\n-
VIOfrmt frmt
Definition vio.h:108
\n-
int dirty
Definition vio.h:123
\n-
int soc
Definition vio.h:127
\n-
char lhost[VMAX_ARGLEN]
Definition vio.h:119
\n-
char whiteChars[VMAX_ARGNUM]
Definition vio.h:131
\n-
char ioBuffer[VMAX_BUFSIZE]
Definition vio.h:134
\n-
int VIObufferLen
Definition vio.h:141
\n-
char file[VMAX_ARGLEN]
Definition vio.h:118
\n-
void * name
Definition vio.h:128
\n-
void * axdr
Definition vio.h:129
\n-
char * VIObuffer
Definition vio.h:140
\n-
int putBufferLen
Definition vio.h:138
\n-
int so
Definition vio.h:126
\n-
char rhost[VMAX_ARGLEN]
Definition vio.h:120
\n-
int error
Definition vio.h:122
\n+
void Vmem_free(Vmem *thee, size_t num, size_t size, void **ram)
A safe logged version of free.
\n+
size_t Vmem_mallocAreas(Vmem *thee)
Return total number of individual active malloc areas.
\n+
size_t Vmem_mallocAreasTotal(void)
Return total of all active Vmem malloc areas by groups.
\n+
void Vmem_printTotal(void)
Print current memory statistics for all Vmem malloc/free areas.
\n+
size_t Vmem_freeBytes(Vmem *thee)
Return total of all frees performed by Vmem object.
\n+
size_t Vmem_highWater(Vmem *thee)
Return high-water malloc bytemark hit by Vmem object.
\n+
void * Vmem_malloc(Vmem *thee, size_t num, size_t size)
A safe logged version of malloc.
\n+
size_t Vmem_bytesTotal(void)
Return total of all active Vmem malloc areas (current footprint)
\n+
size_t Vmem_freeBytesTotal(void)
Return total of all Vmem free calls.
\n+
void * Vmem_realloc(Vmem *thee, size_t num, size_t size, void **ram, size_t newNum)
A safe logged version of realloc (usually a bad idea to use this)
\n+
Vmem * Vmem_ctor(char *name)
Construct the dynamic memory allocation logging object.
\n+
size_t Vmem_highWaterTotal(void)
Return the high-water byte mark (largest footprint)
\n+
size_t Vmem_bytes(Vmem *thee)
Return total of all ACTIVE malloc areas used by Vmem object.
\n+
void Vmem_print(Vmem *thee)
Print current memory stats associated with this Vmem object.
\n+
void Vmem_dtor(Vmem **thee)
Destruct the dynamic memory allocation logging object.
\n+
size_t Vmem_mallocBytes(Vmem *thee)
Return total of all mallocs performed by Vmem object.
\n+
size_t Vmem_mallocBytesTotal(void)
Return total of all Vmem malloc allocations.
\n+
Contains public data members for Vmem class.
Definition vmem.h:57
\n+
char name[VMAX_ARGLEN]
Definition vmem.h:59
\n+
size_t freeBytes
Definition vmem.h:62
\n+
size_t mallocBytes
Definition vmem.h:61
\n+
size_t mallocAreas
Definition vmem.h:64
\n+
size_t highWater
Definition vmem.h:63
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,343 +1,167 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-vio.h\n+vmem.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-39#ifndef _VIO_H_\n-40#define _VIO_H_\n-41\n-42#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-43\n-44#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n-45\n-46/*\n-47 *\n+40#ifndef _VMEM_H_\n+41#define _VMEM_H_\n+42\n+43#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+44\n+45/*\n+46 *\n ***************************************************************************\n-48 * Class Vio: Parameters and datatypes\n-49 *\n+47 * Class Vmem: Parameters and datatypes\n+48 *\n ***************************************************************************\n-50 */\n+49 */\n+50\n 51\n-_\b5_\b3#define VPORTNUMBER 14916\n-_\b5_\b5#define VIO_MAXBUF 10\n-56\n-_\b6_\b2typedef enum _\bV_\bI_\bO_\bt_\by_\bp_\be {\n-_\b6_\b3 _\bV_\bI_\bO_\b__\bN_\bO_\b__\bT_\bY_\bP_\bE,\n-_\b6_\b4 _\bV_\bI_\bO_\b__\bS_\bD_\bI_\bO,\n-_\b6_\b5 _\bV_\bI_\bO_\b__\bB_\bU_\bF_\bF,\n-_\b6_\b6 _\bV_\bI_\bO_\b__\bF_\bI_\bL_\bE,\n-_\b6_\b7 _\bV_\bI_\bO_\b__\bU_\bN_\bI_\bX,\n-68 _\bV_\bI_\bO_\b__\bI_\bN_\bE_\bT\n-_\b6_\b9} _\bV_\bI_\bO_\bt_\by_\bp_\be;\n-70\n-_\b7_\b6typedef enum _\bV_\bI_\bO_\bf_\br_\bm_\bt {\n-_\b7_\b7 _\bV_\bI_\bO_\b__\bN_\bO_\b__\bF_\bR_\bM_\bT,\n-_\b7_\b8 _\bV_\bI_\bO_\b__\bX_\bD_\bR,\n-79 _\bV_\bI_\bO_\b__\bA_\bS_\bC\n-_\b8_\b0} _\bV_\bI_\bO_\bf_\br_\bm_\bt;\n-81\n-_\b8_\b7typedef enum _\bV_\bI_\bO_\br_\bw_\bk_\be_\by {\n-_\b8_\b8 _\bV_\bI_\bO_\b__\bN_\bO_\b__\bR_\bW,\n-_\b8_\b9 _\bV_\bI_\bO_\b__\bR,\n-90 _\bV_\bI_\bO_\b__\bW\n-_\b9_\b1} _\bV_\bI_\bO_\br_\bw_\bk_\be_\by;\n-92\n-_\b9_\b8struct _\bs_\bV_\bi_\bo {\n+_\b5_\b7struct _\bs_\bV_\bm_\be_\bm {\n+58\n+_\b5_\b9 char _\bn_\ba_\bm_\be[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n+_\b6_\b1 size_t _\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs;\n+_\b6_\b2 size_t _\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs;\n+_\b6_\b3 size_t _\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br;\n+_\b6_\b4 size_t _\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs;\n+66};\n+67\n+_\b7_\b3typedef struct _\bs_\bV_\bm_\be_\bm _\bV_\bm_\be_\bm;\n+74\n+75/*\n+76 *\n+***************************************************************************\n+77 * Class Vmem: Inlineable methods (vmem.c)\n+78 *\n+***************************************************************************\n+79 */\n+80\n+81#if !defined(VINLINE_MALOC)\n+82#else /* if defined(VINLINE_MALOC) */\n+83#endif /* if !defined(VINLINE_MALOC) */\n+84\n+85/*\n+86 *\n+***************************************************************************\n+87 * Class Vmem: Non-Inlineable methods (vmem.c)\n+88 *\n+***************************************************************************\n+89 */\n+90\n+_\b9_\b8size_t _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl(void);\n 99\n-_\b1_\b0_\b0 _\bV_\bI_\bO_\bt_\by_\bp_\be _\bt_\by_\bp_\be;\n-_\b1_\b0_\b8 _\bV_\bI_\bO_\bf_\br_\bm_\bt _\bf_\br_\bm_\bt;\n-_\b1_\b1_\b3 _\bV_\bI_\bO_\br_\bw_\bk_\be_\by _\br_\bw_\bk_\be_\by;\n-_\b1_\b1_\b8 char _\bf_\bi_\bl_\be[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n-_\b1_\b1_\b9 char _\bl_\bh_\bo_\bs_\bt[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n-_\b1_\b2_\b0 char _\br_\bh_\bo_\bs_\bt[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN];\n-_\b1_\b2_\b2 int _\be_\br_\br_\bo_\br;\n-_\b1_\b2_\b3 int _\bd_\bi_\br_\bt_\by;\n-_\b1_\b2_\b5 FILE *_\bf_\bp;\n-_\b1_\b2_\b6 int _\bs_\bo;\n-_\b1_\b2_\b7 int _\bs_\bo_\bc;\n-_\b1_\b2_\b8 void *_\bn_\ba_\bm_\be;\n-_\b1_\b2_\b9 void *_\ba_\bx_\bd_\br;\n-_\b1_\b3_\b1 char _\bw_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bN_\bU_\bM];\n-_\b1_\b3_\b2 char _\bc_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs[_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bN_\bU_\bM];\n-_\b1_\b3_\b4 char _\bi_\bo_\bB_\bu_\bf_\bf_\be_\br[_\bV_\bM_\bA_\bX_\b__\bB_\bU_\bF_\bS_\bI_\bZ_\bE];\n-_\b1_\b3_\b5 int _\bi_\bo_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn;\n-_\b1_\b3_\b7 char _\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br[_\bV_\bM_\bA_\bX_\b__\bB_\bU_\bF_\bS_\bI_\bZ_\bE];\n-_\b1_\b3_\b8 int _\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn;\n-_\b1_\b4_\b0 char *_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br;\n-_\b1_\b4_\b1 int _\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bL_\be_\bn;\n-_\b1_\b4_\b2 int _\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bP_\bt_\br;\n-144};\n-145\n-_\b1_\b5_\b1typedef struct _\bs_\bV_\bi_\bo _\bV_\bi_\bo;\n-152\n-153/*\n-154 *\n-***************************************************************************\n-155 * Class Vio: Inlineable methods (vio.c)\n-156 *\n-***************************************************************************\n-157 */\n-158\n-159#if !defined(VINLINE_MALOC)\n-160#else /* if defined(VINLINE_MALOC) */\n-161#endif /* if !defined(VINLINE_MALOC) */\n-162\n-163/*\n-164 *\n-***************************************************************************\n-165 * Class Vio: Non-Inlineable methods (vio.c)\n-166 *\n-***************************************************************************\n-167 */\n-168\n-_\b1_\b7_\b6void _\bV_\bi_\bo_\b__\bs_\bt_\ba_\br_\bt(void);\n-177\n-_\b1_\b8_\b5void _\bV_\bi_\bo_\b__\bs_\bt_\bo_\bp(void);\n-186\n-_\b1_\b9_\b9_\bV_\bi_\bo* _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br(const char *socktype, const char *datafrmt,\n-200 const char *hostname, const char *filename, const char *_\br_\bw_\bk_\be_\by);\n-201\n-_\b2_\b1_\b5int _\bV_\bi_\bo_\b__\bc_\bt_\bo_\br_\b2(_\bV_\bi_\bo *thee, const char *socktype, const char *datafrmt,\n-216 const char *hostname, const char *filename, const char *_\br_\bw_\bk_\be_\by);\n-217\n-_\b2_\b2_\b6void _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br(_\bV_\bi_\bo **thee);\n-227\n-_\b2_\b3_\b6void _\bV_\bi_\bo_\b__\bd_\bt_\bo_\br_\b2(_\bV_\bi_\bo *thee);\n-237\n-_\b2_\b4_\b7void _\bV_\bi_\bo_\b__\bs_\be_\bt_\bW_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs(_\bV_\bi_\bo *thee, char *_\bw_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs);\n-248\n-_\b2_\b5_\b8void _\bV_\bi_\bo_\b__\bs_\be_\bt_\bC_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs(_\bV_\bi_\bo *thee, char *_\bc_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs);\n-259\n-_\b2_\b7_\b2int _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt(_\bV_\bi_\bo *thee, int nonblock);\n-273\n-_\b2_\b8_\b2void _\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt_\bF_\br_\be_\be(_\bV_\bi_\bo *thee);\n-283\n-_\b2_\b9_\b6int _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt(_\bV_\bi_\bo *thee, int nonblock);\n-297\n-_\b3_\b0_\b6void _\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt_\bF_\br_\be_\be(_\bV_\bi_\bo *thee);\n-307\n-_\b3_\b1_\b7int _\bV_\bi_\bo_\b__\bs_\bc_\ba_\bn_\bf(_\bV_\bi_\bo *thee, char *parms, ...);\n-318\n-_\b3_\b2_\b8int _\bV_\bi_\bo_\b__\bp_\br_\bi_\bn_\bt_\bf(_\bV_\bi_\bo *thee, char *parms, ...);\n-329\n-_\b3_\b4_\b0int _\bV_\bi_\bo_\b__\br_\be_\ba_\bd(_\bV_\bi_\bo *thee, char *buf, int bufsize);\n-341\n-_\b3_\b5_\b2int _\bV_\bi_\bo_\b__\bw_\br_\bi_\bt_\be(_\bV_\bi_\bo *thee, char *buf, int bufsize);\n-353\n-_\b3_\b6_\b4void _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bT_\ba_\bk_\be(_\bV_\bi_\bo *thee, char *buf, int bufsize);\n-365\n-_\b3_\b7_\b4char* _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bG_\bi_\bv_\be(_\bV_\bi_\bo *thee);\n-375\n-_\b3_\b8_\b4int _\bV_\bi_\bo_\b__\bb_\bu_\bf_\bS_\bi_\bz_\be(_\bV_\bi_\bo *thee);\n-385\n-_\b3_\b9_\b8_\bV_\bi_\bo *_\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bO_\bp_\be_\bn(char *key,\n-399 const char *iodev, const char *iofmt,\n-400 const char *iohost, const char *iofile);\n-401\n-_\b4_\b1_\b0void _\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bC_\bl_\bo_\bs_\be(_\bV_\bi_\bo **sock);\n-411\n-412#endif /* _VIO_H_ */\n-413\n+_\b1_\b0_\b7size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl(void);\n+108\n+_\b1_\b1_\b6size_t _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl(void);\n+117\n+_\b1_\b2_\b5size_t _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br_\bT_\bo_\bt_\ba_\bl(void);\n+126\n+_\b1_\b3_\b4size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs_\bT_\bo_\bt_\ba_\bl(void);\n+135\n+_\b1_\b4_\b3void _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt_\bT_\bo_\bt_\ba_\bl(void);\n+144\n+_\b1_\b5_\b3_\bV_\bm_\be_\bm* _\bV_\bm_\be_\bm_\b__\bc_\bt_\bo_\br(char *_\bn_\ba_\bm_\be);\n+154\n+_\b1_\b6_\b3void _\bV_\bm_\be_\bm_\b__\bd_\bt_\bo_\br(_\bV_\bm_\be_\bm **thee);\n+164\n+_\b1_\b7_\b5void *_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc(_\bV_\bm_\be_\bm *thee, size_t num, size_t size);\n+176\n+_\b1_\b8_\b8void _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be(_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram);\n+189\n+_\b2_\b0_\b2void *_\bV_\bm_\be_\bm_\b__\br_\be_\ba_\bl_\bl_\bo_\bc(_\bV_\bm_\be_\bm *thee, size_t num, size_t size, void **ram,\n+203 size_t newNum);\n+204\n+_\b2_\b1_\b3size_t _\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs(_\bV_\bm_\be_\bm *thee);\n+214\n+_\b2_\b2_\b3size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs(_\bV_\bm_\be_\bm *thee);\n+224\n+_\b2_\b3_\b3size_t _\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs(_\bV_\bm_\be_\bm *thee);\n+234\n+_\b2_\b4_\b3size_t _\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br(_\bV_\bm_\be_\bm *thee);\n+244\n+_\b2_\b5_\b3size_t _\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs(_\bV_\bm_\be_\bm *thee);\n+254\n+_\b2_\b6_\b3void _\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt(_\bV_\bm_\be_\bm *thee);\n+264\n+265#endif /* _VMEM_H_ */\n+266\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n-_\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bN_\bU_\bM\n-#define VMAX_ARGNUM\n-Global constant.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:225\n-_\bV_\bM_\bA_\bX_\b__\bB_\bU_\bF_\bS_\bI_\bZ_\bE\n-#define VMAX_BUFSIZE\n-Global constant.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:229\n _\bV_\bM_\bA_\bX_\b__\bA_\bR_\bG_\bL_\bE_\bN\n #define VMAX_ARGLEN\n Global constant.\n D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn maloc_base.h:227\n-_\bv_\bn_\bm_\b._\bh\n-Header file for an ISO C [V]irtual [N]umerical [M]achine.\n-_\bV_\bi_\bo_\b__\bb_\bu_\bf_\bS_\bi_\bz_\be\n-int Vio_bufSize(Vio *thee)\n-Return the length to the internal buffer.\n-_\bV_\bi_\bo_\b__\bs_\bt_\bo_\bp\n-void Vio_stop(void)\n-Shutdown Vio communication layer.\n-_\bV_\bi_\bo_\b__\bw_\br_\bi_\bt_\be\n-int Vio_write(Vio *thee, char *buf, int bufsize)\n-Write bufsize characters from buf to output device.\n-_\bV_\bi_\bo_\b__\bs_\bc_\ba_\bn_\bf\n-int Vio_scanf(Vio *thee, char *parms,...)\n-Mimic \"scanf\" from an arbitrary Vio device.\n-_\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt_\bF_\br_\be_\be\n-void Vio_acceptFree(Vio *thee)\n-Free the socket child that was used for the last accept.\n-_\bV_\bi_\bo_\b__\bs_\bt_\ba_\br_\bt\n-void Vio_start(void)\n-Start Vio communication layer (init internal variables/buffers)\n-_\bV_\bi_\bo_\b__\bp_\br_\bi_\bn_\bt_\bf\n-int Vio_printf(Vio *thee, char *parms,...)\n-Mimic \"printf\" from an arbitrary Vio device.\n-_\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bO_\bp_\be_\bn\n-Vio * Vio_socketOpen(char *key, const char *iodev, const char *iofmt, const\n-char *iohost, const char *iofile)\n-Socket open for read or write.\n-_\bV_\bi_\bo_\b__\bs_\be_\bt_\bW_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs\n-void Vio_setWhiteChars(Vio *thee, char *whiteChars)\n-Set the white character set for I/O stream.\n-_\bV_\bi_\bo_\b__\bs_\bo_\bc_\bk_\be_\bt_\bC_\bl_\bo_\bs_\be\n-void Vio_socketClose(Vio **sock)\n-Socket close from read or write.\n-_\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt\n-int Vio_connect(Vio *thee, int nonblock)\n-Connect to some socket on a remote machine (or on our machine)\n-_\bV_\bI_\bO_\bf_\br_\bm_\bt\n-VIOfrmt\n-Parameter for compression type (XDR,ASC)\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:76\n-_\bV_\bi_\bo_\b__\ba_\bc_\bc_\be_\bp_\bt\n-int Vio_accept(Vio *thee, int nonblock)\n-Accept any waiting connect attempt to our socket on our machine.\n-_\bV_\bi_\bo_\b__\bc_\bt_\bo_\br\n-Vio * Vio_ctor(const char *socktype, const char *datafrmt, const char\n-*hostname, const char *filename, const char *rwkey)\n-Construct the Vio object.\n-_\bV_\bI_\bO_\bt_\by_\bp_\be\n-VIOtype\n-Parameter for I/O type (sdio,buff,file,unix,inet)\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:62\n-_\bV_\bi_\bo_\b__\bd_\bt_\bo_\br\n-void Vio_dtor(Vio **thee)\n-Destruct the Vio object.\n-_\bV_\bi_\bo_\b__\br_\be_\ba_\bd\n-int Vio_read(Vio *thee, char *buf, int bufsize)\n-Read (up to) bufsize characters into buf from input device.\n-_\bV_\bi_\bo_\b__\bb_\bu_\bf_\bT_\ba_\bk_\be\n-void Vio_bufTake(Vio *thee, char *buf, int bufsize)\n-Set the pointer to the internal buffer.\n-_\bV_\bi_\bo_\b__\bc_\bo_\bn_\bn_\be_\bc_\bt_\bF_\br_\be_\be\n-void Vio_connectFree(Vio *thee)\n-Purge any output buffers (for , else a no-op)\n-_\bV_\bi_\bo_\b__\bs_\be_\bt_\bC_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs\n-void Vio_setCommChars(Vio *thee, char *commChars)\n-Set the comment character set for I/O stream.\n-_\bV_\bi_\bo_\b__\bb_\bu_\bf_\bG_\bi_\bv_\be\n-char * Vio_bufGive(Vio *thee)\n-Return the pointer to the internal buffer.\n-_\bV_\bI_\bO_\br_\bw_\bk_\be_\by\n-VIOrwkey\n-Parameter for rw type (R,RW)\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:87\n-_\bV_\bi_\bo_\b__\bd_\bt_\bo_\br_\b2\n-void Vio_dtor2(Vio *thee)\n-Work routine that Vio_dtor calls to do most of the destruction.\n-_\bV_\bi_\bo_\b__\bc_\bt_\bo_\br_\b2\n-int Vio_ctor2(Vio *thee, const char *socktype, const char *datafrmt, const char\n-*hostname, const char *filename, const char *rwkey)\n-Work routine that Vio_ctor calls to do most of the construction.\n-_\bV_\bI_\bO_\b__\bX_\bD_\bR\n-@ VIO_XDR\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:78\n-_\bV_\bI_\bO_\b__\bN_\bO_\b__\bF_\bR_\bM_\bT\n-@ VIO_NO_FRMT\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:77\n-_\bV_\bI_\bO_\b__\bA_\bS_\bC\n-@ VIO_ASC\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:79\n-_\bV_\bI_\bO_\b__\bN_\bO_\b__\bT_\bY_\bP_\bE\n-@ VIO_NO_TYPE\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:63\n-_\bV_\bI_\bO_\b__\bF_\bI_\bL_\bE\n-@ VIO_FILE\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:66\n-_\bV_\bI_\bO_\b__\bU_\bN_\bI_\bX\n-@ VIO_UNIX\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:67\n-_\bV_\bI_\bO_\b__\bB_\bU_\bF_\bF\n-@ VIO_BUFF\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:65\n-_\bV_\bI_\bO_\b__\bS_\bD_\bI_\bO\n-@ VIO_SDIO\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:64\n-_\bV_\bI_\bO_\b__\bI_\bN_\bE_\bT\n-@ VIO_INET\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:68\n-_\bV_\bI_\bO_\b__\bN_\bO_\b__\bR_\bW\n-@ VIO_NO_RW\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:88\n-_\bV_\bI_\bO_\b__\bW\n-@ VIO_W\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:90\n-_\bV_\bI_\bO_\b__\bR\n-@ VIO_R\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:89\n-_\bs_\bV_\bi_\bo\n-Contains public data members for Vio class.\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:98\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br\n-char putBuffer[VMAX_BUFSIZE]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:137\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bt_\by_\bp_\be\n-VIOtype type\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:100\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bi_\bo_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn\n-int ioBufferLen\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:135\n-_\bs_\bV_\bi_\bo_\b:_\b:_\br_\bw_\bk_\be_\by\n-VIOrwkey rwkey\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:113\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bc_\bo_\bm_\bm_\bC_\bh_\ba_\br_\bs\n-char commChars[VMAX_ARGNUM]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:132\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bP_\bt_\br\n-int VIObufferPtr\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:142\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bf_\bp\n-FILE * fp\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:125\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bf_\br_\bm_\bt\n-VIOfrmt frmt\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:108\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bd_\bi_\br_\bt_\by\n-int dirty\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:123\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bs_\bo_\bc\n-int soc\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:127\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bl_\bh_\bo_\bs_\bt\n-char lhost[VMAX_ARGLEN]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:119\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bw_\bh_\bi_\bt_\be_\bC_\bh_\ba_\br_\bs\n-char whiteChars[VMAX_ARGNUM]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:131\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bi_\bo_\bB_\bu_\bf_\bf_\be_\br\n-char ioBuffer[VMAX_BUFSIZE]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:134\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br_\bL_\be_\bn\n-int VIObufferLen\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:141\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bf_\bi_\bl_\be\n-char file[VMAX_ARGLEN]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:118\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bn_\ba_\bm_\be\n-void * name\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:128\n-_\bs_\bV_\bi_\bo_\b:_\b:_\ba_\bx_\bd_\br\n-void * axdr\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:129\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bV_\bI_\bO_\bb_\bu_\bf_\bf_\be_\br\n-char * VIObuffer\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:140\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bp_\bu_\bt_\bB_\bu_\bf_\bf_\be_\br_\bL_\be_\bn\n-int putBufferLen\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:138\n-_\bs_\bV_\bi_\bo_\b:_\b:_\bs_\bo\n-int so\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:126\n-_\bs_\bV_\bi_\bo_\b:_\b:_\br_\bh_\bo_\bs_\bt\n-char rhost[VMAX_ARGLEN]\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:120\n-_\bs_\bV_\bi_\bo_\b:_\b:_\be_\br_\br_\bo_\br\n-int error\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vio.h:122\n+_\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be\n+void Vmem_free(Vmem *thee, size_t num, size_t size, void **ram)\n+A safe logged version of free.\n+_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs\n+size_t Vmem_mallocAreas(Vmem *thee)\n+Return total number of individual active malloc areas.\n+_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs_\bT_\bo_\bt_\ba_\bl\n+size_t Vmem_mallocAreasTotal(void)\n+Return total of all active Vmem malloc areas by groups.\n+_\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt_\bT_\bo_\bt_\ba_\bl\n+void Vmem_printTotal(void)\n+Print current memory statistics for all Vmem malloc/free areas.\n+_\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs\n+size_t Vmem_freeBytes(Vmem *thee)\n+Return total of all frees performed by Vmem object.\n+_\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br\n+size_t Vmem_highWater(Vmem *thee)\n+Return high-water malloc bytemark hit by Vmem object.\n+_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc\n+void * Vmem_malloc(Vmem *thee, size_t num, size_t size)\n+A safe logged version of malloc.\n+_\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl\n+size_t Vmem_bytesTotal(void)\n+Return total of all active Vmem malloc areas (current footprint)\n+_\bV_\bm_\be_\bm_\b__\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl\n+size_t Vmem_freeBytesTotal(void)\n+Return total of all Vmem free calls.\n+_\bV_\bm_\be_\bm_\b__\br_\be_\ba_\bl_\bl_\bo_\bc\n+void * Vmem_realloc(Vmem *thee, size_t num, size_t size, void **ram, size_t\n+newNum)\n+A safe logged version of realloc (usually a bad idea to use this)\n+_\bV_\bm_\be_\bm_\b__\bc_\bt_\bo_\br\n+Vmem * Vmem_ctor(char *name)\n+Construct the dynamic memory allocation logging object.\n+_\bV_\bm_\be_\bm_\b__\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br_\bT_\bo_\bt_\ba_\bl\n+size_t Vmem_highWaterTotal(void)\n+Return the high-water byte mark (largest footprint)\n+_\bV_\bm_\be_\bm_\b__\bb_\by_\bt_\be_\bs\n+size_t Vmem_bytes(Vmem *thee)\n+Return total of all ACTIVE malloc areas used by Vmem object.\n+_\bV_\bm_\be_\bm_\b__\bp_\br_\bi_\bn_\bt\n+void Vmem_print(Vmem *thee)\n+Print current memory stats associated with this Vmem object.\n+_\bV_\bm_\be_\bm_\b__\bd_\bt_\bo_\br\n+void Vmem_dtor(Vmem **thee)\n+Destruct the dynamic memory allocation logging object.\n+_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs\n+size_t Vmem_mallocBytes(Vmem *thee)\n+Return total of all mallocs performed by Vmem object.\n+_\bV_\bm_\be_\bm_\b__\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs_\bT_\bo_\bt_\ba_\bl\n+size_t Vmem_mallocBytesTotal(void)\n+Return total of all Vmem malloc allocations.\n+_\bs_\bV_\bm_\be_\bm\n+Contains public data members for Vmem class.\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:57\n+_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bn_\ba_\bm_\be\n+char name[VMAX_ARGLEN]\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:59\n+_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bf_\br_\be_\be_\bB_\by_\bt_\be_\bs\n+size_t freeBytes\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:62\n+_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bm_\ba_\bl_\bl_\bo_\bc_\bB_\by_\bt_\be_\bs\n+size_t mallocBytes\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:61\n+_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bm_\ba_\bl_\bl_\bo_\bc_\bA_\br_\be_\ba_\bs\n+size_t mallocAreas\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:64\n+_\bs_\bV_\bm_\be_\bm_\b:_\b:_\bh_\bi_\bg_\bh_\bW_\ba_\bt_\be_\br\n+size_t highWater\n+D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vmem.h:63\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00033.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00033.dot.gz", "unified_diff": null, "details": [{"source1": "a00033.dot", "source2": "a00033.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vio.h\"\n+digraph \"vmem.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vio.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node1 [id=\"Node000001\",label=\"vmem.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -33,11 +33,8 @@\n Node14 [id=\"Node000014\",label=\"stdlib.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n- Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n- Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00034.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00034.dot", "unified_diff": "@@ -1,28 +1,31 @@\n-digraph \"vio.h\"\n+digraph \"vmem.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vio.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node1 [id=\"Node000001\",label=\"vmem.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node2 [id=\"Node000002\",label=\"vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n- Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node4 -> Node3 [id=\"edge4_Node000004_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node5 [id=\"edge5_Node000002_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node5 [id=\"Node000005\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node5 -> Node6 [id=\"edge6_Node000005_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node6 [id=\"Node000006\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node6 -> Node4 [id=\"edge7_Node000006_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node6 [id=\"edge8_Node000002_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node7 [id=\"edge9_Node000002_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 [id=\"Node000007\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node7 -> Node6 [id=\"edge10_Node000007_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node8 [id=\"edge11_Node000002_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 [id=\"Node000008\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n- Node8 -> Node3 [id=\"edge12_Node000008_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 -> Node4 [id=\"edge13_Node000008_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 [id=\"Node000003\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node3 -> Node4 [id=\"edge3_Node000003_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node3 -> Node5 [id=\"edge4_Node000003_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node5 [id=\"Node000005\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node5 -> Node4 [id=\"edge5_Node000005_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node6 [id=\"edge6_Node000003_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node6 [id=\"Node000006\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node6 -> Node7 [id=\"edge7_Node000006_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node7 [id=\"Node000007\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node7 -> Node5 [id=\"edge8_Node000007_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node7 [id=\"edge9_Node000003_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node8 [id=\"edge10_Node000003_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node8 [id=\"Node000008\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node8 -> Node7 [id=\"edge11_Node000008_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 -> Node9 [id=\"edge12_Node000003_Node000009\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node9 [id=\"Node000009\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n+ Node9 -> Node4 [id=\"edge13_Node000009_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node9 -> Node5 [id=\"edge14_Node000009_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node3 [id=\"edge15_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00035.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00035.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vpred.h File Reference\n+MALOC: vsys.h File Reference\n \n \n \n \n \n \n
\n@@ -39,105 +39,43 @@\n
\n
\n \n
\n
\n
\n- \n-
vpred.h File Reference
\n+
vsys.h File Reference
\n
\n
\n \n-

Header file for the Geometric Predicates. \n+

The primary header for VSYS. (Virtual SYStem utilities library.) \n More...

\n
#include <maloc/maloc_base.h>
\n+#include <maloc/vnm.h>
\n+#include <maloc/vmem.h>
\n+#include <maloc/vio.h>
\n+#include <maloc/vset.h>
\n+#include <maloc/vpred.h>
\n
\n-Include dependency graph for vpred.h:
\n+Include dependency graph for vsys.h:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n This graph shows which files directly or indirectly include this file:
\n
\n-
\"\"/
\n+
\"\"/
\n
\n
\n

Go to the source code of this file.

\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-

\n-Macros

#define INEXACT   /* Nothing */
 Parameters and constants \"INEXACT\".
 
#define REAL   double
 float or double
 
#define REALPRINT   doubleprint
 Print the bit representation of a double.
 
#define REALRAND   doublerand
 Generate a double with random 53-bit significand and a random exponent in [0, 511].
 
#define NARROWRAND   narrowdoublerand
 Generate a double with random 53-bit significand and a random exponent in [0, 7].
 
#define UNIFORMRAND   uniformdoublerand
 Generate a double with random 53-bit significand.
 
\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-\n-

\n-Functions

void Vpred_exactinit (void)
 Initialize the variables used for exact arithmetic.
 
REAL Vpred_orient2d (REAL *pa, REAL *pb, REAL *pc)
 Adaptive exact 2D orientation test. Robust.
 
REAL Vpred_orient2dfast (REAL *pa, REAL *pb, REAL *pc)
 Approximate 2D orientation test. Nonrobust.
 
REAL Vpred_orient2dexact (REAL *pa, REAL *pb, REAL *pc)
 Exact 2D orientation test. Robust.
 
REAL Vpred_orient3d (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Adaptive exact 3D orientation test. Robust.
 
REAL Vpred_orient3dfast (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Approximate 3D orientation test. Nonrobust.
 
REAL Vpred_orient3dexact (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Exact 3D orientation test. Robust.
 
REAL Vpred_incircle (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Adaptive exact 2D incircle test. Robust.
 
REAL Vpred_incirclefast (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Approximate 2D incircle test. Nonrobust.
 
REAL Vpred_incircleexact (REAL *pa, REAL *pb, REAL *pc, REAL *pd)
 Exact 2D incircle test. Robust.
 
REAL Vpred_insphere (REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
 Adaptive exact 3D insphere test. Robust.
 
REAL Vpred_inspherefast (REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
 Approximate 3D insphere test. Nonrobust.
 
REAL Vpred_insphereexact (REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
 Exact 3D insphere test. Robust.
 
\n

Detailed Description

\n-

Header file for the Geometric Predicates.

\n+

The primary header for VSYS. (Virtual SYStem utilities library.)

\n+
Author
Michael Holst
\n
Version
\n-
Id
vpred.h,v 1.4 2010/08/12 05:40:37 fetk Exp
\n-
Author
Michael Holst
\n+
Id
vsys.h,v 1.12 2010/08/12 05:40:37 fetk Exp
\n
Attention
*\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n@@ -149,757 +87,14 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n * \n *  
\n-

Macro Definition Documentation

\n-\n-

◆ INEXACT

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define INEXACT   /* Nothing */
\n-
\n-\n-

Parameters and constants \"INEXACT\".

\n-\n-
\n-
\n-\n-

◆ NARROWRAND

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define NARROWRAND   narrowdoublerand
\n-
\n-\n-

Generate a double with random 53-bit significand and a random exponent in [0, 7].

\n-\n-
\n-
\n-\n-

◆ REAL

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define REAL   double
\n-
\n-\n-

float or double

\n-\n-
\n-
\n-\n-

◆ REALPRINT

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define REALPRINT   doubleprint
\n-
\n-\n-

Print the bit representation of a double.

\n-\n-
\n-
\n-\n-

◆ REALRAND

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define REALRAND   doublerand
\n-
\n-\n-

Generate a double with random 53-bit significand and a random exponent in [0, 511].

\n-\n-
\n-
\n-\n-

◆ UNIFORMRAND

\n-\n-
\n-
\n- \n- \n- \n- \n-
#define UNIFORMRAND   uniformdoublerand
\n-
\n-\n-

Generate a double with random 53-bit significand.

\n-\n-
\n-
\n-

Function Documentation

\n-\n-

◆ Vpred_exactinit()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n-
void Vpred_exactinit (void )
\n-
\n-\n-

Initialize the variables used for exact arithmetic.

\n-
Note
‘epsilon’ is the largest power of two such that 1.0 + epsilon = 1.0 in floating-point arithmetic. ‘epsilon’ bounds the relative roundoff error. It is used for floating-point error analysis. ‘splitter’ is used to split floating-point numbers into two half- length significands for exact multiplication. I imagine that a highly optimizing compiler might be too smart for its own good, and somehow cause this routine to fail, if it pretends that floating-point arithmetic is too much like real arithmetic. Don't change this routine unless you fully understand it.
\n-\n-
\n-
\n-\n-

◆ Vpred_incircle()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_incircle (REALpa,
REALpb,
REALpc,
REALpd 
)
\n-
\n-\n-

Adaptive exact 2D incircle test. Robust.

\n-
Returns
a positive value if the point pd lies inside the circle passing through pa, pb, and pc; a negative value if it lies outside; and zero if the four points are cocircular. The points pa, pb, and pc must be in counterclockwise order, or the sign of the result will be reversed.
\n-
Parameters
\n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_incircleexact()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_incircleexact (REALpa,
REALpb,
REALpc,
REALpd 
)
\n-
\n-\n-

Exact 2D incircle test. Robust.

\n-
Returns
a positive value if the point pd lies inside the circle passing through pa, pb, and pc; a negative value if it lies outside; and zero if the four points are cocircular. The points pa, pb, and pc must be in counterclockwise order, or the sign of the result will be reversed.
\n-
Parameters
\n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_incirclefast()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_incirclefast (REALpa,
REALpb,
REALpc,
REALpd 
)
\n-
\n-\n-

Approximate 2D incircle test. Nonrobust.

\n-
Returns
a positive value if the point pd lies inside the circle passing through pa, pb, and pc; a negative value if it lies outside; and zero if the four points are cocircular. The points pa, pb, and pc must be in counterclockwise order, or the sign of the result will be reversed.
\n-
Parameters
\n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_insphere()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_insphere (REALpa,
REALpb,
REALpc,
REALpd,
REALpe 
)
\n-
\n-\n-

Adaptive exact 3D insphere test. Robust.

\n-
Returns
a positive value if the point pe lies inside the sphere passing through pa, pb, pc, and pd; a negative value if it lies outside; and zero if the five points are cospherical. The points pa, pb, pc, and pd must be ordered so that they have a positive orientation (as defined by orient3d()), or the sign of the result will be reversed.
\n-
Parameters
\n- \n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
pePointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_insphereexact()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_insphereexact (REALpa,
REALpb,
REALpc,
REALpd,
REALpe 
)
\n-
\n-\n-

Exact 3D insphere test. Robust.

\n-
Returns
a positive value if the point pe lies inside the sphere passing through pa, pb, pc, and pd; a negative value if it lies outside; and zero if the five points are cospherical. The points pa, pb, pc, and pd must be ordered so that they have a positive orientation (as defined by orient3d()), or the sign of the result will be reversed.
\n-
Parameters
\n- \n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
pePointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_inspherefast()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_inspherefast (REALpa,
REALpb,
REALpc,
REALpd,
REALpe 
)
\n-
\n-\n-

Approximate 3D insphere test. Nonrobust.

\n-
Returns
a positive value if the point pe lies inside the sphere passing through pa, pb, pc, and pd; a negative value if it lies outside; and zero if the five points are cospherical. The points pa, pb, pc, and pd must be ordered so that they have a positive orientation (as defined by orient3d()), or the sign of the result will be reversed.
\n-
Parameters
\n- \n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
pePointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_orient2d()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_orient2d (REALpa,
REALpb,
REALpc 
)
\n-
\n-\n-

Adaptive exact 2D orientation test. Robust.

\n-
Returns
a positive value if the points pa, pb, and pc occur in counterclockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. The result is also a rough approximation of twice the signed area of the triangle defined by the three points.
\n-
Parameters
\n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_orient2dexact()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_orient2dexact (REALpa,
REALpb,
REALpc 
)
\n-
\n-\n-

Exact 2D orientation test. Robust.

\n-
Returns
a positive value if the points pa, pb, and pc occur in counterclockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. The result is also a rough approximation of twice the signed area of the triangle defined by the three points.
\n-
Parameters
\n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_orient2dfast()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_orient2dfast (REALpa,
REALpb,
REALpc 
)
\n-
\n-\n-

Approximate 2D orientation test. Nonrobust.

\n-
Returns
a positive value if the points pa, pb, and pc occur in counterclockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. The result is also a rough approximation of twice the signed area of the triangle defined by the three points.
\n-
Parameters
\n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_orient3d()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_orient3d (REALpa,
REALpb,
REALpc,
REALpd 
)
\n-
\n-\n-

Adaptive exact 3D orientation test. Robust.

\n-
Returns
a positive value if the point pd lies below the plane passing through pa, pb, and pc; \"below\" is defined so that pa, pb, and pc appear in counterclockwise order when viewed from above the plane. Returns a negative value if pd lies above the plane. Returns zero if the points are coplanar. The result is also a rough approximation of six times the signed volume of the tetrahedron defined by the four points.
\n-
Parameters
\n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_orient3dexact()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_orient3dexact (REALpa,
REALpb,
REALpc,
REALpd 
)
\n-
\n-\n-

Exact 3D orientation test. Robust.

\n-
Returns
a positive value if the point pd lies below the plane passing through pa, pb, and pc; \"below\" is defined so that pa, pb, and pc appear in counterclockwise order when viewed from above the plane. Returns a negative value if pd lies above the plane. Returns zero if the points are coplanar. The result is also a rough approximation of six times the signed volume of the tetrahedron defined by the four points.
\n-
Parameters
\n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-\n-

◆ Vpred_orient3dfast()

\n-\n-
\n-
\n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n- \n-
REAL Vpred_orient3dfast (REALpa,
REALpb,
REALpc,
REALpd 
)
\n-
\n-\n-

Approximate 3D orientation test. Nonrobust.

\n-
Returns
a positive value if the point pd lies below the plane passing through pa, pb, and pc; \"below\" is defined so that pa, pb, and pc appear in counterclockwise order when viewed from above the plane. Returns a negative value if pd lies above the plane. Returns zero if the points are coplanar. The result is also a rough approximation of six times the signed volume of the tetrahedron defined by the four points.
\n-
Parameters
\n- \n- \n- \n- \n- \n-
paPointer to a real parameter
pbPointer to a real parameter
pcPointer to a real parameter
pdPointer to a real parameter
\n-
\n-
\n-\n-
\n-
\n-
\n+\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,86 +1,30 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-_\bM_\ba_\bc_\br_\bo_\bs | _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs\n-vpred.h File Reference\n-Header file for the Geometric Predicates. _\bM_\bo_\br_\be_\b._\b._\b.\n+vsys.h File Reference\n+_\bg_\bl_\bo_\bb_\ba_\bl_\b__\bm_\ba_\bl_\bo_\bc_\b _\bc_\bl_\ba_\bs_\bs\n+The primary header for VSYS. (Virtual SYStem utilities library.) _\bM_\bo_\br_\be_\b._\b._\b.\n #include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-Include dependency graph for vpred.h:\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bi_\bo_\b._\bh>\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\be_\bt_\b._\bh>\n+#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bp_\br_\be_\bd_\b._\bh>\n+Include dependency graph for vsys.h:\n This graph shows which files directly or indirectly include this file:\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bs_\bo_\bu_\br_\bc_\be_\b _\bc_\bo_\bd_\be_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n-M\bMa\bac\bcr\bro\bos\bs\n-#define\u00a0 _\bI_\bN_\bE_\bX_\bA_\bC_\bT\u00a0\u00a0\u00a0/* Nothing */\n-\u00a0 Parameters and constants \"INEXACT\".\n-\u00a0\n-#define\u00a0 _\bR_\bE_\bA_\bL\u00a0\u00a0\u00a0double\n-\u00a0 float or double\n-\u00a0\n-#define\u00a0 _\bR_\bE_\bA_\bL_\bP_\bR_\bI_\bN_\bT\u00a0\u00a0\u00a0doubleprint\n-\u00a0 Print the bit representation of a double.\n-\u00a0\n-#define\u00a0 _\bR_\bE_\bA_\bL_\bR_\bA_\bN_\bD\u00a0\u00a0\u00a0doublerand\n-\u00a0 Generate a double with random 53-bit significand and a random exponent\n- in [0, 511].\n-\u00a0\n-#define\u00a0 _\bN_\bA_\bR_\bR_\bO_\bW_\bR_\bA_\bN_\bD\u00a0\u00a0\u00a0narrowdoublerand\n-\u00a0 Generate a double with random 53-bit significand and a random exponent\n- in [0, 7].\n-\u00a0\n-#define\u00a0 _\bU_\bN_\bI_\bF_\bO_\bR_\bM_\bR_\bA_\bN_\bD\u00a0\u00a0\u00a0uniformdoublerand\n-\u00a0 Generate a double with random 53-bit significand.\n-\u00a0\n-F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs\n-void\u00a0 _\bV_\bp_\br_\be_\bd_\b__\be_\bx_\ba_\bc_\bt_\bi_\bn_\bi_\bt (void)\n-\u00a0 Initialize the variables used for exact arithmetic.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc)\n-\u00a0 Adaptive exact 2D orientation test. Robust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc)\n-\u00a0 Approximate 2D orientation test. Nonrobust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc)\n-\u00a0 Exact 2D orientation test. Robust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n-\u00a0 Adaptive exact 3D orientation test. Robust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n-\u00a0 Approximate 3D orientation test. Nonrobust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n-\u00a0 Exact 3D orientation test. Robust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n-\u00a0 Adaptive exact 2D incircle test. Robust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n-\u00a0 Approximate 2D incircle test. Nonrobust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd)\n-\u00a0 Exact 2D incircle test. Robust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe)\n-\u00a0 Adaptive exact 3D insphere test. Robust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\bf_\ba_\bs_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe)\n-\u00a0 Approximate 3D insphere test. Nonrobust.\n-\u00a0\n-_\bR_\bE_\bA_\bL\u00a0 _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\be_\bx_\ba_\bc_\bt (_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe)\n-\u00a0 Exact 3D insphere test. Robust.\n-\u00a0\n *\b**\b**\b**\b**\b* D\bDe\bet\bta\bai\bil\ble\bed\bd D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-Header file for the Geometric Predicates.\n- Version\n- Id\n- _\bv_\bp_\br_\be_\bd_\b._\bh,v 1.4 2010/08/12 05:40:37 fetk Exp\n+The primary header for VSYS. (Virtual SYStem utilities library.)\n Author\n Michael Holst\n+ Version\n+ Id\n+ _\bv_\bs_\by_\bs_\b._\bh,v 1.12 2010/08/12 05:40:37 fetk Exp\n Attention\n *\n * MALOC = < Minimal Abstraction Layer for Object-oriented C >\n * Copyright (C) 1994-- Michael Holst\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n@@ -93,256 +37,9 @@\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\n *\n-*\b**\b**\b**\b**\b* M\bMa\bac\bcr\bro\bo D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0I\bIN\bNE\bEX\bXA\bAC\bCT\bT *\b**\b**\b**\b**\b*\n-#define INEXACT\u00a0\u00a0\u00a0/* Nothing */\n-Parameters and constants \"INEXACT\".\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0N\bNA\bAR\bRR\bRO\bOW\bWR\bRA\bAN\bND\bD *\b**\b**\b**\b**\b*\n-#define NARROWRAND\u00a0\u00a0\u00a0narrowdoublerand\n-Generate a double with random 53-bit significand and a random exponent in [0,\n-7].\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0R\bRE\bEA\bAL\bL *\b**\b**\b**\b**\b*\n-#define REAL\u00a0\u00a0\u00a0double\n-float or double\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0R\bRE\bEA\bAL\bLP\bPR\bRI\bIN\bNT\bT *\b**\b**\b**\b**\b*\n-#define REALPRINT\u00a0\u00a0\u00a0doubleprint\n-Print the bit representation of a double.\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0R\bRE\bEA\bAL\bLR\bRA\bAN\bND\bD *\b**\b**\b**\b**\b*\n-#define REALRAND\u00a0\u00a0\u00a0doublerand\n-Generate a double with random 53-bit significand and a random exponent in [0,\n-511].\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0U\bUN\bNI\bIF\bFO\bOR\bRM\bMR\bRA\bAN\bND\bD *\b**\b**\b**\b**\b*\n-#define UNIFORMRAND\u00a0\u00a0\u00a0uniformdoublerand\n-Generate a double with random 53-bit significand.\n-*\b**\b**\b**\b**\b* F\bFu\bun\bnc\bct\bti\bio\bon\bn D\bDo\boc\bcu\bum\bme\ben\bnt\bta\bat\bti\bio\bon\bn *\b**\b**\b**\b**\b*\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_e\bex\bxa\bac\bct\bti\bin\bni\bit\bt(\b()\b) *\b**\b**\b**\b**\b*\n-void Vpred_exactinit ( void\u00a0 )\n-Initialize the variables used for exact arithmetic.\n- Note\n- \u2018epsilon\u2019 is the largest power of two such that 1.0 + epsilon = 1.0 in\n- floating-point arithmetic. \u2018epsilon\u2019 bounds the relative roundoff error.\n- It is used for floating-point error analysis. \u2018splitter\u2019 is used to split\n- floating-point numbers into two half- length significands for exact\n- multiplication. I imagine that a highly optimizing compiler might be too\n- smart for its own good, and somehow cause this routine to fail, if it\n- pretends that floating-point arithmetic is too much like real arithmetic.\n- Don't change this routine unless you fully understand it.\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bnc\bci\bir\brc\bcl\ble\be(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_incircle ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n- )\n-Adaptive exact 2D incircle test. Robust.\n- Returns\n- a positive value if the point pd lies inside the circle passing through\n- pa, pb, and pc; a negative value if it lies outside; and zero if the four\n- points are cocircular. The points pa, pb, and pc must be in\n- counterclockwise order, or the sign of the result will be reversed.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bnc\bci\bir\brc\bcl\ble\bee\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_incircleexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n- )\n-Exact 2D incircle test. Robust.\n- Returns\n- a positive value if the point pd lies inside the circle passing through\n- pa, pb, and pc; a negative value if it lies outside; and zero if the four\n- points are cocircular. The points pa, pb, and pc must be in\n- counterclockwise order, or the sign of the result will be reversed.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bnc\bci\bir\brc\bcl\ble\bef\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_incirclefast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n- )\n-Approximate 2D incircle test. Nonrobust.\n- Returns\n- a positive value if the point pd lies inside the circle passing through\n- pa, pb, and pc; a negative value if it lies outside; and zero if the four\n- points are cocircular. The points pa, pb, and pc must be in\n- counterclockwise order, or the sign of the result will be reversed.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bns\bsp\bph\bhe\ber\bre\be(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_insphere ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpe\be\u00a0\n- )\n-Adaptive exact 3D insphere test. Robust.\n- Returns\n- a positive value if the point pe lies inside the sphere passing through\n- pa, pb, pc, and pd; a negative value if it lies outside; and zero if the\n- five points are cospherical. The points pa, pb, pc, and pd must be\n- ordered so that they have a positive orientation (as defined by orient3d\n- ()), or the sign of the result will be reversed.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n- pe Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bns\bsp\bph\bhe\ber\bre\bee\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_insphereexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpe\be\u00a0\n- )\n-Exact 3D insphere test. Robust.\n- Returns\n- a positive value if the point pe lies inside the sphere passing through\n- pa, pb, pc, and pd; a negative value if it lies outside; and zero if the\n- five points are cospherical. The points pa, pb, pc, and pd must be\n- ordered so that they have a positive orientation (as defined by orient3d\n- ()), or the sign of the result will be reversed.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n- pe Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_i\bin\bns\bsp\bph\bhe\ber\bre\bef\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_inspherefast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpe\be\u00a0\n- )\n-Approximate 3D insphere test. Nonrobust.\n- Returns\n- a positive value if the point pe lies inside the sphere passing through\n- pa, pb, pc, and pd; a negative value if it lies outside; and zero if the\n- five points are cospherical. The points pa, pb, pc, and pd must be\n- ordered so that they have a positive orientation (as defined by orient3d\n- ()), or the sign of the result will be reversed.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n- pe Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt2\b2d\bd(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_orient2d ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc\u00a0\n- )\n-Adaptive exact 2D orientation test. Robust.\n- Returns\n- a positive value if the points pa, pb, and pc occur in counterclockwise\n- order; a negative value if they occur in clockwise order; and zero if\n- they are collinear. The result is also a rough approximation of twice the\n- signed area of the triangle defined by the three points.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt2\b2d\bde\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_orient2dexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc\u00a0\n- )\n-Exact 2D orientation test. Robust.\n- Returns\n- a positive value if the points pa, pb, and pc occur in counterclockwise\n- order; a negative value if they occur in clockwise order; and zero if\n- they are collinear. The result is also a rough approximation of twice the\n- signed area of the triangle defined by the three points.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt2\b2d\bdf\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_orient2dfast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc\u00a0\n- )\n-Approximate 2D orientation test. Nonrobust.\n- Returns\n- a positive value if the points pa, pb, and pc occur in counterclockwise\n- order; a negative value if they occur in clockwise order; and zero if\n- they are collinear. The result is also a rough approximation of twice the\n- signed area of the triangle defined by the three points.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt3\b3d\bd(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_orient3d ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n- )\n-Adaptive exact 3D orientation test. Robust.\n- Returns\n- a positive value if the point pd lies below the plane passing through pa,\n- pb, and pc; \"below\" is defined so that pa, pb, and pc appear in\n- counterclockwise order when viewed from above the plane. Returns a\n- negative value if pd lies above the plane. Returns zero if the points are\n- coplanar. The result is also a rough approximation of six times the\n- signed volume of the tetrahedron defined by the four points.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt3\b3d\bde\bex\bxa\bac\bct\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_orient3dexact ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n- )\n-Exact 3D orientation test. Robust.\n- Returns\n- a positive value if the point pd lies below the plane passing through pa,\n- pb, and pc; \"below\" is defined so that pa, pb, and pc appear in\n- counterclockwise order when viewed from above the plane. Returns a\n- negative value if pd lies above the plane. Returns zero if the points are\n- coplanar. The result is also a rough approximation of six times the\n- signed volume of the tetrahedron defined by the four points.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n-*\b**\b**\b**\b**\b* _\b?\b\u25c6_\b?\b\u00a0V\bVp\bpr\bre\bed\bd_\b_o\bor\bri\bie\ben\bnt\bt3\b3d\bdf\bfa\bas\bst\bt(\b()\b) *\b**\b**\b**\b**\b*\n-_\bR_\bE_\bA_\bL Vpred_orient3dfast ( _\bR_\bE_\bA_\bL *\u00a0 p\bpa\ba,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpb\bb,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpc\bc,\n- _\bR_\bE_\bA_\bL *\u00a0 p\bpd\bd\u00a0\n- )\n-Approximate 3D orientation test. Nonrobust.\n- Returns\n- a positive value if the point pd lies below the plane passing through pa,\n- pb, and pc; \"below\" is defined so that pa, pb, and pc appear in\n- counterclockwise order when viewed from above the plane. Returns a\n- negative value if pd lies above the plane. Returns zero if the points are\n- coplanar. The result is also a rough approximation of six times the\n- signed volume of the tetrahedron defined by the four points.\n- Parameters\n- pa Pointer to a real parameter\n- pb Pointer to a real parameter\n- pc Pointer to a real parameter\n- pd Pointer to a real parameter\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00035_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00035_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-MALOC: vpred.h Source File\n+MALOC: vsys.h Source File\n \n \n \n \n \n \n
\n@@ -44,95 +44,37 @@\n \n
\n \n
\n
\n
\n-
vpred.h
\n+
vsys.h
\n
\n
\n Go to the documentation of this file.
1
\n-
30#ifndef _VPRED_H_
\n-
31#define _VPRED_H_
\n-
32
\n-
33#include <maloc/maloc_base.h>
\n-
34
\n-
35/* random() prototype seems to be missing in <stdlib.h> */
\n-
36/*
\n-
37 * if !defined(VOSF1)
\n-
38 * extern long int random(void);
\n-
39 * endif
\n-
40 */
\n+
31#ifndef _VSYS_H_
\n+
32#define _VSYS_H_
\n+
33
\n+
34#include <maloc/maloc_base.h>
\n+
35
\n+
36#include <maloc/vnm.h>
\n+
37#include <maloc/vmem.h>
\n+
38#include <maloc/vio.h>
\n+
39#include <maloc/vset.h>
\n+
40#include <maloc/vpred.h>
\n
41
\n-
42/* On some machines, the exact arithmetic routines might be defeated by the */
\n-
43/* use of internal extended precision floating-point registers. Sometimes */
\n-
44/* this problem can be fixed by defining certain values to be volatile, */
\n-
45/* thus forcing them to be stored to memory and rounded off. This isn't */
\n-
46/* a great solution, though, as it slows the arithmetic down. */
\n-
47/* */
\n-
48/* To try this out, write "#define INEXACT volatile" below. Normally, */
\n-
49/* however, INEXACT should be defined to be nothing. ("#define INEXACT".) */
\n-
50
\n-
52#define INEXACT /* Nothing */
\n-
53/* #define INEXACT volatile */
\n-
54
\n-
56#define REAL double
\n-
57
\n-
59#define REALPRINT doubleprint
\n-
60
\n-
63#define REALRAND doublerand
\n-
64
\n-
67#define NARROWRAND narrowdoublerand
\n-
68
\n-
70#define UNIFORMRAND uniformdoublerand
\n-
71
\n-
84void Vpred_exactinit(void);
\n-
85
\n-\n-
98
\n-\n-
111
\n-\n-
124
\n-
139REAL Vpred_orient3d(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
\n-
140
\n-\n-
156
\n-\n-
172
\n-
185REAL Vpred_incircle(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
\n-
186
\n-\n-
200
\n-\n-
214
\n-
228REAL Vpred_insphere(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
\n-
229
\n-
243REAL Vpred_inspherefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
\n-
244
\n-
258REAL Vpred_insphereexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
\n-
259
\n-
260#endif /* _VPRED_H_ */
\n-
261
\n+
42#endif /* _VSYS_H_ */
\n+
43
\n
The base (or foundation) header for MALOC.
\n-
REAL Vpred_orient2d(REAL *pa, REAL *pb, REAL *pc)
Adaptive exact 2D orientation test. Robust.
\n-
REAL Vpred_orient3dfast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Approximate 3D orientation test. Nonrobust.
\n-
#define REAL
float or double
Definition vpred.h:56
\n-
REAL Vpred_orient3dexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Exact 3D orientation test. Robust.
\n-
REAL Vpred_inspherefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
Approximate 3D insphere test. Nonrobust.
\n-
REAL Vpred_orient3d(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Adaptive exact 3D orientation test. Robust.
\n-
REAL Vpred_insphereexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
Exact 3D insphere test. Robust.
\n-
void Vpred_exactinit(void)
Initialize the variables used for exact arithmetic.
\n-
REAL Vpred_incircleexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Exact 2D incircle test. Robust.
\n-
REAL Vpred_insphere(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)
Adaptive exact 3D insphere test. Robust.
\n-
REAL Vpred_orient2dfast(REAL *pa, REAL *pb, REAL *pc)
Approximate 2D orientation test. Nonrobust.
\n-
REAL Vpred_orient2dexact(REAL *pa, REAL *pb, REAL *pc)
Exact 2D orientation test. Robust.
\n-
REAL Vpred_incircle(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Adaptive exact 2D incircle test. Robust.
\n-
REAL Vpred_incirclefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)
Approximate 2D incircle test. Nonrobust.
\n+
Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.
\n+
Header file for the Geometric Predicates.
\n+
Header file for an ISO C [V]irtual [N]umerical [M]achine.
\n+
Class Vset: a dynamic set object.
\n+
Class Vmem: A safer, object-oriented, malloc/free object.
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,117 +1,34 @@\n MALOC\u00a00.1\n * _\bs_\br_\bc\n * _\bv_\bs_\by_\bs\n * _\bm_\ba_\bl_\bo_\bc\n-vpred.h\n+vsys.h\n _\bG_\bo_\b _\bt_\bo_\b _\bt_\bh_\be_\b _\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bf_\b _\bt_\bh_\bi_\bs_\b _\bf_\bi_\bl_\be_\b.\n 1\n-30#ifndef _VPRED_H_\n-31#define _VPRED_H_\n-32\n-33#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n-34\n-35/* random() prototype seems to be missing in */\n-36/*\n-37 * if !defined(VOSF1)\n-38 * extern long int random(void);\n-39 * endif\n-40 */\n+31#ifndef _VSYS_H_\n+32#define _VSYS_H_\n+33\n+34#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh>\n+35\n+36#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bn_\bm_\b._\bh>\n+37#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bm_\be_\bm_\b._\bh>\n+38#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bi_\bo_\b._\bh>\n+39#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bs_\be_\bt_\b._\bh>\n+40#include <_\bm_\ba_\bl_\bo_\bc_\b/_\bv_\bp_\br_\be_\bd_\b._\bh>\n 41\n-42/* On some machines, the exact arithmetic routines might be defeated by the\n-*/\n-43/* use of internal extended precision floating-point registers. Sometimes */\n-44/* this problem can be fixed by defining certain values to be volatile, */\n-45/* thus forcing them to be stored to memory and rounded off. This isn't */\n-46/* a great solution, though, as it slows the arithmetic down. */\n-47/* */\n-48/* To try this out, write \"#define INEXACT volatile\" below. Normally, */\n-49/* however, INEXACT should be defined to be nothing. (\"#define INEXACT\".) */\n-50\n-_\b5_\b2#define INEXACT /* Nothing */\n-53/* #define INEXACT volatile */\n-54\n-_\b5_\b6#define REAL double\n-57\n-_\b5_\b9#define REALPRINT doubleprint\n-60\n-_\b6_\b3#define REALRAND doublerand\n-64\n-_\b6_\b7#define NARROWRAND narrowdoublerand\n-68\n-_\b7_\b0#define UNIFORMRAND uniformdoublerand\n-71\n-_\b8_\b4void _\bV_\bp_\br_\be_\bd_\b__\be_\bx_\ba_\bc_\bt_\bi_\bn_\bi_\bt(void);\n-85\n-_\b9_\b7_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc);\n-98\n-_\b1_\b1_\b0_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc);\n-111\n-_\b1_\b2_\b3_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc);\n-124\n-_\b1_\b3_\b9_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n-140\n-_\b1_\b5_\b5_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n-156\n-_\b1_\b7_\b1_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n-172\n-_\b1_\b8_\b5_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n-186\n-_\b1_\b9_\b9_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n-200\n-_\b2_\b1_\b3_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd);\n-214\n-_\b2_\b2_\b8_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe);\n-229\n-_\b2_\b4_\b3_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\bf_\ba_\bs_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe);\n-244\n-_\b2_\b5_\b8_\bR_\bE_\bA_\bL _\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\be_\bx_\ba_\bc_\bt(_\bR_\bE_\bA_\bL *pa, _\bR_\bE_\bA_\bL *pb, _\bR_\bE_\bA_\bL *pc, _\bR_\bE_\bA_\bL *pd, _\bR_\bE_\bA_\bL *pe);\n-259\n-260#endif /* _VPRED_H_ */\n-261\n+42#endif /* _VSYS_H_ */\n+43\n _\bm_\ba_\bl_\bo_\bc_\b__\bb_\ba_\bs_\be_\b._\bh\n The base (or foundation) header for MALOC.\n-_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd\n-REAL Vpred_orient2d(REAL *pa, REAL *pb, REAL *pc)\n-Adaptive exact 2D orientation test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\bf_\ba_\bs_\bt\n-REAL Vpred_orient3dfast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n-Approximate 3D orientation test. Nonrobust.\n-_\bR_\bE_\bA_\bL\n-#define REAL\n-float or double\n-D\bDe\bef\bfi\bin\bni\bit\bti\bio\bon\bn vpred.h:56\n-_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd_\be_\bx_\ba_\bc_\bt\n-REAL Vpred_orient3dexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n-Exact 3D orientation test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\bf_\ba_\bs_\bt\n-REAL Vpred_inspherefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)\n-Approximate 3D insphere test. Nonrobust.\n-_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b3_\bd\n-REAL Vpred_orient3d(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n-Adaptive exact 3D orientation test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be_\be_\bx_\ba_\bc_\bt\n-REAL Vpred_insphereexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)\n-Exact 3D insphere test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\be_\bx_\ba_\bc_\bt_\bi_\bn_\bi_\bt\n-void Vpred_exactinit(void)\n-Initialize the variables used for exact arithmetic.\n-_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\be_\bx_\ba_\bc_\bt\n-REAL Vpred_incircleexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n-Exact 2D incircle test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bs_\bp_\bh_\be_\br_\be\n-REAL Vpred_insphere(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe)\n-Adaptive exact 3D insphere test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\bf_\ba_\bs_\bt\n-REAL Vpred_orient2dfast(REAL *pa, REAL *pb, REAL *pc)\n-Approximate 2D orientation test. Nonrobust.\n-_\bV_\bp_\br_\be_\bd_\b__\bo_\br_\bi_\be_\bn_\bt_\b2_\bd_\be_\bx_\ba_\bc_\bt\n-REAL Vpred_orient2dexact(REAL *pa, REAL *pb, REAL *pc)\n-Exact 2D orientation test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be\n-REAL Vpred_incircle(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n-Adaptive exact 2D incircle test. Robust.\n-_\bV_\bp_\br_\be_\bd_\b__\bi_\bn_\bc_\bi_\br_\bc_\bl_\be_\bf_\ba_\bs_\bt\n-REAL Vpred_incirclefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd)\n-Approximate 2D incircle test. Nonrobust.\n+_\bv_\bi_\bo_\b._\bh\n+Class Vio: virtual I/O layer.\n+_\bv_\bp_\br_\be_\bd_\b._\bh\n+Header file for the Geometric Predicates.\n+_\bv_\bn_\bm_\b._\bh\n+Header file for an ISO C [V]irtual [N]umerical [M]achine.\n+_\bv_\bs_\be_\bt_\b._\bh\n+Class Vset: a dynamic set object.\n+_\bv_\bm_\be_\bm_\b._\bh\n+Class Vmem: A safer, object-oriented, malloc/free object.\n ===============================================================================\n Generated by\u00a0_\b[_\bd_\bo_\bx_\by_\bg_\be_\bn_\b] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00036.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00036.dot.gz", "unified_diff": null, "details": [{"source1": "a00036.dot", "source2": "a00036.dot", "unified_diff": "@@ -1,14 +1,14 @@\n-digraph \"vpred.h\"\n+digraph \"vsys.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vpred.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node1 [id=\"Node000001\",label=\"vsys.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node2 [id=\"Node000002\",label=\"maloc/maloc_base.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00002.html\",tooltip=\"The base (or foundation) header for MALOC.\"];\n Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node3 [id=\"Node000003\",label=\"assert.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node4 [id=\"Node000004\",label=\"ctype.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node5 [id=\"edge4_Node000002_Node000005\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n@@ -33,8 +33,26 @@\n Node14 [id=\"Node000014\",label=\"stdlib.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n+ Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node19 [id=\"edge19_Node000001_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node20 [id=\"edge21_Node000001_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node20 [id=\"Node000020\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node20 -> Node18 [id=\"edge23_Node000020_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node21 [id=\"edge24_Node000001_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node21 [id=\"Node000021\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node21 -> Node2 [id=\"edge25_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node21 -> Node18 [id=\"edge26_Node000021_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node21 -> Node19 [id=\"edge27_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node22 [id=\"edge28_Node000001_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node22 [id=\"Node000022\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node22 -> Node2 [id=\"edge29_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00037.dot", "source2": "./usr/share/doc/libmaloc-dev/html/a00037.dot", "unified_diff": "@@ -1,28 +1,26 @@\n-digraph \"vpred.h\"\n+digraph \"vsys.h\"\n {\n // LATEX_PDF_SIZE\n bgcolor=\"transparent\";\n edge [fontname=FreeSans,fontsize=10,labelfontname=FreeSans,labelfontsize=10];\n node [fontname=FreeSans,fontsize=10,shape=box,height=0.2,width=0.4];\n- Node1 [id=\"Node000001\",label=\"vpred.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node1 [id=\"Node000001\",label=\"vsys.h\",height=0.2,width=0.4,color=\"gray40\", fillcolor=\"grey60\", style=\"filled\", fontcolor=\"black\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node1 -> Node2 [id=\"edge1_Node000001_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 [id=\"Node000002\",label=\"vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n- Node2 -> Node3 [id=\"edge2_Node000002_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node3 [id=\"Node000003\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n- Node2 -> Node4 [id=\"edge3_Node000002_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node4 [id=\"Node000004\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n- Node4 -> Node3 [id=\"edge4_Node000004_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node5 [id=\"edge5_Node000002_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node5 [id=\"Node000005\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n- Node5 -> Node6 [id=\"edge6_Node000005_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node6 [id=\"Node000006\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n- Node6 -> Node4 [id=\"edge7_Node000006_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node6 [id=\"edge8_Node000002_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node7 [id=\"edge9_Node000002_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node7 [id=\"Node000007\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n- Node7 -> Node6 [id=\"edge10_Node000007_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node2 -> Node8 [id=\"edge11_Node000002_Node000008\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 [id=\"Node000008\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n- Node8 -> Node3 [id=\"edge12_Node000008_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node8 -> Node4 [id=\"edge13_Node000008_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node2 [id=\"Node000002\",label=\"maloc.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00038.html\",tooltip=\"The foundation header for MALOC.\"];\n+ Node1 -> Node3 [id=\"edge2_Node000001_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node3 [id=\"Node000003\",label=\"psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node3 -> Node2 [id=\"edge3_Node000003_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node4 [id=\"edge4_Node000001_Node000004\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node4 [id=\"Node000004\",label=\"vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node4 -> Node5 [id=\"edge5_Node000004_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node5 [id=\"Node000005\",label=\"vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node5 -> Node3 [id=\"edge6_Node000005_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node5 [id=\"edge7_Node000001_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node6 [id=\"edge8_Node000001_Node000006\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node6 [id=\"Node000006\",label=\"vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node6 -> Node5 [id=\"edge9_Node000006_Node000005\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node1 -> Node7 [id=\"edge10_Node000001_Node000007\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node7 [id=\"Node000007\",label=\"vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n+ Node7 -> Node2 [id=\"edge11_Node000007_Node000002\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n+ Node7 -> Node3 [id=\"edge12_Node000007_Node000003\",dir=\"back\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00038.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00038.html", "unified_diff": "@@ -47,17 +47,17 @@\n \n
\n \n

The foundation header for MALOC.
\n \n More...

\n
#include <maloc/maloc_base.h>
\n-#include <maloc/vsys.h>
\n+#include <maloc/vsys.h>
\n #include <maloc/vsh.h>
\n-#include <maloc/psh.h>
\n+#include <maloc/psh.h>
\n
\n Include dependency graph for maloc.h:
\n
\n
\"\"/
\n
\n
\n

Go to the source code of this file.

\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00038_source.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00038_source.html", "unified_diff": "@@ -53,24 +53,24 @@\n
\n Go to the documentation of this file.
1
\n
35#ifndef _MALOC_H_
\n
36#define _MALOC_H_
\n
37
\n
38#include <maloc/maloc_base.h>
\n
39
\n-
40#include <maloc/vsys.h>
\n+
40#include <maloc/vsys.h>
\n
41#include <maloc/vsh.h>
\n-
42#include <maloc/psh.h>
\n+
42#include <maloc/psh.h>
\n
43
\n
44#endif /* _MALOC_H_ */
\n
45
\n
The base (or foundation) header for MALOC.
\n-
Header file for a simple parallel extension of ALOC's VSH.
\n+
Header file for a simple parallel extension of ALOC's VSH.
\n
Header file for vsh, a bourne-compatible shell.
\n-
The primary header for VSYS. (Virtual SYStem utilities library.)
\n+
The primary header for VSYS. (Virtual SYStem utilities library.)
\n
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00039.dot.gz", "source2": "./usr/share/doc/libmaloc-dev/html/a00039.dot.gz", "unified_diff": null, "details": [{"source1": "a00039.dot", "source2": "a00039.dot", "unified_diff": "@@ -34,49 +34,49 @@\n Node2 -> Node15 [id=\"edge14_Node000002_Node000015\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node15 [id=\"Node000015\",label=\"string.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node16 [id=\"edge15_Node000002_Node000016\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node16 [id=\"Node000016\",label=\"time.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node2 -> Node17 [id=\"edge16_Node000002_Node000017\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node17 [id=\"Node000017\",label=\"setjmp.h\",height=0.2,width=0.4,color=\"grey60\", fillcolor=\"#E0E0E0\", style=\"filled\",tooltip=\" \"];\n Node1 -> Node18 [id=\"edge17_Node000001_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n+ Node18 [id=\"Node000018\",label=\"maloc/vsys.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"The primary header for VSYS. (Virtual SYStem utilities library.)\"];\n Node18 -> Node2 [id=\"edge18_Node000018_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node19 [id=\"edge19_Node000018_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n+ Node19 [id=\"Node000019\",label=\"maloc/vnm.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Header file for an ISO C [V]irtual [N]umerical [M]achine.\"];\n Node19 -> Node2 [id=\"edge20_Node000019_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node20 [id=\"edge21_Node000018_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n+ Node20 [id=\"Node000020\",label=\"maloc/vmem.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vmem: A safer, object-oriented, malloc/free object.\"];\n Node20 -> Node2 [id=\"edge22_Node000020_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node21 [id=\"edge23_Node000018_Node000021\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00032.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n+ Node21 [id=\"Node000021\",label=\"maloc/vio.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00020.html\",tooltip=\"Class Vio: virtual I/O layer.\"];\n Node21 -> Node2 [id=\"edge24_Node000021_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node21 -> Node19 [id=\"edge25_Node000021_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node22 [id=\"edge26_Node000018_Node000022\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00026.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n+ Node22 [id=\"Node000022\",label=\"maloc/vset.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00029.html\",tooltip=\"Class Vset: a dynamic set object.\"];\n Node22 -> Node2 [id=\"edge27_Node000022_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node19 [id=\"edge28_Node000022_Node000019\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node22 -> Node20 [id=\"edge29_Node000022_Node000020\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node18 -> Node23 [id=\"edge30_Node000018_Node000023\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00035.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n+ Node23 [id=\"Node000023\",label=\"maloc/vpred.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00023.html\",tooltip=\"Header file for the Geometric Predicates.\"];\n Node23 -> Node2 [id=\"edge31_Node000023_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node24 [id=\"edge32_Node000001_Node000024\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node24 [id=\"Node000024\",label=\"maloc/vsh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00017.html\",tooltip=\"Header file for vsh, a bourne-compatible shell.\"];\n Node24 -> Node2 [id=\"edge33_Node000024_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node24 -> Node18 [id=\"edge34_Node000024_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node1 -> Node25 [id=\"edge35_Node000001_Node000025\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node25 [id=\"Node000025\",label=\"maloc/psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n+ Node25 [id=\"Node000025\",label=\"maloc/psh.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Header file for a simple parallel extension of ALOC's VSH.\"];\n Node25 -> Node2 [id=\"edge36_Node000025_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node25 -> Node18 [id=\"edge37_Node000025_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node25 -> Node24 [id=\"edge38_Node000025_Node000024\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node25 -> Node26 [id=\"edge39_Node000025_Node000026\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node26 [id=\"Node000026\",label=\"maloc/vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n+ Node26 [id=\"Node000026\",label=\"maloc/vmp.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vmp: a Virtual MPI communication layer object.\"];\n Node26 -> Node2 [id=\"edge40_Node000026_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node26 -> Node18 [id=\"edge41_Node000026_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node26 -> Node27 [id=\"edge42_Node000026_Node000027\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node27 [id=\"Node000027\",label=\"maloc/vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00008.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n+ Node27 [id=\"Node000027\",label=\"maloc/vmpi.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00014.html\",tooltip=\"Class Vmpi: a Virtual MPI communication layer object.\"];\n Node27 -> Node2 [id=\"edge43_Node000027_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node27 -> Node18 [id=\"edge44_Node000027_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node26 -> Node28 [id=\"edge45_Node000026_Node000028\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n- Node28 [id=\"Node000028\",label=\"maloc/vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00011.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n+ Node28 [id=\"Node000028\",label=\"maloc/vcom.h\",height=0.2,width=0.4,color=\"grey40\", fillcolor=\"white\", style=\"filled\",URL=\"$a00005.html\",tooltip=\"Class Vcom: virtual (currently just MPI) communications layer.\"];\n Node28 -> Node2 [id=\"edge46_Node000028_Node000002\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n Node28 -> Node18 [id=\"edge47_Node000028_Node000018\",color=\"steelblue1\",style=\"solid\",tooltip=\" \"];\n }\n"}]}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00047.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00047.html", "unified_diff": "@@ -49,16 +49,16 @@\n More...

\n \n \n \n \n \n-\n-\n+\n+\n \n \n \n \n

\n Files

file  maloc_base.h
 The base (or foundation) header for MALOC.
 
file  vsys.h
 The primary header for VSYS. (Virtual SYStem utilities library.)
file  vsys.h
 The primary header for VSYS. (Virtual SYStem utilities library.)
 
file  maloc.h
 The foundation header for MALOC.
\n
 
\n

Detailed Description

\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00048.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00048.html", "unified_diff": "@@ -49,16 +49,16 @@\n
\n \n

Virtual (currently just MPI) communications layer. \n More...

\n \n \n-\n-\n+\n+\n \n

\n Files

file  vcom.h
 Class Vcom: virtual (currently just MPI) communications layer.
file  vcom.h
 Class Vcom: virtual (currently just MPI) communications layer.
 
\n \n \n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00049.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00049.html", "unified_diff": "@@ -49,16 +49,16 @@\n
\n \n

A Virtual MPI communication layer object. \n More...

\n

\n Classes

struct  sVcom
 Contains public data members for Vcom class. More...
 
\n \n-\n-\n+\n+\n \n

\n Files

file  vmp.h
 Class Vmp: a Virtual MPI communication layer object.
file  vmp.h
 Class Vmp: a Virtual MPI communication layer object.
 
\n \n \n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00050.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00050.html", "unified_diff": "@@ -49,16 +49,16 @@\n
\n \n

A Virtual MPI communication lawyer object. \n More...

\n

\n Classes

struct  sVmp
 Contains public data members for Vmp class. More...
 
\n \n-\n-\n+\n+\n \n

\n Files

file  vmpi.h
 Class Vmpi: a Virtual MPI communication layer object.
file  vmpi.h
 Class Vmpi: a Virtual MPI communication layer object.
 
\n \n \n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00051.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00051.html", "unified_diff": "@@ -49,16 +49,16 @@\n
\n \n

A bourne-compatible shell. \n More...

\n

\n Classes

struct  sVmpi
 Class Vmpi: Definition. More...
 
\n \n-\n-\n+\n+\n \n \n \n \n

\n Files

file  psh.h
 Header file for a simple parallel extension of ALOC's VSH.
file  psh.h
 Header file for a simple parallel extension of ALOC's VSH.
 
file  vsh.h
 Header file for vsh, a bourne-compatible shell.
 
\n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00052.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00052.html", "unified_diff": "@@ -50,16 +50,16 @@\n
\n \n

This class provides an I/O layer for files/bufferes/pipes/sockets. \n More...

\n

\n Classes

\n \n-\n-\n+\n+\n \n

\n Files

file  vio.h
 Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.
file  vio.h
 Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.
 
\n \n \n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00053.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00053.html", "unified_diff": "@@ -49,16 +49,16 @@\n
\n \n

This class provides a safe logged version of malloc and free. \n More...

\n

\n Classes

struct  sVio
 Contains public data members for Vio class. More...
 
\n \n-\n-\n+\n+\n \n

\n Files

file  vmem.h
 Class Vmem: A safer, object-oriented, malloc/free object.
file  vmem.h
 Class Vmem: A safer, object-oriented, malloc/free object.
 
\n \n \n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00054.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00054.html", "unified_diff": "@@ -49,16 +49,16 @@\n
\n \n

A dynamic set object. \n More...

\n

\n Classes

struct  sVmem
 Contains public data members for Vmem class. More...
 
\n \n-\n-\n+\n+\n \n

\n Files

file  vset.h
 Class Vset: a dynamic set object.
file  vset.h
 Class Vset: a dynamic set object.
 
\n \n \n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00058.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00058.html", "unified_diff": "@@ -45,15 +45,15 @@\n
sVcom Struct Reference
\n \n
\n \n

Contains public data members for Vcom class. \n More...

\n \n-

#include <vcom.h>

\n+

#include <vcom.h>

\n

\n Classes

struct  sVset
 Contains public data members for Vset class. More...
 
\n \n \n \n \n \n@@ -155,15 +155,15 @@\n

Communication type.
\n 0 = not initialized
\n 1 = Message Passing Interface 1.1.

\n \n \n \n
The documentation for this struct was generated from the following file:\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00062.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00062.html", "unified_diff": "@@ -45,15 +45,15 @@\n
sVmp Struct Reference
\n \n
\n \n

Contains public data members for Vmp class. \n More...

\n \n-

#include <vmp.h>

\n+

#include <vmp.h>

\n

\n Public Attributes

int mpi_rank
 Local PE rank from MPI.
 
int mpi_size
\n \n \n \n \n \n@@ -92,15 +92,15 @@\n
\n

number of processess in this execution
\n

\n \n
\n \n
The documentation for this struct was generated from the following file:\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00066.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00066.html", "unified_diff": "@@ -45,15 +45,15 @@\n
sVmpi Struct Reference
\n \n
\n \n

Class Vmpi: Definition. \n More...

\n \n-

#include <vmpi.h>

\n+

#include <vmpi.h>

\n

\n Public Attributes

int mpi_rank
 
int mpi_size
 
\n \n \n \n \n \n@@ -91,15 +91,15 @@\n
\n

number of processess in this execution
\n

\n \n
\n \n
The documentation for this struct was generated from the following file:\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00074.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00074.html", "unified_diff": "@@ -45,15 +45,15 @@\n
sVio Struct Reference
\n \n
\n \n

Contains public data members for Vio class. \n More...

\n \n-

#include <vio.h>

\n+

#include <vio.h>

\n

\n Public Attributes

int mpi_rank
 
int mpi_size
 
\n \n \n \n \n \n@@ -450,15 +450,15 @@\n
\n

white space character set (ASC)
\n

\n \n
\n \n
The documentation for this struct was generated from the following file:\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00078.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00078.html", "unified_diff": "@@ -45,15 +45,15 @@\n
sVmem Struct Reference
\n \n
\n \n

Contains public data members for Vmem class. \n More...

\n \n-

#include <vmem.h>

\n+

#include <vmem.h>

\n

\n Public Attributes

VIOtype type
 
VIOfrmt frmt
 
\n \n \n \n \n \n@@ -144,15 +144,15 @@\n
\n

name of class we manage malloc areas for
\n

\n \n
\n \n
The documentation for this struct was generated from the following file:\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/a00082.html", "source2": "./usr/share/doc/libmaloc-dev/html/a00082.html", "unified_diff": "@@ -45,15 +45,15 @@\n
sVset Struct Reference
\n \n
\n \n

Contains public data members for Vset class. \n More...

\n \n-

#include <vset.h>

\n+

#include <vset.h>

\n
\n Collaboration diagram for sVset:
\n
\n
\"Collaboration
\n
[legend]
\n

\n Public Attributes

char name [VMAX_ARGLEN]
 
size_t mallocBytes
 
\n \n \n \n \n \n \n-\n-\n-\n-\n+\n+\n+\n+\n \n \n \n \n \n-\n-\n-\n-\n-\n-\n+\n+\n+\n+\n+\n+\n \n \n

\n@@ -354,15 +354,15 @@\n \n

the memory manager
\n

\n \n \n \n
The documentation for this struct was generated from the following file:\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000000_000007.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000000_000007.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

aaa_inc → psh Relation

File in src/aaa_incIncludes file in src/psh
maloc / maloc.hmaloc / psh.h
\n+

aaa_inc → psh Relation

File in src/aaa_incIncludes file in src/psh
maloc / maloc.hmaloc / psh.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000000_000010.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000000_000010.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

aaa_inc → vsys Relation

File in src/aaa_incIncludes file in src/vsys
maloc / maloc.hmaloc / vsys.h
\n+

aaa_inc → vsys Relation

File in src/aaa_incIncludes file in src/vsys
maloc / maloc.hmaloc / vsys.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000002_000007.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000002_000007.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

maloc → psh Relation

File in src/aaa_inc/malocIncludes file in src/psh
maloc.hmaloc / psh.h
\n+

maloc → psh Relation

File in src/aaa_inc/malocIncludes file in src/psh
maloc.hmaloc / psh.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000002_000010.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000002_000010.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

maloc → vsys Relation

File in src/aaa_inc/malocIncludes file in src/vsys
maloc.hmaloc / vsys.h
\n+

maloc → vsys Relation

File in src/aaa_inc/malocIncludes file in src/vsys
maloc.hmaloc / vsys.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000004_000001.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000004_000001.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

maloc → base Relation

File in src/psh/malocIncludes file in src/base
psh.hmaloc / maloc_base.h
vcom.hmaloc / maloc_base.h
vmp.hmaloc / maloc_base.h
vmpi.hmaloc / maloc_base.h
\n+

maloc → base Relation

File in src/psh/malocIncludes file in src/base
psh.hmaloc / maloc_base.h
vcom.hmaloc / maloc_base.h
vmp.hmaloc / maloc_base.h
vmpi.hmaloc / maloc_base.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000004_000009.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000004_000009.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

maloc → vsh Relation

File in src/psh/malocIncludes file in src/vsh
psh.hmaloc / vsh.h
\n+

maloc → vsh Relation

File in src/psh/malocIncludes file in src/vsh
psh.hmaloc / vsh.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000004_000010.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000004_000010.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

maloc → vsys Relation

File in src/psh/malocIncludes file in src/vsys
psh.hmaloc / vsys.h
vcom.hmaloc / vsys.h
vmp.hmaloc / vsys.h
vmpi.hmaloc / vsys.h
\n+

maloc → vsys Relation

File in src/psh/malocIncludes file in src/vsys
psh.hmaloc / vsys.h
vcom.hmaloc / vsys.h
vmp.hmaloc / vsys.h
vmpi.hmaloc / vsys.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000005_000010.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000005_000010.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

maloc → vsys Relation

File in src/vsh/malocIncludes file in src/vsys
vsh.hmaloc / vsys.h
\n+

maloc → vsys Relation

File in src/vsh/malocIncludes file in src/vsys
vsh.hmaloc / vsys.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000006_000001.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000006_000001.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

maloc → base Relation

File in src/vsys/malocIncludes file in src/base
vio.hmaloc / maloc_base.h
vmem.hmaloc / maloc_base.h
vnm.hmaloc / maloc_base.h
vpred.hmaloc / maloc_base.h
vset.hmaloc / maloc_base.h
vsys.hmaloc / maloc_base.h
\n+

maloc → base Relation

File in src/vsys/malocIncludes file in src/base
vio.hmaloc / maloc_base.h
vmem.hmaloc / maloc_base.h
vnm.hmaloc / maloc_base.h
vpred.hmaloc / maloc_base.h
vset.hmaloc / maloc_base.h
vsys.hmaloc / maloc_base.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000007_000001.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000007_000001.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

psh → base Relation

File in src/pshIncludes file in src/base
maloc / psh.hmaloc / maloc_base.h
maloc / vcom.hmaloc / maloc_base.h
maloc / vmp.hmaloc / maloc_base.h
maloc / vmpi.hmaloc / maloc_base.h
\n+

psh → base Relation

File in src/pshIncludes file in src/base
maloc / psh.hmaloc / maloc_base.h
maloc / vcom.hmaloc / maloc_base.h
maloc / vmp.hmaloc / maloc_base.h
maloc / vmpi.hmaloc / maloc_base.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000007_000009.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000007_000009.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

psh → vsh Relation

File in src/pshIncludes file in src/vsh
maloc / psh.hmaloc / vsh.h
\n+

psh → vsh Relation

File in src/pshIncludes file in src/vsh
maloc / psh.hmaloc / vsh.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000007_000010.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000007_000010.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

psh → vsys Relation

File in src/pshIncludes file in src/vsys
maloc / psh.hmaloc / vsys.h
maloc / vcom.hmaloc / vsys.h
maloc / vmp.hmaloc / vsys.h
maloc / vmpi.hmaloc / vsys.h
\n+

psh → vsys Relation

File in src/pshIncludes file in src/vsys
maloc / psh.hmaloc / vsys.h
maloc / vcom.hmaloc / vsys.h
maloc / vmp.hmaloc / vsys.h
maloc / vmpi.hmaloc / vsys.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000009_000010.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000009_000010.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

vsh → vsys Relation

File in src/vshIncludes file in src/vsys
maloc / vsh.hmaloc / vsys.h
\n+

vsh → vsys Relation

File in src/vshIncludes file in src/vsys
maloc / vsh.hmaloc / vsys.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_000010_000001.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_000010_000001.html", "unified_diff": "@@ -39,14 +39,14 @@\n
\n
\n \n
\n \n
\n-

vsys → base Relation

File in src/vsysIncludes file in src/base
maloc / vio.hmaloc / maloc_base.h
maloc / vmem.hmaloc / maloc_base.h
maloc / vnm.hmaloc / maloc_base.h
maloc / vpred.hmaloc / maloc_base.h
maloc / vset.hmaloc / maloc_base.h
maloc / vsys.hmaloc / maloc_base.h
\n+

vsys → base Relation

File in src/vsysIncludes file in src/base
maloc / vio.hmaloc / maloc_base.h
maloc / vmem.hmaloc / maloc_base.h
maloc / vnm.hmaloc / maloc_base.h
maloc / vpred.hmaloc / maloc_base.h
maloc / vset.hmaloc / maloc_base.h
maloc / vsys.hmaloc / maloc_base.h
\n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_4487082feb20b0a33d872f1cd04ae7e1.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_4487082feb20b0a33d872f1cd04ae7e1.html", "unified_diff": "@@ -50,25 +50,25 @@\n Directory dependency graph for maloc:\n
\n
\"maloc\"/
\n
\n \n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n

\n Files

 psh.h
 Header file for a simple parallel extension of ALOC's VSH.
 psh.h
 Header file for a simple parallel extension of ALOC's VSH.
 
 vcom.h
 Class Vcom: virtual (currently just MPI) communications layer.
 vcom.h
 Class Vcom: virtual (currently just MPI) communications layer.
 
 vmp.h
 Class Vmp: a Virtual MPI communication layer object.
 vmp.h
 Class Vmp: a Virtual MPI communication layer object.
 
 vmpi.h
 Class Vmpi: a Virtual MPI communication layer object.
 vmpi.h
 Class Vmpi: a Virtual MPI communication layer object.
 
\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/dir_dd09f1089953cfb53b7653deda4818f6.html", "source2": "./usr/share/doc/libmaloc-dev/html/dir_dd09f1089953cfb53b7653deda4818f6.html", "unified_diff": "@@ -50,31 +50,31 @@\n Directory dependency graph for maloc:\n
\n
\"maloc\"/
\n
\n \n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n-\n-\n+\n+\n \n

\n Files

 vio.h
 Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.
 vio.h
 Class Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer.
 
 vmem.h
 Class Vmem: A safer, object-oriented, malloc/free object.
 vmem.h
 Class Vmem: A safer, object-oriented, malloc/free object.
 
 vnm.h
 Header file for an ISO C [V]irtual [N]umerical [M]achine.
 vnm.h
 Header file for an ISO C [V]irtual [N]umerical [M]achine.
 
 vpred.h
 Header file for the Geometric Predicates.
 vpred.h
 Header file for the Geometric Predicates.
 
 vset.h
 Class Vset: a dynamic set object.
 vset.h
 Class Vset: a dynamic set object.
 
 vsys.h
 The primary header for VSYS. (Virtual SYStem utilities library.)
 vsys.h
 The primary header for VSYS. (Virtual SYStem utilities library.)
 
\n \n \n
\n Generated by \"doxygen\"/ 1.9.8\n
\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/files.html", "source2": "./usr/share/doc/libmaloc-dev/html/files.html", "unified_diff": "@@ -50,29 +50,29 @@\n
 maloc.hThe foundation header for MALOC.
\n
  base
  maloc
 maloc_base.hThe base (or foundation) header for MALOC
  psh
  maloc
 psh.hHeader file for a simple parallel extension of ALOC's VSH
 vcom.hClass Vcom: virtual (currently just MPI) communications layer
 vmp.hClass Vmp: a Virtual MPI communication layer object
 vmpi.hClass Vmpi: a Virtual MPI communication layer object
 psh.hHeader file for a simple parallel extension of ALOC's VSH
 vcom.hClass Vcom: virtual (currently just MPI) communications layer
 vmp.hClass Vmp: a Virtual MPI communication layer object
 vmpi.hClass Vmpi: a Virtual MPI communication layer object
  vsh
  maloc
 vsh.hHeader file for vsh, a bourne-compatible shell
  vsys
  maloc
 vio.hClass Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer
 vmem.hClass Vmem: A safer, object-oriented, malloc/free object
 vnm.hHeader file for an ISO C [V]irtual [N]umerical [M]achine
 vpred.hHeader file for the Geometric Predicates
 vset.hClass Vset: a dynamic set object
 vsys.hThe primary header for VSYS. (Virtual SYStem utilities library.)
 vio.hClass Vio: virtual <SDIO/FILE/BUFF/UNIX/INET> I/O layer
 vmem.hClass Vmem: A safer, object-oriented, malloc/free object
 vnm.hHeader file for an ISO C [V]irtual [N]umerical [M]achine
 vpred.hHeader file for the Geometric Predicates
 vset.hClass Vset: a dynamic set object
 vsys.hThe primary header for VSYS. (Virtual SYStem utilities library.)
 prog.h
 license.h
\n
\n
\n \n
\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/globals_defs.html", "source2": "./usr/share/doc/libmaloc-dev/html/globals_defs.html", "unified_diff": "@@ -54,32 +54,32 @@\n \n

- e -

\n \n \n

- i -

\n \n \n

- n -

\n \n \n

- r -

\n \n \n

- u -

\n \n \n

- v -

\n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/globals_func.html", "source2": "./usr/share/doc/libmaloc-dev/html/globals_func.html", "unified_diff": "@@ -111,67 +111,67 @@\n
  • Vmpi_init() : vmpi.h
  • \n
  • Vmpi_isend() : vmpi.h
  • \n
  • Vmpi_rank() : vmpi.h
  • \n
  • Vmpi_recv() : vmpi.h
  • \n
  • Vmpi_reduce() : vmpi.h
  • \n
  • Vmpi_send() : vmpi.h
  • \n
  • Vmpi_size() : vmpi.h
  • \n-
  • Vnm_chdir() : vnm.h
  • \n-
  • Vnm_close() : vnm.h
  • \n-
  • Vnm_dqsort() : vnm.h
  • \n-
  • Vnm_dqsortOrd() : vnm.h
  • \n-
  • Vnm_epsmac() : vnm.h
  • \n-
  • Vnm_exec() : vnm.h
  • \n-
  • Vnm_flush() : vnm.h
  • \n-
  • Vnm_gentokens() : vnm.h
  • \n-
  • Vnm_getcwd() : vnm.h
  • \n-
  • Vnm_gethome() : vnm.h
  • \n-
  • Vnm_gethost() : vnm.h
  • \n-
  • Vnm_getos() : vnm.h
  • \n-
  • Vnm_getuser() : vnm.h
  • \n-
  • Vnm_ioTag() : vnm.h
  • \n-
  • Vnm_jmpOk() : vnm.h
  • \n-
  • Vnm_jmpOkClear() : vnm.h
  • \n-
  • Vnm_jmpOkSet() : vnm.h
  • \n-
  • Vnm_mkdir() : vnm.h
  • \n-
  • Vnm_nTags() : vnm.h
  • \n-
  • Vnm_open() : vnm.h
  • \n-
  • Vnm_powsafe() : vnm.h
  • \n-
  • Vnm_print() : vnm.h
  • \n-
  • Vnm_qsort() : vnm.h
  • \n-
  • Vnm_qsortOrd() : vnm.h
  • \n-
  • Vnm_redirect() : vnm.h
  • \n-
  • Vnm_regHand() : vnm.h
  • \n-
  • Vnm_setIoTag() : vnm.h
  • \n-
  • Vnm_sigHand() : vnm.h
  • \n-
  • Vnm_sigInt() : vnm.h
  • \n-
  • Vnm_sigIntClear() : vnm.h
  • \n-
  • Vnm_sigIntSet() : vnm.h
  • \n-
  • Vnm_signalInit() : vnm.h
  • \n-
  • Vnm_sleep() : vnm.h
  • \n-
  • Vnm_system() : vnm.h
  • \n-
  • Vnm_systemBack() : vnm.h
  • \n-
  • Vnm_systemKill() : vnm.h
  • \n-
  • Vnm_tprint() : vnm.h
  • \n-
  • Vnm_tstart() : vnm.h
  • \n-
  • Vnm_tstop() : vnm.h
  • \n-
  • Vnm_typeChk() : vnm.h
  • \n-
  • Vpred_exactinit() : vpred.h
  • \n-
  • Vpred_incircle() : vpred.h
  • \n-
  • Vpred_incircleexact() : vpred.h
  • \n-
  • Vpred_incirclefast() : vpred.h
  • \n-
  • Vpred_insphere() : vpred.h
  • \n-
  • Vpred_insphereexact() : vpred.h
  • \n-
  • Vpred_inspherefast() : vpred.h
  • \n-
  • Vpred_orient2d() : vpred.h
  • \n-
  • Vpred_orient2dexact() : vpred.h
  • \n-
  • Vpred_orient2dfast() : vpred.h
  • \n-
  • Vpred_orient3d() : vpred.h
  • \n-
  • Vpred_orient3dexact() : vpred.h
  • \n-
  • Vpred_orient3dfast() : vpred.h
  • \n+
  • Vnm_chdir() : vnm.h
  • \n+
  • Vnm_close() : vnm.h
  • \n+
  • Vnm_dqsort() : vnm.h
  • \n+
  • Vnm_dqsortOrd() : vnm.h
  • \n+
  • Vnm_epsmac() : vnm.h
  • \n+
  • Vnm_exec() : vnm.h
  • \n+
  • Vnm_flush() : vnm.h
  • \n+
  • Vnm_gentokens() : vnm.h
  • \n+
  • Vnm_getcwd() : vnm.h
  • \n+
  • Vnm_gethome() : vnm.h
  • \n+
  • Vnm_gethost() : vnm.h
  • \n+
  • Vnm_getos() : vnm.h
  • \n+
  • Vnm_getuser() : vnm.h
  • \n+
  • Vnm_ioTag() : vnm.h
  • \n+
  • Vnm_jmpOk() : vnm.h
  • \n+
  • Vnm_jmpOkClear() : vnm.h
  • \n+
  • Vnm_jmpOkSet() : vnm.h
  • \n+
  • Vnm_mkdir() : vnm.h
  • \n+
  • Vnm_nTags() : vnm.h
  • \n+
  • Vnm_open() : vnm.h
  • \n+
  • Vnm_powsafe() : vnm.h
  • \n+
  • Vnm_print() : vnm.h
  • \n+
  • Vnm_qsort() : vnm.h
  • \n+
  • Vnm_qsortOrd() : vnm.h
  • \n+
  • Vnm_redirect() : vnm.h
  • \n+
  • Vnm_regHand() : vnm.h
  • \n+
  • Vnm_setIoTag() : vnm.h
  • \n+
  • Vnm_sigHand() : vnm.h
  • \n+
  • Vnm_sigInt() : vnm.h
  • \n+
  • Vnm_sigIntClear() : vnm.h
  • \n+
  • Vnm_sigIntSet() : vnm.h
  • \n+
  • Vnm_signalInit() : vnm.h
  • \n+
  • Vnm_sleep() : vnm.h
  • \n+
  • Vnm_system() : vnm.h
  • \n+
  • Vnm_systemBack() : vnm.h
  • \n+
  • Vnm_systemKill() : vnm.h
  • \n+
  • Vnm_tprint() : vnm.h
  • \n+
  • Vnm_tstart() : vnm.h
  • \n+
  • Vnm_tstop() : vnm.h
  • \n+
  • Vnm_typeChk() : vnm.h
  • \n+
  • Vpred_exactinit() : vpred.h
  • \n+
  • Vpred_incircle() : vpred.h
  • \n+
  • Vpred_incircleexact() : vpred.h
  • \n+
  • Vpred_incirclefast() : vpred.h
  • \n+
  • Vpred_insphere() : vpred.h
  • \n+
  • Vpred_insphereexact() : vpred.h
  • \n+
  • Vpred_inspherefast() : vpred.h
  • \n+
  • Vpred_orient2d() : vpred.h
  • \n+
  • Vpred_orient2dexact() : vpred.h
  • \n+
  • Vpred_orient2dfast() : vpred.h
  • \n+
  • Vpred_orient3d() : vpred.h
  • \n+
  • Vpred_orient3dexact() : vpred.h
  • \n+
  • Vpred_orient3dfast() : vpred.h
  • \n
  • Vset_access() : vset.h
  • \n
  • Vset_check() : vset.h
  • \n
  • Vset_create() : vset.h
  • \n
  • Vset_createLast() : vset.h
  • \n
  • Vset_ctor() : vset.h
  • \n
  • Vset_destroy() : vset.h
  • \n
  • Vset_destroyLast() : vset.h
  • \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/globals_i.html", "source2": "./usr/share/doc/libmaloc-dev/html/globals_i.html", "unified_diff": "@@ -38,15 +38,15 @@\n \n
    \n \n
    \n
    Here is a list of all file members with links to the files they belong to:
    \n \n

    - i -

    \n
    \n \n
    \n Generated by \"doxygen\"/ 1.9.8\n
    \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/globals_n.html", "source2": "./usr/share/doc/libmaloc-dev/html/globals_n.html", "unified_diff": "@@ -38,15 +38,15 @@\n \n
    \n \n
    \n
    Here is a list of all file members with links to the files they belong to:
    \n \n

    - n -

    \n
    \n \n
    \n Generated by \"doxygen\"/ 1.9.8\n
    \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/globals_r.html", "source2": "./usr/share/doc/libmaloc-dev/html/globals_r.html", "unified_diff": "@@ -38,17 +38,17 @@\n \n
    \n \n
    \n
    Here is a list of all file members with links to the files they belong to:
    \n \n

    - r -

    \n
    \n \n
    \n Generated by \"doxygen\"/ 1.9.8\n
    \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/globals_u.html", "source2": "./usr/share/doc/libmaloc-dev/html/globals_u.html", "unified_diff": "@@ -38,15 +38,15 @@\n \n
    \n \n
    \n
    Here is a list of all file members with links to the files they belong to:
    \n \n

    - u -

    \n
    \n \n
    \n Generated by \"doxygen\"/ 1.9.8\n
    \n \n"}, {"source1": "./usr/share/doc/libmaloc-dev/html/globals_v.html", "source2": "./usr/share/doc/libmaloc-dev/html/globals_v.html", "unified_diff": "@@ -59,15 +59,15 @@\n
  • Vcom_ctor() : vcom.h
  • \n
  • Vcom_ctor2() : vcom.h
  • \n
  • Vcom_dtor() : vcom.h
  • \n
  • Vcom_dtor2() : vcom.h
  • \n
  • Vcom_finalize() : vcom.h
  • \n
  • Vcom_getCount() : vcom.h
  • \n
  • Vcom_init() : vcom.h
  • \n-
  • VCOM_MPI_TAG : vcom.h
  • \n+
  • VCOM_MPI_TAG : vcom.h
  • \n
  • Vcom_rank() : vcom.h
  • \n
  • Vcom_recv() : vcom.h
  • \n
  • Vcom_reduce() : vcom.h
  • \n
  • Vcom_resize() : vcom.h
  • \n
  • Vcom_send() : vcom.h
  • \n
  • Vcom_size() : vcom.h
  • \n
  • VCOS : maloc_base.h
  • \n@@ -92,15 +92,15 @@\n
  • Vio_connectFree() : vio.h
  • \n
  • Vio_ctor() : vio.h
  • \n
  • Vio_ctor2() : vio.h
  • \n
  • Vio_dtor() : vio.h
  • \n
  • Vio_dtor2() : vio.h
  • \n
  • VIO_FILE : vio.h
  • \n
  • VIO_INET : vio.h
  • \n-
  • VIO_MAXBUF : vio.h
  • \n+
  • VIO_MAXBUF : vio.h
  • \n
  • VIO_NO_FRMT : vio.h
  • \n
  • VIO_NO_RW : vio.h
  • \n
  • VIO_NO_TYPE : vio.h
  • \n
  • Vio_printf() : vio.h
  • \n
  • VIO_R : vio.h
  • \n
  • Vio_read() : vio.h
  • \n
  • Vio_scanf() : vio.h
  • \n@@ -176,77 +176,77 @@\n
  • Vmpi_recv() : vmpi.h
  • \n
  • Vmpi_reduce() : vmpi.h
  • \n
  • Vmpi_send() : vmpi.h
  • \n
  • Vmpi_size() : vmpi.h
  • \n
  • VNEG : maloc_base.h
  • \n
  • VNEWLINE_STRING : maloc_base.h
  • \n
  • VNEWLINE_SYMBOL : maloc_base.h
  • \n-
  • Vnm_chdir() : vnm.h
  • \n-
  • Vnm_close() : vnm.h
  • \n-
  • Vnm_dqsort() : vnm.h
  • \n-
  • Vnm_dqsortOrd() : vnm.h
  • \n-
  • Vnm_epsmac() : vnm.h
  • \n-
  • Vnm_exec() : vnm.h
  • \n-
  • Vnm_flush() : vnm.h
  • \n-
  • Vnm_gentokens() : vnm.h
  • \n-
  • Vnm_getcwd() : vnm.h
  • \n-
  • Vnm_gethome() : vnm.h
  • \n-
  • Vnm_gethost() : vnm.h
  • \n-
  • Vnm_getos() : vnm.h
  • \n-
  • Vnm_getuser() : vnm.h
  • \n-
  • Vnm_ioTag() : vnm.h
  • \n-
  • Vnm_jmpOk() : vnm.h
  • \n-
  • Vnm_jmpOkClear() : vnm.h
  • \n-
  • Vnm_jmpOkSet() : vnm.h
  • \n-
  • Vnm_mkdir() : vnm.h
  • \n-
  • Vnm_nTags() : vnm.h
  • \n-
  • Vnm_open() : vnm.h
  • \n-
  • Vnm_powsafe() : vnm.h
  • \n-
  • Vnm_print() : vnm.h
  • \n-
  • Vnm_qsort() : vnm.h
  • \n-
  • Vnm_qsortOrd() : vnm.h
  • \n-
  • Vnm_redirect() : vnm.h
  • \n-
  • Vnm_regHand() : vnm.h
  • \n-
  • Vnm_setIoTag() : vnm.h
  • \n-
  • Vnm_sigHand() : vnm.h
  • \n-
  • Vnm_sigInt() : vnm.h
  • \n-
  • Vnm_sigIntClear() : vnm.h
  • \n-
  • Vnm_sigIntSet() : vnm.h
  • \n-
  • Vnm_signalInit() : vnm.h
  • \n-
  • Vnm_sleep() : vnm.h
  • \n-
  • Vnm_system() : vnm.h
  • \n-
  • Vnm_systemBack() : vnm.h
  • \n-
  • Vnm_systemKill() : vnm.h
  • \n-
  • Vnm_tprint() : vnm.h
  • \n-
  • Vnm_tstart() : vnm.h
  • \n-
  • Vnm_tstop() : vnm.h
  • \n-
  • Vnm_typeChk() : vnm.h
  • \n+
  • Vnm_chdir() : vnm.h
  • \n+
  • Vnm_close() : vnm.h
  • \n+
  • Vnm_dqsort() : vnm.h
  • \n+
  • Vnm_dqsortOrd() : vnm.h
  • \n+
  • Vnm_epsmac() : vnm.h
  • \n+
  • Vnm_exec() : vnm.h
  • \n+
  • Vnm_flush() : vnm.h
  • \n+
  • Vnm_gentokens() : vnm.h
  • \n+
  • Vnm_getcwd() : vnm.h
  • \n+
  • Vnm_gethome() : vnm.h
  • \n+
  • Vnm_gethost() : vnm.h
  • \n+
  • Vnm_getos() : vnm.h
  • \n+
  • Vnm_getuser() : vnm.h
  • \n+
  • Vnm_ioTag() : vnm.h
  • \n+
  • Vnm_jmpOk() : vnm.h
  • \n+
  • Vnm_jmpOkClear() : vnm.h
  • \n+
  • Vnm_jmpOkSet() : vnm.h
  • \n+
  • Vnm_mkdir() : vnm.h
  • \n+
  • Vnm_nTags() : vnm.h
  • \n+
  • Vnm_open() : vnm.h
  • \n+
  • Vnm_powsafe() : vnm.h
  • \n+
  • Vnm_print() : vnm.h
  • \n+
  • Vnm_qsort() : vnm.h
  • \n+
  • Vnm_qsortOrd() : vnm.h
  • \n+
  • Vnm_redirect() : vnm.h
  • \n+
  • Vnm_regHand() : vnm.h
  • \n+
  • Vnm_setIoTag() : vnm.h
  • \n+
  • Vnm_sigHand() : vnm.h
  • \n+
  • Vnm_sigInt() : vnm.h
  • \n+
  • Vnm_sigIntClear() : vnm.h
  • \n+
  • Vnm_sigIntSet() : vnm.h
  • \n+
  • Vnm_signalInit() : vnm.h
  • \n+
  • Vnm_sleep() : vnm.h
  • \n+
  • Vnm_system() : vnm.h
  • \n+
  • Vnm_systemBack() : vnm.h
  • \n+
  • Vnm_systemKill() : vnm.h
  • \n+
  • Vnm_tprint() : vnm.h
  • \n+
  • Vnm_tstart() : vnm.h
  • \n+
  • Vnm_tstop() : vnm.h
  • \n+
  • Vnm_typeChk() : vnm.h
  • \n
  • VNULL : maloc_base.h
  • \n
  • VNULL_STRING : maloc_base.h
  • \n
  • VNULL_SYMBOL : maloc_base.h
  • \n
  • VODD : maloc_base.h
  • \n
  • VPI : maloc_base.h
  • \n
  • VPIPE_SYMBOL : maloc_base.h
  • \n-
  • VPORTNUMBER : vio.h
  • \n+
  • VPORTNUMBER : vio.h
  • \n
  • VPOS : maloc_base.h
  • \n
  • VPOW : maloc_base.h
  • \n-
  • VPOW_SAFE : vnm.h
  • \n-
  • Vpred_exactinit() : vpred.h
  • \n-
  • Vpred_incircle() : vpred.h
  • \n-
  • Vpred_incircleexact() : vpred.h
  • \n-
  • Vpred_incirclefast() : vpred.h
  • \n-
  • Vpred_insphere() : vpred.h
  • \n-
  • Vpred_insphereexact() : vpred.h
  • \n-
  • Vpred_inspherefast() : vpred.h
  • \n-
  • Vpred_orient2d() : vpred.h
  • \n-
  • Vpred_orient2dexact() : vpred.h
  • \n-
  • Vpred_orient2dfast() : vpred.h
  • \n-
  • Vpred_orient3d() : vpred.h
  • \n-
  • Vpred_orient3dexact() : vpred.h
  • \n-
  • Vpred_orient3dfast() : vpred.h
  • \n+
  • VPOW_SAFE : vnm.h
  • \n+
  • Vpred_exactinit() : vpred.h
  • \n+
  • Vpred_incircle() : vpred.h
  • \n+
  • Vpred_incircleexact() : vpred.h
  • \n+
  • Vpred_incirclefast() : vpred.h
  • \n+
  • Vpred_insphere() : vpred.h
  • \n+
  • Vpred_insphereexact() : vpred.h
  • \n+
  • Vpred_inspherefast() : vpred.h
  • \n+
  • Vpred_orient2d() : vpred.h
  • \n+
  • Vpred_orient2dexact() : vpred.h
  • \n+
  • Vpred_orient2dfast() : vpred.h
  • \n+
  • Vpred_orient3d() : vpred.h
  • \n+
  • Vpred_orient3dexact() : vpred.h
  • \n+
  • Vpred_orient3dfast() : vpred.h
  • \n
  • VPRIVATE : maloc_base.h
  • \n
  • VPRTKEY : maloc_base.h
  • \n
  • VPTRSIZE : maloc_base.h
  • \n
  • VPUBLIC : maloc_base.h
  • \n
  • VRAND : maloc_base.h
  • \n
  • VRANDMAX : maloc_base.h
  • \n
  • VRDIN_SYMBOL : maloc_base.h
  • \n@@ -294,15 +294,15 @@\n
  • VSINH : maloc_base.h
  • \n
  • VSMALL : maloc_base.h
  • \n
  • VSQR : maloc_base.h
  • \n
  • VSQRT : maloc_base.h
  • \n
  • VSTDMODE : maloc_base.h
  • \n
  • VTAN : maloc_base.h
  • \n
  • VTANH : maloc_base.h
  • \n-
  • VTIMERS : vnm.h
  • \n+
  • VTIMERS : vnm.h
  • \n
  • VTRUE : maloc_base.h
  • \n
  • VVLARGE : maloc_base.h
  • \n
  • VVSMALL : maloc_base.h
  • \n
  • VWARN : maloc_base.h
  • \n
  • VWARN1 : maloc_base.h
  • \n
  • VZERO : maloc_base.h
  • \n \n"}]}, {"source1": "xz --list", "source2": "xz --list", "unified_diff": "@@ -1,13 +1,13 @@\n Streams: 1\n Blocks: 1\n- Compressed size: 113.7 KiB (116404 B)\n+ Compressed size: 113.7 KiB (116400 B)\n Uncompressed size: 1760.0 KiB (1802240 B)\n Ratio: 0.065\n Check: CRC64\n Stream Padding: 0 B\n Streams:\n Stream Blocks CompOffset UncompOffset CompSize UncompSize Ratio Check Padding\n- 1 1 0 0 116404 1802240 0.065 CRC64 0\n+ 1 1 0 0 116400 1802240 0.065 CRC64 0\n Blocks:\n Stream Block CompOffset UncompOffset TotalSize UncompSize Ratio Check\n- 1 1 12 0 116368 1802240 0.065 CRC64\n+ 1 1 12 0 116364 1802240 0.065 CRC64\n"}]}]}]}