search for: xab

Displaying 20 results from an estimated 61 matches for "xab".

Did you mean: tab
2013 Feb 23
0
Centos 6.3 and dovecot with an abrt problem
...to help me debug this. Can any of you point me in the right direction. ' Thanks much!!! Greg From: user at domain.com To: root at domain.com Subject: [abrt] full crash report Date: Fri, 22 Feb 2013 17:57:29 -0600 abrt_version: 2.0.8 cmdline: dovecot/imap environ: '\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab \xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab \xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab \xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab\xab \xab\xab\xab\xab\xab\xab\xab\xab...
2004 Nov 12
1
dyn.load problem
...Dev-Cpp/teste": LoadLibrary failure: Par??metro incorreto. (Incorrect Parameter) My C code is (extracted form Writing R Extension): #include <R.h> #include <Rinternals.h> SEXP convolve2(SEXP a, SEXP b) { R_len_t i, j, na, nb, nab; double *xa, *xb, *xab; SEXP ab; PROTECT(a = coerceVector(a, REALSXP)); PROTECT(b = coerceVector(b, REALSXP)); na = length(a); nb = length(b); nab = na + nb - 1; PROTECT(ab = allocVector(REALSXP, nab)); xa = REAL(a); xb = REAL(b); xab = REAL(ab); for(i = 0; i <...
2007 Aug 23
1
.Call and to reclaim the memory by allocVector
...;Rinternals.h" #include "Rdefines.h" SEXP crossprod2(SEXP a, SEXP b); //modified from convolve2 in the R extension //R CMD SHLIB crossprod2.c #include <R.h> #include <Rinternals.h> SEXP crossprod2(SEXP a, SEXP b) { R_len_t i, j, na, nb, nab; double *xa, *xb, *xab; SEXP ab; PROTECT(a = coerceVector(a, REALSXP)); PROTECT(b = coerceVector(b, REALSXP)); na = length(a); nb = length(b); //nab = na + nb - 1; nab=na*nb;// we are doing the cross product PROTECT(ab = allocVector(REALSXP, nab)); xa = REAL(a); xb = REAL...
2007 Aug 23
1
.Call and to reclaim the memory by allocVector
...;Rinternals.h" #include "Rdefines.h" SEXP crossprod2(SEXP a, SEXP b); //modified from convolve2 in the R extension //R CMD SHLIB crossprod2.c #include <R.h> #include <Rinternals.h> SEXP crossprod2(SEXP a, SEXP b) { R_len_t i, j, na, nb, nab; double *xa, *xb, *xab; SEXP ab; PROTECT(a = coerceVector(a, REALSXP)); PROTECT(b = coerceVector(b, REALSXP)); na = length(a); nb = length(b); //nab = na + nb - 1; nab=na*nb;// we are doing the cross product PROTECT(ab = allocVector(REALSXP, nab)); xa = REAL(a); xb = REAL...
2004 Nov 07
2
Problem with dyn.load()
...nd.com/Rtools/ an with correct path). I would like run the coded write below named conv.c (Example from "Write R Extension") : #include <R.h> #include <Rinternals.h> SEXP convolve2(SEXP a, SEXP b) { R_len_t i, j, na, nb, nab; double *xa, *xb, *xab; SEXP ab; PROTECT(a = coerceVector(a, REALSXP)); PROTECT(b = coerceVector(b, REALSXP)); na = length(a); nb = length(b); nab = na + nb - 1; PROTECT(ab = allocVector(REALSXP, nab)); xa = REAL(a); xb = REAL(b); xab = REAL(ab); for(i = 0; i...
2011 Apr 29
1
regular expression in gsub() for strings with leading backslash
Hello, Can anyone help on gsub() in R? I have a string like something below, and wanted to delete all the strings with leading backslash, including "\xa0On", "\023, "\xab", and many others. How should I write a regular expression pattern in gsub()? I don't care how many characters following backslash. txt <- "Is This Thing\xa0On? http://bit.ly/jAbKem wait \023 for people \xab and be patient :" Thanks in advance, Miao [[alternative HTML...
2012 Dec 10
1
Changing arguments inside .Call. Wise to encourage "const" on all arguments?
...ar usage in Writing R Extensions, section 5.10.1 "Calling .Call". It protects the arguments a and b (needed ??), then changes them. #include <R.h> #include <Rdefines.h> SEXP convolve2(SEXP a, SEXP b) { R_len_t i, j, na, nb, nab; double *xa, *xb, *xab; SEXP ab; PROTECT(a = AS_NUMERIC(a)); /* PJ wonders, doesn't this alter "a" in calling code*/ PROTECT(b = AS_NUMERIC(b)); na = LENGTH(a); nb = LENGTH(b); nab = na + nb - 1; PROTECT(ab = NEW_NUMERIC(nab)); xa = NUMERIC_POINTER(a);...
2012 Jul 23
1
mgcv: Extract random effects from gam model
...gcv package). Example (from ?gam.vcomp): library(mgcv) set.seed(3) dat <- gamSim(1,n=400,dist="normal",scale=2) a <- factor(sample(1:10,400,replace=TRUE)) b <- factor(sample(1:7,400,replace=TRUE)) Xa <- model.matrix(~a-1) ## random main effects Xb <- model.matrix(~b-1) Xab <- model.matrix(~a:b-1) ## random interaction dat$y <- dat$y + Xa%*%rnorm(10)*.5 + Xb%*%rnorm(7)*.3 + Xab%*%rnorm(70)*.7 dat$a <- a;dat$b <- b mod <- gam(y ~ s(a, bs="re") + s(x2, k = 15), data = dat) When I run plot(mod) I can see the adjustments for the "a"...
2011 Oct 12
1
Error in Rcpp/inline (Windows XP)
...o try a simple example from website, but R keeps reporting me error. I am using Windows XP, and has installed Rtools and GSI. Here is the response: > src = ' + Rcpp::NumericVector xa(a); + Rcpp::NumericVector xb(b); + int n_xa = xa.size(); + int n_xb = xb.size(); + + Rcpp::NumericVector xab(n_xa + n_xb - 1); + + for (int i = 0; i < n_xa; i++) + for (int j = 0; j < n_xb; j++) + xab[i + j] += xa[i] * xb[j]; + + return xab; + ' > > fun = cxxfunction( + signature(a = "numeric", b = "numeric"), + src, plugin = "Rcpp",v...
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
...quot; libguestfs: trace: truncate = 0 libguestfs: trace: write_append "/var/lib/systemd/random-seed" "\x9e\x92\xa5\xae\xa3\x13\xb3Qt'\x1fn\x00\xd9\xf6\xcd\x1cYP\x14U\x1b\xfbc\xdd\xa2\x95\xd1\xdf\x0d\x94\xf7\xb8\xba$\x18z \xe2,\xd3\xd0u\xb9F\xd9\x87G\x8c\x16S\x90q\xf12(a\x89\xb1\xab\x8b\xd4\xd4M\xc4\xc6\xb0\x186\xe2A\x09\x99\xd1\xb8;\xee\x9b\xef\xee\x01co$\xfe\xf0I\xd5\x1a\xac{C&:y\xc8\xf2\xf5H\xe116\x97$\x02\xc9\xc0u\xcf7\x094\xb0SM\x8d\x0f\x0b\xc8\xf1\x1e\xae\xe0`\xbe\x87\x97\xc6\xf1\x07E\x99G\x1b\x89\x9c\x14\xfcx\xcd\xaf[[_\xc6%\x99:H\xba,4\xd4~\x0d\xb7\xf03<\xd5\x15...
2015 Apr 14
1
The --inplace is very different from the behaviour of --partial when resuming a complex case transfer.
...file) So I do the following testings on the `--inplace' and `--partial' for resuming a file with the following steps: 1- rsync ftp.cn.debian.org::debian/dists/wheezy/main/binary-amd64/ Packages.gz . 2- split -b 1M Packages.gz At this point, I obtained the following eight files: xaa xab xac xad xae xaf xag xah 3- Then I remove two files, say, xab, and xae from the above eight files, and then use cat to regenerate the Packages.gz: for i in xaa xac xad xaf xag xah ; do cat $i >> Packages.gz; done 4- Resuming the rsync transfer with the `--inplace' and `--p...
2014 Aug 08
2
[PATCH 1/2] Add type checking, support integers as value
...format(exception_type)) + except exception_type: + pass + +# Good weather tests +test_pass (REG_BINARY, b"\x01\x02", b"\x01\x02") +test_pass (REG_SZ, u"Val", b"\x56\x61\x6c") +test_pass (REG_DWORD, 0xabcdef, b'\xef\xcd\xab\x00') +test_pass (REG_DWORD_BIG_ENDIAN, 0xabcdef, b'\x00\xab\xcd\xef') +test_pass (REG_QWORD, 0x0123456789abcdef, + b'\xef\xcd\xab\x89\x67\x45\x23\x01') + +# *WORDs must still accept bytes (the length is not checked) +t...
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
...libguestfs: trace: truncate = 0 > libguestfs: trace: write_append "/var/lib/systemd/random-seed" "\x9e\x92\xa5\xae\xa3\x13\xb3Qt'\x1fn\x00\xd9\xf6\xcd\x1cYP\x14U\x1b\xfbc\xdd\xa2\x95\xd1\xdf\x0d\x94\xf7\xb8\xba$\x18z \xe2,\xd3\xd0u\xb9F\xd9\x87G\x8c\x16S\x90q\xf12(a\x89\xb1\xab\x8b\xd4\xd4M\xc4\xc6\xb0\x186\xe2A\x09\x99\xd1\xb8;\xee\x9b\xef\xee\x01co$\xfe\xf0I\xd5\x1a\xac{C&:y\xc8\xf2\xf5H\xe116\x97$\x02\xc9\xc0u\xcf7\x094\xb0SM\x8d\x0f\x0b\xc8\xf1\x1e\xae\xe0`\xbe\x87\x97\xc6\xf1\x07E\x99G\x1b\x89\x9c\x14\xfcx\xcd\xaf[[_\xc6%\x99:H\xba,4\xd4~\x0d\xb7\xf03<\xd5\x15...
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
...ibguestfs: trace: truncate = 0 >> libguestfs: trace: write_append "/var/lib/systemd/random-seed" "\x9e\x92\xa5\xae\xa3\x13\xb3Qt'\x1fn\x00\xd9\xf6\xcd\x1cYP\x14U\x1b\xfbc\xdd\xa2\x95\xd1\xdf\x0d\x94\xf7\xb8\xba$\x18z \xe2,\xd3\xd0u\xb9F\xd9\x87G\x8c\x16S\x90q\xf12(a\x89\xb1\xab\x8b\xd4\xd4M\xc4\xc6\xb0\x186\xe2A\x09\x99\xd1\xb8;\xee\x9b\xef\xee\x01co$\xfe\xf0I\xd5\x1a\xac{C&:y\xc8\xf2\xf5H\xe116\x97$\x02\xc9\xc0u\xcf7\x094\xb0SM\x8d\x0f\x0b\xc8\xf1\x1e\xae\xe0`\xbe\x87\x97\xc6\xf1\x07E\x99G\x1b\x89\x9c\x14\xfcx\xcd\xaf[[_\xc6%\x99:H\xba,4\xd4~\x0d\xb7\xf03<\xd5\x15...
2015 Apr 06
0
--append and then --append-verify will not work.
...the file into little files with the file size equaling to 128K, which is the maximum of the block-size accepted by rsync. split -b 128K Packages.bz2 And at this point, I obtained the following 20 files: werner at debian:~/http_resume_test$ ls x* xaa xac xae xag xai xak xam xao xaq xas xab xad xaf xah xaj xal xan xap xar xat Then I delete the some files, say, xab and xae, from the above little files, and then use the cat tool to regenerate the Packages.bz2 by only using the remaining little files: werner at debian:~/http_resume_test$ for i in `ls x*`; do cat $i >>...
2015 Apr 06
0
--append and then --append-verify will not work.
...t the file into little files with the file size equaling to 128K, which is the maximum of the block-size accepted by rsync. split -b 128K Packages.bz2 And at this point, I obtained the following 20 files: werner at debian:~/http_resume_test$ ls x* xaa xac xae xag xai xak xam xao xaq xas xab xad xaf xah xaj xal xan xap xar xat Then I delete some files, say, xab and xae, from the above little files, and then use the cat tool to regenerate the Packages.bz2 by only using the remaining little files: werner at debian:~/http_resume_test$ for i in `ls x*`; do cat $i >> Packag...
2003 Aug 10
7
More about Accounting
I should also mention that Accounting rules are not stateful -- each rule only handles traffic in one direction. So for example, if eth0 is your internet interface and you have a web server in your DMZ connected to eth1 then to measure HTTP traffic in both directions requires two rules: DONE eth0 eth1 tcp 80 DONE eth1 eth0 tcp - 80 Associating a counter with a chain allows for aggregation.
2007 May 07
0
Analyzing "Stacked" Time Series
...<- gls(X ~ YO + YD + ZO + ZD, correlation = corARMA(p = 2), method = "ML") fit.gls002 <- gls(X ~ YO + YD + ZO + ZD + lag(YO) + lag(YD) + lag(ZO) + lag(ZD), correlation = corARMA(p = 1), method = "ML") ar001 <- ar.ols(cbin(X, YO, YD, ZO, ZD)) Here is my example: xAB <- as.ts(round(rnorm(10, 0, 1), 2), start = c(1990, 1)) xAC <- as.ts(round(rnorm(10, 0, 1), 2), start = c(1990, 1)) xBA <- as.ts(round(rnorm(10, .75, 1.5), 2), start = c(1990, 1)) xBC <- as.ts(round(rnorm(10, .25, 1.9), 2), start = c(1990, 1)) xCA <- as.ts(round(rnorm(10, 1.5, 2.2),...
2009 Sep 01
2
antispam-plugin 1.2 and trailing carriage-returns
...h from sa-learn to the lightning-fast spamc training variant. TIA guenther [1] Yes, I know, sorry. Don't want to change everything at the same time, and the target system I'm experimenting for runs that version, too. -- char *t="\10pse\0r\0dtu\0. at ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
2007 Apr 07
2
Inbox inside the mail location
.... Thanks for this great IMAP server! I migrated many moons ago, beginning with some 0.9x version I don't exactly recall, and it just works. Migration has been a smooth experience too, and I haven't had any issue yet. guenther -- char *t="\10pse\0r\0dtu\0. at ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}