Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 12 for buf (0.005 sec.)
- バッファプロトコル (buffer Protocol) — Python 3.6.5 ドキュメント 13283
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...イヤ (abstract objects layer) » バッファプロトコル (buffer Protocol) ¶ Pythonで利用可能ないくつかのオブジェ...クトは、下層にあるメモリ配列または buffer へのアクセスを提供します。このようなオブジェクト...接バッファにアクセスすることが望まれます。 Pythonは buffer protocol の形式で C レベルの仕組みを提供します。...ェクトの下層にあるバッファに関する情報を提供できる "buffer インタフェース" をエクスポートすることができます... - https://man.plustar.jp/python/c-api/buffer.html - [similar]
- メモリ管理 — Python 3.6.5 ドキュメント 12010
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...f heap space for Python objects and other internal buffers is performed on demand by the Python memory ma...ば、以下がそのような例です: PyObject * res ; char * buf = ( char * ) malloc ( BUFSIZ ); /* for I/O */ if (...buf == NULL ) return PyErr_NoMemory (); ... Do some I.../ O operation involving buf ... res = PyBytes_FromString ( buf ); free ( buf )... - https://man.plustar.jp/python/c-api/memory.html - [similar]
- 35.9. fcntl --- fcntl および ioctl システムコール — Python 3.6.5 ドキュメント 8967
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...( 0 , termios . TIOCGPGRP , " " ))[ 0 ] 13341 >>> buf = array . array ( 'h' , [ 0 ]) >>> fcntl . ioctl (...0 , termios . TIOCGPGRP , buf , 1 ) 0 >>> buf array('h', [13341]) fcntl. flock (... - https://man.plustar.jp/python/library/fcntl.html - [similar]
- 18.2. ssl --- ソケットオブジェクトに対する TLS/SSL ラッパー — Python 3.6.5 ドキ... 8667
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ソッドと属性もあります: SSLSocket. read ( len=1024 , buffer=None ) ¶ SSL ソケットからデータの len バイトまで...し、読み出した結果を bytes インスタンスで返します。 buffer を指定すると、結果は代わりに buffer に読み込まれ...りに recv() を使用してください。 SSLSocket. write ( buf ) ¶ buf を SSL ソケットに書き込み、書き込んだバイト...数を返します。 buf 引数はバッファインターフェイスをサポートするオブジ... - https://man.plustar.jp/python/library/ssl.html - [similar]
- 15.1. hashlib --- セキュアハッシュおよびメッセージダイジェスト — Python 3.6.5 ... 8384
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...nk of data to hash, which must be interpretable as buffer of bytes. digest_size : size of output digest i...2 >>> LEAF_SIZE = 4096 >>> INNER_SIZE = 64 >>> >>> buf = bytearray ( 6000 ) >>> >>> # Left leaf ... h00 =...blake2b ( buf [ 0 : LEAF_SIZE ], fanout = FANOUT , depth = DEPTH...ode = False ) >>> # Right leaf ... h01 = blake2b ( buf [ LEAF_SIZE :], fanout = FANOUT , depth = DEPTH ,... - https://man.plustar.jp/python/library/hashlib.html - [similar]
- 13.6. tarfile --- tar アーカイブファイルの読み書き — Python 3.6.5 ドキュメント 7977
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...file. open ( name=None , mode='r' , fileobj=None , bufsize=10240 , **kwargs ) ¶ パス名 name の TarFile オ...( mode に依存した) 任意のオブジェクトにできます。 bufsize にはブロックサイズを指定します。デフォルトは 2...ます。 exception tarfile. HeaderError ¶ TarInfo.frombuf() メソッドが取得したバッファーが不正だったときに送...せん。 member が一般ファイルまたはリンクの場合、 io.BufferedReader オブジェクトが返されます。それ以外の場合... - https://man.plustar.jp/python/library/tarfile.html - [similar]
- 13.1. zlib --- gzip 互換の圧縮 — Python 3.6.5 ドキュメント 7888
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...he wbits argument controls the size of the history buffer (or the "window size") used when compressing da...します。 zlib. decompress ( data , wbits=MAX_WBITS , bufsize=DEF_BUF_SIZE ) ¶ Decompresses the bytes in dat...ormat of data , and is discussed further below. If bufsize is given, it is used as the initial size of th...e output buffer. Raises the error exception if any error occurs... - https://man.plustar.jp/python/library/zlib.html - [similar]
- 引数の解釈と値の構築 — Python 3.6.5 ドキュメント 7782
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...例外は、 es , es# , et , et# だけです。 ただし、 Py_buffer 構造体に格納されたバッファーはロックされて、呼び...た場合 (もしくは処理せずに中断した場合) には 必ず PyBuffer_Release() を呼ばなければなりません。 特に言及さ...にポインタをセットします。それらは、オブジェクトの PyBufferProcs.bf_releasebuffer フィールドが NULL であるこ...ていました。 s* ( str または bytes-like object ) [Py_buffer] このフォーマットは Unicode オブジェクトと byte... - https://man.plustar.jp/python/c-api/arg.html - [similar]
- 18.3. select --- I/O 処理の完了を待機する — Python 3.6.5 ドキュメント 7782
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...拠については PEP 475 を見てください)。 select. PIPE_BUF ¶ select() , poll() またはこのモジュールの別のイン... - https://man.plustar.jp/python/library/select.html - [similar]
- What's New in Python 2.5 — Python 3.6.5 ドキュメント 7782
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
.../ readlines() methods. Iteration uses an internal buffer and the read*() methods don't use that buffer....Instead they would return the data following the buffer, causing the data to appear out of order. Mixin...ットオブジェクトの 2 つの新たなメソッド、 recv_into(buffer) , recvfrom_into(buffer) は、受信データを、文字...ta ) You can also pack and unpack data to and from buffer objects directly using the pack_into(buffer, of... - https://man.plustar.jp/python/whatsnew/2.5.html - [similar]
