[protobuf] proto buffer file size control

2014-12-16 Thread Nikhil Vyawahare
Hello All, What are the functionality to use in protocol buffer to control the file size in which I am writing serialized data. I want the maximum file size to 5MB and then to start writing the new file. How this can be achieve in coded output stream Thanks and Regards Nikhil -- You received

[protobuf] Mutable pointer not consistent with official doc.

2014-12-16 Thread John Sun
Hi all, As said in the official document [C++ Generated Code https://developers.google.com/protocol-buffers/docs/reference/cpp-generated::Singular String Fields]: https://lh4.googleusercontent.com/-oYL7QapLFwA/VI_h8UnnW1I/AFs/EKBP3yHOz0s/s1600/0.png But in my test, the string pointed

Re: [protobuf] Mutable pointer not consistent with official doc.

2014-12-16 Thread 'Feng Xiao' via Protocol Buffers
I think this is a bug in the implementation. Filed issue: https://github.com/google/protobuf/issues/141 On Mon, Dec 15, 2014 at 11:47 PM, John Sun ih4...@gmail.com wrote: Hi all, As said in the official document [C++ Generated Code

Re: [protobuf] Protobuf Buffers v3.0.0-alpha-1

2014-12-16 Thread 'Feng Xiao' via Protocol Buffers
On Mon, Dec 15, 2014 at 8:33 PM, Sumit Kumar kumar.su...@hotmail.com wrote: Does Arena allocator support custom memory pool override ? Can NUMA aware memory pools be used instead ? No. We can consider adding support for custom memory pools, but I think it might be very hard. The current arena