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

Function hashinit

v2/engine/hash.c:98–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

file_infoFunction · 0.85
hcache_initFunction · 0.85
regex_compileFunction · 0.85
path_keyFunction · 0.85
var_enterFunction · 0.85
macro_headersFunction · 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

Calls

no outgoing calls

Tested by

no test coverage detected