Searched refs:maxVersions (Results 1 – 1 of 1) sorted by relevance
253 …donly versions: LineIndexSnapshot[] = new Array<LineIndexSnapshot>(ScriptVersionCache.maxVersions);260 private static readonly maxVersions = 8; property in ts.server.ScriptVersionCache266 return version % ScriptVersionCache.maxVersions;270 return this.currentVersion % ScriptVersionCache.maxVersions;298 if ((this.currentVersion - this.minVersion) >= ScriptVersionCache.maxVersions) {299 this.minVersion = (this.currentVersion - ScriptVersionCache.maxVersions) + 1;