Displaying 20 results from an estimated 21 matches for "cwords".
Did you mean:
words
2008 Mar 14
2
bitreader optimizations
...s; /* the # of binary LSBs left to read to finish a rice codeword */
-
/* try and get br->consumed_words and br->consumed_bits into register;
* must remember to flush them back to *br before calling other
- * bitwriter functions that use them, and before returning */
- register unsigned cwords;
- register unsigned cbits;
+ * bitreader functions that use them, and before returning */
+ unsigned cwords, words, lsbs, msbs, x, y;
+ unsigned ucbits; /* keep track of the number of unconsumed bits in word */
+ brword b;
+ int *val, *end;
FLAC__ASSERT(0 != br);
FLAC__ASSERT(0 != br->bu...
2012 May 04
0
[PATCH] Optimize FLAC__bitreader_read_rice_signed
...s; /* the # of binary LSBs left to read to finish a rice codeword */
-
/* try and get br->consumed_words and br->consumed_bits into register;
* must remember to flush them back to *br before calling other
- * bitwriter functions that use them, and before returning */
- register unsigned cwords;
- register unsigned cbits;
+ * bitreader functions that use them, and before returning */
+ unsigned cwords, words, lsbs, msbs, x, y;
+ unsigned ucbits; /* keep track of the number of unconsumed bits in word */
+ uint32_t b;
+ int *val, *end;
FLAC__ASSERT(0 != br);
FLAC__ASSERT(0 != br->...
2008 Mar 17
0
bitreader optimizations
...s; /* the # of binary LSBs left to read to finish a rice codeword */
-
/* try and get br->consumed_words and br->consumed_bits into register;
* must remember to flush them back to *br before calling other
- * bitwriter functions that use them, and before returning */
- register unsigned cwords;
- register unsigned cbits;
+ * bitreader functions that use them, and before returning */
+ unsigned cwords, words, lsbs, msbs, x, y;
+ unsigned ucbits; /* keep track of the number of unconsumed bits in word */
+ brword b;
+ int *val, *end;
FLAC__ASSERT(0 != br);
FLAC__ASSERT(0 != br->bu...
2012 Aug 28
3
[PATCH 1/3] Make FLAC__clz_soft_uint32 static.
---
src/libFLAC/include/private/bitmath.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libFLAC/include/private/bitmath.h b/src/libFLAC/include/private/bitmath.h
index 61b0e03..d32b1a7 100644
--- a/src/libFLAC/include/private/bitmath.h
+++ b/src/libFLAC/include/private/bitmath.h
@@ -42,7 +42,7 @@
#endif
/* Will never be emitted for MSVC, GCC, Intel compilers */
2012 Nov 05
25
[PATCH] IOMMU: don't disable bus mastering on faults for devices used by Xen or Dom0
Under the assumption that in these cases recurring faults aren''t a
security issue and it can be expected that the drivers there are going
to try to take care of the problem.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/drivers/passthrough/amd/iommu_init.c
+++ b/xen/drivers/passthrough/amd/iommu_init.c
@@ -625,6 +625,18 @@ static void parse_event_log_entry(struct
2002 Nov 18
1
i386 floating point tweaking
Just been trying to get the polygon triangulation code from this
package: http://www-2.cs.cmu.edu/~quake/triangle.html to dyn.load into
R. Uh oh. Floating point exceptions.
Track it down to some FPU diddling that the author deems is necessary.
Here's my minimal code that breaks:
flipme.c:
#include <fpu_control.h>
void flipme(){
int cword;
cword=4210;
_FPU_SETCW(cword);
2014 Nov 26
5
[PATCH] tools: implement --short-options
Just like --long-options, it makes it possible to know which short
options are supported by each tool; this can help improving the bash
completion, for example.
---
align/scan.c | 3 +++
builder/cmdline.ml | 1 +
cat/cat.c | 3 +++
cat/filesystems.c | 3 +++
cat/log.c | 3 +++
cat/ls.c | 3 +++
2020 Mar 10
1
[v2v PATCH] bash: remove extra registrations
The virt-v2v-copy-to-local completion script definitely does not need to
register completions for libguestfs-test-tool, and virt-win-reg, as they
are libguestfs tools.
Also, rename the helper _guestfs_options_only to _v2v_options_only, to
avoid potential clashes with the libguestfs completion scripts.
---
bash/virt-v2v-copy-to-local | 16 ++--------------
1 file changed, 2 insertions(+), 14
2012 May 09
1
[PATCH 2/2] bitmath: Finish up optimizations
...}
#else
- i = COUNT_ZERO_MSBS(b);
+ i = FLAC__clz_uint32(b);
#endif
uval += i;
bits = parameter;
@@ -832,7 +792,7 @@ FLAC__bool FLAC__bitreader_read_rice_signed_block(FLAC__BitReader *br, int vals[
const unsigned end = br->bytes * 8;
uint32_t b = (br->buffer[cwords] & (FLAC__WORD_ALL_ONES << (FLAC__BITS_PER_WORD-end))) << cbits;
if(b) {
- i = COUNT_ZERO_MSBS(b);
+ i = FLAC__clz_uint32(b);
uval += i;
bits = parameter;
i++;
@@ -984,7 +944,7 @@ break2:
: "r"(b)
);
#else
- i = COUNT_ZERO_M...
2019 Jan 25
0
[klibc:update-dash] [PARSER] Add nlprompt/nlnoprompt helpers
Commit-ID: 053123b458f2c57d3e19a5c4ee8f55a9a056694a
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=053123b458f2c57d3e19a5c4ee8f55a9a056694a
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:53:53 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [PARSER] Add
2019 Jan 25
0
[klibc:update-dash] parser: Fix incorrect eating of backslash newlines
Commit-ID: 5485646761fe402c332fe07abc973060af57ee59
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5485646761fe402c332fe07abc973060af57ee59
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Fri, 11 May 2018 23:41:25 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] parser: Fix incorrect
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Add nlprompt/nlnoprompt helpers
Commit-ID: 25465e7d5b75f8d62d668c2e45be202111d5f027
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=25465e7d5b75f8d62d668c2e45be202111d5f027
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:53:53 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [PARSER] Add
2020 Mar 28
0
[klibc:update-dash] dash: parser: Fix incorrect eating of backslash newlines
Commit-ID: c3b0fa9573b914694612b7a2bbf658928b5fb097
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c3b0fa9573b914694612b7a2bbf658928b5fb097
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Fri, 11 May 2018 23:41:25 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: parser: Fix
2017 Mar 22
2
[PATCH] bash: Add a bash completion script for virt-v2v-copy-to-local (RHBZ#1367738).
Thanks: Ming Xie
---
bash/Makefile.am | 3 ++-
bash/virt-v2v-copy-to-local | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 1 deletion(-)
create mode 100644 bash/virt-v2v-copy-to-local
diff --git a/bash/Makefile.am b/bash/Makefile.am
index 94a2d48..86fd816 100644
--- a/bash/Makefile.am
+++ b/bash/Makefile.am
@@ -22,7 +22,8 @@ scripts = \
2017 Mar 24
1
[PATCH] bash: Implement tab completion for virt-win-reg (RHBZ#1367738).
This only implements long and short options.
Thanks: Ming Xie.
---
.gitignore | 1 +
bash/Makefile.am | 19 +++++++++++++------
bash/virt-v2v-copy-to-local | 21 ++++++++++++++++-----
tools/virt-win-reg | 22 ++++++++++++++++++++--
4 files changed, 50 insertions(+), 13 deletions(-)
diff --git a/.gitignore b/.gitignore
index c82745e..5c7cd53 100644
---
2019 Jan 25
0
[klibc:update-dash] parser: use pgetc_eatbnl() in more places
Commit-ID: acd0936c5f8b4f5d94065ca46714d17e6a882cf2
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=acd0936c5f8b4f5d94065ca46714d17e6a882cf2
Author: Harald van Dijk <harald at gigawatt.nl>
AuthorDate: Thu, 8 Mar 2018 08:37:11 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] parser: use pgetc_eatbnl()
2020 Mar 28
0
[klibc:update-dash] dash: parser: use pgetc_eatbnl() in more places
Commit-ID: a4659bfa776f24f790c3ec071c5c9ef9459cdb70
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=a4659bfa776f24f790c3ec071c5c9ef9459cdb70
Author: Harald van Dijk <harald at gigawatt.nl>
AuthorDate: Thu, 8 Mar 2018 08:37:11 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: parser: use
2019 Jul 11
1
[p2v PATCH] Add bash completion scripts
Copy over the bash completion machinery from libguestfs, along with the
simple completion script; use this script for all the tools.
---
.gitignore | 2 +
Makefile.am | 3 ++
bash/Makefile.am | 68 +++++++++++++++++++++++++++++++++
bash/README | 6 +++
bash/test-complete-in-script.sh | 40 +++++++++++++++++++
2016 Aug 25
0
[PATCH 5/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
Add new scripts for:
- guestunmount
- virt-copy-in
- virt-copy-out
- virt-customize
- virt-dib
- virt-diff
- virt-get-kernel
- virt-p2v-make-disk
- virt-p2v-make-kickstart
- virt-p2v-make-kiwi
- virt-tar-in
- virt-tar-out
Also combine the separate virt-resize script into the general script
virt-alignment-scan. There wasn't really any reason to have separate
scripts.
---
.gitignore
2019 Feb 10
21
[PATCH 00/13] Patch blast of salsa wip.testme branch
The contents are the wip.testme branch currently on salsa. I combined
the wip.initscript and wip.oxenstored into this and added more things
today. I think this is pretty gtg and it's smoke tested (in several
cases by scping files around instead of doing package build), so it
needs a final extra review and test round before putting it in master
branch (which I don't want to force push).
I