Displaying 20 results from an estimated 20 matches for "passs".
Did you mean:
pass
2011 Jul 12
1
Creating a zero matrix when a condition doesn´t get it
...t create a matrix/data frame called "d2" if another matrix
accomplishes some restrictions "dacc2"
da2<-da1[colSums(dacc2)>9,]
da2<-da2[(da2[,13]=24),]
write.csv(da2, file =paste('hggi', i,'.csv',sep = ''))
The thing is if finally da2 cannot get/passs the filters, it cannot writte a
csv because there is no any true condition.
How can I create anyway a csv with zeros of one row and "n" columns (being n
the number of columns of da2?
I need a loop?
[[alternative HTML version deleted]]
2010 Apr 08
1
[LLVMdev] compiler-rt's arm vfp o<= implementation
...ered <= looks buggy, but maybe I'm not
reading the assembly right. This is lesf2vfp.S in compiler-rt, and it has
this code:
// extern int __lesf2vfp(float a, float b);
//
// Returns one iff a <= b and neither is NaN.
// Uses Darwin calling convention where single precision arguments are passsed
// like 32-bit ints
//
DEFINE_COMPILERRT_FUNCTION(__lesf2vfp)
fmsr s14, r0 // move from GPR 0 to float register
fmsr s15, r1 // move from GPR 1 to float register
fcmps s14, s15
fmstat
movls r0, #1 // set result register to 1 if equal
movhi r0, #0
bx lr
If I read this right, t...
2015 May 29
2
[LLVMdev] MCJit interface question
...ld.loadObject. Something like NotifyObjectPreLoaded. The LLILC-specific MemoryManager could use this hook to scan the object::ObjectFile and pass whatever it needs to the CoreCLR. This seems like a decent option to me, but I don't know if it would be considered a bad loss of encapsulation to passs out the object::ObjectFile in the state where it's been 'created' but not yet 'loaded'.
3. Similar to #2, the existing reserveAllocationSpace callback on MemoryManager could simply take an additional parameter which is the object::ObjectFile. This would be a more minimal...
2015 May 30
2
[LLVMdev] MCJit interface question
...ld.loadObject. Something like NotifyObjectPreLoaded. The LLILC-specific MemoryManager could use this hook to scan the object::ObjectFile and pass whatever it needs to the CoreCLR. This seems like a decent option to me, but I don't know if it would be considered a bad loss of encapsulation to passs out the object::ObjectFile in the state where it's been 'created' but not yet 'loaded'.
3. Similar to #2, the existing reserveAllocationSpace callback on MemoryManager could simply take an additional parameter which is the object::ObjectFile. This would be a more minimal...
2015 May 29
0
[LLVMdev] MCJit interface question
...thing like
> NotifyObjectPreLoaded. The LLILC-specific MemoryManager could use this
> hook to scan the object::ObjectFile and pass whatever it needs to the
> CoreCLR. This seems like a decent option to me, but I don't know if it
> would be considered a bad loss of encapsulation to passs out the
> object::ObjectFile in the state where it's been 'created' but not yet
> 'loaded'.
>
> 3. Similar to #2, the existing reserveAllocationSpace callback on
> MemoryManager could simply take an additional parameter which is the
> object::ObjectFile....
2010 Aug 12
0
[LLVMdev] Optimization pass questions
...unctionPass and it is designed to operate on one
function at a time. If you want to prepare the stage or collect some
information from the module (which contains all the functions) before you
modify any function using your pass then you use doInitialization hook. This
is useful because the function passs's runOnFunction only gives you access
to the function and not the module surrounding the function. Typically, if
your function pass MyFP is operating on a Module M1 with two functions F1 ad
F2 in it then execution sequence will be
MyFP->doInitialization(M1);
MyFP->runOnFunction(F1)...
2010 Apr 09
0
[LLVMdev] compiler-rt's arm vfp o<= implementation
...bly right. This is lesf2vfp.S in compiler-rt, and it has
> this code:
>
>
>
>
>
> // extern int __lesf2vfp(float a, float b);
>
> //
>
> // Returns one iff a <= b and neither is NaN.
>
> // Uses Darwin calling convention where single precision arguments are passsed
>
> // like 32-bit ints
>
> //
>
> DEFINE_COMPILERRT_FUNCTION(__lesf2vfp)
>
> fmsr s14, r0 // move from GPR 0 to float register
>
> fmsr s15, r1 // move from GPR 1 to float register
>
> fcmps s14, s15
>
> fmstat...
2007 Feb 16
0
IAX vs SIP - Getting Asterisk out of the media path
...y Authentication
required" just after the INVITE to the callee. Could that be part of the
problem? If so what's the fix? I thought it had something to do with the
"auth" parameter.
I am:
- Behind a NAT,
- Running Red Hat 9.0
- Running Asterisk 1.2.14
How do I stop the media passsing through my Asterisk server after a call
between two external parties has been bridged?
My sip.conf and the dial command I use are below.
Thanks,
Hugh
;*********************** Dial Command *******************************
exten => _6136930630,n,Dial(SIP/6137451576@6135551234)
;*************...
2003 Aug 13
1
[LLVMdev] Running a pass
...ss object;
looking at the code for 'opt' utility, it seems we need a
PassInfo object, using which we create a new pass object.
I tried the following code (which I wrote after looking at
the code for bugpoint), but the list of passes seems to be
empty:
// Create a list of all the registered passses
static cl::list<const PassInfo*, bool, PassNameParser>
PassList(cl::desc("Passes available:"), cl::ZeroOrMore);
mem2reg_pass = NULL;
for(It i = PassList.begin(); i != PassList.end(); i++) {
std::cout << (*i)->getPassName() << endl;
if(string("mem2reg&qu...
2015 Jun 04
2
[LLVMdev] MCJit interface question
...ld.loadObject. Something like NotifyObjectPreLoaded. The LLILC-specific MemoryManager could use this hook to scan the object::ObjectFile and pass whatever it needs to the CoreCLR. This seems like a decent option to me, but I don't know if it would be considered a bad loss of encapsulation to passs out the object::ObjectFile in the state where it's been 'created' but not yet 'loaded'.
3. Similar to #2, the existing reserveAllocationSpace callback on MemoryManager could simply take an additional parameter which is the object::ObjectFile. This would be a more minimal...
2015 May 30
2
[LLVMdev] MCJit interface question
...ld.loadObject. Something like NotifyObjectPreLoaded. The LLILC-specific MemoryManager could use this hook to scan the object::ObjectFile and pass whatever it needs to the CoreCLR. This seems like a decent option to me, but I don't know if it would be considered a bad loss of encapsulation to passs out the object::ObjectFile in the state where it's been 'created' but not yet 'loaded'.
3. Similar to #2, the existing reserveAllocationSpace callback on MemoryManager could simply take an additional parameter which is the object::ObjectFile. This would be a more minimal...
2010 Jun 11
2
AR after_initialize quandry
I have a case where I am abstracting the creation of models. After a
fair bit of indirection, I eventually get around to making a .new call.
I need to be able to pass params to that .new call.
I know I can''t use def initialize() in an AR model (rather frustrating).
So, I have found some references to after_initialize, but that doesn''t
work either.
I see several threads on
2015 Jun 04
2
[LLVMdev] MCJit interface question
...ld.loadObject. Something like NotifyObjectPreLoaded. The LLILC-specific MemoryManager could use this hook to scan the object::ObjectFile and pass whatever it needs to the CoreCLR. This seems like a decent option to me, but I don't know if it would be considered a bad loss of encapsulation to passs out the object::ObjectFile in the state where it's been 'created' but not yet 'loaded'.
3. Similar to #2, the existing reserveAllocationSpace callback on MemoryManager could simply take an additional parameter which is the object::ObjectFile. This would be a more minimal...
2008 Mar 20
1
Rmpi and C Code, where to get the communicator
Hello,
I try to write parts of my code in C to accelerate the for-loops. But
basic operations I want to do in R (e.g. start cluster). My R code looks
something like this:
library(Rmpi)
mpi.spawn.Rslaves()
mpi.remote.exec(....)
dyn.load("test.so")
erg <- .Call("test", ....)
....
mpi.close.Rslaves()
mpi.quit()
And my C function looks something like this:
#include
2010 Aug 11
4
[LLVMdev] Optimization pass questions
I have a whole slew of questions about optimization passes. Answers to any or all would be extremely helpful:
How important are doInitialization/doFinalization? I can't detect any difference if I use them or not. Why does the function pass manager have doInitialization/doFinalization, but the global pass manager doesn't? If I am applying the function passes to many functions, do I
2007 May 23
6
RESTful RESOURCE PARTIAL UPDATE
...gin email password validations
defined.
class users_controller
edit_email
edit_login
edit_password
update_email if update_attr save else render => edit_email
update_login if update_attr save else render => edit_login
update_password @curr_pass = params[:curr+passs] if update_attr
save else render => edit_password
end
i have made routes
edit_email_path
edit_login_path
edit_password_path
update_email_path
update_login_path
update_password_path
I can get the update_email and update_login to work if I avoid setting
password validations on update. When i...
2004 Jan 27
2
MS Word and Samba File Permissions Problem
Hello everybody!
Obviously Samba as a PDC and Fileserver for w2k clients is not as easy as I
first thought.
Soon after setup and integration in a network a problem with the shares and MS
Word appeared.
Any time a file is opened with M$ Word directly from a share and edited it
can't be saved. The M$ user gets the msg that the file is write-protected and
on the samba side the file
2007 Jun 10
1
variable scope
caveat: I haven't either read actionscript language spec nor really
got through swfdec context, frame and such. This is fully based on
blocky.swf code inspection.
thanks to flare, i can extract the below beautiful code. You don't
need to understand the whole thing but there is one thing to notice:
border[XY]start are initialized in on(press) and get used in
on(release). Currently swfdec
2010 Jun 25
3
[LLVMdev] Why code doesn't speed up much with optimization level increase?
I run large piece of code in JIT and it runs only marginallty faster
with optimization levels 1,2,3. I think differences are within the
margin or error.
level user time
0 17339ms
1 16913ms
2 16891ms
3 16898ms
Level is set with builder->setOptLevel(olev);
Compilation time is excluded by taking the only top-level function
address before the run
2009 Aug 13
4
Win98 asks for IPC$ password
...chine is
called "mydesk", and on every Linux box in the house, the following did what
they were supposed to:
smbclient -NL mydesk
smbclient //mydesk/tmp -Uslitt
I opened ports 137, 138, 139 and 445 to both udp and tcp, no change on the
Windows box. I set the firewall (temporarily) to passs all, no change on the
Windows box.
I installed Mandriva 2008.1 on an experimental machine, created a tiny Samba
with a share for /tmp, and verified that the same Windows computer could browse
the /tmp directory. I moved the smb.conf file from the mandriva 2008 box to the
Ubuntu 9.04 box, chang...