MCPcopy Create free account
hub / github.com/comaps/comaps / Base64Char

Function Base64Char

libs/ge0/url_generator.cpp:144–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144char Base64Char(int x)
145{
146 CHECK_GREATER_OR_EQUAL(x, 0, ());
147 CHECK_LESS(x, 64, ());
148 return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"[x];
149}
150
151// Map latitude: [-90, 90] -> [0, maxValue]
152int LatToInt(double lat, int maxValue)

Callers 6

GenerateShortShowMapUrlFunction · 0.85
LatLonToStringFunction · 0.85
Ge0ParserMethod · 0.85
UNIT_TESTFunction · 0.85
UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68