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
composeApp/src/commonMain/kotlin/images/DrinkImage.kt
thaapasa
702,418,399
false
{"Kotlin": 208600, "Swift": 661, "Shell": 262}
package fi.tuska.beerclock.images import androidx.compose.foundation.Image import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip import androidx.compo...
0
Kotlin
0
1
9b0bdd97376341896215bb8d0074bfa6f0da8647
2,467
beerclock
Apache License 2.0
src/cn/leetcode/codes/simple3/Simple3_3.kt
shishoufengwise1234
258,793,407
false
{"Java": 771296, "Kotlin": 68641}
package cn.leetcode.codes.simple3 import cn.leetcode.codes.out import kotlin.math.max fun lengthOfLongestSubstring(s: String): Int { if (s.isEmpty()) { return 0 } val map = hashMapOf<Char, Int>() var maxLen = 0 var start = 0 val chars = s.toCharArray() for (i in chars.indices) { ...
1
null
1
1
f917a262bcfae8cd973be83c427944deb5352575
599
LeetCodeSimple
Apache License 2.0
test/src/me/anno/tests/mesh/Cylinder.kt
AntonioNoack
456,513,348
false
{"Kotlin": 10912545, "C": 236426, "Java": 6754, "Lua": 4496, "C++": 3070, "GLSL": 2698}
package me.anno.tests.mesh import me.anno.ecs.components.mesh.Material import me.anno.ecs.components.mesh.Mesh import me.anno.ecs.components.mesh.shapes.CylinderModel import me.anno.engine.ui.render.SceneView.Companion.testSceneWithUI import me.anno.ui.UIColors.axisXColor import me.anno.ui.UIColors.axisZColor import m...
0
Kotlin
3
24
013af4d92e0f89a83958008fbe1d1fdd9a10e992
650
RemsEngine
Apache License 2.0
main/src/commonMain/kotlin/org/ooverkommelig/graph/ArgumentBoundDefinitionAndObject.kt
squins
74,140,237
false
{"Kotlin": 78752}
package org.ooverkommelig.graph import org.ooverkommelig.definition.ObjectCreatingDefinition internal class ArgumentBoundDefinitionAndObject<TObject>(definition: ObjectCreatingDefinition<TObject>, argument: Any?, private val obj: TObject) : DefinitionAndArgument<TObject>(definition, argument) { fun wire()...
1
Kotlin
0
1
c611124e175e45370274e8d7a939c231015f9906
472
ooverkommelig
MIT License
idea/idea-completion/testData/handlers/smart/lambdaSignature/Simple.kt
JakeWharton
99,388,807
true
null
fun foo(p: (x: Char, String) -> Unit){} fun bar() { foo { <caret> } } // ELEMENT: "x, s ->"
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
98
kotlin
Apache License 2.0
idea/idea-completion/testData/handlers/smart/lambdaSignature/Simple.kt
JakeWharton
99,388,807
true
null
fun foo(p: (x: Char, String) -> Unit){} fun bar() { foo { <caret> } } // ELEMENT: "x, s ->"
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
98
kotlin
Apache License 2.0
application/src/main/kotlin/com/lukinhasssss/catalogo/application/video/delete/DeleteVideoUseCase.kt
Lukinhasssss
643,341,523
false
{"Kotlin": 333012, "Shell": 669}
package com.lukinhasssss.catalogo.application.video.delete import com.lukinhasssss.catalogo.application.UnitUseCase import com.lukinhasssss.catalogo.domain.video.VideoGateway class DeleteVideoUseCase( private val videoGateway: VideoGateway ) : UnitUseCase<DeleteVideoUseCase.Input>() { override fun execute(in...
1
Kotlin
0
0
b5d65a4a39f3ebe30a0f25fa7c797ed36e8325ba
509
catalogo-de-videos
MIT License
app/src/main/java/cz/prague/cvut/fit/steuejan/amtelapp/data/dao/DAO.kt
hawklike
234,594,207
false
{"Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 162, "XML": 116, "Java": 2}
package cz.prague.cvut.fit.steuejan.amtelapp.data.dao import com.google.firebase.firestore.DocumentSnapshot import com.google.firebase.firestore.Query import com.google.firebase.firestore.QuerySnapshot import com.google.firebase.firestore.SetOptions import com.google.firebase.firestore.ktx.firestore import com.google....
1
null
1
1
1f88ddbcbd8e547158a4677c934b4dbf18ec82e1
2,850
Amtel-App
MIT License
simplified-cardcreator/src/main/java/org/nypl/simplified/cardcreator/model/PersonalInformation.kt
NYPL-Simplified
30,199,881
false
null
package org.nypl.simplified.cardcreator.model data class PersonalInformation( val firstName: String, val middleName: String, val lastName: String, val birthDate: String, val email: String )
109
null
21
32
781e4e2122f1528253a6cf17931083944f91ceba
201
Simplified-Android-Core
Apache License 2.0
sdk/src/main/java/com/eyeson/sdk/model/sepp/base/UnknownCommandDto.kt
eyeson-team
488,502,949
false
{"Kotlin": 428150}
package com.eyeson.sdk.model.datachannel.base import com.eyeson.sdk.model.local.base.UnknownCommand import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) internal class UnknownCommandDto( override val type: String = "Unknown command" ) : DataChannelCommandDto { override fun toLocal(): Unknow...
0
Kotlin
0
3
0b4395612ad2f321820c2a9f76072b6bbc2fb9f1
370
android-sdk
MIT License
shared/src/commonMain/kotlin/com/seiko/greenqrscanner/util/AppDateFormatter.kt
qdsfdhvh
650,389,325
false
{"Kotlin": 266749, "Ruby": 1100, "Swift": 628, "Shell": 228}
/* * Taken from https://github.com/chrisbanes/tivi/blob/main/common/ui/resources/strings/src/commonMain/kotlin/app/tivi/util/TiviDateFormatter.kt */ package com.seiko.greenqrscanner.util import kotlinx.datetime.Clock import kotlinx.datetime.DayOfWeek import kotlinx.datetime.Instant import kotlinx.datetime.LocalDate ...
12
Kotlin
0
3
d670b93173a89306f511000bab1a195fc1ff090d
798
green-qrscanner
Apache License 2.0
trustagent/src/com/google/android/libraries/car/trustagent/blemessagestream/GattHandle.kt
google
415,118,653
false
null
// Copyright 2021 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0
null
5
18
a48dc3318cfefd06643c12aff44660f311c987db
4,217
android-auto-companion-android
Apache License 2.0
xprl-efactura-jaxb-publishing/src/test/kotlin/uk/co/xprl/efactura/jaxb/ClaveAcceso_Modulo11Test.kt
xprl-gjf
534,729,919
false
{"Kotlin": 364234}
package uk.co.xprl.efactura.jaxb import org.junit.jupiter.api.assertThrows import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.Arguments.arguments import org.junit.jupiter.params.provider.MethodSource import kotlin.test.assertEqu...
0
Kotlin
0
1
58d75bd3bfb96e05ef919aebcec3336c3397c2fb
1,982
xprl-efactura
Apache License 2.0
MapboxSearch/offline/src/androidTest/java/com/mapbox/search/offline/tests_support/BlockingEngineReadyCallback.kt
mapbox
438,355,708
false
{"Kotlin": 2244061, "Java": 41736, "Python": 18980, "Shell": 17499}
package com.mapbox.search.offline.tests_support import com.mapbox.search.common.tests.BaseBlockingCallback import com.mapbox.search.offline.OfflineSearchEngine internal class BlockingEngineReadyCallback : BaseBlockingCallback<Unit>(), OfflineSearchEngine.EngineReadyCallback { override fun onEngineReady() { ...
17
Kotlin
7
33
369bc63bb10a7da7f2b3e57839ba47b762c87b99
350
mapbox-search-android
Apache License 2.0
data_wallet/src/main/java/io/igrant/data_wallet/adapter/ReceiptItemListAdapter.kt
decentralised-dataexchange
344,557,240
false
{"Kotlin": 987858, "Java": 85361}
package io.igrant.data_wallet.adapter import android.graphics.Typeface import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.core.content.ContextCompat import androidx.recyclerview.widget.RecyclerView import io.igrant.data_wallet.R cla...
3
Kotlin
0
1
79d311e2780df3b3a7b39262152dcc4d34d8dbb5
3,341
ama-android-sdk
Apache License 2.0
src/main/kotlin/com/michigang1/backendcourse/repository/record/RecordRepositoryImpl.kt
michigang1
717,830,098
false
{"Kotlin": 29228, "Dockerfile": 440}
package com.michigang1.backendcourse.repository.record import com.michigang1.backendcourse.exception.NoOneOfTwoParamsProvidedException import com.michigang1.backendcourse.exception.ResourceByParamNotFound import com.michigang1.backendcourse.models.Record import org.springframework.beans.factory.annotation.Autowired im...
0
Kotlin
1
1
f4df22e30d6f06427b0584cad779d2ff491152eb
1,274
back-end-course
MIT License
app/src/main/java/com/vv/nasapod/di/ApplicationContext.kt
vishalvn
275,745,892
false
{"Java": 97928, "Kotlin": 38097}
package com.vv.nasapod.di import javax.inject.Qualifier @Qualifier annotation class ApplicationContext
1
null
1
1
3d9034b8f811151ca20411eb790b58a2b14d870e
105
Nasa-pic-of-the-day
Apache License 2.0
sample/src/main/java/com/parsuomash/affogato/app/screens/ScreenPdf.kt
ghasemdev
510,960,043
false
{"Kotlin": 951619, "Shell": 3263}
package com.parsuomash.affogato.app.screens import android.net.Uri import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.fadeIn import androidx.compose.an...
1
Kotlin
1
12
d65733fb3a53ea4b61f98a10d59eb3b30fc65908
2,025
affogato
MIT License
user_impl/src/main/java/com/felix/android/user/destination/SetUserInfoDestinationImpl.kt
savelove123
670,151,809
false
null
package com.felix.android.user.destination import android.content.Intent import android.os.Parcelable import com.felix.android.navigation.Navigable import com.felix.android.navigation.demo.user.SetUserInfoDestination import com.felix.android.navigation.destination.Screen import com.felix.android.user.ui.SetUserInfoAct...
0
Kotlin
0
4
1021a26afbcc2de93b891596ae008b7d126f62e1
601
AwesomeNavigation
Apache License 2.0
edu-format/src/com/jetbrains/edu/learning/yaml/format/student/StudentTaskFileUtil.kt
JetBrains
43,696,115
false
{"Kotlin": 4860366, "HTML": 3417303, "Python": 18245, "Java": 13512, "CSS": 12216, "JavaScript": 302, "Shell": 71}
package com.jetbrains.edu.learning.yaml.format.student import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonPropertyOrder import com.fasterxml.jackson.databind.annotation.JsonDeserialize import com.jetbrains.edu.learning.co...
6
Kotlin
44
134
1ad7e26bfd3dc03939bf553f2b99ac14409d96d8
3,328
educational-plugin
Apache License 2.0
integration-test-jdbc/src/test/kotlin/integration/jdbc/JdbcSelectWindowFunctionTest.kt
komapper
349,909,214
false
null
package integration.jdbc import integration.core.Dbms import integration.core.Run import integration.core.department import integration.core.employee import integration.core.employeeSalary import org.junit.jupiter.api.extension.ExtendWith import org.komapper.core.dsl.Meta import org.komapper.core.dsl.QueryDsl import o...
8
null
14
301
9fbc0b5652ee732583e977180cdc493e116e1022
13,271
komapper
Apache License 2.0
integration-test-jdbc/src/test/kotlin/integration/jdbc/JdbcSelectWindowFunctionTest.kt
komapper
349,909,214
false
null
package integration.jdbc import integration.core.Dbms import integration.core.Run import integration.core.department import integration.core.employee import integration.core.employeeSalary import org.junit.jupiter.api.extension.ExtendWith import org.komapper.core.dsl.Meta import org.komapper.core.dsl.QueryDsl import o...
8
null
14
301
9fbc0b5652ee732583e977180cdc493e116e1022
13,271
komapper
Apache License 2.0
core/src/com/battleship/controller/firebase/FirebaseController.kt
sirimykland
241,909,234
false
null
package com.battleship.controller.firebase import com.battleship.model.Game import com.battleship.model.PendingGame /** * Interface for firebase functionality */ interface FirebaseController { /** * Creates a new game document in firebase * @param userId the id of the user setting up the game * @...
0
Kotlin
2
5
a0087ef0500ea426967bec81c84ae071f8734128
2,939
Battleship-Project
MIT License
core/src/iosMain/kotlin/net/smarttuner/kaffeeverde/core/AtomicInteger.kt
smarttuner
521,540,434
false
null
package net.smarttuner.kaffeeverde.core import kotlin.concurrent.AtomicInt actual class AtomicInteger actual constructor(value_: Int) { private val _value = AtomicInt(value_) actual val andIncrement: Int get() = _value.addAndGet(1) actual val andDecrement: Int get() = _value.a...
2
Kotlin
0
1
e293288eefc2bec4980d4f51b09103e81be82055
1,786
kaffeeverde
Apache License 2.0
kandy-echarts/src/main/kotlin/org/jetbrains/kotlinx/kandy/echarts/features/Grid.kt
Kotlin
502,039,936
false
null
/* * Copyright 2020-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package org.jetbrains.kotlinx.ggdsl.echarts.features import org.jetbrains.kotlinx.ggdsl.dsl.internal.PlotDslMarker import org.jetbrains.kotlinx.ggdsl.echarts.settings.SizeUnit import org.jetbrains.kotlinx.ggdsl...
78
null
2
98
0e54a419c188b5e6dbee8a95af5213c7ac978bb6
3,156
kandy
Apache License 2.0
butler/src/main/java/com/pyamsoft/fridge/butler/runner/WorkResult.kt
pyamsoft
371,196,339
false
null
/* * Copyright 2021 <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 by applicable law or agreed to in wr...
5
Kotlin
2
6
c5309984f17de290ce2fb82120b4699cc8227b65
929
tickertape
Apache License 2.0
app/src/test/java/com/raywenderlich/ingredisearch/SearchResultsTests.kt
amadeu01
129,528,231
false
null
package com.raywenderlich.ingredisearch import com.nhaarman.mockito_kotlin.* import com.raywenderlich.ingredisearch.data.RecipeRepository import com.raywenderlich.ingredisearch.data.RepositoryCallback import com.raywenderlich.ingredisearch.searchresults.SearchResultsPresenter import org.junit.Assert import org.junit.B...
0
Kotlin
0
1
d2b4a96382df092c54e117135dccaccdcb68e1dc
1,701
ingredisearch
MIT License
app/src/main/java/com/ojhdtapp/parabox/domain/model/Tag.kt
Parabox-App
482,740,446
false
null
package com.ojhdtapp.parabox.domain.model import com.ojhdtapp.parabox.data.local.entity.TagEntity data class Tag( val value: String, val id: Long, ) { fun toTagEntity(): TagEntity = TagEntity(value, id) }
0
Kotlin
4
83
a0d9ecd2c4c9c4895f8392723a5577adbf3685b5
219
Parabox
MIT License
src/test/kotlin/com/jillesvangurp/eskotlinwrapper/AbstractElasticSearchTest.kt
jillesvangurp
140,093,768
false
null
package com.jillesvangurp.eskotlinwrapper import com.fasterxml.jackson.databind.ObjectMapper import org.elasticsearch.client.RestHighLevelClient import org.elasticsearch.client.asyncIndexRepository import org.elasticsearch.client.create import org.elasticsearch.client.indexRepository import org.elasticsearch.xcontent....
6
null
18
96
c3dc1a1738d2382b775662ba0db4510966b7d717
3,555
es-kotlin-wrapper-client
MIT License
app/src/main/java/com/nilsinojiya/cowin20/viewModels/MyViewModelFactory.kt
nilsinojiya1
403,682,420
false
{"Kotlin": 64236}
package com.nilsinojiya.cowin20.viewModels import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.nilsinojiya.cowin20.repositorys.MainRepository class MyViewModelFactory(private val repository: MainRepository): ViewModelProvider.Factory { override fun <T : ViewModel> create(mo...
0
Kotlin
0
0
7f91fd33528f7e3134c7685c25f60ad93b201595
561
CoWin2.0
MIT License
app/src/main/java/com/softartdev/poder/injection/module/AppModule.kt
softartdev
117,355,191
false
null
package com.softartdev.poder.injection.module import android.app.Application import android.content.Context import com.softartdev.poder.injection.ApplicationContext import dagger.Module import dagger.Provides @Module(includes = [ApiModule::class, MediaModule::class]) class AppModule(private val application: Applicati...
0
Kotlin
0
0
c9be64e287910bb157e61e2c39ea324ab6a95c17
545
Poder
The Unlicense
lib/src/test/kotlin/seleniumtestinglib/locators/ByTitleTest.kt
lsoares
551,381,828
false
{"Kotlin": 134591, "JavaScript": 354}
package seleniumtestinglib.locators import org.junit.jupiter.api.extension.ExtendWith import org.openqa.selenium.remote.RemoteWebDriver import seleniumtestinglib.DriverLifeCycle import seleniumtestinglib.queries.JsType.Companion.asJsExpression import seleniumtestinglib.render import kotlin.test.Test import kotlin.test...
1
Kotlin
0
8
861a4ea4fb8ca035144b2df999a37fda0c5aa45d
1,618
selenium-testing-library
MIT License
src/commonMain/kotlin/baaahs/gl/glsl/GlslCode.kt
baaahs
174,897,412
false
null
package baaahs.gl.glsl import baaahs.englishize import baaahs.getValue import baaahs.gl.patch.ContentType import baaahs.gl.shader.dialect.findContentType import baaahs.plugin.PluginRef import baaahs.plugin.Plugins import baaahs.unknown import baaahs.util.Logger import kotlinx.serialization.json.JsonObject import kotli...
88
null
6
40
2aca7de985798cd222b8427841052742cf0fe453
13,005
sparklemotion
MIT License
MeowFramework/src/main/kotlin/meow/widget/MeowCircleImageView.kt
oneHamidreza
239,642,692
false
null
/* * Copyright (C) 2020 <NAME> & <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 by applicable law or ...
0
Kotlin
18
124
deb3efbe8079d784d5850870b7b54ffc9721ffb4
3,824
Meow-Framework-MVVM
Apache License 2.0
app/src/main/java/cz/movapp/app/ui/children/ChildrenFairyTalePlayerAdapter.kt
cesko-digital
478,685,113
false
{"Kotlin": 198789, "Ruby": 3026, "Java": 78}
package cz.movapp.app.ui.children import android.view.LayoutInflater import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.recyclerview.widget.RecyclerView import cz.movapp.app.R import cz.movapp.app.data.FairyTale import cz.movapp.app.data.LanguagePair import cz.movapp.app.databindi...
14
Kotlin
4
7
6271a2bcda417a8eebae1d3dcf1c10664735d927
2,665
movapp-android
MIT License
src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ElectricalMeasurementCluster.kt
nrfconnect
319,609,059
false
{"C++": 23522189, "Java": 4933921, "Python": 3707868, "C": 2258497, "Kotlin": 1567297, "Objective-C": 1368441, "ZAP": 814351, "Objective-C++": 756316, "Shell": 291692, "CMake": 176244, "Jinja": 103624, "Dockerfile": 70720, "Swift": 30181, "JavaScript": 2379, "Emacs Lisp": 1042, "Tcl": 311}
/* * * Copyright (c) 2023 Project CHIP Authors * * 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 requir...
7
C++
53
44
e734b7924bf2b6bdc78e20d8416267f42ba95675
46,932
sdk-connectedhomeip
Apache License 2.0
character_detail/src/main/java/com/ezike/tobenna/starwarssearch/character_detail/ui/views/specie/SpecieViewState.kt
Ezike
294,171,829
false
null
package com.ezike.tobenna.starwarssearch.character_detail.ui.views.specie import com.ezike.tobenna.starwarssearch.character_search.model.SpecieModel import com.ezike.tobenna.starwarssearch.presentation.base.ViewState data class SpecieViewState( val species: List<SpecieModel> = emptyList(), val errorMessage: S...
0
Kotlin
28
172
792caabf5a29b8bb4698c36c3257916a1cf6611d
530
StarWarsSearch-MVI
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceItem.kt
arkon
127,645,159
false
null
package eu.kanade.tachiyomi.ui.browse.source import android.view.View import androidx.recyclerview.widget.RecyclerView import eu.davidea.flexibleadapter.FlexibleAdapter import eu.davidea.flexibleadapter.items.AbstractSectionableItem import eu.davidea.flexibleadapter.items.IFlexible import eu.kanade.tachiyomi.R import ...
92
null
58
9
2f07f226b8182699884262ac67139454d5b7070d
1,744
tachiyomi
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceItem.kt
arkon
127,645,159
false
null
package eu.kanade.tachiyomi.ui.browse.source import android.view.View import androidx.recyclerview.widget.RecyclerView import eu.davidea.flexibleadapter.FlexibleAdapter import eu.davidea.flexibleadapter.items.AbstractSectionableItem import eu.davidea.flexibleadapter.items.IFlexible import eu.kanade.tachiyomi.R import ...
92
null
58
9
2f07f226b8182699884262ac67139454d5b7070d
1,744
tachiyomi
Apache License 2.0
increase-kotlin-core/src/main/kotlin/com/increase/api/services/blocking/WireDrawdownRequestService.kt
Increase
614,596,742
false
null
// File generated from our OpenAPI spec by Stainless. @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 package com.increase.api.services.blocking import com.increase.api.core.RequestOptions import com.increase.api.models.WireDrawdownRequest import com.increase.api.models.Wir...
1
null
0
5
dc1361d08cb41ff45817c2e7638f53356f15cf8e
1,231
increase-kotlin
Apache License 2.0
src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github464.kt
FasterXML
23,404,083
false
null
package com.fasterxml.jackson.module.kotlin.test.github import com.fasterxml.jackson.core.JsonGenerator import com.fasterxml.jackson.databind.JsonSerializer import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.ObjectWriter import com.fasterxml.jackson.databind.SerializerProvider imp...
8
null
3
932
fa8ee76a8a00443aa6e8cc401c4e0868219d2d5b
7,186
jackson-module-kotlin
Apache License 2.0
sdk-media/src/main/kotlin/com/pexip/sdk/media/MediaConnectionSignaling.kt
pexip
493,156,648
false
null
/* * Copyright 2022 Pexip AS * * 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 ...
13
Kotlin
3
5
e5647b314302500c1f3bf0611c68f7b884dbc532
2,331
pexip-android-sdk
Apache License 2.0
android/app/src/main/java/me/gentielezaj/wagwoord/managers/autofill/AppAutofillService.kt
gentielezaj
211,967,241
false
null
package me.gentielezaj.wagwoord.managers.autofill import android.app.assist.AssistStructure import android.os.CancellationSignal import android.service.autofill.* import android.view.autofill.AutofillValue import android.widget.RemoteViews import com.google.common.net.InternetDomainName import me.gentielezaj.wagwoord....
36
Kotlin
0
0
3adf571dc6d4ce8a4e9410df18191c835ef101ce
3,184
wagwoord
MIT License
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/IgnoreDiacritics.kt
Danilo-Araujo-Silva
271,904,885
false
null
package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction /** *```` * * Name: IgnoreDiacritics * * Full name: System`IgnoreDiacritics * * Usage: IgnoreDiacritics is an opti...
2
Kotlin
0
3
4fcf68af14f55b8634132d34f61dae8bb2ee2942
1,055
mathemagika
Apache License 2.0
src/main/java/it/smartphonecombo/uecapabilityparser/bean/Feature.kt
HandyMenny
539,436,833
false
null
package it.smartphonecombo.uecapabilityparser.bean data class Feature( val isNR: Boolean, val downlink: Int, val uplink: Int ) { override fun toString(): String { return "DL: " + downlink + " UL: " + uplink + if (isNR) " NR" else " EUTRA" } }
3
Kotlin
6
4
21a6bf8610bad0d5d250dea7f88e3b54c6de7798
271
uecapabilityparser
MIT License
app/src/main/java/dzmitryk/app/template/ui/hello/Greetings.kt
dzmitryk-dev
818,587,554
false
{"Kotlin": 8729}
package dzmitryk.app.template.ui.hello import androidx.compose.foundation.layout.Row import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.c...
0
Kotlin
0
0
09d583320a34dd5aae09ecccbb14f64df935a78d
2,653
android-app-template
MIT License
skiko/src/wasmJsMain/kotlin/org/jetbrains/skiko/Convertors.wasm.kt
JetBrains
282,864,178
false
{"Kotlin": 1802033, "C++": 1730435, "Objective-C++": 38471, "JavaScript": 6932, "Dockerfile": 4676, "Shell": 4522, "C": 1440, "Java": 1235, "Objective-C": 471}
package org.jetbrains.skiko import org.w3c.dom.events.KeyboardEvent import org.w3c.dom.events.MouseEvent import org.w3c.dom.events.WheelEvent internal fun toSkikoEvent( event: MouseEvent, kind: SkikoPointerEventKind ): SkikoPointerEvent { return SkikoPointerEvent( x = event.offsetX, y = ev...
118
Kotlin
94
1,629
fd9a62d559cb59d0fad5c3e0484b2b6db938a041
4,898
skiko
Apache License 2.0
sample/src/main/java/re/notifica/sample/ui/beacons/BeaconsListAdapter.kt
Notificare
279,260,636
false
{"Kotlin": 760683}
package re.notifica.sample.ui.beacons import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import re.notifica.geo.models.NotificareBeacon import re.notifica.sample.R...
2
Kotlin
0
2
f756ff63b5930360bbb43dafcb29dde61b37cb11
2,071
notificare-sdk-android
MIT License
trixnity-clientserverapi/trixnity-clientserverapi-model/src/commonMain/kotlin/net/folivo/trixnity/clientserverapi/model/rooms/GetEventContext.kt
benkuly
330,904,570
false
null
package net.folivo.trixnity.clientserverapi.model.rooms import io.ktor.resources.* import kotlinx.serialization.Contextual import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import net.folivo.trixnity.core.HttpMethod import net.folivo.trixnity.core.HttpMethodType.GET import net.folivo.tr...
0
null
3
30
6dfadb2efa1843a33030fba9eb6be0bfecdfb94d
1,617
trixnity
Apache License 2.0
presentation/src/main/java/com/anytypeio/anytype/presentation/main/MainViewModel.kt
anyproto
647,371,233
false
{"Kotlin": 10699233, "Java": 69306, "Shell": 11187, "Makefile": 1334}
package com.anytypeio.anytype.presentation.main import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.anytypeio.anytype.analytics.base.Analytics import com.anytypeio.anytype.analytics.base.updateUserProperties import com.anytypeio.anytype.analytics.props.UserProperty import com.anytyp...
37
Kotlin
33
383
d8c7605538b80738bea331ab74340a3e0ee3194d
9,489
anytype-kotlin
RSA Message-Digest License
examples/src/main/kotlin/examples/sprites/Mask.kt
hiperbou
77,711,558
false
{"Kotlin": 456816, "HTML": 335}
package examples.sprites import Phaser.* class Mask: State() { //var game = Phaser.Game(800, 600, Phaser.AUTO, "phaser-example", object{ var preload= preload; var create= create }) override fun preload() { game.load.image("chaos", "assets/pics/hotshot-chaos_in_tokyo.png") } lateinit var sprite...
2
Kotlin
11
55
18d247ecf44c32f5aca0560dce7727c10dfe196a
1,025
kotlin-phaser
MIT License
gitnote-jetbrains/src/main/kotlin/io/cjlee/gitnote/core/ConnectorLoader.kt
cjlee38
780,015,519
false
{"Rust": 64187, "Kotlin": 43629, "JavaScript": 12576, "Shell": 1028, "HTML": 896}
package io.cjlee.gitnote.core import org.apache.commons.io.FileUtils import java.io.File import java.nio.file.Files object ConnectorLoader { private const val RESOURCE_LOCATION = "core/" val platform = Platform.determine() fun loadFile(filepath: String): File { val classLoader = this::class.java....
1
Rust
0
2
17ba456cdc0aca536c87a27887729f0dd9bd0cd8
630
gitnote
Apache License 2.0
backend/src/main/kotlin/io/github/katarem/domain/response/ApiResponse.kt
katarem
857,288,553
false
{"Kotlin": 45790, "Swift": 621, "HTML": 73}
package io.github.katarem.domain.response import kotlinx.datetime.Clock import kotlinx.datetime.LocalDateTime import kotlinx.datetime.TimeZone import kotlinx.datetime.toLocalDateTime data class ApiResponse<T>( val errorMessage: String? = null, val body: T? = null, val cardAvailableAt: LocalDateTime? = nul...
0
Kotlin
0
0
bbe068561694292ac1ee8da518e79dfa0f188961
430
anime-card-trader
MIT License
app/src/main/java/com/iserbin/diykstra/utils/Extensions.kt
iserbin
494,812,258
false
{"Kotlin": 7121}
package com.iserbin.diykstra.utils import androidx.fragment.app.Fragment import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData fun <T> MutableLiveData<T>.asLiveData() = this as LiveData<T> fun <T, LD : LiveData<T>> Fragment.observe(liveData: LD, onChanged: (T) -> Unit) { liveData.observe( ...
0
Kotlin
0
0
7a52d168f1d9b9f1fecd5cd95685991c5c9243ad
401
diykstra_project
Apache License 2.0
app/src/main/java/ke/co/tulivuapps/hobbyhorsetours/features/screen/travelstyles/navigation/TravelStyleNavigation.kt
brendenozie
685,892,586
false
{"Kotlin": 631866}
@file:OptIn(ExperimentalAnimationApi::class) package ke.co.tulivuapps.hobbyhorsetours.features.screen.travelstyles.navigation import androidx.compose.animation.ExperimentalAnimationApi import androidx.hilt.navigation.compose.hiltViewModel import androidx.navigation.NavController import androidx.navigation.NavGraphBui...
0
Kotlin
0
0
3f8f6a18adde1bb2c60b22585137dfa67568fff1
1,017
HobbyHorseToursAndroidApp
Apache License 2.0
src/main/kotlin/dev/jarand/oauthserver/config/Config.kt
JarandDev
754,770,861
false
{"Kotlin": 51324, "Shell": 676, "Dockerfile": 366}
package dev.jarand.oauthserver.config import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import java.time.Instant import java.util.* @Configuration class Config { @Bean fun uuidSupplier(): () -> UUID { return { UUID.randomUUID() } } ...
0
Kotlin
0
0
d91fd472ef0d07fd4acdad20635678dad59283f8
411
oauth-server
The Unlicense
app/src/main/java/me/rosuh/easywatermark/ui/widget/DetectedPerformanceSeekBarListener.kt
rosuH
281,094,148
false
null
package me.rosuh.easywatermark.utils import android.widget.SeekBar import me.rosuh.easywatermark.MyApp import me.rosuh.easywatermark.model.WaterMarkConfig import me.rosuh.easywatermark.utils.DetectedPerformanceSeekBarListener.Companion.HIGH_PERFORMANCE_MEMORY /** * An subClass of [SeekBar.OnSeekBarChangeListener] wh...
12
null
91
885
b9c0b54eb98c1568b7a793630c98e5d0f0d055a1
1,954
EasyWatermark
MIT License
code/inclusive-range-operator.kt
linux-china
257,670,455
true
{"HTML": 37482, "Cirru": 12092, "Kotlin": 10166, "TypeScript": 9957, "CSS": 2476, "CoffeeScript": 591}
for (index in 1..5) { println("${index} times 5 is ${index * 5}") } // 1 times 5 is 5 // 2 times 5 is 10 // 3 times 5 is 15 // 4 times 5 is 20 // 5 times 5 is 25
1
HTML
3
8
9521b96e50253a090c47ba00c0ddaa67e0ac173c
165
kotlin-is-like-typescript
MIT License
app/src/main/java/com/arturlasok/composeArturApp/MainActivity.kt
ArturLasok
382,950,235
false
null
package com.arturlasok.composeArturApp import android.content.Context import android.os.Bundle import android.provider.AlarmClock import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.material.ExperimentalMaterialApi import androidx.compo...
0
Kotlin
0
0
dd1aa3bdbf002eb5f4ba4fff126d0518fa77ea2c
9,852
ComposeApp
The Unlicense
app/src/main/java/com/ghstudios/android/ClickListeners/ItemClickListener.kt
gatheringhallstudios
60,881,315
false
{"Gradle": 6, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Text": 3, "Markdown": 1, "INI": 1, "XML": 173, "Java": 142, "Kotlin": 166}
package com.ghstudios.android.ClickListeners import android.content.Context import android.view.View import com.ghstudios.android.data.classes.Item import com.ghstudios.android.data.classes.ItemType /** * A proxy listener that internally uses an actual listener for general item pages. * Created by Carlos on 1/22/2...
12
Kotlin
37
90
572ede48d78b9f61a91c7ef1fc64f87c9743b162
1,367
MHGenDatabase
MIT License
app/models/src/main/java/tv/orange/models/retrofit/bttv/BttvChannelData.kt
NyanArchive
503,292,084
false
null
package tv.orange.models.retrofit.bttv data class BttvChannelData( val channelEmotes: List<BttvEmote>, val sharedEmotes: List<BttvEmote> )
0
Kotlin
0
2
69f8dcc9df76fe4a48b2fcad8290f8d1cfcc5ff6
148
OrangeTV
Apache License 2.0
app/src/main/java/com/blackdroids/movies/mvp/data/api/ServerGateway.kt
ristargomel
218,975,113
false
{"Kotlin": 28320}
package com.blackdroids.movies.mvp.data.api import io.reactivex.schedulers.Schedulers import okhttp3.ConnectionPool import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import retrofit2.converter.gson.GsonConverte...
0
Kotlin
0
0
ea64fbadfe84986d069e45dff4ff5e14d270897d
1,518
android-movies-mvp
Do What The F*ck You Want To Public License
server/src/main/kotlin/com/xapphire13/database/GroupStore.kt
Xapphire13
448,160,864
false
{"TypeScript": 113135, "Kotlin": 61331, "JavaScript": 4777, "Starlark": 3656, "Shell": 1070, "Batchfile": 757, "Dockerfile": 239}
package com.xapphire13.database import com.xapphire13.models.Group interface GroupStore { suspend fun listGroups(): List<Group> suspend fun getGroup(id: String): Group? suspend fun addUserToGroup(groupId: String, userId: String) }
5
TypeScript
0
1
614140aa16d7f711a277d79052d8bf9c84dbc71a
245
PhotoChallenge
MIT License
src/test/kotlin/mkuhn/aoc/Day18Test.kt
mtkuhn
572,236,871
false
null
package mkuhn.aoc import mkuhn.aoc.util.readInput import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import mkuhn.aoc.util.readTestInput internal class Day18Test { @Test fun testPart1() { val testInput = readTestInput("Day18_test") assertEquals(64, day18par...
0
Kotlin
0
1
89138e33bb269f8e0ef99a4be2c029065b69bc5c
747
advent-of-code-2022
Apache License 2.0
presentation/src/main/java/com/sms/presentation/main/ui/detail/project/ProjectRelatedLinksComponent.kt
GSM-MSG
625,706,722
false
{"Kotlin": 733672}
package com.sms.presentation.main.ui.detail.project import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.heightIn import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.runtime.Composable import androidx.compose.runtime.mutableStateOf import androidx.compo...
11
Kotlin
1
16
d279f3f1266caac16ce2e5c2230e13d7e078a37f
1,395
SMS-Android
MIT License
PennMobile/src/main/java/com/pennapps/labs/pennmobile/GsrFragment.kt
mgarciaferreiro
214,044,788
false
null
package com.pennapps.labs.pennmobile import android.app.DatePickerDialog import android.app.TimePickerDialog import android.os.Bundle import android.support.v4.app.Fragment import android.support.v7.widget.LinearLayoutManager import android.view.LayoutInflater import android.view.View import android.view.ViewGroup imp...
1
null
1
1
5725f6464799fb21173032d4bdd0d7ee8790e753
19,095
penn-mobile-android
MIT License
feature/mobile/provider/src/main/kotlin/com/flixclusive/feature/mobile/provider/ProvidersScreen.kt
rhenwinch
659,237,375
false
{"Kotlin": 1425616, "Java": 18011}
package com.flixclusive.feature.mobile.provider import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.core.animateDpAsState import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut import androidx.compose.animation.slideInVertically import androidx.compose.ani...
18
Kotlin
13
178
59652f790dd1c51186fc6e657b009b1508479d05
3,985
Flixclusive
MIT License
src/main/kotlin/it/valeriovaudi/vauthenticator/keypair/KeyRepository.kt
bassista
262,500,046
true
{"Kotlin": 89774, "JavaScript": 9725, "HTML": 1854, "Dockerfile": 178}
package it.valeriovaudi.vauthenticator.keypair import java.security.KeyPair interface KeyRepository { fun getKeyPair(): KeyPair }
0
null
0
0
ed4ec3f1bc0773a99f165f2c6d6489067684e662
135
vauthenticator
Apache License 2.0
shared/src/commonMain/kotlin/com/juagri/shared/domain/usecase/LoginInfoUseCase.kt
juagrideveloper
699,804,299
false
{"Kotlin": 1302992, "Swift": 6001, "Shell": 615}
package com.juagri.shared.domain.usecase import com.juagri.shared.domain.model.employee.JUEmployee import com.juagri.shared.domain.repo.user.LoginInfoRepository class LoginInfoUseCase( private val repository: LoginInfoRepository ) { suspend fun getLoginInfoDetails(employee: JUEmployee) = repository.getLoginI...
0
Kotlin
0
0
dfb433421930bbf970fae303f5e496698f9d9e09
342
juagriapp
Apache License 2.0
app/src/main/kotlin/wskim/aos/appMonitoring/MonitoringForegroundService.kt
tmvlke
737,728,614
false
{"Kotlin": 15859}
package wskim.aos.appMonitoring import android.app.Notification import android.app.NotificationChannel import android.app.NotificationChannelGroup import android.app.NotificationManager import android.app.PendingIntent import android.app.Service import android.content.Context import android.content.Intent import andro...
0
Kotlin
0
0
9f7598aaec99a90f1df719eb701cc81b7eb81a82
4,168
AppMonitoring
Apache License 2.0
build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt
Japskiddin
766,410,608
false
{"Kotlin": 35170}
import io.github.japskiddin.android.core.buildlogic.androidConfig import io.github.japskiddin.android.core.buildlogic.configureJUnit import io.github.japskiddin.android.core.buildlogic.configureJUnitAndroid import io.github.japskiddin.android.core.buildlogic.configureKotlinAndroid import io.github.japskiddin.android.co...
0
Kotlin
0
0
94b70e0b7cbf8373e11ce824ef81596f1bdf5535
1,137
SudokuGame
Apache License 2.0
src/main/kotlin/com/fantasy/ladbe/common/web/CommonErrorResponse.kt
fantasy-fans-ko
420,898,576
false
{"HTML": 1023453, "Kotlin": 74755}
package com.fantasy.ladbe.common.web import com.fantasy.ladbe.handler.exception.Exceptions import java.time.Instant import javax.servlet.http.HttpServletRequest /** * @param errorCode 에러 코드 * @param httpStatus 에러 상태에 대한 정보 * @param httpMethod 사용된 method * @param message 에러에 대한 내용 * @param path 에러가 발생 * @param t...
6
HTML
0
4
575112118816e80da943bbbf8237fa6fcb65411b
1,064
lad-be
MIT License
src/main/java/space/impact/impact_compat/common/tiles/base/BaseTileRotationEntityModel.kt
GT-IMPACT
658,419,880
false
null
package space.impact.impact_compat.common.tiles.base import software.bernie.geckolib3.core.PlayState import software.bernie.geckolib3.core.builder.AnimationBuilder import software.bernie.geckolib3.core.builder.ILoopType import software.bernie.geckolib3.core.controller.AnimationController import software.bernie.geckoli...
0
Kotlin
0
0
18ab2a6b7a88a76eb90a4edef9a8ce9db207f3c7
1,384
Impact-compat
MIT License
app/src/main/java/org/simple/clinic/patient/filter/WeightedLevenshteinSearch.kt
eco4ndly
244,967,563
false
null
package org.simple.clinic.patient.filter import info.debatty.java.stringsimilarity.CharacterInsDelInterface import info.debatty.java.stringsimilarity.CharacterSubstitutionInterface import info.debatty.java.stringsimilarity.WeightedLevenshtein import io.reactivex.Single import org.simple.clinic.patient.PatientSearchRes...
1
null
1
1
c0bb3139dada4f34206928ec81f1e5f6f056134b
2,867
simple-android
MIT License
app/src/main/java/br/com/francielilima/marvelcharacters/presentation/character_detail/CharacterDetailViewModel.kt
francieli-lima
751,010,734
false
{"Kotlin": 54422}
package br.com.francielilima.marvelcharacters.presentation.character_detail import androidx.compose.runtime.State import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import br.com.francielilima.marvelcharacters.common.Resource import br.com.franci...
0
Kotlin
0
0
5e6ec2d626db85925e7bfa58bdb1ea2e4390ec3b
1,645
MarvelCharacters
Apache License 2.0
rxbilling/src/main/java/com/gen/rxbilling/flow/delegate/support/FragmentFlowDelegate.kt
LloydBlv
152,423,790
true
{"Kotlin": 32882}
package com.gen.rxbilling.flow.delegate.support import android.app.PendingIntent import android.content.Intent import android.support.v4.app.Fragment import com.gen.rxbilling.flow.delegate.FlowDelegate class FragmentFlowDelegate(private val fragment: Fragment) : FlowDelegate { override fun startFlow(pendingInten...
0
Kotlin
0
0
75b01a18e2e4559f05aaf987e1b2005584f13aee
492
RxBilling
MIT License
user-profile/src/main/kotlin/com/skufbet/userprofile/controller/UserProfileController.kt
otto15
781,677,300
false
{"Kotlin": 91789, "Shell": 59}
package com.skufbet.userprofile.controller import com.skufbet.common.userprofile.domain.UserProfile import com.skufbet.userprofile.dto.CreateUserProfileRequestTo import com.skufbet.userprofile.dto.ProfileIdTo import com.skufbet.userprofile.service.UserProfileBalanceService import com.skufbet.userprofile.service.UserPr...
0
Kotlin
0
0
e540f16ada621f260bbf911630e4dbd1121cc903
2,582
skufbet
MIT License
src/test/kotlin/com/davioooh/lptools/BookFunctionsTest.kt
davioooh
265,240,152
false
null
package com.davioooh.lptools import com.davioooh.lptools.commons.LINE_SEPARATOR import com.davioooh.lptools.commons.TestBookFolder import com.davioooh.lptools.commons.fakeMdFileNamesList import com.davioooh.lptools.commons.fakeTxtFileNamesList import org.assertj.core.api.Assertions.assertThat import org.assertj.core.a...
6
Kotlin
0
2
4fd4159bd67d0661b124831b39ba5368ddafa132
3,890
leanpub-manuscript-tools
Apache License 2.0
app/src/main/java/traps/celestnaveasy/View.kt
Bolbe
701,213,106
false
{"Kotlin": 98403}
package traps.celestnaveasy import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.horizontalScroll import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row imp...
0
Kotlin
0
0
b60b5bd6d1cfc7cace58df0552c5e3d54240f7eb
23,416
sightreduction
Apache License 2.0
src/me/anno/ecs/components/shaders/Texture3DBTMaterial.kt
AntonioNoack
456,513,348
false
null
package me.anno.ecs.components.shaders import me.anno.ecs.components.mesh.Material import me.anno.ecs.prefab.PrefabSaveable import me.anno.gpu.shader.Shader import me.anno.gpu.texture.Texture3D import me.anno.gpu.texture.TextureLib.whiteTex3d import me.anno.io.serialization.NotSerializedProperty import me.anno.maths.M...
0
null
3
9
b2532f7d40527eb2c9e24e3659dd904aa725a1aa
2,120
RemsEngine
Apache License 2.0
crystal-map-connector/src/main/kotlin/ch/ergon/dope/extension/type/stringfunction/Substring1.kt
ergon
745,483,606
false
{"Kotlin": 1886765}
package ch.ergon.dope.extension.type.stringfunction import ch.ergon.dope.resolvable.expression.TypeExpression import ch.ergon.dope.resolvable.expression.unaliased.type.function.stringfunction.substring1 import ch.ergon.dope.resolvable.expression.unaliased.type.toDopeType import ch.ergon.dope.toDopeType import ch.ergon...
2
Kotlin
0
6
40b18241d25c360080768902fc108ea70bb2f211
3,722
dope-query-builder
MIT License
packages/graalvm/src/main/kotlin/elide/runtime/gvm/internals/intrinsics/js/base64/Base64Intrinsic.kt
elide-dev
506,113,888
false
null
/* * Copyright (c) 2023 Elide Ventures, LLC. * * Licensed under the MIT license (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * https://opensource.org/license/mit/ * * Unless required by applicable law or agreed to in writing, sof...
75
null
15
88
5cd3312b5ee32726db34f5673f0d4f557ec91cca
2,728
elide
MIT License
app/src/main/java/com/example/blank/ui/myfoodsearch/MyFoodSearchViewModel.kt
olahdome
264,719,519
false
null
package com.example.blank.ui.myfoodsearch import co.zsmb.rainbowcake.base.JobViewModel import javax.inject.Inject class MyFoodSearchViewModel @Inject constructor( private val myFoodSearchPresenter: MyFoodSearchPresenter ) : JobViewModel<MyFoodSearchViewState>(Loading) { fun load() = execute { viewSta...
1
Kotlin
0
0
cd6f5f95f8aa10a7b38acddc8ad47f381e94fb3e
385
SmartScaleRainbowCakeKotlin
Apache License 2.0
app-inspection/inspectors/database/testSrc/com/android/tools/idea/sqlite/controllers/ExportToFileControllerTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2020 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...
5
null
230
948
10110983c7e784122d94c7467e9d243aba943bf4
38,247
android
Apache License 2.0
src/main/kotlin/org/kstore/demo/stars/gameplay/view/console/component/tech/actions.kt
minorbyte
194,674,817
false
null
package org.kstore.demo.stars.gameplay.view.console.component.tech import react.kstore.selection.* class SelectNextTech: SelectNextListItemAction class SelectPrevTech: SelectPreviousListItemAction class ResearchSelectedAction
0
Kotlin
0
0
b91a6a00d4e60a84dc8bceba5dd02c3aa352ca88
230
kotlin-reactive-store
MIT License
demo/src/main/java/br/com/suamusica/rxmediaplayer/QueueActivity.kt
SuaMusica
110,037,546
false
null
package br.com.suamusica.rxmediaplayer import android.os.Bundle import br.com.suamusica.rxmediaplayer.android.RxMediaServiceActivity class QueueActivity : RxMediaServiceActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_queu...
0
Kotlin
0
0
6a8a2099f6026d158531ff06d6d517a7927f7d5b
328
RxMediaPlayer
MIT License
app/src/main/java/com/example/androiddevchallenge/ui/theme/Color.kt
nezih94
347,229,883
false
null
/* * Copyright 2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
871f6e16bc650536b65fcaf807c58668bb42cc7b
1,525
arriba
Apache License 2.0
app/src/main/java/org/listenbrainz/android/repository/brainzplayer/BPArtistRepositoryImpl.kt
metabrainz
550,726,972
false
null
package org.listenbrainz.android.repository.brainzplayer import kotlinx.coroutines.Deferred import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.async import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.map import kotlinx.coroutines.withContext import org.listenbrainz.android.model.Album impo...
4
null
31
99
573ab0ec6c5b87ea963f013174159ddfcd123976
3,393
listenbrainz-android
Apache License 2.0
src/ii_collections/_19_Sum_.kt
blissd
96,249,939
true
{"Kotlin": 78558, "Java": 4952}
package ii_collections fun example6() { val sum = listOf(1, 5, 3).sum() } fun Customer.getTotalOrderPrice(): Double { return this.orders.flatMap { it.products }.map { it.price }.sum() }
0
Kotlin
0
0
af992c41c5c1c17701c361859ef3f68e2d4d8c4c
196
kotlin-koans
MIT License
Task-Tracker-Usecases-SQLite-Impl/src/jvmTest/kotlin/app/tasktrackersystems/tasktracker/usecases/sqlite/InMemoryDriverFactory.kt
Task-Tracker-Systems
644,555,079
false
{"Kotlin": 22178}
package app.tasktrackersystems.tasktracker.usecases.sqlite import app.cash.sqldelight.db.SqlDriver import app.cash.sqldelight.driver.jdbc.sqlite.JdbcSqliteDriver import app.tasktrackersystems.tasktracker.usecases.tasks.DBDriverFactory class InMemoryDriverFactory : DBDriverFactory { override fun createDriver(): Sq...
13
Kotlin
0
0
073ec11c01c44e433a571e5049e1843f915dcf0b
465
Task-Tracker-App
MIT License
src/main/kotlin/it/scoppelletti/spaceship/gradle/model/NoticeModel.kt
dscoppelletti
263,325,699
false
null
/* * Copyright (C) 2022 Dario Scoppelletti, <http://www.scoppelletti.it/>. * * 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 * * Unle...
0
Kotlin
0
0
4d4c6baacbea94b58bd0edc2dc67ad1c0ddd709f
1,145
spaceship-gradle
Apache License 2.0
site/src/jsMain/kotlin/zakadabar.site.frontend/Routing.kt
kondorj
355,137,640
true
{"Kotlin": 577495, "HTML": 828, "JavaScript": 820, "Shell": 253}
/* * Copyright © 2020, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package zakadabar.site.frontend import zakadabar.site.frontend.pages.misc.Home import zakadabar.stack.frontend.application.ZkAppRouting object Routing : ZkAppRouting(DefaultLayout, Home) {...
0
null
0
0
2379c0fb031f04a230e753a9afad6bd260f6a0b2
356
zakadabar-stack
Apache License 2.0
src/main/java/kr/co/byrobot/petroneapi/Enum/PetroneLightMode.kt
roylanceMichael
109,197,642
true
{"Kotlin": 171938}
package kr.co.byrobot.petroneapi.Enum /** * Created by byrobot on 2017. 9. 26.. */ enum class PetroneLightMode(val mode: Byte) { NONE(0), WaitingForConnect(0x01), ///< Waiting for connect Connected(0x02), EyeNone(0x10), EyeHold(0x11), ///< Eye light hold EyeMix(0x12), ///< Eye ...
0
Kotlin
0
0
6fadf2cddc754431f15b9e0090e26bf2da7d71a1
872
PetroneAPI_kotlin
MIT License
app/src/main/java/com/geekymusketeers/uncrack/presentation/auth/AuthViewModel.kt
uncrack-vault
569,328,395
false
{"Kotlin": 306752, "Java": 23299}
package com.aritradas.uncrack.presentation.auth import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.aritradas.uncrack.domain.model.User import com.aritradas.uncrack.util.runIO import com.google.firebase.auth.FirebaseAuth import com.google.firebase.auth.FirebaseUser import com.googl...
13
Kotlin
3
28
e44b61c21e67ccce684882a54be87e0977f207c8
3,240
android
MIT License
cinescout/tvshows/domain/src/commonMain/kotlin/cinescout/tvshows/domain/model/TvShowWithDetails.kt
4face-studi0
280,630,732
false
null
package cinescout.tvshows.domain.model import cinescout.common.model.Genre data class TvShowWithDetails( val tvShow: TvShow, val genres: List<Genre> )
19
Kotlin
2
3
d64398507d60a20a445db1451bdd8be23d65c9aa
161
CineScout
Apache License 2.0
app/src/main/java/com/jskako/githubrepobrowser/domain/splash/KeepSplashAlive.kt
jskako
546,837,084
false
null
package com.jskako.githubrepobrowser.domain.splash import androidx.core.splashscreen.SplashScreen import com.jskako.githubrepobrowser.domain.util.delay class KeepSplashAlive(private val splashScreen: SplashScreen) { private var splashScreenAlive = true fun init(splashScreenDuration: Long = 2000L) { ...
0
Kotlin
0
0
966de10bd68ef3b8b51b49fc9143bd27199c5d9a
533
GithubRepoBrowser
Apache License 2.0
core/src/main/kotlin/no/nav/poao_tilgang/core/policy/impl/NavAnsattTilgangTilSkjermetPersonPolicyImpl.kt
navikt
491,417,288
false
null
package no.nav.poao_tilgang.core.policy.impl import no.nav.poao_tilgang.core.domain.Decision import no.nav.poao_tilgang.core.policy.NavAnsattBehandleSkjermedePersonerPolicy import no.nav.poao_tilgang.core.policy.NavAnsattTilgangTilSkjermetPersonPolicy import no.nav.poao_tilgang.core.provider.SkjermetPersonProvider cl...
2
Kotlin
2
1
71f15ca9c2c489aca0f22dbdbd352dd74d6fbc89
995
poao-tilgang
MIT License
kotlin/src/katas/kotlin/graph/Traversal4.kt
dkandalov
2,517,870
false
{"Roff": 9263219, "JavaScript": 1513061, "Kotlin": 836347, "Scala": 475843, "Java": 475579, "Groovy": 414833, "Haskell": 148306, "HTML": 112989, "Ruby": 87169, "Python": 35433, "Rust": 32693, "C": 31069, "Clojure": 23648, "Lua": 19599, "C#": 12576, "q": 11524, "Scheme": 10734, "CSS": 8639, "R": 7235, "Racket": 6875, "C...
package katas.kotlin.graph import katas.kotlin.graph.Graph.Node import nonstdlib.join import datsok.shouldEqual import org.junit.Test import java.util.* import kotlin.collections.LinkedHashSet class Traversal4 { @Test fun `depth-first traversal`() { "[a]".toGraph().let { it.dft("a") shouldEqua...
7
Roff
3
5
0f169804fae2984b1a78fc25da2d7157a8c7a7be
4,087
katas
The Unlicense
inference/inference-core/src/commonMain/kotlin/io/kinference.core/operators/layer/recurrent/gru/GRUData.kt
JetBrains-Research
244,400,016
false
null
package io.kinference.core.operators.layer.recurrent.gru import io.kinference.graph.asCoroutineContext import io.kinference.model.ExecutionContext import io.kinference.ndarray.arrays.* import io.kinference.ndarray.extensions.allocateNDArray import io.kinference.primitives.types.DataType class GRUDefaultGate(private v...
2
Kotlin
5
74
5cd3ac9c79f3f1ebb9ec5c83adb706dc8325a852
7,342
kinference
Apache License 2.0
ui/src/main/java/com/pyamsoft/tetherfi/ui/LinkText.kt
pyamsoft
475,225,784
false
null
/* * Copyright 2023 pyamsoft * * 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 ...
6
null
7
271
6219fc584e0e5700bd49241b65ee75023a1eb137
1,479
tetherfi
Apache License 2.0