MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / kernel_boot_warn_error_format

Function kernel_boot_warn_error_format

tests/integration/platform_stdlib.rs:541–557  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

539 if v.len != 0 or v.capacity != 0 { return 1 }
540
541 i: i64 = 0
542 while i < 100 {
543 pushed := vec.Vec_push<i64>(&v, i * 3)
544 match pushed {
545 Ok(len) -> {}
546 Err(error) -> { return 2 }
547 }
548 i += 1
549 }
550 if v.len != 100 { return 3 }
551 if v.capacity < 100 { return 4 }
552
553 i = 0
554 while i < 100 {
555 slot: i64* = vec.Vec_get<i64>(&v, i as u64)
556 if slot == null { return 5 }
557 if @slot != i * 3 { return 6 }
558 i += 1
559 }
560 if vec.Vec_get<i64>(&v, 100) != null { return 7 }

Callers

nothing calls this directly

Calls 1

run_kernel_hllFunction · 0.70

Tested by

no test coverage detected