MCPcopy Create free account
hub / github.com/numpy/numpy / true_intent_list

Function true_intent_list

numpy/f2py/crackfortran.py:3342–3353  ·  view source on GitHub ↗
(var)

Source from the content-addressed store, hash-verified

3340
3341
3342def true_intent_list(var):
3343 lst = var['intent']
3344 ret = []
3345 for intent in lst:
3346 try:
3347 f = globals()[f'isintent_{intent}']
3348 except KeyError:
3349 pass
3350 else:
3351 if f(var):
3352 ret.append(intent)
3353 return ret
3354
3355
3356def vars2fortran(block, vars, args, tab='', as_interface=False):

Callers 1

vars2fortranFunction · 0.85

Calls 1

fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…