MCPcopy Index your code
hub / github.com/nodejs/node / EnableOnFlag

Function EnableOnFlag

deps/v8/tools/grokdump.py:297–298  ·  view source on GitHub ↗
(type, flag)

Source from the content-addressed store, hash-verified

295MD_CONTEXT_X86_EXTENDED_REGISTERS = (MD_CONTEXT_X86 | 0x00000020)
296
297def EnableOnFlag(type, flag):
298 return lambda o: [None, type][int((o.context_flags & flag) != 0)]
299
300MINIDUMP_CONTEXT_X86 = Descriptor([
301 ("context_flags", ctypes.c_uint32),

Callers 1

grokdump.pyFile · 0.85

Calls 1

intFunction · 0.85

Tested by

no test coverage detected