Displaying 11 results from an estimated 11 matches for "31u".
Did you mean:
1u
2013 Aug 16
1
PATCH for bitmath.h: 1 typo, 1 warning
...lains that FLAC__uint32* (unsigned int*) is not of the same type as unsigned long*
--- a\src\libFLAC\include\private\bitmath.h 2013-08-13 13:30:24.000000000 +0400
+++ b\src\libFLAC\include\private\bitmath.h 2013-08-14 10:20:51.484053700 +0400
@@ -78,12 +78,12 @@
return _bit_scan_reverse(v) ^ 31U;
#elif defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
/* This will translate either to (bsr ^ 31U), clz , ctlz, cntlz, lzcnt depending on
- * -march= setting or to a software rutine in exotic machines. */
+ * -march= setting or to a software...
2013 May 25
0
[PATCH 1/2] Fix mistyped variable name
...h.h
index 42ce639..e5c7695 100644
--- a/src/libFLAC/include/private/bitmath.h
+++ b/src/libFLAC/include/private/bitmath.h
@@ -74,7 +74,7 @@ static inline unsigned int FLAC__clz_uint32(FLAC__uint32 v)
{
/* Never used with input 0 */
#if defined(__INTEL_COMPILER)
- return _bit_scan_reverse(n) ^ 31U;
+ return _bit_scan_reverse(v) ^ 31U;
#elif defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
/* This will translate either to (bsr ^ 31U), clz , ctlz, cntlz, lzcnt depending on
* -march= setting or to a software rutine in exotic machines. *...
2015 Dec 28
1
[PATCH 2] more changes in bitmath.h
...nt32() is of FLAC__uint32 type, so
FLAC__clz_soft_uint32() should have the same argument type.
3) The patch removes unnecessary parentheses around 'word' variable.
4) It also replaces "sizeof(FLAC__uint32) * CHAR_BIT - 1 - FLAC__clz_uint32(v)"
with "FLAC__clz_uint32(v) ^ 31U" (and the same for 64-bit version).
"sizeof(FLAC__uint32) * CHAR_BIT" must be 32, or the code won't work.
So it's simpler to use "31 - FLAC__clz_uint32(v)" or even better,
"FLAC__clz_uint32(v) ^ 31".
Why XORing is better: gcc implements __builtin_clz as...
2012 May 09
1
[PATCH 2/2] bitmath: Finish up optimizations
...word) >> 16] + 8 :
+ (word) > 0xff ? byte_to_unary_table[(word) >> 8] + 16 :
+ byte_to_unary_table[(word)] + 24;
+}
+
+static inline unsigned int FLAC__clz_uint32(FLAC__uint32 v)
+{
+/* Never used with input 0 */
+#if defined(__INTEL_COMPILER)
+ return _bit_scan_reverse(n) ^ 31U;
+#elif defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
+/* This will translate either to (bsr ^ 31U), clz , ctlz, cntlz, lzcnt depending on
+ * -march= setting or to a software rutine in exotic machines. */
+ return __builtin_clz(v);
+#elif d...
2013 May 04
5
Bug fix and compatibility patches for 1.3.0pre4
...tmath.h
--- flac-1.3.0pre4/src/libFLAC/include/private/bitmath.h 2013-04-24 05:19:16 +0000
+++ flac-1.3.0pre4-patched/src/libFLAC/include/private/bitmath.h 2013-05-03 12:07:43 +0000
@@ -74,7 +74,7 @@
{
/* Never used with input 0 */
#if defined(__INTEL_COMPILER)
- return _bit_scan_reverse(n) ^ 31U;
+ return _bit_scan_reverse(v) ^ 31U;
#elif defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
/* This will translate either to (bsr ^ 31U), clz , ctlz, cntlz, lzcnt depending on
* -march= setting or to a software rutine in exotic machines. *...
2012 May 04
3
Git branch with compiling fixes for win32
El 03/05/12 12:19, Miroslav Lichvar escribi?:
> Hi Josh,
>
> nice to see you here again.
>
> On Wed, Apr 25, 2012 at 04:26:05PM -0700, Josh Coalson wrote:
>> (Jumping in again, maybe at the wrong point since this doesn't seem
>> to involve encoding, but here goes.)
>>
>> Miroslav's patches have always been high-quality for sure. But
>>
2007 Jul 19
1
one mongrel with hundreds of CLOSE_WAIT tcp connections
...9670 (CLOSE_WAIT)
mongrel_r 831 root 29u IPv4 95164607 TCP localhost.localdomain
:8011->localhost.localdomain:59705 (CLOSE_WAIT)
mongrel_r 831 root 30u IPv4 95164748 TCP localhost.localdomain
:8011->localhost.localdomain:59746 (CLOSE_WAIT)
mongrel_r 831 root 31u IPv4 95164895 TCP localhost.localdomain
:8011->localhost.localdomain:59786 (CLOSE_WAIT)
mongrel_r 831 root 32u IPv4 95165064 TCP localhost.localdomain
:8011->localhost.localdomain:59830 (CLOSE_WAIT)
etc. this goes on for 700 lines, where the mongrel on port 8011 has ro...
2007 Jul 19
0
one mongrel with *lots* of close_wait tcp connections
...9670 (CLOSE_WAIT)
mongrel_r 831 root 29u IPv4 95164607 TCP
localhost.localdomain
:8011->localhost.localdomain:59705 (CLOSE_WAIT)
mongrel_r 831 root 30u IPv4 95164748 TCP
localhost.localdomain
:8011->localhost.localdomain:59746 (CLOSE_WAIT)
mongrel_r 831 root 31u IPv4 95164895 TCP
localhost.localdomain
:8011->localhost.localdomain:59786 (CLOSE_WAIT)
mongrel_r 831 root 32u IPv4 95165064 TCP
localhost.localdomain
:8011->localhost.localdomain:59830 (CLOSE_WAIT)
etc. this goes on for 700 lines, where the mongrel on port 8011 has
ro...
2010 Oct 06
2
SAMBA replies SAM LOGON request from different ip alias
...0 TCP 192.168.16.32:445 (LISTEN)
smbd 29514 root 55u IPv4 58325221 0t0 TCP 192.168.16.32:139 (LISTEN)
nmbd 29520 root 9u IPv4 58325118 0t0 UDP *:137
nmbd 29520 root 10u IPv4 58325119 0t0 UDP *:138
nmbd 29520 root 31u IPv4 58325159 0t0 UDP 192.168.16.38:137
nmbd 29520 root 32u IPv4 58325160 0t0 UDP 192.168.16.38:138
nmbd 29520 root 43u IPv4 58325171 0t0 UDP 192.168.16.32:137
nmbd 29520 root 44u IPv4 58325172 0t0 UDP 192.168.16.32:138
B...
2015 Mar 18
1
multiple memcached buckets in CentOS 7
Hi Alberto,
With systemd it will be as easy as creating additional unit files ( one for
> each memcached instance) with its corresponding config file. That should
> allow to stop / start / restart each memcache instance individually while
> also being systemd compliant.
Thanks for the info and for the examples. It really does make sense the way
you explain it. Thanks for letting me
2015 Oct 02
1
authentication problems sernet-samba
Hello Rowland,
I think avahi-daemon is not installed as standard
in ubuntu 14.04.3 LTS
Here is in our server :
ROOT at SERVER:~# DPKG -L
|GREP AVAHI
II LIBAVAHI-CLIENT3:AMD64
0.6.31-4UBUNTU1 AMD64 AVAHI CLIENT LIBRARY
II
LIBAVAHI-COMMON-DATA:AMD64 0.6.31-4UBUNTU1
AMD64 AVAHI COMMON DATA FILES
II