From cef79a92aa4ea71c6e7dd7d0518bf76179d434d2 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Sat, 21 Aug 2021 21:27:27 +0200 Subject: [PATCH] added end of config comment to package.py --- package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.py b/package.py index 331e709..19f158a 100644 --- a/package.py +++ b/package.py @@ -32,6 +32,9 @@ KERNEL_BINARY_TABLE = 'binary_table' # loaded_binary struct size (4 integers) KERNEL_BINARY_TABLE_ENTRY_SIZE = 4 * 4 + +## end of config + def overlaps(p1, l1, p2, l2) -> bool: return (p1 <= p2 and p1 + l1 > p2) or (p2 <= p1 and p2 + l2 > p1)