| Package | Description |
|---|---|
| org.bytedeco.hyperscan.global |
| Modifier and Type | Method and Description |
|---|---|
static int |
hyperscan.hs_set_allocator(hs_alloc_t alloc_func,
hs_free_t free_func)
Set the allocate and free functions used by Hyperscan for allocating
memory at runtime for stream state, scratch space, database bytecode,
and various other data structure returned by the Hyperscan API.
|
static int |
hyperscan.hs_set_database_allocator(hs_alloc_t alloc_func,
hs_free_t free_func)
Set the allocate and free functions used by Hyperscan for allocating memory
for database bytecode produced by the compile calls (\ref hs_compile(), \ref
hs_compile_multi(), \ref hs_compile_ext_multi()) and by database
deserialization (\ref hs_deserialize_database()).
|
static int |
hyperscan.hs_set_misc_allocator(hs_alloc_t alloc_func,
hs_free_t free_func)
Set the allocate and free functions used by Hyperscan for allocating memory
for items returned by the Hyperscan API such as \ref hs_compile_error_t, \ref
hs_expr_info_t and serialized databases.
|
static int |
hyperscan.hs_set_scratch_allocator(hs_alloc_t alloc_func,
hs_free_t free_func)
Set the allocate and free functions used by Hyperscan for allocating memory
for scratch space by \ref hs_alloc_scratch() and \ref hs_clone_scratch().
|
static int |
hyperscan.hs_set_stream_allocator(hs_alloc_t alloc_func,
hs_free_t free_func)
Set the allocate and free functions used by Hyperscan for allocating memory
for stream state by \ref hs_open_stream().
|
Copyright © 2020. All rights reserved.