search for: pat

Displaying 20 results from an estimated 2814 matches for "pat".

Did you mean: at
2009 Oct 26
1
[LLVMdev] RegAllocSimple doesn't work
...e? Susan Horwitz -------------- next part -------------- /* -*- Last-Edit: Mon Dec 7 10:31:51 1992 by Tarak S. Goradia; -*- */ extern void exit(); # include <stdio.h> void Caseerror(); typedef char bool; # define false 0 # define true 1 # define NULL 0 # define MAXSTR 100 # define MAXPAT MAXSTR # define ENDSTR '\0' # define ESCAPE '@' # define CLOSURE '*' # define BOL '%' # define EOL '$' # define ANY '?' # define CCL '[' # define CCLEND ']' # define NEGATE '^' # define NCCL '!'...
2009 Nov 03
1
[LLVMdev] Pat<> & tlbgen
Can someone explain the magic behind the Pat<> construct and tblgen. >From X86InstrSSE.td: def : Pat<(v4f32 (vector_shuffle VR128:$src, (undef), MOVDDUP_shuffle_mask)), (MOVLHPSrr VR128:$src, VR128:$src)>, Requires<[HasSSE1]>; Where's the code in tblgen to emit the matching code for this? I'm trying...
2009 Oct 22
0
[LLVMdev] request for help writing a register allocator
Hi Susan, > But this doesn't seem to be happening; the stores to memory are there but > the loads are not. > > Any ideas what's going wrong? Are you using VirtRegMap::addSpillPoint and VirtRegMap::addRestorePoint ? If not you may need to add calls to them to let the rewriter know where to insert the loads/stores. > If not, any advice on how to generate the loads
2009 Oct 22
4
[LLVMdev] request for help writing a register allocator
I found the problem! My generated code is spilling correctly but is not reloading at all. For example, if the original code has the equivalent of this (where %1024 is a virtual reg): %1024 = xxx ... yyy = %1024 and I find no physical register for %1024, then I assign it to physical register %edi and to a stackslot. That creates code like this: %edi = xxx store from %edi to the
2006 Mar 25
7
Regexp subexpression
..., but only if they are in sequence. Do I really have to use the sub twice, first extracting the first variable, then the second? The third example should return nothing, because it's inverted, but it returns the whole string. I know I could check that separately, but is there no better way? patid=c("ALAN334","AzD44","44AZD") txt =sub("([[:alpha:]]+)([[:digit:]])+","\\1",patid) num =sub("([[:alpha:]]+)([[:digit:]])+","\\2",patid) It would be nice if the following data frame would be returned: txt num ALAN 33...
2009 Sep 16
2
Teasing out logrank differences *between* groups using survdiff or something else?
...h we are not very familiar, we just happen to have gathered some data that needs this type of analysis. We've done quite a bit of reading, but answers escape us, even though the question below seems simple. Considering the following example from ?survdiff: > survdiff(Surv(time, status) ~ pat.karno, data=lung) Call: survdiff(formula = Surv(time, status) ~ pat.karno, data = lung) n=225, 3 observations deleted due to missingness. N Observed Expected (O-E)^2/E (O-E)^2/V pat.karno=30 2 1 0.658 0.1774 0.179 pat.karno=40 2 1 1.337 0.0847...
2007 Nov 08
0
error on migration
Hi all, I''m just getting started with rspec. I''m using trunk rspec with edge rails. I get an error on migration though, here it is: rake db:migrate RAILS_ENV="test" --trace (in /home/pat/railsapp) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `failure_message'' for class `Spec::Matchers::Have'' /home/pat/railsapp/vendor/plugins/rspec_on_rails/lib/spec/matchers/have.rb:4:in `alias_method'...
2007 Jul 27
6
polycom custom ring tones (slightly OT)
Hi all, Has anyone made up custom ring tones for the Polycom SIP phones? We use different rings for different lines, but the ones it comes with are all very similar. In the interesting of sharing, here's one I made up for paging: <PAGE_BEEP se.pat.ringer.13.name="Page Beep" se.pat.ringer.13.inst.1.type="chord" se.pat.ringer.13.inst.1.value="12" se.pat.ringer.13.inst.1.param="200" se.pat.ringer.13.inst.2.type="chord" se.pat.ringer.13.inst.2.value="15" se.pat.ringer.13.inst.2.param=&q...
2006 Dec 20
16
Edge RSpec on Rails...what did I forget?
...332 vendor/plugins/rspec_on_rails (svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails/vendor/plugins/rspec_on_rails) - 1332 Generated the rspec file, created a model...the spec runs fine if I do ruby spec/models/foo_spec.rb. Running rake though gives me the Your RSpec on Rails plugin is incompatible with your installed RSpec. RSpec : 0.7.5 (r1330) RSpec on Rails : r1332 error. So apparently it''s looking at the gem rspec instead of the one I installed in my plugins folder. I''ve got an existing Rails app that uses edge RSpec, so I updated it to see if it broke,...
2008 Jul 23
6
Convert list of lists <--> data frame
For a function that takes an argument as a list of lists of parameters, I'd like to be able to convert that to a data.frame and vice versa, but can't quite figure out how. pats <- list(structure(list(shape = 0, shape.col = "black", shape.lty = 1, cell.fill = "white", back.fill = "white", label = 1, label.size = 1, ref.col = "gray80", ref.grid = "yes", scale.max = 100), .Names = c("shape", "shape...
2012 Apr 02
6
[PATCH 0 of 3] Patches for Xen 4.2 (v2).
Patches that were posted last week - with review comments addressed.
2007 Sep 03
6
blog post on story runner
Here''s an excellent blog post on Story Runner, which will be part of the next release and is undergoing active development in trunk: http://evang.eli.st/blog/2007/9/1/user-stories-with-rspec-s-story-runner
2017 Jun 02
2
Slow write times to gluster disk
Are you sure using conv=sync is what you want? I normally use conv=fdatasync, I'll look up the difference between the two and see if it affects your test. -b ----- Original Message ----- > From: "Pat Haley" <phaley at mit.edu> > To: "Pranith Kumar Karampuri" <pkarampu at redhat.com> > Cc: "Ravishankar N" <ravishankar at redhat.com>, gluster-users at gluster.org, "Steve Postma" <SPostma at ztechnet.com>, "Ben > Turner"...
2008 Sep 30
5
Error message when running an install.exe
In a terminal, I try to run an install program "swb32c100.exe" ie: [pat at pat .wine]swb32v100.exe I see a progress window (horizonal progress bar) for a split second, then it goes away and I get the error message: Usage: Install a product: msiexec {package|productcode} [property] msiexec /i {package|productcode} [property] msiexec /a package [proper...
2006 Jan 29
16
counting rows via associations
Hi: I have a table called clients and each client has many lists (a has_many and belongs_to has been created in the class. What I need to do is get a count of the rows in each list for each client. I was hoping I could do something like client.lists.count but it does not seem to work. Any suggestions? bruce
2017 Jun 12
0
Slow write times to gluster disk
...g to our gluster disks, it was taking over a day to do a single time step whereas if I had the same program (same hardware, network) write to our nfs disk the time per time-step was about 45 minutes. What we are shooting for here would be to have similar times to either gluster of nfs. Thanks Pat On 06/02/2017 01:07 AM, Ben Turner wrote: > Are you sure using conv=sync is what you want? I normally use conv=fdatasync, I'll look up the difference between the two and see if it affects your test. > > > -b > > ----- Original Message ----- >> From: "Pat Haley&qu...
2013 Apr 07
1
[LLVMdev] Pat operands matching example in ppc
...Parker <S.Parker3 at lboro.ac.uk> wrote: > Hi Anitha, > > memri is just describing that the address contains two components, an > immediate and a register, and how to handle them in the instruction printer. > The STWU expects a memri operand, and that is what is passed from the Pat. > My confusion is how operands of STWU from "Pat pre_store" get matched with those of memri. It is defined with operand types as: let MIOperandInfo = (ops dispRI:$imm, ptr_rc_nor0:$reg); while Pat is defined as: def : Pat<(pre_store i32:$rS, iPTR:$ptrreg, iaddroff:$ptroff),...
2012 Jul 25
2
[LLVMdev] Purpose of MSP430Wrapper
...in MSP430ISelLowering.cpp that >> >> ISD::GlobalAddress: >> ISD::BlockAddress: >> ISD::ExternalSymbol >> >> all get lowered to MSP430ISD::Wrapper(address space) plus the wrapped >> address node. >> >> What has me mystified is that in some of the patterns in >> MSP430InstrInfo.td take the form >> >> def : Pat<(i16 (MSP430Wrapper tglobaladdr:$dst)), (MOV16ri >> tglobaladdr:$dst)>; >> >> and others ... >> >> def : Pat<(MSP430call (i16 tglobaladdr:$dst)), (CALLi tglobaladdr:$dst)>; >&g...
2010 Jun 13
1
ERROR need finite 'ylim' values
...and text columns, named dt. The table is imported through read.csv from a csv file. Row numbers are automatically assigned, header is set to TRUE. there are 599 rows and several columns. I am trying to plot using the stripchart command: one numeric variable (say dt$fnatg) vs a text column (say dt$pat). dt$pat contains one of 3 values: "pos", "neg", "" So I issue the following command: >stripchart (dt$fnatg~dt$pat) and works well. it works well also with several options and nuances: >stripchart (dt$fnatg ~ dt$pat, method ="jitter", jitter = 0.3,...
2007 Nov 09
26
RSpec on Rails 2.0
I have a project on edge rails that I''m trying to convert from Test:Unit to rspec. I have the rspec gem version 2338, the rspec and rsepc_on_rails version 2831 in vendor/plugins, and rails version 8117 in vendor/rails. I''ve been able to get a few specs passing, have gotten the specs running from autotest, and am able to do "rake spec:doc" and get the basic command