MCPcopy Create free account
hub / github.com/hashintel/hash / name

Method name

libs/darwin-kperf/src/database.rs:145–149  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

143 /// Database name, e.g. `"a14"`, `"as4"`.
144 #[must_use]
145 pub const fn name(&self) -> &'db str {
146 // SAFETY: the framework guarantees `kpep_db.name` is a non-null,
147 // NUL-terminated C string that lives as long as the database.
148 unsafe { as_str(self.inner.name) }
149 }
150
151 /// Plist CPU identifier, e.g. `"cpu_7_8_10b282dc"`.
152 #[must_use]

Callers 5

generateCompanyNameFunction · 0.45
cpuMethod · 0.45

Calls 1

as_strFunction · 0.85