MCPcopy Create free account
hub / github.com/Royalvice/DocDiff / GBK2312

Function GBK2312

utils/marker.py:19–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18def randomtext():
19 def GBK2312():
20 head = random.randint(0xb0, 0xf7)
21 body = random.randint(0xa1, 0xfe)
22 val = f'{head:x}{body:x}'
23 strr = bytes.fromhex(val).decode('gb2312',errors="ignore")
24 return strr
25
26 def randomABC():
27 A = np.random.randint(65, 91)

Callers 1

randomtextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected