MCPcopy Create free account
hub / github.com/F-Stack/f-stack / print_table_body

Function print_table_body

dpdk/doc/guides/conf.py:232–243  ·  view source on GitHub ↗

Print out the body of the table. Each row is a NIC feature.

(outfile, num_cols, ini_files, ini_data, default_features)

Source from the content-addressed store, hash-verified

230
231
232def print_table_body(outfile, num_cols, ini_files, ini_data, default_features):
233 """ Print out the body of the table. Each row is a NIC feature. """
234
235 for feature, _ in default_features:
236 line = ''
237
238 for ini_filename in ini_files:
239 line += ' ' + ini_data[ini_filename][feature]
240
241 print_table_row(outfile, feature, line)
242
243 print_table_divider(outfile, num_cols)
244
245
246def print_table_row(outfile, feature, line):

Callers 1

generate_overview_tableFunction · 0.85

Calls 2

print_table_rowFunction · 0.85
print_table_dividerFunction · 0.85

Tested by

no test coverage detected