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/plcoding/stockmarketapp/data/csv/CSVParser.kt
rafaelnunesmoura
481,436,310
false
{"Kotlin": 16156}
package com.plcoding.stockmarketapp.data.csv import java.io.InputStream interface CSVParser <T> { suspend fun parse(stream: InputStream): List<T> }
0
Kotlin
0
1
4f533ab022e2983f89ef9da5d49983e66c7ddc80
155
Stock-Market-App
MIT License
app/src/main/java/instamovies/app/navigation/InstaMoviesNavigationRail.kt
mubashirpa
720,638,343
false
{"Kotlin": 459104}
package instamovies.app.navigation import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.widthIn import androidx.compose.material....
0
Kotlin
0
0
c1478b0fedae5027f9a870771717f4ffd482b6c0
5,391
InstaMovies-v2
Apache License 2.0
src/test/kotlin/no/nav/toi/kandidatvarsel/TilgangsstyringTest.kt
navikt
768,528,587
false
{"Kotlin": 97902, "Dockerfile": 255}
package no.nav.toi.kandidatvarsel import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo import com.github.tomakehurst.wiremock.junit5.WireMockTest import com.nimbusds.jwt.SignedJWT import org.junit.jupiter.api.AfterAll import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Before...
0
Kotlin
0
0
f05c691b89f06769ef12adb87ed84a9cd83b71d9
6,180
rekrutteringsbistand-kandidatvarsel-api
MIT License
ttl_cache/src/main/java/dev/tim4/ttl_cache/internal/TtlCacheBuilderImpl.kt
tim4dev
591,902,286
false
{"Kotlin": 29840}
/* * Copyright (c) 2023 Yuriy Timofeev <developer.tim4dev@gmail.com> * * Distributed under the Apache License 2. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre...
0
Kotlin
0
3
5ca8773aca7030beb71d83c60db0f22c1ffd8d55
880
ttl_cache
Apache License 2.0
src/main/java/com/tang/intellij/lua/codeInsight/postfix/templates/LuaIfNotPostfixTemplate.kt
Benjamin-Dobell
231,814,734
false
null
/* * Copyright (c) 2017. tangzx(<EMAIL>) * * 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 agree...
61
null
9
83
68b0a63d3ddd5bc7be9ed304534b601fedcc8319
1,208
IntelliJ-Luanalysis
Apache License 2.0
tv/src/main/java/com/google/samples/apps/iosched/tv/ui/schedule/ScheduleViewModelFactory.kt
kingstenbanh
156,424,020
false
{"Gradle": 6, "Java Properties": 2, "Markdown": 2, "Shell": 4, "Text": 17, "Ignore List": 5, "Batchfile": 1, "XML": 101, "Kotlin": 174, "Proguard": 4, "JSON": 7, "INI": 2, "HAProxy": 1, "Java": 28}
/* * 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 ...
1
null
1
1
f3647a65ef817cf4ae378304c083386cce4ec398
1,460
iosched
Apache License 2.0
bot/src/main/kotlin/me/y9san9/prizebot/actors/storage/giveaways_storage/GiveawayStorage.kt
nullcookies
354,393,208
true
{"Kotlin": 113608}
package me.y9san9.prizebot.actors.storage.giveaways_storage import org.jetbrains.exposed.sql.Database interface GiveawaysStorage { fun getGiveawayById(id: Long): Giveaway? fun saveGiveaway(ownerId: Long, title: String, participateButton: String, languageCode: String?): Giveaway fun finishGiveaway(giveawa...
0
null
0
0
a06f7c2fb5193b07e645ca2f848e8242f609a2fb
646
prizebot
MIT License
workflix/backend/backend/src/main/kotlin/de/se/team3/persistence/daos/TasksDAO.kt
elite-se
221,695,449
false
{"JavaScript": 227922, "Kotlin": 209131, "HTML": 6665, "CSS": 238}
package de.se.team3.persistence.daos import de.se.team3.logic.DAOInterfaces.TasksDAOInterface import de.se.team3.persistence.meta.TasksTable import me.liuwj.ktorm.dsl.eq import me.liuwj.ktorm.dsl.iterator import me.liuwj.ktorm.dsl.select import me.liuwj.ktorm.dsl.where object TasksDAO : TasksDAOInterface { /** ...
7
JavaScript
0
1
c3d4bf7aea5b009f36deb7a4137df3107a8923c4
658
workflix
MIT License
token-service/src/main/java/org/p2p/token/service/repository/metadata/TokenMetadataRemoteRepository.kt
p2p-org
306,035,988
false
{"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252}
package org.p2p.token.service.repository.metadata import com.google.gson.Gson import retrofit2.HttpException import java.net.HttpURLConnection import kotlinx.coroutines.withContext import org.p2p.core.dispatchers.CoroutineDispatchers import org.p2p.core.network.environment.NetworkServicesUrlProvider import org.p2p.cor...
8
Kotlin
18
34
d091e18b7d88c936b7c6c627f4fec96bcf4a0356
3,527
key-app-android
MIT License
app/src/test/java/com/example/simplecleanarchitecturepokemonapp/domain/repository/FakePokemonRepository.kt
info-kareemmohamed
834,109,696
false
{"Kotlin": 26878}
package com.example.simplecleanarchitecturepokemonapp.domain.repository import com.example.simplecleanarchitecturepokemonapp.common.Resource import com.example.simplecleanarchitecturepokemonapp.domain.model.Pokemon import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow class FakePokemonRepository (pr...
0
Kotlin
0
0
caffa01567f7013a1a4a75f1fafeb77a7f5d3e7f
809
Simple-CleanArchitecture-PokemonApp
MIT License
src/main/golem/matrix/mtj/MTJMatrixFactory.kt
RatsRatsRats
54,671,952
true
{"Kotlin": 135018}
package golem.matrix.mtj import golem.* import golem.matrix.* import golem.util.* import no.uib.cipr.matrix.DenseMatrix import java.util.* class MTJMatrixFactory : MatrixFactory<Matrix<Double>> { override fun zeros(rows: Int, cols: Int) = MTJMatrix(DenseMatrix(rows, cols)) override fun zeros(size: Int) = ze...
0
Kotlin
0
0
5467812fa0263533584799198e1effe9006d8197
2,600
golem
Apache License 2.0
idea/testData/inspectionsLocal/collections/uselessCallOnNotNull/NullOrEmpty.kt
JakeWharton
99,388,807
false
null
// WITH_RUNTIME val s = "" val empty = s<caret>.isNullOrEmpty()
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
64
kotlin
Apache License 2.0
src/main/kotlin/de/flapdoodle/dirsync/ui/events/IOEventHandler.kt
flapdoodle-oss
231,620,257
false
null
package de.flapdoodle.dirsync.ui.events import de.flapdoodle.dirsync.ui.config.SyncConfig import de.flapdoodle.dirsync.ui.io.SyncConfigIO import de.flapdoodle.fx.lazy.ChangeableValue import de.flapdoodle.photosync.ui.events.IOEvent import javafx.stage.FileChooser import tornadofx.EventContext import java.nio.file.File...
1
null
1
1
2c39e73edb0d1eefd277c1e31d2ed7042cf62029
2,063
photosync
Apache License 2.0
plot-base-portable/src/commonMain/kotlin/jetbrains/datalore/plot/base/stat/Stats.kt
tchigher
278,238,152
true
{"Kotlin": 4669708, "Python": 488232, "C": 2826, "CSS": 1948, "Shell": 1773, "JavaScript": 1048}
/* * Copyright (c) 2019. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package jetbrains.datalore.plot.base.stat import jetbrains.datalore.base.gcommon.base.Preconditions.checkArgument import jetbrains.datalore.plot.base.Aes import jetbrains.dat...
0
null
0
0
f6fd07e9f44c789206a720dcf213d0202392976f
3,646
lets-plot
MIT License
runner/src/main/kotlin/net/lachlanmckee/flankci/runner/presentation/TestRunnerScreenDelegate.kt
LachlanMcKee
287,003,030
false
null
package net.lachlanmckee.flankci.runner.presentation import io.ktor.application.* import io.ktor.html.* import kotlinx.html.* import net.lachlanmckee.flankci.core.data.entity.ConfigModel import net.lachlanmckee.flankci.core.data.entity.ConfigurationId import net.lachlanmckee.flankci.core.presentation.* internal class...
7
Kotlin
0
2
51c9bc50763443752010e576caf60ae9f8daabfd
4,596
FlankCI
MIT License
trust-goeasy/src/main/kotlin/com/goeasy/bq/library/utils/LogcatProxy.kt
greenapes
381,418,117
false
{"Java": 51232, "Kotlin": 44479}
/* * Copyright (C) 2019 The bq 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 applicable law o...
1
null
1
1
223ee627adf8c5fb7e28faf6baa22b2f33638d32
1,213
trust-goeasy
Apache License 2.0
nebulosa-phd2-client/src/test/kotlin/PHD2ClientTest.kt
tiagohm
568,578,345
false
{"Kotlin": 2712371, "TypeScript": 513759, "HTML": 249483, "JavaScript": 120539, "SCSS": 11332, "Python": 2817, "Makefile": 445}
import nebulosa.phd2.client.PHD2Client import nebulosa.phd2.client.PHD2EventListener import nebulosa.phd2.client.commands.PHD2Command import nebulosa.phd2.client.events.PHD2Event import nebulosa.test.NonGitHubOnly import org.junit.jupiter.api.Test @NonGitHubOnly class PHD2ClientTest : PHD2EventListener { @Test ...
26
Kotlin
2
4
eb02d1c4200ed142199e690bf303a4648e3e71fb
1,152
nebulosa
MIT License
core-infra/src/main/java/droidkaigi/github/io/challenge2019/infra/db/ArticlePreferences.kt
wada811
169,668,844
true
{"Kotlin": 30640}
package droidkaigi.github.io.challenge2019.infra.db import android.content.Context import android.preference.PreferenceManager class ArticlePreferences( private val context: Context ) { companion object { private const val ARTICLE_IDS_KEY = "article_ids_key" } fun saveArticleIds(articleId: S...
1
Kotlin
0
0
3d6bca9f6cd079bc771163f8f8aa7dee30757228
893
codelabs-challenge-app-2019
Apache License 2.0
app/src/main/java/org/organics/types/time/TimeProvider.kt
raydenvoldeskine
382,943,468
false
null
package org.organics.types.time import org.organics.types.Duration interface TimeProvider{ fun invokeOnceAfter(duration: Duration, callback: () -> Unit) : TimeToken fun invokePeriodically(duration: Duration, callback: () -> Unit) : TimeToken fun discard(token: TimeToken) } typealias TimeToken = Long
0
Kotlin
0
0
2b8dc001c9cf963240538c8fe7dc4ec1a23d508e
316
flat-time-app
MIT License
src/main/kotlin/com/code_intelligence/cifuzz/tasks/PluginVersionPrinter.kt
CodeIntelligenceTesting
613,793,747
false
{"Kotlin": 56168}
package com.code_intelligence.cifuzz.tasks import com.code_intelligence.cifuzz.CIFuzzPlugin import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction /** * Prints the current cifuzz plugin version. * This information is used by 'cifuzz'. */ abstract class PluginVersionPrinter : DefaultTask() { ...
0
Kotlin
0
4
4e4b1952cebe2ed63a7a2c5e1e60570b95dc7d01
824
cifuzz-gradle-plugin
Apache License 2.0
charts/src/main/java/com/smassive/bitcointicker/charts/infrastructure/injector/module/ChartDataModule.kt
SmasSive
152,783,544
false
null
package com.smassive.bitcointicker.charts.infrastructure.injector.module import android.content.Context import androidx.room.Room import com.smassive.bitcointicker.charts.data.ChartDataRepository import com.smassive.bitcointicker.charts.data.datasource.local.ChartDao import com.smassive.bitcointicker.charts.data.datas...
0
Kotlin
0
2
b3a25e45ef0e4de228d868d574fa9e9ddc52b332
2,810
BitcoinTicker
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/service/BookingFacade.kt
ministryofjustice
789,053,149
false
{"Kotlin": 224702, "Dockerfile": 1486, "Shell": 1007}
package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.service import org.slf4j.LoggerFactory import org.springframework.stereotype.Component import uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.config.EmailService import uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.entity.VideoBooking import uk.gov....
2
Kotlin
0
0
23225353e4706ceb3366109227a872db718996c4
2,068
hmpps-book-a-video-link-api
MIT License
ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/backup/AndroidBackup.kt
Electric-Coin-Company
390,808,594
false
{"Kotlin": 883846}
package co.electriccoin.zcash.ui.screen.backup import androidx.activity.ComponentActivity import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.saveable.rememberSaveable import cash.z.ecc.android.sdk.model.Pers...
164
Kotlin
9
15
6aa8094ed7569acb2e060a9164c089ad46b13bfe
3,942
zashi-android
MIT License
src/main/kotlin/g0901_1000/s0936_stamping_the_sequence/Solution.kt
javadev
190,711,550
false
{"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994}
package g0901_1000.s0936_stamping_the_sequence // #Hard #String #Greedy #Stack #Queue #2023_04_28_Time_196_ms_(100.00%)_Space_40.3_MB_(100.00%) @Suppress("NAME_SHADOWING") class Solution { fun movesToStamp(stamp: String, target: String): IntArray { val moves: MutableList<Int> = ArrayList() val s =...
0
Kotlin
20
43
62708bc4d70ca2bfb6942e4bbfb4c64641e598e8
1,710
LeetCode-in-Kotlin
MIT License
plugins/package-search/src/com/jetbrains/packagesearch/intellij/plugin/extensibility/DeletePackageSearchCachesAction.kt
JetBrains
2,489,216
false
null
package com.jetbrains.packagesearch.intellij.plugin.extensibility import com.intellij.ide.actions.cache.AsyncRecoveryResult import com.intellij.ide.actions.cache.ProjectRecoveryScope import com.intellij.ide.actions.cache.RecoveryAction import com.intellij.ide.actions.cache.RecoveryScope import com.intellij.openapi.pro...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
2,371
intellij-community
Apache License 2.0
card/src/test/java/com/airwallex/android/card/ThreeDSecureTypeTest.kt
airwallex
231,053,387
false
null
package com.airwallex.android.card import org.junit.Test import kotlin.test.assertEquals class ThreeDSecureTypeTest { @Test fun valueTest() { assertEquals("THREE_D_SECURE_1", ThreeDSecureManager.ThreeDSecureType.THREE_D_SECURE_1.name) assertEquals("THREE_D_SECURE_2", ThreeDSecureManager.Three...
1
Kotlin
3
3
e00ac502a2fa0b14d4a357c61b4ba8224c245cbe
363
airwallex-payment-android
MIT License
lib-jvm-mblast-sdk/src/main/kotlin/org/veupathdb/lib/mblast/sdk/common/model/JobStatus.kt
VEuPathDB
303,794,401
false
null
package org.veupathdb.lib.mblast.sdk.common.model import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonValue import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.node.TextNode import java.lang.IllegalArgumentException enum class JobStatus { ...
17
Kotlin
0
0
5a323b17b2d35d9709915b52ee159279c0e88b1b
1,084
service-multi-blast
Apache License 2.0
api/src/main/kotlin/com/duj/example/cleankt/api/entrypoint/controller/dto/response/CreateParkingLotResponse.kt
CorreiaEduardo
415,375,934
false
{"Kotlin": 24682}
package com.duj.example.cleankt.api.entrypoint.controller.dto.response data class CreateParkingLotResponse( val code: String )
0
Kotlin
0
0
d3b8b989919517501fd1fa19c8a9807d95bbd8b1
131
ex-clean-spring-kt
MIT License
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt
taolulu
342,140,808
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
a44ae5cf3467ef7c85bb67f15cae8147e70808f0
5,797
PuppyMama
Apache License 2.0
src/main/kotlin/com/example/demo/api/common/exceptions.kt
bastman
98,087,438
false
null
package com.example.demo.api.common import org.springframework.http.HttpStatus import org.springframework.web.bind.annotation.ResponseStatus @ResponseStatus(value = HttpStatus.NOT_FOUND) class EntityNotFoundException(message: String) : RuntimeException(message) @ResponseStatus(value = HttpStatus.BAD_REQUEST) class B...
0
Kotlin
5
8
cde355a9ebb110fa76abb5183b935d6b76c99348
645
kotlin-spring-jpa-examples
MIT License
backend/models/src/main/kotlin/ru/otus/opinion/context/RequestContext.kt
otuskotlin
378,047,392
false
null
package ru.otus.opinion.context import ru.otus.opinion.models.* import java.time.Instant data class RequestContext ( override var requestType: RequestType = RequestType.NONE, override var processingMode: ProcessingMode = ProcessingMode.PROD, override var stub: Stub = Stub.NONE, override var requestId:...
0
Kotlin
0
0
ccde46da64355724add000dd88eb9e8b6fc3de7c
961
ok-202105-qa-mz
MIT License
common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/PaymentMethodVirtualAccountType.kt
portone-io
809,427,199
false
{"Kotlin": 385115, "Java": 331}
package io.portone.sdk.server.schemas import kotlinx.serialization.Serializable /** * 가상계좌 유형 */ @Serializable public enum class PaymentMethodVirtualAccountType { /** * 고정식 */ FIXED, /** * 회전식 */ NORMAL, }
0
Kotlin
0
2
f984c4cc31aa64aad5cd0fa0497bdd490a0fe33a
230
server-sdk-jvm
MIT License
src/main/kotlin/io/github/gradlebom/dependency/generators/IncludedDependenciesGenerators.kt
gradle-bom
366,795,593
false
null
package io.github.gradlebom.dependency.generators import org.gradle.api.Project internal object IncludedDependenciesGenerators { fun of(project: Project): Sequence<IncludedDependenciesGenerator> = sequenceOf( ProjectModulesGenerator(project), ExternalDependenciesGenerator() ...
7
Kotlin
3
7
14861a3ab30ce06eab6cb357288ca0927c231377
325
gradle-bom-generator-plugin
MIT License
src/main/kotlin/com/neva/gradle/fork/tasks/ForkTask.kt
neva-dev
108,767,312
false
null
package com.neva.gradle.fork.tasks import javax.inject.Inject import com.neva.gradle.fork.config.Config open class ForkTask @Inject constructor(config: Config) : ConfigTask(config) { init { description = "Generates new project basing on itself." } }
11
Kotlin
1
9
b936aa1a4616b8d4e9c0d1d0a5b9cffaa046aba8
261
gradle-fork-plugin
Apache License 2.0
vector/src/androidTest/java/com/haroldadmin/vector/TestFragmentFactory.kt
thomhurst
190,282,550
true
{"Kotlin": 35107}
package com.haroldadmin.vector import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentFactory internal class TestFragmentFactory(private val vmFactory: TestViewModelFactory) : FragmentFactory() { override fun instantiate(classLoader: ClassLoader, className: String): Fragment { val cla...
0
Kotlin
0
0
9305f26a8811af01e9edc5f8d5f111dc670362d8
548
Vector
Apache License 2.0
sqldelight-compiler/src/main/kotlin/com/squareup/sqldelight/validation/CreateIndexValidator.kt
iosphere
122,855,496
false
{"Gradle": 12, "Markdown": 4, "INI": 6, "Shell": 3, "Ignore List": 1, "Batchfile": 1, "Text": 41, "YAML": 1, "Kotlin": 105, "Java": 78, "XML": 13, "Java Properties": 1, "ANTLR": 1}
/* * Copyright (C) 2016 Square, 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 agre...
1
null
1
1
f859416ce2d0f1b8b4ca5565dcb0c25b7e5cec15
1,195
sqldelight
Apache License 2.0
sqldelight-compiler/src/main/kotlin/com/squareup/sqldelight/validation/CreateIndexValidator.kt
iosphere
122,855,496
false
{"Gradle": 12, "Markdown": 4, "INI": 6, "Shell": 3, "Ignore List": 1, "Batchfile": 1, "Text": 41, "YAML": 1, "Kotlin": 105, "Java": 78, "XML": 13, "Java Properties": 1, "ANTLR": 1}
/* * Copyright (C) 2016 Square, 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 agre...
1
null
1
1
f859416ce2d0f1b8b4ca5565dcb0c25b7e5cec15
1,195
sqldelight
Apache License 2.0
app/src/main/java/com/panosdim/flatman/viewmodel/BalanceViewModel.kt
panosdim
303,357,515
false
null
package com.panosdim.flatman.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import com.panosdim.flatman.api.BalanceRepository import com.panosdim.flatman.api.data.Resource import com.panosdim.flatman.model.Balance class BalanceViewModel : ViewModel() { private val balanceReposito...
0
Kotlin
0
1
7a48f1f4e340249734eb7c316b658d73aecd1877
980
apartments-android-app
MIT License
mobile_app1/module754/src/main/java/module754packageKt0/Foo0.kt
uber-common
294,831,672
false
null
package module754packageKt0; annotation class Foo0Fancy @Foo0Fancy class Foo0 { fun foo0(){ leafModuleMaxpackageJava0.Foo0().foo1() module130packageJava0.Foo0().foo4() module1161packageJava0.Foo0().foo2() module1119packageJava0.Foo0().foo6() module466packageJava0.Foo0().foo4() module1022pack...
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
795
android-build-eval
Apache License 2.0
app/src/main/java/com/olabode/wilson/pytutor/utils/states/DataState.kt
whilson03
173,095,316
false
null
package com.olabode.wilson.pytutor.utils.states /** * Created by <NAME> on 9/6/20. */ sealed class DataState<out R> { data class Success<out T>(val data: T) : DataState<T>() data class Error(val exception: Exception?, val message: String) : DataState<Nothing>() object Loading : DataState<Nothing>() ...
2
Kotlin
3
4
440cdf95f1c7e750fcadb49623d6f15b993163cd
542
PyTutor
MIT License
example/src/main/kotlin/jp/bglb/bonboru/behaviors/app/BottomNavigationActivity.kt
mainam
79,517,355
true
{"Kotlin": 53999, "Java": 1161, "Shell": 181}
package jp.bglb.bonboru.behaviors.app import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.Toolbar import butterknife.bindView /** * Created by tetsuya on 2017/01/12. */ class BottomNavigationActivity : AppCompatActivity() { val toolbar by bindView<Toolbar>(R....
0
Kotlin
0
0
1c383495c4661339d98b8b61af7ba77d47ba0dcd
561
coordinator-behaviors
Apache License 2.0
mockup-processor/src/main/kotlin/mir/oslav/mockup/processor/data/MockupObjectMember.kt
miroslavhybler
691,973,907
false
{"Kotlin": 81659}
package mir.oslav.mockup.processor.data /** * @since 1.0.0 * @author <NAME> <br> * created on 18.09.2023 */ data class MockupObjectMember constructor( val itemClassName: String, val providerClassName: String, val providerClassPackage: String ) { }
0
Kotlin
0
0
a4fb4cca4f4a37e9c129437ee46d15663af22e1b
268
ksp-mockup
Apache License 2.0
app/src/main/java/com/webianks/expensive/ui/main/profile/MenuFragment.kt
webianks
186,256,631
false
null
package com.webianks.expensive.ui.main.profile import android.app.ProgressDialog import android.content.Intent import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import com.bumptech.glide.Glide import com.google.android.gms.auth.api.signin.GoogleSignIn import com.google.android.gms...
0
Kotlin
5
23
13719ed6e4ce6d91aea904f7b0deadfcae574486
3,202
Expensive
MIT License
app/src/main/java/com/webianks/expensive/ui/main/profile/MenuFragment.kt
webianks
186,256,631
false
null
package com.webianks.expensive.ui.main.profile import android.app.ProgressDialog import android.content.Intent import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import com.bumptech.glide.Glide import com.google.android.gms.auth.api.signin.GoogleSignIn import com.google.android.gms...
0
Kotlin
5
23
13719ed6e4ce6d91aea904f7b0deadfcae574486
3,202
Expensive
MIT License
madman/src/main/java/com/flipkart/madman/manager/model/AdPodImpl.kt
flipkart-incubator
235,603,923
false
null
/* * * * Copyright (C) 2019 Flipkart Internet Pvt 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 * * * ...
8
Kotlin
8
66
ded0a7a5d50bdf2b60e5a31a41943266bb677041
1,413
madman-android
Apache License 2.0
app/src/main/java/com/example/pokedex/MainActivity.kt
tasneemiqbal
625,138,658
false
null
package com.example.pokedex import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import androidx.recyclerview.widget.DividerItemDecoration import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide...
0
Kotlin
0
0
69704b8cca876f1e0c7802e05b3d66736783c14b
3,257
PokeDex
Apache License 2.0
shared/core/util/src/androidMain/kotlin/com/thomaskioko/tvmaniac/core/util/AppContext.kt
c0de-wizard
361,393,353
false
null
package com.thomaskioko.tvmaniac.core.util import android.app.Application actual typealias AppContext = Application
3
Kotlin
10
88
e613080658265c2cb8bb184c88d2057fe011e58f
118
tv-maniac
Apache License 2.0
app/src/main/java/com/stocksexchange/android/ui/views/FeatureView.kt
libertaria-project
183,030,087
true
{"Kotlin": 2210140}
package com.stocksexchange.android.ui.views import android.content.Context import android.graphics.Color import android.graphics.drawable.Drawable import android.util.AttributeSet import android.view.View import android.widget.ImageView import android.widget.LinearLayout import android.widget.TextView import androidx....
0
Kotlin
0
0
35a7f9a61f52f68ab3267da24da3c1d77d84e9c3
2,925
Android-app
MIT License
presentation/src/main/kotlin/io/github/gmvalentino8/github/sample/presentation/feature/search/top/SearchTopProcessor.kt
wasabi-muffin
462,369,263
false
{"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812}
package io.github.gmvalentino8.github.sample.presentation.feature.search.top import io.github.gmvalentino8.github.sample.domain.usecases.ClearRecentSearchesUseCase import io.github.gmvalentino8.github.sample.domain.usecases.GetRecentSearchesUseCase import io.github.gmvalentino8.github.sample.domain.usecases.SearchAllU...
0
Kotlin
0
1
2194a2504bde08427ad461d92586497c7187fb40
2,627
github-sample-project
Apache License 2.0
backend/src/main/kotlin/medpod/blood/exceptions/ApplicationException.kt
MedPod
378,226,864
false
null
package medpod.blood.exceptions abstract class ApplicationException(message: String?, val code: String? = null) : RuntimeException(message)
0
Kotlin
0
1
8cb0779a04cb28babd8645fa9f7a9065d0ca745e
141
blood-pressure-diary
Apache License 2.0
app/src/main/java/com/gumu/bookwormapp/presentation/ui/bookstats/BookStatsEvent.kt
Gumu-96
636,874,711
false
null
package com.gumu.bookwormapp.presentation.ui.bookstats import com.gumu.bookwormapp.domain.model.ReadingStatus sealed class BookStatsEvent { data class OnLoadStats(val statsId: String?) : BookStatsEvent() object OnBackClick : BookStatsEvent() object OnConfirmLeave : BookStatsEvent() object OnDeleteClic...
0
null
0
2
07751f9e2c7b70713938c9049f661cf7810a67c2
694
BookwormApp
MIT License
cinescout/anticipated/data/remote/src/commonMain/kotlin/cinescout/anticipated/data/remote/mapper/TraktAnticipatedMapper.kt
fardavide
280,630,732
false
null
package cinescout.anticipated.data.remote.mapper import cinescout.anticipated.data.remote.model.TraktScreenplaysAnticipatedMetadataResponse import cinescout.screenplay.domain.model.ScreenplayIds import org.koin.core.annotation.Factory @Factory internal class TraktAnticipatedMapper { fun toScreenplayIds(response:...
11
Kotlin
2
6
f2e3993816452afaf6c3f1e7c7a384eb9a66c06e
481
CineScout
Apache License 2.0
src/main/kotlin/org/t246osslab/easybuggy4kt/vulnerabilities/OGNLExpressionInjectionController.kt
k-tamura
107,135,934
false
null
package org.t246osslab.easybuggy4kt.vulnerabilities import ognl.Ognl import ognl.OgnlContext import ognl.OgnlException import org.apache.commons.lang.StringUtils import org.apache.commons.lang.math.NumberUtils import org.springframework.stereotype.Controller import org.springframework.web.bind.annotation.RequestMappin...
0
Kotlin
4
3
837775d00038e482647a6fcbe1c8ddfed0ef906f
2,002
easybuggy4kt
Apache License 2.0
SceytChatUiKit/src/main/java/com/sceyt/chatuikit/persistence/dao/UserDao.kt
sceyt
549,073,085
false
{"Kotlin": 2713714, "Java": 107920}
package com.sceyt.chatuikit.persistence.dao import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import androidx.room.Transaction import androidx.room.Update import com.sceyt.chatuikit.persistence.entity.user.UserDb import com.sceyt.chatuikit.persisten...
0
Kotlin
1
2
92717e7a0201600396bacddaa279f8a07a298650
2,340
sceyt-chat-android-uikit
MIT License
sykepenger-model/src/main/kotlin/no/nav/helse/etterlevelse/BehandlingSubsumsjonslogg.kt
navikt
193,907,367
false
{"Kotlin": 6610000, "PLpgSQL": 2738, "Dockerfile": 168}
package no.nav.helse.etterlevelse import java.util.UUID class BehandlingSubsumsjonslogg( private val parent: Subsumsjonslogg, private val kontekster: List<Subsumsjonskontekst> ) : Subsumsjonslogg { constructor(subsumsjonslogg: Subsumsjonslogg) : this(subsumsjonslogg, emptyList()) override fun logg(s...
2
Kotlin
7
3
d8b9192fbce73e0f27f60de4e68360a06480235b
2,532
helse-spleis
MIT License
domain/src/test/java/com/anytypeio/anytype/domain/misc/UrlBuilderTest.kt
anyproto
647,371,233
false
null
package com.anytypeio.anytype.domain.misc import com.anytypeio.anytype.domain.config.Gateway import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Test import org.mockito.Mock import org.mockito.MockitoAnnotations class UrlBuilderTest { @Mock lateinit var gateway: Gateway private...
45
null
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
2,041
anytype-kotlin
RSA Message-Digest License
app/src/main/java/com/example/movieapp/module/DataBaseModule.kt
ahmedsamir9
308,115,212
false
null
package com.example.movieapp.module import android.content.Context import androidx.room.Room import com.example.movieapp.DB.AppDatabase import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.components.ApplicationComponent import dagger.hilt.android.qualifiers.ApplicationCo...
0
Kotlin
3
6
5d9b73b2f62fc8fc3730335c7d69aae2efac6238
1,417
MovieAppKotlin
Apache License 2.0
v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/interceptor/Interception.kt
monta-app
789,343,716
false
null
package com.monta.ocpp.emulator.interceptor import com.monta.library.ocpp.common.serialization.Message import com.monta.ocpp.emulator.common.util.injectAnywhere import com.monta.ocpp.emulator.interceptor.view.EditMessageWindowViewModel import com.monta.ocpp.emulator.logger.ChargePointLogger import kotlinx.coroutines.T...
7
null
4
89
3ec9445ca517e97a0dba2f0a05b7ed38ac37faf5
2,953
ocpp-emulator
Apache License 2.0
AOS/app/src/main/java/com/example/eeos/presentation/login/LoginViewModel.kt
JNU-econovation
696,705,501
false
null
package com.example.eeos.presentation.login import androidx.compose.material3.SnackbarDuration import androidx.compose.material3.SnackbarHostState import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.eeos.EEOSApplication import com.example.eeos.consts.SnackBarMessage import c...
3
null
7
6
4d58bddd313e94e38586ff3dcd23784e167274e6
3,093
EEOS
MIT License
AOS/app/src/main/java/com/example/eeos/presentation/login/LoginViewModel.kt
JNU-econovation
696,705,501
false
null
package com.example.eeos.presentation.login import androidx.compose.material3.SnackbarDuration import androidx.compose.material3.SnackbarHostState import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.eeos.EEOSApplication import com.example.eeos.consts.SnackBarMessage import c...
3
null
7
6
4d58bddd313e94e38586ff3dcd23784e167274e6
3,093
EEOS
MIT License
app/src/main/java/jp/juggler/subwaytooter/table/UserRelation.kt
Kjwon15
177,438,602
false
null
package jp.juggler.subwaytooter.table import android.content.ContentValues import android.database.Cursor import android.database.sqlite.SQLiteDatabase import android.provider.BaseColumns import jp.juggler.subwaytooter.App1 import jp.juggler.subwaytooter.api.TootParser import jp.juggler.subwaytooter.api.entity.EntityI...
1
null
1
1
65d99b947323eb8df4c2053c586373e9f95536bc
13,306
SubwayTooter
Apache License 2.0
src/main/kotlin/net/developerden/devdenbot/util/PermissionUtils.kt
TheDeveloperDen
348,872,583
false
null
package net.developerden.devdenbot.util import net.developerden.devdenbot.discord.MODERATOR_ROLE_ID import net.dv8tion.jda.api.Permission import net.dv8tion.jda.api.entities.Member import net.dv8tion.jda.api.entities.Role fun hasRole(member: Member, roleId: Long) = member.roles.any { it.idLong == roleId } fun hasRol...
9
Kotlin
9
4
dfddda56e4d9811677e3b77efb6ec40e00cb4226
995
DevDenBot
MIT License
app/src/main/java/com/bcp/androidchallenge/data/remote/NetworkDataSource.kt
deividnew94
363,849,418
false
null
package com.bcp.androidchallenge.data.remote import com.bcp.androidchallenge.core.Resource import com.bcp.androidchallenge.data.model.ExchangeRate import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.channels.awaitClose import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.callbac...
0
Kotlin
0
0
e7bf448b17bd40909180da28d2f5d6dddce51d0b
830
bcp-android-challenge
MIT License
Codeforces/Kotlin Heroes Practice 2/wrong-subtraction.kt
JanaSabuj
146,477,039
false
{"C++": 807879, "Python": 16345, "Go": 8825, "Kotlin": 3344}
fun readLn() = readLine()!! // string line fun readInt() = readLn().toInt() // single int fun readStrings() = readLn().split(" ") // list of strings fun readInts() = readStrings().map { it.toInt() } // list of ints fun main(){ var (n, k) = readInts() repeat(k){ if(n%10 != 0) n = n - 1;...
0
C++
3
9
d0cd5aa257091985bff0d5a91b0b9dc938d4c6e8
374
cpmaster
MIT License
core/src/main/kotlin/chat/rocket/core/internal/SettingsAdapter.kt
osfunapps
129,184,291
true
{"Gradle": 8, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 135, "Java": 3, "Java Properties": 1, "YAML": 1}
package chat.rocket.core.internal import chat.rocket.common.util.ifNull import chat.rocket.core.model.Value import com.squareup.moshi.FromJson import com.squareup.moshi.JsonAdapter import com.squareup.moshi.JsonEncodingException import com.squareup.moshi.JsonReader import com.squareup.moshi.JsonWriter class SettingsA...
0
Kotlin
0
0
ed73af8eb0d340ea4faa1469a618a6050eb7ea49
4,614
RocketChatSDK
MIT License
src/main/kotlin/io/github/serpro69/kfaker/provider/TheThickOfIt.kt
jianfang-kso
204,592,729
true
{"Kotlin": 189205, "Groovy": 1142}
package io.github.serpro69.kfaker.provider import io.github.serpro69.kfaker.* import io.github.serpro69.kfaker.dictionary.* /** * [FakeDataProvider] implementation for [CategoryName.THE_THICK_OF_IT] category. */ class TheThickOfIt internal constructor(fakerService: FakerService) : AbstractFakeDataProvider(fakerServ...
0
Kotlin
0
0
36a77fb520f82a1a0b43cf6cd08c54c2c7b9d6d6
628
kotlin-faker
MIT License
src/quartz/compiler/tree/expression/Identifier.kt
aedans
85,125,634
false
null
package quartz.compiler.tree.expression import quartz.compiler.tree.Type /** * Created by <NAME>. */ data class Identifier(val name: String, override val type: Type?) : LValue { override fun toString(): String { return name } }
0
Kotlin
0
1
c5608e80b1fa994e1eb29dc1a7aa6d1f15280b98
249
quartz-old
MIT License
src/main/kotlin/server/custom/CustomSetRequestValidationAndBusinessLogic.kt
tree-ware
847,051,496
false
{"Kotlin": 7559}
package server.custom import org.treeWare.model.core.MutableMainModel import org.treeWare.model.operator.Response internal fun customSetRequestValidationAndBusinessLogic(setRequest: MutableMainModel): Response { return Response.Success }
0
Kotlin
0
0
d6d5191d1a15db5c613b8511d3af57c26f7020ca
243
tree-ware-kotlin-e2e-shell
Apache License 2.0
app/src/main/java/com/example/user/kotlin2018/ui/post/PostViewModel.kt
harolhiguera
149,991,474
false
null
package com.example.user.kotlin2018.ui.post import android.arch.lifecycle.MutableLiveData import com.example.user.kotlin2018.base.BaseViewModel import com.example.user.kotlin2018.model.Post class PostViewModel: BaseViewModel() { private val postTitle = MutableLiveData<String>() private val postBody = Mutable...
0
Kotlin
0
0
55332aec1ab22eab6f46173929d8ecabbdc9da00
603
kotlin.2018
Apache License 2.0
cloud/aws/src/main/java/com/nimbusframework/nimbusaws/wrappers/file/FileStorageServerlessFunctionFileBuilder.kt
thomasjallerton
163,180,980
false
{"Kotlin": 1124638, "Java": 130052, "JavaScript": 12405, "CSS": 297, "Dockerfile": 148}
package com.nimbusframework.nimbusaws.wrappers.file import com.amazonaws.services.lambda.runtime.events.S3Event import com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification import com.nimbusframework.nimbusaws.cloudformation.generation.abstractions.ClassForReflectionService import com.nimbusframew...
4
Kotlin
4
39
5c3325caaf3fe9de9ffad130fd1e773c6f680e89
2,578
nimbus-framework
MIT License
integration-tests/src/test/kotlin/com/testapp/suite/payments/PayLaterTestSuite.kt
klarna
200,860,800
false
{"Kotlin": 117311, "Java": 73623, "Objective-C++": 43409, "TypeScript": 37159, "Objective-C": 16731, "Ruby": 6512, "JavaScript": 3237}
package com.testapp.suite.payments import com.testapp.tests.payments.flows.paylater.* import org.junit.jupiter.api.parallel.Execution import org.junit.jupiter.api.parallel.ExecutionMode import org.junit.platform.suite.api.SelectClasses import org.junit.platform.suite.api.Suite @Execution(ExecutionMode.CONCURRENT) @Su...
14
Kotlin
25
22
ac2f8e79541c712c70d4a7bd12cd2001591ed960
645
react-native-klarna-inapp-sdk
Apache License 2.0
app/src/main/java/org/coepi/android/extensions/ObservableExtensions.kt
hobbit-frodo
249,796,040
false
null
package org.coepi.android.extensions import androidx.lifecycle.LiveData import androidx.lifecycle.LiveDataReactiveStreams.fromPublisher import io.reactivex.BackpressureStrategy.BUFFER import io.reactivex.Observable import io.reactivex.android.schedulers.AndroidSchedulers.mainThread fun <T> Observable<T>.toLiveData():...
1
null
1
1
9db21b7939b7de0dd5487562bbcb24a6d6f274a7
397
app-android
MIT License
toolkit/event-observer/src/test/kotlin/br/com/arch/toolkit/util/_liveDataTest.kt
matheus-corregiari
131,161,672
false
{"Kotlin": 793279, "Java": 17024, "Shell": 5296}
@file:Suppress("ClassNaming", "ClassName") package br.com.arch.toolkit.util import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.MutableLiveData import br.com.arch.toolkit.alwaysOnOwner import br.com.arch.toolkit.livedata.ResponseLiveData import br.com.arch.toolkit.result.DataR...
2
Kotlin
4
25
ef33e6583c3e5057481ccd7b23533e3e88238cfd
7,393
arch-toolkit
Apache License 2.0
cblmapper/src/main/java/io/sportner/cblmapper/mappers/DateDefaultTypeAdapter.kt
Sportner
100,890,801
false
null
package io.sportner.cblmapper.mappers import com.couchbase.lite.internal.utils.DateUtils import java.util.* import kotlin.reflect.KClass import kotlin.reflect.KTypeProjection class DateDefaultTypeAdapter : CBLMTypeAdapter<Date> { override fun decode(value: Any?, typeOfT: KClass<Date>, typesParameter: List<KTypeP...
1
null
1
4
bc91e7a66efd062f73d968f6d2db2425a5184ea4
631
CBLMapper
Apache License 2.0
app/src/main/java/com/whr/ktxmvp/impl/UiCoreProxyImpl.kt
whr18756973961
209,262,242
false
null
package com.whr.ktxmvp.impl import android.app.Activity import android.content.Context import androidx.fragment.app.Fragment import androidx.recyclerview.widget.RecyclerView import com.whr.baseui.proxy.IUiCoreProxy import com.whr.ktxmvp.R import com.whr.ktxmvp.api.App /** * Created by user on 2019/7/29. */ class U...
1
Java
6
18
c63ec4c23ffcdb199493e4b454d0de941ca0cad0
1,623
ktxMvp
MIT License
HeWeatherApi/src/main/java/com/allen/api/HeWeather/Response/HeWeatherSearch.kt
AllenTom
112,418,059
false
{"Gradle": 4, "Java Properties": 2, "Text": 1, "Ignore List": 3, "Markdown": 1, "Proguard": 2, "Java": 4, "XML": 57, "Kotlin": 42}
package com.allen.api.HeWeather.Response import com.google.gson.annotations.SerializedName /** * Created by Allen on 2016/12/8. */ class HeWeatherSearch { @SerializedName("HeWeather5") var heWeather: List<HeWeather>? = null class HeWeather { /** * basic : {"city":"北京","cnty":"中国","id...
0
Kotlin
0
2
2cd6f4aaf393221f28bbcfd0b3871301daecf87f
966
SeekWeather
MIT License
src/main/java/at/petrak/hexcasting/common/casting/mishaps/MishapLocationInWrongDimension.kt
Noobulus
479,910,974
false
{"Java Properties": 1, "Groovy": 1, "Text": 3, "Shell": 1, "Markdown": 2, "Git Attributes": 1, "Batchfile": 1, "Gradle": 1, "Ignore List": 1, "Kotlin": 118, "Java": 108, "JSON": 435, "TOML": 1, "INI": 1}
package at.petrak.hexcasting.common.casting.mishaps import at.petrak.hexcasting.api.spell.SpellDatum import at.petrak.hexcasting.common.casting.CastingContext import at.petrak.hexcasting.common.casting.Widget import at.petrak.hexcasting.common.casting.colors.FrozenColorizer import net.minecraft.network.chat.Component ...
1
null
1
1
fd206287f685261aa257957f6a4eb634db46630f
1,017
HexMod
MIT License
buildSrc/private/src/main/kotlin/androidx/build/dackka/MetadataEntry.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 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 applica...
29
Kotlin
790
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
1,075
androidx
Apache License 2.0
kotlin/src/com/s13g/aoc/aoc2018/Day24.kt
shaeberling
50,704,971
false
null
/* * Copyright 2019 Sascha Haeberling * * 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 ...
1
null
1
3
b1ab0973f2fb44c37b4a5125802f605e252f72ee
7,173
euler
Apache License 2.0
fragmentlearning/app/src/main/java/org/javamaster/fragmentlearning/enums/TopicsTypeEnum.kt
jufeng98
197,153,385
false
{"JavaScript": 2526195, "Java": 982403, "Kotlin": 370448, "Vue": 224444, "HTML": 198321, "CSS": 164762}
package org.javamaster.fragmentlearning.enums import org.javamaster.fragmentlearning.R import java.util.* /** * @author yudong * @date 2019/8/10 */ enum class TopicsTypeEnum(val code: Int, val msg: Int) { CODING(1, R.string.topics_type_coding), WEB(2, R.string.topics_type_web), LANG(3, R.string.topics_...
6
JavaScript
2
7
f271a958600a60b1324d6b6d4123aec4f6b4628e
749
online-exam
Apache License 2.0
kamp-core/src/main/kotlin/ch/leadrian/samp/kamp/core/runtime/entity/property/ActorAngleProperty.kt
Double-O-Seven
142,487,686
false
{"Kotlin": 3854710, "C": 23964, "C++": 23699, "Java": 4753, "Dockerfile": 769, "Objective-C": 328, "Batchfile": 189}
package ch.leadrian.samp.kamp.core.runtime.entity.property import ch.leadrian.samp.kamp.core.api.entity.Actor import ch.leadrian.samp.kamp.core.runtime.SAMPNativeFunctionExecutor import ch.leadrian.samp.kamp.core.runtime.types.ReferenceFloat import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty i...
1
Kotlin
1
7
af07b6048210ed6990e8b430b3a091dc6f64c6d9
893
kamp
Apache License 2.0
compose-designer/testSrc/com/android/tools/idea/compose/preview/animation/InspectorPainterTest.kt
benjiesinzore
576,548,172
true
{"Text": 355, "EditorConfig": 2, "Markdown": 64, "Shell": 32, "Ignore List": 193, "XML": 13507, "Starlark": 142, "Kotlin": 6746, "Java": 8085, "Gradle": 2753, "Proguard": 169, "INI": 72, "JSON": 80, "Graphviz (DOT)": 1, "Ant Build System": 2, "Protocol Buffer": 8, "Java Properties": 166, "HTML": 67, "Batchfile": 20, "G...
/* * Copyright (C) 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
null
0
0
b373163869f676145341d60985cdbdaca3565c0b
3,909
android
Apache License 2.0
wysiwyg/src/androidMain/kotlin/me/saket/wysiwyg/spans/ClickableUrlSpan.kt
saket
201,701,386
false
null
package me.saket.wysiwyg.spans import android.text.TextPaint import android.text.style.ClickableSpan import android.text.style.URLSpan import android.view.View class ClickableUrlSpan( val recycler: Recycler ) : URLSpan("placeholder_url"), WysiwygSpan { lateinit var url: String override fun getURL() = url o...
13
null
110
1,849
5f64350ec51402f3e6aeff145cbc35438780a03c
436
press
Apache License 2.0
android_utils/src/main/kotlin/br/com/govote/android/libs/navigation/NavigationResult.kt
govote
126,850,173
false
{"Gemfile.lock": 1, "Git Config": 1, "Gradle": 17, "Ignore List": 9, "Markdown": 3, "Dockerfile": 1, "YAML": 2, "Java Properties": 2, "Shell": 2, "Text": 6, "Batchfile": 1, "EditorConfig": 1, "Makefile": 1, "Ruby": 2, "Proguard": 6, "XML": 49, "Kotlin": 120, "Gradle Kotlin DSL": 1, "Java": 7, "Python": 2}
package br.com.govote.android.libs.navigation import android.os.Bundle interface NavigationResult { fun onNavigationResult(result: Bundle) }
3
Kotlin
0
0
3a2856ba38b2e62b736fd19497a4500288088e1b
145
govote.android
Apache License 2.0
mvrx/src/main/kotlin/com/airbnb/mvrx/MavericksViewModelWrapper.kt
airbnb
139,500,036
false
{"Kotlin": 902916, "Java": 1431, "Shell": 897}
package com.airbnb.mvrx import androidx.lifecycle.ViewModel class MavericksViewModelWrapper<VM : MavericksViewModel<S>, S : MavericksState>(val viewModel: VM) : ViewModel() { override fun onCleared() { super.onCleared() viewModel.onCleared() } }
61
Kotlin
498
5,816
e920c4b0fe73183a3bb51e648066ebd5f7be3e8c
272
mavericks
Apache License 2.0
app/src/main/java/com/mutualmobile/praxis/injection/module/ActivityBindingModule.kt
mutualmobile
221,002,551
false
null
package com.mutualmobile.praxis.injection.module import com.mutualmobile.praxis.injection.scope.ActivityScope import com.mutualmobile.praxis.ui.home.HomeActivity import com.mutualmobile.praxis.ui.home.HomeActivityModule import com.mutualmobile.praxis.ui.joke.ShowJokeActivity import com.mutualmobile.praxis.ui.joke.Show...
6
null
20
90
309a5cd28bae3ddd2862265e0eec88261d81c6e1
1,377
Praxis
Apache License 2.0
dokka-subprojects/plugin-base/src/main/kotlin/org/jetbrains/dokka/base/renderers/html/command/consumers/PathToRootConsumer.kt
Kotlin
21,763,603
false
{"Text": 4, "Gradle Kotlin DSL": 231, "Java Properties": 41, "Markdown": 102, "Shell": 12, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 2, "JSON": 12, "Kotlin": 1142, "TOML": 2, "YAML": 12, "HTML": 145, "SVG": 85, "CSS": 36, "Gradle": 15, "Java": 22, "JavaScript": 28, "Diff": 3, "XML": 13, "INI": 1, "Maven POM"...
/* * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package org.jetbrains.dokka.base.renderers.html.command.consumers import org.jetbrains.dokka.base.renderers.html.TemplateBlock import org.jetbrains.dokka.base.renderers.html.buildAsInnerHtml import org.jetbra...
1
null
1
1
09437c33bae16dd6432129db7b5706577103d3ba
1,196
dokka
Apache License 2.0
plugin/android-junit5/src/test/kotlin/de/mannodermaus/gradle/plugins/junit5/util/TestKitTruth.kt
igorwojda
338,582,588
true
{"Gradle": 1, "Shell": 3, "Text": 1, "Ignore List": 2, "Batchfile": 3, "Markdown": 3, "Gradle Kotlin DSL": 12, "Java": 30, "Kotlin": 83, "XML": 20, "INI": 2, "YAML": 2, "TOML": 5, "Java Properties": 1, "Groovy": 1}
package de.mannodermaus.gradle.plugins.junit5.util import com.google.common.truth.* import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.BuildTask import org.gradle.testkit.runner.TaskOutcome /* Methods */ fun assertThat(actual: BuildResult): BuildResultSubject = Truth.assertAbout(::BuildRes...
0
null
0
0
b6a1d91e73bb77bf179d8d41089cdfd24052e8c9
2,062
android-junit5
Apache License 2.0
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/awt/ComposeLayer.desktop.kt
HuaHu111
411,906,957
true
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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
null
0
0
9dffbd7c68accac64bf8f96b4b67457b8df40e4e
9,909
androidx
Apache License 2.0
keel-api/src/main/kotlin/com/netflix/spinnaker/keel/api/ResourceSpec.kt
spinnaker
107,462,081
false
null
package com.netflix.spinnaker.keel.api /** * Implemented by all resource specs. */ interface ResourceSpec { /** * The formal resource name. This is combined with the resource's API version prefix and kind to * form the fully-qualified resource id. * * This can be a property that is part of the spec, o...
13
Kotlin
135
99
956653ad493c386b88621eaf48ddc939a6372574
1,059
keel
Apache License 2.0
tokenization/src/main/java/com/paysafe/android/tokenization/domain/model/threedsauth/ThreeDSAuthParams.kt
paysafegroup
739,327,660
false
{"Kotlin": 630913, "Shell": 912}
package com.paysafe.android.tokenization.domain.model.threedsauth /** * Wrapper for the parameters needed for 3DS authorization. */ data class ThreeDSAuthParams( /** Payment amount. */ val amount: String? = null, /** Authentication purpose. */ val authenticationPurpose: String? = null, /** Bill...
0
Kotlin
0
0
56acf1d166317d7ddfb5e3eac5e61485c63e6a8a
1,460
paysafe_sdk_android_payments_api
MIT License
WeatherAppRx/app/src/main/java/com/chizhikov/weatherapprx/MainActivity.kt
B-O-O-P
279,709,074
false
null
package com.chizhikov.weatherapprx import android.os.Build import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Parcelable import android.util.Log import android.view.View import androidx.annotation.RequiresApi import androidx.recyclerview.widget.LinearLayoutManager import com.chi...
0
Kotlin
1
1
58bcbbe23ec1dec0cc66e6b346e9a7a299b58abb
12,195
itmo-android
MIT License
backend/src/main/kotlin/vegait/rs/osipodgorica/seeder/OldDataSeeder.kt
vegaitglobal
704,208,134
false
{"Kotlin": 74608, "TypeScript": 62779, "Dockerfile": 1266, "JavaScript": 358, "CSS": 270}
package vegait.rs.osipodgorica.seeder import org.springframework.boot.CommandLineRunner import org.springframework.core.env.Environment import org.springframework.stereotype.Component import vegait.rs.osipodgorica.model.Location import vegait.rs.osipodgorica.repository.LocationRepository import com.fasterxml.jackson.d...
16
Kotlin
0
0
204ef55ee3f24ca1a82cacccd60de26895c45c8a
2,414
udruzenje-paraplegicara-podgorica-website
MIT License
src/main/kotlin/de/paulbrejla/holidays/application/impl/HolidayServiceImpl.kt
paulbrejla
293,449,923
false
null
package de.paulbrejla.holidays.application.impl import biweekly.component.VEvent import de.paulbrejla.holidays.application.api.HolidayService import de.paulbrejla.holidays.application.assembleHoliday import de.paulbrejla.holidays.domain.State import de.paulbrejla.holidays.infrastructure.loader.api.CalendarLoader impor...
4
Kotlin
0
9
f75a12991f69f9e0d3fb34327f450d228dd98928
1,980
ferien-api
MIT License
src/main/kotlin/me/glaremasters/guilds/api/events/GuildUpgradeEvent.kt
guilds-plugin
93,349,217
false
null
package me.glaremasters.guilds.api.events import me.glaremasters.guilds.api.events.base.GuildEvent import me.glaremasters.guilds.guild.Guild import me.glaremasters.guilds.guild.GuildTier import org.bukkit.entity.Player class GuildUpgradeEvent(player: Player, guild: Guild, val tier: GuildTier) : GuildEvent(player, gui...
56
null
37
86
a8b8ca3ac94ebc6196686fedff8fdd283142802d
324
Guilds
MIT License
core/src/main/kotlin/com/sfl/tms/core/service/translatable/translation/impl/TranslatableEntityFieldTranslationServiceImpl.kt
sflpro
162,969,432
false
{"Kotlin": 149228, "Java": 15523, "Dockerfile": 85}
package com.sfl.tms.core.service.translatable.translation.impl import com.sfl.tms.core.domain.translatable.TranslatableEntityFieldTranslation import com.sfl.tms.core.domain.translatable.TranslatableEntityFieldType import com.sfl.tms.core.persistence.translatable.TranslatableEntityFieldTranslationRepository import com....
0
Kotlin
1
0
25d5e9ec42109ec190858d36e5636e8bef76b712
6,874
translation-ms
Apache License 2.0
matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/room/members/RoomMembers.kt
Bubu
175,413,974
true
{"Kotlin": 679979, "Java": 37008}
/* * Copyright 2019 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 agreed to i...
0
Kotlin
0
0
99b1c0bed475902e2085981863e810dca6fdfb70
2,828
element-android
Apache License 2.0
test-services/src/main/kotlin/dev/restate/sdk/testservices/contracts/Proxy.kt
restatedev
569,181,470
false
null
// Copyright (c) 2023 - Restate Software, Inc., Restate GmbH // // This file is part of the Restate Java SDK, // which is released under the MIT license. // // You can find a copy of the license in file LICENSE in the root // directory of this repository or package, or at // https://github.com/restatedev/sdk-java/blob/...
3
null
4
21
9a99a6238fe814079481f38b6bde1982e7834246
2,066
sdk-java
MIT License
src/app/api/src/main/kotlin/yapp/be/apiapplication/auth/handler/AuthenticationSuccessHandler.kt
YAPP-Github
634,126,325
false
null
package yapp.be.apiapplication.auth.handler import jakarta.servlet.http.HttpServletRequest import jakarta.servlet.http.HttpServletResponse import org.springframework.security.core.Authentication import org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler import org.springframework.ster...
4
Kotlin
1
5
f55ddeaa9b156dcfd5ffdf58328ff08fb51db6e9
3,517
DangleDangle-server
Apache License 2.0
app/src/main/java/com/chaity/easymove/di/module/ApplicationModule.kt
Chaity243
193,846,851
false
null
package com.chaity.easymove.di.module import com.chaity.easymove.TimberLogger import com.chaity.easymove.di.scope.ApplicationScope import com.chaity.easymove.domain.Logger import dagger.Binds import dagger.Module @Module(includes = [ApplicationModule.LoggerModule::class]) class ApplicationModule() { @Module i...
0
Kotlin
0
0
770a3b081ce4e6d01e4eecaa706043edebd00bb7
447
move
Apache License 2.0