Searched refs:long (Results 1 - 25 of 353) sorted by relevance

1234567891011>>

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_long.py29 special = map(long, [0, 1, 2, BASE, BASE >> 1])
84 ntype = long
86 # Get quasi-random long consisting of ndigits digits (in base BASE).
88 # is constructed to contain long strings of 0 and 1 bits. These are
113 # Get random long consisting of ndigits random digits (relative to base
149 # current long division implementation
183 # Test products of long strings of 1 bits -- (2**x-1)*(2**y-1) ==
293 self.assertEqual(long(got, 0), x, Frm('long("%s", 0) != %r', got, x))
311 self.assertEqual(long(31
[all...]
H A Dtest_abstract_numbers.py20 self.assertTrue(issubclass(long, Integral))
21 self.assertTrue(issubclass(long, Complex))
23 self.assertEqual(7, long(7).real)
24 self.assertEqual(0, long(7).imag)
25 self.assertEqual(7, long(7).conjugate())
26 self.assertEqual(7, long(7).numerator)
27 self.assertEqual(1, long(7).denominator)
H A Dtest_hash.py36 self.same_hash(int(1), long(1), float(1), complex(1),
38 self.same_hash(int(-2**31), long(-2**31), float(-2**31))
39 self.same_hash(int(1-2**31), long(1-2**31), float(1-2**31))
40 self.same_hash(int(2**31-1), long(2**31-1), float(2**31-1))
42 self.same_hash(int(2**31), long(2**31), float(2**31))
43 self.same_hash(int(-2**63), long(-2**63), float(-2**63))
44 self.same_hash(int(1-2**63), long(1-2**63))
45 self.same_hash(int(2**63-1), long(2**63-1))
46 self.same_hash(long(2**63), float(2**63))
49 self.same_hash(long(1.2
[all...]
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_long.py29 special = map(long, [0, 1, 2, BASE, BASE >> 1])
84 ntype = long
86 # Get quasi-random long consisting of ndigits digits (in base BASE).
88 # is constructed to contain long strings of 0 and 1 bits. These are
113 # Get random long consisting of ndigits random digits (relative to base
149 # current long division implementation
183 # Test products of long strings of 1 bits -- (2**x-1)*(2**y-1) ==
293 self.assertEqual(long(got, 0), x, Frm('long("%s", 0) != %r', got, x))
311 self.assertEqual(long(31
[all...]
H A Dtest_abstract_numbers.py20 self.assertTrue(issubclass(long, Integral))
21 self.assertTrue(issubclass(long, Complex))
23 self.assertEqual(7, long(7).real)
24 self.assertEqual(0, long(7).imag)
25 self.assertEqual(7, long(7).conjugate())
26 self.assertEqual(7, long(7).numerator)
27 self.assertEqual(1, long(7).denominator)
H A Dtest_hash.py36 self.same_hash(int(1), long(1), float(1), complex(1),
38 self.same_hash(int(-2**31), long(-2**31), float(-2**31))
39 self.same_hash(int(1-2**31), long(1-2**31), float(1-2**31))
40 self.same_hash(int(2**31-1), long(2**31-1), float(2**31-1))
42 self.same_hash(int(2**31), long(2**31), float(2**31))
43 self.same_hash(int(-2**63), long(-2**63), float(-2**63))
44 self.same_hash(int(1-2**63), long(1-2**63))
45 self.same_hash(int(2**63-1), long(2**63-1))
46 self.same_hash(long(2**63), float(2**63))
49 self.same_hash(long(1.2
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_long.py29 special = map(long, [0, 1, 2, BASE, BASE >> 1])
84 ntype = long
86 # Get quasi-random long consisting of ndigits digits (in base BASE).
88 # is constructed to contain long strings of 0 and 1 bits. These are
113 # Get random long consisting of ndigits random digits (relative to base
149 # current long division implementation
183 # Test products of long strings of 1 bits -- (2**x-1)*(2**y-1) ==
293 self.assertEqual(long(got, 0), x, Frm('long("%s", 0) != %r', got, x))
311 self.assertEqual(long(31
[all...]
H A Dtest_abstract_numbers.py20 self.assertTrue(issubclass(long, Integral))
21 self.assertTrue(issubclass(long, Complex))
23 self.assertEqual(7, long(7).real)
24 self.assertEqual(0, long(7).imag)
25 self.assertEqual(7, long(7).conjugate())
26 self.assertEqual(7, long(7).numerator)
27 self.assertEqual(1, long(7).denominator)
H A Dtest_hash.py36 self.same_hash(int(1), long(1), float(1), complex(1),
38 self.same_hash(int(-2**31), long(-2**31), float(-2**31))
39 self.same_hash(int(1-2**31), long(1-2**31), float(1-2**31))
40 self.same_hash(int(2**31-1), long(2**31-1), float(2**31-1))
42 self.same_hash(int(2**31), long(2**31), float(2**31))
43 self.same_hash(int(-2**63), long(-2**63), float(-2**63))
44 self.same_hash(int(1-2**63), long(1-2**63))
45 self.same_hash(int(2**63-1), long(2**63-1))
46 self.same_hash(long(2**63), float(2**63))
49 self.same_hash(long(1.2
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_long.py29 special = map(long, [0, 1, 2, BASE, BASE >> 1])
84 ntype = long
86 # Get quasi-random long consisting of ndigits digits (in base BASE).
88 # is constructed to contain long strings of 0 and 1 bits. These are
113 # Get random long consisting of ndigits random digits (relative to base
149 # current long division implementation
183 # Test products of long strings of 1 bits -- (2**x-1)*(2**y-1) ==
293 self.assertEqual(long(got, 0), x, Frm('long("%s", 0) != %r', got, x))
311 self.assertEqual(long(31
[all...]
H A Dtest_abstract_numbers.py20 self.assertTrue(issubclass(long, Integral))
21 self.assertTrue(issubclass(long, Complex))
23 self.assertEqual(7, long(7).real)
24 self.assertEqual(0, long(7).imag)
25 self.assertEqual(7, long(7).conjugate())
26 self.assertEqual(7, long(7).numerator)
27 self.assertEqual(1, long(7).denominator)
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/
H A Dfancy_getopt.py5 * short and long options are tied together
29 # This is used to translate long options to legitimate Python identifiers
36 * short and long options are tied together
54 # must have long options.
57 # 'option_index' maps long option names to entries in the option
110 option with long name 'long_option'."""
114 """Translate long option name 'long_option' to the form it
158 long, short, help = option
161 long, short, help, repeat = option
168 if not isinstance(long, st
[all...]
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/
H A Dfancy_getopt.py5 * short and long options are tied together
29 # This is used to translate long options to legitimate Python identifiers
36 * short and long options are tied together
54 # must have long options.
57 # 'option_index' maps long option names to entries in the option
110 option with long name 'long_option'."""
114 """Translate long option name 'long_option' to the form it
158 long, short, help = option
161 long, short, help, repeat = option
168 if not isinstance(long, st
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
H A Dfancy_getopt.py5 * short and long options are tied together
29 # This is used to translate long options to legitimate Python identifiers
36 * short and long options are tied together
54 # must have long options.
57 # 'option_index' maps long option names to entries in the option
110 option with long name 'long_option'."""
114 """Translate long option name 'long_option' to the form it
158 long, short, help = option
161 long, short, help, repeat = option
168 if not isinstance(long, st
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
H A Dfancy_getopt.py5 * short and long options are tied together
29 # This is used to translate long options to legitimate Python identifiers
36 * short and long options are tied together
54 # must have long options.
57 # 'option_index' maps long option names to entries in the option
110 option with long name 'long_option'."""
114 """Translate long option name 'long_option' to the form it
158 long, short, help = option
161 long, short, help, repeat = option
168 if not isinstance(long, st
[all...]
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/printer/
H A Dbound_registers.py28 size = (long) ((upper) - (lower))
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/printer/
H A Dbound_registers.py28 size = (long) ((upper) - (lower))
/prebuilts/gdb/darwin-x86/lib/python2.7/email/test/
H A Dtest_email_codecs.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email_codecs_renamed.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)
/prebuilts/gdb/linux-x86/lib/python2.7/email/test/
H A Dtest_email_codecs.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email_codecs_renamed.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/
H A Dtest_email_codecs.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email_codecs_renamed.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/
H A Dtest_email_codecs.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email_codecs_renamed.py45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9'
46 h = Header(long, j, header_name="Subject")
47 # test a very long header
54 eq(h.__unicode__().encode('euc-jp'), long)

Completed in 562 milliseconds

1234567891011>>