search for: l4104

Displaying 6 results from an estimated 6 matches for "l4104".

Did you mean: 4104
2024 Jun 08
1
changes in R-devel and zero-extent objects in Rcpp
...ero-length objects should be handled. > > ? ?The short(ish) version is that r86629 enables the > CATCH_ZERO_LENGTH_ACCESS definition. This turns on the CHKZLN macro > <https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104 <https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104>>, > which returns a trivial pointer (rather than the data pointer that > would > be returned in the normal control flow) if an object has length 0: > >...
2024 Jun 08
1
changes in R-devel and zero-extent objects in Rcpp
...ut how zero-length objects should be handled. > > The short(ish) version is that r86629 enables the > CATCH_ZERO_LENGTH_ACCESS definition. This turns on the CHKZLN macro > < > https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104>, > > which returns a trivial pointer (rather than the data pointer that would > be returned in the normal control flow) if an object has length 0: > > /* Attempts to read or write elements of a zero length vector will > result in a segfault, rather than read and write rand...
2024 Jun 09
1
[External] Re: changes in R-devel and zero-extent objects in Rcpp
...cts should be handled. >> >> ? ?The short(ish) version is that r86629 enables the >> CATCH_ZERO_LENGTH_ACCESS definition. This turns on the CHKZLN macro >> <https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104 >> <https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104>>, >> which returns a trivial pointer (rather than the data pointer that >> would >> be returned in the normal control flow) if an object ha...
2024 Jun 09
1
[External] Re: changes in R-devel and zero-extent objects in Rcpp
...; >> > >> The short(ish) version is that r86629 enables the > >> CATCH_ZERO_LENGTH_ACCESS definition. This turns on the CHKZLN macro > >> < > https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104 > >> < > https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104 > >>, > >> which returns a trivial pointer (rather than the data pointer that > >> would > >> be returned in the norma...
2024 Jun 08
1
changes in R-devel and zero-extent objects in Rcpp
...it more discussion about how zero-length objects should be handled. The short(ish) version is that r86629 enables the CATCH_ZERO_LENGTH_ACCESS definition. This turns on the CHKZLN macro <https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104>, which returns a trivial pointer (rather than the data pointer that would be returned in the normal control flow) if an object has length 0: /* Attempts to read or write elements of a zero length vector will result in a segfault, rather than read and write random memory. Returning NU...
2024 Jun 10
1
changes in R-devel and zero-extent objects in Rcpp
...> > > ? ?The short(ish) version is that r86629 enables the > > CATCH_ZERO_LENGTH_ACCESS definition. This turns on the CHKZLN macro > > <https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104 <https://github.com/r-devel/r-svn/blob/4ef83b9dc3c6874e774195d329cbb6c11a71c414/src/main/memory.c#L4090-L4104>>, > > which returns a trivial pointer (rather than the data pointer that > > would > > be returned in the normal control...