Lines Matching defs:B

8 func BenchmarkLiteral(b *testing.B) {
20 func BenchmarkNotLiteral(b *testing.B) {
32 func BenchmarkMatchClass(b *testing.B) {
45 func BenchmarkMatchClass_InRange(b *testing.B) {
70 func BenchmarkAnchoredLiteralShortNonMatch(b *testing.B) {
82 func BenchmarkAnchoredLiteralLongNonMatch(b *testing.B) {
102 func BenchmarkAnchoredShortMatch(b *testing.B) {
114 func BenchmarkAnchoredLongMatch(b *testing.B) {
133 func BenchmarkOnePassShortA(b *testing.B) {
145 func BenchmarkNotOnePassShortA(b *testing.B) {
157 func BenchmarkOnePassShortB(b *testing.B) {
169 func BenchmarkNotOnePassShortB(b *testing.B) {
181 func BenchmarkOnePassLongPrefix(b *testing.B) {
193 func BenchmarkOnePassLongNotPrefix(b *testing.B) {
228 func benchmark(b *testing.B, re string, n int) {
252 func BenchmarkMatchEasy0_32(b *testing.B) { benchmark(b, easy0, 32<<0) }
253 func BenchmarkMatchEasy0_1K(b *testing.B) { benchmark(b, easy0, 1<<10) }
254 func BenchmarkMatchEasy0_32K(b *testing.B) { benchmark(b, easy0, 32<<10) }
255 func BenchmarkMatchEasy0_1M(b *testing.B) { benchmark(b, easy0, 1<<20) }
256 func BenchmarkMatchEasy0_32M(b *testing.B) { benchmark(b, easy0, 32<<20) }
257 func BenchmarkMatchEasy1_32(b *testing.B) { benchmark(b, easy1, 32<<0) }
258 func BenchmarkMatchEasy1_1K(b *testing.B) { benchmark(b, easy1, 1<<10) }
259 func BenchmarkMatchEasy1_32K(b *testing.B) { benchmark(b, easy1, 32<<10) }
260 func BenchmarkMatchEasy1_1M(b *testing.B) { benchmark(b, easy1, 1<<20) }
261 func BenchmarkMatchEasy1_32M(b *testing.B) { benchmark(b, easy1, 32<<20) }
262 func BenchmarkMatchMedium_32(b *testing.B) { benchmark(b, medium, 32<<0) }
263 func BenchmarkMatchMedium_1K(b *testing.B) { benchmark(b, medium, 1<<10) }
264 func BenchmarkMatchMedium_32K(b *testing.B) { benchmark(b, medium, 32<<10) }
265 func BenchmarkMatchMedium_1M(b *testing.B) { benchmark(b, medium, 1<<20) }
266 func BenchmarkMatchMedium_32M(b *testing.B) { benchmark(b, medium, 32<<20) }
267 func BenchmarkMatchHard_32(b *testing.B) { benchmark(b, hard, 32<<0) }
268 func BenchmarkMatchHard_1K(b *testing.B) { benchmark(b, hard, 1<<10) }
269 func BenchmarkMatchHard_32K(b *testing.B) { benchmark(b, hard, 32<<10) }
270 func BenchmarkMatchHard_1M(b *testing.B) { benchmark(b, hard, 1<<20) }
271 func BenchmarkMatchHard_32M(b *testing.B) { benchmark(b, hard, 32<<20) }
272 func BenchmarkMatchHard1_32(b *testing.B) { benchmark(b, hard1, 32<<0) }
273 func BenchmarkMatchHard1_1K(b *testing.B) { benchmark(b, hard1, 1<<10) }
274 func BenchmarkMatchHard1_32K(b *testing.B) { benchmark(b, hard1, 32<<10) }
275 func BenchmarkMatchHard1_1M(b *testing.B) { benchmark(b, hard1, 1<<20) }
276 func BenchmarkMatchHard1_32M(b *testing.B) { benchmark(b, hard1, 32<<20) }
295 func BenchmarkLeading(b *testing.B) {