Exemple #1
0
 def test_cython_int_coder(self):
     data = [-2147483648, 2147483647]
     python_field_coders = [
         coder_impl.IntCoderImpl() for _ in range(len(data))
     ]
     cython_field_coders = [
         fast_coder_impl.IntCoderImpl() for _ in range(len(data))
     ]
     self.check_cython_coder(python_field_coders, cython_field_coders,
                             [data])
Exemple #2
0
 def get_impl(self):
     return coder_impl.IntCoderImpl()
Exemple #3
0
 def _create_impl(self):
     return coder_impl.IntCoderImpl()