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

Function find_by_name

crates/stdlib/src/ssl/oid.rs:388–390  ·  view source on GitHub ↗

Find OID entry by name (short or long name)

(name: &str)

Source from the content-addressed store, hash-verified

386
387/// Find OID entry by name (short or long name)
388pub fn find_by_name(name: &str) -> Option<&'static OidEntry> {
389 OID_TABLE.find_by_name(name)
390}
391
392#[cfg(test)]
393mod tests {

Callers 4

txt2objFunction · 0.85
test_find_by_name_shortFunction · 0.85
test_find_by_name_longFunction · 0.85

Calls 1

find_by_nameMethod · 0.80

Tested by 3

test_find_by_name_shortFunction · 0.68
test_find_by_name_longFunction · 0.68