dlldiag/subcommands/graph.py
def entryHash(entry):
		'''
		Computes a hash of the fields common to both "enter" and "return" log entries
		'''
		
		# Extract the common fields and copy them into a new dictionary
		subset = {}
		for field in ['random', 'timestamp_start', 'module', 'thread', 'function', 'arguments']:
			subset[field] = entry[field]
		
		# Dump the dictionary to a JSON string and hash it
		return hashlib.sha256(json.dumps(subset, sort_keys=True).encode('utf-8')).hexdigest()

		Computes a hash of the fields common to both "enter" and "return" log entries
		
Computes a hash of the fields common to both "enter" and "return" log entries
Computes a hash of the fields common to both " enter " and " return " log entries
def entryHash(entry):
		subset = {}
		for field in ['random', 'timestamp_start', 'module', 'thread', 'function', 'arguments']:
			subset[field] = entry[field]
		return hashlib.sha256(json.dumps(subset, sort_keys=True).encode('utf-8')).hexdigest()
def entryHash ( entry ) : subset = { } for field in [ 'random' , 'timestamp_start' , 'module' , 'thread' , 'function' , 'arguments' ] : subset [ field ] = entry [ field ] return hashlib . sha256 ( json . dumps ( subset , sort_keys = True ) . encode ( 'utf-8' ) ) . hexdigest ( )
Computes a hash of the fields common to both "enter" and "return" log entries
Computes a hash of the fields common to both " enter " and " return " log entries
'''
		Computes a hash of the fields common to both "enter" and "return" log entries
		''' # Extract the common fields and copy them into a new dictionary # Dump the dictionary to a JSON string and hash it
entry