search for: block2

Displaying 20 results from an estimated 30 matches for "block2".

Did you mean: block
2013 Jun 17
0
[PATCH] Btrfs: optimize reada_for_balance
...truct btrfs_path *path, int level) +static noinline void reada_for_balance(struct btrfs_root *root, + struct btrfs_path *path, int level) { int slot; int nritems; @@ -2192,12 +2188,11 @@ static noinline int reada_for_balance(struct btrfs_root *root, u64 gen; u64 block1 = 0; u64 block2 = 0; - int ret = 0; int blocksize; parent = path->nodes[level + 1]; if (!parent) - return 0; + return; nritems = btrfs_header_nritems(parent); slot = path->slots[level + 1]; @@ -2224,28 +2219,11 @@ static noinline int reada_for_balance(struct btrfs_root *root, block2 = 0;...
2002 Sep 11
0
Contrasts with interactions
...ment6 -0.06789 0.85831 -0.079 0.937036 treatment7 -0.59955 0.54247 -1.105 0.270371 treatment8 0.80747 0.85639 0.943 0.346863 treatment9 0.10081 0.54320 0.186 0.852954 treatment10 0.43933 0.53421 0.822 0.411823 block2 -1.87242 0.66448 -2.818 0.005312 ** block3 0.10927 0.22670 0.482 0.630328 block4 -1.45648 3.71684 -0.392 0.695574 block5 0.25447 0.22033 1.155 0.249475 block6 -0.32177 0.22269 -1.445 0.150021 t...
2016 Jun 09
2
[RFC] LLVM Coroutines
On Thu, Jun 9, 2016 at 1:49 PM, Eli Friedman <eli.friedman at gmail.com> wrote: >> Right... but that doesn't mean the call to the suspend intrinsic has to be >> the last non-terminator instruction in the basic block before you run >> CoroSplit. You can split the basic block in CoroSplit so any instructions >> after the suspend call are part of a different basic
2006 Oct 15
1
how can i compute the average of three blocks for each column ?
...lumn with block layout=new[,1:5] layout[1:30,] #9th columns which give the median foreground =values of x-variables fg1=as.matrix(new[,9]) length(fg1) mean(fg1) # calculate the mean of x1 #### I try to do something like :########## block1=fg1[layout$Block==1,] block2=fg1[layout$Block==1,] block2=fg1[layout$Block==1,] average=(block1+block2+block3)/3 but it did not work. ################## How can i calculate the means of remaining x_variables? ######### Read data for the remaining slides =x2,x3,x4,x5 ########### for (i in 2:num.slides...
2009 Feb 23
1
Interleave or not
...1 xen3 mirror1 replicate block0 - brick0 mirror0 replicate block1 - brick1 mirror1 distribute unify - block0 block1 or server sdb1 sdb2 xen0 brick0 mirror3 xen1 brick1 mirror0 xen2 brick2 mirror1 xen3 brick3 mirror2 replicate block0 - brick0 mirror0 replicate block1 - brick1 mirror1 replicate block2 - brick2 mirror2 replicate block3 - brick3 mirror3 distribute unify - block 1 block2 block3 block4 ><> Nathan Stratton CTO, BlinkMind, Inc. nathan at robotics.net nathan at blinkmind.com http://www.robotics.net...
2016 Jun 10
2
[RFC] LLVM Coroutines
...... thinking about it a bit more, I think > you're going to run into problems with trying to keep around a return block > through optimizations: > > [...] > %first.return = call i1 @llvm.experimental.coro.fork() > %cmp = icmp eq i32 %x, 0 > br i1 %cmp, label %block1, label %block2 > > block1: > [...] > br i1 %first.return, label %coro.return, label %coro.start > > block2: > [...] > br i1 %first.return, label %coro.return, label %coro.start > > coro.return: > %xxx = phi i32 [ %a, %block1 ], [ %b, %block2 ] > call void @f(i32 %xxx) > ret...
2002 Aug 06
2
AOV in MASS not the same??
...33.13 2.1460 0.168648 P:K 1 0.48 0.48 0.0312 0.862752 Residuals 12 185.29 15.44 --- Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1 > coefficients(npk.aov) (Intercept) block2 block3 block4 block5 block6 51.8250000 3.4250000 6.7500000 -3.9000000 -3.5000000 2.3250000 N1 P1 K1 N1:P1 N1:K1 P1:K1 9.8500000 0.4166667 -1.9166667 -3.7666667 -4.7000000 0.5666667 The output for the ANOVA table is...
2017 Jul 07
3
Uncovering non-determinism in LLVM - The Next Steps
...out optimizations). > Again, any ordering changes that cause optimization differences are clear bugs in the pass. Yes, i know that this means we have a lot of bugs :) I consider any case where, due to a limit, identical [1] code optimizes differently, to be a bug. You should too! block1: foo block2: bar should optimize the same as block2: bar block1: foo Let me try to put this another way: My argument is precisely that code that is literally identical (but subject to expression in multiple textual forms) should be optimized the same way, and that's the avoidance of non-determinism you...
2013 Jul 25
0
[LLVMdev] Steps to addDestination
Hi Rasha, > for(rit=Result.begin();rit!=Result.end();++rit) > { > Value* Address= BlockAddress::get (*rit); > > IndirectBrInst *IBI = IndirectBrInst::Create(Address, Result.size(),i->getTerminator() ); > IBI->addDestination((*rit)); > } This would be creating a block looking something like: [ Do stuff ] indirectbr i8*
2009 Jul 29
2
Xen - Backend or Frontend or Both?
I have 6 boxes with a client config (see below) across 6 boxes. I am using distribute across 3 replicate pairs. Since I am running xen I need to disable-direct-io and that slows things down quite a bit. My thought was to move the replicate / distribute to the backend server config so that self heal can happen on faster backend rather then frontend client with disable-direct-io. Does this
2010 Apr 21
1
How to obtain the coefficients from a summary of aov ?
...") # get data model <- yield ~ block + N*P*K ## Using lm npk.lm <- lm(model, npk) ( s.npk.lm <- summary(npk.lm) ) ... Estimate Std. Error t value Pr(>|t|) (Intercept) 54.8750 0.8021 68.415 < 2e-16 *** block1 1.7125 1.3893 1.233 0.24131 block2 1.6792 0.8021 2.093 0.05822 . block3 -1.8229 0.5672 -3.214 0.00744 ** ... s.npk.lm$coef["block1","Pr(>|t|)"] # this works [1] 0.2413061 ## Using aov npk.aov <- aov(model, npk) ( s.npk.aov <- summary(npk.aov) ) ... Df Sum Sq M...
2013 Jul 24
2
[LLVMdev] Steps to addDestination
Hi 1- for(rit=Result.begin();rit!=Result.end();++rit) { Value* Address= BlockAddress::get (*rit); IndirectBrInst *IBI = IndirectBrInst::Create(Address, Result.size(),i->getTerminator() ); IBI->addDestination((*rit)); } I tried this code , but the needed destination wasn't added. 2- About LLVM backend $ llc -march=cpp example_file.ll -o I think it
2013 Apr 24
0
help with execution of 'embarrassingly parallel' problem using foreach, doParallel on a windows system
...cl) # foreach(i=1:100) %dopar% sqrt(i) d <- sort(rep(letters[1:24], 5)) e <- rep(1:24, 5) rand.int <- rnorm(n=length(e),mean=e, sd=4) f <- 3+ (e*rand.int)^2 g <- sort(rep(1:6, 20)) one <- data.frame(d,e,f,g) names(one) <- c('block1', 'ind', 'res','block2') one[1:50,] two <- expand.grid(one[,1], one[,4]) #actually is expand.grid(unique(one[,1]), unique(one[,4])) str(two) names(two) <- c('block1', 'block2') fitting <- function(ndx.grd=two,dt.grd=one,ind.vr='ind',rsp.vr='res') { ind.start<-10^8 item....
2000 Apr 05
2
My first R-program
...lier... this is the correct one: pValCalculator(b, n=20, m=20) { ind <- 1:min(c(n,m)) prob <- (1-pnorm(b,sd=std*sqrt(ind))) prob1 <- sum((n-ind+1)*(m-ind+1)*prob) prob1 } inputData <- scan("/users/lvssso/projects/LAMA/output/pValLamaScore.tmp", list(block1 = "",block2 = "",width1 = 0,width2 = 0,alignment = 0,score = 0)); pVal <- vector(mode = "numeric", length(inputData$score)); for(i in 1:length(inputData$score)) pVal[i] <- pValCalculator(inputData$score, inputData$width1, inputData$width2); inputData$pValue <- list(pVal); wri...
2012 Aug 21
1
Error: ReadItem: unknown type 98, perhaps written by later version of R
Hi, I am running a large number of jobs (thousands) in parallel (linux OS 64bit), R version 2.14.1 (2011-12-22), Platform: x86_64-redhat-linux-gnu (64-bit). Up to yesterday everything ran fine with jobs in several blocks (block1, block2 etc) of submission. They are sent to an LSF platform to handle the parallel submission. Today I see that only one of the blocks (the 19) has not finished correct: It reports in the out file: Error: ReadItem: unknown type 98, perhaps written by later version of R Execution halted Checking throug...
2011 Mar 20
2
Convert Sweave document to a function
I like Sweave, which I consider to be a great contribution. I have just written a .Rnw document that comes to about 6 pages of mixed code and mathematical explanation. Now I want to turn the R code into a function. My R code currently contains statements like N<-1000 and theta<- pi/10. In the next version of the document, I want N and theta to be parameters of a function, so that they can be
2017 Jul 06
3
Uncovering non-determinism in LLVM - The Next Steps
On Thu, Jul 6, 2017 at 12:34 PM, Sean Silva <chisophugis at gmail.com> wrote: > > > On Thu, Jul 6, 2017 at 10:20 AM, Daniel Berlin via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> >> >> On Thu, Jul 6, 2017 at 8:02 AM, Robinson, Paul via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> >>> >>>
2000 Apr 05
0
My first R program
...' on the line with the *** : pValCalculator(b, n=20, m=20) { ind <- 1:min(c(n,m)) prob <- (1-pnorm(b,sd=std*sqrt(ind))) prob1 <- sum((n-ind+1)*(m-ind+1)*prob) prob1 } inputData <- scan("/users/lvssso/projects/LAMA/output/pValLamaScore.tmp", list(block1 = "",block2 = "",width1 = 0,width2 = 0,alignment = 0,score = 0)); pVal <- vector(mode = "numeric", length(lamaScore)); for(i in 1:length(inputData$lamaScore) ***** pVal[i] <- pValCalculator(inputData$score, inputData$width1, inputData$width2); inputData$pValue <- list(pVal); w...
2009 Mar 19
1
How do I add a variable to a text file?
Hello all, I have a 2.0 GB dataset that I can't load into R, due to memory issues. The dataset itself is in a tab-delimited .txt file with 25 variables. I have a variable I'd like to add to the dataset. How do I do this? Best, Guillaume
2010 Sep 07
1
DO NOT REPLY [Bug 7667] New: "devices" regression test fails on x86_64-apple-darwin10
...g Here is the make test output; --- /Users/cartman/Sources/rsync/testtmp/devices/rsync.chk 2010-09-07 15:17:06.000000000 +0300 +++ /Users/cartman/Sources/rsync/testtmp/devices/rsync.out 2010-09-07 15:17:06.000000000 +0300 @@ -1,6 +1,7 @@ .d..t...... ./ cDc.t...... block cDc........ block2 +cD+++++++++ block3 cD+++++++++ char cD+++++++++ char2 cD+++++++++ char3 test 4 failed ----- devices log ends -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the Q...