MCPcopy Create free account
hub / github.com/chc4/lineiform / add_input

Method add_input

tangle/src/node.rs:232–234  ·  view source on GitHub ↗
(&mut self, p: PortIdx, r: &mut Region)

Source from the content-addressed store, hash-verified

230 }
231
232 pub fn add_input(&mut self, p: PortIdx, r: &mut Region) {
233 self.inputs.push(p)
234 }
235
236 pub fn add_output(&mut self, r: &mut Region) -> PortIdx {
237 let p_x = r.add_port();

Callers 6

create_portsMethod · 0.80
function_bb_simpleFunction · 0.80
function_bb_if_always_0Function · 0.80
function_bb_if_always_1Function · 0.80
translateMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by 4

function_bb_simpleFunction · 0.64
function_bb_if_always_0Function · 0.64
function_bb_if_always_1Function · 0.64