MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / readuntil

Function readuntil

mitmproxy/contentviews/_view_xml_html.py:109–116  ·  view source on GitHub ↗
(char, start, include=1)

Source from the content-addressed store, hash-verified

107 i = 0
108
109 def readuntil(char, start, include=1):
110 nonlocal i
111 end = data.find(char, start)
112 if end == -1:
113 end = len(data)
114 ret = data[i : end + include]
115 i = end + include
116 return ret
117
118 while i < len(data):
119 if isinstance(token, Text):

Callers 1

tokenizeFunction · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…