search for: nwrite

Displaying 7 results from an estimated 7 matches for "nwrite".

Did you mean: write
2008 Jul 05
4
iostat and monitoring
Hi gurus, I like zpool iostat and I like system monitoring, so I setup a script within sma to let me get the zpool iostat figures through snmp. The problem is that as zpool iostat is only run once for each snmp query, it always reports a static set of figures, like so: root at exodus:snmp # zpool iostat -v capacity operations bandwidth pool used avail read
2004 Nov 16
2
win32-file: nread and nwrite
Hi all, I''ve got alpha versions of nread and nwrite now added to the win32-file class in CVS. They seem to work fine, although I''ve noticed one bug in the File#read method. Let''s say we have a text file with "hello world" in it. If I call nread with no arguments, it works fine: fh = File.nopen("C:\\test.txt"...
2004 Nov 17
1
nread and nwrite optimizations
Hi all, So far, so good. Things seem to work just fine and, in the case of nread, I am getting incredible performance. I can''t tell if this is due to some kind of caching, however. Anyway, there a couple of things I want to work out yet. The first is File#nread and Really Big Files. I created a 500 mb text file and sucked it into memory using Ruby''s File#read method just
2007 May 04
0
[ win32utils-Feature Requests-1435 ] Move native IO routines to the IO class
...rg/tracker/?func=detail&atid=414&aid=1435&group_id=85 Category: win32-file Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Daniel Berger (djberg96) Summary: Move native IO routines to the IO class Initial Comment: The nread and nwrite methods to the IO class, instead of the File class. Also, create class methods for each. ---------------------------------------------------------------------- >Comment By: Daniel Berger (djberg96) Date: 2007-05-04 14:20 Message: Update: the nread and nwrite methods were removed from the pur...
2011 Apr 19
0
Error message in package:bayesSurv. Why?
...[[ii]] <- predictive2(Surv(rep(1, nr), rep(1, nr)) ~ Child+blustatus+well.before+earlydep+cluster(Idnr), random=~1, grid=pred.grid, data=pdata.now, Gspline=list(dim=1, K=15), quantile=quants, skip=skip, by=1, nwrite=nwrite, only.aver=FALSE, predict=list(density=TRUE, Surv=TRUE, hazard=TRUE), dir="chaindir.childmdd", extens="_2", extens.random="_b2", version=3) } } which seems to correspond, gives the error message Error in pred...
2004 Nov 21
3
win32-file, overlapped added
Hi all, I''ve got overlapped and offset support in both nread and nwrite. The only thing left before I want to release this (as 0.4.0) is to get NO_BUFFERING to work. Unfortunately, I can''t get it to work. Park, I looked at that site you sent (and borrowed some code from it), but I don''t see anything special happening for NO_BUFFERING. I thought...
2004 May 20
0
Latest win32-file commit
..., for the open method, if it''s 1 argument use the default Ruby method, but if it''s 5 arguments (the number of arguments that CreateFile() takes, excluding a security descriptor and a template file) use the native Win32 call. Or should we just give them separate names, e.g. nopen, nwrite, nclose? If we''re going to overload, how do we do it? Rewrite the code using C++? That would be fine with me since we''re assuming VC++ anyway I think. Second, I''m not entirely sure how to handle overlapped IO. If a user passes File::OVERLAPPED | File::NO_BUFFERING, s...