Displaying 6 results from an estimated 6 matches for "need_stat".
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
...rmfreq(number of documents indexed by the term t) will remain constant
for a given term t.
However,some normalizations for the wdf include the formula wdfn = wdf /
max(wdf,d) where max(wdf,d) is the maximum within document frequency of any
term in the document .This metric is not provided by the need_stat( )
function of the Xapian::Weight class and so I don't know how to procure
it.Please can someone help me that ?
I will work on implementing weight normalization (like cosine normalization
) once I am done implementing the scheme with various wdf and idf
normalizations.
Please let me know wha...
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;
+
+...
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;
+
+...
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)...