per page, with , order by , clip by
Results of 1 - 10 of about 18 for native (0.005 sec.)
struct --- バイト列をパックされたバイナリデータとして解釈する 12268
struct --- バイト列をパックされたバイナリデータとして解釈する ソースコード: Lib/struct.py このモジュールは、Python の値と、Python の bytes オブジェクトで表した C の構造体との間の変換を行います。 簡潔な 書式文字列 で、Python の値との変換方法 ... アラインメントを指定することができます。指定できる文字を以下のテーブルに示します: 文字 バイトオーダ サイズ アラインメント @ native native native = native standard none < リトルエンディアン standard none > ビッグエンディアン standard none ! ネットワーク ... された値が何バイトかを示します。 つまり、フォーマット文字列が '<' , '>' , '!' , '=' のいずれかで始まっている場合のものです。 native サイズ使用時にはパックされた値の大きさはプラットフォーム依存です。 フォーマット C の型 Python の型 標準のサイズ 注釈 x パデ ... _() メソッドを使うようになりました。 'n' および 'N' 変換コードは (デフォルトもしくはバイトオーダ文字 '@' 付きで選択される) native サイズ使用時のみ利用できます。standard サイズ使用時には、自身のアプリケーションに適する他の整数フォーマットを使うことができ ...
https://man.mtool.work/python/3.14/library/struct.html
リモートデバッグのアタッチプロトコル 11547
リモートデバッグのアタッチプロトコル このプロトコルを使うと、外部ツールから実行中の CPython プロセスにアタッチし、Python コードをリモートで実行できます。 別の Python プロセスへのアタッチには、プラットフォームによって追加の権限や設定が必要な ... じて、オフセット interpreter_state.threads_head を使って全スレッド状態の連結リストをたどります。 各 PyThreadState 構造体には native_thread_id フィールドがあり、目的のスレッド ID と比較して特定のスレッドを探せます。 有効な PyThreadState が見つかったら、そ ... たどる thread_ptr = read_pointer ( pid , interp_addr + debug_offsets . interpreter_state . threads_head ) while thread_ptr : native_tid_ptr = ( thread_ptr + debug_offsets . thread_state . native_thread_id ) native_tid = read_int ( pid , native_tid_ptr ) ... if native_tid == target_tid : return thread_ptr thread_ptr = read_pointer ( pid , thread_ptr + debug_offsets . thread_state . next ) ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
整数型オブジェクト (integer object) 10826
整数型オブジェクト (integer object) すべての整数は任意の長さをもつ "long" 整数として実装されます。 エラーが起きると、ほとんどの PyLong_As* API は (return type)-1 を返しますが、これは数値と見分けが付きません。 見分けを付けるためには PyErr_Oc ... ます。 数字がない場合や、数字と末尾の空白の後で str が NULL 終端されていない場合は、 ValueError を送出します。 参考 PyLong_AsNativeBytes() と PyLong_FromNativeBytes() を使うと、 PyLongObject と基数 256 のバイト配列を相互に変換できます。 PyObject * PyLong ... p から Python 整数値を生成します。ポインタの値は PyLong_AsVoidPtr() を適用した結果から取得されます。 PyObject * PyLong_FromNativeBytes ( const void * buffer , size_t n_bytes , int flags ) 次に属します: Stable ABI (バージョン 3.14 より). buffer の先頭 n ... _bytes バイトに格納された値を、2 の補数表現の符号付き数値として解釈し、Python の整数を作成します。 flags は PyLong_AsNativeBytes() と同じです。 -1 を渡すと、CPython のコンパイル時のネイティブなエンディアンを選び、最上位ビットを符号ビットとみなしま ...
https://man.mtool.work/python/3.14/c-api/long.html
スレッド状態とグローバルインタープリタロック 10826
スレッド状態とグローバルインタープリタロック CPython の フリースレッドビルド を除き、Python インタープリタは一般にスレッドセーフではありません。 マルチスレッドの Python プログラムをサポートするため、 グローバルインタープリタロック 、または ... 失敗時は例外を設定して NULL を返します。 呼び出し元には スレッド状態がアタッチされていなければなりません 。 PY_HAVE_THREAD_NATIVE_ID システムがネイティブスレッド ID をサポートしている場合に定義されるマクロです。 unsigned long PyThread_get_thread_native ... _id ( void ) 次に属します: Stable ABI on platforms with native thread IDs. OS のカーネルが割り当てた、現在のスレッドのネイティブ識別子を取得します。 ゼロ未満になることはありません。 PY_ ... HAVE_THREAD_NATIVE_ID が定義されている場合にのみ利用できます。 この関数は失敗せず、呼び出し元に スレッド状態がアタッチされている 必要もありま ...
https://man.mtool.work/python/3.14/c-api/threads.html
浮動小数点オブジェクト 10106
浮動小数点オブジェクト type PyFloatObject この PyObject のサブタイプは Python の浮動小数点オブジェクトを表します。 PyTypeObject PyFloat_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python の浮動小数点型を表します。 Pyt ... p+6 and p+7 ), zero if you want big-endian format (exponent first, at p ). Use the PY_LITTLE_ENDIAN constant to select the native endian: it is equal to 0 on big endian processor, or 1 on little endian processor. 戻り値は、成功した場合は 0 、エラーの場 ... at p+1 , p+3 or p+6 and p+7 ), zero if big-endian (exponent first, at p ). Use the PY_LITTLE_ENDIAN constant to select the native endian: it is equal to 0 on big endian processor, or 1 on little endian processor. 戻り値は、アンパックした double です。 ...
https://man.mtool.work/python/3.14/c-api/float.html
C API Stability 8664
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... () PyLong_AsInt64() PyLong_AsLong() PyLong_AsLongAndOverflow() PyLong_AsLongLong() PyLong_AsLongLongAndOverflow() PyLong_AsNativeBytes() PyLong_AsSize_t() PyLong_AsSsize_t() PyLong_AsUInt32() PyLong_AsUInt64() PyLong_AsUnsignedLong() PyLong_AsUnsignedL ... g_AsVoidPtr() PyLong_FromDouble() PyLong_FromInt32() PyLong_FromInt64() PyLong_FromLong() PyLong_FromLongLong() PyLong_FromNativeBytes() PyLong_FromSize_t() PyLong_FromSsize_t() PyLong_FromString() PyLong_FromUInt32() PyLong_FromUInt64() PyLong_FromUns ... ignedLong() PyLong_FromUnsignedLongLong() PyLong_FromUnsignedNativeBytes() PyLong_FromVoidPtr() PyLong_GetInfo() PyLong_Type PyMap_Type PyMapping_Check() PyMapping_GetItemString() PyMapping_ ...
https://man.mtool.work/python/3.14/c-api/stable.html
What's New In Python 3.8 8664
What's New In Python 3.8 編集者 : Raymond Hettinger この記事では Python 3.7 と比較した Python 3.8 の新機能を解説します。 Python 3.8 は 2019 年 10 月 14 日にリリースされました。 詳しくは 変更履歴 を参照してください。 概要 -- リリースハイライ ... un() の捕捉されなかった例外の処理を制御できます。 (Contributed by Victor Stinner in bpo-1230540 .) Add a new threading.get_native_id() function and a native_id attribute to the threading.Thread class. These return the native integral Thread ID of the c ... urrent thread assigned by the kernel. This feature is only available on certain platforms, see get_native_id for more information. (Contributed by Jake Tesler in bpo-36084 .) tokenize tokenize モジュールは、末尾に改行のない入力に ...
https://man.mtool.work/python/3.14/whatsnew/3.8.html
threading --- スレッドベースの並列処理 8304
threading --- スレッドベースの並列処理 ソースコード: Lib/threading.py このモジュールでは、高水準のスレッドインターフェースをより低水準 な _thread モジュールの上に構築しています。 利用可能な環境 : not WASI. このモジュールは WebAssembly では動 ... レッドが終了し、他のスレッドが作られたとき、スレッド ID は再利用されるかもしれません。 Added in version 3.3. threading. get_native_id ( ) カーネルが割り当てた、現在のスレッドのネイティブなスレッド ID を返します。 これは非負の整数です。 この値で、システム ... ッドが終了した後、新たなスレッドが生成された場合、再利用され得ます。スレッド識別子は、スレッドが終了した後でも利用できます。 native_id OS (カーネル) が割り当てた、このスレッドのスレッド ID ( TID ) です。 非負の整数で、スレッドがまだ開始されていない場合は ... None です。 get_native_id() を参照してください。 この値で、システム全体においてこのスレッドを一意に識別できます (スレッドが終了するまでで、その後 ...
https://man.mtool.work/python/3.14/library/threading.html
Python support for the Linux perf profiler 7944
Python support for the Linux perf profiler author : Pablo Galindo The Linux perf profiler is a very powerful tool that allows you to profile and obtain information about the performance of your application. perf also has a very vibrant ecos ... produces. The main problem with using the perf profiler with Python applications is that perf only gets information about native symbols, that is, the names of functions and procedures written in C. This means that the names and file names of Python f ...
https://man.mtool.work/python/3.14/howto/perf_profiling.html
_thread --- 低水準なスレッド API 7944
_thread --- 低水準なスレッド API このモジュールはマルチスレッド (別名 軽量プロセス ( light-weight processes )または タスク ( tasks )) に用いられる低水準プリミティブを提供します --- グローバルデータ空間を共有するマルチスレッドを制御します。同 ... して意図されています。スレッドが終了し、他のスレッドが作られたとき、スレッド ID は再利用されるかもしれません。 _thread. get_native_id ( ) カーネルが割り当てた、現在のスレッドのネイティブなスレッド ID を返します。 これは非負の整数です。 この値で、システム ...
https://man.mtool.work/python/3.14/library/_thread.html
PREV 1 2 NEXT