Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_sys.py486 self.assertEqual(len(sys.int_info), 4)
487 self.assertTrue(sys.int_info.bits_per_digit % 5 == 0)
488 self.assertTrue(sys.int_info.sizeof_digit >= 1)
489 self.assertGreaterEqual(sys.int_info.default_max_str_digits, 500)
490 self.assertGreaterEqual(sys.int_info.str_digits_check_threshold, 100)
491 self.assertGreater(sys.int_info.default_max_str_digits,
492 sys.int_info.str_digits_check_threshold)
493 self.assertEqual(type(sys.int_info.bits_per_digit), int)
494 self.assertEqual(type(sys.int_info.sizeof_digit), int)
495 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.c5719 PyObject* int_info; in PyLong_GetInfo() local
5721 int_info = PyStructSequence_New(&Int_InfoType); in PyLong_GetInfo()
5722 if (int_info == NULL) in PyLong_GetInfo()
5724 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5726 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5735 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5737 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5740 Py_CLEAR(int_info); in PyLong_GetInfo()
5743 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/using/
Dconfigure.rst43 See :data:`sys.int_info.bits_per_digit <sys.int_info>`.
/third_party/python/Doc/library/
Dstdtypes.rst5425 :data:`sys.int_info.default_max_str_digits <sys.int_info>`.
5427 :data:`sys.int_info.str_digits_check_threshold <sys.int_info>`.
5434 >>> assert sys.int_info.default_max_str_digits == 4300, sys.int_info
5435 >>> assert sys.int_info.str_digits_check_threshold == 640, sys.int_info
5480 :data:`sys.int_info.default_max_str_digits` was used during initilization.
5489 Information about the default and minimum can be found in :attr:`sys.int_info`:
5491 * :data:`sys.int_info.default_max_str_digits <sys.int_info>` is the compiled-in
5493 * :data:`sys.int_info.str_digits_check_threshold <sys.int_info>` is the lowest
5517 The default :data:`sys.int_info.default_max_str_digits` is expected to be
Dsys.rst959 .. data:: int_info
971 | | ``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.rst323 'gettrace', 'hash_info', 'hexversion', 'implementation', 'int_info',
/third_party/spirv-tools/test/val/
Dval_ext_inst_test.cpp3196 %int_info = OpExtInst %void %DbgExt DebugTypeBasic %int_name %int_32 Signed
3199 %len_info = OpExtInst %void %DbgExt DebugLocalVariable %len_name %int_info %dbg_src 0 0 %comp_unit …
/third_party/python/Misc/
DHISTORY15120 default. Add sys.int_info structseq to provide information about