search for: searchstart

Displaying 3 results from an estimated 3 matches for "searchstart".

Did you mean: search_start
2010 Dec 05
1
[PATCH 4/5][REPOST][BTRFS-PROGS] Avoid to scan cdrom and floppy
...struct btrfs_ioctl_vol_args args; int ret; @@ -666,15 +680,30 @@ int do_show_filesystem(int argc, char **argv) struct list_head *all_uuids; struct btrfs_fs_devices *fs_devices; struct list_head *cur_uuid; - char *search = argv[1]; + char *search=0; int ret; + int checklist = 1; + int searchstart = 1; - ret = btrfs_scan_one_dir("/dev", 0); + if( argc >= 2 && !strcmp(argv[1],"--all-devices")){ + checklist = 0; + searchstart += 1; + } + + if( argc > searchstart+1 ){ + fprintf(stderr, "ERROR: too many arguments\n"); + return 22; + } + + ret =...
2011 Mar 10
2
Selecting ranges of dates from a dataframe
...select all single days dates.serv <- unique(strptime(serv$datum, format="%Y-%m-%d")) # create a data.frame values <- data.frame(row.names=1, datum=numeric(0), write=numeric(0), read=numeric(0)) for(i in as.character(dates.serv)) { # build up a values for a day-range searchstart <- as.POSIXlt(paste(i, "00:00:00", sep=" ")) searchend <- as.POSIXlt(paste(i, "23:59:59", sep=" ")) # select all values from a specific day day <- serv[(serv$datum >= searchstart & serv$datum <= searchend),]...
2013 Aug 14
23
[RFC] btrfs-progs: fix sparse checking and warnings
Hi gang, I was a little surprised to see that patch go by recently which fixed an endian bug. I went to see how sparse checking looked and it was.. broken. I got it going again in my Fedora environment. Most of the patches are just cleanups, but there *were* three real bugs lurking in all that sparse warning spam. So I maintain that it''s worth our time to keep it going and fix