gitlab.com/evatix-go/core@v1.3.55/constants/vars.go (about) 1 package constants 2 3 import ( 4 "runtime" 5 "unsafe" 6 ) 7 8 //goland:noinspection ALL 9 var ( 10 newline = NewLine 11 emptyArray = EmptyArray 12 firstItemEmptyStringArray = FirstItemEmptyStringArray 13 emptyStatus = EmptyStatus 14 filePath = FilePath 15 directoryPath = DirectoryPath 16 dot = Dot 17 upperCaseA = UpperCaseA 18 upperCaseZ = UpperCaseZ 19 lowerCaseA = LowerCaseA 20 lowerCaseZ = LowerCaseZ 21 lowerCase = LowerCase 22 upperCase = UpperCase 23 newLineMac = NewLineMac 24 newLineUnix = NewLineUnix 25 newLineWindows = NewLineWindows 26 tab = Tab 27 tabV = TabV 28 hash = Hash 29 doubleHash = DoubleHash 30 trippleHash = TripleHash 31 hashSpace = HashSpace 32 doubleHashSpace = DoubleHashSpace 33 space = Space 34 hyphen = Hyphen 35 semicolon = Semicolon 36 comma = Comma 37 commaSpace = CommaSpace 38 spaceColonSpace = SpaceColonSpace 39 pipe = Pipe 40 questionMarkSymbol = QuestionMarkSymbol 41 nilString = NilString 42 sprintValueFormat = SprintValueFormat 43 sprintNumberFormat = SprintNumberFormat 44 sprintFullPropertyNameValueFormat = SprintFullPropertyNameValueFormat 45 sprintPropertyNameValueFormat = SprintPropertyNameValueFormat 46 sprintTypeFormat = SprintTypeFormat 47 invalidNotFoundCase = InvalidNotFoundCase 48 zero = Zero 49 notImplemented = NotImplemented 50 singleQuoteSymbol = SingleQuoteSymbol 51 doubleQuoteSymbol = DoubleQuoteSymbol 52 singleQuoteStringSymbol = SingleQuoteStringSymbol 53 doubleQuoteStringSymbol = DoubleQuoteStringSymbol 54 doubleDoubleQuoteStringSymbol = DoubleDoubleQuoteStringSymbol 55 parenthesisStartSymbol = ParenthesisStartSymbol 56 parenthesisEndSymbol = ParenthesisEndSymbol 57 curlyStartSymbol = CurlyStartSymbol 58 curlyEndSymbol = CurlyEndSymbol 59 squareStartSymbol = SquareStartSymbol 60 squareEndSymbol = SquareEndSymbol 61 arbitraryCapacity1 = ArbitraryCapacity1 62 arbitraryCapacity2 = ArbitraryCapacity2 63 arbitraryCapacity3 = ArbitraryCapacity3 64 arbitraryCapacity4 = ArbitraryCapacity4 65 arbitraryCapacity5 = ArbitraryCapacity5 66 arbitraryCapacity6 = ArbitraryCapacity6 67 arbitraryCapacity7 = ArbitraryCapacity7 68 arbitraryCapacity8 = ArbitraryCapacity8 69 arbitraryCapacity9 = ArbitraryCapacity9 70 arbitraryCapacity10 = ArbitraryCapacity10 71 arbitraryCapacity11 = ArbitraryCapacity11 72 arbitraryCapacity12 = ArbitraryCapacity12 73 arbitraryCapacity13 = ArbitraryCapacity13 74 arbitraryCapacity14 = ArbitraryCapacity14 75 arbitraryCapacity15 = ArbitraryCapacity15 76 arbitraryCapacity30 = ArbitraryCapacity30 77 arbitraryCapacity50 = ArbitraryCapacity50 78 arbitraryCapacity100 = ArbitraryCapacity100 79 arbitraryCapacity150 = ArbitraryCapacity150 80 arbitraryCapacity200 = ArbitraryCapacity200 81 arbitraryCapacity250 = ArbitraryCapacity250 82 arbitraryCapacity500 = ArbitraryCapacity500 83 arbitraryCapacity1000 = ArbitraryCapacity1000 84 arbitraryCapacity1500 = ArbitraryCapacity1500 85 arbitraryCapacity2000 = ArbitraryCapacity2000 86 arbitraryCapacity2500 = ArbitraryCapacity2500 87 arbitraryCapacity3000 = ArbitraryCapacity3000 88 arbitraryCapacity5000 = ArbitraryCapacity5000 89 arbitraryCapacity10000 = ArbitraryCapacity10000 90 lineFeedUnix = LineFeedUnix 91 carriageReturn = CarriageReturn 92 formFeed = FormFeed 93 spaceByte = SpaceByte 94 tabByte = TabByte 95 lineFeedUnixByte = LineFeedUnixByte 96 carriageReturnByte = CarriageReturnByte 97 formFeedByte = FormFeedByte 98 tabVByte = TabVByte 99 maxUnit8 = MaxUnit8 100 otherPathSeparator = OtherPathSeparator 101 windowsPathSeparator = WindowsPathSeparator 102 windowsOS = WindowsOS 103 lowerCaseFileColon = LowerCaseFileColon 104 doubleBackSlash = DoubleBackSlash 105 tripleBackSlash = TripleBackSlash 106 backSlash = BackSlash 107 doubleForwardSlash = DoubleForwardSlash 108 tripleForwardSlash = TripleForwardSlash 109 backwardAndForwardSlashes = BackwardAndForwardSlashes 110 forwardSlash = ForwardSlash 111 uriSchemePrefixStandard = UriSchemePrefixStandard 112 uriSchemePrefixTwoSlashes = UriSchemePrefixTwoSlashes 113 underscore = Underscore 114 colon = Colon 115 dash = Dash 116 doubleDash = DoubleDash 117 doubleUnderscore = DoubleUnderscore 118 goPath = GoPath 119 goBinPath = GoBinPath 120 go111ModuleEnvironment = Go111ModuleEnvironment 121 on = On 122 pathSeparator = PathSeparator 123 doublePathSeparator = DoublePathSeparator 124 dollar = Dollar 125 doubleDollar = DoubleDollar 126 percent = Percent 127 doublePercent = DoublePercent 128 one = One 129 semiColon = SemiColon 130 path = Path 131 unix = Unix 132 windows = Windows 133 symbolicLinkCreationCommandName = SymbolicLinkCreationCommandName 134 symbolicLinkCreationArgument = SymbolicLinkCreationArgument 135 architecture64 = Architecture64 136 architecture32 = Architecture32 137 longPathUncPrefix = LongPathUncPrefix 138 longPathQuestionMarkPrefix = LongPathQuestionMarkPrefix 139 singleHash = SingleHash 140 emptyString = EmptyString 141 endOfBlock = EndOfBlock 142 endOfLineMark = EndOfLineMark 143 startOfBlock = StartOfBlock 144 minusOne = MinusOne 145 invalidValue = InvalidValue 146 wildCardSymbol = WildcardSymbol 147 parenthesisStart = ParenthesisStart 148 parenthesisEnd = ParenthesisEnd 149 curlyStart = CurlyStart 150 curlyEnd = CurlyEnd 151 squareStart = SquareStart 152 squareEnd = SquareEnd 153 zeroChar = ZeroChar 154 nineChar = NineChar 155 hyphenChar = HyphenChar 156 maxUnit8Rune = MaxUnit8Rune 157 maxUnit8AsInt16 = MaxUnit8AsInt16 158 parenthesisStartRune = ParenthesisStartRune 159 parenthesisEndRune = ParenthesisEndRune 160 curlyStartRune = CurlyStartRune 161 curlyEndRune = CurlyEndRune 162 squareStartRune = SquareStartRune 163 squareEndRune = SquareEndRune 164 zeroRune = ZeroRune 165 nineRune = NineRune 166 hyphenRune = HyphenRune 167 upperCaseARune = UpperCaseARune 168 upperCaseZRune = UpperCaseZRune 169 lowerCaseARune = LowerCaseARune 170 lowerCaseZRune = LowerCaseZRune 171 lowerCaseRune = LowerCaseRune 172 upperCaseRune = UpperCaseRune 173 noElements = NoElements 174 noItems = NoItems 175 noItemsSquare = NoItemsSquare 176 noElementsSquare = NoElementsSquare 177 doubleNewLine = DoubleNewLine 178 NewLineBytes = []byte(NewLine) 179 NewLineUnixBytes = []byte(NewLineUnix) 180 DefaultLineBytes = []byte(DefaultLine) 181 NewLineWindowsBytes = []byte(NewLineWindows) 182 falseBool = false 183 trueBool = true 184 zeroByte byte = 0 185 CpuNumber = runtime.NumCPU() 186 ProcessorCount = CpuNumber 187 MaxWorker = CpuNumber * 5 188 SafeWorker = CpuNumber * 3 189 SafestWorker = CpuNumber * 2 190 UnsafeNullPointer = unsafe.Pointer(nil) // Reference: https://github.com/golang/go/issues/4680 191 NullPointerUintPtr = uintptr(unsafe.Pointer(nil)) // Reference: https://github.com/golang/go/issues/4680 192 )