MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / atom_read

Function atom_read

scripts/demystify.py:40–52  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

38 return pos
39
40def atom_read(x):
41 result = ""
42 read_chars = ((x & 0xF000000000000000) >> 60) == 0xF
43 mask = 0x0FC0000000000000
44 bitshift = 54
45 while bitshift >= 0:
46 if read_chars:
47 result += DECODING_TABLE[(x & mask) >> bitshift]
48 elif ((x & mask) >> bitshift) == 0xF:
49 read_chars = True
50 bitshift -= 6
51 mask = mask >> 6
52 return result
53
54def decompose_type_list(x, first, last):
55 res = []

Callers 1

stringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected