diff --git a/sample/app/build.gradle b/sample/app/build.gradle index 4c810db..cef7c27 100644 --- a/sample/app/build.gradle +++ b/sample/app/build.gradle @@ -93,6 +93,7 @@ android { dependencies { implementation project(":android-module-level1") implementation project(":kotlin-module") + implementation project(":kotlin-multiplatform-module") implementation libs.androidx.appcompat implementation libs.androidx.navigation.ktx implementation libs.androidx.navigation.fragment.ktx diff --git a/sample/build-logic/build.gradle b/sample/build-logic/build.gradle index 261207b..d3d1b1a 100644 --- a/sample/build-logic/build.gradle +++ b/sample/build-logic/build.gradle @@ -55,5 +55,9 @@ gradlePlugin { id = 'com.sample.kotlin.library' implementationClass = 'com.grab.sample.buildplugin.KotlinLibraryConfigPlugin' } + kotlinMultiplatformLibConfigPlugin { + id = 'com.sample.kotlin.multiplatform.library' + implementationClass = 'com.grab.sample.buildplugin.KotlinMultiplatformLibraryConfigPlugin' + } } } \ No newline at end of file diff --git a/sample/build-logic/src/main/java/com/grab/sample/buildplugin/KotlinMultiplatformLibraryConfigPlugin.kt b/sample/build-logic/src/main/java/com/grab/sample/buildplugin/KotlinMultiplatformLibraryConfigPlugin.kt new file mode 100644 index 0000000..e86fa5a --- /dev/null +++ b/sample/build-logic/src/main/java/com/grab/sample/buildplugin/KotlinMultiplatformLibraryConfigPlugin.kt @@ -0,0 +1,27 @@ +package com.grab.sample.buildplugin + +import org.gradle.api.Plugin +import org.gradle.api.Project +import org.gradle.kotlin.dsl.getByType +import org.gradle.kotlin.dsl.withType +import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile + +class KotlinMultiplatformLibraryConfigPlugin : Plugin { + override fun apply(project: Project) { + with(project) { + plugins.apply("org.jetbrains.kotlin.multiplatform") + + extensions.getByType().apply { + jvm() + jvmToolchain(JAVA_VERSION.toString().toInt()) + } + + tasks.withType().configureEach { + kotlinOptions { + jvmTarget = JVM_TARGET + } + } + } + } +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/build.gradle b/sample/kotlin-multiplatform-module/build.gradle new file mode 100644 index 0000000..6616907 --- /dev/null +++ b/sample/kotlin-multiplatform-module/build.gradle @@ -0,0 +1,30 @@ +/* + * MIT License + * + * Copyright (c) 2024. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +plugins { + id 'com.sample.kotlin.multiplatform.library' +} diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass1.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass1.kt new file mode 100644 index 0000000..165a09c --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass1.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass1 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass2().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass10.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass10.kt new file mode 100644 index 0000000..a4aca22 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass10.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass10 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass11().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass11.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass11.kt new file mode 100644 index 0000000..dcbd542 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass11.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass11 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass12().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass12.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass12.kt new file mode 100644 index 0000000..7b35dac --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass12.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass12 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass13().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass13.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass13.kt new file mode 100644 index 0000000..5f74d32 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass13.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass13 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass14().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass14.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass14.kt new file mode 100644 index 0000000..8b4c48e --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass14.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass14 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass15().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass15.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass15.kt new file mode 100644 index 0000000..57fb9ff --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass15.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass15 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass16().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass16.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass16.kt new file mode 100644 index 0000000..5de95b4 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass16.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass16 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass17().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass17.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass17.kt new file mode 100644 index 0000000..4db79d7 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass17.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass17 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass18().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass18.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass18.kt new file mode 100644 index 0000000..d7fd176 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass18.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass18 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass19().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass19.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass19.kt new file mode 100644 index 0000000..04340be --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass19.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass19 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass20().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass2.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass2.kt new file mode 100644 index 0000000..2bed9b0 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass2.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass2 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass3().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass20.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass20.kt new file mode 100644 index 0000000..a513f69 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass20.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass20 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass21().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass21.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass21.kt new file mode 100644 index 0000000..6912453 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass21.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass21 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass22().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass22.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass22.kt new file mode 100644 index 0000000..5ad3168 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass22.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass22 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass23().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass23.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass23.kt new file mode 100644 index 0000000..1c0a9f8 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass23.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass23 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass24().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass24.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass24.kt new file mode 100644 index 0000000..6694a51 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass24.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass24 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass25().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass25.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass25.kt new file mode 100644 index 0000000..82dff5f --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass25.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass25 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass26().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass26.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass26.kt new file mode 100644 index 0000000..42c9ca0 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass26.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass26 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass27().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass27.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass27.kt new file mode 100644 index 0000000..44ce3a7 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass27.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass27 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass28().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass28.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass28.kt new file mode 100644 index 0000000..428ca36 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass28.kt @@ -0,0 +1,72 @@ +package com.grab.sample.dummy + +class KMPDummyClass28 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass29().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass29.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass29.kt new file mode 100644 index 0000000..497c553 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass29.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass29 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass30().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass3.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass3.kt new file mode 100644 index 0000000..4097bbc --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass3.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass3 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass4().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass30.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass30.kt new file mode 100644 index 0000000..f7ecf47 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass30.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass30 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass31().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass31.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass31.kt new file mode 100644 index 0000000..2560fec --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass31.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass31 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass32().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass32.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass32.kt new file mode 100644 index 0000000..072ed04 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass32.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass32 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass33().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass33.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass33.kt new file mode 100644 index 0000000..988847b --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass33.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass33 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass34().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass34.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass34.kt new file mode 100644 index 0000000..1e456c7 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass34.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass34 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass35().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass35.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass35.kt new file mode 100644 index 0000000..57c2037 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass35.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass35 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass36().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass36.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass36.kt new file mode 100644 index 0000000..9e0e281 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass36.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass36 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass37().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass37.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass37.kt new file mode 100644 index 0000000..01fc894 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass37.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass37 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass38().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass38.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass38.kt new file mode 100644 index 0000000..c8c316a --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass38.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass38 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass39().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass39.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass39.kt new file mode 100644 index 0000000..5d4e4da --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass39.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass39 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass40().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass4.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass4.kt new file mode 100644 index 0000000..4945e3d --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass4.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass4 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass5().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass40.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass40.kt new file mode 100644 index 0000000..3212109 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass40.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass40 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass41().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass41.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass41.kt new file mode 100644 index 0000000..98ccee4 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass41.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass41 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass42().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass42.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass42.kt new file mode 100644 index 0000000..1565423 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass42.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass42 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass43().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass43.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass43.kt new file mode 100644 index 0000000..3adb065 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass43.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass43 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass44().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass44.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass44.kt new file mode 100644 index 0000000..03fdbc5 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass44.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass44 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass45().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass45.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass45.kt new file mode 100644 index 0000000..77212e8 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass45.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass45 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass46().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass46.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass46.kt new file mode 100644 index 0000000..9c76dc1 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass46.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass46 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass47().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass47.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass47.kt new file mode 100644 index 0000000..d67aa3b --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass47.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass47 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass48().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass48.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass48.kt new file mode 100644 index 0000000..3b30957 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass48.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass48 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass49().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass49.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass49.kt new file mode 100644 index 0000000..0a33353 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass49.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass49 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass50().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass5.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass5.kt new file mode 100644 index 0000000..ed1d996 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass5.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass5 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass6().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass50.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass50.kt new file mode 100644 index 0000000..b249586 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass50.kt @@ -0,0 +1,72 @@ +package com.grab.sample.dummy + +class KMPDummyClass50 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass51().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass51.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass51.kt new file mode 100644 index 0000000..e057f7c --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass51.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass51 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass52().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass52.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass52.kt new file mode 100644 index 0000000..6769227 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass52.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass52 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass53().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass53.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass53.kt new file mode 100644 index 0000000..bba358d --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass53.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass53 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass54().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass54.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass54.kt new file mode 100644 index 0000000..95b646c --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass54.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass54 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass55().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass55.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass55.kt new file mode 100644 index 0000000..ad41a8c --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass55.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass55 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass56().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass56.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass56.kt new file mode 100644 index 0000000..2408611 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass56.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass56 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass57().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass57.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass57.kt new file mode 100644 index 0000000..71b5244 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass57.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass57 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass58().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass58.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass58.kt new file mode 100644 index 0000000..0fd9d8a --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass58.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass58 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass59().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass59.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass59.kt new file mode 100644 index 0000000..11604c4 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass59.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass59 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass60().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass6.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass6.kt new file mode 100644 index 0000000..9704e3e --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass6.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass6 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass7().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass60.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass60.kt new file mode 100644 index 0000000..b01f0b2 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass60.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass60 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass61().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass61.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass61.kt new file mode 100644 index 0000000..f14111e --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass61.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass61 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass62().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass62.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass62.kt new file mode 100644 index 0000000..0f8de36 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass62.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass62 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass63().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass63.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass63.kt new file mode 100644 index 0000000..bbd4d5b --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass63.kt @@ -0,0 +1,72 @@ +package com.grab.sample.dummy + +class KMPDummyClass63 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass64().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass64.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass64.kt new file mode 100644 index 0000000..b469f26 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass64.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass64 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass65().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass65.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass65.kt new file mode 100644 index 0000000..33dbc0b --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass65.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass65 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass66().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass66.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass66.kt new file mode 100644 index 0000000..e363a5a --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass66.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass66 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass67().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass67.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass67.kt new file mode 100644 index 0000000..db79ba9 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass67.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass67 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass68().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass68.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass68.kt new file mode 100644 index 0000000..650d538 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass68.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass68 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass69().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass69.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass69.kt new file mode 100644 index 0000000..28ada51 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass69.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass69 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass70().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass7.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass7.kt new file mode 100644 index 0000000..5460912 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass7.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass7 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass8().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass70.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass70.kt new file mode 100644 index 0000000..1c7fec1 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass70.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass70 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass71().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass71.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass71.kt new file mode 100644 index 0000000..2e3a8a7 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass71.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass71 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass72().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass72.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass72.kt new file mode 100644 index 0000000..6a98c47 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass72.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass72 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass73().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass73.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass73.kt new file mode 100644 index 0000000..56816e7 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass73.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass73 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass74().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass74.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass74.kt new file mode 100644 index 0000000..55a5b7f --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass74.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass74 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass75().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass75.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass75.kt new file mode 100644 index 0000000..56f873e --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass75.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass75 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass76().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass76.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass76.kt new file mode 100644 index 0000000..569cca3 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass76.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass76 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass77().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass77.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass77.kt new file mode 100644 index 0000000..5d317ee --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass77.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass77 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass78().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass78.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass78.kt new file mode 100644 index 0000000..6e4546e --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass78.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass78 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass79().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass79.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass79.kt new file mode 100644 index 0000000..7c02b50 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass79.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass79 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass80().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass8.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass8.kt new file mode 100644 index 0000000..28d7179 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass8.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass8 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass9().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass80.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass80.kt new file mode 100644 index 0000000..006d488 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass80.kt @@ -0,0 +1,72 @@ +package com.grab.sample.dummy + +class KMPDummyClass80 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass81().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass81.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass81.kt new file mode 100644 index 0000000..8d4cf4c --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass81.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass81 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass82().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass82.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass82.kt new file mode 100644 index 0000000..27bd684 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass82.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass82 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass83().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass83.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass83.kt new file mode 100644 index 0000000..56f4e57 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass83.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass83 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass84().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass84.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass84.kt new file mode 100644 index 0000000..d5275f0 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass84.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass84 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass85().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass85.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass85.kt new file mode 100644 index 0000000..c73d8f4 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass85.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass85 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass86().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass86.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass86.kt new file mode 100644 index 0000000..c619765 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass86.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass86 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass87().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass87.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass87.kt new file mode 100644 index 0000000..6a06304 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass87.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass87 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass88().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass88.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass88.kt new file mode 100644 index 0000000..e04f57b --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass88.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass88 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass89().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass89.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass89.kt new file mode 100644 index 0000000..eb53702 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass89.kt @@ -0,0 +1,72 @@ +package com.grab.sample.dummy + +class KMPDummyClass89 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass90().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass9.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass9.kt new file mode 100644 index 0000000..36d2d53 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass9.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass9 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return KMPDummyClass10().method1() + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass90.kt b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass90.kt new file mode 100644 index 0000000..50932d7 --- /dev/null +++ b/sample/kotlin-multiplatform-module/src/commonMain/kotlin/com/grab/sample/dummy/KMPDummyClass90.kt @@ -0,0 +1,99 @@ +/* + * MIT License + * + * Copyright (c) 2025. Grabtaxi Holdings Pte Ltd (GRAB), All rights reserved. + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + */ + +package com.grab.sample.dummy + +class KMPDummyClass90 { + + fun method1(): String { + method2() + method3() + method4() + method5() + method6() + method7() + method8() + method9() + method10() + return "End of chain." + } + + fun method2(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method3(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method4(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method5(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method6(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method7(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method8(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method9(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + + fun method10(): String { + val str1 = (1..5).map { ('a'..'z').random() }.joinToString("") + val str2 = (1..5).map { ('a'..'z').random() }.joinToString("") + return str1 + str2 + } + +} \ No newline at end of file diff --git a/sample/module-owner.yml b/sample/module-owner.yml index b270a50..3b39612 100644 --- a/sample/module-owner.yml +++ b/sample/module-owner.yml @@ -2,7 +2,7 @@ Platform: - app Team1: - android-module-level1 + - kotlin-multiplatform-module Team2: - sample-group:android-module-level2 - - kotlin-module - + - kotlin-module \ No newline at end of file diff --git a/sample/settings.gradle b/sample/settings.gradle index b61ef14..f521449 100644 --- a/sample/settings.gradle +++ b/sample/settings.gradle @@ -53,3 +53,4 @@ include ':app' include ':android-module-level1' include ':sample-group:android-module-level2' include ':kotlin-module' +include ':kotlin-multiplatform-module' diff --git a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/TaskManager.kt b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/TaskManager.kt index 677d9a3..b1c2b86 100644 --- a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/TaskManager.kt +++ b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/TaskManager.kt @@ -41,9 +41,11 @@ import com.grab.plugin.sizer.utils.isAndroidApplication import com.grab.plugin.sizer.utils.isAndroidLibrary import com.grab.plugin.sizer.utils.isJava import com.grab.plugin.sizer.utils.isKotlinJvm +import com.grab.plugin.sizer.utils.isKotlinMultiplatform import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.artifacts.ProjectDependency +import org.gradle.api.plugins.JavaPlugin import org.gradle.api.tasks.TaskProvider import org.gradle.kotlin.dsl.the @@ -147,11 +149,15 @@ internal class TaskManager( } project.isKotlinJvm -> { - task.dependsOn(project.tasks.named("jar")) + task.dependsOn(project.tasks.named(JavaPlugin.JAR_TASK_NAME)) } project.isJava -> { - task.dependsOn(project.tasks.named("jar")) + task.dependsOn(project.tasks.named(JavaPlugin.JAR_TASK_NAME)) + } + + project.isKotlinMultiplatform -> { + task.dependsOn(project.tasks.named("jvmJar")) } } diff --git a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/ArchiveExtractor.kt b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/ArchiveExtractor.kt index 5d0335a..5589779 100644 --- a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/ArchiveExtractor.kt +++ b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/ArchiveExtractor.kt @@ -31,6 +31,7 @@ import com.grab.plugin.sizer.utils.isAndroidApplication import com.grab.plugin.sizer.utils.isAndroidLibrary import com.grab.plugin.sizer.utils.isJava import com.grab.plugin.sizer.utils.isKotlinJvm +import com.grab.plugin.sizer.utils.isKotlinMultiplatform import org.gradle.api.Project import javax.inject.Inject @@ -73,6 +74,13 @@ internal class DefaultArchiveExtractor @Inject constructor( ) } + project.isKotlinMultiplatform -> { + return JavaModuleDependency( + name = project.pathTrimColon, + pathToArtifact = matchVariant.binaryOutPut.path + ) + } + else -> { throw IllegalArgumentException("The ${project.name} is not an Android/Kotlin/Java module") } diff --git a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/VariantExtractor.kt b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/VariantExtractor.kt index b25b7ec..d686fb4 100644 --- a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/VariantExtractor.kt +++ b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/dependencies/VariantExtractor.kt @@ -34,6 +34,7 @@ import com.grab.plugin.sizer.utils.isAndroidApplication import com.grab.plugin.sizer.utils.isAndroidLibrary import com.grab.plugin.sizer.utils.isJava import com.grab.plugin.sizer.utils.isKotlinJvm +import com.grab.plugin.sizer.utils.isKotlinMultiplatform import org.gradle.api.DomainObjectSet import org.gradle.api.Project import org.gradle.api.artifacts.Configuration @@ -133,6 +134,9 @@ internal class DefaultVariantExtractor @Inject constructor( ) project.isJava || project.isKotlinJvm -> JarAppSizeVariant(project) + + project.isKotlinMultiplatform -> JarAppSizeVariant(project, "jvmJar", "jvmRuntimeClasspath") + else -> { throw IllegalArgumentException("${project.name} is not supported") } @@ -158,6 +162,9 @@ internal class DefaultVariantExtractor @Inject constructor( ) project.isJava || project.isKotlinJvm -> JarAppSizeVariant(project) + + project.isKotlinMultiplatform -> JarAppSizeVariant(project, "jvmJar", "jvmRuntimeClasspath") + else -> { throw IllegalArgumentException("${project.name} is not supported") } @@ -275,17 +282,19 @@ internal class DefaultVariantExtractor @Inject constructor( } internal class JarAppSizeVariant( - private val project: Project + private val project: Project, + private val taskName: String = JavaPlugin.JAR_TASK_NAME, + private val configurationName: String = "RuntimeClasspath" ) : AppSizeVariant { override val binaryOutPut: File get() { - val jarTask = project.tasks.findByName(JavaPlugin.JAR_TASK_NAME) as Jar + val jarTask = project.tasks.findByName(taskName) as Jar return jarTask.archiveFile.get().asFile } override val runtimeConfiguration: Configuration by lazy { project.configurations.first { - it.name.equals("RuntimeClasspath", true) + it.name.equals(configurationName, true) } } diff --git a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/utils/ProjectExtensions.kt b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/utils/ProjectExtensions.kt index 07c7b2c..e784685 100644 --- a/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/utils/ProjectExtensions.kt +++ b/sizer-gradle-plugin/src/main/kotlin/com/grab/plugin/sizer/utils/ProjectExtensions.kt @@ -34,8 +34,10 @@ internal const val ANDROID_APPLICATION_PLUGIN = "com.android.application" internal const val ANDROID_LIBRARY_PLUGIN = "com.android.library" internal const val JAVA_LIB_PLUGIN = "java-library" internal const val KOTLIN_LIB_PLUGIN = "org.jetbrains.kotlin.jvm" +internal const val KOTLIN_MPP_PLUGIN = "org.jetbrains.kotlin.multiplatform" val Project.isAndroidLibrary get() = plugins.hasPlugin(ANDROID_LIBRARY_PLUGIN) val Project.isAndroidApplication get() = plugins.hasPlugin(ANDROID_APPLICATION_PLUGIN) val Project.isKotlinJvm get() = plugins.hasPlugin(KOTLIN_LIB_PLUGIN) -val Project.isJava get() = plugins.hasPlugin(JAVA_LIB_PLUGIN) || plugins.hasPlugin(JavaPlugin::class.java) \ No newline at end of file +val Project.isJava get() = plugins.hasPlugin(JAVA_LIB_PLUGIN) || plugins.hasPlugin(JavaPlugin::class.java) +val Project.isKotlinMultiplatform get() = plugins.hasPlugin(KOTLIN_MPP_PLUGIN) \ No newline at end of file