MCPcopy Create free account
hub / github.com/BirolLab/abyss / info

Function info

Bloom/bloom.cc:822–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822int
823info(int argc, char** argv)
824{
825 parseGlobalOpts(argc, argv);
826
827 if (argc - optind < 1) {
828 cerr << PROGRAM ": missing arguments\n";
829 dieWithUsageError();
830 }
831
832 Konnector::BloomFilter bloom;
833 string path = argv[optind];
834
835 if (opt::verbose)
836 std::cerr << "Loading bloom filter from `" << path << "'...\n";
837
838 istream* in = openInputStream(path);
839 assert_good(*in, path);
840 *in >> bloom;
841
842 printBloomStats(cerr, bloom);
843
844 closeInputStream(in, path);
845
846 return 0;
847}
848
849int
850compare(int argc, char** argv)

Callers 1

mainFunction · 0.85

Calls 6

parseGlobalOptsFunction · 0.85
dieWithUsageErrorFunction · 0.85
openInputStreamFunction · 0.85
assert_goodFunction · 0.85
printBloomStatsFunction · 0.85
closeInputStreamFunction · 0.85

Tested by

no test coverage detected