MCPcopy Index your code
hub / github.com/RustPython/RustPython / peek

Method peek

crates/sre_engine/src/string.rs:58–60  ·  view source on GitHub ↗
(cursor: &StringCursor)

Source from the content-addressed store, hash-verified

56
57 #[inline]
58 fn peek(cursor: &StringCursor) -> u32 {
59 unsafe { *cursor.ptr as u32 }
60 }
61
62 #[inline]
63 fn skip(cursor: &mut StringCursor, n: usize) {

Callers 1

split_fstring_middleFunction · 0.45

Calls 1

next_code_pointFunction · 0.70

Tested by

no test coverage detected