search for: qi

Displaying 20 results from an estimated 437 matches for "qi".

Did you mean: iq
2003 Feb 12
1
models for square tables
I've posted a sample file for estimating loglinear models for square tables (mobility models) at http://www.xs4all.nl/~jhckx/mcl/R/ Comments and suggestions are welcome. John Hendrickx
1998 Jul 14
1
Are post-hoc tests being developed for R?
Hi- Is anyone working on multiple comparisons of means or post-hoc tests (ie: Tukey, Bonferroni) for R? I saw in the winter 98' archives of the R mailing lists that these tests had not been implemented yet, I was just wondering if I could look foward to having them. ;-) I also looked through the contributed packages and didn't see anything that offered such tests. I guess I could check
2013 May 06
2
[PATCH] ocfs2: unlock rw lock if inode lock failed
...first and then ocfs2_inode_lock. But if ocfs2_inode_lock failed, it goes to out_sems without unlocking rw lock. This will cause a bug in ocfs2_lock_res_free when testing res->l_ex_holders, which is increased in __ocfs2_cluster_lock and decreased in __ocfs2_cluster_unlock. Signed-off-by: Joseph Qi <joseph.qi at huawei.com> --- fs/ocfs2/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 6474cb4..e2cd7a8 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -2290,7 +2290,7 @@ relock: ret = ocfs2_inode_lock(inode, NUL...
1999 Nov 25
0
desperate!
...ions give me - adjusted p values? How would I then interpret these? I'd really appreciate any help!!! ----------------- Code for Bonferroni, Holm and Hochberg post hoc tests: p.adjust.holm <- function(p, n=length(p)) { ##n <- length(p) r <- rank(p) index <- order(p) qi <- p*(n+1-r) for (i in 2:length(p)) { qi[index[i]] <- max(qi[index[i+1]]) } list(adjp=pmin(qi, 1), p=p, method="Holm") } p.adjust.hochberg <- function(p) { n <- length(p) r <- rank(p) index <- order(p) qi <- p*(n+1-r) for (i in (n...
2023 Feb 23
1
[PATCH v2] ocfs2: fix non-auto defrag path not working issue
On Mon, 20 Feb 2023 14:26:19 +0800 Joseph Qi <joseph.qi at linux.alibaba.com> wrote: > > Currently there is no tools triggering the above issues since > > defragfs.ocfs2 enables auto defrag by default. Test with manually > > changing defragfs.ocfs2 to run non auto defrag path. > > > > Signed-off-by: Hemin...
2013 Nov 12
3
[LLVMdev] loop fusion in LLVM
...ntial candidate topic. Since we are all new to LLVM we would like to ask for experts' opinions here if there already is a well known implementation of loop fusion pass existed, and if not, is there a particular reason that it is not done given such optimization is fairly standard? Thank you. -Qi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131112/60798c93/attachment.html>
2023 Mar 21
1
[PATCH] ocfs2: fix data corruption after failed write
...problem by invalidating page beyond EOF after failed write. Link: https://lkml.kernel.org/r/20230302153843.18499-1-jack at suse.cz Fixes: 6dbf7bb55598 ("fs: Don't invalidate page buffers in block_write_full_page()") Signed-off-by: Jan Kara <jack at suse.cz> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc: Mark Fasheh <mark at fasheh.com> Cc: Joel Becker <jlbec at evilplan.org> Cc: Junxiao Bi <junxiao.bi at oracle.com> Cc: Changwei Ge <gechangwei at live.cn> Cc: Gang He <ghe at suse.com> Cc: Jun Piao <piaojun at huawei.com&gt...
1998 Jul 16
1
R-beta: Re: Post-hoc tests
Matt, Here's a Bonferroni-corrected multiple one-sample t-test that I wrote some years ago. It took a while to get it into R, as na.omit doesn't seem to handle vectors and I had to write a quick kludge (na.remove). Another more general point was that I discovered that the help page for t.test gives the name "parameters" for the degrees of freedom, as in S. However, the name
2006 Oct 13
3
Validation errors in has_one/belongs_to relationships.
...child object, and 2) an error message should be added to the quote_input object''s error message array to indicate an error saving the child (Insured) object. I know that the validation works on the insured object alone if I create one and attempt to save it with invalid data. Why does qi.save! return true below? It''s like it didn''t try to save the insured object. In script/console I see: >> ins = Insured.new => #<Insured:0x37345e0 @new_record=true, @attributes={"city"=>"", "address1"=>"" , "name&q...
2013 Nov 13
0
[LLVMdev] loop fusion in LLVM
Hi Qi, No, we don’t have loop fusion. The loop fusion transformation itself is easy, but the profitability and legality checks are challenging. For legality, you would need to analyze the memory that you access and figure out that it is legal to fuse the loops. For profitability you would need to pre...
2023 Apr 19
1
[PATCH] ocfs2: reduce ioctl stack usage
On Wed, 19 Apr 2023 10:00:15 +0800 Joseph Qi <joseph.qi at linux.alibaba.com> wrote: > > > On 4/18/23 8:56 PM, Christian Brauner wrote: > > On Tue, Apr 18, 2023 at 05:37:06PM +0800, Joseph Qi wrote: > >> Andrew picked ocfs2 patches into -mm tree before. > > Yup and that's fine obviously, but this bel...
2023 Feb 20
1
[PATCH v2] ocfs2: fix non-auto defrag path not working issue
...error. > > Currently there is no tools triggering the above issues since > defragfs.ocfs2 enables auto defrag by default. Test with manually > changing defragfs.ocfs2 to run non auto defrag path. > > Signed-off-by: Heming Zhao <heming.zhao at suse.com> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> > --- > v2: revise commit log under review comment > > --- > fs/ocfs2/move_extents.c | 24 +++++++++++++----------- > 1 file changed, 13 insertions(+), 11 deletions(-) > > diff --git a/fs/ocfs2/move_extents.c b/fs/ocfs2/move_extents....
2008 Dec 31
3
Paste in a FOR loop
...t the minute, (Which does work) is in the following: library(R2HTML) HTMLStart(outdir = file.path("C://Example_work","R_projects","Dynamic_creative"),filename = "RMDC_mockup",Title="Mock up for RMDC") summary(z.out.1) summary(s.out.1) hist(s.out.1$qi$ev) HTMLplot() . . . summary(z.out.3) summary(s.out.3) hist(s.out.3$qi$ev) HTMLplot() HTMLStop() This seemed a rather long winded way of doing things to me and a simple for loop should handle this, as later i want it to be dynamic for a number of groups so my new code is(not working): library(R2H...
2023 Mar 01
1
report BUG: io_uring triggers umount error
Hi, On 2/27/23 10:59 AM, Joseph Qi via Ocfs2-devel wrote: > > > On 2/26/23 11:22 PM, Heming Zhao wrote: >> On Sun, Feb 26, 2023 at 04:45:44PM +0800, Heming Zhao via Ocfs2-devel wrote: >>> On Fri, Feb 24, 2023 at 06:59:47PM +0800, Joseph Qi wrote: >>>> >>>> >>>> On 2/24/23...
2023 Feb 27
2
report BUG: io_uring triggers umount error
On 2/26/23 11:22 PM, Heming Zhao wrote: > On Sun, Feb 26, 2023 at 04:45:44PM +0800, Heming Zhao via Ocfs2-devel wrote: >> On Fri, Feb 24, 2023 at 06:59:47PM +0800, Joseph Qi wrote: >>> >>> >>> On 2/24/23 4:03 PM, Heming Zhao wrote: >>>> On 2/24/23 3:52 PM, Joseph Qi wrote: >>>>> >>>>> >>>>> On 2/24/23 3:48 PM, Heming Zhao via Ocfs2-devel wrote: >>>>>> On 2/24/23 2:54 P...
2023 May 25
1
+ ocfs2-fix-use-after-free-when-unmounting-read-only-filesystem.patch added to mm-hotfixes-unstable branch
...e.com> Subject: ocfs2: fix use-after-free when unmounting read-only filesystem Date: Mon, 22 May 2023 11:21:12 +0100 It's trivial to trigger a use-after-free bug in the ocfs2 quotas code using fstest generic/452. After mounting a filesystem as read-only, quotas are suspended and ocfs2_mem_dqinfo is freed through ->ocfs2_local_free_info(). When unmounting the filesystem, an UAF access to the oinfo will eventually cause a crash. Link: https://lkml.kernel.org/r/20230522102112.9031-1-lhenriques at suse.de Signed-off-by: Lu??s Henriques <lhenriques at suse.de> Reviewed-by: Joseph...
2013 Nov 13
1
[LLVMdev] loop fusion in LLVM
Thanks a lot for your input. We will look more into the legality and profitability checks you've mentioned. -Qi On Tue, Nov 12, 2013 at 7:32 PM, Nadav Rotem <nrotem at apple.com> wrote: > Hi Qi, > > No, we don’t have loop fusion. The loop fusion transformation itself is > easy, but the profitability and legality checks are challenging. For > legality, you would need to analyze the m...
2009 Sep 17
1
Collecting data in a data structure
...I have a data frame with, say, 2 cols d<-data.frame(x=c(1:5), y=seq(from=2, to=10, by=2)) > d x y 1 1 2 2 2 4 3 3 6 4 4 8 5 5 10 And I want to collect each row where the first col is prime. To this end I have a function is.prime() I want to say something like... q<-data.frame() qi<-1 for(i in 1:5){ if(is.prime(d[i, 1])){ q[qi,]<-d[i,] qi<-qi+1 } } but I get a "Warning in `[<-.data.frame`(`*tmp*`, qi, , value = list(x = 3L, y = 6)) : provided 2 variables to replace 0 variables " message. How can I accomplish this? cheers Worik [[alte...
2013 Jun 10
1
[PATCH v2] ocfs2: fix mutex_unlock and possible memory leak in ocfs2_remove_btree_range
...ree_range, when calling ocfs2_lock_refcount_tree and ocfs2_prepare_refcount_change_for_del failed, it goes to out and then tries to call mutex_unlock without mutex_lock before. And when calling ocfs2_reserve_blocks_for_rec_trunc failed, it should free ref_tree before return. Signed-off-by: Joseph Qi <joseph.qi at huawei.com> --- fs/ocfs2/alloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index b8a9d87..17e6bdd 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c @@ -5655,7 +5655,7 @@ int ocfs2_remove_btree_range(str...
2023 May 26
1
+ ocfs2-fix-use-after-free-when-unmounting-read-only-filesystem.patch added to mm-hotfixes-unstable branch
...fix use-after-free when unmounting read-only filesystem > Date: Mon, 22 May 2023 11:21:12 +0100 > > It's trivial to trigger a use-after-free bug in the ocfs2 quotas code > using fstest generic/452. After mounting a filesystem as read-only, > quotas are suspended and ocfs2_mem_dqinfo is freed through > ->ocfs2_local_free_info(). When unmounting the filesystem, an UAF access > to the oinfo will eventually cause a crash. > > Link: https://lkml.kernel.org/r/20230522102112.9031-1-lhenriques at suse.de > Signed-off-by: Lu?s Henriques <lhenriques at suse.de&...