search for: get_region_buffsize

Displaying 5 results from an estimated 5 matches for "get_region_buffsize".

2019 Aug 28
3
What is the best way to loop over an ALTREP vector?
Hi devel team, I'm working on C/C++ level ALTREP compatibility for a package. The package previously used pointers to access the data of a SEXP, so it would not work for some ALTREP objects which do not have a pointer. I plan to rewrite the code and use functions like get_elt, get_region, and get_subset to access the values of a vector, so I have a few questions for ALTREP: 1. Since an
2019 Sep 23
2
What is the best way to loop over an ALTREP vector?
...se for the "outer", batch counter in the >>> for loop. This will contain the 0-indexed start position of the batch >>> you're currently processing >>> - nb - variable name to use for the current batch size. This will >>> always either be GET_REGION_BUFFSIZE (512), or the number of elements >>> remaining in the vector, whichever is smaller >>> - etype - element (C) type, e.g., int, double, of the data >>> - vtype - vector (access API) type, e.g, INTEGER, REAL >>> - strt - the 0-indexed position in the vec...
2019 Sep 23
0
What is the best way to loop over an ALTREP vector?
...riable name to use for the "outer", batch counter in the >> for loop. This will contain the 0-indexed start position of the batch >> you're currently processing >> - nb - variable name to use for the current batch size. This will >> always either be GET_REGION_BUFFSIZE (512), or the number of elements >> remaining in the vector, whichever is smaller >> - etype - element (C) type, e.g., int, double, of the data >> - vtype - vector (access API) type, e.g, INTEGER, REAL >> - strt - the 0-indexed position in the vector to start ite...
2019 Sep 24
2
What is the best way to loop over an ALTREP vector?
...ounter in the > >>>> for loop. This will contain the 0-indexed start position of the > batch > >>>> you're currently processing > >>>> - nb - variable name to use for the current batch size. This will > >>>> always either be GET_REGION_BUFFSIZE (512), or the number of > elements > >>>> remaining in the vector, whichever is smaller > >>>> - etype - element (C) type, e.g., int, double, of the data > >>>> - vtype - vector (access API) type, e.g, INTEGER, REAL > >>>> - str...
2019 Sep 24
0
What is the best way to loop over an ALTREP vector?
...quot;outer", batch counter in the >>>> for loop. This will contain the 0-indexed start position of the batch >>>> you're currently processing >>>> - nb - variable name to use for the current batch size. This will >>>> always either be GET_REGION_BUFFSIZE (512), or the number of elements >>>> remaining in the vector, whichever is smaller >>>> - etype - element (C) type, e.g., int, double, of the data >>>> - vtype - vector (access API) type, e.g, INTEGER, REAL >>>> - strt - the 0-indexed positio...