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

Function replace_variable_data

deps/v8/tools/testrunner/utils/test_utils.py:95–101  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

93 # replace the python executable prefix as it has a different absolute
94 # path dependent on where this runs.
95 def replace_variable_data(data):
96 data['duration'] = 1
97 data['max_rss'] = 1
98 data['max_vms'] = 1
99 data['command'] = ' '.join(
100 ['/usr/bin/python'] + data['command'].split()[1:])
101 data['command'] = data['command'].replace(f'{basedir}/', '')
102 for container in [
103 'max_rss_tests', 'max_vms_tests','slowest_tests', 'results']:
104 for data in json_output[container]:

Callers 1

clean_json_outputFunction · 0.85

Calls 2

joinMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…