Searched refs:MAX_INIT_LEN (Results 1 – 2 of 2) sorted by relevance
19 public static readonly MAX_INIT_LEN: number = 0xFFFF; property in ListUtil26 if (isNaN(length) || length < 0 || length > this.MAX_INIT_LEN) {27 console.error(`array init length is invalid, should in range: [0, ${this.MAX_INIT_LEN}]`);
38 let arr = ListUtil.getInitList(ListUtil.MAX_INIT_LEN);39 assert.isTrue(arr.length === ListUtil.MAX_INIT_LEN);43 let arr = ListUtil.getInitList(ListUtil.MAX_INIT_LEN + 1);