Displaying 20 results from an estimated 41 matches for "ss2".
Did you mean:
ss
2018 May 21
2
removing part of a string
dear all,
I am stuck on the following problem. Give a string like
ss1<- "z:f(5, a=3, b=4, c='1:4', d=2)"
or
ss2<- "f(5, a=3, b=4, c=\"1:4\", d=2)*z"
I would like to remove all entries within parentheses.. Namely, I aim to
obtain respectively
"z:f()" or "f()*z"
I played with sub() and gsub() but without success..
Thank you very much for your time,
best,
vito
-...
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...+ schar *buf = (schar *)buf1;
+
+ i = s1 = s2 = 0;
+ if (len > 32) {
+ const char mul_t1_buf[16] = {28, 0, 24, 0, 20, 0, 16, 0, 12,
0, 8, 0, 4, 0, 0, 0};
+ __m128i mul_t1 = sse_load_si128((__m128i_u*)mul_t1_buf);
+ __m128i ss1 = _mm_setzero_si128();
+ __m128i ss2 = _mm_setzero_si128();
+
+ for (i = 0; i < (len-32); i+=32) {
+ // Load ... 2*[int8*16]
+ __m128i in8_1 = sse_load_si128((__m128i_u*)&buf[i]);
+ __m128i in8_2 = sse_load_si128((__m128i_u*)&buf[i + 16]);
+
+ // (1*buf[i] + 1*buf[i+1]), (1...
2020 May 18
6
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...schar *buf = (schar *)buf1;
+
+ i = s1 = s2 = 0;
+ if (len > 32) {
+ const char mul_t1_buf[16] = {28, 0, 24, 0, 20, 0, 16, 0, 12,
0, 8, 0, 4, 0, 0, 0};
+ __m128i mul_t1 = sse_load_si128((void const*)mul_t1_buf);
+ __m128i ss1 = _mm_setzero_si128();
+ __m128i ss2 = _mm_setzero_si128();
+
+ for (i = 0; i < (len-32); i+=32) {
+ // Load ... 2*[int8*16]
+ __m128i in8_1 = sse_load_si128((void const*)&buf[i]);
+ __m128i in8_2 = sse_load_si128((void const*)&buf[i + 16]);
+
+ // (1*buf[i] + 1*buf[i+1]),...
2018 May 21
0
removing part of a string
Hello,
Try this.
ss1 <- "z:f(5, a=3, b=4, c='1:4', d=2)"
ss2 <- "f(5, a=3, b=4, c=\"1:4\", d=2)*z"
fun <- function(s) sub("(\\().*(\\))", "\\1\\2", s)
fun(ss1)
#[1] "z:f()"
fun(ss2)
#[1] "f()*z"
Hope this helps,
Rui Barradas
On 5/21/2018 2:33 PM, Vito M. R. Muggeo wrote:
> dear all,...
2018 May 21
1
removing part of a string
...uggestion, but I find the purpose to
be more clear. It might also be a little more efficient.
HTH
Ulrik
On Mon, 21 May 2018, 15:38 Rui Barradas, <ruipbarradas at sapo.pt> wrote:
> Hello,
>
> Try this.
>
>
> ss1 <- "z:f(5, a=3, b=4, c='1:4', d=2)"
> ss2 <- "f(5, a=3, b=4, c=\"1:4\", d=2)*z"
>
> fun <- function(s) sub("(\\().*(\\))", "\\1\\2", s)
>
> fun(ss1)
> #[1] "z:f()"
>
> fun(ss2)
> #[1] "f()*z"
>
>
> Hope this helps,
>
> Rui Barradas
>...
2020 May 18
0
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...gt; + i = s1 = s2 = 0;
> + if (len > 32) {
> + const char mul_t1_buf[16] = {28, 0, 24, 0, 20, 0, 16, 0, 12,
> 0, 8, 0, 4, 0, 0, 0};
> + __m128i mul_t1 = sse_load_si128((void const*)mul_t1_buf);
> + __m128i ss1 = _mm_setzero_si128();
> + __m128i ss2 = _mm_setzero_si128();
> +
> + for (i = 0; i < (len-32); i+=32) {
> + // Load ... 2*[int8*16]
> + __m128i in8_1 = sse_load_si128((void const*)&buf[i]);
> + __m128i in8_2 = sse_load_si128((void const*)&buf[i + 16]);
> +
> +...
2006 Oct 23
2
getting the by() function to work properly
...bottom (f3) just in case that might be the issue. Essentially I have compiled a large list of data coming from about 30 subjects with 88 trials each and I am trying to get that function to apply to each subject without having to manually attach each subject's data. The entire filename is 'ss2' so when i run
>ss2f3=f3(ss2)
>ss2f3
everything is fine. However when I try to use the by() function:
>by(ss3, sub, f3)
#sub=subject header in the data
I get the error message: " Error in var(x, na.rm = na.rm) : missing observations in cov/cor "
There are no missing observa...
2020 May 18
2
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...;
>> + if (len > 32) {
>> + const char mul_t1_buf[16] = {28, 0, 24, 0, 20, 0, 16, 0, 12,
>> 0, 8, 0, 4, 0, 0, 0};
>> + __m128i mul_t1 = sse_load_si128((void const*)mul_t1_buf);
>> + __m128i ss1 = _mm_setzero_si128();
>> + __m128i ss2 = _mm_setzero_si128();
>> +
>> + for (i = 0; i < (len-32); i+=32) {
>> + // Load ... 2*[int8*16]
>> + __m128i in8_1 = sse_load_si128((void const*)&buf[i]);
>> + __m128i in8_2 = sse_load_si128((void const*)&buf[i + 16])...
2020 May 20
0
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...> + i = s1 = s2 = 0;
> + if (len > 32) {
> + const char mul_t1_buf[16] = {28, 0, 24, 0, 20, 0, 16, 0, 12,
> 0, 8, 0, 4, 0, 0, 0};
> + __m128i mul_t1 = sse_load_si128((__m128i_u*)mul_t1_buf);
> + __m128i ss1 = _mm_setzero_si128();
> + __m128i ss2 = _mm_setzero_si128();
> +
> + for (i = 0; i < (len-32); i+=32) {
> + // Load ... 2*[int8*16]
> + __m128i in8_1 = sse_load_si128((__m128i_u*)&buf[i]);
> + __m128i in8_2 = sse_load_si128((__m128i_u*)&buf[i + 16]);
> +
> +...
2000 Aug 11
2
slow sparc questions
I've got a couple of SPARCstation 2s (about as fast as a fast 486, for most
thing) that I'm going to be using for some testing. I realize that these
machines are a bit slow, but when connecting via OpenSSH, it's MUCH slower
than connecting to my 486-DX 50. The point where it waits is just after
"debug: Sent encrypted session key.". The pause is for about 10 seconds,
while
2020 May 18
3
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
What do you base this on?
Per https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html :
"For the x86-32 compiler, you must use -march=cpu-type, -msse or
-msse2 switches to enable SSE extensions and make this option
effective. For the x86-64 compiler, these extensions are enabled by
default."
That reads to me like we're fine for SSE2. As stated in my comments,
SSSE3 support must be
2004 Dec 16
1
Using samba on two domains
Hello all,
We've been using samba version 3.0.4 on RH9 with success for quite a while now for shares on our domain (DOM1). Since this machine will have to be available in the near future in another domain (DOM2) as a webserver, and limited fileserver, another network interface has been added for the NIC.
When browsing the shares from a WIN98SE computer in DOM2, we are able to see the
2014 Mar 11
2
x86_64 SSE2/SSE41 optim not used
Hi Guys,
In stream_decoder.c when assigning lpc restore function,
only IA32 processor benefits from SS2 and SSE4.1 optimization.
Shouldn't it be the case for x86_64 processor as well ?
Thanks,
--
Olivier TRISTAN
uvi.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20140311/1d49b5c2/attachment.htm
2008 Feb 21
2
Can asterisk support 20 user's conference?
HI, Friends,
Now I have 20 polycom?s SS2 phones. Can Asterisk support 20 users conference meeting? And I want to build HD audio conference by using polycom?s 650 ip phone. Can asterisk support G722 HD audio conference? Any friend can help me? Thanks
Zhao xiaoqiang
2008-02-21
zhao_x_q
-------------- next part --------------
An HTML a...
2009 Aug 10
4
problem selecting rows meeting a criterion
When I try to select only those rows from the following data frame, called
"data", in which X > Y
X Y V3
2 2 1 8.062258
3 3 1 2.236068
4 4 1 6.324555
5 5 1 5.000000
6 1 2 8.062258
8 3 2 9.486833
9 4 2 2.236068
10 5 2 5.656854
11 1 3 2.236068
12 2 3 9.486833
14 4 3 8.062258
15 5 3 5.099020
16 1 4 6.324555
17 2 4 2.236068
18 3 4 8.062258
20 5 4 5.385165
21 1 5 5.000000
2007 Apr 28
2
Low FPS in app that requires DirectX6.1
Hi!
I'm trying to run a game System Shock 2
http://appdb.winehq.org/appview.php?iVersionId=2270
I have a laptop with Celeron M 420 (1600Mhz). SS2 running something about
5-10fps.. opposing for example to DeusEx that runs _very_ smoothly.. I can say
it is not less than 50fps or even more(i just don't know how to enable fps counter).
Wine version is 0.9.35
Only messages i get from Wine while running SS2 is:
preloader: Warning: failed to...
2010 Jan 09
2
R^2 in linear regression
Hello,
I was doing a linear regression with the following formula:
lm(y~x+0), so it passes through the origin. But when I called the summary of
the regression i saw that R squared is abnormally high (it's a lot lower in
other programs such as SigmaPlot and MS Excel).The manual explained the
cause of the difference (because of the different computing method), but
what should I do to get the
2016 Apr 05
0
R-dvel [robustness Simulation study of 2 sample test on several combination of factors ]
...,10,25,25,25,25,50,25,100,50,25,50,100,100,25,100,100),
nrow=2)
# see what it looks like
sample_sizes
ssds<-c(4,4.4,5,6,8)
nssds<-length(ssds)
results<-list()
# first loop steps through the sample
for(ss in 1:dim(sample_sizes)[2]) {
# get the two sample sizes
ss1<-sample_sizes[1,ss]
ss2<-sample_sizes[2,ss]
then step through your SDs:
ssd_index<-1
for(ssd in ssds) {
# generate the two samples with the SDs
sample1<-rnorm(ss1,ssd)
sample2<-rnorm(ss2,ssd)
# here run your tests, recording the results that you want
results[[(ss-1)*nssds+ssd_index]]<-<your...
2005 Jun 08
1
Help trying to get copernic agent and system shock 2 work under wine!?
I have been trying for the past couple of week to get copernic agent
professional and system shock 2 to run successfully under wine. But with no
success. Every time I install copernic agent and it almost finish installing
I get an error message unable to initialize folder.
Now as for system shock
I just will not start and I have tried reinstalling system shock 2 but that
did not help at all. It
2008 Jun 02
1
Problems (Panic) with 3.2.0rc1 on Solaris10/ADDomainMember
...have other problems, however.
Going through the tests outlined in the Trouble-Shooting Section
of the Samba3-Howto, I can smbmount a testshare and display its
content, but when trying to access the files, Samba panics:
---------------------------- 8< ----------------------------
smb: \> get SS2.FieldServiceManual.pdf
Receiving SMB: Server stopped responding
Call returned zero bytes (EOF) opening remote file \SS2.FieldServiceManual.pdf
---------------------------- 8< ----------------------------
---------------------------- 8< ----------------------------
[2008/06/02 09:23:00, 0]...