search for: demarshallable

Displaying 6 results from an estimated 6 matches for "demarshallable".

2008 May 08
2
Testing render :text without has_text
...r layout nil def query reports = StatisticsReporter.query params[:query_params] render :text => Marshal.dump(reports) end end And here''s the test: describe StatsController do before :each do @query_params = { :foo => :bar } end it "should return a demarshallable string of the reports" do reports = [ StatisticsReport.new(:date => nil), StatisticsReport.new(:bytes_transferred => 0) ] StatisticsReporter.should_receive(:query).and_return reports get :query, :query_params => @query_params # PROBLEM CODE (the equ...
2012 May 25
0
[LLVMdev] generating LLVM code that meets the C ABI
I want to generate LLVM functions that meet the C ABI for function calls/returns (preferably on multiple platforms but x86_64 would be OK for now). I know that LLVM doesn't handle this completely automatically (e.g. the type {i32,i32} should be passed as a single i64 on x86_64 linux). Is there any library that automates the generation of function declarations meeting the ABI and emit
2007 Jun 12
0
[PATCH][libxenapi] Fix segmentaion fault in libxenapi
When calling xen_vbd_set_mode(), libxenapi attempted to convert the enum mode parameter to a string twice - resulting in segfault. Removed first conversion since conversion is taking place in marshalling/demarshalling layer. Fixed similar double enum conversion in other places as well. Regards, Jim _______________________________________________ Xen-devel mailing list
2006 Mar 23
15
Is Rails Appropriate for our Project?
I realize this subject is redundant for this community, but I''m hoping the Rails community can provide me with some additional ammunition to help push a rails project I''m pitching over the proverbial tipping point at my company. The Situation: I''m the lead architect at a large bay area retailer. My team and I are currently suffering through the process of paying
2016 Mar 28
0
RFC: atomic operations on SI+
On Fri, Mar 25, 2016 at 02:22:11PM -0400, Jan Vesely wrote: > Hi Tom, Matt, > > I'm working on a project that needs few coherent atomic operations (HSA > mode: load, store, compare-and-swap) for std::atomic_uint in HCC. > > the attached patch implements atomic compare and swap for SI+ > (untested). I tried to stay within what was available, but there are > few issues
2016 Mar 25
2
RFC: atomic operations on SI+
Hi Tom, Matt, I'm working on a project that needs few coherent atomic operations (HSA mode: load, store, compare-and-swap) for std::atomic_uint in HCC. the attached patch implements atomic compare and swap for SI+ (untested). I tried to stay within what was available, but there are few issues that I was unsure how to address: 1.) it currently uses v2i32 for both input and output. This