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

Function find_by_oid_string

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

Find OID entry by OID string (e.g., "2.5.4.3")

(oid_str: &str)

Source from the content-addressed store, hash-verified

381
382/// Find OID entry by OID string (e.g., "2.5.4.3")
383pub fn find_by_oid_string(oid_str: &str) -> Option<&'static OidEntry> {
384 OID_TABLE.find_by_oid_string(oid_str)
385}
386
387/// Find OID entry by name (short or long name)
388pub fn find_by_name(name: &str) -> Option<&'static OidEntry> {

Callers 2

txt2objFunction · 0.85
test_find_by_oid_stringFunction · 0.85

Calls 1

find_by_oid_stringMethod · 0.80

Tested by 1

test_find_by_oid_stringFunction · 0.68