Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1008738 // ipToCountry - keeps data in memory (version with new database), returns ISO codes

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (6864L/41K).


sS ipToCountry(S ip) {
  ret ipToCountry2021(ip);
}



sS ipToCountry(long ipNum) {
  ret ipToCountry2021(ipNum);
}

Author comment

Began life as a copy of #1008736

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1008738
Snippet name: ipToCountry - keeps data in memory (version with new database), returns ISO codes
Eternal ID of this version: #1008738/14
Text MD5: 5a70374518e0286523ab1b4527b2fbbd
Transpilation MD5: ac9d2653c645caf11fa272e689b98c61
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 04:02:07
Source code size: 121 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 556 / 669
Version history: 13 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008744 - ipToCountry - keeps data in memory (version with bad database)
#1013301 - ipToCountry_once - clear cache immediately after use (use sparingly)
#1018599 - ipToCountry_2018 - doesn't work yet
#1028338 - ipToCountry2020 - use ipToCountry2021 instead!
#1032781 - ipToCountry_old - keeps data in memory (version with new database), returns ISO codes