| 56 | return ((uint64)Tie.Links[Pair * 2] << 32) | (uint64)Tie.Links[Pair * 2 + 1]; |
| 57 | } |
| 58 | |
| 59 | template<typename TPredicate> |
| 60 | bool RetainTiedLinks(SGraphZipTie& Tie, TPredicate Keep) |
| 61 | { |
| 62 | TVector<uint32> Kept; |
| 63 | for (int32 Pair = 0; Pair < Tie.Links.Num() / 2; ++Pair) |
| 64 | { |
| 65 | if (Keep(GetTiedLinkID(Tie, Pair))) |
| 66 | { |
| 67 | Kept.Add(Tie.Links[Pair * 2]); |
| 68 | Kept.Add(Tie.Links[Pair * 2 + 1]); |
| 69 | } |
| 70 | } |
no outgoing calls
no test coverage detected