p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/asm-generic/bitops/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/asm-generic/bitops/ffs.h
#ifndef _ASM_GENERIC_BITOPS_FFS_H_
#define _ASM_GENERIC_BITOPS_FFS_H_

/**
 * ffs - find first bit set
 * @x: the word to search
 *
 * This is defined the same way as
 * the libc and compiler builtin ffs routines, therefore
 * differs in spirit from the above ffz (man ffs).
 */
static inline int ffs(int x)
{
	int r = 1;

	if (!x)
		return 0;
	if (!(x & 0xffff)) {
		x >>= 16;
		r += 16;
	}
	if (!(x & 0xff)) {
		x >>= 8;
		r += 8;
	}
	if (!(x & 0xf)) {
		x >>= 4;
		r += 4;
	}
	if (!(x & 3)) {
		x >>= 2;
		r += 2;
	}
	if (!(x & 1)) {
		x >>= 1;
		r += 1;
	}
	return r;
}

#endif /* _ASM_GENERIC_BITOPS_FFS_H_ */
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:48
0 / 0
0755
__ffs.h
0.721 KB
November 06 2023 09:15:52
0 / 0
0644
__fls.h
0.86 KB
November 06 2023 09:15:52
0 / 0
0644
arch_hweight.h
0.504 KB
November 06 2023 09:15:52
0 / 0
0644
atomic.h
5.464 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-__ffs.h
0.332 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-__fls.h
0.388 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-ffs.h
0.362 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-fls.h
0.355 KB
November 06 2023 09:15:52
0 / 0
0644
const_hweight.h
1.633 KB
November 06 2023 09:15:52
0 / 0
0644
count_zeros.h
1.639 KB
November 06 2023 09:15:52
0 / 0
0644
ext2-atomic-setbit.h
0.355 KB
November 06 2023 09:15:52
0 / 0
0644
ext2-atomic.h
0.548 KB
November 06 2023 09:15:52
0 / 0
0644
ffs.h
0.601 KB
November 06 2023 09:15:52
0 / 0
0644
ffz.h
0.279 KB
November 06 2023 09:15:52
0 / 0
0644
find.h
1.634 KB
November 06 2023 09:15:52
0 / 0
0644
fls.h
0.62 KB
November 06 2023 09:15:52
0 / 0
0644
fls64.h
0.802 KB
November 06 2023 09:15:52
0 / 0
0644
hweight.h
0.21 KB
November 06 2023 09:15:52
0 / 0
0644
le.h
2.148 KB
November 06 2023 09:15:52
0 / 0
0644
lock.h
1.318 KB
November 06 2023 09:15:52
0 / 0
0644
non-atomic.h
2.96 KB
November 06 2023 09:15:52
0 / 0
0644
sched.h
0.704 KB
November 06 2023 09:15:52
0 / 0
0644