| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -292,7 +292,6 @@ _PyDict_DebugMallocStats(FILE *out) | |||
| 292 | 292 | } | |
| 293 | 293 | ||
| 294 | 294 | #define DK_MASK(dk) (DK_SIZE(dk)-1) | |
| 295 | - #define IS_POWER_OF_2(x) (((x) & (x-1)) == 0) | ||
| 296 | 295 | ||
| 297 | 296 | static void free_keys_object(PyDictKeysObject *keys); | |
| 298 | 297 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -67,14 +67,6 @@ class memoryview "PyMemoryViewObject *" "&PyMemoryView_Type" | |||
| 67 | 67 | */ | |
| 68 | 68 | ||
| 69 | 69 | ||
| 70 | - #define CHECK_MBUF_RELEASED(mbuf) \ | ||
| 71 | - if (((_PyManagedBufferObject *)mbuf)->flags&_Py_MANAGED_BUFFER_RELEASED) { \ | ||
| 72 | - PyErr_SetString(PyExc_ValueError, \ | ||
| 73 | - "operation forbidden on released memoryview object"); \ | ||
| 74 | - return NULL; \ | ||
| 75 | - } | ||
| 76 | - | ||
| 77 | - | ||
| 78 | 70 | static inline _PyManagedBufferObject * | |
| 79 | 71 | mbuf_alloc(void) | |
| 80 | 72 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -900,7 +900,6 @@ static int running_on_valgrind = -1; | |||
| 900 | 900 | * currently targets. | |
| 901 | 901 | */ | |
| 902 | 902 | #define SYSTEM_PAGE_SIZE (4 * 1024) | |
| 903 | - #define SYSTEM_PAGE_SIZE_MASK (SYSTEM_PAGE_SIZE - 1) | ||
| 904 | 903 | ||
| 905 | 904 | /* | |
| 906 | 905 | * Maximum amount of memory managed by the allocator for small requests. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,8 +14,6 @@ | |||
| 14 | 14 | #define DECIMAL_MASK 0x02 | |
| 15 | 15 | #define DIGIT_MASK 0x04 | |
| 16 | 16 | #define LOWER_MASK 0x08 | |
| 17 | - #define LINEBREAK_MASK 0x10 | ||
| 18 | - #define SPACE_MASK 0x20 | ||
| 19 | 17 | #define TITLE_MASK 0x40 | |
| 20 | 18 | #define UPPER_MASK 0x80 | |
| 21 | 19 | #define XID_START_MASK 0x100 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments