MCPcopy Index your code
hub / github.com/nodejs/node / set_comment

Method set_comment

deps/v8/tools/grokdump.py:2073–2077  ·  view source on GitHub ↗
(self, address, comment)

Source from the content-addressed store, hash-verified

2071 return ""
2072
2073 def set_comment(self, address, comment):
2074 self.address_comments[address] = comment
2075 with open(self.comment_file, "a") as f:
2076 f.write("C 0x%x %s\n" % (address, comment))
2077 f.close()
2078
2079 def get_comment(self, address):
2080 return self.address_comments.get(address, "")

Callers 2

do_GETMethod · 0.45
set_commentMethod · 0.45

Calls 3

closeMethod · 0.65
openFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected