Displaying 8 results from an estimated 8 matches for "dupnam".
Did you mean:
dupname
2013 Sep 05
12
[PATCH 0/5] Memory leaks amended
Memory leaks found by the tool--valgrind along with static reviewing.
Based on Daivd''s branch ''integration-20130903''.
Gui Hecheng (5):
btrfs-progs:free local variable buf upon unsuccessful returns
btrfs-progs:local variable memory freed
btrfs-progs: missing tree-freeing statements added
btrfs-progs:free the local list pending_list in btrfs_scan_one_dir
2015 Sep 09
1
[PATCH v1 1/1] extlinux: fix memory leak
...evice names to standard filenames
*/
-static const char *find_device_sysfs(dev_t dev)
+static char *find_device_sysfs(dev_t dev)
{
char sysname[64];
char linkname[PATH_MAX];
@@ -1281,9 +1281,20 @@ err:
return rv;
}
-static const char *get_devname(const char *path)
+static char *dupname(const char *name)
{
- const char *devname = NULL;
+ char *out = NULL;
+ int len = 0;
+ if (name)
+ len = strlen(name);
+ if (len > 0)
+ out = strndup(name, len);
+ return out;
+}
+
+static char *get_devname(const char *path)
+{
+ char *devname = NULL;
st...
2015 Sep 09
0
[PATCH v1 1/1] extlinux: fix memory leak
...evice names to standard filenames
*/
-static const char *find_device_sysfs(dev_t dev)
+static char *find_device_sysfs(dev_t dev)
{
char sysname[64];
char linkname[PATH_MAX];
@@ -1281,9 +1281,20 @@ err:
return rv;
}
-static const char *get_devname(const char *path)
+static char *dupname(const char *name)
+{
+ char *out = NULL;
+ int len = 0;
+ if (name)
+ len = strlen(name);
+ if (len > 0)
+ out = strndup(name, len);
+ return out;
+}
+
+static char *get_devname(const char *path)
{
- const char *devname = NULL;
+ char *devname = NULL;
st...
2015 Sep 10
2
[PATCH v2 1/1] extlinux: fix memory leak
...evice names to standard filenames
*/
-static const char *find_device_sysfs(dev_t dev)
+static char *find_device_sysfs(dev_t dev)
{
char sysname[64];
char linkname[PATH_MAX];
@@ -1281,9 +1281,20 @@ err:
return rv;
}
-static const char *get_devname(const char *path)
+static char *dupname(const char *name)
{
- const char *devname = NULL;
+ char *out = NULL;
+ int len = 0;
+ if (name)
+ len = strlen(name);
+ if (len > 0)
+ out = strndup(name, len);
+ return out;
+}
+
+static char *get_devname(const char *path)
+{
+ char *devname = NULL;
st...
2015 Sep 11
0
[PATCH v2 1/1] extlinux: fix memory leak
...st char *find_device_sysfs(dev_t dev)
> +static char *find_device_sysfs(dev_t dev)
> {
> char sysname[64];
> char linkname[PATH_MAX];
> @@ -1281,9 +1281,20 @@ err:
> return rv;
> }
>
> -static const char *get_devname(const char *path)
> +static char *dupname(const char *name)
> {
> - const char *devname = NULL;
> + char *out = NULL;
> + int len = 0;
> + if (name)
> + len = strlen(name);
> + if (len > 0)
> + out = strndup(name, len);
> + return out;
> +}
> +
> +static char *get_dev...
2010 Jun 24
1
how can I evaluate a formula passed as a string?
...=== === ========== ============
M 45 1 0
M 46 2 1
F 42 2 0.5
blah <- function(df=df, dup="C", aligns=c("A","B"),
dupFuns=c("length(unique(x)","median(x)", dupNames) {
### A function where it will "widen" the df based upon the "aligns" columns,
taking care to summarize the "dup" column using the "dupFuns"
tmp <- aggregate(df[,dup], by=as.list(df[,aligns]), FUN=function(x) { *
eval(dupFuns[1])* } )
names(tmp)...
2009 Jun 05
1
problem with using subset from two different tables
Hi all,
I am new to R-project my problem is I tried to get subset from two different
tables its giving error
but if i m tring for geting results from one table its working
actually i have to take values from two tables with applying different
conditions on two tables like
kk- is an object of one table and
fk- is an object of another table
here i have to get values from these tables like
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