signal 信号注册、控制及常量。

固定源码版本:2f2318653f6f794dddd321eff7c9d4b7b174643f。本表共 17 条静态出现记录;不是运行次数。

同一个直接 API 表达式只记为 api_call 或 api_reference 中的一类。实例候选不计入直接原生 API 总数。

总览 · 完整文件索引 · JSON · TSV

ID位置 / 快照所属符号种类API / 语法来源判定源码行
occ-001098slime/rollout/rm_hub/math_dapo_utils.py:17 · 快照<module>importsignalexplicit_importimport signal
occ-001099slime/rollout/rm_hub/math_dapo_utils.py:75 · 快照timeout.enterapi_callsignal.signallexical_import_resolutionsignal.signal(signal.SIGALRM, self.handle_timeout)
occ-001100slime/rollout/rm_hub/math_dapo_utils.py:75 · 快照timeout.enterapi_referencesignal.SIGALRMlexical_import_resolutionsignal.signal(signal.SIGALRM, self.handle_timeout)
occ-001101slime/rollout/rm_hub/math_dapo_utils.py:76 · 快照timeout.enterapi_callsignal.alarmlexical_import_resolutionsignal.alarm(self.seconds)
occ-001102slime/rollout/rm_hub/math_dapo_utils.py:79 · 快照timeout.exitapi_callsignal.alarmlexical_import_resolutionsignal.alarm(0)
occ-001363tests/ci/gpu_lock_exec.py:6 · 快照<module>importsignalexplicit_importimport signal
occ-001377tests/ci/gpu_lock_exec.py:62 · 快照_run_command.terminate_childapi_referencesignal.SIGKILLlexical_import_resolutionos.killpg(child.pid, signal.SIGKILL)
occ-001379tests/ci/gpu_lock_exec.py:69 · 快照_run_commandapi_referencesignal.SIGINTlexical_import_resolutionfor signum in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):
occ-001380tests/ci/gpu_lock_exec.py:69 · 快照_run_commandapi_referencesignal.SIGTERMlexical_import_resolutionfor signum in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):
occ-001381tests/ci/gpu_lock_exec.py:69 · 快照_run_commandapi_referencesignal.SIGHUPlexical_import_resolutionfor signum in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):
occ-001382tests/ci/gpu_lock_exec.py:70 · 快照_run_commandapi_callsignal.getsignallexical_import_resolutionprevious_handlers[signum] = signal.getsignal(signum)
occ-001383tests/ci/gpu_lock_exec.py:71 · 快照_run_commandapi_callsignal.signallexical_import_resolutionsignal.signal(signum, terminate_child)
occ-001386tests/ci/gpu_lock_exec.py:81 · 快照_run_commandapi_callsignal.signallexical_import_resolutionsignal.signal(signum, handler)
occ-001916tests/test_rollout_manager_recovery.py:10 · 快照<module>importsignalexplicit_importimport signal
occ-001921tests/test_rollout_manager_recovery.py:93 · 快照_install_crash.crashapi_referencesignal.SIGKILLlexical_import_resolutionos.kill(os.getpid(), signal.SIGKILL)
occ-002058tests/test_straw_fully_async_recovery.py:12 · 快照<module>importsignalexplicit_importimport signal
occ-002089tests/test_straw_fully_async_recovery.py:276 · 快照test_fully_async_sigkill_and_restart_preserves_results_and_prefixesapi_referencesignal.SIGKILLlexical_import_resolutionassert process.returncode == -signal.SIGKILL

返回分类索引 · 返回学习首页