Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ string_to_codes
Function
string_to_codes
tensorflow/python/debug/cli/curses_ui_test.py:39–40 ·
view source on GitHub ↗
(cmd)
Source
from the content-addressed store, hash-verified
37
38
39
def
string_to_codes(cmd):
40
return
[ord(c)
for
c in cmd]
41
42
43
def
codes_to_string(cmd_code):
Callers
15
CursesTest
Class · 0.85
testRunUIInvalidCommandPrefix
Method · 0.85
testRunUIInvalidCommandSyntax
Method · 0.85
testRunUIScrollTallOutputPageDownUp
Method · 0.85
testCutOffTooManyOutputLines
Method · 0.85
testRunUIScrollTallOutputEndHome
Method · 0.85
testCompileHelpWithoutHelpIntro
Method · 0.85
testCompileHelpWithHelpIntro
Method · 0.85
testCommandHistoryNavBackwardOnce
Method · 0.85
testCommandHistoryNavBackwardTwice
Method · 0.85
testCommandHistoryNavBackwardOverLimit
Method · 0.85
testCommandHistoryNavBackwardThenForward
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected