search for: inserted

Displaying 20 results from an estimated 43494 matches for "inserted".

2003 Feb 17
4
inserting elements in a list
I've searched the doc for insert and could not find the way to do the following, hope someone can help: Let's say we have a vector: > a [1] "1" "2" "3" "5" "6" "3" and we want to insert a "7" after any given "3", i.e., we want vector a to become: [1] "1" "2" "3"
2014 Jun 26
2
[LLVMdev] -gcolumn-info and PR 14106
On Thu, Jun 26, 2014 at 3:39 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: > The main motivation for turning it off is that no known consumer (debugger) > took advantage of it. > > Turning it on does more than slightly increase the object file size, it can > cause the same source line to be listed multiple times in the .debug_line > table (with different
2011 Mar 19
2
[LLVMdev] [Patch] Fix bug in llvm::SmallVectorIml<>::insert
This fixes a bug in SmallVectorImpl<>::insert, which were not behaving correctly on inserting an empty range into an empty vector: #include <llvm/ADT/SmallVector.h> #include <cassert> int main() { llvm::SmallVector<int, 1> v, w; llvm::SmallVector<int, 1>::iterator it = v.insert(v.end(), w.begin(), w.end()); assert(it == v.end()); } The insert function(s)
2011 Mar 19
0
[LLVMdev] [Patch] Fix bug in llvm::SmallVectorIml<>::insert
...ough to > be backported to llvm2.9 ? > > I would like to ask someone to commit it to wherever it fits. Thanks! Hmm, I don't understand the rationale of the return value of the range- insert and repeated-insert. The range-insert returns an iterator pointing exactly at the last value inserted. But the repeated-insert (i.e Insert(Position, RepeatCount, Value)) apparently returns an iterator pointing to the first value inserted. Is this actually intended? My patch is inconsistent with this in mind, because it always returns a pointer to the first value inserted. Please don't app...
2006 May 04
5
How to insert styles with Insertion
Hi, I''m having difficulty using Prototype''s Insertion method to insert styles into a document node. Code like this seems to fail: new Insertion.Top(widgets[i], ''<style type="text/css"></style>''); When I inspect the DOM, the style is nowhere to be found. Any ideas on how to get this to work? Thank you, Jeff Rankin Human Factors 544-4333
2013 Dec 09
3
[PATCH 1/3] Fix manpage generation in out-of-tree builds
--- po-docs/ja/Makefile.am | 16 ++++++++-------- po-docs/uk/Makefile.am | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am index 820f91a..e954f04 100644 --- a/po-docs/ja/Makefile.am +++ b/po-docs/ja/Makefile.am @@ -92,9 +92,9 @@ guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-stru
2011 Aug 29
4
[LLVMdev] insertions with inst_iterators?
I am looping through all instructions in a Function and depending on what I found I may or may not insert code. Despite the fact that I'm only actually inserting *before* instruction I have a infinite loop when I do something like below. For awhile it was simple enough to just increment i enough times but now I need something better. for(inst_iterator i = inst_begin(F); i != inst_end(F); ++i)
2005 May 19
5
[OT] Sqlite2 question
So, under Sqlite2, if I want to update a database''s schema, I have to dump the DB, modify the table''s structure, then go and modify EVERY insert statement. The insert statements look like (from memory): INSERT INTO my_table VALUES (''some_id'', ''some_val'', '''', '''', '''', ''some_other
2015 Jan 03
4
Potential cross-platform package building issue
...g worked as it should, including the PDF manual. Upon submission to CRAN, I was told that a warning was thrown: This fails to make its manual: * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! Missing $ inserted. <inserted text> $ l.682 }{} ! Missing } inserted. <inserted text> } l.682 }{} ... The line appears to be \widehat{R_1} = \frac{\sum\limits_{i=1}^n{c_i/n}}{\sum\limits_{i=1}^n{L_i/n}} I asked for assistance in resolving this issue as I could not replicate the WARNING. Another user co...
2005 Dec 15
13
Fast Bulk Inserts?
I need to insert ~100k rows into the database, but using "Table.new(...).save" is painfully slow (I notice in the logs that it''s wrapping each insert in a transaction -- that can''t be fast). Any suggestions on how I can improve the speed of bulk inserts like this? Thanks ... -- Steve
2013 Sep 17
4
[LLVMdev] Is it safe to insert instructions in batches into BBs?
Hi, I'm getting a very strange behaviour while adding already created instructions in batches into basicblocks instead of creating and inserting them immediately. Because I need to insert instructions in a certain specific order inside multiple different BBs I found it easy to use the IRBuilder to create instructions without inserting them into a BB, storing them somewhere (vector, map
2011 Aug 29
0
[LLVMdev] insertions with inst_iterators?
On Mon, Aug 29, 2011 at 12:38 PM, ret val <retval386 at gmail.com> wrote: > I am looping through all instructions in a Function and depending on > what I found I may or may not insert code. Despite the fact that I'm > only actually inserting *before* instruction I have a infinite loop > when I do something like below. For awhile it was simple enough to > just increment i
2015 Jul 09
4
[LLVMdev] insert nop instruction
Hi. I need to write a function pass that insert nop instruction in function. Examples of these instructions are: %nop = add i1 0, 0 or %nop = alloca i1, i1 0. This link couldn't help me: http://llvm.org/docs/ProgrammersManual.html#creating-and-inserting-new-instructions I need a clear example about inserting new instruction. Anyone can help me? Thanks. -------------- next part --------------
2015 Jan 03
0
Potential cross-platform package building issue
...d, | including the PDF manual. | | Upon submission to CRAN, I was told that a warning was thrown: | | This fails to make its manual: | * checking PDF version of manual ... WARNING | LaTeX errors when creating PDF version. | This typically indicates Rd problems. | LaTeX errors found: | ! Missing $ inserted. | <inserted text> | $ | l.682 }{} | ! Missing } inserted. | <inserted text> | } | l.682 | }{} | ... | | The line appears to be | \widehat{R_1} = | \frac{\sum\limits_{i=1}^n{c_i/n}}{\sum\limits_{i=1}^n{L_i/n}} | | I asked for assistance in resolving this issue as I could not replicate...
2015 Jul 09
2
[LLVMdev] insert nop instruction
My pass runs after optimization passes. On Thu, Jul 9, 2015 at 1:11 PM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote: > Hi, > > What are you trying to achieve? Inserting NOPs into LLVM IR is likely to > be pointless, as optimisations (in the IR or SelectionDAG) will remove them > before machine code generation. If you want to insert NOPs into the > generated
2016 Mar 23
6
LSR/SCEV problem/question
Hi All, I've run into what appears to be a bug in ScalarEvolution, but I'm not sure if it is instead caused by me missing an implicit assumption between LSR and SCEV. This issue is caused by the change D18001 <http://reviews.llvm.org/D18001> , which is an attempt to increase SCEV-inserted instruction re-use by picking a more canonical insertion position in the case where a new insert position block is not found. The problem I have run into with this change is that it causes an insert position instruction to be chosen which is later hoisted into a different block by SCEVExpander::h...
2015 Jul 09
2
[LLVMdev] insert nop instruction
Dear All, To add to this, you can find examples of inserting NOPs for X86 in the CFI pass originally written at Lehigh University that we ported to 64-bit X86 for SVA: https://github.com/jtcriswell/SVA/blob/master/llvm/lib/Target/X86/X86CFIOptPass.cpp Alternatively, you could use an InlineAsm call at the LLVM IR level (which I think would be easier to implement). Regards, John Criswell On
2005 Jan 11
2
[LLVMdev] Loop IR insertion
Hi, I am trying to insert a Loop IR into the existed bytecode file. insertion part by C code, char *p[n]; // pointer array for storing the address of strings int i; for(i=0;i<n;i++){ (p[i])[2] = (p[i])[2] ^ 0x27; } My questions are 1. for local variable 'char *p[n]' , it is represented by IR as alloca ...., so could I insert local variable (pointer array) directly as same way
2013 Sep 18
0
[LLVMdev] Is it safe to insert instructions in batches into BBs?
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Marcello Maggioni > Subject: [LLVMdev] Is it safe to insert instructions in batches into BBs? > Because I need to insert instructions in a certain specific order inside > multiple different BBs I found it easy to use the IRBuilder to create > instructions without inserting them into a
2011 Dec 15
1
Quota PostgreSQL INSERT trigger
...or PostgreSQL are wrong http://wiki.dovecot.org/Quota/Dict Calling INSERT on the table from within BEFORE INSERT trigger creates cascading trigger. http://www.postgresql.org/docs/current/interactive/trigger-definition.html Instead, one should return NEW record from the trigger, and it will be inserted after trigger execution. --- CREATE OR REPLACE FUNCTION merge_quota2() RETURNS TRIGGER AS $$ BEGIN IF NEW.messages < 0 OR NEW.messages IS NULL THEN -- ugly kludge: we came here from this function, really do try to insert IF NEW.messages IS NULL THEN NEW.messages = 0; ELSE...