search for: newfn

Displaying 20 results from an estimated 20 matches for "newfn".

Did you mean: newfs
2015 Mar 05
3
Performance issue in stats:::weighted.mean.default method
...chmark) x <- sample(500,5000,replace=TRUE) w <- sample(1000,5000,replace=TRUE)/1000 * ifelse((sample(10,5000,replace=TRUE) -1) > 0, 1, 0) fun.new <- function(x,w) {sum(x*w)/sum(w)} fun.orig <- function(x,w) {sum(x*w[w!=0])/sum(w)} print(microbenchmark( ORIGFN = fun.orig(x,w), NEWFN = fun.new(x,w), times = 1000)) #results: #Unit: microseconds # expr min lq mean median uq max neval # ORIGFN 190.889 194.6590 210.08952 198.847 202.928 1779.789 1000 # NEWFN 20.857 21.7175 24.61149 22.080 22.594 1744.014 1000 So my suggestion is to remov...
2013 May 15
1
[LLVMdev] Attributes & CloneFunctionInto
Hi John, thanks for the pointer. However, I'd rather avoid rolling a custom implementation. After all, it's not like I want to do something drastically different... I had sorted out the problem for 3.2 as well as a previous version of 3.3 trunk, but the API changed about a hundred times. Now as it apparently has stabilized, I moved to a the 3.3 release branch just to find that even
2011 Aug 31
0
[LLVMdev] [PATCH] Split init.trampoline into init.trampoline & adjust.trampoline
...sitCallSite - Improvements for call and invoke instructions. > // > Instruction *InstCombiner::visitCallSite(CallSite CS) { > --- a/lib/VMCore/AutoUpgrade.cpp > +++ b/lib/VMCore/AutoUpgrade.cpp > @@ -43,6 +43,32 @@ static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { > > switch (Name[0]) { > default: break; > + case 'i': > + // This upgrades the old llvm.init.trampoline to the new > + // llvm.init.trampoline and llvm.adjust.trampoline pair. > + if (Name == "init.trampoline") { > + Type *ReturnT...
2011 Aug 29
3
[LLVMdev] [PATCH] Split init.trampoline into init.trampoline & adjust.trampoline
Hi! Attached patches split init.trampoline into adjust.trampoline and init.trampoline, like in gcc. As mentioned in the previous mail, I've not made a documentation patch, since I'm not sure about what the documented semantics of llvm.adjust.trampoline should be. Thanks! -- Sanjoy Das http://playingwithpointers.com -------------- next part -------------- A non-text attachment was
2015 Mar 05
0
Performance issue in stats:::weighted.mean.default method
...place=TRUE) > w <- sample(1000,5000,replace=TRUE)/1000 * > ifelse((sample(10,5000,replace=TRUE) -1) > 0, 1, 0) > fun.new <- function(x,w) {sum(x*w)/sum(w)} > fun.orig <- function(x,w) {sum(x*w[w!=0])/sum(w)} > print(microbenchmark( > ORIGFN = fun.orig(x,w), > NEWFN = fun.new(x,w), > times = 1000)) > > #results: > #Unit: microseconds > # expr min lq mean median uq max neval > # ORIGFN 190.889 194.6590 210.08952 198.847 202.928 1779.789 1000 > # NEWFN 20.857 21.7175 24.61149 22.080 22.594 1744.014 100...
2019 Oct 05
2
Emulated TPM doesn't work on Debian Buster
...ger/virtManager/asyncjob.py", line 75, in cb_wrapper ??? callback(asyncjob, *args, **kwargs) ? File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb ??? callback(*args, **kwargs) ? File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn ??? ret = fn(self, *args, **kwargs) ? File "/usr/share/virt-manager/virtManager/domain.py", line 1400, in startup ??? self._backend.create() ? File "/usr/lib/python3/dist-packages/libvirt.py", line 1080, in create ??? if ret == -1: raise libvirtError ('virDomainCreate() fail...
2016 Nov 16
1
BroadCom NIC not adding as PassThrough device
...virtManager/asyncjob.py", line 88, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 124, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1404, in startup self._backend.create() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1035, in create if ret == -1: raise libvirtError ('virDomainCrea...
2019 Mar 15
2
Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
...ger/virtManager/asyncjob.py", line 90, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 126, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1402, in startup self._backend.create() File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1035, in create if ret == -1: raise libvirtError ('virDomainCreate() fa...
2017 Jun 26
0
Configuring VMM for USB/Serial
...irt-manager/virtManager/asyncjob.py", line 90, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 126, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1378, in reboot self._backend.reboot(0) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2024, in reboot if ret == -1: raise libvirtError ('virDomainReboot() failed',...
2019 Aug 20
0
Re: Starting VM fails with: "Setting different DAC user or group on /path... which is already in use" after upgrading to libvirt 5.6.0-1
...5, in > cb_wrapper > callback(asyncjob, *args, **kwargs) > File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb > callback(*args, **kwargs) > File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line > 66, in newfn > ret = fn(self, *args, **kwargs) > File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, > in startup > self._backend.create() > File "/usr/lib64/python3.7/site-packages/libvirt.py", line 1089, in create > if ret == -1: r...
2019 Oct 07
0
Re: Emulated TPM doesn't work on Debian Buster
....py", line 75, in >cb_wrapper >    callback(asyncjob, *args, **kwargs) >  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb >    callback(*args, **kwargs) >  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, >in newfn >    ret = fn(self, *args, **kwargs) >  File "/usr/share/virt-manager/virtManager/domain.py", line 1400, in >startup >    self._backend.create() >  File "/usr/lib/python3/dist-packages/libvirt.py", line 1080, in create >    if ret == -1: raise libvirtError (...
2020 Mar 05
0
Guests automatically stuck on pause
...tManager/asyncjob.py", line 75, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/object/domain.py", line 1311, in resume self._backend.resume() File "/usr/lib/python3/dist-packages/libvirt.py", line 2174, in resume if ret == -1: raise libvirtError ('virDomainResume(...
2006 Oct 03
1
developing a package with a name space
Hello - I'm currently maintaining an R package that uses a name space, and am also starting a new R package that will use a name space. According the the R News June 2003 issue, "Adding a name space to a package may complicate debugging code ... it is a good idea not to add a name space to a package until it is completely debugged, and to remove the name space if further debugging
2019 Aug 19
2
Starting VM fails with: "Setting different DAC user or group on /path... which is already in use" after upgrading to libvirt 5.6.0-1
...tManager/asyncjob.py", line 75, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup self._backend.create() File "/usr/lib64/python3.7/site-packages/libvirt.py", line 1089, in create if ret == -1: raise libvirtError ('virDomainCr...
2002 Oct 05
6
Problems with installing
...../../win32/kernel32.o ../../win32/kernel32.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_NTSYSTEM_ -DBINDIR="\"/usr/local/bin\"" -DETCDIR="\"/usr/local/etc\"" -D_REENTRANT -o ../../win32/newfns.o ../../win32/newfns.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_NTSYSTEM_ -DBINDIR="\"/usr/local/bin\"" -DETCDIR="\"/usr/local/etc\"" -D_REENTRANT -o ../../win32/time.o ../../win32/ti...
2020 May 15
2
Firmware auto-select limitation
...tManager/asyncjob.py", line 75, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup self._backend.create() File "/usr/lib/python3/dist-packages/libvirt.py", line 1080, in create if ret == -1: raise libvirtError ('virDomainCreate...
2019 Mar 26
0
Re: Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
...) > >    File "/usr/share/virt-manager/virtManager/asyncjob.py", line > 126, in > > tmpcb > >      callback(*args, **kwargs) > >    File "/usr/share/virt-manager/virtManager/libvirtobject.py", > line 83, > > in newfn > >      ret = fn(self, *args, **kwargs) > >    File "/usr/share/virt-manager/virtManager/domain.py", line > 1402, in > > startup > >      self._backend.create() > >    File "/usr/lib/python2.7/dist-packages/libvirt.py&quo...
2011 May 26
0
[LLVMdev] x86 SSE4.2 CRC32 intrinsics renamed
...ade.cpp Thu May 26 18:13:19 2011 > @@ -285,7 +285,33 @@ > } > > break; > - case 'x': > + case 'x': > + // This fixes the poorly named crc32 intrinsics > + if (Name.compare(5, 13, "x86.sse42.crc", 13) == 0) { > + const char* NewFnName = NULL; > + if (Name.compare(18, 2, "32", 2) == 0) { > + if (Name.compare(20, 2, ".8") == 0) { > + NewFnName = "llvm.x86.sse42.crc32.32.8"; > + } else if (Name.compare(20, 2, ".16") == 0) { > + NewFnName...
2017 Oct 03
2
Re: error: internal error: missing backend for pool type 11 (zfs)
@Michal: Thanks for your reply! Indeed I have found a package in the AUR (libvirt-zfs) and only had to change to the current version and add zfs-utils as dependency in the PKGBUILD. Now I don't get the previous error anymore but I still cannot setup a VM because I constantly get errors due to wrong permissions. I have tried to change the permissions in: - /etc/libvirt/qemu.conf -
2017 Oct 03
2
Re: error: internal error: missing backend for pool type 11 (zfs)
...Manager/asyncjob.py", line 89, in cb_wrapper* * callback(asyncjob, *args, **kwargs)* * File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb* * callback(*args, **kwargs)* * File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 82, in newfn* * ret = fn(self, *args, **kwargs)* * File "/usr/share/virt-manager/virtManager/domain.py", line 1505, in startup* * self._backend.create()* * File "/usr/lib/python2.7/site-packages/libvirt.py", line 1062, in create* * if ret == -1: raise libvirtError ('virDomainC...