MCPcopy Create free account
hub / github.com/NetSys/NetBricks / map

Method map

framework/src/operators/mod.rs:117–122  ·  view source on GitHub ↗

Map over a set of header fields. Map and transform primarily differ in map being immutable. Immutability provides some optimization opportunities not otherwise available.

(self, transformer: MapFn<Self::Header, Self::Metadata>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

parse_ld_archiveFunction · 0.80
barrierMethod · 0.80
initialize_systemFunction · 0.80
get_token_noblockMethod · 0.80
next_payloadMethod · 0.80
next_payloadMethod · 0.80
next_payloadMethod · 0.80
next_payloadMethod · 0.80
next_payloadMethod · 0.80
newMethod · 0.80
enqueueMethod · 0.80
new_packet_arrayFunction · 0.80

Implementers 13

transform_batch.rsframework/src/operators/transform_batc
restore_header.rsframework/src/operators/restore_header
merge_batch.rsframework/src/operators/merge_batch.rs
map_batch.rsframework/src/operators/map_batch.rs
parsed_batch.rsframework/src/operators/parsed_batch.r
send_batch.rsframework/src/operators/send_batch.rs
deparsed_batch.rsframework/src/operators/deparsed_batch
packet_batch.rsframework/src/operators/packet_batch.r
add_metadata_mut.rsframework/src/operators/add_metadata_m
receive_batch.rsframework/src/operators/receive_batch.
composition_batch.rsframework/src/operators/composition_ba
reset_parse.rsframework/src/operators/reset_parse.rs

Calls

no outgoing calls

Tested by 7

write_at_offset_testFunction · 0.64
read_write_tail_testFunction · 0.64
test_in_order_insertionFunction · 0.64
test_state_changeFunction · 0.64
test_read_after_writeFunction · 0.64
test_overlapping_writeFunction · 0.64