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

Method BIO_new_file

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

{@snippet lang = c : BIO BIO_new_file(const char filename, const char mode) }

(MemorySegment filename, MemorySegment mode)

Source from the content-addressed store, hash-verified

1326 * }
1327 */
1328 public static MemorySegment BIO_new_file(MemorySegment filename, MemorySegment mode) {
1329 var mh$ = BIO_new_file.HANDLE;
1330 try {
1331 if (TRACE_DOWNCALLS) {
1332 traceDowncall("BIO_new_file", filename, mode);
1333 }
1334 return (MemorySegment) mh$.invokeExact(filename, mode);
1335 } catch (Throwable ex$) {
1336 throw new AssertionError("should not reach here", ex$);
1337 }
1338 }
1339
1340 private static class BIO_new {
1341 public static final FunctionDescriptor DESC = FunctionDescriptor.of(openssl_h.C_POINTER, openssl_h.C_POINTER);

Callers

nothing calls this directly

Calls 1

traceDowncallMethod · 0.95

Tested by

no test coverage detected