search for: csize

Displaying 20 results from an estimated 31 matches for "csize".

Did you mean: size
2020 Nov 03
0
[PATCH 1/2] Revert "vhost-vdpa: fix page pinning leakage in error path"
...gt; > + cur_base = msg->uaddr & PAGE_MASK; > iova &= PAGE_MASK; > - map_pfn = page_to_pfn(page_list[0]); > - > - /* One more iteration to avoid extra vdpa_map() call out of loop. */ > - for (i = 0; i <= npages; i++) { > - unsigned long this_pfn; > - u64 csize; > - > - /* The last chunk may have no valid PFN next to it */ > - this_pfn = i < npages ? page_to_pfn(page_list[i]) : -1UL; > - > - if (last_pfn && (this_pfn == -1UL || > - this_pfn != last_pfn + 1)) { > - /* Pin a contiguous chunk of memory */ > - csi...
2020 Oct 01
0
[PATCH] vhost-vdpa: fix page pinning leakage in error path
..., npages, list_size); - ret = pin_user_pages(cur_base, pinned, - gup_flags, page_list, NULL); - if (ret != pinned) - goto out; - - if (!last_pfn) - map_pfn = page_to_pfn(page_list[0]); - - for (i = 0; i < ret; i++) { - unsigned long this_pfn = page_to_pfn(page_list[i]); - u64 csize; - - if (last_pfn && (this_pfn != last_pfn + 1)) { - /* Pin a contiguous chunk of memory */ - csize = (last_pfn - map_pfn + 1) << PAGE_SHIFT; - if (vhost_vdpa_map(v, iova, csize, - map_pfn << PAGE_SHIFT, - msg->perm)) - goto out; - map_pfn =...
2020 Oct 01
0
[PATCH v2] vhost-vdpa: fix page pinning leakage in error path
..., npages, list_size); - ret = pin_user_pages(cur_base, pinned, - gup_flags, page_list, NULL); - if (ret != pinned) - goto out; - - if (!last_pfn) - map_pfn = page_to_pfn(page_list[0]); - - for (i = 0; i < ret; i++) { - unsigned long this_pfn = page_to_pfn(page_list[i]); - u64 csize; - - if (last_pfn && (this_pfn != last_pfn + 1)) { - /* Pin a contiguous chunk of memory */ - csize = (last_pfn - map_pfn + 1) << PAGE_SHIFT; - if (vhost_vdpa_map(v, iova, csize, - map_pfn << PAGE_SHIFT, - msg->perm)) - goto out; - map_pfn =...
2008 Sep 28
3
Stubdom and blktap
Recently we had a try of stubdom, whose general status is good. One issue we found is with aio/sync blktap as backend, disk performance is obviously slower, and there are some IDE kernel error messages (like irq timeout) at boot time. Another issue (not stubdom specific) comes from blktap''s support for QCOW image which is based on a backing file. We never tried this configure
2004 Mar 30
1
classification with nnet: handling unequal class sizes
...=", lambda[j], "\n") choice[j] <- CVnn1(formula, data[rand != i,], nreps=nreps, ri=ri, size=size[j], decay=lambda[j], verbose=verbose, ...) } decay <- lambda[which.is.max(-choice)] csize <- size[which.is.max(-choice)] if(verbose > 5) cat(" #errors:", choice, " ") # if(verbose > 1) cat("chosen size = ", csize, " decay = ", decay, "\n", sep="") for(rep in 1:nreps...
2009 Dec 04
1
R igraph clusters component
Hi R-users, I'm using igraph for an undirected graph. i used clusters() igraph function to know the component size(subgraphs) as shown bellow: c <-clusters(g)    # component sizes size <- sort(c$csize, decreasing=TRUE) cat("Top 20 cluster of the graph","\n") for (i in 1:20) {   cat(i,"  size:",size[i] ,"\n") } Can anyone help how to extract the subgraph components  based on the size as  edgelist-format. Thanks in advance [[alternative HTML version del...
2004 Sep 23
0
nnet and weights: error analysis using V&R example
...;, lambda[j], "\n") choice[j] <- CVnn1(formula, data[rand != i,], nreps=nreps, ri=ri, size=size[j], decay=lambda[j], verbose=verbose, ...) } decay <- lambda[which.is.max(-choice)] csize <- size[which.is.max(-choice)] if(verbose > 5) cat(" #errors:", choice, " ") # if(verbose > 1) cat("chosen size = ", csize, " decay = ", decay, "\n", sep="") for(rep in 1:n...
2004 Sep 23
0
nnet with weights parameter: odd error
...;, lambda[j], "\n") choice[j] <- CVnn1(formula, data[rand != i,], nreps=nreps, ri=ri, size=size[j], decay=lambda[j], verbose=verbose, ...) } decay <- lambda[which.is.max(-choice)] csize <- size[which.is.max(-choice)] if(verbose > 5) cat(" #errors:", choice, " ") # if(verbose > 1) cat("chosen size = ", csize, " decay = ", decay, "\n", sep="") for(rep in 1:n...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...or, eofseen, ddebug, trace, nowarn, spprdflt; extern int interactive, caseins, lex_compat, do_yylineno; extern int useecs, fulltbl, usemecs, fullspd; extern int gen_line_dirs, performance_report, backing_up_report; extern int C_plus_plus, long_align, use_read, yytext_is_array, do_yywrap; extern int csize; extern int yymore_used, reject, real_reject, continued_action, in_rule; extern int yymore_really_used, reject_really_used; extern int datapos, dataline, linenum, out_linenum; extern FILE *skelfile, *yyin, *backing_up_file; extern const char *skel[]; extern int skel_ind; extern char *infilename, *o...
2011 Feb 01
1
using SNOW and clusterApplyLB to run jobs parallel
...tor(cl)) result = result[result[,1] != result[,2],] corm = result corm =corm[abs(corm[,3]) >= CORRELATION, ] # remove low cor pairs library(network); library(sna) net <- network(corm, directed = F) # the network cd <- component.dist(net) # component analysis delete.vertices(net, which(cd$csize[cd$membership] == 1)) # delete genes not connected with others plot(net) } -- View this message in context: http://r.789695.n4.nabble.com/using-SNOW-and-clusterApplyLB-to-run-jobs-parallel-tp3253060p3253060.html Sent from the R help mailing list archive at Nabble.com.
2002 Jun 21
4
[Bug 282] ttymodes sent can be invalid
http://bugzilla.mindrot.org/show_bug.cgi?id=282 ------- Additional Comments From stevesk at pobox.com 2002-06-22 06:15 ------- what kernel and glibc version? try with "stty -parenb" on client side. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2005 Feb 18
1
Contingency tables profiles
...(N) # Columns profiles PC <- t(N)/rowSums(t(N)) # Graphics par(mfrow=c(2,2)) barplot(cbind(cbind(t(PF),0),0),legend=colnames(F),density=100,cex.names=0.8) barplot(cbind(cbind(cbind(t(PC),0),0),0),legend=rownames(F),density=100,cex.names=0.8) mosaicplot(N,color=TRUE) library(ade4) table.cont(t(N),csize=4.5,col.labels=rownames(N)) Campo El?as PARDO cepardot at cable.net.co cepardot at unal.edu.co
2010 Feb 08
5
Fast way to determine number of lines in a file
Hi all, Is there a fast way to determine the number of lines in a file? I'm looking for something like count.lines analogous to count.fields. Hadley -- http://had.co.nz/
2008 Jan 16
8
PATCH [xenconsoled]: makes pty slave raw early
Hi, on my system (Linux 2.6.18.8 - ia64), if a domain write on the xencons before xenconsole is initialized the domain gets back what it wrote. This patch fixes this issue by making raw the pty slave very early. (I suppose it doesn''t happen with linux as a guest because it takes a little bit of time before writing to xencons). Tristan. _______________________________________________
2006 Dec 07
0
Fwd: win32-service problems with patch
...tic HANDLE hThread; static HANDLE hStartEvent; static HANDLE hStopEvent; static HANDLE hStopCompletedEvent; @@ -21,12 +22,6 @@ static DWORD dwServiceState; static TCHAR error[1024]; -static VALUE EventHookHash; -static VALUE thread_group; -static int cAdd; -static int cList; -static int cSize; - CRITICAL_SECTION csControlCode; // I happen to know from looking in the header file // that 0 is not a valid service control code @@ -39,7 +34,6 @@ static VALUE service_close(VALUE); void WINAPI Service_Main(DWORD dwArgc, LPTSTR *lpszArgv); void WINAPI Service_Ctrl(DWORD dwCtrlCode); -...
2007 Apr 10
1
[PATCH] Add support for DHCP-Options
hi, I've written a start of an c32-module to do basic substition: add subst.c32 this is a start of a generic substition module --- commit 9a1f41a7e6599fe6a162197cd9ddc6610185e780 tree cfb799a0be9844926afe44e21b2eb96630666c44 parent 89478bdbfa7167bc1b627a478d042c99e46f06b7 author Maurice Massar <massar at unix-ag.uni-kl.de> Tue, 10 Apr 2007 20:13:39 +0200 committer Maurice Massar
1999 May 12
0
Problem with stripplot
...39;t think that means it should fall over. > difference [1] 2.0 1.3 2.8 -2.6 -0.4 -0.4 -1.2 -1.4 -1.0 1.2 -2.6 -1.9 > stripplot(difference) > stripplot(difference,method="jitter") > stripplot(difference,method="stack") Warning in y + (unlist(xo) - 1) * offset * csize : longer object length is not a multiple of shorter object length Error: x and y lengths differ Here is the code to check it. difference<-c(2, 1.3, 2.8, -2.6, -0.4, -0.4, -1.2, -1.4, -1, 1.2, -2.6, -1.9) stripplot(difference) stripplot(difference,method="jitter") stripplot...
2007 Mar 03
1
R software to place points on Yahoo maps
Is there any R software that create an image from Yahoo maps together with points of known UTM coordinates (or lat/long marked? Note that my region of interest is not covered in sufficient detail by Google maps. It actually does not have to be Yahoo maps as long as it has sufficient coverage of my region but that's the one I have found with coverage of my region. The scale I am interested in
2011 Jan 28
1
Please help -- Converting a 2D matrix to 3 columns for graphical representation
...Is there a way to do this? The main reason I am doing this is to find a correlation based graph for values >= 0.85 using, corm <- corm[abs(corm[,3]) >= 0.86, ] library(network); library(sna) net <- network(corm, directed = F) cd <- component.dist(net) delete.vertices(net, which(cd$csize[cd$membership] == 1)) plot(net) Are there any better ways to plot the 2D correlation matrix for correlations >= 0.85 Please let me know. -- View this message in context: http://r.789695.n4.nabble.com/Please-help-Converting-a-2D-matrix-to-3-columns-for-graphical-representation-tp3243688p324368...