MCPcopy Create free account
hub / github.com/apache/tomcat / BIO_new

Method BIO_new

java/org/apache/tomcat/util/openssl/openssl_h.java:1379–1389  ·  view source on GitHub ↗

{@snippet lang = c : BIO BIO_new(const BIO_METHOD type) }

(MemorySegment type)

Source from the content-addressed store, hash-verified

1377 * }
1378 */
1379 public static MemorySegment BIO_new(MemorySegment type) {
1380 var mh$ = BIO_new.HANDLE;
1381 try {
1382 if (TRACE_DOWNCALLS) {
1383 traceDowncall("BIO_new", type);
1384 }
1385 return (MemorySegment) mh$.invokeExact(type);
1386 } catch (Throwable ex$) {
1387 throw new AssertionError("should not reach here", ex$);
1388 }
1389 }
1390
1391 private static class BIO_free {
1392 public static final FunctionDescriptor DESC = FunctionDescriptor.of(openssl_h.C_INT, openssl_h.C_POINTER);

Callers 1

addCertificateMethod · 0.80

Calls 1

traceDowncallMethod · 0.95

Tested by

no test coverage detected