Displaying 20 results from an estimated 6191 matches for "clone's".
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.bu...
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 what it means, I just don't know how to get rid of it without
getting more complicated errors. (I trie...
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/...
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())...
2008 Jul 11
0
[LLVMdev] Cloning Functions
...vid 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 call these clones "pristine"
functions.
2. After all processing is done, clone the resulting Module (this has all of
the global data and the optimized functions). Save the ValueMap from this
operation.
3. Merge the...
2008 Jul 11
2
[LLVMdev] Cloning Functions
...s 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 call these clones
> "pristine"
> functions.
>
> 2. After all processing is done, clone the resulting Module (this
> has all of
> the global data and the optimized functions). Save the ValueMap
>...
2012 Jun 21
0
[LLVMdev] Cloning block for newbie
...r your quick answer...
>
>
> "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.clo...
2016 Aug 19
6
OT: Cloning llvm repo over low speed connection != fun
...39;m at home,
but I'm not.. and this laptop doesn't have llvm sources installed..
So real world feedback of the pita it can be..
/* Side rant - I wish I didn't even need the llvm sources. I just want
to build libcxxrt */
/* Yes I'm about to do the smarter thing and fetch a shallow clone or
try to get the tarball snapshot from github.. I did however want to
show an example of how big repo on non-corporate infrastructure can be
a challenge. I'd hate for some ambitious community dev to run into the
same thing and turn away as a result */
------------
CMake Error at CMakeLists.txt...
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
...ou 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, ...
> &...
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
Ada...
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 i...
2009 Aug 06
3
[LLVMdev] Call Graph Analysis and function cloning
I need to perform call graph analysis (after all modules are merged) to
find which function calls which, and depending on the attributes that
each function has and what functions call it, I may need to clone it and
modify some of calls to that function to call the cloned function.
Currently we are doing this in few acrobatic moves that span from an
llvm-ld pass (to do call graph analysis) all the way to AsmPrinter (to
clone the function) and eventually our in-house linker (to check for
some irregulari...
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 an...
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 snapshot 'base' and is protected. The cloned
disk is creat...
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 an...
2010 Sep 07
0
Semi-automated cloning using powershell scripts
...or 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 sysprep, so the clones end up with the same
SID, which apparently makes no difference whatsoever. These only handle
pre and post cloning actions, not the actual cloning of the
template machine. The scripts also disable/reenable Sassafras
KeyAccess, just in case any of you also use that. If not, comment out
those part...
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 viable: requires 4 arguments, but 7 were provided
extern int clone (int (*__fn) (void *__arg), void *__child_stack,
Inside sched.h, clone is...