Home
last modified time | relevance | path

Searched refs:int_info (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Lib/test/
Dtest_sys.py444 self.assertEqual(len(sys.int_info), 4)
445 self.assertTrue(sys.int_info.bits_per_digit % 5 == 0)
446 self.assertTrue(sys.int_info.sizeof_digit >= 1)
447 self.assertGreaterEqual(sys.int_info.default_max_str_digits, 500)
448 self.assertGreaterEqual(sys.int_info.str_digits_check_threshold, 100)
449 self.assertGreater(sys.int_info.default_max_str_digits,
450 sys.int_info.str_digits_check_threshold)
451 self.assertEqual(type(sys.int_info.bits_per_digit), int)
452 self.assertEqual(type(sys.int_info.sizeof_digit), int)
453 self.assertIsInstance(sys.int_info.default_max_str_digits, int)
[all …]
Dtest_long.py11 SHIFT = sys.int_info.bits_per_digit
/third_party/python/Objects/
Dlongobject.c5786 PyObject* int_info; in PyLong_GetInfo() local
5788 int_info = PyStructSequence_New(&Int_InfoType); in PyLong_GetInfo()
5789 if (int_info == NULL) in PyLong_GetInfo()
5791 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5793 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5802 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5804 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5807 Py_CLEAR(int_info); in PyLong_GetInfo()
5810 return int_info; in PyLong_GetInfo()
/third_party/python/Doc/whatsnew/
D3.1.rst488 new :attr:`sys.int_info` that provides information about the
493 >>> sys.int_info
494 sys.int_info(bits_per_digit=30, sizeof_digit=4)
/third_party/python/Doc/library/
Dstdtypes.rst5252 :data:`sys.int_info.default_max_str_digits <sys.int_info>`.
5254 :data:`sys.int_info.str_digits_check_threshold <sys.int_info>`.
5261 >>> assert sys.int_info.default_max_str_digits == 4300, sys.int_info
5262 >>> assert sys.int_info.str_digits_check_threshold == 640, sys.int_info
5306 :data:`sys.int_info.default_max_str_digits` was used during initilization.
5315 Information about the default and minimum can be found in :attr:`sys.int_info`:
5317 * :data:`sys.int_info.default_max_str_digits <sys.int_info>` is the compiled-in
5319 * :data:`sys.int_info.str_digits_check_threshold <sys.int_info>` is the lowest
5343 The default :data:`sys.int_info.default_max_str_digits` is expected to be
Dsys.rst937 .. data:: int_info
949 | | ``2**int_info.bits_per_digit`` |
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_ext_inst_debug_test.cpp4954 %int_info = OpExtInst %void %DbgExt DebugTypeBasic %int_name %int_32 Signed
4957 %len_info = OpExtInst %void %DbgExt DebugLocalVariable %len_name %int_info %dbg_src 0 0 %comp_unit …
5079 %int_info = OpExtInst %void %DbgExt DebugTypeBasic %int_name %u32_32 %u32_4 %u32_0
5082 %len_info = OpExtInst %void %DbgExt DebugLocalVariable %len_name %int_info %dbg_src %u32_0 %u32_0 %…
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ext_inst_debug_test.cpp4954 %int_info = OpExtInst %void %DbgExt DebugTypeBasic %int_name %int_32 Signed
4957 %len_info = OpExtInst %void %DbgExt DebugLocalVariable %len_name %int_info %dbg_src 0 0 %comp_unit …
5079 %int_info = OpExtInst %void %DbgExt DebugTypeBasic %int_name %u32_32 %u32_4 %u32_0
5082 %len_info = OpExtInst %void %DbgExt DebugLocalVariable %len_name %int_info %dbg_src %u32_0 %u32_0 %…
/third_party/python/Doc/tutorial/
Dmodules.rst322 'gettrace', 'hash_info', 'hexversion', 'implementation', 'int_info',
/third_party/python/Misc/
DHISTORY15120 default. Add sys.int_info structseq to provide information about