def bulk_mode
result = 0
case self.status
when ACTIVE
result |= (1 << ASSIGN_CMD)
result |= (1 << RESOLVE_CMD)
when RESOLVE_RANGE
result |= (1 << REACTIVATE_CMD)
result |= (1 << CLOSE_CMD)
when CLOSED
result |= (1 << REOPEN_CMD)
end
result
end
2204 days前 / 4,130 次浏览阅读全文
随便看看
热门标签
adb
Android
android sdk google
bing
components
control
deb
debian
eclipse
ed
gconf
gconfd
gconftool
gconftool-2
google
hibernate
hprof
java
launchpad
leak
linux
memory
microsoft
ms
NO_PKG_MANGLE
package
pkgstriptranslations
ppa
rc.local
roma
Ruby
section
shell
sns
tech
ubuntu
vi
vim
wave
zenity
自动启动

最新评论