109 s =
static_cast<char>(
i);
133 Even if you've mastered the art of the cover letter and the resume, \ 134 another part of the job search process can trip up an otherwise \ 135 qualified candidate: the writing sample.\n\ 137 Strong writing and communication skills are highly sought after by \ 138 most employers. Whether crafting short emails or lengthy annual \ 139 reports, many workers use their writing skills every day. And for an \ 140 employer seeking proof behind that ubiquitous candidate \ 141 phrase,\"excellent communication skills\", a required writing sample \ 144 Writing samples need the same care and attention given to cover \ 145 letters and resumes. Candidates with otherwise impeccable credentials \ 146 are routinely eliminated by a poorly chosen writing sample. Notice I \ 147 said \"poorly chosen\" not \"poorly written.\" Because that's the rub: \ 148 a writing sample not only reveals the individual's writing skills, it \ 149 also offers a peek into what they consider important or relevant for \ 150 the position. If you miss that mark with your writing sample, don't \ 151 expect to get a call for an interview.";
154 len =
random(0,
s.size() - pos);
167 Even if you've mastered the art of the cover letter and the resume, \ 168 another part of the job search process can trip up an otherwise \ 169 qualified candidate: the writing sample.\n\ 171 Strong writing and communication skills are highly sought after by \ 172 most employers. Whether crafting short emails or lengthy annual \ 173 reports, many workers use their writing skills every day. And for an \ 174 employer seeking proof behind that ubiquitous candidate \ 175 phrase,\"excellent communication skills\", a required writing sample \ 178 Writing samples need the same care and attention given to cover \ 179 letters and resumes. Candidates with otherwise impeccable credentials \ 180 are routinely eliminated by a poorly chosen writing sample. Notice I \ 181 said \"poorly chosen\" not \"poorly written.\" Because that's the rub: \ 182 a writing sample not only reveals the individual's writing skills, it \ 183 also offers a peek into what they consider important or relevant for \ 184 the position. If you miss that mark with your writing sample, don't \ 185 expect to get a call for an interview.";
187 s1 =
"So how do you tackle that writing sample request?";
195 std::vector<STRING> haystack(arg);
198 for (
auto& hay : haystack) {
217 BenchmarkSuspender susp;
219 auto const pos =
random(0,
s.size());
220 auto toRemove =
random(0,
s.size() - pos);
221 auto toInsert =
random(0, arg);
226 s.replace(pos, toRemove, s1);
265 std::istringstream is(
lines);
266 while (iters &&
getline(is, line)) {
void BENCHFUN() resize(size_t iters, size_t arg)
Integral2 random(Integral1 low, Integral2 up)
void BENCHFUN() defaultCtor(size_t iters, size_t)
void randomBinaryString(String *toFill, size_t size=1000)
#define BENCHMARK_SUSPEND
void BENCHFUN() getline(size_t iters, size_t arg)
void BENCHFUN() ctorFromTwoPointers(size_t iters, size_t arg)
void BENCHFUN() ctorFromChar(size_t iters, size_t arg)
void BENCHFUN() assignmentOp(size_t iters, size_t arg)
void BENCHFUN() replace(size_t iters, size_t arg)
void BENCHFUN() push_back(size_t iters, size_t arg)
#define FOR_EACH_RANGE(i, begin, end)
void BENCHFUN() initRNG(size_t, size_t)
void BENCHFUN() findSuccessful(size_t iters, size_t)
void BENCHFUN() copyCtor(size_t iters, size_t arg)
void BENCHFUN() equality(size_t iters, size_t arg)
void BENCHFUN() ctorFromArray(size_t iters, size_t arg)
S lines(StringPiece source)
#define BENCHMARK_PARAM(name, param)
void BENCHFUN() assignmentFill(size_t iters, size_t)
void BENCHFUN() findUnsuccessful(size_t iters, size_t)
void BENCHFUN() short_append(size_t iters, size_t arg)
void randomString(String *toFill, size_t size=1000)
auto doNotOptimizeAway(const T &datum) -> typename std::enable_if< !detail::DoNotOptimizeAwayNeedsIndirect< T >::value >::type