Home
last modified time | relevance | path

Searched refs:big_int (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/ctypes/test/
Dtest_numbers.py223 big_int = int(sys.float_info.max) * 2
225 self.assertRaises(OverflowError, t, big_int)
227 self.assertRaises(OverflowError, t.__ctype_be__, big_int)
229 self.assertRaises(OverflowError, t.__ctype_le__, big_int)
/external/python/cpython3/Lib/ctypes/test/
Dtest_numbers.py230 big_int = int(sys.float_info.max) * 2
232 self.assertRaises(OverflowError, t, big_int)
234 self.assertRaises(OverflowError, t.__ctype_be__, big_int)
236 self.assertRaises(OverflowError, t.__ctype_le__, big_int)
/external/libevent/test/
Dregress.c2435 ev_uint64_t big_int; in evtag_int_test() local
2447 big_int = integers[i]; in evtag_int_test()
2448 big_int *= 1000000000; /* 1 billion */ in evtag_int_test()
2449 evtag_encode_int64(tmp, big_int); in evtag_int_test()
2455 tt_int_op(evtag_decode_int64(&big_int, tmp), !=, -1); in evtag_int_test()
2456 tt_assert((big_int / 1000000000) == integers[i]); in evtag_int_test()