ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/ray/src/rt/RcontribSimulManager.cpp
(Generate patch)

Comparing ray/src/rt/RcontribSimulManager.cpp (file contents):
Revision 2.15 by greg, Fri Oct 17 17:43:53 2025 UTC vs.
Revision 2.17 by greg, Thu Oct 23 16:33:39 2025 UTC

# Line 58 | Line 58 | static const char      ROW_DONE[] = "ROW FINISHED\n";
58   static RcontribMod *
59   NewRcMod(const char *prms, const char *binexpr, int ncbins)
60   {
61 +        if (binexpr && !*binexpr) binexpr = NULL;
62          if (!prms) prms = "";
63          if ((ncbins > 1) & !binexpr) {
64                  error(USER, "missing bin expression");
# Line 115 | Line 116 | formstr(int f)
116          return("unknown");
117   }
118  
119 < // Our default data share function
119 > // Standard file data share function
120   RdataShare *
121 < defDataShare(const char *name, RCOutputOp op, size_t siz)
121 > fileDataShare(const char *name, RCOutputOp op, size_t siz)
122 > {
123 >        return new RdataShareFile(name, RSDOflags[op], siz);
124 > }
125 >
126 > // Memory-mapped data share function
127 > RdataShare *
128 > mapDataShare(const char *name, RCOutputOp op, size_t siz)
129   {
130          return new RdataShareMap(name, RSDOflags[op], siz);
131   }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)