MCPcopy Create free account
hub / github.com/bootc-dev/bootc / cmp

Method cmp

crates/kernel_cmdline/src/bytes.rs:444–446  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

442
443impl Ord for ParameterKey<'_> {
444 fn cmp(&self, other: &Self) -> Ordering {
445 self.iter().cmp(other.iter())
446 }
447}
448
449impl PartialOrd for ParameterKey<'_> {

Callers 3

test_find_all_strFunction · 0.45
partial_cmpMethod · 0.45
test_find_allFunction · 0.45

Calls 1

iterMethod · 0.45

Tested by 2

test_find_all_strFunction · 0.36
test_find_allFunction · 0.36