Buckets:
| /* Minimum value between x and y */ | |
| /* Maximum value between x and y */ | |
| /* Absolute value of the number x */ | |
| /* Convert the argument to a string. For example, Py_STRINGIFY(123) is replaced | |
| with "123" by the preprocessor. Defines are also replaced by their value. | |
| For example Py_STRINGIFY(__LINE__) is replaced by the line number, not | |
| by "__LINE__". */ | |
| /* Get the size of a structure member in bytes */ | |
| /* Argument must be a char or an int in [-128, 127] or [0, 255]. */ | |
| /* Assert a build-time dependency, as an expression. | |
| Your compile will fail if the condition isn't true, or can't be evaluated | |
| by the compiler. This can be used in an expression: its value is 0. | |
| Example: | |
| #define foo_to_char(foo) \ | |
| ((char *)(foo) \ | |
| + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0)) | |
| Written by Rusty Russell, public domain, http://ccodearchive.net/ */ | |
| /* Get the number of elements in a visible array | |
| This does not work on pointers, or arrays declared as [], or function | |
| parameters. With correct compiler support, such usage will cause a build | |
| error (see Py_BUILD_ASSERT_EXPR). | |
| Written by Rusty Russell, public domain, http://ccodearchive.net/ | |
| Requires at GCC 3.1+ */ | |
| /* Two gcc extensions. | |
| &a[0] degrades to a pointer: a different type from an array */ | |
| /* Define macros for inline documentation. */ | |
| /* Below "a" is a power of 2. */ | |
| /* Round down size "n" to be a multiple of "a". */ | |
| /* Round up size "n" to be a multiple of "a". */ | |
| /* Round pointer "p" down to the closest "a"-aligned address <= "p". */ | |
| /* Round pointer "p" up to the closest "a"-aligned address >= "p". */ | |
| /* Check if pointer "p" is aligned to "a"-bytes boundary. */ | |
| /* Use this for unused arguments in a function definition to silence compiler | |
| * warnings. Example: | |
| * | |
| * int func(int a, int Py_UNUSED(b)) { return a; } | |
| */ | |
Xet Storage Details
- Size:
- 4.92 kB
- Xet hash:
- f9aad99a28245969084385e2bf209988bab32692bead4952539f729628e3c0e5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.