Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ isunsigned_short
Function
isunsigned_short
numpy/f2py/auxfuncs.py:164–169 ·
view source on GitHub ↗
(var)
Source
from the content-addressed store, hash-verified
162
163
164
def
isunsigned_short(var):
165
if
not isscalar(var):
166
return
0
167
if
var.get(
'typespec'
) !=
'integer'
:
168
return
0
169
return
get_kind(var) ==
'-2'
170
171
172
def
isunsigned(var):
Callers
nothing calls this directly
Calls
3
get_kind
Function · 0.85
isscalar
Function · 0.70
get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…