Lines Matching defs:check
211 # Simple-minded check for SF 588452: Debug build crashes
235 def run_tests(N, check):
237 check(b')\x01' * N + b'N')
238 check(b'(\x01\x00\x00\x00' * N + b'N')
240 check(b'[\x01\x00\x00\x00' * N + b'N')
242 check(b'{N' * N + b'N' + b'0' * N)
244 check(b'>\x01\x00\x00\x00' * N + b'N')
249 def check(s):
251 run_tests(2**20, check)
362 # orders under hash seeds 0 and 1. If this check fails, we