MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / get

Function get

aiscript-arena/src/types.rs:303–306  ·  view source on GitHub ↗
(tagged_ptr: *const T)

Source from the content-addressed store, hash-verified

301
302 #[inline(always)]
303 pub(super) fn get<const MASK: usize, T>(tagged_ptr: *const T) -> usize {
304 check_mask!(T, MASK);
305 tagged_ptr.addr() & MASK
306 }
307
308 #[inline(always)]
309 pub(super) fn set<const MASK: usize, T>(pcell: &Cell<*const T>, tag: usize) {

Callers 6

pollMethod · 0.85
get_pg_connectionFunction · 0.85
get_sqlite_connectionFunction · 0.85
get_redis_connectionFunction · 0.85
run_serverFunction · 0.85
get_sso_fieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected