search for: protobufs

Displaying 20 results from an estimated 28 matches for "protobufs".

Did you mean: protobuf
2013 Jul 02
0
[LLVMdev] clang static analyzer annotations
Not sure if this is the right place to ask. Please let me know if there's a better place. I ran the clang static analyzer via Xcode 4.6.3 on our project that uses a lot of third-party libraries. One of them is Google protobufs, and it has a set of non-exiting assertion macros that the analyzer (rightly) ignores when flagging some NULL dereferences. The macros look like this: #define GOOGLE_LOG(LEVEL) \ ::google::protobuf::internal::LogFinisher() =...
2016 Oct 11
2
iOS Parsing Error
Hi, When compiling mumble-iphone from https://github.com/mumble-voip/mumble-iphoneos <https://github.com/mumble-voip/mumble-iphoneos> I had a parser error on the file CodeOutputStream.m (form https://github.com/booyah/protobuf-objc/tree/696b7b61cdd4e8d77c55ace98b3119194fa04b7f <https://github.com/booyah/protobuf-objc/tree/696b7b61cdd4e8d77c55ace98b3119194fa04b7f>). I know that the
2009 Dec 26
1
Problem compiling R library on FC4 ( conflicting declaration in Rinterface.h and stdint.h)
Hello, The package builds successfully on RHEL5 and OS X( 64 bit,32/64 respectively) but on FC4(32 bit) it fails with this error g++ -m32 -I/usr/include/R -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I. -g `pkg-config --cflags protobuf` -Wall -c
2009 Nov 07
1
getConnection, R_outpstream_st
Hello, I'm trying to use the limited connections api defined in Rinternals.h. I have code that looks like this (inspired from do_serializeToConn) : SEXP serialize_to_connection( SEXP xp, SEXP connection ){ Rconnection con ; struct R_outpstream_st out; R_pstream_format_t type = R_pstream_binary_format ; SEXP (*hook)(SEXP, SEXP) = NULL ; con = getConnection(Rf_asInteger(connection));
2011 Jul 15
2
[LLVMdev] Makefile Question
Hello, I have a question about how to set up a Makefile that generate a .so that I can load into opt without getting duplicate symbols. Here's what I have right now: LIBRARYNAME=previrt SHARED_LIBRARY=previrt LINK_COMPONENTS := transformUtils LINK_LIBS_IN_SHARED=1 include $(LEVEL)/Makefile.common LIBS += -lprotobuf CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI LDFLAGS
2011 Jul 15
2
[LLVMdev] Makefile Question
I thought it would, but it seems to be missing the CloneModule symbol (which isn't called from anywhere in the LLVM codebase). On Fri, Jul 15, 2011 at 7:43 AM, John Criswell <criswell at illinois.edu>wrote: > On 7/14/11 7:36 PM, Gregory Malecha wrote: > > Hello, > > I have a question about how to set up a Makefile that generate a .so that I > can load into opt
2011 Jul 15
0
[LLVMdev] Makefile Question
On 7/14/11 7:36 PM, Gregory Malecha wrote: > Hello, > > I have a question about how to set up a Makefile that generate a .so > that I can load into opt without getting duplicate symbols. Here's > what I have right now: Have you tried removing LINK_COMPONENTS below? I suspect that the opt binary already contains everying in the transformUtils library. -- John T. > >
2015 Jun 20
2
[LLVMdev] Code-generation: lang=>JSON, JSON=>lang and merging into lang
Possibly protobuf or capn proto would be much more clean alternatives to json. I was working with interpreting instruction semantics a while back, and you shouldn't have to write a parser to get the data structure back into coherent form, you can get what you want automatically and have the structure isolated into a common schema. On Sat, Jun 20, 2015 at 9:22 AM, Stephen Cross <scross at
2011 Jul 15
0
[LLVMdev] Makefile Question
Hi Gregory, I had a similar problem a while back, see: http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-June/032508.html for my solution to this problem. Basically I ended up linking in the *.o files needed to get exactly what I needed (in your case, the file defining CloneModule and whatever else you need), without pulling in too much (causing duplicate symbol issues with opt). Hopefully this
2011 Feb 25
1
R CMD build error (RProtoBuf on windows)
Hello all, I am trying to port the package RProtoBuf to windows. The developers of RProtoBuf have given me some helpful pointers so far, but now I am stuck. After having made what I think are the necessary changes to the package to compile on windows, "R CMD build RProtoBuf" outputs a somewhat cryptic error ("This application has requested the Runtime to terminate it in an unusual
2018 May 07
2
Compiling 3.13.2 under FreeBSD 11.1?
Hello, Has anyone managed to successfully compile the latest 3.13.2 under FreeBSD 11.1? ./autogen.sh and ./configure seem to work but make fails: Making all in src CC glfs.lo cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] fatal
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...we want to store variable-length objects we need to define string-table-like data structure. And I'm not very sure that it's fastest -- because mmap'able objects are not very compact on disk, slow disk IO could be a bottleneck, if we compare that with more compact file format. I believe Protobufs or Thrust are fast enough or even might be faster. Secondly, do you know why we are dumping post-linked object file to Native format? If we want to have a different kind of *object* file format, we would want to have a tool to convert an object file in an existing file format (say, ELF) to "n...
2017 Aug 14
2
LLVM Weekly - #189, Aug 14th 2017
LLVM Weekly - #189, Aug 14th 2017 ================================= If you prefer, you can read a HTML version of this email at <http://llvmweekly.org/issue/189>. Welcome to the one hundred and eighty-ninth issue of LLVM Weekly, a weekly newsletter (published every Monday) covering developments in LLVM, Clang, and related projects. LLVM Weekly is brought to you by [Alex
2015 Feb 07
4
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...o > > define string-table-like data structure. And I'm not very sure that it's > > fastest -- because mmap'able objects are not very compact on disk, slow > disk > > IO could be a bottleneck, if we compare that with more compact file > format. > > I believe Protobufs or Thrust are fast enough or even might be faster. > > I'm not sure here. Although I do question if the object files will > even need to be read from disk in your standard edit/compile/debug > loop or on a build server. I believe we'll need real data to determine > this. >...
2018 Jul 06
1
CRAN: Update protocol buffers on macOS? (for RProtoBuf)
Hi, I notice that the CRAN binary for the macOS version of RProtoBuf is built against quite an old version of protocol buffers (from 2014, before v3 format support was added). the windows version is (blessedly) kept up-to-date, but I'd like to float the suggestion that the macOS version get an update too. with thanks jonathon
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...e that >>>> it's >>>> > fastest -- because mmap'able objects are not very compact on disk, >>>> slow disk >>>> > IO could be a bottleneck, if we compare that with more compact file >>>> format. >>>> > I believe Protobufs or Thrust are fast enough or even might be faster. >>>> >>>> I'm not sure here. Although I do question if the object files will >>>> even need to be read from disk in your standard edit/compile/debug >>>> loop or on a build server. I believe we...
2015 Jun 20
2
[LLVMdev] Code-generation: lang=>JSON, JSON=>lang and merging into lang
Considering engineering my own code-generator. If I do go ahead, will open-source the end result. Needs to read [parse] one language, and output JSON (conformant to a specific JSON-schema). Then needs to read JSON, and reproduce the code in that language, and [possibly] merge the generated code with existing code. Languages I'm looking to support are all rather popular (Python, Go, Rust,
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...tring-table-like data structure. And I'm not very sure that it's >> > fastest -- because mmap'able objects are not very compact on disk, slow >> disk >> > IO could be a bottleneck, if we compare that with more compact file >> format. >> > I believe Protobufs or Thrust are fast enough or even might be faster. >> >> I'm not sure here. Although I do question if the object files will >> even need to be read from disk in your standard edit/compile/debug >> loop or on a build server. I believe we'll need real data to determine...
2020 May 26
2
Emitting aligned nlist_64 structures for Mach-O in MC
I looked into this further. ld64 has a macho_nlist abstraction over the various underlying nlist structures [1]. On x86-64, the P::getP referenced in n_value will resolve to [2], which in turn goes to [3], which calls OSReadLittleInt64. On a little endian machine, OSReadLittleEndian just calls _OSReadInt64 [4], which in turn does a pointer arithmetic and cast and then dereferences the pointer [5].
2016 Jan 15
2
JDataFrame API
Hi Simon, Thanks for your feedback. -- this is an observation that I wasn't considering when I wrote this mainly because I am, in fact, working with rather small data sets. BTW: There is code there, it's under the bitbucket link -- here's the direct link if you'd still like to look at it: https://bitbucket.org/CoherentLogic/jdataframe Re "for practical purposes is