Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9a47bce

Browse files
committedMar 26, 2022
Change package name to net.kusik
1 parent 900eb0d commit 9a47bce

25 files changed

+54
-54
lines changed
 

‎transformations/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'maven-publish'
44
}
55

6-
group = 'com.lukaskusik.library'
6+
group = 'net.kusik.library'
77

88
repositories {
99
mavenCentral()

‎transformations/src/main/kotlin/com/lukaskusik/coroutines/transformations/map/ParallelMap.kt renamed to ‎transformations/src/main/kotlin/net/kusik/coroutines/transformations/map/ParallelMap.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.map
1+
package net.kusik.coroutines.transformations.map
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.map
1+
package net.kusik.coroutines.transformations.map
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapindexed
1+
package net.kusik.coroutines.transformations.mapindexed
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapindexed
1+
package net.kusik.coroutines.transformations.mapindexed
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapinplace
1+
package net.kusik.coroutines.transformations.mapinplace
22

33
inline fun <T> Array<T>.mapInPlace(transform: (T) -> T): Array<T> {
44
for (i in this.indices) this[i] = transform(this[i])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapinplace
1+
package net.kusik.coroutines.transformations.mapinplace
22

33
inline fun <T> Array<T>.mapInPlaceIndexed(transform: (index: Int, T) -> T): Array<T> {
44
for (i in this.indices) this[i] = transform(i, this[i])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapinplace
1+
package net.kusik.coroutines.transformations.mapinplace
22

33
import kotlinx.coroutines.coroutineScope
44
import kotlinx.coroutines.launch
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapinplace
1+
package net.kusik.coroutines.transformations.mapinplace
22

33
import kotlinx.coroutines.coroutineScope
44
import kotlinx.coroutines.launch
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapinplace
1+
package net.kusik.coroutines.transformations.mapinplace
22

33
import kotlinx.coroutines.coroutineScope
44
import kotlinx.coroutines.launch
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.mapinplace
1+
package net.kusik.coroutines.transformations.mapinplace
22

33
import kotlinx.coroutines.coroutineScope
44
import kotlinx.coroutines.launch
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lukaskusik.coroutines.transformations.reduce
1+
package net.kusik.coroutines.transformations.reduce
22

33
import kotlinx.coroutines.async
44
import kotlinx.coroutines.coroutineScope
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package com.lukaskusik.coroutines.transformations.benchmark
1+
package net.kusik.coroutines.transformations.benchmark
22

33
import com.carrotsearch.junitbenchmarks.AbstractBenchmark
4-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlace
5-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlaceParallel
6-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlaceParallelChunked
4+
import net.kusik.coroutines.transformations.mapinplace.mapInPlace
5+
import net.kusik.coroutines.transformations.mapinplace.mapInPlaceParallel
6+
import net.kusik.coroutines.transformations.mapinplace.mapInPlaceParallelChunked
77
import kotlinx.coroutines.Dispatchers
88
import kotlinx.coroutines.runBlocking
99
import org.junit.Test
@@ -53,4 +53,4 @@ class ParallelInPlaceMapArrayBenchmark : AbstractBenchmark() {
5353
}
5454

5555

56-
}
56+
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package com.lukaskusik.coroutines.transformations.benchmark
1+
package net.kusik.coroutines.transformations.benchmark
22

33
import com.carrotsearch.junitbenchmarks.AbstractBenchmark
4-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlace
5-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlaceParallel
6-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlaceParallelChunked
4+
import net.kusik.coroutines.transformations.mapinplace.mapInPlace
5+
import net.kusik.coroutines.transformations.mapinplace.mapInPlaceParallel
6+
import net.kusik.coroutines.transformations.mapinplace.mapInPlaceParallelChunked
77
import kotlinx.coroutines.Dispatchers
88
import kotlinx.coroutines.runBlocking
99
import org.junit.Test
@@ -56,4 +56,4 @@ class ParallelInPlaceMapPrimitiveArrayBenchmark : AbstractBenchmark() {
5656
}
5757
}
5858

59-
}
59+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.lukaskusik.coroutines.transformations.benchmark
1+
package net.kusik.coroutines.transformations.benchmark
22

33
import com.carrotsearch.junitbenchmarks.AbstractBenchmark
4-
import com.lukaskusik.coroutines.transformations.map.mapParallel
4+
import net.kusik.coroutines.transformations.map.mapParallel
55
import kotlinx.coroutines.Dispatchers
66
import kotlinx.coroutines.runBlocking
77
import org.junit.Test
@@ -37,4 +37,4 @@ class ParallelMapArrayBenchmark : AbstractBenchmark() {
3737
}
3838

3939

40-
}
40+
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package com.lukaskusik.coroutines.transformations.benchmark
1+
package net.kusik.coroutines.transformations.benchmark
22

