| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | limits.rs | 250 pub fn table_elements(mut self, limit: usize) -> Self { in table_elements() method 251 self.0.table_elements = Some(limit); in table_elements() 316 table_elements: Option<usize>, field 327 table_elements: None, in default() 372 let allow = match self.table_elements { in table_growing()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/ |
| H A D | table_pool.rs | 34 .checked_mul(config.limits.table_elements) in new() 57 nominal_table_elements: config.limits.table_elements, in new() 270 table_elements: 100, in test_table_pool() 300 let mkpool = |table_elements: usize| -> Result<TablePool> { in test_table_pool_continuations_capacity() 303 table_elements, in test_table_pool_continuations_capacity()
|
| H A D | metrics.rs | 149 config.table_elements(10); in small_pool_config()
|
| H A D | memory_pool.rs | 901 table_elements: 0, in test_memory_pool()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | pooling_config.rs | 17 pub table_elements: usize, field 51 cfg.opts.pooling_table_elements = Some(self.table_elements); in configure() 97 table_elements: u.int_in_range(0..=MAX_ELEMENTS)?, in arbitrary()
|
| H A D | config.rs | 86 pooling.table_elements = 1_000; in set_differential_config() 235 pooling.table_elements = pooling.table_elements.max(limits::TABLE_ELEMENTS); in make_wast_test_compliant() 744 if pooling.table_elements == 0 { in update_module_config() 745 pooling.table_elements = 1; in update_module_config()
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | store.rs | 196 table_elements: i64, in wasmtime_store_limiter() 205 if table_elements >= 0 { in wasmtime_store_limiter() 206 limiter = limiter.table_elements(table_elements as usize); in wasmtime_store_limiter()
|
| H A D | config.rs | 661 c.config.table_elements(elements); in wasmtime_pooling_allocation_config_table_elements_set()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | limits.rs | 23 .table_elements(5) in test_limits() 75 .table_elements(5) in test_limits() 104 table_elements: usize, in test_limits_async() field 122 Ok(desired <= self.table_elements) in test_limits_async() 130 table_elements: 5, in test_limits_async() 278 let mut store = Store::new(&engine, StoreLimitsBuilder::new().table_elements(5).build()); in test_limits_table_only() 324 let mut store = Store::new(&engine, StoreLimitsBuilder::new().table_elements(4).build()); in test_initial_table_limits_exceeded() 751 pool.max_memory_size(10 << 16).table_elements(10); in custom_limiter_detect_grow_failure() 862 pool.max_memory_size(10 << 16).table_elements(10); in custom_limiter_async_detect_grow_failure() 1127 .table_elements(1) in growth_trap()
|
| H A D | main.rs | 110 config.table_elements(10); in small_pool_config()
|
| H A D | pooling_allocator.rs | 103 pool.max_memory_size(2 << 16).table_elements(0); in memory_init() 137 pool.max_memory_size(2 << 16).table_elements(0); in memory_guard_page_trap() 204 pool.max_memory_size(1 << 16).table_elements(0); in memory_zeroed() 241 pool.table_elements(TABLE_ELEMENTS); in table_limit() 320 pool.max_memory_size(0).table_elements(6); in table_init() 1257 cfg.table_elements(0); in tricky_empty_table_with_empty_virtual_memory_alloc()
|
| H A D | async_functions.rs | 354 .table_elements(0); in async_with_pooling_stacks() 377 .table_elements(0); in async_host_func_with_pooling_stacks() 410 .table_elements(0); in async_mpk_protection()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | store.hh | 224 void limiter(int64_t memory_size, int64_t table_elements, int64_t instances, in limiter() argument 226 wasmtime_store_limiter(ptr.get(), memory_size, table_elements, instances, in limiter()
|
| H A D | store.h | 113 int64_t table_elements,
|
| H A D | config.h | 776 WASMTIME_POOLING_ALLOCATION_CONFIG_PROP(table_elements, size_t)
|
| H A D | config.hh | 206 void table_elements(size_t elements) { in table_elements() function in wasmtime::PoolAllocationConfig
|
| /wasmtime-44.0.1/examples/ |
| H A D | fast_instantiation.rs | 19 pool.table_elements(5000); in main()
|
| /wasmtime-44.0.1/crates/c-api/tests/ |
| H A D | config.cc | 25 config.table_elements(17); in TEST()
|
| /wasmtime-44.0.1/crates/wasmtime/tests/ |
| H A D | host_segfault.rs | 194 cfg.table_elements(10); in main()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/ |
| H A D | pooling.rs | 145 pub table_elements: usize, field 183 table_elements: 20_000, in default()
|
| /wasmtime-44.0.1/src/ |
| H A D | common.rs | 140 limits = limits.table_elements(max); in store_limits()
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | config.rs | 3845 pub fn table_elements(&mut self, elements: usize) -> &mut Self { in table_elements() method 3846 self.config.limits.table_elements = elements; in table_elements()
|
| /wasmtime-44.0.1/crates/cli-flags/src/ |
| H A D | lib.rs | 968 cfg.table_elements(limit); in config()
|