a simple url shortening service, in the same vein as bit.ly and tinyurl.com, written in Go and using BoltDB as a backend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
299B

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