MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pt_options

Function pt_options

tests/test_test_impact_tree.c:706–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704}
705
706static 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
722static bool pt_close_one(cbm_pinned_tree_t **tree) {
723 if (!*tree)

Callers 15

pt_pinned_roundFunction · 0.85
pt_pair_caseFunction · 0.85
pt_short_alias_caseFunction · 0.85
pt_limit_pairsFunction · 0.85
pt_cancel_create_casesFunction · 0.85
pt_cancel_verify_casesFunction · 0.85
pt_mutation_caseFunction · 0.85
pt_link_caseFunction · 0.85
pt_root_replacement_caseFunction · 0.85
pt_hardlink_caseFunction · 0.85
pt_retry_prepareFunction · 0.85

Calls 1

cbm_now_msFunction · 0.85

Tested by

no test coverage detected