MCPcopy 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

requestMethod · 0.80
parse_memory_sizeFunction · 0.80
visit_strMethod · 0.80
requestMethod · 0.80
get_test_image_dirFunction · 0.80

Calls

no outgoing calls

Tested by 1

get_test_image_dirFunction · 0.64