19 #define EXPECT_DEATH_NO_CORE(token, regex) { \ 21 getrlimit(RLIMIT_CORE, &oldLim); \ 22 rlimit newLim{0, oldLim.rlim_max}; \ 23 setrlimit(RLIMIT_CORE, &newLim); \ 24 EXPECT_DEATH(token, regex); \ 25 setrlimit(RLIMIT_CORE, &oldLim); \ 28 #define EXPECT_DEATH_NO_CORE(tken, regex) {} 35 if (pos == std::string::npos) {
size_t rfind(const Range< Iter > &haystack, const typename Range< Iter >::value_type &needle)
Range subpiece(size_type first, size_type length=npos) const
folly::StringPiece getContainingDirectory(folly::StringPiece input)