Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ bytes
Method
bytes
size-parser/src/lib.rs:69–71 ·
view source on GitHub ↗
Get the memory size in bytes
(self)
Source
from the content-addressed store, hash-verified
67
68
/// Get the memory size in bytes
69
pub fn bytes(self) -> u64 {
70
self.bytes
71
}
72
73
/// Get the memory size in kilobytes (1024 bytes)
74
pub fn kilobytes(self) -> f64 {
Callers
6
download_and_extract_layers
Function · 0.80
request
Method · 0.80
parse_memory_size
Function · 0.80
visit_str
Method · 0.80
request
Method · 0.80
get_test_image_dir
Function · 0.80
Calls
no outgoing calls
Tested by
1
get_test_image_dir
Function · 0.64