MCPcopy Create free account
hub / github.com/nodejs/node / __repr__

Method __repr__

deps/v8/tools/generate-runtime-call-stats.py:324–332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

322 self.total_row = None
323
324 def __repr__(self):
325 s = "Bucket: " + self.name + " {\n"
326 if self.table:
327 s += "\n ".join(str(row) for row in self.table) + "\n"
328 elif self.data:
329 s += "\n ".join(str(row) for row in self.data.values()) + "\n"
330 if self.total_row:
331 s += " " + str(self.total_row) + "\n"
332 return s + "}"
333
334 def add_data_point(self, name, run, count, duration):
335 if name not in self.data:

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
joinMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected