a simple url shortening service, in the same vein as bit.ly and tinyurl.com, written in Go and using BoltDB as a backend
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

11 行

  1. package bbolt
  2. // maxMapSize represents the largest mmap size supported by Bolt.
  3. const maxMapSize = 0x7FFFFFFF // 2GB
  4. // maxAllocSize is the size used when creating array pointers.
  5. const maxAllocSize = 0xFFFFFFF
  6. // Are unaligned load/stores broken on this arch?
  7. var brokenUnaligned = false