MCPcopy Create free account
hub / github.com/apache/arrow / Observe_INT64

Method Observe_INT64

python/pyarrow/src/arrow/python/inference.cc:165–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 int Observe_INT64(PyArray_Descr* descr, int dtype) {
166 switch (dtype) {
167 _NUMPY_UNIFY_NOOP(INT8);
168 _NUMPY_UNIFY_NOOP(INT16);
169 _NUMPY_UNIFY_NOOP(INT32);
170 _NUMPY_UNIFY_NOOP(INT64);
171 _NUMPY_UNIFY_NOOP(UINT8);
172 _NUMPY_UNIFY_NOOP(UINT16);
173 _NUMPY_UNIFY_NOOP(UINT32);
174 _NUMPY_UNIFY_PROMOTE_TO(FLOAT32, FLOAT64);
175 _NUMPY_UNIFY_PROMOTE(FLOAT64);
176 default:
177 return INVALID;
178 }
179 }
180
181 int Observe_UINT8(PyArray_Descr* descr, int dtype) {
182 switch (dtype) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected