MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / CharacterVector_test_equality_crosspolicy

Function CharacterVector_test_equality_crosspolicy

inst/tinytest/cpp/Vector.cpp:882–888  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

880
881// [[Rcpp::export]]
882bool CharacterVector_test_equality_crosspolicy(CharacterVector x, Vector<STRSXP,NoProtectStorage> y) {
883 if (x.length() != y.length()) {
884 return false;
885 }
886
887 return std::equal(x.begin(), x.end(), y.begin());
888}
889
890// [[Rcpp::export]]
891double NumericVector_test_out_of_bounds_read(NumericVector v, R_xlen_t i) {

Callers

nothing calls this directly

Calls 3

lengthMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected