You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ch= (jump==nJumps-1) ? eof- (ptrdiff_t)(0.5*jump0size) : // to almost-surely sample the last line
1944
+
pos+jump*((eof-pos)/(nJumps-1));
1945
1945
ch=nextGoodLine(ch, ncol);
1946
1946
}
1947
1947
if (ch<lastRowEnd) ch=lastRowEnd; // Overlap when apx 1,200 lines (just over 11*100) with short lines at the beginning and longer lines near the end, #2157
@@ -1978,7 +1978,7 @@ int freadMain(freadMainArgs _args) {
1978
1978
if (jump==0&&bumped) {
1979
1979
// apply bumps after each line in the first jump from the start in case invalid line stopped early on is in the first 100 lines.
1980
1980
// otherwise later jumps must complete fully before their bumps are applied. Invalid lines in those are more likely to be due to bad jump start.
1981
-
memcpy(type, tmpType, (size_t)ncol);
1981
+
memcpy(type, tmpType, ncol);
1982
1982
bumped= false; // detect_types() only updates &bumped when it's true. So reset to false here.
1983
1983
}
1984
1984
}
@@ -1992,7 +1992,7 @@ int freadMain(freadMainArgs _args) {
1992
1992
if (bumped) {
1993
1993
// when jump>0, apply the bumps (if any) at the end of the successfully completed jump sample
1994
1994
ASSERT(jump>0, "jump(%d)>0", jump);
1995
-
memcpy(type, tmpType, (size_t)ncol);
1995
+
memcpy(type, tmpType, ncol);
1996
1996
}
1997
1997
if (verbose&& (bumped||jump==0||jump==nJumps-1)) {
Copy file name to clipboardExpand all lines: vignettes/datatable-reshape.Rmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ DT
153
153
## 1 = female, 2 = male
154
154
```
155
155
156
-
And you'd like to combine (`melt`) all the `dob` columns together, and `gender` columns together. Using the current functionality, we can do something like this:
156
+
And you'd like to combine (`melt`) all the `dob` columns together, and `gender` columns together. Using the old functionality, we could do something like this:
0 commit comments