per page, with , order by , clip by
Results of 1 - 10 of about 22 for basicsize (0.009 sec.)
Type Object Structures — Python 3.14.8 ドキュメント 12003
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... スロット ¶ PyTypeObject スロット [ 1 ] 型 特殊メソッド/特殊属性 Info [ 2 ] O T D I <R> tp_name const char * __name__ X X tp_basicsize Py_ssize_t X X X tp_itemsize Py_ssize_t X X tp_dealloc destructor X X X tp_vectorcall_offset Py_ssize_t X X ( tp_getattr ) ... truct _typeobject { PyObject_VAR_HEAD const char * tp_name ; /* For printing, in format "<module>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ /* Methods to implement standard operations */ destructor tp_dealloc ; Py_ssize_t tp_ ... ect() (other than potentially tp_itemsize ). 継承: サブタイプはこのフィールドを継承しません。 Py_ssize_t PyTypeObject . tp_basicsize ¶ Py_ssize_t PyTypeObject . tp_itemsize ¶ これらのフィールドは、型インスタンスのバイトサイズを計算できるようにします。 The ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
Type Object Structures — Python 3.14.8 ドキュメント 12003
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... スロット ¶ PyTypeObject スロット [ 1 ] 型 特殊メソッド/特殊属性 Info [ 2 ] O T D I <R> tp_name const char * __name__ X X tp_basicsize Py_ssize_t X X X tp_itemsize Py_ssize_t X X tp_dealloc destructor X X X tp_vectorcall_offset Py_ssize_t X X ( tp_getattr ) ... truct _typeobject { PyObject_VAR_HEAD const char * tp_name ; /* For printing, in format "<module>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ /* Methods to implement standard operations */ destructor tp_dealloc ; Py_ssize_t tp_ ... ect() (other than potentially tp_itemsize ). 継承: サブタイプはこのフィールドを継承しません。 Py_ssize_t PyTypeObject . tp_basicsize ¶ Py_ssize_t PyTypeObject . tp_itemsize ¶ これらのフィールドは、型インスタンスのバイトサイズを計算できるようにします。 The ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
型オブジェクト — Python 3.14.8 ドキュメント 10807
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属 ... を含む). Structure defining a type's behavior. const char * name ¶ Name of the type, used to set PyTypeObject.tp_name . int basicsize ¶ If positive, specifies the size of the instance in bytes. It is used to set PyTypeObject.tp_basicsize . If zero, specifi ... es that tp_basicsize should be inherited. If negative, the absolute value specifies how much space instances of the class need in addition to t ... he superclass. Use PyObject_GetTypeData() to get a pointer to subclass-specific memory reserved this way. For negative basicsize , Python will insert padding when needed to meet tp_basicsize 's alignment requirements. バージョン 3.12 で変更: Previousl ...
https://man.mtool.work/python/3.14/c-api/type.html
型オブジェクト — Python 3.14.8 ドキュメント 10807
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属 ... を含む). Structure defining a type's behavior. const char * name ¶ Name of the type, used to set PyTypeObject.tp_name . int basicsize ¶ If positive, specifies the size of the instance in bytes. It is used to set PyTypeObject.tp_basicsize . If zero, specifi ... es that tp_basicsize should be inherited. If negative, the absolute value specifies how much space instances of the class need in addition to t ... he superclass. Use PyObject_GetTypeData() to get a pointer to subclass-specific memory reserved this way. For negative basicsize , Python will insert padding when needed to meet tp_basicsize 's alignment requirements. バージョン 3.12 で変更: Previousl ...
https://man.mtool.work/python/3.14/c-api/type.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 10471
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... ob_base = PyVarObject_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 ... ob_base = PyVarObject_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
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 10117
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... ob_base = PyVarObject_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 ... ob_base = PyVarObject_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
オブジェクトプロトコル (object protocol) — Python 3.14.8 ドキュメント 8232
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » オブジェクトプロトコル (object protocol) テーマ 自動 ライト ダーク | オブジェク ... ata reserved for cls . The object o must be an instance of cls , and cls must have been created using negative PyType_Spec.basicsize . Python does not check this. On error, set an exception and return NULL . Added in version 3.12. Py_ssize_t PyType_GetTyp ... for cls , i.e. the size of the memory PyObject_GetTypeData() returns. This may be larger than requested using -PyType_Spec.basicsize ; it is safe to use this larger size (e.g. with memset() ). The type cls must have been created using negative PyType_Spec ... .basicsize . Python does not check this. On error, set an exception and return a negative value. Added in version 3.12. void * PyObje ...
https://man.mtool.work/python/3.14/c-api/object.html
オブジェクトプロトコル (object protocol) — Python 3.14.8 ドキュメント 8232
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » オブジェクトプロトコル (object protocol) テーマ 自動 ライト ダーク | オブジェク ... ata reserved for cls . The object o must be an instance of cls , and cls must have been created using negative PyType_Spec.basicsize . Python does not check this. On error, set an exception and return NULL . Added in version 3.12. Py_ssize_t PyType_GetTyp ... for cls , i.e. the size of the memory PyObject_GetTypeData() returns. This may be larger than requested using -PyType_Spec.basicsize ; it is safe to use this larger size (e.g. with memset() ). The type cls must have been created using negative PyType_Spec ... .basicsize . Python does not check this. On error, set an exception and return a negative value. Added in version 3.12. void * PyObje ...
https://man.mtool.work/python/3.14/c-api/object.html
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 7727
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... truct _typeobject { PyObject_VAR_HEAD const char * tp_name ; /* For printing, in format "<module>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ /* Methods to implement standard operations */ destructor tp_dealloc ; Py_ssize_t tp_ ... 現れ、ほとんどは診断目的で使われるものです。 それなので、そのような場面で役に立つであろう名前を選んでください! Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ これらのフィールドは、この型のオブジェクトが新しく作成されるときにどれだけのメモリを割 ...
https://man.mtool.work/python/3.14/extending/newtypes.html
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 7727
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... truct _typeobject { PyObject_VAR_HEAD const char * tp_name ; /* For printing, in format "<module>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ /* Methods to implement standard operations */ destructor tp_dealloc ; Py_ssize_t tp_ ... 現れ、ほとんどは診断目的で使われるものです。 それなので、そのような場面で役に立つであろう名前を選んでください! Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation */ これらのフィールドは、この型のオブジェクトが新しく作成されるときにどれだけのメモリを割 ...
https://man.mtool.work/python/3.14/extending/newtypes.html
PREV 1 2 3 NEXT