Ai
1 Star 0 Fork 0

coorrer/unipdf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
operators.go 854 Bytes
一键复制 编辑 原始数据 按行查看 历史
xushuai 提交于 2025-09-23 15:05 +08:00 . init
package bitmap
// CombinationOperator is the operator used for combining the bitmaps.
type CombinationOperator int
const (
// CmbOpOr is the 'OR' CombinationOperator.
CmbOpOr CombinationOperator = iota
// CmbOpAnd is the 'AND' CombinationOperator.
CmbOpAnd
// CmbOpXor is the 'XOR' CombinationOperator.
CmbOpXor
// CmbOpXNor is the 'XNOR' CombinationOperator.
CmbOpXNor
// CmbOpReplace is the 'REPLACE' CombinationOperator.
CmbOpReplace
// CmbOpNot is the 'NOT' CombinationOperator.
CmbOpNot
)
// String implements Stringer interface.
func (c CombinationOperator) String() string {
var result string
switch c {
case CmbOpOr:
result = "OR"
case CmbOpAnd:
result = "AND"
case CmbOpXor:
result = "XOR"
case CmbOpXNor:
result = "XNOR"
case CmbOpReplace:
result = "REPLACE"
case CmbOpNot:
result = "NOT"
}
return result
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/coorrer/unipdf.git
git@gitee.com:coorrer/unipdf.git
coorrer
unipdf
unipdf
v1.2.0

搜索帮助