( io_data_arr: &LeanArray<LeanBorrowed<'_>>, io_map_arr: &LeanArray<LeanBorrowed<'_>>, )
| 668 | fn release(&self, bytes: usize) { |
| 669 | *self.reserved.lock().unwrap() -= bytes; |
| 670 | self.cv.notify_all(); |
| 671 | } |
| 672 | } |
| 673 | |
| 674 | /// Per-shard execution-RSS reserve for [`RamGate`], an AFFINE model: |
| 675 | /// `EXEC_RSS_FIXED_BYTES + EXEC_RSS_PER_OWNED_BYTE x owned bytes`. The |
| 676 | /// byte basis is the sum of the shard's owned constants' raw |
| 677 | /// serialized bytes (`Env::get_const_bytes`) — NOT the shard's share |
| 678 | /// of `.ixe` FILE bytes, which also carry blobs, names, and indices |
| 679 | /// and run ~2.6x larger. The fixed term is the closure/frontier |
| 680 | /// ingress every shard pays regardless of owned size; without it a |
no test coverage detected