This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
piros
/
tor
Seguir
3
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Explorar o código
Add Coccinelle patch for detecing places where CEIL_DIV should be used.
Alexander Færøy
%!s(int64=7) %!d(string=hai) anos
pai
7c3e980fb9
achega
25eaf77033
Modificáronse 1 ficheiros
con
6 adicións
e
0 borrados
Dividir vista
Mostrar estatísticas de Diff
6
0
scripts/coccinelle/ceil_div.cocci
+ 6
- 0
scripts/coccinelle/ceil_div.cocci
Ver ficheiro
@@ -0,0 +1,6 @@
+@@
+expression n, d;
+@@
+
+- (((n) + (d) - 1) / (d))
++ CEIL_DIV(n, d)