search for: otim

Displaying 20 results from an estimated 24 matches for "otim".

Did you mean: optim
2012 Aug 01
17
[PATCH] add crtime to the snapshot list
From: Anand <anand.jain@oracle.com> This patch adds creation-time to the snapshot list display, which would help user to better manage the snapshots when number of snapshots grow substantially. This patch is developed and on top of the send/receive btrfs and btrfs-progs repo at git://github.com/ablock84/linux-btrfs.git (send-v2) git://github.com/ablock84/btrfs-progs.git (send-v2)
2013 Apr 11
0
[PATCH] Btrfs-progs: enhance 'btrfs subvolume list'
...is necessary because this commit also adds all the so far missing items from the root_item like the received UUID, all generation values and all time values. The parameters to the "--fields" option is a list of items to print: --fields=gen,dirid,uuid,puuid,ruuid,cgen,ogen,sgen,rgen,ctime,otime, stime,rtime,path,rootid,parent,topid,all Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> --- btrfs-list.c | 418 ++++++++++++++++++++++++++++++++++++------------------- btrfs-list.h | 40 +++++- cmds-subvolume.c | 57 +++----- man/btrfs.8.in | 19 +-- 4 files chan...
1997 Dec 09
1
[Fwd: R-beta: R 0.50 alpha]
...survival4). See the Ennapadam Venkatraman's example made in date 35/07/97 19.02 Ennapadam Venkatraman wrote: > library(splines) > library(survival4) > xx <- NULL > xx$ftim <- exp(-runif(100)) > xx$ctim <- 2*runif(100) > xx$sts <- 1*(xx$ftim <= xx$ctim) > xx$otim <- xx$sts*xx$ftim + (1-xx$sts)*xx$ctim > xx$z1 <- runif(100) > xx$z2 <- runif(100) > survfit( Surv(otim,sts) ~ 1,xx) Error in eval(frame, data)[subset, , drop = FALSE] : incorrect number of dimensions > coxph( Surv(otim,sts) ~ z1 + z2, data=xx) Error in eval(frame, data)[subset...
2011 Apr 13
3
predict()
Hi, I am experimenting with the function predict() in two versions of R and the R extension package "survival". library(survival) set.seed(123) testdat=data.frame(otime=rexp(10),event=rep(0:1,each=5),x=rnorm(10)) testfm=as.formula('Surv(otime,event)~x') testfun=function(dat,fm) { predict(coxph(fm,data=dat),type='lp',newdata=dat) } # Under R 2.11.1 and survival_2.35-8 testfun(testdat,testfm) > testfun(testdat,testfm) [,1] 1...
2011 Apr 13
3
predict()
Hi, I am experimenting with the function predict() in two versions of R and the R extension package "survival". library(survival) set.seed(123) testdat=data.frame(otime=rexp(10),event=rep(0:1,each=5),x=rnorm(10)) testfm=as.formula('Surv(otime,event)~x') testfun=function(dat,fm) { predict(coxph(fm,data=dat),type='lp',newdata=dat) } # Under R 2.11.1 and survival_2.35-8 testfun(testdat,testfm) > testfun(testdat,testfm) [,1] 1...
1997 Jul 25
2
R-beta: R 0.50 alpha
...ails. [Previously saved workspace restored] > runif(1) [1] 0.05205324 > .Random.seed [1] 4721 5660 21509 > library(splines) > library(survival4) > xx <- NULL > xx$ftim <- exp(-runif(100)) > xx$ctim <- 2*runif(100) > xx$sts <- 1*(xx$ftim <= xx$ctim) > xx$otim <- xx$sts*xx$ftim + (1-xx$sts)*xx$ctim > xx$z1 <- runif(100) > xx$z2 <- runif(100) > survfit( Surv(otim,sts) ~ 1,xx) Call: survfit(formula = Surv(otim, sts) ~ 1, data = xx) n events mean se(mean) median 0.95CI 0.95CI 100.0000 65.0000 0.6854 0.0223 0.7294...
1997 Jul 25
2
R-beta: R 0.50 alpha
...ails. [Previously saved workspace restored] > runif(1) [1] 0.05205324 > .Random.seed [1] 4721 5660 21509 > library(splines) > library(survival4) > xx <- NULL > xx$ftim <- exp(-runif(100)) > xx$ctim <- 2*runif(100) > xx$sts <- 1*(xx$ftim <= xx$ctim) > xx$otim <- xx$sts*xx$ftim + (1-xx$sts)*xx$ctim > xx$z1 <- runif(100) > xx$z2 <- runif(100) > survfit( Surv(otim,sts) ~ 1,xx) Call: survfit(formula = Surv(otim, sts) ~ 1, data = xx) n events mean se(mean) median 0.95CI 0.95CI 100.0000 65.0000 0.6854 0.0223 0.7294...
2002 Jun 27
1
Building from a source-code library under windows
...ouble *DMAT, long int *logparam, long int *logresp, double *Resp) { long int i, j, No = *norow, Nd = *ndrow, LogParam = *logparam, LogResp = *logresp; double Tdiff, a, b, k21, origReset, counterDose, id, T1, constReseti, constResetj, MaxOORDER = *maxoorder, MaxDORDER = *maxdorder, *OTime, *ITIME, *CL, *CLD, *V1, *VSS, *Tlag, *OID, *OORDER, *DTime, *DDose, *DID, *DORDER, *DEVID, *OrigDTime, *OrigDDose, *OrigDID, *OrigDORDER, *OrigDEVID, *tempDTime, *tempDDose, *tempDID, *tempDORDER, *tempDEVID; OTime = OMAT; ITIME = OMAT + No; CL = OMAT + No * 2; CLD = OMAT + No * 3;...
2010 Sep 23
1
non-linear integer optimization?
Are there any packages that do non-linear integer otimization? Looked at lpSolve but i'm pretty sure it only works with linear programming and not non-linear, tried "L-BFGS-B" optim after flooring all my params, works somewhat but seems really inefficient. Anything else I should look at? -- View this message in context: http://r.789695...
2010 Mar 26
1
Problems if optimization
What's up fellows... I am a begginer in R and i am trying to find the parameters of one likelihood function, but when i otimize it, always appers a error or advertisement and the solve does not occur. The problem seems like that: "lMix<-function(pars,y){ beta1<-pars[1] beta2<-pars[2] beta3<-pars[3] beta4<-pars[4] beta5<-pars[5] alfa1<-pars[6] Fsp<-log(1/(1+exp(beta1*y[,10]+beta2*y[,3]+beta3...
2009 Feb 12
1
Setting optimizer in lme
I am using R 2.7.0 on a linux platform. I am trying to reproduce a 2002 example using lme from the nlme library. I want to change the otimizer from the default (nlminb) to optim. Specifically, this is what I am trying to do: R> library(nlme) R> library(car) # for data only R> data(Blackmoor) # from car R> Blackmoor$log.exercise <- log(Blackmoor$exercise + 5/60, 2) R> attach(Blackmoor) R> lme(log.exercise ~ I(ag...
2006 May 22
1
Script AGI on C
...mpiled and it worked great. I executed accidentally the ls -l command in directory where was the source and executable, I noted and was surprised that because the executable size was to further 20 times more than source. I executed the gcc -Os source.c -o executable.agi command several times, with otimization flags different. Maximum i can affort to reduce the executable size was 17 times. The source size full comment is 448 Bytes; The size executable was about 7615 Bytes. (the maximum i got to reduce) I was hope the executable size was in the order of magnitude of the proper source size, since...
2011 May 11
0
kernel: dahdi: Master changed to B4/0/x
...nep: 0 May 11 19:18:19 kernel: dahdi: digitmode: 0, txdialbuf: , dialing: 0, aftdialtimer: 0, cadpos. 0 May 11 19:18:19 kernel: dahdi: confna: 0, confn: 0, confmode: 0, confmute: 0 May 11 19:18:19 kernel: dahdi: ec: (null), deflaw: 0, xlaw: ffffffffa0257d50 May 11 19:18:19 kernel: dahdi: itimer: 0, otimer: 0, ringdebtimer: 0 May 11 19:18:19 kernel: May 11 19:18:21 kernel: dahdi: Dump of DAHDI Channel 2 (B4/0/1/2,2,2): May 11 19:18:21 kernel: May 11 19:18:21 kernel: dahdi: flags: 501 hex, writechunk: ffff88013b740094, readchunk: ffff88013b7400ac May 11 19:18:21 kernel: dahdi: rxgain: ffffffffa02761...
2014 Dec 03
7
[PATCH] Improve LPC order guess
Hi, This patch improves compression a very tiny bit on average, but up to 0.1 percentage point for classical music. I haven't found any tracks that show worsening compression with this patch. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Improve-LPC-order-guess.patch Type: text/x-patch Size: 0 bytes Desc: not available Url :
2008 Jan 07
1
[PATCH]Add rollback support for the converter
...6,7 @@ again: goto fail; } ret = record_file_extent(trans, root, objectid, &btrfs_inode, - bytenr, bytenr, num_bytes, 1); + bytenr, bytenr, num_bytes, 0); if (ret) goto fail; last_byte = bytenr + num_bytes; @@ -958,6 +980,14 @@ again: goto fail; } + /* + * otime isn't used currently, so we can store some data in it. + * These data are used by do_rollback to check whether the image + * file have been modified. + */ + btrfs_set_stack_timespec_sec(&btrfs_inode.otime, trans->transid); + btrfs_set_stack_timespec_nsec(&btrfs_inode.otime, +...
2011 Apr 27
2
btrfs-convert crashes
...roup = 0, nlink = 1, uid = 1000, gid = 1000, mode = 16877, rdev = 0, flags = 0, sequence = 140737351933932, reserved = {0, 140737354040256, 140733193388033, 0}, atime = {sec = 1303466526, nsec = 0}, ctime = { sec = 1296464377, nsec = 0}, mtime = {sec = 1296464377, nsec = 0}, otime = {sec = 0, nsec = 0}} #10 copy_inodes (devname=0x7fffffffe897 "/dev/sdc1", datacsum=1, packing=1, noxattr=0) at convert.c:1154 ret =<value optimized out> err =<value optimized out> ext2_scan = 0xce2300 ext2_ino = 37359452 objectid...
2008 Oct 26
1
No incoming audio on Dahdi channels (TDM410P)
...sable: 0, iomask: 0 dahdi: curzone: 00000000, tonezone: 0, curtone: 00000000, tonep: 0 dahdi: digitmode: 0, txdialbuf: , dialing: 0, aftdialtimer: 0, cadpos. 0 dahdi: confna: 0, confn: 0, confmode: 0, confmute: 0 dahdi: ec: 00000000, echocancel: 0, deflaw: 0, xlaw: f8b6f2a0 dahdi: echostate: 00, echotimer: 0, echolastupdate: 0 dahdi: itimer: 0, otimer: 0, ringdebtimer: 0 No idea what any of that means or how it's relevant. dmesg is full of interrupt misses and polarity reversals: ... wctdm24xxp0: Missed interrupt. Increasing latency to 18 ms in order to compensate. wctdm24xxp0: Missed interr...
2012 Sep 06
0
[PATCH V3 0/7 ] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
...n pull those patches from the above URL. Thanks Miao --- Miao Xie (5): Btrfs-progs: fix compile warning of implicit declaration of "list_snapshots" Btrfs-progs: fix wrong usage of btrfs subvolume list command Btrfs-progs: fix wrong way to check if the root item contains otime and uuid Btrfs-progs: restructure list_subvolumes Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots Zhou Bo (2): Btrfs-progs: move the function declarations to a new head file Btrfs-progs: update the manpage entries for the btrfs subvolume list btrf...
2010 Mar 20
2
[PATCH 4/4] btrfs-convert: split into convert/.
..., 0); - btrfs_set_stack_timespec_sec(&dst->ctime, src->i_ctime); - btrfs_set_stack_timespec_nsec(&dst->ctime, 0); - btrfs_set_stack_timespec_sec(&dst->mtime, src->i_mtime); - btrfs_set_stack_timespec_nsec(&dst->mtime, 0); - btrfs_set_stack_timespec_sec(&dst->otime, 0); - btrfs_set_stack_timespec_nsec(&dst->otime, 0); - - if (S_ISDIR(src->i_mode)) { - btrfs_set_stack_inode_size(dst, 0); - btrfs_set_stack_inode_nlink(dst, 1); - } - if (S_ISREG(src->i_mode)) { - btrfs_set_stack_inode_size(dst, (u64)src->i_size_high << 32 | - (u6...
2012 Nov 01
41
[Request for review] [RFC] Add label support for snapshots and subvols
From: Anand Jain <anand.jain@oracle.com> (This patch is for the review/test not yet for the integration). Here is an implementation of the feature to add label to the subvolume and snapshots. Which would help sysadmin to better manager the subvol and snapshots. This can be done in two ways, one - using attr which is user land only changes but drawback is able to change the label