This website works better with JavaScript
홈
탐색
도움말
로그인
piros
/
tor
Watch
3
Star
0
포크
0
파일
이슈
0
풀 리퀘스트
0
위키
소스 검색
Add Coccinelle patch for detecing places where CEIL_DIV should be used.
Alexander Færøy
7 년 전
부모
7c3e980fb9
커밋
25eaf77033
1개의 변경된 파일
과
6개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
변경상태 보기
6
0
scripts/coccinelle/ceil_div.cocci
+ 6
- 0
scripts/coccinelle/ceil_div.cocci
파일 보기
@@ -0,0 +1,6 @@
+@@
+expression n, d;
+@@
+
+- (((n) + (d) - 1) / (d))
++ CEIL_DIV(n, d)