| 704 | } |
| 705 | |
| 706 | static cbm_pinned_tree_options_t pt_options(pt_fixture *fx, cbm_git_revision_t revision) { |
| 707 | return (cbm_pinned_tree_options_t){ |
| 708 | .facts = fx->facts, |
| 709 | .revision = revision, |
| 710 | .private_parent = fx->parent, |
| 711 | .limits = {.max_files = 64, |
| 712 | .max_directories = 64, |
| 713 | .max_total_content_bytes = 4 * 1024 * 1024, |
| 714 | .max_relative_path_bytes = 1024, |
| 715 | .max_arena_bytes = 16 * 1024 * 1024, |
| 716 | .blob_batch = {.max_entries = 64, |
| 717 | .max_input_bytes = 16384, |
| 718 | .max_arena_bytes = 16 * 1024 * 1024}}, |
| 719 | .control = {.deadline_ms = cbm_now_ms() + 120000U}}; |
| 720 | } |
| 721 | |
| 722 | static bool pt_close_one(cbm_pinned_tree_t **tree) { |
| 723 | if (!*tree) |
no test coverage detected