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.py224 big_int = int(sys.float_info.max) * 2
226 self.assertRaises(OverflowError, t, big_int)
228 self.assertRaises(OverflowError, t.__ctype_be__, big_int)
230 self.assertRaises(OverflowError, t.__ctype_le__, big_int)
/external/libevent/test/
Dregress.c2364 ev_uint64_t big_int; in evtag_int_test() local
2376 big_int = integers[i]; in evtag_int_test()
2377 big_int *= 1000000000; /* 1 billion */ in evtag_int_test()
2378 evtag_encode_int64(tmp, big_int); in evtag_int_test()
2384 tt_int_op(evtag_decode_int64(&big_int, tmp), !=, -1); in evtag_int_test()
2385 tt_assert((big_int / 1000000000) == integers[i]); in evtag_int_test()