search for: need_stats

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

Did you mean: need_statd
2013 Jun 16
3
Backend for Lucene format indexes-How to get doclength
Hi, all: I have wrote a demo patch for Backend for Lucene format indexes, Lucene version is 3.6.2. http://lucene.apache.org/core/3_6_2/fileformats.html Now, this demo patch just support the basic features in Lucene. Compound File(.cfs/.cfe)?term vector(.tvx/.tvd/.tvf) delete document(.del) are not supported, skip list in .fdx is not supported too example/quest.cc is used to test this demo.
2013 Feb 19
2
Implementing tf-idf weighting scheme in Xapian
Hello guys.I just read up about tf-idf schemes and want to implement it in Xapian (with some frequently used normalizations) as it will also give me a good hang of implementing a weighting scheme before I start working on implementing DFR schemes. I read the following as references and I think Ive understood it well and can write the hack :- 1.)
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...ON_S_MEMFREE, pages_to_bytes(i.freeram)); + update_stat(vb, VIRTIO_BALLOON_S_MEMTOT, pages_to_bytes(i.totalram)); +} + +static void virtballoon_changed(struct virtio_device *vdev) +{ + struct virtio_balloon *vb = vdev->priv; + + wake_up(&vb->config_change); +} + +static inline bool config_need_stats(struct virtio_balloon *vb) +{ + u32 v = 0; + + vb->vdev->config->get(vb->vdev, + offsetof(struct virtio_balloon_config, + need_stats), + &v, sizeof(v)); + return (v != 0); +} + +static inline u32 config_pages(struct virtio_balloon *vb) +{ + u32 v = 0; + + v...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...ON_S_MEMFREE, pages_to_bytes(i.freeram)); + update_stat(vb, VIRTIO_BALLOON_S_MEMTOT, pages_to_bytes(i.totalram)); +} + +static void virtballoon_changed(struct virtio_device *vdev) +{ + struct virtio_balloon *vb = vdev->priv; + + wake_up(&vb->config_change); +} + +static inline bool config_need_stats(struct virtio_balloon *vb) +{ + u32 v = 0; + + vb->vdev->config->get(vb->vdev, + offsetof(struct virtio_balloon_config, + need_stats), + &v, sizeof(v)); + return (v != 0); +} + +static inline u32 config_pages(struct virtio_balloon *vb) +{ + u32 v = 0; + + v...
2012 Jul 25
0
No subject
...gt; >> +static void virtballoon_changed(struct virtio_device *vdev) > >> +{ > >> + struct virtio_balloon *vb = vdev->priv; > >> + > >> + wake_up(&vb->config_change); > >> +} > >> + > >> +static inline bool config_need_stats(struct virtio_balloon *vb) > >> +{ > >> + u32 v = 0; > >> + > >> + vb->vdev->config->get(vb->vdev, > >> + offsetof(struct virtio_balloon_config, > >> + need_stats),...
2012 Jul 25
0
No subject
...gt; >> +static void virtballoon_changed(struct virtio_device *vdev) > >> +{ > >> + struct virtio_balloon *vb = vdev->priv; > >> + > >> + wake_up(&vb->config_change); > >> +} > >> + > >> +static inline bool config_need_stats(struct virtio_balloon *vb) > >> +{ > >> + u32 v = 0; > >> + > >> + vb->vdev->config->get(vb->vdev, > >> + offsetof(struct virtio_balloon_config, > >> + need_stats),...