search for: __min

Displaying 4 results from an estimated 4 matches for "__min".

Did you mean: __min1
2017 Sep 28
9
[PATCH net-next] vhost_net: do not stall on zerocopy depletion
From: Willem de Bruijn <willemb at google.com> Vhost-net has a hard limit on the number of zerocopy skbs in flight. When reached, transmission stalls. Stalls cause latency, as well as head-of-line blocking of other flows that do not use zerocopy. Instead of stalling, revert to copy-based transmission. Tested by sending two udp flows from guest to host, one with payload of
2017 Sep 28
9
[PATCH net-next] vhost_net: do not stall on zerocopy depletion
From: Willem de Bruijn <willemb at google.com> Vhost-net has a hard limit on the number of zerocopy skbs in flight. When reached, transmission stalls. Stalls cause latency, as well as head-of-line blocking of other flows that do not use zerocopy. Instead of stalling, revert to copy-based transmission. Tested by sending two udp flows from guest to host, one with payload of
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
...am.h */ +#elif defined(HAVE_SYS_PARAM_H) +#include <sys/param.h> +#define flac_max(a,b) MAX(a,b) +#define flac_min(a,b) MIN(a,b) + +/* Windows VS has them in stdlib.h.. XXX:Untested */ +#elif defined(_MSC_VER) +#include <stdlib.h> +#define flac_max(a,b) __max(a,b) +#define flac_min(a,b) __min(a,b) +#endif + +#endif \ No newline at end of file diff --git a/src/libFLAC/metadata_iterators.c b/src/libFLAC/metadata_iterators.c index 0ba0d20..4fbe678 100644 --- a/src/libFLAC/metadata_iterators.c +++ b/src/libFLAC/metadata_iterators.c @@ -59,16 +59,7 @@ #include "FLAC/stream_decoder.h&qu...
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...OBJ_FORMAT_$(OBJ_FORMAT) -i$(srcdir)/ $< -o $@ diff --git a/src/libFLAC/include/private/macros.h b/src/libFLAC/include/private/macros.h index b9989e1..5104dc9 100644 --- a/src/libFLAC/include/private/macros.h +++ b/src/libFLAC/include/private/macros.h @@ -57,4 +57,10 @@ #define flac_min(a,b) __min(a,b) #endif +#if !defined(__cplusplus) && defined(_MSC_VER) +#ifndef inline +#define inline __inline +#endif +#endif + #endif diff --git a/src/libFLAC/lpc.c b/src/libFLAC/lpc.c index e3842c5..02cda9a 100644 --- a/src/libFLAC/lpc.c +++ b/src/libFLAC/lpc.c @@ -38,6 +38,7 @@ #include &quo...