Displaying 7 results from an estimated 7 matches for "amatch".
Did you mean:
match
2010 Jan 07
2
Find by looping thru array
Hello all,
I''m in my third month of Ruby on Rails. I think it''s coming along
fairly well.
My current issue is this.
I''m do a search based on string data some of which is very long. So I''m
doing a similar match using "amatch" gem.
When I have a 50% or greater match I store the id to an array.
How can I do a find looping thru the array then send the query results
to a partial.
I have the following...
- projects_controller -
def search
# get list of search parameters from id sent.
list = params[:id]...
2007 Apr 25
0
Scheme extension language plugin.
...dropdown menu
0.75))) # Set to 0.75
#Following snippet shades maximized windows when you grab them.
(grab-rule # Define a window grab rule.
(make-rule # Make a rule passed to grab-rule
(if (maximizedp w) # If window maximized.
(toggle-shaded w)))) #Shade window
(define amatch (make-match "type=normal|state=sticky")) #Define a
match for sticky windows or normal windows
(bind-key "s" #Bind the key ctrl+super+s
(lambda () #Define an anonymous function to be passed to bind-key
(toggle-shaded-when #Toggle window shaded then
(lambda...
2007 Nov 17
1
crash while building index
..._ext.so
2ae180b96000-2ae180bb7000 rw-p 000a2000 fe:00
7297883 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/
lib/ferret_ext.so
2ae180bb7000-2ae180bb8000 rw-p 2ae180bb7000 00:00 0
2ae180bb8000-2ae180bbe000 r-xp 00000000 fe:00
6508818 /usr/lib/ruby/gems/1.8/gems/amatch-0.2.3/
ext/amatch.so
2ae180bbe000-2ae180dbd000 ---p 00006000 fe:00
6508818 /usr/lib/ruby/gems/1.8/gems/amatch-0.2.3/
ext/amatch.so
2ae180dbd000-2ae180dbe000 rw-p 00005000 fe:00
6508818 /usr/lib/ruby/gems/1.8/gems/amatch-0.2.3/
ext/amatch.so
2ae180dbe000-...
1997 Aug 25
0
R-alpha: `missing' BB functions
Here are the functions documented in the Blue Book that I found missing
in R (ignoring the ones which are obviously outdated).
aggregate allocated amatch axes chull clorder cutree cycle date
debugger dget discr faces interp l1fit labclust lag loglin
monthplot mstree mulbar napsack odometer persp plclust plotfit
rep.int restore rreg sabl sablplot set.seed smooth sort.list
Stable stars starsymb storage subtree symbols tempfile tslines
tsmatrix ts...
2009 Oct 26
1
[LLVMdev] RegAllocSimple doesn't work
...} else
switch (pat[n])
{
case LITCHAR: size = 2; break;
case BOL: case EOL: case ANY:
size = 1;
break;
case CCL: case NCCL:
size = pat[n + 1] + 2;
break ;
case CLOSURE:
size = CLOSIZE;
break ;
default:
Caseerror(pat[n]);
}
return size;
}
int
amatch(lin, offset, pat, j)
char* lin;
int offset;
char* pat;
int j;
{
int i, k;
bool result, done;
done = false;
while ((!done) && (pat[j] != ENDSTR))
if ((pat[j] == CLOSURE)) {
j = j + patsize(pat, j);
i = offset;
while ((!done) && (lin[i] != ENDSTR))...
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