search for: patterns

Displaying 20 results from an estimated 11822 matches for "patterns".

2014 Jun 06
0
Vanitygen on centos linux
...t 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? pattern.c:1625: error: ?vg_regex_context_t? no tiene un miembro llamado ?vcr_nalloc? pattern.c:1626: error: ?vg_regex_context_t? no tiene un miembro llamado ?vcr_nalloc? pattern.c:1636: error: ?vg_regex_context_t...
2011 Oct 28
3
Strange bug (buffer overflow) happening only under cron
Hi, I am running OS X Snow Leopard on the 'sender' side and Linux (2.6.32, possibly fedora but unsure) on the 'receiver' side. Both with rsync 3.0.9. If I run the following command from the command line: /usr/local/bin/rsync -av -e "ssh -i \ /Users/pedrofortunyayuso/.ssh/backup_pfortuny_net" \ --filter ': rsync.dirs' ~/ pfortuny at
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 ex...
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] =
2002 Nov 11
0
Regular Expression support
...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 following will also work: --include "+R PATTERN" --include "-R PATTERN" etc.....
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
It looks like rsync 2.5.4 vs 26 has a bug when the target file is backed up with a suffix. For a large 1 GB file transfer, an error "redoing" appeared in the debug. In other words, when you see redoing in your debug expect the backup not to have worked correctly. I didn't see this problem btwn naxpap01 and rwxp25l1 just btwn rwxp25l1 and naxp18l1. I'm pulling the code from
2008 Sep 24
2
[LLVMdev] Multi-Instruction Patterns
...e the above in form, but how do I tell the selection DAG to prefer my pattern over another that already exists. I can't easily just disable that other pattern because it generates Machine Instruction opcode enums that are assumed to be available in other parts of the x86 codegen. So given two patterns that match the same thing, what's the tiebreaker? I thought it was order in the .td file but that doesn't appear to be the case. I put my pattern first and it isn't selected. I change the other pattern slightly so it won't match anything and then my pattern gets used (so I know m...
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") preprocessText...
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, replacement, x) { len <- length(x) if (length(pattern) == 1) pattern <-
2016 May 04
2
ImageMagick security alert
On Wed, 4 May 2016, Nux! wrote: > Direct links > > https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588#p132726 > https://bugzilla.redhat.com/show_bug.cgi?id=CVE-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,
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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 |Carlos Molina <cmolina@net-uno.net> wrote: | |>-----BEGIN PGP SIGNED MESSAGE----- |>Hash: SHA1 |> |>Greetings. |> |>I'm trying to make some backups using rsync, but I have some questions |>about it. |> |>First, on the receiving side, i make a test with this line. |> |>rsync -vv -e ssh --recursive
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
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 cel...
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 &quo...
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 --