search for: noempty

Displaying 18 results from an estimated 18 matches for "noempty".

Did you mean: nonempty
2016 Dec 18
0
[PATCH v4 4/6] mllib: modify nsplit to take optional noempty and count arguments
Added two new optional arguments to nsplit: * noempty: if set to false empty elements are not stored in the returned list. The default is to keep the empty elements * count: specifies how many splits to perform; negative count (the default) means do as many splits as possible Added tests for nsplit. Signed-off-by: Tomáš Golembiovský <tgolemb...
2016 Dec 22
2
Re: [PATCH v4 4/6] mllib: modify nsplit to take optional noempty and count arguments
On Sunday, 18 December 2016 23:16:31 CET Tomáš Golembiovský wrote: > Added two new optional arguments to nsplit: > > * noempty: if set to false empty elements are not stored in the returned > list. The default is to keep the empty elements > > * count: specifies how many splits to perform; negative count > (the default) means do as many splits as possible > > Added tests for nsplit. > > Signe...
2016 Dec 07
0
[PATCH v3 4/6] mllib: modify nsplit to take optional noempty and count arguments
Added two new optional arguments to nsplit: * noempty: if set to false empty elements are not stored in the returned list. The default is to keep the empty elements * count: specifies how many splits to perform; negative count (the default) means do as many splits as possible Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com> --- mll...
2016 Dec 09
2
Re: [PATCH v3 4/6] mllib: modify nsplit to take optional noempty and count arguments
On Wednesday, 7 December 2016 17:13:08 CET Tomáš Golembiovský wrote: > Added two new optional arguments to nsplit: > > * noempty: if set to false empty elements are not stored in the returned > list. The default is to keep the empty elements > > * count: specifies how many splits to perform; negative count > (the default) means do as many splits as possible > > Signed-off-by: Tomáš Golembiovský <tg...
2016 Dec 09
0
Re: [PATCH v3 4/6] mllib: modify nsplit to take optional noempty and count arguments
On Fri, Dec 09, 2016 at 10:52:23AM +0100, Pino Toscano wrote: > On Wednesday, 7 December 2016 17:13:08 CET Tomáš Golembiovský wrote: > > Added two new optional arguments to nsplit: > > > > * noempty: if set to false empty elements are not stored in the returned > > list. The default is to keep the empty elements > > > > * count: specifies how many splits to perform; negative count > > (the default) means do as many splits as possible > > > > Signed-off...
2017 Jan 31
0
Re: [PATCH v6 2/3] mllib: modify nsplit to take optional noempty and count arguments
On Tue, 31 Jan 2017 11:35:01 +0000 "Richard W.M. Jones" <rjones@redhat.com> wrote: > On Mon, Jan 30, 2017 at 10:43:15PM +0100, Tomáš Golembiovský wrote: > > Added two new optional arguments to nsplit: > > > > * keep_empty: if set to false empty elements are not stored in the > > returned list. The default is to keep the empty elements > > The
2017 Jan 31
1
Re: [PATCH v6 2/3] mllib: modify nsplit to take optional noempty and count arguments
On Tue, Jan 31, 2017 at 01:17:12PM +0100, Tomáš Golembiovský wrote: > On Tue, 31 Jan 2017 11:35:01 +0000 > "Richard W.M. Jones" <rjones@redhat.com> wrote: > > > On Mon, Jan 30, 2017 at 10:43:15PM +0100, Tomáš Golembiovský wrote: > > > Added two new optional arguments to nsplit: > > > > > > * keep_empty: if set to false empty elements are
2017 Jan 30
0
[PATCH v6 2/3] mllib: modify nsplit to take optional noempty and count arguments
Added two new optional arguments to nsplit: * keep_empty: if set to false empty elements are not stored in the returned list. The default is to keep the empty elements * count: specifies how many splits to perform; negative count (the default) means do as many splits as possible Added tests for nsplit. Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com> --- mllib/common_utils.ml
2017 Jan 31
3
Re: [PATCH v6 2/3] mllib: modify nsplit to take optional noempty and count arguments
On Mon, Jan 30, 2017 at 10:43:15PM +0100, Tomáš Golembiovský wrote: > Added two new optional arguments to nsplit: > > * keep_empty: if set to false empty elements are not stored in the > returned list. The default is to keep the empty elements The ?keep_empty flag is pointless. It's simpler and more clear to write: List.filter ((<>) "") (nsplit ...) when
2016 Dec 18
9
[PATCH v4 0/6] Import directly from OVA tar archive if possible
...by using the tar tool only and would probably require use of some external library. Tomáš Golembiovský (6): mllib: compute checksum of file inside tar v2v: ova: don't detect compressed disks, read the OVF instead v2v: ova: move the untar function mllib: modify nsplit to take optional noempty and count arguments tests: rename guestfs-hashsums.sh to test-utils.sh v2v: ova: don't extract files from OVA if it's not needed mllib/checksums.ml | 11 +- mllib/checksums.mli | 7 +- mllib/common_utils.ml...
2016 Dec 07
12
[PATCH v3 0/6] Import directly from OVA tar archive if possible
...es are just preparation. The main work is in patch four. Last patch fixes the tests. Tomáš Golembiovský (6): mllib: compute checksum of file inside tar v2v: ova: don't detect compressed disks, read the OVF instead v2v: ova: move the untar function mllib: modify nsplit to take optional noempty and count arguments tests: rename guestfs-hashsums.sh to test-utils.sh v2v: ova: don't extract files from OVA if it's not needed mllib/checksums.ml | 11 +- mllib/checksums.mli | 7 +- mllib/common_utils.ml...
2007 May 22
0
Dialplan Problem - Outgoing
...ten => s,4,Set(TIMEOUT(digit)=4) exten => s,5,Set(TIMEOUT(response)=10) exten => s,6,ChanIsAvail(${OUT}) ; Is there a free channe l? exten => s,7,Playtones(pm) ; ; No free channel. ; exten => s,107,Playback(conf-noempty) exten => s,108,Hangup ; ; CHANUNAVAIL after Dial(), if there is no ; free line. ; exten => s-CHANUNAVAIL,1,Playback(all-circuits-busy) exten => s-CHANUNAVAIL,2,Playback(pls-try-again-later) exten => s-CHANUNAVAIL,3,Hangup...
2017 Jan 11
3
[PATCH v5 0/3] Import directly from OVA tar archive if possible
v5: - rebase, patches 1,3,5 were merged - 1/3: we still need to discuss whether to detect compressed discs - 2/3: - renamed argument noempty to keep_empty - tests were not run - 3/3: - using JSON module to generate JSON (as suggested by Pino) - all the other comments raised by Pino v4: - rebase to more recent master - 1/6: using just "quote" instead of "Filename.quote" - 2/6: reformated block of code accordi...
2016 Dec 18
0
[PATCH v4 6/6] v2v: ova: don't extract files from OVA if it's not needed
...lines with + | [] -> raise Not_found + | line :: lines -> ( + (* Lines have the form: + * block <offset>: <perms> <owner>/<group> <size> <mdate> <mtime> <file> + *) + let elems = String.nsplit ~noempty:true ~count:7 " " line in + if (List.length elems) = 8 && (List.hd elems) = "block" then ( + let elems = Array.of_list elems in + let offset = elems.(1) in + let size = elems.(4) in + let fname = elems.(7) in + +...
2017 Jan 30
6
[PATCH v6 0/3] Import directly from OVA tar archive if possible
v6: - just rebase v5: - rebase, patches 1,3,5 were merged - 1/3: we still need to discuss whether to detect compressed discs - 2/3: - renamed argument noempty to keep_empty - tests were not run - 3/3: - using JSON module to generate JSON (as suggested by Pino) - all the other comments raised by Pino v4: - rebase to more recent master - 1/6: using just "quote" instead of "Filename.quote" - 2/6: reformated block of code accordi...
2004 Sep 17
8
English vs American voice files
My wife's got an appropriate Southern England (Wimbledon) accent and I'm sure she would try her hand. Does anyone have a comprehensive list of the words that need to be said? Matt, do you have them if your wife's done a set for French users? Mark, if you have the kit maybe you could chop up the file? I write a utility to chop up and compress the wave file based on some of the C
2017 Feb 04
8
[PATCH v8 0/4] Import directly from OVA tar archive if possible
...plit have been dropped (2/3) - addressed Richard's comments, notably the subfolder function was moved to mllib and renamed to subdirectory v6: - just rebase v5: - rebase, patches 1,3,5 were merged - 1/3: we still need to discuss whether to detect compressed discs - 2/3: - renamed argument noempty to keep_empty - tests were not run - 3/3: - using JSON module to generate JSON (as suggested by Pino) - all the other comments raised by Pino v4: - rebase to more recent master - 1/6: using just "quote" instead of "Filename.quote" - 2/6: reformated block of code accordi...
2017 Feb 03
3
[PATCH v7 0/1] Import directly from OVA tar archive if possible
...plit have been dropped (2/3) - addressed Richard's comments, notably the subfolder function was moved to mllib and renamed to subdirectory v6: - just rebase v5: - rebase, patches 1,3,5 were merged - 1/3: we still need to discuss whether to detect compressed discs - 2/3: - renamed argument noempty to keep_empty - tests were not run - 3/3: - using JSON module to generate JSON (as suggested by Pino) - all the other comments raised by Pino v4: - rebase to more recent master - 1/6: using just "quote" instead of "Filename.quote" - 2/6: reformated block of code accordi...