search for: serialising

Displaying 20 results from an estimated 212 matches for "serialising".

Did you mean: deserialising
2016 Jul 28
2
Weighting Schemes: Implementing Piv+ Normalization
...uld be something else, depending on what you're > trying to do. I'm trying to unserialise normalization strings (e.g. "nfn", "nbsl" etc.) along with the new double parameters (s and delta) but it isn't turning out to be smooth because there's no method for unserialising strings in serialise-double.h Although, doing just const string normals = ptr++; or, const string normals = static_cast<const string>ptr++; fixes compile errors. But tfidfweight3 test case is failing with remote backends :- $ ./runtest gdb ./apitest -v tfidfweight3 Running test: tfidfwei...
2012 Aug 06
1
Question about serialise
Hi, Do the serialise method of Document and Query produce a valid utf8 string? My problem is with the Node.JS binding. I serialise an object, convert the string to a javascript string, convert the javascript string to a std string and then try to unserialise. The error I get from Xapian is "Bad encoded length: no data". Thanks, Marius -------------- next part -------------- An HTML
2007 Mar 29
1
"Bad serialised query" error
Hi all, We've struck a problem when using remote queries and hoping someone can offer some guidance. I haven't managed to get a C++ reproduction in the test suite, but I have got a demo that fails using Python: import xapian db = xapian.remote_open('localhost', 8100) qp = xapian.QueryParser() qp.set_database(db) query = qp.parse_query('test') enq =
2016 Jul 29
2
Weighting Schemes: Implementing Piv+ Normalization
...gt; trying to do. > > > > I'm trying to unserialise normalization strings (e.g. "nfn", "nbsl" > etc.) > > along with the new double parameters (s and delta) but > > it isn't turning out to be smooth because there's no method for > > unserialising strings in serialise-double.h > > Serialising it about round-tripping numbers through strings. You > shouldn't need to serialise a string; you don't even have to worry > about encoding with those strings, since they're all covered by ASCII > anyway. > > > Althoug...
2012 Oct 30
0
[LLVMdev] Proposed SelectionDAGBuilder patch - load serialisation
I posted to llvmdev a few months ago to ask for advice on the best way to avoid the SelectionDAGBuilder from imposing a constraint whereby a volatile load would be serialised relative to all pending loads. The LLVM LRM says that a volatile load only needs to be serialised relative to other volatile loads and, while it may not matter to most targets, the current behaviour of the SelectionDAGBuilder
2009 Feb 12
1
problem when using xapian's static libs in windows
I have download source ?1.10? from the internet and build it into lib Then I create a project as the helpdoc said I using vc2005(vc8) The source in my test project is as follow??copy from the helpdoc? #include <xapian.h> #include <iostream> using namespace std; int main(int argc, char **argv) { // Simplest possible options parsing: we just require three or more
2006 Jun 26
2
Serialising multiple accesses to external web service
Hi all, I have an external web service that I need to log into at a specific part of my web app,. The problem is that I only have one login to this web service, and if another login attempt is made while an existing login session is still active, the existing session gets terminated. How can I best serialise access across my mongrel cluster to this external API? I thought of creating
2016 Jul 27
2
Weighting Schemes: Implementing Piv+ Normalization
...n Tf-Idf weighting scheme as a intermediate step to implementing the support for Piv+ normalization. All tests pass. But I'm running into some issues with Piv+ normalization. In the Piv+ formula , there are two parameters (s and delta) that control the weight assigned. I think the way I'm serialising and unserialising these parameters has some issues which is causing a few errors, http://pastebin.com/yCyuvF1X. Any suggestion is appreciated! Also, I was wondering if we want to have pivoted normalization weighting as a separate weighting scheme in Xapian as it will make a way to add support of...
2012 Aug 14
2
[LLVMdev] Load serialisation during selection DAG building
On Aug 14, 2012, at 2:05 PM, Steve Montgomery <stephen.montgomery3 at btinternet.com> wrote: > Further to my earlier question, I'm perhaps a bit confused about memory serialisation. The following example, compiled using clang for the MSP430: > > target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16" > target triple = "msp430-??-??" >
2007 Apr 14
0
serialised cmml examples
Are there any examples of serialised CMML in Ogg about? I know about <http://media.annodex.net/cmmlwiki/>, but the .axv files you can download contain only: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cmml SYSTEM "cmml.dtd"><head/> -- imalone
2007 Apr 16
0
serialised cmml examples
...a particular version of AFE as far as I remember. > > I've made a note to look into it. Ian, thanks for the report. > You're welcome, if I have a skill it's breaking things. I was looking for some tests for a cc-metadata extractor plugin[1]. The plan was to try to do the de-serialising in C code, but it's much easier to just pass the raw XML upwards and let Java do it; hence don't actually need full test files now anyway. [1] Might actually finish something that works. Baulked at implementing my own JOgg, so going to have a go at using JNI to implement a method...
2011 Dec 16
0
[PATCH 1/1] virtio: console: Serialise control work
We currently allow multiple instances of the control work handler to run in parallel. This isn't expected to work; serialise access by disabling interrupts on new packets from the Host and enable them when all the existing ones are consumed. --- drivers/char/virtio_console.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/char/virtio_console.c
2011 Dec 16
0
[PATCH 1/1] virtio: console: Serialise control work
We currently allow multiple instances of the control work handler to run in parallel. This isn't expected to work; serialise access by disabling interrupts on new packets from the Host and enable them when all the existing ones are consumed. --- drivers/char/virtio_console.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/char/virtio_console.c
2012 Dec 07
0
libnutconf: (De)serialisation methods added
?Hello everybody, (de)serialisation methods of all the currently existing config. classes were pushed to balooloo/nut, libconf branch: https://github.com/balooloo/nut/commit/df8b584c7fef71741b33bff11a482a103360250e Please note that the deserialisation methods should work, however they are quite inefficient since they simply read the whole stream to memory and then call parseFromString. I guess
2017 Dec 16
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Fri, Dec 15, 2017 at 03:10:48PM +0800, 张少华 wrote: > After using boolean terms to get some candidates of documents (still > too much), we want sorted them by self-defined function which is used > in Xapian::KeyMaker->operator(). But how can I get the serialise score > in Xapian::MSetIterator object. > > c++ code likes this: > > class SortKeyMaker : public
2007 Aug 24
2
serialised cmml examples
On 15/04/07, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote: > Hi Ian, > > hmm, there was a whole bunch up on media.aidabrowser.com, but it seems > that CSIRO have taken that site offline. > > I thought there was a version of the media in cmmlwiki that produces > annodex files, but there may be a bug on the server that prevents > that. Conrad - is this a known
2011 Oct 06
5
Simple ActiveRecord serialise problem
When I create a table with the following SQL: # create table foos (id SERIAL, content VARCHAR(255)); And define a class as follows: class Foo < ActiveRecord::Base serialize :content, JSON end Creating a new instance of the class gives an error: > f = Foo.new NoMethodError: undefined method `read'' for nil:NilClass from
2006 Jul 17
1
sortable_element - Altering defaults set by rails
Hi there, I''ve got the following code to generate two sortable elements but whenever someone drags and drops an item, i only want it to return a serialised list of the items in categoryartworks, the unlinkedartworks can be in any order and I don''t care. I can then delete those artworks that were in category artworks but aren''t in the serialised list, plus reorder
2017 Dec 18
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Sat, Dec 16, 2017 at 10:11:40PM +0000, Olly Betts wrote: > Unfortunately the sort key isn't currently exposed via the public API. > It's available internally and it seems like it ought to be accessible > but there's no accessor method for it - I can add one but that won't > help for existing releases. I've added MSetIterator::get_sort_key() to master in
2008 Jan 04
2
use of Marshal with wxruby classes
Is it possible to use Marshal with wxruby classes to serialize an application''s state? I tried a minimal example of simply serializing a minimal frame object, and I get the error "no marshal_dump is defined for class MinimalFrame". I don''t fully understand this because I also tried another minimal example of dumping a class which did not defined a marshal_dump, and it