MCPcopy Create free account
hub / github.com/boostorg/build / hashinit

Function hashinit

src/engine/hash.cpp:99–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 */
98
99struct hash * hashinit( int32_t datalen, char const * name )
100{
101 struct hash * hp = (struct hash *)BJAM_MALLOC( sizeof( *hp ) );
102
103 hp->bloat = 3;
104 hp->tab.nel = 0;
105 hp->tab.base = 0;
106 hp->items.more = 0;
107 hp->items.free = 0;
108 hp->items.size = sizeof( ITEM ) + ALIGNED( datalen );
109 hp->items.list = -1;
110 hp->items.nel = 0;
111 hp->inel = 11; /* 47 */
112 hp->name = name;
113
114 return hp;
115}
116
117
118/*

Callers 15

make_class_moduleFunction · 0.85
var_enterFunction · 0.85
regex_compileFunction · 0.85
file_archive_infoFunction · 0.85
file_infoFunction · 0.85
bindmoduleFunction · 0.85
demand_rulesFunction · 0.85
modules_doneFunction · 0.85
import_moduleFunction · 0.85
module_add_fixed_varFunction · 0.85
bindtargetFunction · 0.85
set_explicit_bindingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected