Displaying 19 results from an estimated 19 matches similar to: "Auto-incrementing column"
2012 Oct 18
1
[LLVMdev] Incrementing a pointer to array element?
Using the LLVM C++ API, if I want to create an array via an Alloca instruction like:
Value *a = ir_builder.CreateAlloca( my_type, my_size );
and then I want to initialize each element of the array with values computed elsewhere like:
for ( vector<Value*>::const_iterator i = v.begin(); i != v.end(); ++i ) {
builder.CreateStore( *i, a );
// How do I increment 'a' to point to
2008 Apr 23
2
Incrementing Dates
How can I increment the value of a Date class?
I want to add a day, month or year to a date.
cheers
Worik
[[alternative HTML version deleted]]
2008 Jul 24
3
incrementing for loop by 2
Dear List-serv members:
How can I structure a for loop so that it will increment the counter by two using R? I am just looking for a simple example that shows where the incrementing part should go. Thanks!
Jennifer
--
Jennifer Hayes Clark
Assistant Professor
Department of Political Science
University of Houston
Houston, TX 77204-3011
[[alternative HTML version deleted]]
2010 Aug 14
1
incrementing matrix elements more efficiently
I need to increment cells of a matrix (collusionM). The indexes to increment are in an index (matchIndex). This is some of the code
for (j in 1:(rows-1)) matchIndex[[j]] <- which(mx[j]==mx)
for (j in 1:(rows-1)) collisionM[j,matchIndex[[j]]] <- collisionM[j,matchIndex[[j]]] + 1
I could put them in the same loop but this is slower. The first for statement is fine. It finds the matches
2006 May 12
5
Is there a method for incrementing string names?!?
Hello,
I have model which has a property named "name", I want to append a
number to the end of the name when there is similar name in db.
name, name1, name2...
Is there a ready to use method in ruby and/or rails for doing so?
Thanks in advance,
- Dunnil
2006 Dec 02
1
document_id globally incrementing
Hi All
I have made my xapian indexer automatically create new indexes once it
reaches X documents in each, and for each document that I add to each
sub-index, I record its document_id and its index_id (relating to what
index the document ended up in).
writabledatabase_add_document() returns document_id:s beginning from 0
for each new index when you add new documents, like you would expect.
So
2006 Jul 06
4
update_all Not Incrementing lock_version
Shouldn''t update_all be updating lock_version? As you can see from my
console session below, it is upating the record (changed running
attribute to true and returned 1 to show 1 recored was updated). But it
did not increment lock_version. And optimistic locking is working
correctly otherwise. As you can see below, lock version = 562 before
and after the update_all call but it is
2019 Jan 04
0
--link-dest. Time to 'building file list' incrementing
Kevin
The link-dest parameter is a single directory (the previous day's directory), the destination is today's directory.
I haven't tried deleting a backup, there's no particular need in space terms, at the current rate there's enough space for several years of daily backups.
I've reverted to daily backups on a small subset of the total; the full backup now takes
2007 Dec 27
4
Conditionally incrementing a loop counter
Hi,
I am trying a for loop from 1 to 100 by 1. However, if a condition does
not get met, I want to "throw away" that iteration. So if my loop is
for (i in 1:100)
and i is say, 25 and the condition is not met then I don't want i to go
up to 26. Is there a way to do that? I can't seem to manually adjust i
because from what I understand, R creates 100 long vector and uses that
to
2006 Mar 15
2
lapply vs. for (was: Incrementing a counter in lapply)
> From: Thomas Lumley
>>
>> On Tue, 14 Mar 2006, John McHenry wrote:
>>
>> > Thanks, Gabor & Thomas.
>> >
>> > Apologies, but I used an example that obfuscated the question that I
>> > wanted to ask.
>> >
>> > I really wanted to know how to have extra arguments in
>> functions that
>> > would allow,
2006 Mar 13
3
Incrementing a counter in lapply
Hi All,
I'm looking for some hints on idiomatic R usage using 'lapply' or similar.
What follows is a simple example from which to generalize my question...
# Suppose, in this simple example, I want to plot a number of different lines in different colors;
# I define the colors I wish to use and I plot them in a loop:
d<-
2019 Jan 03
1
--link-dest. Time to 'building file list' incrementing
I've been running rsync as a cygwin task on Windows Server 2008 for about two months now. I'm using the --link-dest option to do a daily 'snapshot' of the contents of a server containing about 10TB of data, about 13 million files, to a Linux based NAS server. Things started out great but I soon noticed that the time take to complete was slowly incrementing. It started at around
2015 Nov 02
2
Questions about load/store incrementing address modes
Thanks Steve, I will try this out. I hadn’t realised that TableGen was restricted to matching instructions with more than one output operand. I’m assuming that this is only a limitation for inferring an instruction from the patterns, because it does seem to manage schedules okay.
Curiously, my memory Reg32+Reg16 pattern is very similar to yours (the 16-bit offset is sign-extended though):
2015 Oct 30
2
Questions about load/store incrementing address modes
I have a rudimentary implementation for load and store instructions, where
the memory address operand is automatically post-incremented when the load
or store instruction is issued. However, this is currently coded using
custom lowering, and explicit pattern matching in the 'ISelDAGtoDAG'
implementation. But it seems to me that I ought to be able to achieve this
exclusively using
2019 Jan 08
2
--link-dest. Time to 'building file list' incrementing
Any ideas anyone?
I still need at least a weekly backup of all data.
The current workaround is just for the most active directories.
Are there any diagnostics I can do which might shed some light on this?
Thanks
JohnOn 4 Jan 2019 09:53, John Simpson via rsync <rsync at lists.samba.org> wrote:
>
> Kevin
>
> The link-dest parameter is a single directory (the previous day's
2015 Nov 02
2
Questions about load/store incrementing address modes
Thanks again for your help Steve,
I’m thinking perhaps my “SelectADDRrr” pattern is inadequate. The sign-extension is at the hardware level, the code generator sees (should see) it as a 16-bit signed register value. My implementation is just:
bool SHAVEISelDAGtoDAG::SelectADDRrr(SDValue &Addr, SDValue &Base, SDValue &Offset) {
if ((Addr.getOpcode() == ISD::ADD) {
Base
2012 May 23
2
Bug#674088: xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0
Package: xcp-xapi
Version: 1.3.2-6
Severity: normal
Tags: upstream
Normally (in 'iso-based' XCP) is possible to attach VDI to dom0.
That operation usually looks like:
xe vbd-create vdi-uuid=... vm-uuid=(dom0 uuid) device=N
xe vbd-plug
I done those steps in xcp-xapi and got success (no error), but no xvd* device found.
Here operations log:
# xe vbd-create
2012 May 23
4
Bug#674161: xcp-xapi: 'the device disappeared from xenstore' message during vbd-plug (vm-start)
Package: xcp-xapi
Version: 1.3.2-6
Severity: normal
Tags: upstream
vbd plug to PV domain cause following error:
The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem.
message: the device disappeared from xenstore (frontend (domid=4 | kind=vbd | devid=51760); backend (domid=0 | kind=vbd | devid=51760))
(same error
2012 Jul 27
0
Bug#682979: sample logfile
This logfile was recorded while the vm-start was running.
-------------- next part --------------
[20120727T14:43:34.919Z| info|vh10|1021 UNIX /var/lib/xcp/xapi|session.logout D:dd291648d150|xapi] Session.destroy trackid=e3179eeb95ba96c64ab771d0cb1557b6
[20120727T14:44:02.180Z|debug|vh10|25|Starting periodic scheduler D:641021a392d0|backgroundscheduler] Adding function Logrotate to queue,