search for: in_fil

Displaying 20 results from an estimated 20 matches for "in_fil".

Did you mean: in_file
2004 Apr 14
2
again question about nmath/standalone
...STANDALONE #include <math.h> #include <stdlib.h> #include <stdio.h> #include </usr/local/lib/R/include/Rmath.h> main() { double **x, **y, **x1, **y1, valin; int i,j,I,J; I=3; J=3; x=Allocate_Memory_2D( I, J, x1); y=Allocate_Memory_2D( I, J, y1); FILE *in_file; /* input x value from file data_2Dx.txt */ in_file=fopen("data_2Dx.txt","r"); if (in_file==NULL) {/*Test for error*/ fprintf(stderr,"Error:Unable to input file from 'data_2Dx.txt'\n"); exit(8); } for( i=0;i<I; i++) for (j=0;j<J;j...
2004 Apr 22
2
Urgent:again question about nmath/standalone
...STANDALONE #include <math.h> #include <stdlib.h> #include <stdio.h> #include </usr/local/lib/R/include/Rmath.h> main() { double **x, **y, **x1, **y1, valin; int i,j,I,J; I=3; J=3; x=Allocate_Memory_2D( I, J, x1); y=Allocate_Memory_2D( I, J, y1); FILE *in_file; /* input x value from file data_2Dx.txt */ in_file=fopen("data_2Dx.txt","r"); if (in_file==NULL) {/*Test for error*/ fprintf(stderr,"Error:Unable to input file from 'data_2Dx.txt'\n"); exit(8);...
2020 Aug 12
2
[PATCH v2] appliance: extract UUID from QCOW2 disk image
..._h *g, const char *appliance) +do_get_root_uuid (guestfs_h *g, const char *appliance) { CLEANUP_CMD_CLOSE struct command *cmd = guestfs_int_new_command (g); char *ret = NULL; @@ -96,6 +96,74 @@ get_root_uuid (guestfs_h *g, const char *appliance) } /** + * Read the first 256k bytes of the in_file with L<qemu-img(1)> command + * and write them into the out_file. That may be useful to get UUID of + * the QCOW2 disk image with further L<file(1)> command. + * The function returns zero if successful, otherwise -1. + */ +static int +run_qemu_img_dd (guestfs_h *g, const char *in_file,...
2020 Aug 13
2
[PATCH v3] appliance: extract UUID from QCOW2 disk image
...const char *appliance) +get_root_uuid_with_file (guestfs_h *g, const char *appliance) { CLEANUP_CMD_CLOSE struct command *cmd = guestfs_int_new_command (g); char *ret = NULL; @@ -96,6 +96,72 @@ get_root_uuid (guestfs_h *g, const char *appliance) } /** + * Read the first 256k bytes of the in_file with L<qemu-img(1)> command + * and write them into the out_file. That may be useful to get UUID of + * the QCOW2 disk image with further L<file(1)> command. + * The function returns zero if successful, otherwise -1. + */ +static int +run_qemu_img_dd (guestfs_h *g, const char *in_file,...
2020 Aug 12
0
[PATCH] appliance: extract UUID from QCOW2 disk image
..._h *g, const char *appliance) +do_get_root_uuid (guestfs_h *g, const char *appliance) { CLEANUP_CMD_CLOSE struct command *cmd = guestfs_int_new_command (g); char *ret = NULL; @@ -96,6 +96,74 @@ get_root_uuid (guestfs_h *g, const char *appliance) } /** + * Read the first 256k bytes of the in_file with L<qemu-img(1)> command + * and write them into the out_file. That may be useful to get UUID of + * the QCOW2 disk image with further L<file(1)> command. + * The function returns zero if successful, otherwise -1. + */ +static int +run_qemu_img_dd (guestfs_h *g, const char *in_file,...
2020 Aug 13
0
Re: [PATCH v3] appliance: extract UUID from QCOW2 disk image
...th_file (guestfs_h *g, const char *appliance) > { > CLEANUP_CMD_CLOSE struct command *cmd = guestfs_int_new_command (g); > char *ret = NULL; > @@ -96,6 +96,72 @@ get_root_uuid (guestfs_h *g, const char *appliance) > } > > /** > + * Read the first 256k bytes of the in_file with L<qemu-img(1)> command > + * and write them into the out_file. That may be useful to get UUID of > + * the QCOW2 disk image with further L<file(1)> command. > + * The function returns zero if successful, otherwise -1. > + */ > +static int > +run_qemu_img_dd (gues...
2020 Aug 12
0
Re: [PATCH] appliance: extract UUID from QCOW2 disk image
...st char *appliance) > > { > > CLEANUP_CMD_CLOSE struct command *cmd = guestfs_int_new_command (g); > > char *ret = NULL; > >@@ -96,6 +96,74 @@ get_root_uuid (guestfs_h *g, const char *appliance) > > } > > /** > >+ * Read the first 256k bytes of the in_file with L<qemu-img(1)> command > >+ * and write them into the out_file. That may be useful to get UUID of > >+ * the QCOW2 disk image with further L<file(1)> command. > >+ * The function returns zero if successful, otherwise -1. > >+ */ > >+static int > &g...
2005 Apr 23
2
How to override coerion error in 'scan'
I am using 'read.csv' in V2.0.1 to read in a CSV file with the colClasses option and am getting an error from 'scan' when it encounters a non-numeric value for a 'numeric' column, i.e. > ds <- read.csv(in_file, nrows=irow, row.names=NULL, colClasses=zclass, comment.char="") Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : "scan" expected a real, got "03/15/200523:56:03" Is there a way to override this and just have...
2020 Aug 12
0
Re: [PATCH] appliance: extract UUID from QCOW2 disk image
...;>  { > >>    CLEANUP_CMD_CLOSE struct command *cmd = guestfs_int_new_command (g); > >>    char *ret = NULL; > >>@@ -96,6 +96,74 @@ get_root_uuid (guestfs_h *g, const char *appliance) > >>  } > >>  /** > >>+ * Read the first 256k bytes of the in_file with L<qemu-img(1)> command > >>+ * and write them into the out_file. That may be useful to get UUID of > >>+ * the QCOW2 disk image with further L<file(1)> command. > >>+ * The function returns zero if successful, otherwise -1. > >>+ */ > >&gt...
2017 Aug 14
6
Failback mailboxes?
Hi! Have been using Fedora as my dovecot server for some time and am struggling with systemd at every update. Fedora insists on setting ProtectSystem=full in both dovecot.service and postfix.service at every update of the packages. This makes my mailstore which is in /usr/local/var/mail Read-only. And this makes the incoming emails delivered through dovecot-lda disappear into /dev/null until I
2017 Aug 14
1
Failback mailboxes?
...ugust 2017 10:22:54 Sander Lepik wrote: > 14.08.2017 09:24 Dag Nygren kirjutas: > > PS! I really hate systemd - Destroys the UNIX way of > > doing things with a heavy axe.... > > Don't hate it, better learn to use it: > https://wiki.archlinux.org/index.php/systemd#Drop-in_files Cannot find a way to "remove" the ProtectSystem setting as there is no option to set ProtectSystem=none . At least not according to the systemd manual... Dag
2011 Jul 28
5
MoH - conversion command
Hi, I've been trying to get MoH files to sound decent. I've got a hold of Royalty-free Classical music (a safe choice for most of my customers) and I`ve been trying to convert them to the normal telephony/Asterisk format using sox. Unfortunately, it sounds really bad. I don't expect concert hall quality of course, 8000KHz being what it is, but is there a better way to convert
2017 Apr 02
2
samba Digest, Vol 172, Issue 2
..."/var/log/named/config.log" versions 3 size 5m; severity dynamic; print-time yes; }; channel resolver_file { file "/var/log/named/resolver.log" versions 3 size 5m; severity dynamic; print-time yes; }; channel xfer-in_file { file "/var/log/named/xfer-in.log" versions 3 size 5m; severity dynamic; print-time yes; }; channel xfer-out_file { file "/var/log/named/xfer-out.log" versions 3 size 5m; severity dynamic; print-time yes; };...
2005 Apr 04
0
io timeout after 180 seconds
...39;.'); ~ continue; ~ } ~ else { ~ writeln('Aborting re-initialization.'); ~ exit; ~ } ~ } ~ writeln('Re-initialization complete.'); } // }}} // {{{ showUsage() /** ~ * Shows the usage message ~ * ~ * @param string $in_file The currently running file name ~ * ~ * @access public ~ * @return void ~ */ function showUsage($in_file) { ~ $s_usage = 'RIBS version ' . RIBS_VERSION . ' Copyright (c) 2002-2003 Jason Rust <jrust@rustyparts.com> RIBS (Rsync Incremental Backup System) is a command line PHP s...
2017 Aug 14
0
Failback mailboxes?
...; > My question is: > Is there any way to set up a failback mailstore > for these occasions? > > PS! I really hate systemd - Destroys the UNIX way of > doing things with a heavy axe.... Don't hate it, better learn to use it: https://wiki.archlinux.org/index.php/systemd#Drop-in_files Just override the default conf and update won't break it. Also, maybe it's time to move Your mailstore under /var/something... I guess even more restrictions will be applied on /usr in the future. If You want to do things in the UNIX way then first make sure You know what should go unde...
2007 Mar 29
1
Remove the printing of harmless ERRORS like ECONNRESET, EPIPE
...fs/ocfs2/file.c =================================================================== --- fs/ocfs2/file.c (revision 3001) +++ fs/ocfs2/file.c (working copy) @@ -368,8 +368,6 @@ static ssize_t ocfs2_file_sendfile(struc down_read(&OCFS2_I(inode)->ip_alloc_sem); ret = generic_file_sendfile(in_file, ppos, count, actor, target); - if (ret < 0) - mlog_errno(ret); up_read(&OCFS2_I(inode)->ip_alloc_sem);
2003 May 18
1
Problems with the pyvorbis Python wrapper under Windows
Hi! The following Python code does what is excepted under Linux: >>> from ogg.vorbis import * >>> com=VorbisFile('01.ogg').comment() >>> com['title']='foo' >>> com.write_to('01.ogg') but under Windows I get the following error: Traceback (most recent call last): File "<stdin>", line 1, in ? IOError: [Errno
2008 Jul 19
2
Noise problem while encoding and decoding
Hi, everyone! I'm a newbie of speex develog. I tried to encode and decode with the sample program in the speex manual. I compile those program with gcc sampleenc.c -o enc -lspeex gcc sampledec.c -o dec -lspeex I run these two program in this way and then speak loudly: ./enc /dev/dsp ? ./dec /dev/dsp I thought I would hear my voice. However, what i heard was a lot of noise. I
2017 Apr 02
5
samba Digest, Vol 172, Issue 2
Hallo Rowland I change the right from 600 (root:root) to 660 (root:bind) and i get following errormessage. 02-Apr-2017 14:56:15.190 client 192.168.99.6#54534 (client006.my.domain.de): query: client006.my.domain.de IN SOA + (192.168.99.8) 02-Apr-2017 14:56:15.194 client 192.168.99.6#64810 (client008.my.domain.de): query: client008.my.domain.de IN A + (192.168.99.8) 02-Apr-2017 14:56:15.199
2019 Aug 05
6
samba dlz. bind9 nslookup is wrong
... From your output below.. >> Uncomment only single database line, depending on your BIND version << Then tell uss, why are 3 lines uncommented? I suggest, run : https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh Anonimize it where needed, and show me your server setup. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: