Users are therefore responsible for passing valid data into such APIs.Note that this policy does not mean that libcudf performs no validation whatsoever. libcudf APIs should still perform any validation that does not require introspection. To give some idea of what should or should not be validat...
() : Driver.c , Common.h DrvDispatchIoControl() : Ioctl.c , Common.h DrvRead() :
Avoid multiple type-dispatch if possible. The compiler creates a code path for every type dispatched, so a second-level type dispatch results in quadratic growth in compilation time and object code size. As a large library with many types and functions, we are constantly working to reduce compi...
{ diff --git a/dix/dispatch.c b/dix/dispatch.c index f20e1963ed..8865219d0c 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -3864,7 +3864,7 @@ static int init_screen(ScreenPtr pScreen, int i, Bool gpu) /* * This loop gets run once for every Screen that gets added...
dispatch.c | 2 +- dix/dixfonts.c | 2 +- dix/enterleave.c | 4 +- dix/events.c | 8 ++-- dix/getevents.c | 12 +++--- dix/ptrveloc.c | 6 +-- dix/region.c | 4 +- dix/swaprep.c | 4 +- dix/touch.c | 6 +-- dix/window.c | 6 +-- doc/Xserver-spec.xml | 4...