MCPcopy Create free account
hub / github.com/ChevyRay/crunch / IsContainedIn

Function IsContainedIn

crunch/Rect.cpp:44–49  ·  view source on GitHub ↗

#include "clb/Algorithm/Sort.h" int CompareRectShortSide(const Rect &a, const Rect &b) { using namespace std; int smallerSideA = min(a.width, a.height); int smallerSideB = min(b.width, b.height); if (smallerSideA != smallerSideB) return clb::sort::TriCmp(smallerSideA, smallerSideB); // Tie-break on the larger side. int largerSideA = max(a.width, a.height); int largerSideB = max(b.widt

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

PruneFreeListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected