MCPcopy Create free account
hub / github.com/bbuchfink/diamond / fill

Method fill

src/data/string_set.h:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void fill(size_t n, T v)
104 {
105 limits_.push_back(raw_len() + n + padding_len);
106 data_.insert(data_.end(), n, v);
107 data_.insert(data_.end(), padding_len, padding_char);
108 }
109
110 T* ptr(size_t i)
111 { return &data_[limits_[i]]; }

Callers 9

hash_seqsFunction · 0.80
seed_is_complexMethod · 0.80
push_backMethod · 0.80
ActiveTargetMethod · 0.80
WorkTargetMethod · 0.80
ReductionMethod · 0.80
compositionFunction · 0.80
looks_like_dnaFunction · 0.80

Calls 3

push_backMethod · 0.45
insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected