Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ finalize
Method
finalize
pulley/src/profile.rs:157–159 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
155
}
156
157
fn finalize(&mut self) {
158
self.data[..4].copy_from_slice(&self.samples.to_le_bytes());
159
}
160
161
fn reset(&mut self) {
162
self.data.truncate(0);
Callers
1
add_samples
Method · 0.45
Calls
1
copy_from_slice
Method · 0.45
Tested by
no test coverage detected