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

Method contains

crates/wtf8/src/lib.rs:1128–1130  ·  view source on GitHub ↗
(&self, pat: &Wtf8)

Source from the content-addressed store, hash-verified

1126 }
1127
1128 pub fn contains(&self, pat: &Wtf8) -> bool {
1129 self.bytes.contains_str(pat)
1130 }
1131
1132 pub fn contains_code_point(&self, pat: CodePoint) -> bool {
1133 self.bytes

Callers 15

criterion_benchmarkFunction · 0.45
test_operatorMethod · 0.45
test_containsMethod · 0.45
compileMethod · 0.45
bytes_to_intFunction · 0.45
handle_encode_errorMethod · 0.45
sign_stringMethod · 0.45
fill_stringMethod · 0.45
format_bytesMethod · 0.45
format_numberMethod · 0.45
format_floatMethod · 0.45
winerror_to_errnoFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_operatorMethod · 0.36
test_containsMethod · 0.36