Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dropbox/rust-alloc-no-stdlib
/ len
Method
len
src/allocated_memory/mod.rs:10–12 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
8
pub trait SliceWrapper<T> {
9
fn slice(& self) -> & [T];
10
fn len(&self) -> usize{
11
self.slice().len()
12
}
13
}
14
15
pub trait SliceWrapperMut<T> : SliceWrapper<T> {
Callers
3
clear_if_necessary
Method · 0.80
alloc_cell
Method · 0.80
free_cell
Method · 0.80
Implementers
5
test.rs
alloc-stdlib/src/test.rs
heap_alloc.rs
alloc-stdlib/src/heap_alloc.rs
allocated_stack_memory.rs
src/allocated_stack_memory.rs
tests.rs
src/tests.rs
heap_alloc.rs
src/bin/heap_alloc.rs
Calls
1
slice
Method · 0.45
Tested by
no test coverage detected