Displaying 20 results from an estimated 971 matches for "decremental".
2010 May 30
5
Automatically decrement value each day
I have a Person model with a points attribute. For the most part,
points values will be incremented and decremented via user votes.
However, I''d also like to decrement a Person''s points by half a point
each day.
How do I automatically decrement the value once per day?
Your help is greatly appreciated :)
Becky
--
Posted via http://www.ruby-forum.com/.
--
You received this
2010 Oct 08
1
[LLVMdev] llvm-gcc: code generated for pre- and post-increment
I'm relatively new to LLVM so apologies in advance if this is a dumb
question. I've been experimenting with re-targeting LLVM onto a 16-bit
micro which has pre and post increment and decrement addressing modes.
I've been using llvm-gcc to generate llvm bitcode and llvm 2.7 to go
from here to my target assembly code.
I've got the Combine pass to deal with
2011 Apr 05
1
[PATCH] virtio: decrement dev_index when device is unregistered
When virtio device is removed, dev_index does not get decremented.
The next device hotplug event results in consuming the next pci to
the one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index efb35aa..67fe71d 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -216,6
2011 Apr 05
1
[PATCH] virtio: decrement dev_index when device is unregistered
When virtio device is removed, dev_index does not get decremented.
The next device hotplug event results in consuming the next pci to
the one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index efb35aa..67fe71d 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -216,6
2011 Apr 05
3
[PATCH] virtio_blk: decrement index when blockdevice is removed
When virtio block device is removed, index does not get decremented. When
another virtio disk is attached it uses the next device letter to the
one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 6ecf89c..730e7af 100644
--- a/drivers/block/virtio_blk.c
+++
2011 Apr 05
3
[PATCH] virtio_blk: decrement index when blockdevice is removed
When virtio block device is removed, index does not get decremented. When
another virtio disk is attached it uses the next device letter to the
one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 6ecf89c..730e7af 100644
--- a/drivers/block/virtio_blk.c
+++
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix double-decrement in argstr
Commit-ID: 4bfffb1572c9d1b77538b5a3e92c27f91bd2ee99
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4bfffb1572c9d1b77538b5a3e92c27f91bd2ee99
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 25 Feb 2019 14:00:31 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: expand: Fix
2019 Aug 10
1
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
On Fri, Aug 09, 2019 at 12:18:47PM +0530, Pankaj Gupta wrote:
> This patch decrements 'next_avail_idx' count when detaching a buffer
> from vq for packed ring code. Split ring code already does this in
> virtqueue_detach_unused_buf_split function. This updates the
> 'next_avail_idx' to the previous correct index after an unused buffer
> is detatched from the vq.
>
2019 Aug 12
1
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
On 2019/8/9 ??2:48, Pankaj Gupta wrote:
> This patch decrements 'next_avail_idx' count when detaching a buffer
> from vq for packed ring code. Split ring code already does this in
> virtqueue_detach_unused_buf_split function. This updates the
> 'next_avail_idx' to the previous correct index after an unused buffer
> is detatched from the vq.
>
> Signed-off-by:
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be
decremented as well.
This was noticed by hot-unplugging a virtio console port and then
plugging in a new one on the same number (re-using the vqs which were
just 'disowned'). qemu reported
'Guest moved used index from 0 to 256'
when any IO was attempted on the new port.
CC: stable at kernel.org
Reported-by:
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be
decremented as well.
This was noticed by hot-unplugging a virtio console port and then
plugging in a new one on the same number (re-using the vqs which were
just 'disowned'). qemu reported
'Guest moved used index from 0 to 256'
when any IO was attempted on the new port.
CC: stable at kernel.org
Reported-by:
2018 Apr 06
0
[nbdkit PATCH 2/2] python: Simplify calling into plugin
PyObject_CallObject is powerful, but awkward - we have to wrap
all arguments into a temporary tuple before using it.
Let python do more of the work by using PyObject_CallFunction
anywhere that all arguments can be described by a Py_BuildValue()
format string, instead of creating one-shot arguments ourselves.
In fact, for our py_config(), this makes it easier to not worry
about python 2 String vs.
2017 Mar 22
2
arg_iterator missing inc/dec operators
> The predecrement / decrement operators *do* exist on this iterator:
> https://github.com/llvm-mirror/llvm/blob/master/include/
> llvm/ADT/ilist_iterator.h#L153
>
> Maybe you meant:
>
> llvm::Function *f;
> foo(&*--f->arg_end());
>
> ?
>
Correct, I mean exactly this. Though &* is not important in this case.
This code doesn't work anymore, as
2007 Dec 05
2
Term frequency doesn''t decrement after document is deleted.
Hey all,
The frequency count returned by my ferret reader doesn''t decrement
after I remove a documents with those terms. Using the example from
http://ferret.davebalmain.com/api/classes/Ferret/Index/TermEnum.html
the frequency increments after a document is added but stays the same
after a document is deleted.
index.reader.terms(:tags).each do |term, freq|
"#{term} appears
2008 May 28
9
Dogfood Challenge : Ableton Live 7.07 demo
As soon as the application starts, a window pops up that (normally under windows) would say "this is a trial version demo, click okay to start the trial", or something along those lines. The window is blank and clicking randomly on it (to find the "ok") does not work either. The following output from wine during this test is as follows :
err:iphlpapi:getRouteTable Received
2019 Aug 09
0
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
This patch decrements 'next_avail_idx' count when detaching a buffer
from vq for packed ring code. Split ring code already does this in
virtqueue_detach_unused_buf_split function. This updates the
'next_avail_idx' to the previous correct index after an unused buffer
is detatched from the vq.
Signed-off-by: Pankaj Gupta <pagupta at redhat.com>
---
2006 Mar 10
0
Overriding save breaks increment!/decrement!
Is overriding ActiveRecord#save verboten? Doing this causes increment!
and decrement! to break (1 for 0 argument error):
def save
create_or_update
# also tried ''super''
# do stuff
end
Joe
--
Posted via http://www.ruby-forum.com/.
2008 Feb 05
2
help with oop in R - class structure and syntex
Hi,
I read section 5, oop, of the R lang doc, and I am still not sure I
understand how to build a class in R for oop. I thought that since I
understand the oop syntex of Java and VB, I am wondering if the R programmig
experts could help me out by comparing and contrasting the oop syntex in R
with that of Java. For example, the basic class structure in Java is like
this:
public class Bicycle {
2017 Mar 22
3
arg_iterator missing inc/dec operators
Reid,
After your recent redefinition of arg_iterator, it's missing
increment/decrement operators (which people typically expect to be defined
for iterators). So some external code relying on this is broken. If it's
not intentional, would be nice to have it fixed.
Specific code that I is broken looks like this:
llvm::Function f;
foo(--f->arg_end()); // passing the last argument to the
2014 Feb 13
2
[PATCH net v2] vhost: fix ref cnt checking deadlock
vhost checked the counter within the refcnt before decrementing. It
really wanted to know that it is the one that has the last reference, as
a way to batch freeing resources a bit more efficiently.
Note: we only let refcount go to 0 on device release.
This works well but we now access the ref counter twice so there's a
race: all users might see a high count and decide to defer freeing