Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tmp commit

  • Loading branch information...
commit 772eea889db7d71cdc258cc8b0cfd0b09e7be66c 1 parent 7baa84b
@wsxiaoys authored
Showing with 832 additions and 777 deletions.
  1. +830 −777 hadoopy/_typedbytes.c
  2. +2 −0  hadoopy/_typedbytes.pyx
View
1,607 hadoopy/_typedbytes.c
830 additions, 777 deletions not shown
View
2  hadoopy/_typedbytes.pyx
@@ -18,6 +18,7 @@ __author__ = 'Brandyn A. White <bwhite@cs.umd.edu>'
__license__ = 'GPL V3'
import types
+import logging
import cPickle as pickle
from libc.stdint cimport int32_t, int64_t
@@ -74,6 +75,7 @@ cdef inline _raw_write_int(void *fp, val):
Raises:
OverflowError: If val overflows an int
"""
+ logging.warn("Output bytes length %s", val)
cdef int32_t cval = val
cval = _htobe32(cval)
fwrite(&cval, 4, 1, fp) # = 1
Please sign in to comment.
Something went wrong with that request. Please try again.