MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / init

Function init

src/twtest/fcopropvector_t.cpp:101–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101static bool init(cFCOPropVector& testV)
102{
103 int range = testV.GetSize() - 1;
104
105 for (int i = 1; i <= range; ++i)
106 {
107 if (testV.ContainsItem(i))
108 return false;
109 } //end for
110 return true;
111}
112
113
114static void addRemove(cFCOPropVector& test1, cFCOPropVector& test2, cDebug& d)

Callers 1

TestFCOPropVectorFunction · 0.85

Calls 2

ContainsItemMethod · 0.80
GetSizeMethod · 0.45

Tested by 1

TestFCOPropVectorFunction · 0.68