33
import com.carrotsearch.junitbenchmarks.AbstractBenchmark
4-
import com.lukaskusik.coroutines.transformations.map.mapParallel
5-
import com.lukaskusik.coroutines.transformations.map.mapParallelChunked
6-
import com.lukaskusik.coroutines.transformations.test.ParallelMapListTest
4+
import net.kusik.coroutines.transformations.map.mapParallel
5+
import net.kusik.coroutines.transformations.map.mapParallelChunked
6+
import net.kusik.coroutines.transformations.test.ParallelMapListTest
77
import kotlinx.coroutines.Dispatchers
88
import kotlinx.coroutines.runBlocking
99
import org.junit.Test
@@ -51,4 +51,4 @@ class ParallelMapListBenchmark : AbstractBenchmark() {
5151
}
5252

5353

54-
}
54+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.lukaskusik.coroutines.transformations.benchmark
1+
package net.kusik.coroutines.transformations.benchmark
22

33
import com.carrotsearch.junitbenchmarks.AbstractBenchmark
4-
import com.lukaskusik.coroutines.transformations.map.mapParallel
4+
import net.kusik.coroutines.transformations.map.mapParallel
55
import kotlinx.coroutines.Dispatchers
66
import kotlinx.coroutines.runBlocking
77
import org.junit.Test
@@ -38,4 +38,4 @@ class ParallelMapPrimitiveArrayBenchmark : AbstractBenchmark() {
3838

3939

4040

41-
}
41+
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package com.lukaskusik.coroutines.transformations.benchmark
1+
package net.kusik.coroutines.transformations.benchmark
22

33
import com.carrotsearch.junitbenchmarks.AbstractBenchmark
4-
import com.lukaskusik.coroutines.transformations.reduce.reduceParallel
5-
import com.lukaskusik.coroutines.transformations.test.ParallelMapListTest
4+
import net.kusik.coroutines.transformations.reduce.reduceParallel
5+
import net.kusik.coroutines.transformations.test.ParallelMapListTest
66
import kotlinx.coroutines.Dispatchers
77
import kotlinx.coroutines.runBlocking
88
import org.junit.Test
@@ -51,4 +51,4 @@ class ParallelReduceBenchmark : AbstractBenchmark() {
5151
}
5252

5353

54-
}
54+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.lukaskusik.coroutines.transformations.test
1+
package net.kusik.coroutines.transformations.test
22

3-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlace
3+
import net.kusik.coroutines.transformations.mapinplace.mapInPlace
44
import org.junit.Assert
55
import org.junit.Test
66

@@ -89,4 +89,4 @@ class MapInPlaceTest {
8989
Assert.assertArrayEquals(array, resultArray)
9090
}
9191

92-
}
92+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.lukaskusik.coroutines.transformations.test
1+
package net.kusik.coroutines.transformations.test
22

3-
import com.lukaskusik.coroutines.transformations.map.mapParallel
3+
import net.kusik.coroutines.transformations.map.mapParallel
44
import kotlinx.coroutines.runBlocking
55
import org.junit.Assert
66
import org.junit.Test
@@ -121,4 +121,4 @@ class ParallelMapArrayTest {
121121
}
122122

123123

124-
}
124+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.lukaskusik.coroutines.transformations.test
1+
package net.kusik.coroutines.transformations.test
22

3-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlaceParallelChunked
3+
import net.kusik.coroutines.transformations.mapinplace.mapInPlaceParallelChunked
44
import kotlinx.coroutines.runBlocking
55
import org.junit.Assert
66
import org.junit.Test
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.lukaskusik.coroutines.transformations.test
1+
package net.kusik.coroutines.transformations.test
22

3-
import com.lukaskusik.coroutines.transformations.mapinplace.mapInPlaceParallel
3+
import net.kusik.coroutines.transformations.mapinplace.mapInPlaceParallel
44
import kotlinx.coroutines.runBlocking
55
import org.junit.Assert
66
import org.junit.Test
@@ -105,4 +105,4 @@ class ParallelMapInPlaceTest {
105105

106106
Assert.assertArrayEquals(array, resultArray)
107107
}
108-
}
108+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.lukaskusik.coroutines.transformations.test
1+
package net.kusik.coroutines.transformations.test
22

3-
import com.lukaskusik.coroutines.transformations.map.mapParallelChunked
3+
import net.kusik.coroutines.transformations.map.mapParallelChunked
44
import kotlinx.coroutines.runBlocking
55
import org.junit.Assert
66
import org.junit.Test
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.lukaskusik.coroutines.transformations.test
1+
package net.kusik.coroutines.transformations.test
22

3-
import com.lukaskusik.coroutines.transformations.map.mapParallel
3+
import net.kusik.coroutines.transformations.map.mapParallel
44
import kotlinx.coroutines.delay
55
import kotlinx.coroutines.runBlocking
66
import org.junit.Assert
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.lukaskusik.coroutines.transformations.test
1+
package net.kusik.coroutines.transformations.test
22

3-
import com.lukaskusik.coroutines.transformations.reduce.reduceParallel
3+
import net.kusik.coroutines.transformations.reduce.reduceParallel
44
import kotlinx.coroutines.runBlocking
55
import org.junit.Assert
66
import org.junit.Test

0 commit comments

Comments
 (0)
Please sign in to comment.