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

Method skip

crates/sre_engine/src/string.rs:63–66  ·  view source on GitHub ↗
(cursor: &mut StringCursor, n: usize)

Source from the content-addressed store, hash-verified

61
62 #[inline]
63 fn skip(cursor: &mut StringCursor, n: usize) {
64 cursor.position += n;
65 unsafe { cursor.ptr = cursor.ptr.add(n) };
66 }
67
68 #[inline]
69 fn back_advance(cursor: &mut StringCursor) -> u32 {

Callers 15

runFunction · 0.45
do_findallFunction · 0.45
do_splitFunction · 0.45
build_row_cast_mapMethod · 0.45
bytes_to_intFunction · 0.45
trigger_signalsFunction · 0.45
update_one_slotMethod · 0.45
sliceMethod · 0.45
_mulMethod · 0.45
instrument_codeFunction · 0.45
build_callargsFunction · 0.45

Calls 2

next_code_pointFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected