Full Mattermost server source with integrated Community Enterprise features. Includes vendor directory for offline/air-gapped builds. Structure: - enterprise-impl/: Enterprise feature implementations - enterprise-community/: Init files that register implementations - enterprise/: Bridge imports (community_imports.go) - vendor/: All dependencies for offline builds Build (online): go build ./cmd/mattermost Build (offline/air-gapped): go build -mod=vendor ./cmd/mattermost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
471 B
Go
23 lines
471 B
Go
package brotli
|
|
|
|
/* Copyright 2013 Google Inc. All Rights Reserved.
|
|
|
|
Distributed under MIT license.
|
|
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
/* Utilities for building Huffman decoding tables. */
|
|
|
|
type symbolList struct {
|
|
storage []uint16
|
|
offset int
|
|
}
|
|
|
|
func symbolListGet(sl symbolList, i int) uint16 {
|
|
return sl.storage[i+sl.offset]
|
|
}
|
|
|
|
func symbolListPut(sl symbolList, i int, val uint16) {
|
|
sl.storage[i+sl.offset] = val
|
|
}
|