search for: l4090

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

Did you mean: 4090
2024 Jun 08
1
changes in R-devel and zero-extent objects in Rcpp
...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 <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
...t; 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 writ...
2024 Jun 09
1
[External] Re: changes in R-devel and zero-extent objects in Rcpp
...h 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 obj...
2024 Jun 09
1
[External] Re: changes in R-devel and zero-extent objects in Rcpp
...d. > >> > >> 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...
2024 Jun 08
1
changes in R-devel and zero-extent objects in Rcpp
...th a bit 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. Return...
2024 Jun 10
1
changes in R-devel and zero-extent objects in Rcpp
...gt; > > > ? ?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 co...