Loading...
A || B
0 0 0
0 1 1
1 0 1
1 1 1
-> 0 && !0 0
1 && !0 1
1 && !1 0
0 && !1 0
-> 0 && !0 0
1 && !0 1
0 && !1 0
1 && !1 0
}
if
}
}
.
return
.
.
!A && !B
0 0 1
0 1 0
1 0 0
1 1 0
-> 1 || 0 1
0 || 0 0
0 || 1 1
1 || 1 1
-> 1 || 0 1
0 || 0 0
1 || 1 1
0 || 1 1
return
if
return
return
.
return
.
.
$mkdir scm-linux
$cd scm-linux
$git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
$git log v2.6.27..v2.6.28 kernel/sched.c
search __might_sleep
$git diff 29cbef4869bf288256ab76c7dc674cb132b35de2 aef745fca016aea45adae5c98e8698904dd8ad51 kernel/sched.c
Loading...