MCPcopy Create free account
hub / github.com/IncideDigital/Mistica / find

Method find

utils/bitstring.py:2415–2451  ·  view source on GitHub ↗

Find first occurrence of substring bs. Returns a single item tuple with the bit position if found, or an empty tuple if not found. The bit position (pos property) will also be set to the start of the substring if it is found. bs -- The bitstring to find. sta

(self, bs, start=None, end=None, bytealigned=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

expand_bracketsFunction · 0.80
__contains__Method · 0.80
_findbytesMethod · 0.80
readtoMethod · 0.80

Calls 5

_validate_sliceMethod · 0.95
_findbytesMethod · 0.95
_findregexMethod · 0.95
_getbinMethod · 0.95
BitsClass · 0.85

Tested by

no test coverage detected