@dmarket/p2p-tracker-core 0.1.0-SNAPSHOT.110 → 0.1.0-SNAPSHOT.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin-kotlin-stdlib.mjs +21 -26
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/p2p-tracker-core.mjs +2263 -2097
- package/p2p-tracker-core.mjs.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -3749,6 +3749,9 @@ function listOf(element) {
|
|
|
3749
3749
|
function setOf(element) {
|
|
3750
3750
|
return hashSetOf([element]);
|
|
3751
3751
|
}
|
|
3752
|
+
function mapOf(pair) {
|
|
3753
|
+
return hashMapOf([pair]);
|
|
3754
|
+
}
|
|
3752
3755
|
function copyToArray(collection) {
|
|
3753
3756
|
var tmp;
|
|
3754
3757
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3775,9 +3778,6 @@ function checkIndexOverflow(index) {
|
|
|
3775
3778
|
function sortWith_0(_this__u8e3s4, comparator) {
|
|
3776
3779
|
collectionsSort(_this__u8e3s4, comparator);
|
|
3777
3780
|
}
|
|
3778
|
-
function mapOf(pair) {
|
|
3779
|
-
return hashMapOf([pair]);
|
|
3780
|
-
}
|
|
3781
3781
|
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
3782
3782
|
Companion_instance_6.y3(startIndex, endIndex, source.length);
|
|
3783
3783
|
var rangeSize = endIndex - startIndex | 0;
|
|
@@ -7506,15 +7506,11 @@ function decodeToString(_this__u8e3s4, startIndex, endIndex, throwOnInvalidSeque
|
|
|
7506
7506
|
Companion_instance_6.qc(startIndex, endIndex, _this__u8e3s4.length);
|
|
7507
7507
|
return decodeUtf8(_this__u8e3s4, startIndex, endIndex, throwOnInvalidSequence);
|
|
7508
7508
|
}
|
|
7509
|
-
function encodeToByteArray(_this__u8e3s4) {
|
|
7510
|
-
_init_properties_stringJs_kt__bg7zye();
|
|
7511
|
-
return encodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
7512
|
-
}
|
|
7513
7509
|
function decodeToString_0(_this__u8e3s4) {
|
|
7514
7510
|
_init_properties_stringJs_kt__bg7zye();
|
|
7515
7511
|
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
7516
7512
|
}
|
|
7517
|
-
function
|
|
7513
|
+
function encodeToByteArray(_this__u8e3s4, startIndex, endIndex, throwOnInvalidSequence) {
|
|
7518
7514
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
7519
7515
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
7520
7516
|
throwOnInvalidSequence = throwOnInvalidSequence === VOID ? false : throwOnInvalidSequence;
|
|
@@ -10002,6 +9998,12 @@ function plus_7(_this__u8e3s4, pair) {
|
|
|
10002
9998
|
}
|
|
10003
9999
|
return tmp;
|
|
10004
10000
|
}
|
|
10001
|
+
function hashMapOf(pairs) {
|
|
10002
|
+
// Inline function 'kotlin.apply' call
|
|
10003
|
+
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
|
|
10004
|
+
putAll(this_0, pairs);
|
|
10005
|
+
return this_0;
|
|
10006
|
+
}
|
|
10005
10007
|
function EmptyMap() {
|
|
10006
10008
|
EmptyMap_instance = this;
|
|
10007
10009
|
this.sg_1 = new Long(-888910638, 1920087921);
|
|
@@ -10060,7 +10062,7 @@ function EmptyMap_getInstance() {
|
|
|
10060
10062
|
}
|
|
10061
10063
|
function toMap_1(_this__u8e3s4, destination) {
|
|
10062
10064
|
// Inline function 'kotlin.apply' call
|
|
10063
|
-
|
|
10065
|
+
putAll_0(destination, _this__u8e3s4);
|
|
10064
10066
|
return destination;
|
|
10065
10067
|
}
|
|
10066
10068
|
function optimizeReadOnlyMap(_this__u8e3s4) {
|
|
@@ -10082,22 +10084,13 @@ function optimizeReadOnlyMap(_this__u8e3s4) {
|
|
|
10082
10084
|
}
|
|
10083
10085
|
function toMap_2(_this__u8e3s4, destination) {
|
|
10084
10086
|
// Inline function 'kotlin.apply' call
|
|
10085
|
-
|
|
10087
|
+
putAll(destination, _this__u8e3s4);
|
|
10086
10088
|
return destination;
|
|
10087
10089
|
}
|
|
10088
10090
|
function toMutableMap(_this__u8e3s4) {
|
|
10089
10091
|
return LinkedHashMap_init_$Create$_1(_this__u8e3s4);
|
|
10090
10092
|
}
|
|
10091
10093
|
function putAll(_this__u8e3s4, pairs) {
|
|
10092
|
-
var _iterator__ex2g4s = pairs.t();
|
|
10093
|
-
while (_iterator__ex2g4s.u()) {
|
|
10094
|
-
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
10095
|
-
var key = _destruct__k2r9zo.vg();
|
|
10096
|
-
var value = _destruct__k2r9zo.wg();
|
|
10097
|
-
_this__u8e3s4.w2(key, value);
|
|
10098
|
-
}
|
|
10099
|
-
}
|
|
10100
|
-
function putAll_0(_this__u8e3s4, pairs) {
|
|
10101
10094
|
var inductionVariable = 0;
|
|
10102
10095
|
var last = pairs.length;
|
|
10103
10096
|
while (inductionVariable < last) {
|
|
@@ -10108,11 +10101,14 @@ function putAll_0(_this__u8e3s4, pairs) {
|
|
|
10108
10101
|
_this__u8e3s4.w2(key, value);
|
|
10109
10102
|
}
|
|
10110
10103
|
}
|
|
10111
|
-
function
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10104
|
+
function putAll_0(_this__u8e3s4, pairs) {
|
|
10105
|
+
var _iterator__ex2g4s = pairs.t();
|
|
10106
|
+
while (_iterator__ex2g4s.u()) {
|
|
10107
|
+
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
10108
|
+
var key = _destruct__k2r9zo.vg();
|
|
10109
|
+
var value = _destruct__k2r9zo.wg();
|
|
10110
|
+
_this__u8e3s4.w2(key, value);
|
|
10111
|
+
}
|
|
10116
10112
|
}
|
|
10117
10113
|
function addAll(_this__u8e3s4, elements) {
|
|
10118
10114
|
if (isInterface(elements, Collection))
|
|
@@ -17000,8 +16996,7 @@ export {
|
|
|
17000
16996
|
contains_7 as contains2el4s70rdq4ld,
|
|
17001
16997
|
decodeToString_0 as decodeToString1x4faah2liw2p,
|
|
17002
16998
|
decodeToString as decodeToString1dbzcjd620q25,
|
|
17003
|
-
|
|
17004
|
-
encodeToByteArray as encodeToByteArray1onwao0uakjfh,
|
|
16999
|
+
encodeToByteArray as encodeToByteArray22651fhg4p67t,
|
|
17005
17000
|
endsWith_0 as endsWith1a79dp5rc3sfv,
|
|
17006
17001
|
equals_0 as equals2v6cggk171b6e,
|
|
17007
17002
|
first_1 as first3kg261hmihapu,
|