Sign in
◑
Theme
gbmc
/
linux
/
refs/heads/linux-rolling-stable
/
.
/
rust
/
zerocopy
/
benches
/
split_at_dynamic_padding.rs
blob: bed90f60165ed65d47596a654341692f5c3a0f79 [
file
] [
edit
]
use
zerocopy
::*;
#[
path
=
"formats/coco_dynamic_padding.rs"
]
mod
format
;
#[
unsafe
(
no_mangle
)]
fn
bench_split_at_dynamic_padding
(
source
:
&
format
::
CocoPacket
,
len
:
usize
,
)
->
Option
<
Split
<&
format
::
CocoPacket
>>
{
source
.
split_at
(
len
)
}