- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isMaxLength (0.38 sec)
-
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
func MaxLength(pow int) Option { if pow <= 0 || pow > 30 { panic("demangle: invalid MaxLength value") } return Option(pow << maxLengthShift) } // isMaxLength reports whether an Option holds a maximum length. func isMaxLength(opt Option) bool { return opt&maxLengthMask != 0 } // maxLength returns the maximum length stored in an Option. func maxLength(opt Option) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
max := 0 for _, o := range options { switch { case o == NoTemplateParams: tparams = false case o == NoEnclosingParams: enclosingParams = false case o == LLVMStyle: llvmStyle = true case isMaxLength(o): max = maxLength(o) } } ps := printState{ tparams: tparams, enclosingParams: enclosingParams, llvmStyle: llvmStyle, max: max, scopes: 1, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0)