MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / __init__

Method __init__

lib/core/bigarray.py:100–111  ·  view source on GitHub ↗
(self, items=None, chunk_size=BIGARRAY_CHUNK_SIZE)

Source from the content-addressed store, hash-verified

98 """
99
100 def __init__(self, items=None, chunk_size=BIGARRAY_CHUNK_SIZE):
101 self.chunks = [[]]
102 self.chunk_length = sys.maxsize
103 self.cache = None
104 self.filenames = set()
105 self._lock = threading.Lock()
106 self._os_remove = os.remove
107 self._size_counter = 0
108 self._chunk_size = chunk_size
109
110 for item in (items or []):
111 self.append(item)
112
113 def __add__(self, value):
114 retval = BigArray(self)

Callers 1

__setstate__Method · 0.95

Calls 1

appendMethod · 0.95

Tested by

no test coverage detected