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

Function object_hash

src/engine/object.cpp:348–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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