MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / __init__

Method __init__

thirdparty/chardet/utf8prober.py:38–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 ONE_CHAR_PROB = 0.5
37
38 def __init__(self):
39 super(UTF8Prober, self).__init__()
40 self.coding_sm = CodingStateMachine(UTF8_SM_MODEL)
41 self._num_mb_chars = None
42 self.reset()
43
44 def reset(self):
45 super(UTF8Prober, self).reset()

Callers

nothing calls this directly

Calls 2

resetMethod · 0.95
CodingStateMachineClass · 0.85

Tested by

no test coverage detected