MCPcopy Create free account
hub / github.com/PKU-ASAL/Simulated-Data / __len__

Method __len__

src/Sysdig/Loader.py:10–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8 self.idx2processnum = []
9
10 def __len__(self):
11 return len(self.dataset)
12
13 def __getitem__(self, idx):
14 data = self.dataset[self.idx2processnum[idx]]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected