Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ __len__
Method
__len__
codegeex/mindspore/src/code_tokenizer.py:109–110 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
107
self._num_symbols += 1
108
109
def
__len__(self):
110
return
self._num_symbols
111
112
def
index(self, sym: str):
113
return
self._idx[sym]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected