@@ -143,7 +143,7 @@ cdef extern from "parser/tokenizer.h":
143
143
int64_t * line_start # position in words for start of line
144
144
int64_t * line_fields # Number of fields in each line
145
145
int64_t lines # Number of lines observed
146
- int64_t file_lines # Number of file lines observed (with bad/skipped)
146
+ int64_t file_lines # Number of lines observed (with bad/skipped)
147
147
int64_t lines_cap # Vector capacity
148
148
149
149
# Tokenizing stuff
@@ -210,7 +210,8 @@ cdef extern from "parser/tokenizer.h":
210
210
void uint_state_init(uint_state * self )
211
211
int uint64_conflict(uint_state * self )
212
212
213
- void coliter_setup(coliter_t * it, parser_t * parser, int64_t i, int64_t start) nogil
213
+ void coliter_setup(coliter_t * it, parser_t * parser,
214
+ int64_t i, int64_t start) nogil
214
215
void COLITER_NEXT(coliter_t, const char * ) nogil
215
216
216
217
parser_t* parser_new()
@@ -1702,7 +1703,8 @@ cdef char* cinf = b'inf'
1702
1703
cdef char * cposinf = b' +inf'
1703
1704
cdef char * cneginf = b' -inf'
1704
1705
1705
- cdef _try_double(parser_t * parser, int64_t col, int64_t line_start, int64_t line_end,
1706
+ cdef _try_double(parser_t * parser, int64_t col,
1707
+ int64_t line_start, int64_t line_end,
1706
1708
bint na_filter, kh_str_t * na_hashset, object na_flist):
1707
1709
cdef:
1708
1710
int error, na_count = 0
@@ -1811,7 +1813,8 @@ cdef inline int _try_double_nogil(parser_t *parser,
1811
1813
1812
1814
return 0
1813
1815
1814
- cdef _try_uint64(parser_t * parser, int64_t col, int64_t line_start, int64_t line_end,
1816
+ cdef _try_uint64(parser_t * parser, int64_t col,
1817
+ int64_t line_start, int64_t line_end,
1815
1818
bint na_filter, kh_str_t * na_hashset):
1816
1819
cdef:
1817
1820
int error
@@ -1845,7 +1848,8 @@ cdef _try_uint64(parser_t *parser, int64_t col, int64_t line_start, int64_t line
1845
1848
1846
1849
return result
1847
1850
1848
- cdef inline int _try_uint64_nogil(parser_t * parser, int64_t col, int64_t line_start,
1851
+ cdef inline int _try_uint64_nogil(parser_t * parser, int64_t col,
1852
+ int64_t line_start,
1849
1853
int64_t line_end, bint na_filter,
1850
1854
const kh_str_t * na_hashset,
1851
1855
uint64_t * data, uint_state * state) nogil:
@@ -1882,7 +1886,8 @@ cdef inline int _try_uint64_nogil(parser_t *parser, int64_t col, int64_t line_st
1882
1886
1883
1887
return 0
1884
1888
1885
- cdef _try_int64(parser_t * parser, int64_t col, int64_t line_start, int64_t line_end,
1889
+ cdef _try_int64(parser_t * parser, int64_t col,
1890
+ int64_t line_start, int64_t line_end,
1886
1891
bint na_filter, kh_str_t * na_hashset):
1887
1892
cdef:
1888
1893
int error, na_count = 0
@@ -1909,7 +1914,8 @@ cdef _try_int64(parser_t *parser, int64_t col, int64_t line_start, int64_t line_
1909
1914
1910
1915
return result, na_count
1911
1916
1912
- cdef inline int _try_int64_nogil(parser_t * parser, int64_t col, int64_t line_start,
1917
+ cdef inline int _try_int64_nogil(parser_t * parser, int64_t col,
1918
+ int64_t line_start,
1913
1919
int64_t line_end, bint na_filter,
1914
1920
const kh_str_t * na_hashset, int64_t NA,
1915
1921
int64_t * data, int * na_count) nogil:
@@ -1947,7 +1953,8 @@ cdef inline int _try_int64_nogil(parser_t *parser, int64_t col, int64_t line_sta
1947
1953
1948
1954
return 0
1949
1955
1950
- cdef _try_bool(parser_t * parser, int64_t col, int64_t line_start, int64_t line_end,
1956
+ cdef _try_bool(parser_t * parser, int64_t col,
1957
+ int64_t line_start, int64_t line_end,
1951
1958
bint na_filter, kh_str_t * na_hashset):
1952
1959
cdef:
1953
1960
int na_count
@@ -1969,7 +1976,8 @@ cdef _try_bool(parser_t *parser, int64_t col, int64_t line_start, int64_t line_e
1969
1976
return None , None
1970
1977
return result.view(np.bool_), na_count
1971
1978
1972
- cdef inline int _try_bool_nogil(parser_t * parser, int64_t col, int64_t line_start,
1979
+ cdef inline int _try_bool_nogil(parser_t * parser, int64_t col,
1980
+ int64_t line_start,
1973
1981
int64_t line_end, bint na_filter,
1974
1982
const kh_str_t * na_hashset, uint8_t NA,
1975
1983
uint8_t * data, int * na_count) nogil:
@@ -2009,7 +2017,8 @@ cdef inline int _try_bool_nogil(parser_t *parser, int64_t col, int64_t line_star
2009
2017
data += 1
2010
2018
return 0
2011
2019
2012
- cdef _try_bool_flex(parser_t * parser, int64_t col, int64_t line_start, int64_t line_end,
2020
+ cdef _try_bool_flex(parser_t * parser, int64_t col,
2021
+ int64_t line_start, int64_t line_end,
2013
2022
bint na_filter, const kh_str_t * na_hashset,
2014
2023
const kh_str_t * true_hashset,
2015
2024
const kh_str_t * false_hashset):
@@ -2035,7 +2044,8 @@ cdef _try_bool_flex(parser_t *parser, int64_t col, int64_t line_start, int64_t l
2035
2044
return None , None
2036
2045
return result.view(np.bool_), na_count
2037
2046
2038
- cdef inline int _try_bool_flex_nogil(parser_t * parser, int64_t col, int64_t line_start,
2047
+ cdef inline int _try_bool_flex_nogil(parser_t * parser, int64_t col,
2048
+ int64_t line_start,
2039
2049
int64_t line_end, bint na_filter,
2040
2050
const kh_str_t * na_hashset,
2041
2051
const kh_str_t * true_hashset,
0 commit comments