984:e8f354a25ac8 | 985:68754c7de906 |
---|---|
586 } | 586 } |
587 | 587 |
588 static size_t mock_write_limited_rate( | 588 static size_t mock_write_limited_rate( |
589 const void *ptr, | 589 const void *ptr, |
590 size_t size, | 590 size_t size, |
591 __attribute__((unused)) size_t nitems, | 591 cx_attr_unused size_t nitems, |
592 CxBuffer *buffer | 592 CxBuffer *buffer |
593 ) { | 593 ) { |
594 // simulate limited target drain capacity | 594 // simulate limited target drain capacity |
595 static bool full = false; | 595 static bool full = false; |
596 if (full) { | 596 if (full) { |