| 275 | #define LARGE_FLUSH 16384 |
| 276 | |
| 277 | static int next_flush(int stateless_rpc, int count) |
| 278 | { |
| 279 | if (stateless_rpc) { |
| 280 | if (count < LARGE_FLUSH) |
| 281 | count <<= 1; |
| 282 | else |
| 283 | count = count * 11 / 10; |
| 284 | } else { |
| 285 | if (count < PIPESAFE_FLUSH) |
| 286 | count <<= 1; |
| 287 | else |
| 288 | count += PIPESAFE_FLUSH; |
| 289 | } |
| 290 | return count; |
| 291 | } |
| 292 | |
| 293 | static void mark_tips(struct fetch_negotiator *negotiator, |
| 294 | const struct oid_array *negotiation_restrict_tips) |
no outgoing calls
no test coverage detected