search for: pattern

Displaying 20 results from an estimated 11772 matches for "pattern".

Did you mean: patterns
2014 Jun 06
0
Vanitygen on centos linux
...:[windows at localhost ~]$ uname -a Linux localhost.localdomain 2.6.32-431.17.1.el6.centos.plus.x86_64 #1 SMP Thu May 8 02:18:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux First error: Code:[windows at localhost vanitygen]$ make cc -ggdb -O3 -Wall -I/usr/src/redhat/BUILD/openssl-1.0.1e/include -c -o pattern.o pattern.c pattern.c:32:18: error: pcre.h: No existe el fichero o el directorio pattern.c:1604: error: expected specifier-qualifier-list before ?pcre? pattern.c: En la funci?n ?vg_regex_context_add_patterns?: pattern.c:1623: error: ?vg_regex_context_t? no tiene un miembro llamado ?vcr_nalloc? patt...
2011 Oct 28
3
Strange bug (buffer overflow) happening only under cron
...c.dirs] [sender] add_rule(- /**/*session*) [per-dir rsync.dirs] [sender] add_rule(- /.*) [per-dir rsync.dirs] [sender] add_rule(- /.*/) [per-dir rsync.dirs] [sender] add_rule(- /.**/) [per-dir rsync.dirs] [sender] add_rule(- /.cpan/) [per-dir rsync.dirs] [sender] hiding file .abbrev_defs because of pattern /Users/pedrofortunyayuso/.* [per-dir rsync.dirs] [sender] hiding file .aspell.en.prepl because of pattern /Users/pedrofortunyayuso/.* [per-dir rsync.dirs] [sender] hiding file .aspell.en.pws because of pattern /Users/pedrofortunyayuso/.* [per-dir rsync.dirs] [sender] hiding file .aspell.es.prepl be...
2002 Dec 10
2
include-exclude patterns
Hi, I just subscribe to ask you a question about patterns in exclude-include files. I just want some folders to be rsynced to a remote machine. What I tried is : IncludeFile ------------------------- /etc/ /var/lib/zope/ - /* ----------------------- result of $$ rsync -avvrn --delete --delete-excluded --include-from=/backup-include -e ssh / /backup is e...
2012 Mar 16
3
Faster way to implement this search?
I am working on a simulation where I need to count the number of matches for an arbitrary pattern in a large sequence of binomial factors. My current code is for(indx in 1:(length(bin.05)-3)) if ((bin.05[indx] == test.pattern[1]) && (bin.05[indx+1] == test.pattern[2]) && (bin.05[indx+2] == test.pattern[3])) return.values$count.match.pattern[1] = return....
2002 Nov 11
0
Regular Expression support
I have added regular expression support using a POSIX implementation. The patch (against 2.5.5) is attached. The implementation is simple and follows the same mechanism that is implemented for normal searches. I added these command line arguments: --rexclude=PATTERN exclude files matching regexp PATTERN --rexclude-from=FILE exclude regexp patterns listed in FILE --rinclude=PATTERN don?t exclude files matching regexp PATTERN --rinclude-from=FILE don?t exclude regexp patterns listed in FILE In order to follow the previous format, the followin...
1998 Nov 16
5
Solaris make for 0.63 failing
I shouldn't try to do this on Monday morning. Can anyone suggest why the make for R 0.63 is failing for me under Solaris (SunOS 5.6). Paul Gilbert ... creating src/scripts/html2dos creating tests/Makefile creating tests/Examples/Makefile creating src/include/Platform.h R is now configured for sparc-sun-solaris2.6 Source directory: . Installation directory: /usr/local C
2004 Nov 09
1
redoing error causes backup file failure on target
...lost our n-1 backed up file AccChkpt.gz for acc.4,10, and 11. Here is my syntax: b for backup and .r_bck for the backup suffix to append rsync -vvabc -e ssh --suffix=.r_bck --exclude '*.r_bck' \ --delete --delete-after ${user}@${shost}:$y $y $ grep redo * rsync0.ksh.log:redoing /pattern/acc.4/AccChkpt.gz(0) rsync0.ksh.log:redoing /pattern/acc.10/AccChkpt.gz(0) rsync0.ksh.log:redoing /pattern/acc.11/AccChkpt.gz(0) pattern/acc.6/AccChkpt.gz backed up /pattern/acc.9/AccChkpt.gz to /pattern/acc.9/AccChkpt.gz.r_bck total: matches=419 tag_hits=665438078 false_alarms=31317 data=105722...
2008 Sep 24
2
[LLVMdev] Multi-Instruction Patterns
Chris Lattner wrote: > On Sep 23, 2008, at 11:26 AM, David Greene wrote: > >> Are there any examples of using tablegen to generate multiple machine >> instructions from a single pattern? Or do these cases always have >> to be >> manually expanded? > > PPC has a bunch of examples, for example: > > // Arbitrary immediate support. Implement in terms of LIS/ORI. > def : Pat<(i32 imm:$imm), > (ORI (LIS (HI16 imm:$imm)), (LO16 imm:$imm))...
2013 Nov 06
1
Multiple String word replacements: Performance Issue
.... **Details:** I am basically - Counting how often certain words appear in one string - Write this number into a new column (COUNT) - Replace this (counted) word - Replace other words (which I don't need to count before) - Replace some regular expressions The vectors which are used as patterns look like this: "\\bWORD1\\b|\\bWORD2\\b|\\bWORD3\\b|\\bWORD4\\b..." Thus, those 'replacement vectors' are character vectors of length 1, each containing up to 800 words **Main code:** library("parallel") library("stringr") preprocessTex...
2008 Oct 07
3
vectorized sub, gsub, grep, etc.
R pattern-matching and replacement functions are vectorized: they can operate on vectors of targets. However, they can only use one pattern and replacement. Here is code to apply a different pattern and replacement for every target. My question: can it be done better? sub2 <- function(pattern, replaceme...
2016 May 04
2
ImageMagick security alert
...2016-3714 > > Mitigation: > > As a workaround the /etc/ImageMagick/policy.xml file can be edited to disable > processing of MVG, HTTPS, EPHEMERAL and MSL commands within image files, simply > add the following lines: > <policy domain="coder" rights="none" pattern="EPHEMERAL" /> > <policy domain="coder" rights="none" pattern="HTTPS" /> > <policy domain="coder" rights="none" pattern="MVG" /> > <policy domain="coder" rights="none" pattern="...
2012 Jul 06
2
Maximum number of patterns and speed in grep
Hi, I am using R's grep function to find patterns in vectors of strings. The number of patterns I would like to match is 7,700 (of different sizes). I noticed that I get an error message when I do the following: data <- array() for (j in 1:length(x)) { array[j] <- length(grep(paste(patterns[1:7700], collapse = "|"), x[j], value...
2019 Jun 30
3
TableGen GlobalISelEmitter unable to handle trivial pattern
Hi, I’m looking at some patterns which failed to import, and when I reduced them I was surprised to find a variety of complicated patterns successfully import, but the most trivial patterns I can come up with fail. If I add this pattern to test/TableGen/GlobalISelEmitter.td: def : Pat < (mul i32:$y, i32:$x), (MUL $x, $y)...
2009 Apr 06
2
[LLVMdev] ISel Pattern Preferences
What's a reliable way to prefer one patterns over another? I have two patterns with different predicates. Pattern A has a very general predicate to catch a wide variety of store instructions. Pattern B has a narrower predicate meant to catch very specific store instructions that would also satisfy the predicate for Pattern A. We used...
2002 Nov 28
1
Include / exclude patterns.
...re is my command and output... rsync -vv -e ssh --recursive --include-from=include.txt root@www-01:/ /tmp/cmolina opening connection using ssh -l root www-01 rsync --server --sender -vvr . / receiving file list ... expand file_list to 4000 bytes, did move excluding directory lost+found because of pattern /* excluding directory root because of pattern /* excluding directory boot because of pattern /* excluding directory home because of pattern /* excluding directory usr because of pattern /* excluding directory var because of pattern /* excluding file vmlinuz because of pattern /* excluding director...
2005 Feb 24
1
problem (bug?) with prelim.norm (package norm)
dear list members, there seems to be a problem with the prelim.norm function (package norm) as number of items in the dataset increases. the output of prelim.norm() is a list with different summary statistics, one of them is the missingness indicator matrix "r". it lists all patterns of missing data and a count of how often each pattern occured in the dataset. as the number of items and number of patterns increases, it seems to malfunction, as it stops after less than 200 patterns and the count for the last row/pattern equals the number of subjects minus the number of patterns...
2012 May 11
3
How to specify multiple regular expressions for pattern argument
Dear list, I want to show all the objects starting with "d" and ending with a digit. How do I specify these conditions in the pattern argument I can do one condition but not two ls(pattern='^d') ls(pattern='[[:digit:]]$') are working. But, ls(pattern='^d'&'[[:digit:]]$') is not working. Appreciate any comment. Jun Shen [[alternative HTML version deleted]]
2009 Aug 17
1
help simplifying complex graphic arguments to a function
...rawing details for each cell of the table. Prototypes of two functions, 'tableplot' and 'cellgram' are given below. The essential idea is that for a given table ('values'), the cells can be be of different 'types' (integers: 1, 2, ..., max(types)). An argument 'patterns' is a list of max(types) lists, where patterns[[k]] is presently a list of 10 graphic parameters specifying shapes, colors, fill, background color, etc. that are passed as arguments to the cellgram function. The difficulty is that it's too hard to remember the order and meaning of the ce...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
Samuel Williams <space.ship.traveller at gmail.com> writes: > Sorry for the rapid fire replies, but this configuration works for me: It "works" on the sense that it installs the headers, but removing the FILES_MATCHING clause changes the semantics of the command: the subsequent PATTERNs that controls which files are to be installesd becomes ineffective. > install(DIRECTORY include/ > DESTINATION include > # FILES_MATCHING > PATTERN "*.def" > PATTERN "*.h" > PATTERN "*.td" > PATTERN "*.inc" > PATTERN &qu...
2006 Nov 09
1
invert argument in grep
Hello, What about an `invert` argument in grep, to return elements that are *not* matching a regular expression : R> grep("pink", colors(), invert = TRUE, value = TRUE) would essentially return the same as : R> colors() [ - grep("pink", colors()) ] I'm attaching the files that I modified (against today's tarball) for that purpose. Cheers, Romain --