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

Function object_hash

v2/engine/object.c:346–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344 */
345
346unsigned int object_hash( OBJECT * obj )
347{
348 object_validate( obj );
349#ifdef BJAM_NO_MEM_CACHE
350 return hash_keyval( object_str( obj ), strlen( object_str( obj ) ) );
351#else
352 return object_get_item( obj )->header.hash;
353#endif
354}
355
356#endif
357

Callers 3

hash_keyvalFunction · 0.85
hashrehashFunction · 0.85
list_hashFunction · 0.85

Calls 4

object_validateFunction · 0.85
object_strFunction · 0.85
object_get_itemFunction · 0.85
hash_keyvalFunction · 0.70

Tested by

no test coverage detected