MCPcopy Create free account
hub / github.com/deeptir18/cornflakes / decrease_rc

Method decrease_rc

cornflakes-libos/src/lib.rs:3011–3013  ·  view source on GitHub ↗
(&mut self, amt: usize)

Source from the content-addressed store, hash-verified

3009 }
3010
3011 fn decrease_rc(&mut self, amt: usize) {
3012 self.change_rc((amt as isize) * -1);
3013 }
3014
3015 fn increment_rc(&mut self) {
3016 self.change_rc(1);

Callers

nothing calls this directly

Implementers 1

connection.rsdpdk-datapath/src/datapath2/connection

Calls 1

change_rcMethod · 0.80

Tested by

no test coverage detected