search for: cloning

Displaying 20 results from an estimated 6152 matches for "cloning".

2007 Sep 10
2
Removing an AR class definition, for testing plugins
I''m writing an acts_as_* plugin and am trying to BDD it. Ideally my specs would look like: describe ActsAsCloneable, " basic cloning" do load_example_classes School.class_eval do acts_as_cloneable end before(:each) do @old_school = School.create! :name => "Baylake Pines", :city => "Virginia Beach", :guid => "abc123" @clone = @old_school.build_clone end it &quo...
2012 Jun 21
3
[LLVMdev] Cloning block for newbie
Hello everybody. I'm quite new to LLVM and I'm encontering problems with cloning basic blocks. My two basic blocks are in the same function and it doesn't really matter how the cloned one behave for the moment. Of course, to do so, I used the cloning.h 's method "CloneBasicBlock" but I have the "Instruction does not dominate all uses!" error. I know...
2009 Feb 22
3
Error in var(x, na.rm = na.rm) : no complete element pairs
Hello all, I'm trying to calculate the standar desviation and I'm using the function sd(x,na.rm=TRUE) and I have this error:? Error in var(x, na.rm = na.rm) : no complete element pairs . Why happen this?, What can I do to solve it?. x is list of three numbers which I have from a table. Thanks so much from Spain Carlos Morales Diego
2012 Jul 11
1
I can't virt-clone into an existing LVM now (ERROR: clone onto existing storage volume is not supported:) - i could in previous lbvirt versions? (deployment scripts no longer work...)
Hi To deploy KVM vms I use a KVM template + script - which is cloned, then cloned again and resized - using virt-resize. i.e ---------------------------------------------------- virt-clone --original debian6template-DONTSTART --name NAME.test -f /dev/vgpool/NAME.test virsh vol-create-as vgpool NAME 8G virt-clone --original NAME.test --name NAME -f /dev/vgpool/NAME virt-resize --expand
2005 Nov 22
3
[LLVMdev] Cloning BasicBlock
Hi , I am trying to clone a BasicBlock. I want both to co-exist and I have introduced a conditional branch to the original or the cloned BB. I tried mapping the original instruction and the clone as below : Instruction *NewInst = II->clone(); if (II->hasName()) NewInst->setName(II->getName()); NewBB->getInstList().push_back(NewInst); ValueMap[II] =
2008 Jul 11
0
[LLVMdev] Cloning Functions
On Wednesday 09 July 2008 13:49, David Greene wrote: > > then it seems you're doing > > > > for each function > > generate_ir > > convert_to_llvm_ir > > optimize_llvm_ir > > Yep. Ok, I've mostly got a mechanism to do what I want: 1. As each function comes in for op/codegen, clone it and save off the clone and its associated ValueMap (I
2008 Jul 11
2
[LLVMdev] Cloning Functions
On Jul 11, 2008, at 9:59 AM, David Greene wrote: > On Wednesday 09 July 2008 13:49, David Greene wrote: > >>> then it seems you're doing >>> >>> for each function >>> generate_ir >>> convert_to_llvm_ir >>> optimize_llvm_ir >> >> Yep. > > Ok, I've mostly got a mechanism to do what I want: > > 1. As
2012 Jun 21
0
[LLVMdev] Cloning block for newbie
..."You can loop over the instruction's operands to see if they are > contained in VMap" > > I have no clue of to do that, do you have an example ? > > > > 2012/6/21 Michael Ilseman <michael at lunarg.com> >> >> CloneBasicBlock does a fairly shallow cloning; the instructions >> themselves are cloned but their operands are not replaced with any >> previously cloned values. >> >> Example: >> orig: >>  %a = ... >>  %b = fadd %a, ... >> >> clone: >>  %a.clone = ... >>  %b.clone = fadd %a, ....
2016 Aug 19
6
OT: Cloning llvm repo over low speed connection != fun
..._PATH=path/to/llvm-source-root. -- Configuring incomplete, errors occurred! See also "/usr/local/src/libcxxabi/build/CMakeFiles/CMakeOutput.log". asura at asura-X3:/usr/local/src/libcxxabi/build$ cd ../.. asura at asura-X3:/usr/local/src$ git clone git at github.com:llvm-mirror/llvm.git Cloning into 'llvm'... remote: Counting objects: 1228082, done. remote: Compressing objects: 100% (245/245), done. Receiving objects: 13% (167280/1228082), 68.86 MiB | 20.00 KiB/s ^Cfatal: The remote end hung up unexpectedly asura at asura-X3:/usr/local/src$ rm -rf llv^C asura at asura-X3:/usr/l...
2006 Aug 16
4
New Model Object from Existing Model Object
Hey Guys, need a hand again.... Lets say I have an Order... and an Order has Order Lines and Order_Lines have Items... I want to create a New Order, which would have New Order Lines with the same Items... Is there a fast / easy way to do this, w/o having to create a new order, loop through all the order lines, and create them associating them with the Items? Any help would be great, thanks --
2012 Jun 22
1
[LLVMdev] Cloning block for newbie
...operands to see if they are > > contained in VMap" > > > > I have no clue of to do that, do you have an example ? > > > > > > > > 2012/6/21 Michael Ilseman <michael at lunarg.com> > >> > >> CloneBasicBlock does a fairly shallow cloning; the instructions > >> themselves are cloned but their operands are not replaced with any > >> previously cloned values. > >> > >> Example: > >> orig: > >> %a = ... > >> %b = fadd %a, ... > >> > >> clone: > >&g...
2014 Sep 16
3
unattended cloning
Morning, I have a KVM guest running Win 2012 with MS SQL 2012. In order to provide a quick method of restoring the service should the live server die, we've decided to clone it to a preserved state. Ideally, this clone should also be kept up to date and cloning should be done on a regular basis. Is there any reason not to do unattended cloning? As in, when I leave on a Friday afternoon, start a script to clone the guest and auto start the live guest? Thanks Adam King IT Systems Administrator
2008 Jul 09
2
[LLVMdev] Cloning Functions
On Wednesday 09 July 2008 13:24, Devang Patel wrote: > Is it possible to explain intended use of original unoptimized version ? bugpoint. I want to run it on the IR produced by our frontend. This will help us generate new LLVM tests we can send upstream. We've fixed bugs that aren't caught by the upstream tests and it would be nice to capture the problem and make the test
2011 Apr 26
2
virt-clone: clone not bootable
Hi, Not sure if this is the right mailing list, but... I have a Linux VM (CentOS 5.4) VM. ?I cloned it with virt-clone, but the clone isn't bootable. ?When I attempt to boot it says: ? Booting from hard diskBoot failed: not a bootable diskFATAL: No bootable device The clone was made with the following command: virt-clone -o centos -n centosclone -f /path/to/new/image.img I've attempted it
2009 Aug 06
3
[LLVMdev] Call Graph Analysis and function cloning
...k for some irregularities). But I don't like it at all and I'm sure we will run into problems later. So I would like to see if anybody has a better answer for us. I guess the most important question is how best (if possible) can I clone a function before or during codegen. Currently we are cloning the function in AsmPrinter but it does not look good to me. Any thoughts? Alireza Moshtaghi Senior Software Engineer Development Systems, Microchip Technology
2012 Jan 03
6
turning off udev for eth0
I have set up a kvm host and configured a standard clone prototype for generating new guests. One persistent (pun intended) annoyance when cloning is the behaviour of udev with respect to the virtual network interface. The prototype is configured with just eth0 having a dedicated IP addr. When the prototype is cloned udev creates rules for both eth0 and eth1 in the clone. Because eth1 does not exist in the cloned guest one has to manually...
2019 Apr 26
2
Libvirt pool cannot see or create rbd clones
Hello everyone, To increase my odds of finding an answer I also wanted to ask here. This is my post from serverfault[1] in verbatim: While trying to get a cloned disk running from my OS snapshot I run into the problem that Libvirt cannot see existing images cloned from a snapshot. Created via: # rbd -p vmdisks clone vmdisks/coreos_2023@base vmdisks/coreos00.disk The base image has the one
2012 Jan 03
6
turning off udev for eth0
I have set up a kvm host and configured a standard clone prototype for generating new guests. One persistent (pun intended) annoyance when cloning is the behaviour of udev with respect to the virtual network interface. The prototype is configured with just eth0 having a dedicated IP addr. When the prototype is cloned udev creates rules for both eth0 and eth1 in the clone. Because eth1 does not exist in the cloned guest one has to manually...
2010 Sep 07
0
Semi-automated cloning using powershell scripts
Just in case anybody else ever needs these, here are my semi-automated powershell cloning scripts for Windows domain clients for Samba domain servers. ftp://saf.bio.caltech.edu/pub/software/windows/Cloning.zip They are not very polished, but do what I need, and could serve as a starting point for other sites. These have been tested only on XP SP3. These scripts do not use syspre...
2013 Jul 09
2
[LLVMdev] Error building compiler-rt
Hi, I get the following error while building compiler-rt: /slowfs/msret_s1_us03/ajost/src/llvm-3.3.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux.cc:315:22: error: no matching function for call to 'clone' pid_t tracer_pid = clone(TracerThread, tracer_stack.Bottom(), ^~~~~ /usr/include/bits/sched.h:71:12: note: candidate function not