fa45d8aa5f
- health_checklist.json: 192.168.1.122→node122
- ocr_client.py: docstring IP→node122
- docs/market-data-requirements.md: IP→node122
- 所有API调用通过ProxyHandler({})绕过系统代理
Privoxy对node122:18003返回500,直连正常
15 lines
431 B
Cython
15 lines
431 B
Cython
cimport numpy as np
|
|
from libc.stdint cimport uint32_t, uint64_t
|
|
|
|
cdef extern from "numpy/random/bitgen.h":
|
|
struct bitgen:
|
|
void *state
|
|
uint64_t (*next_uint64)(void *st) nogil
|
|
uint32_t (*next_uint32)(void *st) nogil
|
|
double (*next_double)(void *st) nogil
|
|
uint64_t (*next_raw)(void *st) nogil
|
|
|
|
ctypedef bitgen bitgen_t
|
|
|
|
from numpy.random.bit_generator cimport BitGenerator, SeedSequence
|