per page, with , order by , clip by
Results of 1 - 10 of about 62 for fileno (0.007 sec.)
mmap --- メモリマップファイルのサポート — Python 3.14.8 ドキュメント 11704
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » mmap --- メモリマップファイルのサポート テーマ 自動 ライト ダーク | mmap --- メモリマップファイル ... ちらの場合も、更新用に開かれたファイル記述子を渡さなければなりません。既存の Python ファイルオブジェクトをマップしたければ、 fileno() メソッドを使って fileno パラメータの正しい値を取得してください。そうでなければ、 os.open() 関数を使ってファイルを開けます ... ありません。 バージョン 3.7 で変更: 定数 ACCESS_DEFAULT が追加されました。 無名メモリ(anonymous memory)にマップするためには fileno として -1 を渡し、length を与えてください。 class mmap. mmap ( fileno , length , tagname = None , access = ACCESS_DEFAULT ... , offset = 0 ) ¶ (Windows version) Maps length bytes from the file specified by the file handle fileno , and creates a mmap object. If length is larger than the current size of the file, the file is extended to contain length ...
https://man.mtool.work/python/3.14/library/mmap.html
mmap --- メモリマップファイルのサポート — Python 3.14.8 ドキュメント 11704
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » mmap --- メモリマップファイルのサポート テーマ 自動 ライト ダーク | mmap --- メモリマップファイル ... ちらの場合も、更新用に開かれたファイル記述子を渡さなければなりません。既存の Python ファイルオブジェクトをマップしたければ、 fileno() メソッドを使って fileno パラメータの正しい値を取得してください。そうでなければ、 os.open() 関数を使ってファイルを開けます ... ありません。 バージョン 3.7 で変更: 定数 ACCESS_DEFAULT が追加されました。 無名メモリ(anonymous memory)にマップするためには fileno として -1 を渡し、length を与えてください。 class mmap. mmap ( fileno , length , tagname = None , access = ACCESS_DEFAULT ... , offset = 0 ) ¶ (Windows version) Maps length bytes from the file specified by the file handle fileno , and creates a mmap object. If length is larger than the current size of the file, the file is extended to contain length ...
https://man.mtool.work/python/3.14/library/mmap.html
select --- I/O 完了の待機 — Python 3.14.8 ドキュメント 11212
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » select --- I/O 完了の待機 テーマ 自動 ライト ダーク | select --- I/O 完了の待機 ¶ このモジュール ... terables of 'waitable objects': either integers representing file descriptors or objects with a parameterless method named fileno() returning such an integer: rlist : 読み込み可能になるまで待機 wlist : 書き込み可能になるまで待機 xlist : "例外状態 (exce ... <wrapper> クラスを自分で定義することもできます。この場合、適切な (まったくデタラメな数ではなく本物のファイル記述子を返す) fileno() メソッドを持つ必要があります。 注釈 File objects on Windows are not acceptable, but sockets are. On Windows, the underly ... Added in version 3.4. devpoll. closed ¶ ポーリングオブジェクトが閉じている場合 True です。 Added in version 3.4. devpoll. fileno ( ) ¶ ポーリングオブジェクトのファイル記述子番号を返します。 Added in version 3.4. devpoll. register ( fd [ , eventmask ] ...
https://man.mtool.work/python/3.14/library/select.html
select --- I/O 完了の待機 — Python 3.14.8 ドキュメント 10707
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » select --- I/O 完了の待機 テーマ 自動 ライト ダーク | select --- I/O 完了の待機 ¶ このモジュール ... terables of 'waitable objects': either integers representing file descriptors or objects with a parameterless method named fileno() returning such an integer: rlist : 読み込み可能になるまで待機 wlist : 書き込み可能になるまで待機 xlist : "例外状態 (exce ... <wrapper> クラスを自分で定義することもできます。この場合、適切な (まったくデタラメな数ではなく本物のファイル記述子を返す) fileno() メソッドを持つ必要があります。 注釈 File objects on Windows are not acceptable, but sockets are. On Windows, the underly ... Added in version 3.4. devpoll. closed ¶ ポーリングオブジェクトが閉じている場合 True です。 Added in version 3.4. devpoll. fileno ( ) ¶ ポーリングオブジェクトのファイル記述子番号を返します。 Added in version 3.4. devpoll. register ( fd [ , eventmask ] ...
https://man.mtool.work/python/3.14/library/select.html
selectors --- 高水準の I/O 多重化 — Python 3.14.8 ドキュメント 10331
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » selectors --- 高水準の I/O 多重化 テーマ 自動 ライト ダーク | selectors --- 高水準の I/O 多重化 ... おり、これらは複数のファイルオブジェクトの I/O の準備状況の通知の待機に使用できます。以下では、 "ファイルオブジェクト" は、 fileno() メソッドを持つあらゆるオブジェクトか、あるいは Raw ファイル記述子を意味します。 ファイルオブジェクト を参照してください。 ... ファイルオブジェクトをセレクションに登録します。 fileobj は監視するファイルオブジェクトです。これは整数のファイル記述子か、 fileno() メソッドを持つオブジェクトのどちらかになります。 events は監視するイベントのビット幅マスクになります。 data は不透明型 ( ... ey インスタンスを返します。 fileobj が登録されていない場合 KeyError を送出します。 fileobj が不正な場合 (例えば fileobj に fileno() メソッドが無い場合や fileno() メソッドの戻り値が不正な場合) ValueError を送出します。 modify ( fileobj , events , data = ...
https://man.mtool.work/python/3.14/library/selectors.html
selectors --- 高水準の I/O 多重化 — Python 3.14.8 ドキュメント 10215
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » selectors --- 高水準の I/O 多重化 テーマ 自動 ライト ダーク | selectors --- 高水準の I/O 多重化 ... おり、これらは複数のファイルオブジェクトの I/O の準備状況の通知の待機に使用できます。以下では、 "ファイルオブジェクト" は、 fileno() メソッドを持つあらゆるオブジェクトか、あるいは Raw ファイル記述子を意味します。 ファイルオブジェクト を参照してください。 ... ファイルオブジェクトをセレクションに登録します。 fileobj は監視するファイルオブジェクトです。これは整数のファイル記述子か、 fileno() メソッドを持つオブジェクトのどちらかになります。 events は監視するイベントのビット幅マスクになります。 data は不透明型 ( ... ey インスタンスを返します。 fileobj が登録されていない場合 KeyError を送出します。 fileobj が不正な場合 (例えば fileobj に fileno() メソッドが無い場合や fileno() メソッドの戻り値が不正な場合) ValueError を送出します。 modify ( fileobj , events , data = ...
https://man.mtool.work/python/3.14/library/selectors.html
fcntl --- fcntl および ioctl システムコール — Python 3.14.8 ドキュメント 9464
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Unix-specific services » fcntl --- fcntl および ioctl システムコール テーマ 自動 ライト ダーク | fcntl --- fcntl および ioctl システ ... Availability : Unix, not WASI. このモジュール内の全ての関数はファイル記述子 fd を最初の引数に取ります。 この値は sys.stdin.fileno() が返すような整数のファイル記述子でも、 sys.stdin 自体のような、純粋にファイル記述子だけを返す fileno() メソッドを提供して ... います: fcntl. fcntl ( fd , cmd , arg = 0 , / ) ¶ Perform the operation cmd on file descriptor fd (file objects providing a fileno() method are accepted as well). The values used for cmd are operating system dependent, and are available as constants in ... call. System calls failing with EINTR are automatically retried. fcntl. flock ( fd , operation , / ) ¶ ファイル記述子 fd ( fileno() メソッドを提供しているファイルオブジェクトも含む) に対してロック操作 operation を実行します。 詳細は Unix マニュアルの f ...
https://man.mtool.work/python/3.14/library/fcntl.html
fcntl --- fcntl および ioctl システムコール — Python 3.14.8 ドキュメント 8843
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Unix-specific services » fcntl --- fcntl および ioctl システムコール テーマ 自動 ライト ダーク | fcntl --- fcntl および ioctl システ ... Availability : Unix, not WASI. このモジュール内の全ての関数はファイル記述子 fd を最初の引数に取ります。 この値は sys.stdin.fileno() が返すような整数のファイル記述子でも、 sys.stdin 自体のような、純粋にファイル記述子だけを返す fileno() メソッドを提供して ... います: fcntl. fcntl ( fd , cmd , arg = 0 , / ) ¶ Perform the operation cmd on file descriptor fd (file objects providing a fileno() method are accepted as well). The values used for cmd are operating system dependent, and are available as constants in ... call. System calls failing with EINTR are automatically retried. fcntl. flock ( fd , operation , / ) ¶ ファイル記述子 fd ( fileno() メソッドを提供しているファイルオブジェクトも含む) に対してロック操作 operation を実行します。 詳細は Unix マニュアルの f ...
https://man.mtool.work/python/3.14/library/fcntl.html
timer file descriptor HOWTO — Python 3.14.8 ドキュメント 8727
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » timer file descriptor HOWTO テーマ 自動 ライト ダーク | timer file descriptor HOWTO ¶ リリース : 1.13 This HOWTO discusses Python's support for th ... le descriptor. # sock and conn[=returned value of socket.accept()] are socket objects, not file descriptors. # So use sock.fileno() and conn.fileno() to get the file descriptors. events = ep . poll ( timeout ) # If more than one timer file descriptors ... bytes. print ( f "Signaled events= { events } " ) for fd , event in events : if event & select . EPOLLIN : if fd == sock . fileno (): # Check if there is a connection request. print ( f "Accepting connection { fd } " ) conn , addr = sock . accept () co ... t ( f "Accepted connection { conn } from { addr } " ) ep . register ( conn , select . EPOLLIN ) elif conn and fd == conn . fileno (): # Check if there is data to read. print ( f "Reading data { fd } " ) data = conn . recv ( 1024 ) if data : # You shoul ...
https://man.mtool.work/python/3.14/howto/timerfd.html
timer file descriptor HOWTO — Python 3.14.8 ドキュメント 8727
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » timer file descriptor HOWTO テーマ 自動 ライト ダーク | timer file descriptor HOWTO ¶ リリース : 1.13 This HOWTO discusses Python's support for th ... le descriptor. # sock and conn[=returned value of socket.accept()] are socket objects, not file descriptors. # So use sock.fileno() and conn.fileno() to get the file descriptors. events = ep . poll ( timeout ) # If more than one timer file descriptors ... bytes. print ( f "Signaled events= { events } " ) for fd , event in events : if event & select . EPOLLIN : if fd == sock . fileno (): # Check if there is a connection request. print ( f "Accepting connection { fd } " ) conn , addr = sock . accept () co ... t ( f "Accepted connection { conn } from { addr } " ) ep . register ( conn , select . EPOLLIN ) elif conn and fd == conn . fileno (): # Check if there is data to read. print ( f "Reading data { fd } " ) data = conn . recv ( 1024 ) if data : # You shoul ...
https://man.mtool.work/python/3.14/howto/timerfd.html
PREV 1 2 3 4 5 6 7 NEXT