search for: 14,10

Displaying 20 results from an estimated 55 matches for "14,10".

Did you mean: 14,0
2004 Oct 22
1
[PATCH] off-by-one in asprintf/vasprintf
...(bytes+1); + *bufp = p = malloc(bytes); if ( !p ) return -1; diff -u klibc-0.188/klibc/vasprintf.c udev/klibc-0.188/klibc/vasprintf.c --- klibc-0.188/klibc/vasprintf.c 2004-10-22 12:07:41.994969864 -0600 +++ udev/klibc-0.188/klibc/vasprintf.c 2004-10-22 12:08:23.497660496 -0600 @@ -14,10 +14,10 @@ va_copy(ap1, ap); - bytes = vsnprintf(NULL, 0, format, ap1); + bytes = vsnprintf(NULL, 0, format, ap1) + 1; va_end(ap1); - *bufp = p = malloc(bytes+1); + *bufp = p = malloc(bytes); if ( !p ) return -1; -- Thayne Harbaugh Linux Networx -------------- next part -...
2014 Oct 02
2
[LLVMdev] Header File Not Found?
...msc-version=1800 -ferror-limit=1000 -m64 -fmsc-version=1800 [source-file].cpp And here's the error: 1> In file included from [source-file].cpp:9: 1> In file included from C:\[top-level-dir]\[source-dir]/[source-file].h:12: 1>C:\[top-level-dir]\[source-dir]/[another-header-file].h(14,10): fatal error : '[UPPER-CASE-NAME].h' file not found 1> #include "[UPPER-CASE-NAME].h" [UPPER-CASE-NAME].h is in C:\[top-level-dir]\[source-dir]\[sub-dir-1]\ (I wonder a bit about the forward slash in the third error line, but I assume it's just how the error messag...
2006 May 18
1
Negatives density values (PR#8876)
...-11 1.438340e-01 7.679909e+00 1.767860e+00 [13] 2.056151e-04 -1.407219e-16 -3.575895e-18 -1.979607e-16 [17] -1.574544e-17 -2.257917e-17 -2.305234e-16 4.052727e-18 > > #A plot of the "fluctuations" near zero > plot(result$x,result$y,type="l",xlim=c(-1,1),ylim=c(-10^-14,10^-14)) > abline(h=0) > > #All neagtives value of density are "near equal" to zero > all(apply(as.matrix(result$y[result$y<0]),1,all.equal, target=0)==TRUE) [1] TRUE > sessionInfo() R version 2.2.1, 2005-12-20, i386-pc-mingw32 attached base packages: [1] "meth...
2009 Feb 02
1
Assigning colnames in loop
...to split up a large dataset into about 20 smaller ones, and I would like to assign colnames within the loop, so I won't have to type the same thing 20 times over. I have concocted this really goofy example which constructs two datasets: ----- male <- rep(0:1, each=5) age <- factor(c(10:14,10:14)) DF <- data.frame(male, age, res1=rnorm(10), res2=rnorm(10), res3=rnorm(10)) for(n in 0:1) { assign(paste("test",n, sep="."), as.data.frame(t(subset(DF, male==n, select=c(res1, res2, res3))))) colnames(get(paste("test",n, sep="."))) <- paste(&...
2020 Apr 01
2
[PATCH] virtio/test: fix up after IOTLB changes
...ad(const char *fmt, ...) @@ -1059,6 +1061,8 @@ int vringh_need_notify_kern(struct vringh *vrh) } EXPORT_SYMBOL(vringh_need_notify_kern); +#ifdef VHOST_IOTLB + static int iotlb_translate(const struct vringh *vrh, u64 addr, u64 len, struct bio_vec iov[], int iov_size, u32 perm) @@ -1416,5 +1420,6 @@ int vringh_need_notify_iotlb(struct vringh *vrh) } EXPORT_SYMBOL(vringh_need_notify_iotlb); +#endif MODULE_LICENSE("GPL"); diff --git a/include/linux/vringh.h b/include/linux/vringh.h index bd0503ca6f8f..ebff121c0b02 100644 --- a/include/linux/vringh.h +++ b/include/...
2020 Apr 01
2
[PATCH] virtio/test: fix up after IOTLB changes
...ad(const char *fmt, ...) @@ -1059,6 +1061,8 @@ int vringh_need_notify_kern(struct vringh *vrh) } EXPORT_SYMBOL(vringh_need_notify_kern); +#ifdef VHOST_IOTLB + static int iotlb_translate(const struct vringh *vrh, u64 addr, u64 len, struct bio_vec iov[], int iov_size, u32 perm) @@ -1416,5 +1420,6 @@ int vringh_need_notify_iotlb(struct vringh *vrh) } EXPORT_SYMBOL(vringh_need_notify_iotlb); +#endif MODULE_LICENSE("GPL"); diff --git a/include/linux/vringh.h b/include/linux/vringh.h index bd0503ca6f8f..ebff121c0b02 100644 --- a/include/linux/vringh.h +++ b/include/...
2011 Feb 17
1
Populate a list / recursively set list values to NA
...s trying to figure out a simple way to create a list with the same dimension of another list, but populated with NA values. masterlist = list( aa=list( a=matrix(rnorm(100),10,10), b=matrix(rnorm(130),13,10), c=matrix(rnorm(140),14,10)), bb=list( a=matrix(rnorm(100),10,10), b=matrix(rnorm(110),11,10), c=matrix(rnorm(120),12,10)), cc=list( a=matrix(rnorm(100),10,10), b=matrix(rnorm(100),10,10),...
2008 May 30
2
[PATCH 1/3] virtio: VIRTIO_F_NOTIFY_ON_EMPTY to force callback on empty
...for %p (%p)\n", vq, vq->vq.callback); if (vq->vq.callback) vq->vq.callback(&vq->vq); diff -r 95a02f0e0e21 include/linux/virtio_config.h --- a/include/linux/virtio_config.h Tue May 27 12:45:17 2008 +1000 +++ b/include/linux/virtio_config.h Tue May 27 15:53:41 2008 +1000 @@ -14,6 +14,10 @@ #define VIRTIO_CONFIG_S_DRIVER_OK 4 /* We've given up on this device. */ #define VIRTIO_CONFIG_S_FAILED 0x80 + +/* Do we get callbacks when the ring is completely used, even if we've + * suppressed them? */ +#define VIRTIO_F_NOTIFY_ON_EMPTY 24 #ifdef __KERNEL__ #include...
2008 May 30
2
[PATCH 1/3] virtio: VIRTIO_F_NOTIFY_ON_EMPTY to force callback on empty
...for %p (%p)\n", vq, vq->vq.callback); if (vq->vq.callback) vq->vq.callback(&vq->vq); diff -r 95a02f0e0e21 include/linux/virtio_config.h --- a/include/linux/virtio_config.h Tue May 27 12:45:17 2008 +1000 +++ b/include/linux/virtio_config.h Tue May 27 15:53:41 2008 +1000 @@ -14,6 +14,10 @@ #define VIRTIO_CONFIG_S_DRIVER_OK 4 /* We've given up on this device. */ #define VIRTIO_CONFIG_S_FAILED 0x80 + +/* Do we get callbacks when the ring is completely used, even if we've + * suppressed them? */ +#define VIRTIO_F_NOTIFY_ON_EMPTY 24 #ifdef __KERNEL__ #include...
2020 Apr 02
1
[PATCH] virtio/test: fix up after IOTLB changes
...ringh *vrh) > > } > > EXPORT_SYMBOL(vringh_need_notify_kern); > > +#ifdef VHOST_IOTLB > > + > > static int iotlb_translate(const struct vringh *vrh, > > u64 addr, u64 len, struct bio_vec iov[], > > int iov_size, u32 perm) > > @@ -1416,5 +1420,6 @@ int vringh_need_notify_iotlb(struct vringh *vrh) > > } > > EXPORT_SYMBOL(vringh_need_notify_iotlb); > > +#endif > > MODULE_LICENSE("GPL"); > > diff --git a/include/linux/vringh.h b/include/linux/vringh.h > > index bd0503ca6f8f..ebff...
2011 Dec 02
4
[LLVMdev] LLVM-3.0 fails to build on linux ppc32
...gisters. This defines a mapping from // register name to register number. // --- llvm-3.0.src/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h 2011-07-26 02:24:13.000000000 +0200 +++ llvm-3.0.src/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h 2011-12-02 02:05:22.000000000 +0100 @@ -14,6 +14,10 @@ #ifndef LLVM_TARGET_POWERPC_PPCPREDICATES_H #define LLVM_TARGET_POWERPC_PPCPREDICATES_H +// Generated files will use "namespace PPC". To avoid symbol clash, +// undefine PPC here. PPC may be predefined on some hosts. +#undef PPC + namespace llvm { namespace PPC { /// P...
2019 Apr 29
1
[nbdkit PATCH] nbd: Give some examples
...nbd-plugin.pod | 38 +++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/plugins/nbd/nbdkit-nbd-plugin.pod b/plugins/nbd/nbdkit-nbd-plugin.pod index cd0db09..5add56f 100644 --- a/plugins/nbd/nbdkit-nbd-plugin.pod +++ b/plugins/nbd/nbdkit-nbd-plugin.pod @@ -14,8 +14,10 @@ It provides an NBD server that forwards all traffic as a client to another existing NBD server. A primary usage of this setup is to alter the set of features available to the ultimate end client, without having to change the original server (for example, to convert -between oldstyle...
2020 Apr 02
1
[PATCH v2] virtio/test: fix up after IOTLB changes
..., ...) @@ -1059,6 +1061,8 @@ int vringh_need_notify_kern(struct vringh *vrh) } EXPORT_SYMBOL(vringh_need_notify_kern); +#if IS_REACHABLE(CONFIG_VHOST_IOTLB) + static int iotlb_translate(const struct vringh *vrh, u64 addr, u64 len, struct bio_vec iov[], int iov_size, u32 perm) @@ -1416,5 +1420,6 @@ int vringh_need_notify_iotlb(struct vringh *vrh) } EXPORT_SYMBOL(vringh_need_notify_iotlb); +#endif MODULE_LICENSE("GPL"); diff --git a/include/linux/vringh.h b/include/linux/vringh.h index bd0503ca6f8f..9e2763d7c159 100644 --- a/include/linux/vringh.h +++ b/include/...
2011 Dec 02
0
[LLVMdev] LLVM-3.0 fails to build on linux ppc32
...om > // register name to register number. > // > --- llvm-3.0.src/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h > 2011-07-26 02:24:13.000000000 +0200 > +++ llvm-3.0.src/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h > 2011-12-02 02:05:22.000000000 +0100 > @@ -14,6 +14,10 @@ > #ifndef LLVM_TARGET_POWERPC_PPCPREDICATES_H > #define LLVM_TARGET_POWERPC_PPCPREDICATES_H > > +// Generated files will use "namespace PPC". To avoid symbol clash, > +// undefine PPC here. PPC may be predefined on some hosts. > +#undef PPC > + > na...
2011 Dec 02
1
[LLVMdev] LLVM-3.0 fails to build on linux ppc32
...egister number. > > // > > --- llvm-3.0.src/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h > > 2011-07-26 02:24:13.000000000 +0200 > > +++ llvm-3.0.src/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h > > 2011-12-02 02:05:22.000000000 +0100 > > @@ -14,6 +14,10 @@ > > #ifndef LLVM_TARGET_POWERPC_PPCPREDICATES_H > > #define LLVM_TARGET_POWERPC_PPCPREDICATES_H > > > > +// Generated files will use "namespace PPC". To avoid symbol clash, > > +// undefine PPC here. PPC may be predefined on some hosts. > &g...
2007 Apr 18
1
[PATCH 2/12] ldt-accessors
...try_1, entry_2); error = 0; out_unlock: Index: linux-2.6.13/arch/i386/kernel/kprobes.c =================================================================== --- linux-2.6.13.orig/arch/i386/kernel/kprobes.c 2005-08-08 13:50:12.000000000 -0700 +++ linux-2.6.13/arch/i386/kernel/kprobes.c 2005-08-08 14:16:47.000000000 -0700 @@ -156,17 +156,15 @@ struct kprobe *p; int ret = 0; kprobe_opcode_t *addr = NULL; - unsigned long *lp; /* We're in an interrupt, but this is clear and BUG()-safe. */ preempt_disable(); /* Check if the application is using LDT entry for its code segment and...
2007 Apr 18
1
[PATCH 2/12] ldt-accessors
...try_1, entry_2); error = 0; out_unlock: Index: linux-2.6.13/arch/i386/kernel/kprobes.c =================================================================== --- linux-2.6.13.orig/arch/i386/kernel/kprobes.c 2005-08-08 13:50:12.000000000 -0700 +++ linux-2.6.13/arch/i386/kernel/kprobes.c 2005-08-08 14:16:47.000000000 -0700 @@ -156,17 +156,15 @@ struct kprobe *p; int ret = 0; kprobe_opcode_t *addr = NULL; - unsigned long *lp; /* We're in an interrupt, but this is clear and BUG()-safe. */ preempt_disable(); /* Check if the application is using LDT entry for its code segment and...
1997 Dec 11
0
cvs and smbdes.c
...ike the diffs has lost sync somehow, since some lines are duplicated, and others have mismatched parenthesises). Here is the diff I get between the current cvs version and alpha12. --- alpha12/source/smbdes.c Mon Oct 27 18:15:44 1997 +++ samba/source/smbdes.c Thu Dec 11 10:00:31 1997 @@ -14,10 +14,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a cop...
2019 Apr 18
1
[PATCH] Allow the initramfs to be persisted across root changes
...++++++++ debian/patches/series | 1 + 3 files changed, 136 insertions(+) create mode 100644 debian/patches/run-init-allow-initramfs-persist diff --git a/debian/changelog b/debian/changelog index 202f9d96..d658fa70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,10 @@ klibc (2.0.6-2) UNRELEASED; urgency=medium [ James Clarke ] * debian/control: Restrict m4 build dependency to just sparc + [ Matthew Garrett ] + * debian/patches/run-init-allow-initramfs-persist: Make it possible to + persist the initramfs into the running system + -- Ben...
2020 Apr 02
0
[PATCH] virtio/test: fix up after IOTLB changes
...vringh_need_notify_kern(struct vringh *vrh) > } > EXPORT_SYMBOL(vringh_need_notify_kern); > > +#ifdef VHOST_IOTLB > + > static int iotlb_translate(const struct vringh *vrh, > u64 addr, u64 len, struct bio_vec iov[], > int iov_size, u32 perm) > @@ -1416,5 +1420,6 @@ int vringh_need_notify_iotlb(struct vringh *vrh) > } > EXPORT_SYMBOL(vringh_need_notify_iotlb); > > +#endif > > MODULE_LICENSE("GPL"); > diff --git a/include/linux/vringh.h b/include/linux/vringh.h > index bd0503ca6f8f..ebff121c0b02 10064...