search for: nmethods

Displaying 7 results from an estimated 7 matches for "nmethods".

Did you mean: methods
2003 Jun 25
1
socks5 support for -D
...H_SOCKS5_SUCCESS 0x00 + +static int +channel_decode_socks5(Channel *c, fd_set * readset, fd_set * writeset) +{ + struct { + u_int8_t version; + u_int8_t command; + u_int8_t reserved; + u_int8_t atyp; + } s5_req, s5_rsp; + u_int16_t dest_port; + u_char *p, dest_addr[255+1]; + int i, have, found, nmethods, addrlen, af; + + debug2("channel %d: decode socks5", c->self); + p = buffer_ptr(&c->input); + if (p[0] != 0x05) + return -1; + have = buffer_len(&c->input); + if (!(c->flags & SSH_SOCKS5_AUTHDONE)) { + /* format: ver | nmethods | methods */ + if (have < 2)...
2012 Mar 19
3
Issue with asin()
...ha)) + amp*cos(alpha)) DD <- ifelse(cond1, 0, ifelse(cond2, (meanT - Tseuil), DD_ifelse3)) } ### method (Tmin + Tmax) / 2 else if(method == "DDt2"){ cond1 <- (meanT > Tseuil) DD <- ifelse(cond1,(meanT - Tseuil),0) } else{ stop("\nMethod name is invalid.\nMethods available = DDsin (sinus) or DDt2 (mean)\n") } return(DD) } BUT! When I try to process random data: library(reshape2) library(plyr) station <- rep(c("station1","station2","station3"), 20) values_min <- sample(-5:20, size = 60, replace = T) values_max &...
2010 May 25
1
Lattice: relation = 'free' in scales
...etic scenarios (scen1 in the example) and using data from two sources (scen 2 in my example). I want to specify the ylim of my plot and have relation = 'free' for the yaxis but I would to avoid plotting the axis for each subplot. I include an example to clarify my problem. require(lattice) nmethods <- 3 nscen1 <- 3 nscen2 <- 2 gens <- 1:10 tab <- expand.grid(method = 1:nmethods, scen1 = 1:nscen1, scen2 = 1:nscen2, gen = gens, rep = 1:3) tab$value <- rnorm(nrow(tab),mean = with(tab,method*1000 + scen1...
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
...mp;s4_rsp, sizeof(s4_rsp)); + buffer_append(output, &s4_rsp, sizeof(s4_rsp)); return 1; } @@ -1145,12 +1159,21 @@ channel_decode_socks5(Channel *c, fd_set *readset, fd_set *writeset) u_int16_t dest_port; u_char *p, dest_addr[255+1], ntop[INET6_ADDRSTRLEN]; u_int have, need, i, found, nmethods, addrlen, af; + Buffer *input, *output; + + if (c->type == SSH_CHANNEL_RDYNAMIC) { + input = &c->output; + output = &c->input; + } else { + input = &c->input; + output = &c->output; + } debug2("channel %d: decode socks5", c->self); - p = buffer_pt...
2012 Nov 19
6
tcltk freezing using MS Windows for R-2.14+
I am the maintainer of a Bioconductor package (affylmGUI) which uses tcltk. It freezes inconsistently on MS Windows, but not Mac or Unix. see details below. After considerable testing I have reduced the problem from a few thousand lines of code to 30 lines! If you paste the following lines of code into an R window: testGUI <- function(){ require(tcltk) MainWindow <-
2007 Sep 02
5
hash_cache a bogus function that never worked?
Hi, I''ve been investigating various caching methods provided by Rail. I first looked at the hash_cache module and function. In testing it, I noticed it wasn''t actually caching anything. Then looking at the source code, I noticed that it attempted to hold its cache in a class variable - which won''t actually be saved from page request to page because of the way that rails
2011 Dec 16
6
java installation failure
Readers, Openjdk and ibm java versions have failed to install, all reporting a bad elf, e.g. ./ibm-java-i386-sdk-7.0-0.0.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... strings: '/lib/libc.so.6': No such file