Searched refs:prefixLength (Results 1 – 7 of 7) sorted by relevance
91 int prefixLength = (int) Math.round(PREFIX_LENGTH_S * rate); in prefix() local92 double[] samplePrefixArray = new double[prefixLength]; in prefix()93 for (int i = 0; i < prefixLength; i++) { in prefix()94 double index = (double) i / prefixLength * (prefixArray.length - 1); in prefix()
155 int prefixLength = Integer.parseInt(prefixAndMask[1]); in start() local156 builder.addAddress(address, prefixLength); in start()171 int prefixLength = Integer.parseInt(prefixAndMask[1]); in start() local172 builder.addRoute(address, prefixLength); in start()
2728 final int prefixLength = "package:".length(); in isAppInstalled() local2730 line -> line.length() > prefixLength && line.substring(prefixLength).equals( in isAppInstalled()2737 final int prefixLength = "sdk:".length(); in isSdkInstalled() local2739 .anyMatch(line -> line.length() > prefixLength && line.substring( in isSdkInstalled()2740 prefixLength).equals(sdkString)); in isSdkInstalled()2771 final int prefixLength = prefix.length(); in getSplits() local2778 return splits.substring(prefixLength, splits.length() - 1); in getSplits()
1633 final int prefixLength = "package:".length(); in isPackagePresent() local1635 .anyMatch(line -> line.substring(prefixLength).equals(packageName)); in isPackagePresent()1641 final int prefixLength = prefix.length(); in getAppCodePath() local1644 .map(line -> line.substring(prefixLength)) in getAppCodePath()
1199 final int prefixLength = prefix.length(); in parsePackageDump() local1206 return splits.substring(prefixLength); in parsePackageDump()
2028 final int prefixLength = "package:".length(); in isPackagePresent() local2030 line -> line.length() > prefixLength && line.substring(prefixLength).equals( in isPackagePresent()
1072 final int prefixLength = "package:".length(); in getEnabledSystemPackageNames() local1075 .map(line -> line.substring(prefixLength)) in getEnabledSystemPackageNames()