MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / host

Method host

misc/python/materialize/xcompile.py:43–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42 @staticmethod
43 def host() -> "Arch":
44 if platform.machine() == "x86_64":
45 return Arch.X86_64
46 elif platform.machine() in ["aarch64", "arm64"]:
47 return Arch.AARCH64
48 else:
49 raise RuntimeError(f"unknown host architecture {platform.machine()}")
50
51
52def target(arch: Arch) -> str:

Callers 15

clientFunction · 0.45
newMethod · 0.45
wildcard_origin_matchFunction · 0.45
mainFunction · 0.45
test_server_errorFunction · 0.45
test_idle_timeoutFunction · 0.45
test_keepaliveFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_server_errorFunction · 0.36
test_idle_timeoutFunction · 0.36
test_keepaliveFunction · 0.36
test_metricsFunction · 0.36
init_persistFunction · 0.36
newMethod · 0.36