Displaying 20 results from an estimated 70 matches for "test_s".
Did you mean:
test's
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
2011 Dec 28
2
Gale-Shapley Algorithm for R
...,value=TRUE){
s <- sort(x, index.return=TRUE)
if(value==TRUE){s$x[n]} else{s$ix[n]}}
# 2:
max.n <- function(x,n,value=TRUE){
s <- sort(x, decreasing=TRUE, index.return=TRUE)
if(value==TRUE){s$x[n]} else{s$ix[n]}}
#############################################################
s <- NULL
test_s <-NULL
loop <- 2 # O loop ? necess?rio a partir do 2.
step.1 <- matrix(0,ncol=n, nrow=m)
step.2 <- matrix(0,ncol=n, nrow=m)
store <- NULL
r <- NULL
# Men proposing first:
if (first==1)
{
step.1 <- matrix(0,ncol=n, nrow=m)
for (i in 1:n)
{
step.1[i,][pr...
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
2009 Jul 14
2
averaging two matrices whilst ignoring missing values
Hi folks,
I'm trying to do something that seems like it should easy, but it apparently isn't. I have two large matrices, both containing a number of missing values at different cells. I would like to average these matrices, but the NAs are preventing me. I get a "non-numeric argument to binary operator" error. That's the first problem.
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
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
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
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
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
2007 Jun 13
0
Using Rcov with rspec_on_rails
Running the defualt task which comes with rspec gives me the following:
=======================================================
euclid% rake spec:rcov
(in /Users/smtlaissezfaire/Sites/rails/changelog)
................................*..*..*...................*.............
...................................
Finished in 5.751487 seconds
107 examples, 0 failures, 4 not implemented
No file to
2007 May 17
0
strange results when using rcov with rspec
I have some specs tucked away inside my vendor/plugins directory that
I want to run when I run rake spec.
I''ve got the rake task working just fine, but for some reason rcov
seems to choke when I try to tweak the included/excluded files to
ignore any files in app/ but to include files in vendor/plugins/
plugin/app/**
The error I get is this:
No file to analyze was found. All the
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:
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,
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,
2010 Sep 17
0
[LLVMdev] Emitting .zero
On Sep 16, 2010, at 5:12 PM, David Greene wrote:
> 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
>
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 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