Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ functions
Functions
9,017 in github.com/NVIDIA/OpenShell
⨍
Functions
9,017
◇
Types & classes
806
Function
test_probe_discovers_nvidia_gpu
()
crates/openshell-vfio/src/gpu.rs:174
Function
test_probe_host_vfio_candidates_filters_by_vendor
()
crates/openshell-vfio/src/pci.rs:971
Function
test_probe_host_vfio_candidates_returns_all_devices
()
crates/openshell-vfio/src/pci.rs:932
Function
test_probe_host_vfio_candidates_skips_devices_without_iommu_group
()
crates/openshell-vfio/src/pci.rs:1007
Function
test_probe_host_vfio_candidates_synthesizes_name_from_vendor_device
()
crates/openshell-vfio/src/pci.rs:1038
Function
test_probe_skips_non_gpu_nvidia
()
crates/openshell-vfio/src/gpu.rs:212
Function
test_probe_skips_non_nvidia
()
crates/openshell-vfio/src/gpu.rs:195
Function
test_process_activity_builder_launch
()
crates/openshell-ocsf/src/builders/process.rs:101
Function
test_process_activity_builder_terminate
()
crates/openshell-ocsf/src/builders/process.rs:122
Function
test_process_activity_serialization
()
crates/openshell-ocsf/src/events/process_activity.rs:78
Function
test_process_activity_shorthand_launch
()
crates/openshell-ocsf/src/format/shorthand.rs:803
Function
test_process_activity_shorthand_terminate
()
crates/openshell-ocsf/src/format/shorthand.rs:822
Function
test_process_creation
()
crates/openshell-ocsf/src/objects/process.rs:88
Function
test_process_from_bypass
()
crates/openshell-ocsf/src/objects/process.rs:104
Function
test_process_from_bypass_deep_chain
()
crates/openshell-ocsf/src/objects/process.rs:113
Function
test_process_serialization
()
crates/openshell-ocsf/src/objects/process.rs:123
Function
test_process_with_parent
()
crates/openshell-ocsf/src/objects/process.rs:96
Function
test_provider_credentials_available_as_env_vars
Sandbox child processes see provider env vars as placeholders.
e2e/python/test_sandbox_providers.py:107
Function
test_read_oidc_token_bundle_parses_non_ascii_utf8
(tmp_path: Path)
python/openshell/sandbox_test.py:1356
Function
test_read_oidc_token_bundle_returns_none_on_corrupt_bytes
(tmp_path: Path)
python/openshell/sandbox_test.py:1367
Function
test_reconcile_clears_stale_driver_override_when_not_on_vfio
()
crates/openshell-vfio/src/reconcile.rs:114
Function
test_refresher_adopts_stale_disk_refresh_token_before_refreshing
Regression: when both the in-memory and on-disk access tokens are stale but another process rotated the on-disk refresh_token, refresh with th
python/openshell/sandbox_test.py:635
Function
test_refresher_concurrent_calls_share_one_refresh
N threads racing on a stale token should produce exactly one refresh exchange (not N). Mirrors google-auth's RefreshThreadManager coordination
python/openshell/sandbox_test.py:920
Function
test_refresher_concurrent_write_back_does_not_trample
Two writers calling `_write_to_disk` concurrently must each use their own tempfile (PID+random) and not corrupt each other's content. The fina
python/openshell/sandbox_test.py:1213
Function
test_refresher_exchanges_refresh_token_when_stale
When both memory and disk are stale, do the OAuth2 refresh exchange.
python/openshell/sandbox_test.py:799
Function
test_refresher_honors_refresh_token_rotation
When the IdP returns a new refresh_token, use it for subsequent refreshes instead of the original. Some IdPs (Keycloak with rotation enabled, Entr
python/openshell/sandbox_test.py:863
Function
test_refresher_insecure_disables_tls_verification
Finding #3: insecure=True propagates to httpx as verify=False so self-signed OIDC issuers work the same way they do in the Rust CLI's `--insec
python/openshell/sandbox_test.py:1036
Function
test_refresher_picks_up_disk_rotation_before_refreshing
If the in-memory bundle is stale but the CLI just wrote a fresh one, re-read disk instead of hitting the IdP.
python/openshell/sandbox_test.py:601
Function
test_refresher_raises_when_bundle_has_no_refresh_token
Without a refresh_token (e.g. client_credentials grant — different code path entirely), refresh has nothing to exchange and surfaces a clear e
python/openshell/sandbox_test.py:1084
Function
test_refresher_recovers_from_invalid_grant_after_peer_rotation
If our refresh POST loses a rotation race (peer already rotated r1→r2 and the IdP rejects our r1 with invalid_grant), re-read disk, pick up the
python/openshell/sandbox_test.py:718
Function
test_refresher_rejects_issuer_mismatch_in_discovery
Finding #1 (Critical): a discovery doc claiming a different issuer must be rejected. Without this, a malicious or misdirected discovery respon
python/openshell/sandbox_test.py:996
Function
test_refresher_rejects_redirect_during_discovery
Finding #1 (Critical): a 3xx during OIDC discovery must NOT be auto-followed — that would let a network attacker steer the SDK to an arbitrary
python/openshell/sandbox_test.py:1017
Function
test_refresher_reraises_invalid_grant_without_peer_rotation
invalid_grant with no peer rotation (disk still holds our refresh_token) is a genuine dead token — surface the re-authenticate hint and do NOT loo
python/openshell/sandbox_test.py:766
Function
test_refresher_resets_token_endpoint_when_disk_issuer_changes
When the adopted disk bundle has a different issuer than the cached one, the previously discovered token endpoint must be re-discovered agains
python/openshell/sandbox_test.py:677
Function
test_refresher_returns_cached_token_when_fresh
No refresh round-trip when the cached bundle is still fresh.
python/openshell/sandbox_test.py:587
Function
test_refresher_second_process_can_refresh_after_rotation
Two-process simulation (Finding #2): process A refreshes r1→r2 with write_back=True (default). Process B starts from disk and successfully use
python/openshell/sandbox_test.py:887
Function
test_refresher_surfaces_idp_failure_as_sandbox_error
A non-2xx from the token endpoint becomes a SandboxError.
python/openshell/sandbox_test.py:973
Function
test_refresher_write_back_is_default
Default IS write_back=True so refresh-token rotation propagates to disk for other processes (Rust CLI, TUI, second Python client).
python/openshell/sandbox_test.py:841
Function
test_refresher_writes_back_when_enabled
write_back=True persists rotated bundle to disk atomically with 0600.
python/openshell/sandbox_test.py:816
Function
test_register_deregister_refcount
()
crates/openshell-vfio/src/bind.rs:430
Function
test_register_vfio_new_id_ignores_missing_new_id_file
()
crates/openshell-vfio/src/bind.rs:372
Function
test_register_vfio_new_id_writes_vendor_device
()
crates/openshell-vfio/src/bind.rs:350
Function
test_rejects_ipv4_cgnat
()
crates/openshell-supervisor-network/src/proxy.rs:5247
Function
test_rejects_ipv4_link_local_metadata
()
crates/openshell-supervisor-network/src/proxy.rs:5233
Function
test_rejects_ipv4_loopback
()
crates/openshell-supervisor-network/src/proxy.rs:5207
Function
test_rejects_ipv4_mapped_ipv6_link_local
()
crates/openshell-supervisor-network/src/proxy.rs:5337
Function
test_rejects_ipv4_mapped_ipv6_loopback
()
crates/openshell-supervisor-network/src/proxy.rs:5330
Function
test_rejects_ipv4_mapped_ipv6_private
()
crates/openshell-supervisor-network/src/proxy.rs:5323
Function
test_rejects_ipv4_private_10
()
crates/openshell-supervisor-network/src/proxy.rs:5213
Function
test_rejects_ipv4_private_172_16
()
crates/openshell-supervisor-network/src/proxy.rs:5219
Function
test_rejects_ipv4_private_192_168
()
crates/openshell-supervisor-network/src/proxy.rs:5225
Function
test_rejects_ipv4_special_use_ranges
()
crates/openshell-supervisor-network/src/proxy.rs:5262
Function
test_rejects_ipv4_unspecified
()
crates/openshell-supervisor-network/src/proxy.rs:5242
Function
test_rejects_ipv6_link_local
()
crates/openshell-supervisor-network/src/proxy.rs:5307
Function
test_rejects_ipv6_loopback
()
crates/openshell-supervisor-network/src/proxy.rs:5297
Function
test_rejects_ipv6_mapped_cgnat
()
crates/openshell-supervisor-network/src/proxy.rs:5275
Function
test_rejects_ipv6_unique_local_address
()
crates/openshell-supervisor-network/src/proxy.rs:5315
Function
test_rejects_ipv6_unspecified
()
crates/openshell-supervisor-network/src/proxy.rs:5302
Function
test_rejects_localhost_resolution
()
crates/openshell-supervisor-network/src/proxy.rs:5936
Function
test_rejects_loopback_ip_literal
()
crates/openshell-supervisor-network/src/proxy.rs:5947
Function
test_rejects_metadata_ip
()
crates/openshell-supervisor-network/src/proxy.rs:5958
Function
test_release_pci_from_passthrough_restores_device
()
crates/openshell-vfio/src/pci.rs:1500
Function
test_release_pci_group_restores_all_devices
()
crates/openshell-vfio/src/pci.rs:1417
Function
test_release_pci_group_returns_first_error_continues_others
()
crates/openshell-vfio/src/pci.rs:1462
Function
test_reload_invalid_preserves_old
()
crates/openshell-server/src/tls.rs:431
Function
test_reload_mtls_ca_rotation
()
crates/openshell-server/src/tls.rs:744
Function
test_reload_serves_new_cert
()
crates/openshell-server/src/tls.rs:553
Function
test_reload_success
()
crates/openshell-server/src/tls.rs:413
Function
test_reload_worker_detects_file_change
()
crates/openshell-server/src/tls.rs:657
Function
test_reload_worker_shutdown
()
crates/openshell-server/src/tls.rs:626
Function
test_remediation
()
crates/openshell-ocsf/src/objects/finding.rs:106
Function
test_remove_docs_drops_snapshot
(tmp_path: Path)
tasks/scripts/sync_docs_website_test.py:148
Function
test_resolve_check_allowed_ips_allows_non_control_plane_ports
()
crates/openshell-supervisor-network/src/proxy.rs:6894
Function
test_resolve_check_allowed_ips_blocks_control_plane_ports
()
crates/openshell-supervisor-network/src/proxy.rs:6874
Function
test_resolve_check_allowed_ips_blocks_loopback
()
crates/openshell-supervisor-network/src/proxy.rs:6820
Function
test_resolve_check_allowed_ips_blocks_metadata
()
crates/openshell-supervisor-network/src/proxy.rs:6833
Function
test_resolve_check_allowed_ips_blocks_unspecified
()
crates/openshell-supervisor-network/src/proxy.rs:6846
Function
test_resolve_check_allowed_ips_rejects_outside_allowlist
()
crates/openshell-supervisor-network/src/proxy.rs:6859
Function
test_resolve_display_name
()
tasks/scripts/sync_docs_website_test.py:47
Function
test_resolve_from_hosts_file_contents_always_blocked_ip_stays_blocked
()
crates/openshell-supervisor-network/src/proxy.rs:5478
Function
test_resolve_from_hosts_file_contents_private_ip_requires_allowed_ips
()
crates/openshell-supervisor-network/src/proxy.rs:5405
Function
test_resolve_from_hosts_file_contents_public_ip_passes_default_ssrf_check
()
crates/openshell-supervisor-network/src/proxy.rs:5398
Function
test_resolve_from_hosts_file_contents_requires_exact_alias_match
()
crates/openshell-supervisor-network/src/proxy.rs:5379
Function
test_resolve_from_hosts_file_contents_returns_empty_without_match
()
crates/openshell-supervisor-network/src/proxy.rs:5491
Function
test_resolve_slug_channels
()
tasks/scripts/sync_docs_website_test.py:28
Function
test_resolve_slug_rejects_unsafe_characters
()
tasks/scripts/sync_docs_website_test.py:39
Function
test_resolve_slug_version_requires_slug
()
tasks/scripts/sync_docs_website_test.py:34
Function
test_response_is_event_stream
()
crates/openshell-supervisor-network/src/l7/rest.rs:3388
Function
test_restore_deregisters_new_id_before_reprobe
()
crates/openshell-vfio/src/bind.rs:587
Function
test_rewrite_forward_request_preserves_canonical_query_on_the_wire
()
crates/openshell-supervisor-network/src/proxy.rs:7238
Function
test_rewrite_forward_request_uses_canonical_path_on_the_wire
()
crates/openshell-supervisor-network/src/proxy.rs:7209
Function
test_rewrite_get_request
()
crates/openshell-supervisor-network/src/proxy.rs:7150
Function
test_rewrite_preserves_body_overflow
()
crates/openshell-supervisor-network/src/proxy.rs:7188
Function
test_rewrite_preserves_existing_via
()
crates/openshell-supervisor-network/src/proxy.rs:7198
Function
test_rewrite_replaces_connection_header
()
crates/openshell-supervisor-network/src/proxy.rs:7178
Function
test_rewrite_resolves_placeholder_auth_headers
()
crates/openshell-supervisor-network/src/proxy.rs:7262
Function
test_rewrite_strips_proxy_headers
()
crates/openshell-supervisor-network/src/proxy.rs:7163
Function
test_risk_level_labels
()
crates/openshell-ocsf/src/enums/security.rs:137
Function
test_roundtrip_application_lifecycle
()
crates/openshell-ocsf/src/events/mod.rs:235
Function
test_roundtrip_base_event
()
crates/openshell-ocsf/src/events/mod.rs:267
← previous
next →
8,201–8,300 of 9,017, ranked by callers