Results of 1 - 10 of about 24 for nbytes (0.015 sec.)
- secrets --- 機密を扱うために安全な乱数を生成する — Python 3.14.8 ドキュメント 13627
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 暗号関連のサービス » secrets --- 機密を扱うために安全な乱数を生成する テーマ 自動 ライト ダーク | secrets --- 機密を扱うために安全な
...secure tokens, suitable for applications such as password resets, hard-to-guess URLs, and similar. secrets. token_bytes ( nbytes = None ) ¶ Return a random byte string containing nbytes number of bytes. If nbytes is not specified or None , DEFAULT_ENT...ROPY is used instead. >>> token_bytes ( 16 ) b'\xebr\x17D*t\xae\xd4\xe3S\xb6\xe2\xebP1\x8b' secrets. token_hex ( nbytes = None ) ¶ Return a random text string, in hexadecimal. The string has nbytes random bytes, each byte converted to two hex...digits. If nbytes is not specified or None , DEFAULT_ENTROPY is used instead. >>> token_hex ( 16 ) 'f9bf78b9a18ce6d46a0cd2b0b86df9da' secret... - https://man.mtool.work/python/3.14/library/secrets.html
- secrets --- 機密を扱うために安全な乱数を生成する — Python 3.14.8 ドキュメント 13627
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 暗号関連のサービス » secrets --- 機密を扱うために安全な乱数を生成する テーマ 自動 ライト ダーク | secrets --- 機密を扱うために安全な
...secure tokens, suitable for applications such as password resets, hard-to-guess URLs, and similar. secrets. token_bytes ( nbytes = None ) ¶ Return a random byte string containing nbytes number of bytes. If nbytes is not specified or None , DEFAULT_ENT...ROPY is used instead. >>> token_bytes ( 16 ) b'\xebr\x17D*t\xae\xd4\xe3S\xb6\xe2\xebP1\x8b' secrets. token_hex ( nbytes = None ) ¶ Return a random text string, in hexadecimal. The string has nbytes random bytes, each byte converted to two hex...digits. If nbytes is not specified or None , DEFAULT_ENTROPY is used instead. >>> token_hex ( 16 ) 'f9bf78b9a18ce6d46a0cd2b0b86df9da' secret... - https://man.mtool.work/python/3.14/library/secrets.html
- msvcrt --- MS VC++ ランタイムの有用なルーチン群 — Python 3.14.8 ドキュメント 8873
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » MS Windows 固有のサービス » msvcrt --- MS VC++ ランタイムの有用なルーチン群 テーマ 自動 ライト ダーク | msvcrt --- MS VC++ ランタイ
...は IOError が送出されていたところで OSError が送出されるようになりました。 ファイル操作関連 ¶ msvcrt. locking ( fd , mode , nbytes ) ¶ Lock part of a file based on file descriptor fd from the C runtime. Raises OSError on failure. The locked region of th...e file extends from the current file position for nbytes bytes, and may continue beyond the end of the file. mode must be one of the LK_* constants listed below. Multiple regions...the same time, but may not overlap. Adjacent regions are not merged; they must be unlocked individually. 引数 fd , mode , nbytes を指定して 監査イベント msvcrt.locking を送出します。 msvcrt. LK_LOCK ¶ msvcrt. LK_RLCK ¶ Locks the specified bytes. If th... - https://man.mtool.work/python/3.14/library/msvcrt.html
- msvcrt --- MS VC++ ランタイムの有用なルーチン群 — Python 3.14.8 ドキュメント 8873
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » MS Windows 固有のサービス » msvcrt --- MS VC++ ランタイムの有用なルーチン群 テーマ 自動 ライト ダーク | msvcrt --- MS VC++ ランタイ
...は IOError が送出されていたところで OSError が送出されるようになりました。 ファイル操作関連 ¶ msvcrt. locking ( fd , mode , nbytes ) ¶ Lock part of a file based on file descriptor fd from the C runtime. Raises OSError on failure. The locked region of th...e file extends from the current file position for nbytes bytes, and may continue beyond the end of the file. mode must be one of the LK_* constants listed below. Multiple regions...the same time, but may not overlap. Adjacent regions are not merged; they must be unlocked individually. 引数 fd , mode , nbytes を指定して 監査イベント msvcrt.locking を送出します。 msvcrt. LK_LOCK ¶ msvcrt. LK_RLCK ¶ Locks the specified bytes. If th... - https://man.mtool.work/python/3.14/library/msvcrt.html
- socket --- 低水準ネットワークインターフェース — Python 3.14.8 ドキュメント 8523
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » socket --- 低水準ネットワークインターフェース テーマ 自動 ライト ダーク | socket --- 低水準ネット
...れている場合があります。 ancbufsize 引数と flags 引数は、 recvmsg() での意味と同じ意味を持ちます。 戻り値は 4 要素のタプル (nbytes, ancdata, msg_flags, address) です。ここで、 nbytes はバッファに書き込まれた非付属的データの総数で、 ancdata 、 msg_flags...ytearray(b'little lamb---')] Availability : Unix. Unix プラットフォーム。 Added in version 3.3. recvfrom_into ( buffer [ , nbytes [ , flags ] ] ) ¶ Receive data from the socket, writing it into buffer instead of creating a new bytestring. The return va...lue is a pair (nbytes, address) where nbytes is the number of bytes received and address is the address of the socket sending the data. See the... - https://man.mtool.work/python/3.14/library/socket.html
- socket --- 低水準ネットワークインターフェース — Python 3.14.8 ドキュメント 8523
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » socket --- 低水準ネットワークインターフェース テーマ 自動 ライト ダーク | socket --- 低水準ネット
...れている場合があります。 ancbufsize 引数と flags 引数は、 recvmsg() での意味と同じ意味を持ちます。 戻り値は 4 要素のタプル (nbytes, ancdata, msg_flags, address) です。ここで、 nbytes はバッファに書き込まれた非付属的データの総数で、 ancdata 、 msg_flags...ytearray(b'little lamb---')] Availability : Unix. Unix プラットフォーム。 Added in version 3.3. recvfrom_into ( buffer [ , nbytes [ , flags ] ] ) ¶ Receive data from the socket, writing it into buffer instead of creating a new bytestring. The return va...lue is a pair (nbytes, address) where nbytes is the number of bytes received and address is the address of the socket sending the data. See the... - https://man.mtool.work/python/3.14/library/socket.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 8306
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...s is what a GDB backtrace looks like (truncated) when this extension is enabled: #0 0x000000000041a6b1 in PyObject_Malloc (nbytes=Cannot access memory at address 0x7fffff7fefe8 ) at Objects/obmalloc.c:748 #1 0x000000000041b7c0 in _PyObject_DebugMallocA...pi (id=111 'o', nbytes=24) at Objects/obmalloc.c:1445 #2 0x000000000041b717 in _PyObject_DebugMalloc (nbytes=24) at Objects/obmalloc.c:1412 #3 0x... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 8306
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...s is what a GDB backtrace looks like (truncated) when this extension is enabled: #0 0x000000000041a6b1 in PyObject_Malloc (nbytes=Cannot access memory at address 0x7fffff7fefe8 ) at Objects/obmalloc.c:748 #1 0x000000000041b7c0 in _PyObject_DebugMallocA...pi (id=111 'o', nbytes=24) at Objects/obmalloc.c:1445 #2 0x000000000041b717 in _PyObject_DebugMalloc (nbytes=24) at Objects/obmalloc.c:1412 #3 0x... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- 組み込み型 — Python 3.14.8 ドキュメント 8190
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...'big' : order = reversed ( range ( length )) else : raise ValueError ( "byteorder must be either 'little' or 'big'" ) return bytes (( n >> i * 8 ) & 0xff for i in order ) Added in version 3.2. バージョン 3.11 で変更: length と byteorder 引数にデフォルト...rray . array ( 'l' , [ 1 , 2 , 3 ]) >>> x = memoryview ( a ) >>> x . format 'l' >>> x . itemsize 8 >>> len ( x ) 3 >>> x . nbytes 24 >>> y = x . cast ( 'B' ) >>> y . format 'B' >>> y . itemsize 1 >>> len ( y ) 24 >>> y . nbytes 24 1次元 unsigned byte か...tolist () [[[0, 1, 2], [3, 4, 5]], [[6, 7, 8], [9, 10, 11]]] >>> y . format 'i' >>> y . itemsize 4 >>> len ( y ) 2 >>> y . nbytes 48 >>> z = y . cast ( 'b' ) >>> z . format 'b' >>> z . itemsize 1 >>> len ( z ) 48 >>> z . nbytes 48 1次元 unsigned long か... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- Event loop — Python 3.14.8 ドキュメント 7856
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a
...重要でなく、直接 socket オブジェクトとやりとりした方が便利なユースケースがいくつかあります。 async loop. sock_recv ( sock , nbytes ) ¶ nbytes で指定したバイト数までのデータをソケット sock から受信します。 このメソッドは socket.recv() の非同期版です。 受...sock はノンブロッキングソケットでなければなりません。 Added in version 3.11. async loop. sock_recvfrom_into ( sock , buf , nbytes = 0 ) ¶ Receive a datagram of up to nbytes from sock into buf . Asynchronous version of socket.recvfrom_into() . Return a... - https://man.mtool.work/python/3.14/library/asyncio-eventloop.html