per page, with , order by , clip by
Results of 1 - 10 of about 37 for sizeof (0.013 sec.)
ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 13260
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外 ... promise the running process. ctypes チュートリアル ¶ 注意: いくつかのコードサンプルで ctypes の c_int 型を参照しています。 sizeof(long) == sizeof(int) であるようなプラットフォームでは、この型は c_long のエイリアスです。そのため、 c_int 型を想定している ... >>> from ctypes import * >>> p = create_string_buffer ( 3 ) # create a 3 byte buffer, initialized to NUL bytes >>> print ( sizeof ( p ), repr ( p . raw )) 3 b'\x00\x00\x00' >>> p = create_string_buffer ( b "Hello" ) # create a buffer containing a NUL t ... erminated string >>> print ( sizeof ( p ), repr ( p . raw )) 6 b'Hello\x00' >>> print ( repr ( p . value )) b'Hello' >>> p = create_string_buffer ( b "Hello" ...
https://man.mtool.work/python/3.14/library/ctypes.html
ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 13260
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外 ... promise the running process. ctypes チュートリアル ¶ 注意: いくつかのコードサンプルで ctypes の c_int 型を参照しています。 sizeof(long) == sizeof(int) であるようなプラットフォームでは、この型は c_long のエイリアスです。そのため、 c_int 型を想定している ... >>> from ctypes import * >>> p = create_string_buffer ( 3 ) # create a 3 byte buffer, initialized to NUL bytes >>> print ( sizeof ( p ), repr ( p . raw )) 3 b'\x00\x00\x00' >>> p = create_string_buffer ( b "Hello" ) # create a buffer containing a NUL t ... erminated string >>> print ( sizeof ( p ), repr ( p . raw )) 6 b'Hello\x00' >>> print ( repr ( p . value )) b'Hello' >>> p = create_string_buffer ( b "Hello" ...
https://man.mtool.work/python/3.14/library/ctypes.html
はじめに — Python 3.14.8 ドキュメント 9960
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » はじめに テーマ 自動 ライト ダーク | はじめに ¶ Python のアプリケーションプログラマ用インタフェース (Application Programmer's Int ... not be evaluated at compile time. Corresponds roughly to static_assert( cond ) on C23 and above. 例えば: Py_BUILD_ASSERT ( sizeof ( PyTime_t ) == sizeof ( int64_t )); Added in version 3.3. Py_BUILD_ASSERT_EXPR ( cond ) ¶ Asserts a compile-time conditio ... ll result in a compilation error on some compilers, or otherwise produce incorrect results. This is roughly equivalent to: sizeof ( array ) / sizeof (( array )[ 0 ]) Py_MEMBER_SIZE ( type , member ) ¶ Return the size of a structure ( type ) member in b ... ytes. Corresponds roughly to sizeof((( type *)NULL)-> member ) . Added in version 3.6. Macro definition utilities ¶ Py_FORCE_EXPANSION ( X ) ¶ This is equival ...
https://man.mtool.work/python/3.14/c-api/intro.html
はじめに — Python 3.14.8 ドキュメント 9960
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » はじめに テーマ 自動 ライト ダーク | はじめに ¶ Python のアプリケーションプログラマ用インタフェース (Application Programmer's Int ... not be evaluated at compile time. Corresponds roughly to static_assert( cond ) on C23 and above. 例えば: Py_BUILD_ASSERT ( sizeof ( PyTime_t ) == sizeof ( int64_t )); Added in version 3.3. Py_BUILD_ASSERT_EXPR ( cond ) ¶ Asserts a compile-time conditio ... ll result in a compilation error on some compilers, or otherwise produce incorrect results. This is roughly equivalent to: sizeof ( array ) / sizeof (( array )[ 0 ]) Py_MEMBER_SIZE ( type , member ) ¶ Return the size of a structure ( type ) member in b ... ytes. Corresponds roughly to sizeof((( type *)NULL)-> member ) . Added in version 3.6. Macro definition utilities ¶ Py_FORCE_EXPANSION ( X ) ¶ This is equival ...
https://man.mtool.work/python/3.14/c-api/intro.html
Type Object Structures — Python 3.14.8 ドキュメント 9108
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... ata of the type's tp_base , plus any extra data needed by each instance. The correct way to set tp_basicsize is to use the sizeof operator on the struct used to declare the instance layout. This struct must include the struct used to declare the base t ... ize and PyType_FromMetaclass() . Notes about alignment: tp_basicsize must be a multiple of _Alignof(PyObject) . When using sizeof on a struct that includes PyObject_HEAD , as recommended, the compiler ensures this. When not using a C struct , or when u ... ems and the length of the allocated memory block should be tp_basicsize + nitems*tp_itemsize , rounded up to a multiple of sizeof(void*) ; otherwise, nitems is not used and the length of the block should be tp_basicsize . この関数では他のいかなるインス ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 9108
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... VarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; static int custo ... VarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; 注釈 上にあるよう ... 付きのインポートパスを使うのは、 pydoc モジュールや pickle モジュールと互換性を持たせるために重要なのです。 . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , これは、新しい Custom インスタンスを作るときに Python が割り当てるべきメモリがどのく ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
Type Object Structures — Python 3.14.8 ドキュメント 9108
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... ata of the type's tp_base , plus any extra data needed by each instance. The correct way to set tp_basicsize is to use the sizeof operator on the struct used to declare the instance layout. This struct must include the struct used to declare the base t ... ize and PyType_FromMetaclass() . Notes about alignment: tp_basicsize must be a multiple of _Alignof(PyObject) . When using sizeof on a struct that includes PyObject_HEAD , as recommended, the compiler ensures this. When not using a C struct , or when u ... ems and the length of the allocated memory block should be tp_basicsize + nitems*tp_itemsize , rounded up to a multiple of sizeof(void*) ; otherwise, nitems is not used and the length of the block should be tp_basicsize . この関数では他のいかなるインス ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 9108
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... VarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; static int custo ... VarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; 注釈 上にあるよう ... 付きのインポートパスを使うのは、 pydoc モジュールや pickle モジュールと互換性を持たせるために重要なのです。 . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , これは、新しい Custom インスタンスを作るときに Python が割り当てるべきメモリがどのく ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
platform --- 実行中プラットフォームの固有情報を参照する — Python 3.14.8 ドキュ... 8413
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » platform --- 実行中プラットフォームの固有情報を参照する テーマ 自動 ライト ダーク | platform ... 場合はパラメータプリセットから与えられる値を返します。bits に '' を与えた場合、サポートされているポインタサイズを知るために sizeof(pointer) (Python バージョン < 1.5.2 では sizeof(long) ) が使用されます。 この関数は、システムの file コマンドを使用します。 ... 連キーワード プラットフォーム platform executable bits Unix sys Python アーキテクチャ 場合 file 注釈 linkage インタープリタ sizeof maxsize 固有 ソースコード Lib py アルファベット順 目次 platform --- 実行中プラットフォームの固有情報を参照する Cross platf ...
https://man.mtool.work/python/3.14/library/platform.html
platform --- 実行中プラットフォームの固有情報を参照する — Python 3.14.8 ドキュ... 8413
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » platform --- 実行中プラットフォームの固有情報を参照する テーマ 自動 ライト ダーク | platform ... 場合はパラメータプリセットから与えられる値を返します。bits に '' を与えた場合、サポートされているポインタサイズを知るために sizeof(pointer) (Python バージョン < 1.5.2 では sizeof(long) ) が使用されます。 この関数は、システムの file コマンドを使用します。 ... sponding options. 関連キーワード プラットフォーム platform executable bits Unix アーキテクチャ 注釈 linkage インタープリタ sizeof maxsize 固有 ソースコード アルファベット順 セクション Cross architecture 省略 バイナリ 各種 タプル ビット 決定 プリセット ...
https://man.mtool.work/python/3.14/library/platform.html
PREV 1 2 3 4 NEXT