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

11
LINES

< > BotCompany Repo | #1018178 // renderSizesOfCreatorCacheVars

JavaX fragment (include)

sS renderSizesOfCreatorCacheVars() {
  new L<S> out;
  for (S var, int size : sizesOfCreatorCacheVars()) {
    O cache = getCreator(var);
    Int max = null;
    if (cache cast Map) max = maxSizeOfMRUCache(cache);
    out.add(size
      + (max != null ? "/" + max : "") + ": " + var);
  }
  ret lines(out);
}

Author comment

Began life as a copy of #1018175

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018178
Snippet name: renderSizesOfCreatorCacheVars
Eternal ID of this version: #1018178/1
Text MD5: 106d6f9502d8b3143f2e0bfa11d72f17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-07 15:26:05
Source code size: 318 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 387 / 419
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)