This website works better with JavaScript
首頁
探索
說明
登入
piros
/
tor
關註
3
讚好
0
複刻
0
Files
問題管理
0
合併請求
0
Wiki
瀏覽代碼
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)