Python 3.6.5 ドキュメント 検索
Results of 11 - 20 of about 103 for size (0.037 sec.)
- 21.18. smtpd --- SMTP サーバー — Python 3.6.5 ドキュメント 7113
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ことができます。 コードは RFC 5321 に加え、 RFC 1870 SIZE と RFC 6531 SMTPUTF8 拡張をサポートしています。 21...
smtpd. SMTPServer ( localaddr , remoteaddr , data_size_limit=33554432 , map=None , enable_SMTPUTF8=False...
自身を asyncore のイベントループに登録します。 data_size_limit には DATA コマンドが受け取る最大のバイト数を...
s smtpd. SMTPChannel ( server , conn , addr , data_size_limit=33554432 , map=None , enable_SMTPUTF8=False...
- https://man.plustar.jp/python/library/smtpd.html - [similar]
- バイトオブジェクト — Python 3.6.5 ドキュメント 7009
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
ックは行われません。 PyObject * PyBytes_FromStringAndSize ( const char *v , Py_ssize_t len ) ¶ 成功時に、文字...
ned long C の printf("%lu") と厳密に同じ。 %zd Py_ssize_t C の printf("%zd") と厳密に同じ。 %zu size_t C の...
実装するオブジェクト o のバイト表現を返します。 Py_ssize_t PyBytes_Size ( PyObject *o ) ¶ バイトオブジェクト...
o のバイト単位の長さを返します。 Py_ssize_t PyBytes_GET_SIZE ( PyObject *o ) ¶ PyBytes_Size(...
- https://man.plustar.jp/python/c-api/bytes.html - [similar]
- 型オブジェクト — Python 3.6.5 ドキュメント 6971
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
* For printing, in format "<module>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation *...
tp_richcompare ; /* weak reference enabler */ Py_ssize_t tp_weaklistoffset ; /* Iterators */ getiterfunc...
unc tp_descr_get ; descrsetfunc tp_descr_set ; Py_ssize_t tp_dictoffset ; initproc tp_init ; allocfunc tp_...
ト構造体は PyVarObject 構造体を拡張したものです。 ob_size フィールドは、(通常 class 文が呼び出す type_new()...
- https://man.plustar.jp/python/c-api/typeobj.html - [similar]
- 22.5. chunk --- IFFチャンクデータの読み込み — Python 3.6.5 ドキュメント 6971
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
)を返します。これはチャンクの始めの4バイトです。 getsize ( ) ¶ チャンクのサイズを返します。 close ( ) ¶ オブ...
tell ( ) ¶ チャンク内の現在位置を返します。 read ( size=-1 ) ¶ チャンクから最大で size バイト読み込みます...
( size バイトを読み込むより前にチャンクの最後に行き着いた...
ら、それより少なくなります) 。もし引数 size が負か省略されたら、チャンクの最後まで全てのデータ...
- https://man.plustar.jp/python/library/chunk.html - [similar]
- 16.16. ctypes --- Pythonのための外部関数ライブラリ — Python 3.6.5 ドキュメント 6971
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ードサンプルで ctypes の c_int 型を参照しています。 sizeof(long) == sizeof(int) であるようなプラットフォーム...
g unsigned __int64 または unsigned long long int c_size_t size_t int c_ssize_t ssize_t または Py_ssize_t i...
byte buffer, initialized to NUL bytes >>> print ( sizeof ( p ), repr ( p . raw )) 3 b'\x00\x00\x00' >>> p...
fer containing a NUL terminated string >>> print ( sizeof ( p ), repr ( p . raw )) 6 b'Hello\x00' >>> prin...
- https://man.plustar.jp/python/library/ctypes.html - [similar]
- オブジェクトをヒープ上にメモリ確保する — Python 3.6.5 ドキュメント 6919
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
ject * _PyObject_NewVar ( PyTypeObject *type , Py_ssize_t size ) ¶ Return value: New reference. PyObject *...
itVar ( PyVarObject *op , PyTypeObject *type , Py_ssize_t size ) ¶ Return value: Borrowed reference. PyObj...
す。確保するメモリのサイズは型オブジェクトの tp_basicsize フィールドで決まります。 TYPE* PyObject_NewVar ( T...
YPE, PyTypeObject *type , Py_ssize_t size ) ¶ Return value: New reference. C 構造体型...
- https://man.plustar.jp/python/c-api/allocation.html - [similar]
- What's New in Python 2.2 — Python 3.6.5 ドキュメント 6919
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
たものです。例えば、計算で求まるけれども設定も出来る size 属性を定義したいとすると、このように書けます: clas...
s C ( object ): def get_size ( self ): result = ... computation ... return resu...
lt def set_size ( self , size ): ... compute something based on th...
e size and set internal state appropriately ... # Define...
- https://man.plustar.jp/python/whatsnew/2.2.html - [similar]
- 整数型オブジェクト (integer object) — Python 3.6.5 ドキュメント 6867
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
した際には NULL を返します。 PyObject * PyLong_FromSsize_t ( Py_ssize_t v ) ¶ C の Py_ssize_t 型から新たな...
敗のときには NULL を返します。 PyObject * PyLong_FromSize_t ( size_t v ) ¶ C の size_t 型から新たな PyLongOb...
yObject * PyLong_FromUnicode ( Py_UNICODE *u , Py_ssize_t length , int base ) ¶ Return value: New referenc...
rred() to disambiguate. バージョン 3.2 で追加. Py_ssize_t PyLong_AsSsize_t ( PyObject *pylong ) ¶ pylong を...
- https://man.plustar.jp/python/c-api/long.html - [similar]
- 11. 標準ライブラリミニツアー --- その 2 — Python 3.6.5 ドキュメント 6867
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
IIIHH' , data [ start : start + 16 ]) crc32 , comp_size , uncomp_size , filenamesize , extra_size = fields...
rt += 16 filename = data [ start : start + filenamesize ] start += filenamesize extra = data [ start : sta...
rt + extra_size ] print ( filename , hex ( crc32 ), comp_size , un...
comp_size ) start += extra_size + comp_size # skip to the ne...
- https://man.plustar.jp/python/tutorial/stdlib2.html - [similar]
- 3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 6764
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...
* For printing, in format "<module>.<name>" */ Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation *...
tp_richcompare ; /* weak reference enabler */ Py_ssize_t tp_weaklistoffset ; /* Iterators */ getiterfunc...
unc tp_descr_get ; descrsetfunc tp_descr_set ; Py_ssize_t tp_dictoffset ; initproc tp_init ; allocfunc tp_...
うな場面で役に立つであろう名前を選んでください! Py_ssize_t tp_basicsize , tp_itemsize ; /* For allocation *...
- https://man.plustar.jp/python/extending/newtypes.html - [similar]