Displaying 20 results from an estimated 300 matches similar to: "averaging two matrices whilst ignoring missing values"
2014 Feb 21
6
[LLVMdev] make check issue with llvm-cov
rkotler at mipsswbrd006-le:~/caviumllvm/build/test$ make
Making LLVM 'lit.site.cfg' file...
Making LLVM unittest 'lit.site.cfg' file...
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -s 8192 ; \
/usr/bin/python /home/rkotler/workspace/llvm/utils/lit/lit.py -s
-v . )
XPASS: LLVM :: tools/llvm-cov/llvm-cov.test (8916 of 9784)
******************** TEST
2006 Dec 14
3
Stubbing constructiors
This works:
class X
def X.initialize( stuff )
end
end
X.initialize("bla")
However stubbing it doesn,t:
require ''test/unit''
require ''stubba''
class X
def X.initialize( stuff )
end
end
class XTest < Test::Unit::TestCase
def test_
X.stubs(:initialize).with("bla")
2010 Apr 29
2
dopar parallel assignments
Hi guys,
I was wondering why this piece of code doesn't work:
foreach (i = c(1.25,1.50)) %dopar% {
assign(paste("test_",i,sep=""),i)
}
but, this does:
foreach (i = c(1.25,1.50)) %do% {
assign(paste("test_",i,sep=""),i)
}
Obviously, the difference is %dopar% vs. %do%. If I use %do%, I get
objects test_1.25 and test_1.50, but I don't get these
2008 Nov 11
3
Reading tables using a truncated name
Dear all,
I am trying to read a bunch of csv files using read.table() that are named
"test_xxxxxx.csv" where "xxxxxx" has no particular pattern. Is there a way
of reading all the files by specifying a truncated file name e.g. "test_"
with some wild card characters, or would I have to laboriously create some
vector with the "xxxxxx" names and iterate or
2011 May 07
3
record call from iax to sip
Hello List,
i need to be able to record the call transferred from iax extension to sip
extension
when i call the sip extension from the IAX extension i can record the call
without any issue
but when i receive a call from customer in IAX and i transfer this call to
SIP client
the conversation between customer and IAX client is recorded but the
conversation between customer and sip extension is
2009 Mar 06
2
pdbedit dosen't send the sambaSID to the ldap
Hi people: I have a Debian etch stable with the latests updates.
When I try to join a computer to the domain I create the
machine on the ldap and its created with the following atributes:
dn:cn=test$,ou=Machines,dc=domain,dc=org
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
uidNumber: 3123
uid: test$
cn: test$
sn: test$
gidNumber: 604
homeDirectory: /dev/null
loginShell:
2010 Sep 17
2
[LLVMdev] Emitting .zero
With LLVM 2.7, I see very inefficient emitting of zeros in .s files:
test_: # @test_
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0
[...]
.quad 4 # 0x4
.quad 4
2006 May 29
3
mtext in trellis-loop & colorkey
Hello,
I would like to create a sequence of plots (using a for loop). I read
in the FAQ that print() has to be used in order to obtain any output.
This works perfectly fine as long as I only consider one function
call in the loop, but I would like to add mtext() to the each plot in
the loop. Unfortunately, this did not work. Any suggestions?
As you can see from the provided example,
2005 Oct 08
1
add leading 0s to %d from png() {was Automatic creation of file names}
Dear useRs,
Is there a way to 'properly' format %d when plotting more than one
page on png()? 'Properly' means to me with leading 0s, so that the
PNGs become easy to navigate in a file/image browser. Lacking a better
solution I ended up using the code below, but would much prefer
something like
png("test_%d.png",bg="white",width=1000,height=700)
where %d
2018 Apr 25
2
Help on understanding assume shape array processing and array descriptors in LLVM IR
Hi,
I am trying to understand how assume shaped arrays are received and
processed in LLVM IR. I am using "flang" for my front end.
There seems to be an array descriptor received as implicit argument
for every assume shaped array.
For my test routine:
---snip--
SUBROUTINE test(a,b,Li,Lj,Istr,Iend,Jstr,Jend)
INTEGER, INTENT(IN) :: Li,Lj
INTEGER, INTENT(IN) :: Istr, Iend,
2007 Nov 18
8
helper methods starting with should
Hi all,
As an experiment in playing nice with others, we''ve added the ability
in rspec''s trunk to do this:
class ThingExamples < Spec::ExampleGroup
def should_do_stuff
...
end
end
This is how rspec 0.1 worked, and for people already comfortable with
the classes/methods approach of Test::Unit, it is a more comfortable
entry point to rspec.
For others, however, it
2016 Jun 18
2
Facing problems with tests
Hello devs,
I am currently facing a minor issue when writing tests, which I'm not able
to overcome.
I've written my test cases using the DEFINE_TESTCASE macro and there are no
errors while running a make check.
But when I run a make check, it shows me these warnings:
In file included from apitest.h:26:0,
from api_cluster.cc:7:
api_cluster.cc: In function ?bool
2006 Jun 23
1
Best practices in test logging
Hi!
My test suites are growing rapidly. Sometimes it is really hard to find
meningful test output in long and bloated test.log.
Do you have any advices or best practices when it comes to logging in
tests?
So far I have been using following policy:
1. Log test name in every test_* method
I have a method that puts coloured test name in the log. The problem
is that
I have to invoke this
2003 Apr 15
1
Building R package.
Hi!
I am trying to build a package which calls an c function. It compiles
it and installs it. But if i run R CMD check test_
the last output are:
* checking examples ... ERROR
Running examples failed. x<-1:10
and in the test-Ex.out file i find:
> test(x)
Error in .C("mytest", as.double(x), as.integer(lengthx)) :
C/Fortran function name not in load table Execution halte
2013 Aug 13
1
(no subject)
hello list,
i have asterisk 1.4 installed i use MixMonitor to record all the inboud
calls with the code below my question how can i do to save alse the sip
extenssion 223
exten => 529,1,Answer()
exten => 529,n,MixMonitor(test_${UNIQUEID}.wav|av(0)V(0))
exten => 529,n,Dial(SIP/223)
exten => 529,n,Hangup()
thanks and regards
-------------- next part --------------
An HTML attachment
2007 Sep 05
4
False Positives and Autotest on New Folders
False Positives
I just discovered how easy it was to create a false positive when I, trying
my first RSpec test, did this:
ob.should eql?(''foo'')
instead of:
ob.should eql(''foo'')
or:
ob.should == ''foo''
As far as I can see, this is roughly equivalent to:
ob.should false
Neither eql?(''foo'') nor false causes the spec
2004 Sep 10
5
1.0 source candidate
I rethought it and it seemed like a bad idea to post
a big file, so you can get it here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/flac/junk/flac-1.0-src-candidate.tar.bz2
Josh
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
2018 Apr 25
0
Help on understanding assume shape array processing and array descriptors in LLVM IR
Hello,
I believe these descriptors are specific to flang, not to LLVM. You should probably ask your question on flang-dev list.
Thank you,
--Eugene
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Venkataramanan Kumar via llvm-dev
Sent: Wednesday, April 25, 2018 8:44 AM
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] Help on understanding assume shape array
2001 Dec 07
2
Memory problem
Dear all,
I have written a little R program to convert images. See below. Within the
loop over j (the filenames) memory consumption grows constantly. rm( ... )
inside the loop did not help. Memory does not grow if I remove the writeBin
statements between the two #-------- marks. But obviously this is not
solution I want...
Thanks for any advice.
Manfred Baumstark
P.S. As I'm new to R:
2004 Sep 10
4
1.0 source candidate
--- Matt Zimmerman <mdz@debian.org> wrote:
> On Fri, Jul 20, 2001 at 05:15:21PM -0700, Josh Coalson wrote:
>
> > I rethought it and it seemed like a bad idea to post
> > a big file, so you can get it here:
> >
> >
>
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/flac/junk/flac-1.0-src-candidate.tar.bz2
>
> With the attached patch, a complete