path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/example/wordle/MainActivity.kt
Alisasa
535,782,627
false
{"Kotlin": 8049}
package com.example.wordle import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import android.widget.Button import android.widget.EditText import android.widget.TextView import android.widget.Toast import org.w3c.dom.Text import java.security.KeySto...
1
Kotlin
0
0
7441c6e6cc0338a202b795c1c40f6a73ffe9005c
4,397
Wordle-Codepath
Apache License 2.0
app/src/main/java/com/aliernfrog/pftool/data/Language.kt
aliernfrog
491,592,330
false
{"Kotlin": 327043, "AIDL": 714}
package com.aliernfrog.pftool.data data class Language( val languageCode: String, val countryCode: String?, val fullCode: String, val localizedName: String )
0
Kotlin
0
8
ac7f2758f6e66d3fb53de1765f06f89bc8c67c29
174
pf-tool
MIT License
app/src/main/java/com/duckduckgo/app/firebutton/FireButtonStore.kt
hojat72elect
822,396,044
false
{"Kotlin": 11626231, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.app.firebutton import androidx.core.content.edit import com.duckduckgo.data.store.api.SharedPreferencesProvider import com.duckduckgo.di.scopes.AppScope import com.squareup.anvil.annotations.ContributesBinding import javax.inject.Inject interface FireButtonStore { val fireButttonUseCount: I...
0
Kotlin
0
0
b89591136b60933d6a03fac43a38ee183116b7f8
1,122
DuckDuckGo
Apache License 2.0
sdk/src/main/java/me/digi/sdk/callbacks/DMEPushClientCallbacks.kt
osirisinferi
257,033,937
true
{"Kotlin": 110995}
package me.digi.sdk.callbacks import me.digi.sdk.DMEError import me.digi.sdk.entities.DMEPostbox typealias DMEPostboxCreationCompletion = (DMEPostbox?, error: DMEError?) -> Unit typealias DMEPostboxPushCompletion = (error: DMEError?) -> Unit
0
null
0
0
d47b423bf00e1c969ff7d9563100d3b921eccd6c
244
digime-sdk-android
Apache License 2.0
app/src/main/java/in/kaligotla/allpermissionsimpl/presentation/main/permissions/bodySensors/sensorStates/LinearAccelerationSensorState.kt
deepakkaligotla
722,851,480
false
{"Kotlin": 353541}
package `in`.kaligotla.allpermissionsimpl.presentation.main.permissions.bodySensors.sensorStates import android.os.Build import androidx.annotation.RequiresApi import androidx.compose.runtime.Composable import androidx.compose.runtime.Immutable import androidx.compose.runtime.LaunchedEffect import androidx.compose.run...
0
Kotlin
0
0
78aa5df02ddb7b7d81aca06dcdcc8e8edc11255a
4,062
android_permissions
The Unlicense
aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/config/retries/ResolveRetryStrategyTest.kt
awslabs
121,333,316
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package aws.sdk.kotlin.runtime.config.retries import aws.sdk.kotlin.runtime.ConfigurationException import aws.sdk.kotlin.runtime.config.AwsSdkSetting import aws.smithy.kotlin.runtime.ClientException imp...
88
null
49
407
287408211f193624d37678d66b0f31f457017d08
8,641
aws-sdk-kotlin
Apache License 2.0
app/src/androidTest/java/com/google/samples/apps/sunflower/viewmodels/PlantDetailViewModelTest.kt
isfaaghyth
286,004,498
true
{"Kotlin": 107166, "Shell": 1529}
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
3
43798280bfd555ed2629d19c31d5e430d4a36210
2,366
sunflower
Apache License 2.0
library/springboot/springboot/src/test/kotlin/de/lise/fluxflow/springboot/ioc/testservices/SpringIocProviderTestService.kt
lisegmbh
740,936,659
false
{"Kotlin": 732955}
package de.lise.fluxflow.springboot.ioc.testservices import org.springframework.stereotype.Service @Service class SpringIocProviderTestService
20
Kotlin
0
7
03a99c536434660fc2cde3df9e220991ff487599
144
fluxflow
Apache License 2.0
src/main/kotlin/dk/cachet/carp/webservices/common/serialisers/ApplicationRequestSerializer.kt
cph-cachet
674,650,033
false
{"Kotlin": 613954, "TypeScript": 109044, "HTML": 9317, "FreeMarker": 4300, "Shell": 4202, "CSS": 1656, "Dockerfile": 1264, "JavaScript": 706}
package dk.cachet.carp.webservices.common.serialisers import dk.cachet.carp.common.application.services.ApplicationService import dk.cachet.carp.common.infrastructure.services.ApplicationServiceRequest import dk.cachet.carp.webservices.common.input.WS_JSON import kotlinx.serialization.KSerializer /** * Serializes an...
16
Kotlin
2
3
e28763e0058a34fb6c6efd864d6b8ca65c50a13c
1,588
carp-webservices-spring
MIT License
app/src/main/java/org/mydaily/data/remote/datasource/GoalRemoteDataSource.kt
TeamMyDaily
325,142,861
false
null
package org.mydaily.data.remote.datasource import org.mydaily.data.model.network.request.ReqGoalPost import org.mydaily.data.model.network.request.ReqGoalPut import org.mydaily.data.model.network.response.Response import org.mydaily.data.model.network.response.ResGoalGet import org.mydaily.data.model.network.response....
4
Kotlin
1
9
d820795fe1a6332de9ceb6b69ad1d137038d0910
660
4most-Android
Apache License 2.0
packages/library-base/src/commonMain/kotlin/io/realm/kotlin/types/geo/GeoPolygon.kt
realm
235,075,339
false
null
/* * Copyright 2023 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
199
Kotlin
50
703
c8f3e0bfd8273cc45e61abc3b51ace3ae44df3e1
5,653
realm-kotlin
Apache License 2.0
JniReference/src/main/java/com/jesen/jnireference/bean/DecFile.kt
Jesen0823
393,152,403
false
{"C": 152336, "C++": 60575, "Kotlin": 22572, "CMake": 6695, "Java": 948}
package com.jesen.jnireference.bean import android.util.Log /** * java对象类 * */ data class DecFile(var name: String = "default", var size: Int = 0){ companion object{ var path = "d:/user" @JvmStatic var times = 0 @JvmStatic fun callStaticMethod(strs: Array<String>?, num: ...
0
C
0
0
0df4e48883d31cd842798405d7f67421a847f2c9
686
NDK_jni_cmake
Apache License 2.0
exerlistarray.kt
animeprocoder
524,613,564
false
null
fun main(){ //Items on the desk var Items = arrayListOf("laptop", "mouse", "pen", "paper", "mug", "phone") //Removed Items for increase of productivity val removedItems = arrayListOf("pen", "paper", "mug", "phone") Items.removeAll(removedItems.toSet()) println(Items) }
0
Kotlin
0
0
45050c056e56ea30c400f06553ffa34777bd166a
293
Task1-Excersice1
Boost Software License 1.0
app/src/main/java/com/lemon/wanandroid/ui/main/MainActivity.kt
kevin-lemon
224,783,263
false
null
package com.lemon.wanandroid.ui.main import android.os.Bundle import android.view.KeyEvent import android.widget.Toast import androidx.lifecycle.LiveData import androidx.lifecycle.Observer import androidx.navigation.NavController import androidx.navigation.ui.setupActionBarWithNavController import com.lemon.wanandroid...
0
Kotlin
0
2
071aee57eda1191309f6522403e8998d580a153b
1,789
kotlin-wanAndroid
Apache License 2.0
math/src/main/java/com/kylecorry/sol/math/algebra/Matrix.kt
kylecorry31
294,668,785
false
null
package com.kylecorry.sol.math.algebra typealias Matrix = Array<Array<Float>> fun Matrix.rows(): Int { return size } fun Matrix.columns(): Int { if (rows() == 0) { return 0 } return get(0).size } operator fun Matrix.get(row: Int, column: Int): Float { return this[row][column] } operato...
7
Kotlin
2
3
30f81bbbe909df17504243a0500bf6cfbf3f3ad4
606
Trail-Sense-Core
MIT License
feature/auth/ui/src/main/java/com/auth/ui/screens/forgot_password/PasswordReset.kt
7pak
764,350,162
false
{"Kotlin": 496880}
package com.auth.ui.screens.forgot_password import android.widget.Toast import androidx.activity.compose.LocalOnBackPressedDispatcherOwner import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layo...
0
Kotlin
0
1
2fe106a4241dfd24ef63948ebb3095ce40c6f9d7
6,741
LonePaw-PetAdoption
MIT License
src/main/kotlin/algorithms/leetcode/easy/SquaresOfASortedArray.kt
DenisLatushko
615,981,611
false
{"Kotlin": 129747}
package algorithms.leetcode.easy /** * Description: https://leetcode.com/problems/squares-of-a-sorted-array/description/ */ fun sortedSquares(nums: IntArray): IntArray { if (nums.size == 1) return nums.apply { this[0] = pow(this[0]) } var left = 0 var right = nums.lastIndex var ind = nums.lastIndex...
0
Kotlin
0
0
3b57094ed800e5dbaf4a2def403902ebd5010c3b
830
leetcode
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Speaker.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.compose.ui.g...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,913
icons
MIT License
src/main/kotlin/upaio/apis/adapters/JugadorResource.kt
upa-io
818,733,793
false
{"Kotlin": 9987}
import jakarta.inject.Inject import jakarta.ws.rs.Consumes import jakarta.ws.rs.GET import jakarta.ws.rs.Path import jakarta.ws.rs.Produces import jakarta.ws.rs.core.MediaType import jakarta.ws.rs.core.Response import upaio.apis.usescases.JugadorServices @Path("/upaio/apis/v1") @Produces(MediaType.APPLICATION_JSON) @C...
0
Kotlin
0
0
7ac47a337933f0c22d77899c161d05b607336b92
569
quarkus-gradle-chassis-kotlin
Apache License 2.0
experiments/src/main/kotlin/com/kjipo/experiments/FitLineUsingFilledPixels.kt
torebre
64,392,301
false
null
package com.kjipo.experiments import com.kjipo.raster.match.MatchDistance import com.kjipo.segmentation.Matrix import com.kjipo.segmentation.fitSingleLine3 import com.kjipo.segmentation.shrinkImage import com.kjipo.skeleton.transformArraysToMatrix import com.kjipo.skeleton.transformToBooleanArrays import javafx.scene....
0
Kotlin
0
0
cc49f6e7ccf5814c47f3c53ce7443eb99e4772b2
1,955
Encodings
MIT License
app/src/main/kotlin/com/boscatov/schedulercw/interactor/scheduler/SchedulerInteractor.kt
23alot
160,862,563
false
null
package com.boscatov.schedulercw.interactor.scheduler import io.reactivex.Completable interface SchedulerInteractor { /** * Получаем задачу, меняем статус на Active, меняем время начала на текущее, обновляем задачу в бд * */ fun startTaskCompletable(taskId:Long) : Completable /** * По...
0
Kotlin
0
0
28ef14d8134a8555b1f2dee62bce9bef5ad6f607
755
scheduler-cw
Apache License 2.0
feature/hidden-notes-dialog/ui/core/src/main/kotlin/ru/maksonic/beresta/feature/hidden_notes_dialog/ui/core/core/Model.kt
maksonic
580,058,579
false
{"Kotlin": 1587340, "Assembly": 374}
package ru.maksonic.beresta.feature.hidden_notes_dialog.ui.core.core import androidx.compose.runtime.Immutable import androidx.compose.runtime.Stable import ru.maksonic.beresta.feature.hidden_notes_dialog.domain.PinFailInfo import ru.maksonic.beresta.feature.hidden_notes_dialog.domain.PinPrivacy import ru.maksonic.ber...
0
Kotlin
0
0
863585ab17882e444060e5535401c728f9fc335d
4,173
Beresta
MIT License
src/test/kotlin/contorller/PaymentController.kt
shiniseong
817,683,707
false
{"Kotlin": 53064, "TypeScript": 8544}
package contorller import exceptions.PaymentException import io.github.shiniseong.bridgeApi.annotation.method.Get import io.github.shiniseong.bridgeApi.annotation.method.Post class PaymentController { @Get("") fun getAllPayments() { throw Throwable("test throwable") } @Post("") fun create...
0
Kotlin
0
0
b56ebd03d89f259063c29380aa909d2af723152f
395
bridge-api
MIT License
skellig-test-step-processing-rmq/src/test/kotlin/org/skellig/teststep/processor/rmq/model/RmqConsumableTestStepTest.kt
skellig-framework
263,021,995
false
{"Kotlin": 1283314, "CSS": 525991, "Java": 270216, "FreeMarker": 66859, "HTML": 11313, "ANTLR": 6165}
package org.skellig.teststep.processor.rmq.model import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test class RmqConsumableTestStepTest { @Test fun testToString() { assertEquals( "name = <NAME>\n" + "execution = ASYNC\n" + "rou...
8
Kotlin
0
3
ed375268b0e444f1928f22f4ac27603e9d1fb66b
697
skellig-core
Apache License 2.0
app/src/main/java/com/mnnit/moticlubs/ui/components/MarkdownRender.kt
CC-MNNIT
576,708,897
false
{"Kotlin": 557366, "Shell": 212}
package com.mnnit.moticlubs.ui.components import android.util.Patterns import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxWidth im...
0
Kotlin
1
1
acee31b30745c6bd261fd7dd587eaea6512645e6
4,054
MotiClubs
MIT License
easypay-widgets/src/androidTest/java/com/easypaysolutions/utils/pages/AddNewCardPage.kt
Easy-Pay-Solutions
784,747,593
false
{"Kotlin": 390710, "Java": 318}
package com.easypaysolutions.utils.pages import androidx.test.espresso.Espresso.onView import androidx.test.espresso.action.ViewActions.click import androidx.test.espresso.action.ViewActions.typeText import androidx.test.espresso.matcher.RootMatchers.isDialog import androidx.test.espresso.matcher.ViewMatchers.isDescen...
0
Kotlin
0
0
56cae5dc36afc85a654a5ad0ae3c30d4a827386b
2,313
Mobile-SDK-Android
Apache License 2.0
tangem-demo/src/main/java/com/tangem/tangemtest/ucase/variants/personalize/dto/DefaultPersonalizationParams.kt
byennen
259,809,719
true
{"Kotlin": 449827}
package com.tangem.tangemtest.ucase.variants.personalize.dto import com.tangem.KeyPair import com.tangem.commands.personalization.entities.Acquirer import com.tangem.commands.personalization.entities.Issuer import com.tangem.commands.personalization.entities.Manufacturer /** * Created by <NAME> on 27/03/2020. */ i...
0
null
0
1
92e1f653522aefde668fdc100230d62492487182
1,775
tangem-sdk-android
MIT License
src/main/kotlin/ffmpegcommand/argument/TimePositionArgument.kt
Vnicius
374,466,262
false
null
package ffmpegcommand.argument open class TimePositionArgument(override val key: String): Argument() { override val value: String get() = position private var position: String = "" fun setPosition(seconds: Int) { position = seconds.toString() } fun setPosition(seconds: Float) { ...
0
Kotlin
0
0
3a22f2c088f7340cbc58d50cca57db17baab201a
531
ffmpeg-dsl
MIT License
gerbera-html/src/test/kotlin/MarkdownGenTester.kt
kotpot
672,754,643
false
{"Kotlin": 21843, "HTML": 82}
import org.kotpot.gerbera.html.markdown.MarkdownConstitute import org.junit.jupiter.api.Test import java.io.File class MarkdownGenTester { private val curRoot: String = System.getProperty("user.dir") private val resourcesDir = "/src/test/resources" @Test fun genCommonMd() { val root = File(c...
0
Kotlin
0
4
7433916113f91e279a3093de6610492eadb0a6b9
526
gerbera
MIT License
src/main/kotlin/de/sotterbeck/traindestroy/common/LocalizationSource.kt
sotterbeck
785,913,194
false
{"Kotlin": 52385}
package de.sotterbeck.traindestroy.common import java.util.* interface LocalizationSource { fun getString(key: String, locale: Locale): String }
0
Kotlin
0
0
b32803c08c2da5a97af706ebe95b7d6c08bb4f9b
153
train-destroy
Apache License 2.0
app/src/main/java/gr/blackswamp/ratingsdiary/ui/adapters/EntryListAdapter.kt
JMavrelos
226,307,606
false
null
package gr.blackswamp.ratingsdiary.ui.adapters import android.annotation.SuppressLint import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import gr.blackswamp.core.util.asString import gr.blackswamp.co...
0
Kotlin
0
0
9bf2635582fbb6c5ce82860241cf5f206f995729
2,836
RatingsDiary
Apache License 2.0
app/src/main/java/me/jonas/lmdx/LmdxBackend.kt
jonasek369
872,514,119
false
{"Kotlin": 83515}
package me.jonas.lmdx import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.app.Service import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.In...
0
Kotlin
0
0
5103bf4a6b8d2fd1243effa4b8424bb65b598ea8
39,374
lmdx-android-public
MIT License
smithy-swift-codegen/src/main/kotlin/software/amazon/smithy/swift/codegen/integration/serde/xml/DynamicNodeDecodingXMLGenerator.kt
smithy-lang
242,852,561
false
{"Kotlin": 1329364, "Swift": 499468, "Smithy": 113922}
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ package software.amazon.smithy.swift.codegen.integration.serde.xml import software.amazon.smithy.codegen.core.Symbol import software.amazon.smithy.model.shapes.MemberShape import software.amazon.smithy...
9
Kotlin
20
27
f6c8bc807356e1d82aadc36e9c077079e5f0f3aa
2,875
smithy-swift
Apache License 2.0
app/src/main/java/com/example/omdb/ui/home/ContentTypeCard.kt
Pro-55
195,038,410
false
{"Kotlin": 259217}
package com.example.omdb.ui.home import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.f...
0
Kotlin
0
1
2ee54ce67c4c077ef1ccb83cd92121e3eb778c09
2,086
OMDb
Apache License 2.0
app/src/main/kotlin/com/giant/liders/notes/ViewGroupExtension.kt
BombaStudio
297,716,443
false
null
package com.giant.liders.notes import android.view.LayoutInflater import android.view.View import android.view.ViewGroup fun ViewGroup.inflate(layoutId: Int): View { val layoutInflater = LayoutInflater.from(context) return layoutInflater.inflate(layoutId, this, false) }
0
Kotlin
0
0
2aeb1501df1288133819a002e25a53df1c243f18
280
first-kotlin-app
Apache License 2.0
client-stub-jersey1/src/main/kotlin/com/github/simy4/stub/jersey1/Jersey1ResponseConverter.kt
codacy-badger
138,725,089
false
{"Kotlin": 34903}
package com.github.simy4.stub.jersey1 import com.github.simy4.stub.core.Attempt import com.github.simy4.stub.core.Response import com.sun.jersey.api.client.Client import com.sun.jersey.api.client.ClientHandlerException import com.sun.jersey.api.client.ClientRequest import com.sun.jersey.api.client.ClientResponse impor...
0
Kotlin
0
1
80fc785fd6e95848df90b85c8fe55eb2eed2a708
5,101
client-stub
Apache License 2.0
payments-core/src/main/java/com/stripe/android/payments/core/injection/CoroutineContextModule.kt
stripe
6,926,049
false
null
package com.stripe.android.payments.core.injection import com.stripe.android.core.injection.IOContext import com.stripe.android.core.injection.UIContext import dagger.Module import dagger.Provides import kotlinx.coroutines.Dispatchers import javax.inject.Singleton import kotlin.coroutines.CoroutineContext @Module cla...
54
Kotlin
502
866
c64b81095c36df34ffb361da276c116ffd5a2523
567
stripe-android
MIT License
app/src/main/java/me/ssttkkl/sharenote/data/service/ServiceModule.kt
ssttkkl
503,981,002
false
null
package me.ssttkkl.sharenote.data.service import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent @Module @InstallIn(SingletonComponent::class) internal abstract class ServiceModule { @Binds abstract fun publicService(impl: PublicServiceImpl): Pub...
0
Kotlin
0
0
ea59853d8d4e62b08c8e99b98b014ae78fe5490b
418
ShareNote
Apache License 2.0
app/src/main/java/eu/innosoft/androidpoc/features/sign_up/SignUpComponent.kt
ChunyuanCai
162,724,302
false
null
package eu.innosoft.androidpoc.features.sign_up import dagger.Component import eu.innosoft.androidpoc.activities.splash.SplashComponent import eu.innosoft.androidpoc.di.FeatureScope @Component(dependencies = [(SplashComponent::class)], modules = [(SignUpModule::class)]) @FeatureScope interface SignUpComponent { f...
0
Kotlin
0
1
e162ca62405add3d3e78646d46382a5eee105abc
349
AndroidPOC
Apache License 2.0
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/routes/exceptionhandling/ExceptionHandler.kt
navikt
487,246,438
false
{"Kotlin": 1042302, "Shell": 1318, "Dockerfile": 495, "HTML": 45}
package no.nav.tiltakspenger.vedtak.routes.exceptionhandling import io.ktor.http.HttpStatusCode import io.ktor.server.application.ApplicationCall import io.ktor.server.request.ContentTransformationException import io.ktor.server.request.uri import io.ktor.server.response.respond import mu.KotlinLogging import no.nav.t...
0
Kotlin
0
1
c23890a313eac464b2eae8d6e6f143b47a4b693e
2,364
tiltakspenger-vedtak
MIT License
app/src/main/java/hr/ferit/drazen/antunovic/chatier/ui/routes/signin/SignIn.kt
Stakljar
660,216,878
false
{"Kotlin": 147262}
package hr.ferit.drazen.antunovic.chatier.ui.routes.signin import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.compose.ui.Modifier import hr.ferit.drazen.antunovic.chatier.data.Result import hr.ferit.drazen.antunovic.chatier...
0
Kotlin
0
0
5e1048088216742161d5419fe6003d4c16fe659e
1,330
chatting-app
MIT License
src/main/kotlin/me/honnold/mpq/util/ByteBufferInputStream.kt
jhonnold
276,220,774
false
{"Kotlin": 18132}
package me.honnold.mpq.util import java.io.InputStream import java.nio.ByteBuffer class ByteBufferInputStream(private val buffer: ByteBuffer): InputStream() { @ExperimentalUnsignedTypes @Synchronized override fun read() = if (this.buffer.hasRemaining()) this.buffer.get().toUByte().toInt() else -1 }
0
Kotlin
0
1
8a41cc9120f1ca20dac7060d1765960f8229c419
309
mpq
MIT License
android/khajit/app/src/main/java/com/project/khajit_app/data/models/EquipmentBSOrderModel.kt
bounswe
170,124,936
false
{"Kotlin": 416637, "Python": 210731, "SCSS": 184849, "CSS": 97799, "Less": 78481, "JavaScript": 56513, "HTML": 35601, "Dockerfile": 1032, "Shell": 76}
package com.project.khajit_app.data.models data class EquipmentBSOrderModel ( val currency : String, val amount : Double, val e_amount : Int )
31
Kotlin
2
9
40370c1e8ff7f49dead59034e8baab8a99e3adbf
155
bounswe2019group1
MIT License
src/nativeMain/kotlin/exceptions/ScanningException.kt
wordandahalf
737,967,043
false
{"Kotlin": 10178}
package exceptions class ScanningException(line: Int, char: Char) : LoxException("Unexpected character '$char' on line $line")
0
Kotlin
0
0
81603f440829e2dadaa965a9216626456b02f436
131
klox
Apache License 2.0
api/src/main/kotlin/com/wnsgml972/strada/api/v1/ordering/service/OrderingDetailDTO.kt
Coffee-Street
289,485,814
false
{"Kotlin": 267923, "Shell": 2546, "Dockerfile": 174}
package com.wnsgml972.strada.api.v1.ordering.service import com.wnsgml972.strada.api.v1.option.bean.service.BeanOptionDTO import com.wnsgml972.strada.api.v1.option.bread.service.BreadOptionDTO import com.wnsgml972.strada.api.v1.option.drink.service.DrinkOptionDTO data class OrderingDetailDTO( val id: Long, va...
2
Kotlin
2
2
24422867afe6c7f547a93f98083f655ecb80c0ed
538
strada
MIT License
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/util/units/time.kt
randomnetcat
208,137,961
true
{"Kotlin": 119475, "Java": 43105}
@file:Suppress("NOTHING_TO_INLINE", "OVERRIDE_BY_INLINE") package org.firstinspires.ftc.teamcode.util.units import com.acmerobotics.roadrunner.util.NanoClock typealias RawTime = Double private fun Number.toRawTime() = this.toDouble() private fun Int.toRawTime() = this.toDouble() interface Duration { companion ...
0
Kotlin
0
0
ec4226d7aee8c3b4b8309655cdffeaf223bc22fe
3,603
SkyStone
MIT License
app/src/main/java/com/otsembo/farmersfirst/data/database/DBSeed.kt
otsembo
763,582,014
false
{"Kotlin": 251482}
package com.otsembo.farmersfirst.data.database import com.otsembo.farmersfirst.data.database.dao.ProductDao import com.otsembo.farmersfirst.data.model.Product import kotlinx.coroutines.flow.collect /** * Object responsible for providing a list of pre-defined Product objects for database seeding or display purposes. ...
0
Kotlin
0
0
5c74fa9163d77354dc5373dd31bcd4889bf9fc5e
11,852
FarmersFirst
MIT License
src/main/kotlin/eu/chainfire/kjs/sharedmemory/Atomics.kt
Chainfire
286,034,665
false
null
import eu.chainfire.kjs.sharedmemory.SharedArrayBuffer import org.khronos.webgl.ArrayBufferView import org.khronos.webgl.Int32Array external class Atomics { companion object { fun add(typedArray: ArrayBufferView, index: Int, value: Int): Int fun and(typedArray: ArrayBufferView, index: Int, value: I...
0
Kotlin
1
11
f23a3cc1f8d3c4c2f1a8404d3287d2f01dfa0aef
1,248
kotlin-js-sharedmemory
Apache License 2.0
src/main/kotlin/other_contests/company/dwacon/2016-a.kt
kirimin
197,707,422
false
null
package other_contests.company.dwacon import java.util.* fun main(args: Array<String>) { val sc = Scanner(System.`in`) val n = sc.nextLong() println(problem2016a(n)) } fun problem2016a(n: Long): Long { return (n / 25L) }
0
Kotlin
1
5
87f20b4aa2031c130867c546dd5533890f1978ee
239
AtCoderLog
The Unlicense
src/main/services/user_account/GetUserAccountService.kt
ncent-archive
150,326,270
false
{"Kotlin": 352866, "JavaScript": 7544, "Makefile": 563, "Shell": 222}
package main.services.user_account import kotlinserverless.framework.services.SOAResult import main.daos.* import framework.services.DaoService import kotlinserverless.framework.models.NotFoundException import org.jetbrains.exposed.sql.select object GetUserAccountService { fun execute(userId: Int? = null, email: ...
16
Kotlin
2
2
802160f3332c4b6d63d4219067848e38a689c48b
1,577
ncent-api-v2
MIT License
app/src/main/java/de/eliteschw31n/moonrakerremote/MainActivity.kt
eliteSchwein
356,925,596
false
null
package de.eliteschw31n.moonrakerremote import android.content.Context import android.os.Bundle import android.view.Menu import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.widget.Toolbar import androidx.drawerlayout.widget.DrawerLayout import androidx.fragment.app.FragmentManager import androidx...
10
Kotlin
0
2
567beb34534ad9e0a21dee59b47bb633a94d5805
3,277
moonraker-remote-android
MIT License
app/src/main/java/com/ucsm/tylersai/amsteacher/ui/activity/AddSubjectDeanActivity.kt
hanlinag
290,556,091
false
{"Kotlin": 272592, "Java": 421, "Assembly": 9}
package com.ucsm.tylersai.amsteacher.ui.activity import android.app.ProgressDialog import android.content.DialogInterface import android.os.Bundle import android.view.Menu import android.view.MenuItem import android.view.View import android.widget.* import androidx.appcompat.app.AlertDialog import androidx.appcompat.a...
0
Kotlin
2
4
2ea4e1408c3b74d89f4a9594a6e81994715f958b
23,224
ams-teacher
MIT License
src/main/kotlin/us/jwf/aoc2020/Day20JurassicJigsaw.kt
jasonwyatt
318,073,137
false
null
package us.jwf.aoc2020 import java.io.Reader import java.util.* import kotlin.collections.HashSet import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.collect import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.firstOrNull import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flo...
0
Kotlin
0
0
60282b121bec6b845a74507960934a03a9153178
8,831
AdventOfCode-Kotlin
Apache License 2.0
kzen-auto-js/src/main/kotlin/tech/kzen/auto/client/service/global/SessionState.kt
alexoooo
131,353,826
false
null
package tech.kzen.auto.client.service.global import tech.kzen.auto.client.util.NavigationRoute import tech.kzen.auto.common.paradigm.imperative.model.ImperativeModel import tech.kzen.lib.common.model.definition.GraphDefinitionAttempt import tech.kzen.lib.common.model.document.DocumentPath import tech.kzen.lib.common.m...
0
Kotlin
0
1
498c920e50ec1461cd936ce5f553bb1c33924138
806
kzen-auto
MIT License
app/src/main/java/com/cornellappdev/uplift/ui/screens/LandingScreen.kt
cuappdev
596,747,757
false
{"Kotlin": 350256}
package com.cornellappdev.uplift.ui.screens import androidx.compose.animation.Crossfade import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.compose.ui.platform.LocalContext impo...
10
Kotlin
0
1
b05cf506e5da872597bab691b1b2232b02c7bb18
3,383
uplift-android
MIT License
app/src/main/java/com/safframework/delegate/prefs/PrefsHelper.kt
fengzhizi715
136,885,430
false
null
package com.safframework.delegate.prefs import android.content.SharedPreferences /** * * @FileName: * com.safframework.delegate.prefs.PrefsHelper.java * @author: <NAME> * @date: 2018-06-28 23:43 * @version V1.0 <描述当前版本功能> */ class PrefsHelper(prefs: SharedPreferences) { var name by prefs.string("...
0
Kotlin
9
46
16aa67ec5a3745326824e28176695e3c0dbf9075
462
SAF-Object-Delegate
Apache License 2.0
kotlin_practice/src/main/java/dev/vengateshm/kotlin_practice/programs/StackImpl.kt
vengateshm
670,054,614
false
{"Kotlin": 1233929, "Java": 28903}
package dev.vengateshm.kotlin_practice.programs class Stack<T> { private val items: MutableList<T> = mutableListOf() fun push(item: T) { items.add(item) } fun pop(): T? { if (isEmpty()) return null return items.removeAt(items.size - 1) } fun peek(): T? { if (i...
0
Kotlin
0
1
4b74ac3f2d070382a931d08ef1acc115eb23fefe
776
Android-Kotlin-Jetpack-Compose-Practice
Apache License 2.0
src/main/kotlin/com/cuupa/mailprocessor/delegates/preprocessing/scan/DocumentSeparationDelegate.kt
Cuupa
281,472,343
false
null
package com.cuupa.mailprocessor.delegates.preprocessing.scan import com.cuupa.mailprocessor.delegates.AbstractJavaDelegate import com.cuupa.mailprocessor.process.ProcessVariables import com.cuupa.mailprocessor.services.files.content.FileFacade import com.cuupa.mailprocessor.userconfiguration.WorkDirectory import org.a...
9
Kotlin
0
0
fb308637d47a6d69ae23710db3e972297c6ffa26
1,360
mailprocessor
MIT License
base_gallery/src/main/java/com/maxmakarov/base/gallery/db/MoshiFactory.kt
maxmakarovdev
666,362,590
false
null
package com.maxmakarov.base.gallery.db import com.squareup.moshi.Moshi object MoshiFactory { val moshi = Moshi.Builder().build() }
0
Kotlin
0
1
684e69452b9a5cb3549dc9412265c437f8dbb753
136
android-unsplash-gallery-sample
Apache License 2.0
Source/packages/apps/Settings/src/com/android/settings/spa/development/UsageStatsListModel.kt
stayboogy
784,959,483
false
{"XML": 12479, "Ignore List": 14, "Markdown": 7, "Text": 104, "Shell": 20, "Makefile": 32, "INI": 11, "Soong": 58, "Java": 9482, "Gradle": 8, "Java Properties": 5, "Batchfile": 3, "Proguard": 2, "Protocol Buffer": 33, "JSON": 83, "Python": 6, "Kotlin": 469, "C++": 24, "XSLT": 1, "HTML": 5, "C": 23, "AIDL": 5, "Git Attr...
/* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Java
0
0
e6132560c5e2416db150b856bd3f331d80795c4c
4,453
stayboogy_AOSimPle_Pixel-5_Redfin
Apache License 2.0
src/main/kotlin/net/bjoernpetersen/musicbot/api/module/ConfigModule.kt
fossabot
202,610,963
true
{"Kotlin": 211965}
package net.bjoernpetersen.musicbot.api.module import com.google.inject.AbstractModule import com.google.inject.Provides import net.bjoernpetersen.musicbot.api.config.ConfigManager import javax.inject.Singleton class ConfigModule(private val configManager: ConfigManager) : AbstractModule() { @Provides @Single...
0
Kotlin
0
0
1355b9a5d8970ba99f5d8365d3af197dfe186cdc
366
MusicBot
MIT License
app/src/main/java/com/example/leagueorganizer/network/TeamsApiService.kt
sahinakkaya
459,107,945
false
null
package com.example.leagueorganizer.network import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import retrofit2.Retrofit import retrofit2.converter.moshi.MoshiConverterFactory import retrofit2.http.GET import retrofit2.http.Headers import retrofit2.http.Query private con...
0
Kotlin
0
0
3fbfb998ee08ba3a5c78e0c9279c578d0fb9e182
981
league-organizer
Apache License 2.0
app/src/main/java/com/emrekose/videogames/common/SimpleTextWatcher.kt
emrekose26
329,276,392
false
null
package com.emrekose.videogames.common import android.text.Editable import android.text.TextWatcher abstract class SimpleTextWatcher: TextWatcher { override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) { } override fun afterTextChanged(s: Editable?) { } }
0
Kotlin
0
2
9ff281a07df645bf8477f91f6350fed8bc6e8bb9
296
video-games-app
Apache License 2.0
user-agent/user-agent-store/src/test/java/com/duckduckgo/user/agent/store/RealUserAgentFeatureToggleRepositoryTest.kt
duckduckgo
78,869,127
false
{"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784}
/* * Copyright (c) 2024 DuckDuckGo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
67
Kotlin
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
1,706
Android
Apache License 2.0
src/test/kotlin/pages/Page.kt
diego-alves
110,293,831
false
null
package pages import org.openqa.selenium.WebDriver import org.openqa.selenium.support.PageFactory abstract class Page(val driver: WebDriver, val url: String) { init { PageFactory.initElements(driver, this) } fun open() = this.driver.get(url) fun close() = this.driver.close() fun title(...
0
Kotlin
0
0
df21fff0d9b9b760cb0d7dca0ae815a76cf24aeb
343
kotlin-cucumber
Apache License 2.0
app/src/main/java/com/xda/nachonotch/components/TitleBar.kt
zacharee
127,220,159
false
null
package com.xda.nachonotch.components import androidx.activity.compose.LocalOnBackPressedDispatcherOwner import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.Text import androidx.compose.material...
4
null
21
78
cbea9323fd43d5f84f39c7999bb2318ddcfedfe1
1,352
NachoNotch
MIT License
app/src/main/java/inovex/ad/multiar/polyViewerModule/poly/UseCasePolyApi.kt
FloriJann
194,672,867
false
null
package inovex.ad.multiar.polyViewerModule.poly import inovex.ad.multiar.polyViewerModule.AssetRepository import okhttp3.ResponseBody import retrofit2.Call class UseCasePolyApi(private val polyApi: PolyApi) { private val TAG = this.javaClass.name private val FORMAT = "GLTF2" private val FIELDS = ...
0
Kotlin
0
1
e7cfb04163b5fe9d0367837e0b9d497241ea025c
1,188
MultiAR
Apache License 2.0
app/src/main/java/com/example/workoutcompanion/activities/chat/ChatActivity.kt
ambeche
298,065,226
false
null
package com.example.workoutcompanion.activities.chat import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.example.workoutcompanion.BottomNavListener import com.example.workoutcompanion.R import com.example.workoutcompanion.activities.home.MainActivity import kotlinx.android.synthetic.mai...
0
Kotlin
1
5
deddc42809288fad8310ce8e0a6ad25faf21d0cb
819
WorkoutCompanion
MIT License
client/src/ktorMain/kotlin/br/com/devsrsouza/mcheads/client/HeadApiService.kt
DevSrSouza
207,658,750
false
null
package br.com.devsrsouza.mcheads.client import br.com.devsrsouza.mcheads.common.API_URL import br.com.devsrsouza.mcheads.common.Head import br.com.devsrsouza.mcheads.common.HeadCategory import io.ktor.client.HttpClient import io.ktor.client.features.json.JsonFeature import io.ktor.client.features.json.serializer.Kotl...
0
Kotlin
0
5
48947b6e6951f4900127665ff7cd7e94d9241ba4
1,082
MCHeads
Apache License 2.0
app/src/main/java/com/valhalla/lolchampviewer/repository/RepositoriesModule.kt
zed13
264,632,149
false
null
package com.valhalla.lolchampviewer.repository import org.koin.dsl.module val repositoriesModule = module { single<ChampionsRepository> { DragonChampionsRepository(get()) } }
0
Kotlin
0
0
796e875693caff8c965878a326cae4d4e3b15d50
180
TheGreenDragon
Apache License 2.0
composeApp/src/commonMain/kotlin/dev/anvith/binanceninja/core/ui/theme/ColorExtensions.kt
humblerookie
734,842,239
false
{"Kotlin": 157941, "Swift": 4768}
package dev.anvith.binanceninja.core.ui.theme import androidx.compose.ui.graphics.Color fun Color.alpha87() = copy(alpha = 0.87f) fun Color.alpha60() = copy(alpha = 0.60f) fun Color.alpha38() = copy(alpha = 0.38f) fun Color.alpha12() = copy(alpha = 0.12f)
1
Kotlin
1
1
351e3924e3333663d2b43fe3b8e97139c97a7a6c
260
binance-ninja
Apache License 2.0
sdk/src/main/kotlin/com/processout/sdk/di/ContextGraph.kt
processout
545,434,353
false
null
package com.processout.sdk.di import android.app.Application import android.os.Build import com.processout.sdk.api.model.request.PODeviceData import java.util.* internal interface ContextGraph { val deviceData: PODeviceData } internal class ContextGraphImpl(private val application: Application) : ContextGraph { ...
0
Kotlin
0
1
df3ad13923a21d3a920ce2e61bb3fde8e834da47
1,169
android-v2
MIT License
src/main/kotlin/no/nav/arbeidsplassen/emailer/azure/impl/SendMailException.kt
navikt
344,235,170
false
{"Kotlin": 12780, "Dockerfile": 196, "Shell": 49}
package no.nav.arbeidsplassen.emailer.azure.impl import io.micronaut.http.HttpStatus class SendMailException(message: String?, val status : HttpStatus = HttpStatus.INTERNAL_SERVER_ERROR, e: Throwable? = null) : Throwable(message,e)
0
Kotlin
0
0
ab576197ca63067744924d15625330b6a8532876
282
pam-emailer
MIT License
app/src/main/java/cn/xxt/kotlinapplication/data/server/ForecastByZipCodeRequest.kt
Martin-zhq
156,842,627
false
null
package cn.xxt.kotlinapplication.data.server import com.google.gson.Gson class ForecastByZipCodeRequest(private val zipCode: Long, val gson: Gson = Gson()) { companion object { private val APP_ID = "15646a06818f61f7b8d7823ca833e1ce" private val URL = "http://api.openweathermap.org/data/2.5/" + ...
0
Kotlin
0
0
4d63c9a643d47313724e22c631df6ea437fab8a9
653
KotlinApplication
Apache License 2.0
app/src/main/kotlin/com/simplemobiletools/notes/pro/services/WidgetService.kt
herou
193,502,512
true
{"Kotlin": 117492}
package com.simplemobiletools.notes.pro.services import android.content.Intent import android.widget.RemoteViewsService import com.simplemobiletools.notes.pro.adapters.WidgetAdapter class WidgetService : RemoteViewsService() { override fun onGetViewFactory(intent: Intent) = WidgetAdapter(applicationContext, inten...
0
Kotlin
0
1
4d220d4d178bb1d945ae26bd4828bbc69d130551
325
Simple-Notes
Apache License 2.0
app/src/main/java/com/konradszewczuk/weatherapp/data/room/WeatherEntities.kt
ashish-andev
117,521,020
false
null
package com.konradszewczuk.weatherapp.data.room import android.arch.persistence.room.Entity import android.arch.persistence.room.PrimaryKey @Entity(tableName = RoomConfig.TABLE_CITIES) data class CityEntity( @PrimaryKey(autoGenerate = true) val id: Int = 0, var cityName: String )
0
Kotlin
33
2
8943d0ef12b6c3b2c04c145f880185bb7810198e
298
WeatherApp
Apache License 2.0
src/main/kotlin/components/imageWithCaption.kt
Cottand
324,835,406
false
null
package components import com.ccfraser.muirwik.components.MTypographyAlign import com.ccfraser.muirwik.components.MTypographyVariant.subtitle2 import com.ccfraser.muirwik.components.mTypography import com.ccfraser.muirwik.components.spacingUnits import kotlinx.css.CSSBuilder import kotlinx.css.FontStyle import kotlinx...
0
Kotlin
0
1
8ea04a869819cad38346e64bbf2bfb0c71eef6aa
1,486
kotlin-js-portfolio
Apache License 2.0
jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/execution/sam/SamDebugSupport.kt
renwickman
346,482,587
true
{"Kotlin": 3334105, "C#": 96716, "Java": 9601, "Dockerfile": 2622}
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.lambda.execution.sam import com.intellij.execution.runners.ExecutionEnvironment import com.intellij.openapi.application.ExpirableExecutor import com.intell...
0
null
0
0
d820241fdea36bbc0612a24be5cc7e267c3411b7
2,957
aws-toolkit-jetbrains
Apache License 2.0
app/src/main/java/com/example/final_project/join.kt
KoEunseong
570,469,006
false
null
package com.example.final_project import android.content.Context import android.database.sqlite.SQLiteDatabase import android.database.sqlite.SQLiteOpenHelper import android.os.Bundle import android.widget.Button import android.widget.EditText import android.widget.Toast import androidx.appcompat.app.AppCompatActivity...
0
Kotlin
0
0
9d38d10070fa2845adbfcc451311091829d88b79
3,078
Final_term_android
MIT License
src/me/anno/ecs/components/camera/control/FirstPersonController.kt
AntonioNoack
456,513,348
false
null
package me.anno.ecs.components.camera.control import me.anno.ecs.Transform import me.anno.ecs.components.camera.Camera open class FirstPersonController : CameraController() { override fun computeTransform(baseTransform: Transform, camTransform: Transform, camera: Camera) { lastWarning = "hasn't been impl...
0
Kotlin
0
7
bacd7c79b8b34765d157012a08d728008c4b2d9a
541
RemsEngine
Apache License 2.0
app/src/main/java/io/github/gusriil/moviemagnet/paging/search/tvshow/SearchTVShowPageKeyedDataSource.kt
superosystem
479,150,681
false
{"Kotlin": 225959, "Java": 7644}
package io.github.gusriil.moviemagnet.paging.search.tvshow import android.content.Context import io.github.gusriil.moviemagnet.data.network.TVShowApi import io.github.gusriil.moviemagnet.data.response.asTVShowDomainModel import io.github.gusriil.moviemagnet.domain.model.TVShow import io.github.gusriil.moviemagnet.pagi...
0
Kotlin
0
3
91a2d005aab478bb5c864210fe0cbd2286daf2ad
775
MovieMagnet
MIT License
app/src/main/java/jp/co/yumemi/droidtraining/WeatherCase.kt
daikiumehara
703,830,643
false
{"Kotlin": 16404}
package jp.co.yumemi.droidtraining enum class WeatherCase(val value: Int) { SUNNY(value = R.drawable.baseline_wb_sunny_24), CLOUDY(value = R.drawable.baseline_cloud_24), RAINY(value = R.drawable.baseline_umbrella_24), SNOW(value = R.drawable.baseline_ac_unit_24), } class WeatherCaseConvertor() { c...
20
Kotlin
0
0
c7cac8c29653d80253769c2ac13e333a03905298
727
android-training
Apache License 2.0
app-main/src/main/kotlin/com/github/francescojo/endpoint/v1/user/GetUserController.kt
FrancescoJo
534,724,231
false
null
/* * kopringboot-multimodule-template * Distributed under MIT licence */ package com.github.francescojo.endpoint.v1.user import com.github.francescojo.endpoint.v1.ApiPathsV1 import com.github.francescojo.endpoint.v1.ApiVariableV1 import com.github.francescojo.endpoint.v1.user.common.UserResponse import com.github.f...
0
Kotlin
0
7
681bc732cc4424475f4d52b77f5e12c7ac4df742
1,086
kopringboot-multimodule-template
MIT License
SKIE/runtime/kotlin/impl/src/commonMain/kotlin/co/touchlab/skie/runtime/coroutines/suspend/Skie_SuspendHandler.kt
touchlab
685,579,240
false
{"Kotlin": 1644009, "Swift": 6029, "Shell": 1040}
package co.touchlab.skie.runtime.coroutines.suspend import co.touchlab.skie.runtime.coroutines.suspend.internal.CoroutineDispatcherWithDelegate import co.touchlab.skie.runtime.coroutines.suspend.internal.toNSError import kotlinx.coroutines.CancellationException import kotlinx.coroutines.CoroutineScope import kotlinx.c...
9
Kotlin
8
735
b96044d4dec91e4b85c5b310226c6f56e3bfa2b5
1,739
SKIE
Apache License 2.0
simulator/api/src/main/kotlin/net/corda/simulator/SimulatorConfiguration.kt
corda
346,070,752
false
{"Kotlin": 18686067, "Java": 321931, "Smarty": 79539, "Shell": 56594, "Groovy": 28415, "TypeScript": 5826, "PowerShell": 4985, "Solidity": 2024}
package net.corda.simulator import net.corda.simulator.factories.ServiceOverrideBuilder import net.corda.v5.application.marshalling.json.JsonDeserializer import net.corda.v5.application.marshalling.json.JsonSerializer import net.corda.v5.serialization.SerializationCustomSerializer import java.time.Clock import java.ti...
130
Kotlin
15
42
6ef36ce2d679a07abf7a5d95a832e98bd4d4d763
1,508
corda-runtime-os
Apache License 2.0
totaladapters/src/test/java/pl/arturborowy/adapters/AdapterTest.kt
ArturBorowy
188,580,962
false
null
package pl.arturborowy.adapters import org.junit.After import org.junit.Before import org.junit.runner.RunWith import org.koin.core.context.stopKoin import org.koin.dsl.module import org.mockito.Mock import org.mockito.MockitoAnnotations import org.robolectric.RobolectricTestRunner import pl.arturborowy.TestServiceLoc...
0
Kotlin
0
5
d2090995f767d1c10fc8cdb1eca6cbc1df031ed6
865
total-adapters
MIT License
app/src/main/java/com/justnik/mosplace/presentation/registration/RegistrationFormEvent.kt
JustNik8
460,106,261
false
{"Kotlin": 160815}
package com.justnik.mosplace.presentation.registration sealed class RegistrationFormEvent { data class EmailChanged(val email: String) : RegistrationFormEvent() data class UsernameChanged(val username: String) : RegistrationFormEvent() data class PasswordChanged(val password: String) : RegistrationFormEven...
0
Kotlin
1
1
8ae2a811c895c6b4d75f8e31139dd4d15c425561
466
MosPlace
Apache License 2.0
app/src/main/java/ru/ozh/android/recycler/decorator/sample/chat/decor/ChatDecorOffset.kt
ozh-dev
193,144,003
false
{"Kotlin": 84727}
package ru.ozh.android.recycler.decorator.sample.chat.decor import android.graphics.Rect import android.view.View import androidx.recyclerview.widget.RecyclerView import ru.ozh.android.recycler.decorator.lib.Decorator import ru.ozh.android.recycler.decorator.sample.chat.controller.ChatMessageController import ru.ozh.a...
1
Kotlin
19
92
c3718d6a58a5712933d4e92ce333b4fb57e262b2
753
recycler-decorator-library-sample
Apache License 2.0
app/src/androidTest/java/com/jraska/dagger/codelab/app/TestDaggerApp.kt
jraska
245,893,320
false
null
package com.jraska.dagger.codelab.app import android.content.Context import androidx.test.rule.ActivityTestRule import com.jraska.dagger.codelab.app.di.AppComponent import com.jraska.dagger.codelab.config.di.ConfigModule import com.jraska.dagger.codelab.core.analytics.AnalyticsEvent import com.jraska.dagger.codelab.co...
0
Kotlin
4
9
5012c7d6f2af9e1c3bfc9a97f170f54b6d0f276b
1,401
Dagger-Codelab
Apache License 2.0
src/main/kotlin/nl/jhvh/sudoku/grid/event/cellvalue/CellRemoveCandidatesEvent.kt
JanHendrikVanHeusden
305,492,630
false
null
package nl.jhvh.sudoku.grid.event.cellvalue /* Copyright 2020 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required ...
0
Kotlin
0
1
5a487a594600edc28b46067b12ed9a5ac610bea2
1,300
Sudoku
Apache License 2.0
container-tasks-gradle-plugin/src/main/kotlin/util/toCamelCase.kt
mpetuska
482,828,109
false
null
package dev.petuska.container.util import java.util.Locale import java.util.regex.Pattern private val WORD_SEPARATOR = Pattern.compile("\\W+") internal fun String.toCamelCase(lower: Boolean = false): String { val builder = StringBuilder() val matcher = WORD_SEPARATOR.matcher(this) var pos = 0 var first = tru...
10
Kotlin
0
2
05265b4ec9dd977c863fd86c11991648aa1990a2
1,092
container-tasks-gradle
Apache License 2.0
app/src/main/java/com/chatspring/appsetting/ApiIkeyFragment.kt
goatpang
642,752,766
false
{"Kotlin": 134006}
package com.chatspring.appsetting import android.content.Context import android.content.SharedPreferences import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ArrayAdapter import android.widget.Button import android.widget.EditText imp...
0
Kotlin
1
1
23f41e7014704d6298d683b1904b884faddb1a8c
3,856
ChatSpring
Apache License 2.0
StartKotlin/app/src/main/java/com/muzi/startkotlin/LearnExtensionInKotlin.kt
lj20082
243,641,769
false
null
/* * * * * Created by Li.jianzhong on 3/5/20 4:43 PM * * Copyright (c) 2020 . All rights reserved. * * Last modified 3/5/20 4:43 PM * */ package com.muzi.startkotlin class Example { companion object {} fun printFunctionType() { LogHelper().logInfo("Class function") } } fun Example.printFu...
0
Kotlin
0
0
70c54410fb66ef96183279d85c45efe402878238
1,170
StartAndroid
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/broken/essentionalui/MinusCircle.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.broken.essentionalui import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Round import androidx.compose.ui.graphics.StrokeJoin.Com...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
2,086
SolarIconSetAndroid
MIT License
src/android/MapsGisFullActivity.kt
pcamilojunior
639,631,841
false
null
package com.outsystems.plugin.urbimaps import android.Manifest import android.annotation.SuppressLint import android.content.Intent import android.content.pm.PackageManager import android.graphics.Color import android.location.Location import android.os.Bundle import android.view.Gravity import android.view.View impor...
0
Kotlin
0
0
b190aa3cdeaa95339a1f7fad8cdade678e9a227a
12,113
outsystems-plugin-urbimaps
MIT License
app/shared/state-machine/ui/public/src/commonMain/kotlin/build/wallet/statemachine/settings/full/notifications/NotificationsSettingsUiStateMachine.kt
proto-at-block
761,306,853
false
{"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.statemachine.settings.full.notifications import build.wallet.statemachine.core.ScreenModel import build.wallet.statemachine.core.StateMachine import build.wallet.statemachine.data.keybox.AccountData.HasActiveFullAccountData.ActiveFullAccountLoadedData /** * State machine for the settings screen ...
0
C
10
98
1f9f2298919dac77e6791aa3f1dbfd67efe7f83c
618
bitkey
MIT License
ui-kit-lib/src/main/kotlin/com/linkedplanet/uikit/wrapper/atlaskit/taggroup/Imports.kt
linked-planet
427,161,616
false
{"Kotlin": 317837, "JavaScript": 1646, "HTML": 940, "SCSS": 653}
/** * Copyright 2022 linked-planet GmbH. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
0
Kotlin
0
2
9328c3032a8eff76767e19bb28e9b71973f49125
865
ui-kit
Apache License 2.0
src/main/kotlin/com/kotcrab/xgbc/io/IO.kt
kotcrab
52,388,562
false
null
package com.kotcrab.xgbc.io import com.kotcrab.xgbc.Emulator /** @author Kotcrab */ class IO(private val emulator: Emulator) { val ioMem: ByteArray = ByteArray(0x4C) val devicesMap = arrayOfNulls<IODevice>(0x4C) val serialPort = SerialPort(emulator) val div = Div(emulator) val timer = Timer(emula...
0
Kotlin
4
49
25d2623acf0f1e87cb7a2db61c26af4d2d74f735
1,756
xgbc
Apache License 2.0
vector/src/main/java/im/vector/app/features/settings/passwordmanagement/changepassword/VectorSettingsChangePasswordViewEvents.kt
FaradayApp
732,727,396
false
{"Kotlin": 15889711, "Java": 250183, "Shell": 102807, "HTML": 28529, "Python": 25379, "FreeMarker": 7662, "JavaScript": 7070, "Ruby": 3420, "Gherkin": 58}
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
0
Kotlin
2
0
d765bc66c3dc1ee2ab2e54f3d1f7bc09896b3708
1,205
Faraday-android
Apache License 2.0
app/src/main/java/com/egorhoot/chomba/di/DomainModule.kt
HootEgor
676,993,231
false
{"Kotlin": 268578}
package com.egorhoot.chomba.di import android.content.Context import androidx.compose.runtime.MutableState import androidx.compose.runtime.mutableStateOf import com.egorhoot.chomba.pages.PageState import com.egorhoot.chomba.pages.onlinegame.OnLineGameUiState import com.egorhoot.chomba.pages.user.ProfileScreenUiState i...
0
Kotlin
0
0
0a80eedd48a90a0097ed7350037c09fa1ba567e4
2,056
Chomba
MIT License