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

Function encode_error_key

crates/stdlib/src/openssl/ssl_data_31.rs:1768–1770  ·  view source on GitHub ↗
(lib: i32, reason: i32)

Source from the content-addressed store, hash-verified

1766/// Helper function to create encoded key from (lib, reason) pair
1767#[inline]
1768pub fn encode_error_key(lib: i32, reason: i32) -> u64 {
1769 ((lib as u64) << 32) | (reason as u64 & 0xFFFFFFFF)
1770}

Callers 2

convert_openssl_errorFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected