search for: tstr

Displaying 15 results from an estimated 15 matches for "tstr".

Did you mean: str
2003 Jun 17
0
A 'pretty' function for POSIXt objects
I have written a set of functions for POSIXt objects that I would like to offer for consideration for use in base R. They augment and extend existing functions. Briefly, ## pretty.ct function(x,specs=pretty.ct.specs) ## round.ct function(x, tstr='1 min' ) ## axis.ct function(side,x,specs=NULL,...) ## parse.timeint function(dv) ## parse.tstr function(tstr) ## pretty.ct.specs default value for the 'specs' argument of pretty.ct() pretty.ct() is a 'pretty' function for POSIXt objects. It...
2013 Apr 11
0
[PATCH] Btrfs-progs: enhance 'btrfs subvolume list'
...__list_subvol_fill_paths(int fd, struct root_lookup *root_lookup) return 0; } -static void print_subvolume_column(struct root_info *subv, - enum btrfs_list_column_enum column) +static int print_subvolume_column(struct root_info *subv, + enum btrfs_list_column_enum column) { char tstr[256]; char uuidparse[37]; + int width; BUG_ON(column >= BTRFS_LIST_ALL || column < 0); switch (column) { case BTRFS_LIST_OBJECTID: - printf("%llu", subv->root_id); + width = printf("%llu", subv->root_id); break; case BTRFS_LIST_GENERATION: - print...
2010 Jun 27
1
[PATCH] ROSH: Upgraded
...ing Directory string */ -void rosh_cfg(const char *cmdstr, const char *pwdstr) +void rosh_cfg(void) { - ROSH_DEBUG("CMD: '%s'\npwd: '%s'\n", cmdstr, pwdstr); printf("CFG: '%s'\n", syslinux_config_file()); } /* rosh_cfg */ +/* Process optstr to optarr + * optstr option string to process + * optarr option array to populate + */ +void rosh_ls_arg_opt(const char *optstr, int *optarr) +{ + char *cpos; + cpos = strchr(optstr, 'l'); + if (cpos) { + optarr[0] = cpos - optstr; + } else { + optarr[0] = -1; + } + cpos =...
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)
2007 Apr 03
1
Speex ARM4 patch
The attached patch eliminates some warnings while compiling for ARM4 targets. It also simplifies the asm constraints a bit. Now we can use the ARM4 optimisations when compiling for PortalPlayer targets in Rockbox. Cheers, Dan -------------- next part -------------- A non-text attachment was scrubbed... Name: speex_arm4.patch Type: text/x-diff Size: 1550 bytes Desc: not available Url :
2009 Mar 31
1
Convert date to integer
Hello, I have a dataframe containing dates, times and other parameters. The times have the format "h:m", e.g. 13:00 or 5:30, R classes them as factors. I want to change the times to integers e.g. 13:00 -> 1300. I tried to use "chron" to create a chronological object, but it didn't work for the times (yust for the dates). ----- Tamara Hoebinger University of Vienna --
2005 Dec 06
1
ARM4 filter code
...\tadd %10, %10, %9, lsl #17\n" + "\trsb %11, %5, #0\n" + "\tsmull %8, %9, %11, %6\n" + "\tmov %8, %8, lsr #15\n" + "\tadd %8, %8, %9, lsl #17\n" + "\tsub %10, %10, %8\n" "\tstr %10, [%0], #4 \n" : "=r" (deadm), "=r" (deadn), "=r" (deadd), "=r" (deadidx),
2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
...nt -= kcount; } @@ -504,12 +547,12 @@ static int printk_prefix_check(char *p, char **pp) ((loglvl < upper_thresh) && printk_ratelimit())); } -static void printk_start_of_line(void) +static void printk_start_of_line(const char *prefix) { struct tm tm; char tstr[32]; - __putstr("(XEN) "); + __putstr(prefix); if ( !opt_console_timestamps ) return; @@ -524,12 +567,11 @@ static void printk_start_of_line(void) __putstr(tstr); } -void printk(const char *fmt, ...) +static void vprintk_common(const char *prefix, const cha...
2008 Jun 15
2
round(1.5) = round(2.5) = 2?
...-- Markus Didion Waldökologie Forest Ecology Inst. f. Terrestrische Oekosysteme Inst. of Terrestrial Ecosystems Departement Umweltwissenschaften Dept. of Environmental Sciences Eidg. Technische Hochschule Swiss Fed. Inst. of Technology ETH-Zentrum CHN G78 ETH-Zentrum CHN G78 Universitätstr. 22 Universitaetstr. 22 CH-8092 Zürich CH-8092 Zurich Schweiz Switzerland Tel +41 (0)44 632 5629 Fax +41 (0)44 632 1358 Email markus.didion@env.ethz.ch homepage: http://www.fe.ethz.ch/people/didionm [[alternative HTML version deleted]]
2008 Jan 29
2
B-W stacked area chart with pattern
...us -- Markus Didion Wald?kologie Forest Ecology Inst. f. Terrestrische Oekosysteme Inst. of Terrestrial Ecosystems Departement Umweltwissenschaften Dept. of Environmental Sciences Eidg. Technische Hochschule Swiss Fed. Inst. of Technology ETH-Zentrum CHN G78 ETH-Zentrum CHN G78 Universit?tstr. 22 Universitaetstr. 22 CH-8092 Z?rich CH-8092 Zurich Schweiz Switzerland Tel +41 (0)44 632 5629 Fax +41 (0)44 632 1358 Email markus.didion at env.ethz.ch homepage: http://www.fe.ethz.ch/people/didionm
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
...nt -= kcount; } @@ -504,12 +547,12 @@ static int printk_prefix_check(char *p, char **pp) ((loglvl < upper_thresh) && printk_ratelimit())); } -static void printk_start_of_line(void) +static void printk_start_of_line(const char *prefix) { struct tm tm; char tstr[32]; - __putstr("(XEN) "); + __putstr(prefix); if ( !opt_console_timestamps ) return; @@ -524,12 +567,11 @@ static void printk_start_of_line(void) __putstr(tstr); } -void printk(const char *fmt, ...) +static void vprintk_common(const char *prefix, const cha...
2008 Feb 22
1
addtable2plot(plotrix)
...kus -- Markus Didion Wald?kologie Forest Ecology Inst. f. Terrestrische Oekosysteme Inst. of Terrestrial Ecosystems Departement Umweltwissenschaften Dept. of Environmental Sciences Eidg. Technische Hochschule Swiss Fed. Inst. of Technology ETH-Zentrum CHN G78 ETH-Zentrum CHN G78 Universit?tstr. 22 Universitaetstr. 22 CH-8092 Z?rich CH-8092 Zurich Schweiz Switzerland Tel +41 (0)44 632 5629 Fax +41 (0)44 632 1358 Email markus.didion at env.ethz.ch homepage: http://www.fe.ethz.ch/people/didionm
2009 Sep 02
0
Wine release 1.1.29
...awStridedInstanced(). wined3d: Get rid of a redundant memset() in device_stream_info_from_declaration(). d3d10: Add the ID3D10EffectScalarVariable interface. d3d10: Add the ID3D10EffectVectorVariable interface. wined3d: Remove trailing spaces. d3d10: Add the ID3D10EffectStringVariable interface. d3d10: Add the ID3D10EffectShaderResourceVariable interface. d3d10: Add the ID3D10EffectRenderTargetViewVariable interface. d3d10: Add the ID3D10EffectDepthStencilViewVariable interface. d3d9: Remove trailing spaces. d3d10: Add the _D3D10_EFFECT_S...
2013 Nov 16
16
[PATCH] BTRFS-PROG: recursively subvolume snapshot and delete
Hi All, the following patches implement the recursively snapshotting and deleting of a subvolume. To snapshot recursively you must pass the -R switch: # btrfs subvolume create sub1 Create subvolume ''./sub1'' # btrfs subvolume create sub1/sub2 Create subvolume ''sub1/sub2'' # btrfs subvolume snapshot -R sub1 sub1-snap Create a snapshot of
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
...the beginning. > I want to change the times to integers e.g. 13:00 -> 1300. I tried to use > "chron" to create a chronological object, but it didn't work for the times > (yust for the dates). > If that's all (no NA?) a simple replace might work df = data.frame(tstr=c("13:00","5:30")) df$tint = as.integer(gsub(":","",as.character(df$tstr))) Dieter ------------------------------ Message: 107 Date: Tue, 31 Mar 2009 09:56:28 +0000 (UTC) From: Dieter Menne <dieter.menne@menne-biomed.de> Subject: Re: [R] To save T...