Displaying 7 results from an estimated 7 matches for "nmethod".
Did you mean:
method
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()
...- Tseuil) * ((pi/2) - alpha)) +
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,...
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 + scen...
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_p...
2012 Nov 19
6
tcltk freezing using MS Windows for R-2.14+
...ot;command",label="Normalize",command =
function() NormalizeNow(MainWindow))
tkadd(topMenu, "cascade", label="MainWindow", menu = normalizeMenu)
tkfocus(MainWindow)
#
}#end of testGUI <- function()
#
NormalizeNow <- function(MainWindow){
NMethod <- GetNMethod(MainWindow)
if (NMethod=="") return()
tkconfigure(MainWindow,cursor="watch")
tkfocus(MainWindow)
}#end of NormalizeNow <- function(){
#
GetNMethod <- function(MainWindow){
ReturnVal <- "RMA"
GNMethod <- tktoplevel(M...
2007 Sep 02
5
hash_cache a bogus function that never worked?
...ed for a while. Am I missing something?
Anyway, my test functions (within a descendant of
application_controller):
def cacheTest
i = params[:id]
res = methodToCache_cache[i]
print "value returned #{i}\n\n"
render_text res
end
def methodToCache i
print "\n\nmethod actually called #{i}\n\n"
return "test text <%print #{i}%>"
end
hash_cache :methodToCache
The log results:
............
method actually called 67
value returned 67
127.0.0.1 - - [01/Sep/2007:16:15:19 Pacific Daylight Time] "GET
/posts/cacheTest
/67 HTTP/1....
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