MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / mac_from_sandbox_id_deterministic

Function mac_from_sandbox_id_deterministic

crates/openshell-driver-vm/src/gpu.rs:308–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306
307 #[test]
308 fn mac_from_sandbox_id_deterministic() {
309 let mac1 = mac_from_sandbox_id("sandbox-x");
310 let mac2 = mac_from_sandbox_id("sandbox-x");
311 assert_eq!(mac1, mac2);
312
313 let mac3 = mac_from_sandbox_id("sandbox-y");
314 assert_ne!(mac1, mac3);
315 }
316
317 #[test]
318 fn vsock_cid_increments() {

Callers

nothing calls this directly

Calls 1

mac_from_sandbox_idFunction · 0.85

Tested by

no test coverage detected