about summary refs log tree commit diff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-04 09:44:48 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-04 09:45:09 -0700
commit6b69f98dcd34d63e507cae1d8bfe83ea8d597830 (patch)
tree44c0cb8c447fd2775f79d300d0520e115555776b /sysdeps/gnu
parentd36c52becb34101df18f410a9a2778def17fc6c8 (diff)
downloadglibc-6b69f98dcd34d63e507cae1d8bfe83ea8d597830.tar.gz
glibc-6b69f98dcd34d63e507cae1d8bfe83ea8d597830.tar.xz
glibc-6b69f98dcd34d63e507cae1d8bfe83ea8d597830.zip
benchtests: Add more tests for memrchr
bench-memchr.c is shared with bench-memrchr.c.  This patch adds some
tests for positions close to the beginning for memrchr, which are
equivalent to positions close to the end for memchr.

	* benchtests/bench-memchr.c (do_test): Print out both length
	and position.
	(test_main): Also test the position close to the beginning for
	memrchr.
Diffstat (limited to 'sysdeps/gnu')
0 files changed, 0 insertions, 0 deletions