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
graph/graph-application/src/main/kotlin/eu/tib/orkg/prototype/contenttypes/api/compat.kt
TIBHannover
197,416,205
false
{"Kotlin": 2627763, "Cypher": 216189, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240}
package eu.tib.orkg.prototype.contenttypes.api interface PaperUseCases : RetrievePaperUseCase, CreatePaperUseCase, CreateContributionUseCase, PublishPaperUseCase interface ContributionUseCases : RetrieveContributionUseCase interface ComparisonUseCases : RetrieveComparisonUseCase, RetrieveComparisonContributionsUseCa...
0
Kotlin
2
5
8739ce33adc28e780a0c98771cd0c91b63dc922a
438
orkg-backend
MIT License
service/src/main/java/com/tink/service/misc/ImageConverters.kt
tink-ab
245,144,086
false
null
package com.tink.service.misc import com.tink.model.Images internal typealias ImagesDTO = com.tink.rest.models.ImageUrls internal fun ImagesDTO.toImages() = Images( icon = icon.orEmpty(), banner = banner.orEmpty() )
1
null
6
1
e2202bb6892e5310feaf5fa51a35714302ddb7b0
242
tink-core-android
MIT License
service/src/main/java/com/tink/service/misc/ImageConverters.kt
tink-ab
245,144,086
false
null
package com.tink.service.misc import com.tink.model.Images internal typealias ImagesDTO = com.tink.rest.models.ImageUrls internal fun ImagesDTO.toImages() = Images( icon = icon.orEmpty(), banner = banner.orEmpty() )
1
null
6
1
e2202bb6892e5310feaf5fa51a35714302ddb7b0
242
tink-core-android
MIT License
shared/src/commonMain/kotlin/com/muzamil/dictionarykmm/domain/util/CommonFlow.kt
Muzamilabdallah
594,448,461
false
null
package com.muzamil.dictionarykmm.domain.util import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow expect class CommonFlow<T>(flow: Flow<T>): Flow<T> fun <T> Flow<T>.toCommonFlow() = CommonFlow(this)
0
Kotlin
0
1
4668a12219c94f037ef2dd5413d298958147a5b5
233
DictionaryKmm
MIT License
src/test/kotlin/kcards/CardHolderTest.kt
KdeL
617,000,952
false
null
package kcards import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test internal class CardHolderTest { //Concrete class of CardHolder for testing class Holder: CardHolder() { fun addACard(suite: Suite, rank: Rank) = addCard(Card(suite, rank)) fun removeACard(card: Card) = re...
0
Kotlin
0
0
42e3317b49ffa4641c4786368fe5d9dec1fb9409
1,537
KCards
Apache License 2.0
ackpine-ktx/src/main/kotlin/ru/solrudev/ackpine/installer/parameters/ApkList.kt
solrudev
641,599,463
false
{"Kotlin": 325945, "Java": 50004}
/* * Copyright (C) 2023 <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 i...
0
Kotlin
2
9
1b89e923c075ca086829b23f6e60c32a61db849b
1,197
Ackpine
Apache License 2.0
app/src/main/java/com/github/vertex13/radiline/data/preferences/AppSharedPreferences.kt
vertex13
544,359,460
false
null
package com.github.vertex13.radiline.data.preferences import android.content.Context import android.content.SharedPreferences import androidx.core.content.edit import com.github.vertex13.radiline.data.preferences.type.TuneInBasePrefs import com.github.vertex13.radiline.domain.Time import com.github.vertex13.radiline.d...
0
Kotlin
0
0
68e08ffd10416658504d5d16a8dfe5da2cb8ce14
1,594
Radiline2
MIT License
pitmutationmate/src/main/kotlin/com/amos/pitmutationmate/pitmutationmate/configuration/SettingsEditor.kt
amosproj
705,002,233
false
null
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: 2023 <NAME> <<EMAIL>> package com.amos.pitmutationmate.pitmutationmate.configuration import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory import com.intellij.openapi.options.SettingsEditor import com.intellij.openapi.ui.TextFieldWithBrowseButt...
21
null
1
3
d1bcfc4aa5bd67b64420e19d37e110268ca90416
1,732
amos2023ws02-pitest-ide-plugin
MIT License
app/src/main/java/dev/kxxcn/maru/view/input/InputViewModel.kt
kxxcn
281,122,468
false
null
package dev.kxxcn.maru.view.input import androidx.lifecycle.* import com.squareup.inject.assisted.Assisted import com.squareup.inject.assisted.AssistedInject import dev.kxxcn.maru.Event import dev.kxxcn.maru.R import dev.kxxcn.maru.data.Account import dev.kxxcn.maru.data.Result.Success import dev.kxxcn.maru.data.sourc...
0
Kotlin
0
0
c301d8155cc13e459eb20acfc0fb89ab56d9c3dc
6,503
maru
Apache License 2.0
app/src/main/java/com/example/YTBoxing/model/Affirmation.kt
dcalibri
742,161,801
false
{"Kotlin": 36281}
package com.example.YTBoxing.model data class Affirmation( val stringResourceId: Int, val imageResourceId: Int, val additionalText: Int)
0
Kotlin
0
0
75ade7a33317ef2c0c87d5130ce677b34e9a1e7c
152
PPBM-03-7708213028-FadhliShafhanLubis_TUBES
MIT License
src/main/kotlin/com/jillesvangurp/ktsearchlogback/KtSearchLogBackAppender.kt
jillesvangurp
522,964,845
false
null
package com.jillesvangurp.ktsearchlogback import ch.qos.logback.classic.spi.ILoggingEvent import ch.qos.logback.core.AppenderBase import com.jillesvangurp.ktsearch.KtorRestClient import com.jillesvangurp.ktsearch.SearchClient import kotlinx.coroutines.runBlocking import mu.KotlinLogging import kotlin.time.Duration.Com...
0
Kotlin
1
0
ccf98450d74a1c489349f5b6b751885cb4213bc7
3,850
kt-search-logback-appender
MIT License
bidrag-beregn-barnebidrag/src/test/kotlin/no/nav/bidrag/beregn/barnebidrag/api/BeregnSamværsfradragApiTest.kt
navikt
248,744,235
false
{"Kotlin": 1844243}
package no.nav.bidrag.beregn.barnebidrag.api import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.fasterxml.jackson.module.kotlin.registerKotlinModule import no.nav.bidrag.beregn.barnebidrag.service.BeregnBarnebidragService import no.nav.bidrag.commo...
1
Kotlin
0
1
8247a27b5de2e18567c2a0a7ce63097fa7780f0d
5,482
bidrag-beregn-felles
MIT License
apps/etterlatte-beregning/src/main/kotlin/beregning/regler/Konstanter.kt
navikt
417,041,535
false
null
package no.nav.etterlatte.beregning.regler import java.time.LocalDate val BP_1967_DATO: LocalDate = LocalDate.of(1967, 1, 1)
6
Kotlin
0
3
8d41d2e006b5df41eacef84a670bc162ed72233c
126
pensjon-etterlatte-saksbehandling
MIT License
shared/src/commonMain/kotlin/nl/tiebe/otarium/logic/root/home/children/messages/children/folder/FolderComponent.kt
Tiebe
528,857,681
false
{"Kotlin": 708697, "Ruby": 6904, "Swift": 2918, "Shell": 437}
package nl.tiebe.otarium.logic.root.home.children.messages.children.folder import androidx.compose.foundation.ScrollState import com.arkivanov.decompose.value.Value import dev.tiebe.magisterapi.response.messages.Message import dev.tiebe.magisterapi.response.messages.MessageFolder import kotlinx.coroutines.CoroutineSco...
14
Kotlin
0
3
0b0716d2255ca0c7ea238c97439c5fbffa27de7b
961
Otarium
MIT License
modules/common/persistent_cache/api/src/main/kotlin/kekmech/ru/common_persistent_cache_api/handle/PersistentCacheHandleImpl.kt
tonykolomeytsev
203,239,594
false
null
package kekmech.ru.common_persistent_cache_api.handle import kekmech.ru.common_persistent_cache_api.PersistentCache import kekmech.ru.common_persistent_cache_api.PersistentCacheKey import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.map import java.io.Serializable @PublishedApi internal class Persisten...
18
Kotlin
4
28
209f34745458e150136c3cd6acb1fcad2e12ef9c
1,082
mpeiapp
MIT License
bittrader-web/src/test/kotlin/org/kentunc/bittrader/web/application/CandleServiceTest.kt
ken-tunc
430,691,495
false
null
package org.kentunc.bittrader.web.application import com.ninjasquad.springmockk.MockkBean import io.mockk.coEvery import kotlinx.coroutines.runBlocking import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.kentunc.bittrader.common.domain.model.candle.CandleQuery import org.k...
2
Kotlin
0
0
757c83fd604e5758a5e67bbfd98b33c1d9cc1961
1,289
bittrader
MIT License
workshopspace/src/main/kotlin/de/tarent/academy/kotlin/session3/SelaedClass.kt
msch0304
137,726,296
true
{"Kotlin": 30943}
package de.tarent.academy.kotlin.session3 sealed class Email data class UnverifiedEmail(val address: String): Email() { fun foo(): String = "Hallo" } data class VerifiedEmail(val address: String): Email() // Error:(8, 12) Kotlin: 'when' expression must be exhaustive, add necessary 'is VerifiedEmail' branch or 'e...
0
Kotlin
0
0
4010ea00f42766e7a3a8fb236a827cef95103bf3
341
kotlin-workshop
MIT License
app/src/main/java/me/skonb/openh264cameraview/ErrorDialogHelper.kt
shukob
82,632,252
false
null
package me.skonb.openh264cameraview; import android.app.Activity import android.app.AlertDialog import android.view.Gravity import android.widget.Toast /** * Created by skonb on 2013/09/30. */ class ErrorDialogHelper { fun showErrorDialogWithMessage(activity: Activity, messageRes: Int) { showErrorDialo...
1
null
1
5
cb5cef0c9793b2a52feb424b4645234a52c51765
2,267
OpenH264Recorder
MIT License
app/src/main/java/com/breezefsmsettdeycohomoeolab/features/viewAllOrder/interf/GenderListOnClick.kt
DebashisINT
639,303,773
false
null
package com.breezefsmsettdeycohomoeolab.features.viewAllOrder.interf import com.breezefsmsettdeycohomoeolab.app.domain.NewOrderGenderEntity interface GenderListOnClick { fun genderListOnClick(gender: NewOrderGenderEntity) }
0
Kotlin
0
0
4c4cd77712c07d26c47708276c9f299c42b8e51d
229
SettDeyCoHomoeo
Apache License 2.0
libraries/sharedpref-manager/src/main/java/com/trendyol/android/devtools/sharedprefmanager/di/ContextContainer.kt
Trendyol
365,201,013
false
{"Kotlin": 230670, "HTML": 18880}
package com.trendyol.android.devtools.sharedprefmanager.di import android.app.Application import android.content.Context import com.trendyol.android.devtools.sharedprefmanager.domain.SharedPrefUpdateTypeValidator internal object ContextContainer { val mainContainer by lazy { MainContainer( sh...
0
Kotlin
6
107
91fb7d331249c1412169d650c62f4fee83d5a17f
1,243
android-dev-tools
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/prisonertonomisupdate/casenotes/CaseNotesNomisApiService.kt
ministryofjustice
445,140,246
false
{"Kotlin": 1950750, "Mustache": 1803, "Dockerfile": 1118}
package uk.gov.justice.digital.hmpps.prisonertonomisupdate.casenotes import kotlinx.coroutines.reactor.awaitSingle import org.springframework.beans.factory.annotation.Qualifier import org.springframework.beans.factory.annotation.Value import org.springframework.stereotype.Service import org.springframework.web.reactiv...
1
Kotlin
0
2
04d22be535740652b6678a66d83b2f0b7c325e56
2,945
hmpps-prisoner-to-nomis-update
MIT License
data/src/desktopMain/kotlin/source/impl/NewsRemoteDataSource.desktop.kt
TheSetox
767,301,777
false
{"Kotlin": 28104, "Swift": 669, "HTML": 304}
package source.impl actual fun getApiKey(): String { return System.getenv("NEWS_API_KEY") }
8
Kotlin
0
3
43aa092e4b9cfcdf356f153c652d6d0a7eb67126
96
KMP-Fun-Clean-Architecture
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsidentifyremandperiodsapi/relevantremand/service/MergeChargeRemandService.kt
ministryofjustice
642,301,009
false
{"Kotlin": 179401, "Dockerfile": 1376}
package uk.gov.justice.digital.hmpps.hmppsidentifyremandperiodsapi.relevantremand.service import org.springframework.stereotype.Service import uk.gov.justice.digital.hmpps.hmppsidentifyremandperiodsapi.relevantremand.model.ChargeRemand import uk.gov.justice.digital.hmpps.hmppsidentifyremandperiodsapi.relevantremand.mo...
1
Kotlin
0
1
bca881efcbe32d01d3ac856c26bf75db29576ec2
1,575
hmpps-identify-remand-periods-api
MIT License
reakt/icons/src/main/kotlin/reakt/reakt.icons.fa.kt
aSoft-Ltd
314,091,136
false
null
@file:JsModule("react-icons/fa") @file:JsNonModule @file:Suppress("unused") package reakt import react.ComponentClass external val Fa500Px: ComponentClass<IconProps> external val FaAccessibleIcon: ComponentClass<IconProps> external val FaAccusoft: ComponentClass<IconProps> external val FaAcquisitionsIncorporated:...
1
Kotlin
1
1
b6dd915deeea57e13e7977e4b7300c9021990d8b
82,925
reakt
MIT License
src/main/kotlin/top/kanetah/kotlin/pattern/adapterPattern/FishingBoat.kt
kanetah
125,836,744
false
null
package top.kanetah.kotlin.pattern.adapterPattern /** * create by kanetah on 2018/3/26 */ class FishingBoat { fun sail() = println("The fishing boat is sailing.") }
0
Kotlin
0
0
201d093534f2e94c8e295f1bc75a8d520d5ed890
172
KotlinPattern
MIT License
.teamcity/AE_AzureCustomNamespaceMonitoringExtension/Extensions.kt
prashmeh
253,775,726
false
{"Java": 127182, "Kotlin": 7824, "Makefile": 2468, "HCL": 1266, "Dockerfile": 822}
package AE_AzureCustomNamespaceMonitoringExtension import AE_AzureCustomNamespaceMonitoringExtension.vcsRoots.AE_AzureCustomNamespaceMonitoringExtension import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType import jetbrains.buildServer.configs.kotlin.v2019_2.VcsRoot import jetbrains.buildServer.configs.kotlin....
1
Java
0
0
79a81ac839971e0f592766e988f43b688a01ad34
959
azure-custom-namespace-monitoring-extension
Apache License 2.0
compose/ui/ui-text/samples/src/main/java/androidx/compose/ui/text/samples/BaselineShiftSamples.kt
RikkaW
389,105,112
false
null
/* * Copyright 2019 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...
3
null
1011
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
1,776
androidx
Apache License 2.0
pluto/src/main/java/com/mocklets/pluto/modules/setup/SetupNotification.kt
mocklets
459,260,997
false
null
package com.mocklets.pluto.modules.setup import android.app.PendingIntent import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.os.Build import com.mocklets.pluto.R import com.mocklets.pluto.core.notification.NotificationUtil import com.mocklets.pluto.ui.P...
0
null
2
8
87dc5a27272e0fc5c38e042fa95689a143ae5446
1,419
pluto
Apache License 2.0
android/measure/src/main/java/sh/measure/android/exporter/PeriodicEventExporter.kt
measure-sh
676,897,841
false
{"Kotlin": 890104, "Go": 615450, "Swift": 379937, "TypeScript": 350495, "Shell": 26060, "Objective-C": 17998, "C": 9958, "Python": 7639, "Lua": 1206, "JavaScript": 1053, "CMake": 479, "CSS": 461, "C++": 445}
package sh.measure.android.exporter import androidx.annotation.VisibleForTesting import sh.measure.android.config.ConfigProvider import sh.measure.android.executors.MeasureExecutorService import sh.measure.android.logger.LogLevel import sh.measure.android.logger.Logger import sh.measure.android.utils.TimeProvider impo...
80
Kotlin
25
484
86b1a2363fcb9abd876151dacc4f9fa15fc1f7ba
3,773
measure
Apache License 2.0
app/src/main/java/com/elifox/legocatalog/ui/ViewExtensions.kt
Eli-Fox
198,384,890
false
null
package com.example.kotlinwithjetpack.ui import android.view.View import android.widget.ProgressBar import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment fun Fragment.setTitle(title: String) { (activity as AppCompatActivity).supportActionBar!!.title = title } fun ProgressBar.hide(...
8
Kotlin
191
770
65bb14ed9972cc21604b13b06209e3c22c1adc3a
412
LEGO-Catalog
Apache License 2.0
biz_discover/src/main/java/com/fmt/kotlin/eyepetizer/discover/adapter/NewsTitleProvider.kt
fmtjava
310,798,006
false
null
package com.fmt.kotlin.eyepetizer.discover.adapter import androidx.databinding.DataBindingUtil import com.chad.library.adapter.base.provider.BaseItemProvider import com.chad.library.adapter.base.viewholder.BaseViewHolder import com.fmt.kotlin.eyepetizer.discover.R import com.fmt.kotlin.eyepetizer.discover.databinding....
0
Kotlin
16
98
263023794c27fe81d05ac771329e2c3ce1a992f6
1,063
Jetpack_Kotlin_Eyepetizer
MIT License
First Problem Analysis/it.unibo.first_problem_analysis.mastermind/src/it/unibo/mastermind/Mastermind.kt
lorepersa
452,723,466
false
null
/* Generated by AN DISI Unibo */ package it.unibo.mastermind import it.unibo.kactor.* import alice.tuprolog.* import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.delay import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking class Mastermind ( name: String, scope: CoroutineScope ) : Ac...
0
Kotlin
0
0
3e910df1c53e89b5a66dd78f66ccc9d21480a491
6,428
Automated-Car-Parking
MIT License
net/craftventure/core/feature/minigame/jumpchallenge/JumpChallengePlayer.kt
Craftventure
770,049,457
false
{"Kotlin": 3656616, "Java": 684034}
package net.craftventure.core.feature.minigame.jumpchallenge import net.craftventure.chat.bungee.extension.plus import net.craftventure.chat.bungee.util.CVTextColor import org.bukkit.entity.Player class JumpChallengePlayer( val player: Player ) { var finishTime = -1L private set fun finished() = ...
0
Kotlin
1
21
015687ff6687160835deacda57121480f542531b
740
open-plugin-parts
MIT License
task-3-koala-tracker-USCam336-main/app/src/main/java/com/example/csc202assignment/ShowWebView.kt
AbinashMainali
805,144,724
false
{"Kotlin": 32666}
package com.example.csc202assignment import android.net.http.SslError import android.os.Build import android.os.Bundle import android.webkit.RenderProcessGoneDetail import android.webkit.SslErrorHandler import android.webkit.WebView import android.webkit.WebViewClient import androidx.annotation.RequiresApi import andr...
0
Kotlin
0
0
683c1657b97981ac61e10cda42906da3c874bdbe
1,893
KoalaTracker
MIT License
src/main/kotlin/org/consoletrader/orders/OrderExtendedParams.kt
tomaszbabiuk
116,781,000
false
null
package org.consoletrader.orders import org.consoletrader.common.ParsingParameterException import org.consoletrader.common.ExtendedParams import org.knowm.xchange.currency.CurrencyPair import java.math.BigDecimal open class OrderExtendedParams(taskRaw: String) : ExtendedParams() { enum class AmountUnit { ...
1
Kotlin
2
2
9c356b4d4bef556ff6fa86ef3aeaae76689e5178
2,111
console-trader
MIT License
test-util-android/src/main/java/org/fnives/test/showcase/android/testutil/snackbar/SnackbarVerificationHelper.kt
fknives
356,982,481
false
null
package org.fnives.test.showcase.android.testutil.snackbar import android.annotation.SuppressLint import android.view.View import androidx.annotation.StringRes import androidx.test.espresso.Espresso import androidx.test.espresso.UiController import androidx.test.espresso.ViewAction import androidx.test.espresso.action...
9
Kotlin
2
5
5bf503d90e8a13daf5626afc0cdf8bff523d2b94
1,843
AndroidTest-ShowCase
Apache License 2.0
compiler/testData/diagnostics/tests/inner/enumInInnerClass.fir.kt
JetBrains
3,432,266
false
null
class Outer { inner class Inner { <!NESTED_CLASS_NOT_ALLOWED!>enum class TestNestedEnum<!> } }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
111
kotlin
Apache License 2.0
lib/src/test/kotlin/net/termer/vertx/kotlin/validation/validator/JsonArrayValidatorTest.kt
termermc
349,779,543
false
null
package net.termer.vertx.kotlin.validation.validator import io.vertx.core.json.JsonArray import net.termer.vertx.kotlin.validation.ParamValidator import net.termer.vertx.kotlin.validation.fake.FakeRoutingContext import org.junit.jupiter.api.Test import kotlin.test.assertEquals /** * Tests for JsonArrayValidator * @...
0
Kotlin
0
4
803734bdfcd3b53c86cf7a82cc18a26d9acbb5f6
2,527
vertx-web-validator-kotlin
MIT License
app/src/main/java/com/dede/android_eggs/api/request/GithubRequests.kt
hushenghao
306,645,388
false
{"Kotlin": 670518, "Java": 558225, "Python": 13652, "Ruby": 4719}
package com.dede.android_eggs.api.request import com.dede.android_eggs.api.ApiManager import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import retrofit2.http.GET import retrofit2.h...
1
Kotlin
24
462
21d9a50646fc84ca01cf76e2775d27782b07cb04
1,744
AndroidEasterEggs
Apache License 2.0
core/data/src/main/java/com/niyaj/data/utils/WorkMonitor.kt
skniyajali
644,752,474
false
{"Kotlin": 2028840}
/* * Copyright 2024 <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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
31
Kotlin
0
3
f068f418b7691ab2959e12ff6ec900c4bd92bfb5
966
PoposRoom
Apache License 2.0
feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/presentation/staking/redeem/RedeemViewModel.kt
novasamatech
415,834,480
false
null
package io.novafoundation.nova.feature_staking_impl.presentation.staking.redeem import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.viewModelScope import io.novafoundation.nova.common.R import io.novafoundation.nova.common.address.AddressIconGenerator import io.novafo...
9
null
9
9
66a5c0949aee03a5ebe870a1b0d5fa3ae929516f
5,629
nova-wallet-android
Apache License 2.0
feature/main/src/main/java/com/goms/main/component/RankEmptyText.kt
team-haribo
740,096,241
false
{"Kotlin": 621219}
package com.goms.main.component import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.s...
5
Kotlin
0
9
32b6b960f997e282a05c8409d6e045e6f95822d5
1,348
GOMS-Android-V2
MIT License
examples/src/main/kotlin/org/ooverkommelig/examples/guice/xml/Contacts.kt
squins
74,140,237
false
null
package org.ooverkommelig.examples.guice.xml interface Contacts { fun findByName(name: String): Iterable<Contact> }
0
Kotlin
0
1
9d2921f451e158a7db8ff70f33aea02ee0c240db
121
ooverkommelig
MIT License
app/src/test/java/com/kvl/cyclotrack/CalculateWheelCircumferenceTest.kt
kevinvanleer
311,970,003
false
null
package com.kvl.cyclotrack import com.kvl.cyclotrack.data.DerivedTripState import org.junit.Assert import org.junit.Test class CalculateWheelCircumferenceTest { @Test fun calculateWheelCircumference_emptyList() { Assert.assertEquals(null, calculateWheelCircumference(emptyArray(), 50, 1e-6)) } ...
0
Kotlin
0
7
e62bbb39eec10d2f3c327c024f1462e3a6736987
1,076
cyclotrack
The Unlicense
src/main/java/com/smallhacker/disbrowser/asm/Disassembly.kt
Smallhacker
165,470,088
false
null
package com.smallhacker.disbrowser.asm class Disassembly(lines: List<CodeUnit>) : Iterable<CodeUnit> { override fun iterator() = lineList.iterator() as Iterator<CodeUnit> private val knownAddresses = HashSet<SnesAddress>() private val lineList = ArrayList<CodeUnit>() init { lines.forEach { ...
0
Kotlin
0
1
19424abe2818be9b8973197ab1af786ab2c20856
569
disbrowser
MIT License
src/main/kotlin/g3001_3100/s3093_longest_common_suffix_queries/Solution.kt
javadev
190,711,550
false
{"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994}
package g3001_3100.s3093_longest_common_suffix_queries // #Hard #Array #String #Trie #2024_04_18_Time_860_ms_(89.29%)_Space_171.4_MB_(67.86%) class Solution { fun stringIndices(wc: Array<String>, wq: Array<String>): IntArray { var minLength = wc[0].length var minIndex = 0 val n = wc.size ...
0
Kotlin
20
43
62708bc4d70ca2bfb6942e4bbfb4c64641e598e8
1,891
LeetCode-in-Kotlin
MIT License
app/src/main/java/jp/mihailskuzmins/sugoinihongoapp/resources/enums.kt
MihailsKuzmins
240,947,625
false
null
package jp.mihailskuzmins.sugoinihongoapp.resources enum class QuizQuestionResult { Correct, Wrong } enum class NavMode { Main, SignInSignUp } enum class AuthResult { Success, ServerNotReachable, InvalidEmail, UserNotFound, WrongPassword, EmailNotVerified, EmailAlreadyInUse, EmailAlreadyVerified, Not...
1
null
1
1
57e19b90b4291dc887a92f6d57f9be349373a444
345
sugoi-nihongo-android
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/AnimationRootNode.kt
utopia-rise
289,462,532
false
{"Kotlin": 1482791, "GDScript": 533983, "C++": 491643, "C": 12468, "C#": 10278, "Shell": 7406, "Java": 2153, "CMake": 939, "Python": 75}
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
63
Kotlin
39
571
39dc30230a30d2a6ab4ec3277eb3bc270995ab23
1,887
godot-kotlin-jvm
MIT License
src/main/kotlin/xyz/yhsj/kmusic/site/MusicSite.kt
yhsj0919
138,243,773
false
null
package xyz.yhsj.kmusic.site /** * 音乐站点 */ enum class MusicSite { //网易 NETEASE, //QQ QQ, //虾米 // XIAMI, //百度 BAIDU, //酷狗 KUGOU, //酷我 KUWO, //咪咕 MIGU }
1
null
20
71
86022b241a027f376fd3ce9d01c7e5dc3097e04b
208
KMusic
Apache License 2.0
src/main/kotlin/starter/task/defend/InvaderCoreDestroyerExecutor.kt
temik911
238,478,789
true
{"Kotlin": 469598}
package starter.task.defend import screeps.api.BodyPartConstant import screeps.api.Creep import screeps.api.ERR_NOT_IN_RANGE import screeps.api.FIND_STRUCTURES import screeps.api.Game import screeps.api.Room import screeps.api.RoomPosition import screeps.api.STRUCTURE_INVADER_CORE import screeps.api.get import screeps...
0
Kotlin
0
0
0cd2df83df1eb31b4beab1dfba601fbfd5c1e8c0
2,298
screeps-kotlin-starter
MIT License
katz/src/main/kotlin/katz/typeclasses/Functor.kt
fSergio101
87,412,639
true
{"Kotlin": 93887}
/* * Copyright (C) 2017 The Katz 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 required by applicable law or agree...
0
Kotlin
0
0
14b72fbfdba711b417462c77b46e84a3e3d1a3e9
827
Katz
Apache License 2.0
compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/pager/PagerAccessibilityTest.kt
androidx
256,589,781
false
null
/* * 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...
30
null
950
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
8,173
androidx
Apache License 2.0
hermes/src/main/java/com/lodz/android/hermes/ws/client/OnWebSocketListener.kt
LZ9
134,645,168
false
{"Kotlin": 179356}
package com.lodz.android.hermes.ws.client import org.java_websocket.handshake.ServerHandshake /** * WebSocket监听器 * @author zhouL * @date 2019/12/21 */ interface OnWebSocketListener { fun onOpen(handshakedata: ServerHandshake?) fun onMessage(message: String) fun onClose(code: Int, reason: String, re...
5
Kotlin
9
30
ac4ea1ef0ac3382f7efcd7cfe9eda1dfe9f464af
367
Hermes
Apache License 2.0
src/main/kotlin/dev/d1s/dsn/di/Module.kt
d1snin
551,556,739
false
null
/* * Copyright 2022-2023 <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 ...
0
Kotlin
0
2
a62e24f958fffef4ad64a8f3e12f810f7957901c
3,910
dsn
Apache License 2.0
compiler/testData/codegen/box/reflection/mapping/syntheticFields.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE // WITH_REFLECT import kotlin.reflect.jvm.kotlinProperty enum class A { // There's a synthetic field "$VALUES" here } fun box(): String { for (field in A::class.java.getDeclaredFie...
12
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
457
kotlin
Apache License 2.0
compiler/testData/diagnostics/tests/controlStructures/lambdasInExclExclAndElvis.kt
erokhins
10,382,997
true
{"Markdown": 33, "XML": 666, "Ant Build System": 45, "Ignore List": 7, "Git Attributes": 1, "Kotlin": 21040, "Java": 4546, "Protocol Buffer": 7, "Text": 4675, "JavaScript": 63, "JAR Manifest": 3, "Roff": 46, "Roff Manpage": 11, "INI": 17, "HTML": 154, "Groovy": 23, "Java Properties": 14, "Maven POM": 49, "Gradle": 74, ...
// !DIAGNOSTICS: -UNUSED_EXPRESSION fun use(a: Any?) = a fun test() { { }<!NOT_NULL_ASSERTION_ON_FUNCTION_LITERAL!>!!<!> use({ }<!NOT_NULL_ASSERTION_ON_FUNCTION_LITERAL!>!!<!>); // KT-KT-9070 <!TYPE_MISMATCH!>{ }<!> <!USELESS_ELVIS!><!USELESS_ELVIS_ON_FUNCTION_LITERAL!>?:<!> 1<!> use({ 2 } <!USEL...
0
Java
0
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
479
kotlin
Apache License 2.0
src/main/kotlin/dev/jarand/oauthserver/key/config/KeyConfig.kt
JarandDev
570,880,169
false
null
package dev.jarand.oauthserver.key.config import io.jsonwebtoken.SignatureAlgorithm import io.jsonwebtoken.security.Keys import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import java.security.KeyPair import java.security.PrivateKey import java.security.Publi...
0
Kotlin
0
0
f6f8a748e84bf5d5974f200853e174be22aa6662
659
oauth-server
The Unlicense
plugins/kotlin/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinMultiModuleProjectDescriptor.kt
tnorbye
176,209,431
true
{"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN...
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.test import com.intellij.openapi.module.Module import com.intellij.openapi.project.Project import com.intellij.openapi.roots....
191
Kotlin
4372
2
b6be6a4919cd7f37426d1e8780509a22fa49e1b1
1,314
kotlin
Apache License 2.0
app/src/main/java/com/cuhacking/app/ui/PageFragment.kt
cuhacking
191,853,083
false
null
package com.cuhacking.app.ui import android.os.Bundle import android.view.MenuItem import android.view.View import androidx.annotation.LayoutRes import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.Observer import androidx.navigation.fragment.findNavController...
3
Kotlin
1
1
ceca73d7eddf8c4082992ab30603817058ecfd49
1,897
cuHacking-android
Apache License 2.0
src/test/kotlin/com/epam/brn/controller/AudioControllerTest.kt
Brain-up
216,092,521
false
null
package com.epam.brn.controller import com.epam.brn.service.TextToSpeechService import io.mockk.every import io.mockk.impl.annotations.InjectMockKs import io.mockk.impl.annotations.MockK import io.mockk.junit5.MockKExtension import io.mockk.verify import org.apache.http.HttpStatus import org.junit.jupiter.api.Test imp...
37
Kotlin
19
39
9a39eae63b0b4d5b9e95346d09084175e3c58bd0
1,318
brn
Creative Commons Zero v1.0 Universal
app/src/main/java/com/itisakdesigns/foodbit/activity/SplashActivity.kt
kayush96
351,056,238
false
{"Kotlin": 112768}
package com.itisakdesigns.foodbit.activity import android.content.Intent import android.os.Bundle import android.os.Handler import androidx.appcompat.app.AppCompatActivity import com.itisakdesigns.foodbit.R class SplashActivity: AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { su...
0
Kotlin
0
0
da08fac9731b1605733f77b612272af3365c6579
595
foodBit
MIT License
paparazzi-gradle-plugin/src/test/projects/device-resolution/src/test/java/app/cash/paparazzi/plugin/test/DeviceResolutionTest.kt
cashapp
176,338,719
false
null
package app.cash.paparazzi.plugin.test import app.cash.paparazzi.DeviceConfig import app.cash.paparazzi.Paparazzi import com.google.testing.junit.testparameterinjector.TestParameter import com.google.testing.junit.testparameterinjector.TestParameterInjector import org.junit.Rule import org.junit.Test import org.junit....
113
null
214
2,290
a47d3a28700ad0994c45975a5cd0e86e834a9a81
695
paparazzi
Apache License 2.0
buildSrc/src/main/kotlin/Versions.kt
Him188
275,324,436
false
null
@file:Suppress("MemberVisibilityCanBePrivate") object Versions { const val intellij = "2021.3" const val project = "2.0.0-162.1" const val idePlugin = "213-$project" const val kotlin = "1.6.20-M1" const val coroutines = "1.5.2" const val publicationGroup = "me.him188" }
0
Kotlin
7
45
94ab6d90ba81424de1b05b5afd844ac1f83c447e
298
kotlin-jvm-blocking-bridge
Apache License 2.0
app/src/main/java/com/xfhy/allinone/ipc/IpcMainActivity.kt
xfhy
258,978,567
false
null
package com.xfhy.allinone.ipc import android.os.Bundle import com.xfhy.allinone.R import com.xfhy.allinone.ipc.aidl.AidlActivity import com.xfhy.allinone.ipc.ashmem.AshmemActivity import com.xfhy.allinone.ipc.binder.BinderActivity import com.xfhy.allinone.ipc.messenger.MessengerActivity import com.xfhy.library.basekit...
1
Kotlin
4
6
254ab29df8b2bd7f0b54204d67227c1e9447f203
1,075
AllInOne
Apache License 2.0
sense/src/main/java/com/highcapable/sense/SenseWrapper.kt
fankes
378,503,744
false
null
/* * Copyright (c) 2021. HighCapable * * 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...
0
Kotlin
0
5
a4a27150168451a83255fa0c67d12d403585ae08
3,527
Sense
Apache License 2.0
samples/elements/other/retained-instance-store/src/main/java/com/badoo/ribs/samples/retained_instance_store/rib/retained_instance_example/RetainedInstanceExampleView.kt
badoo
170,855,556
false
null
package com.badoo.ribs.samples.retained_instance_store.rib.retained_instance_example import android.view.ViewGroup import android.widget.Button import android.widget.FrameLayout import androidx.annotation.LayoutRes import androidx.annotation.StringRes import com.badoo.ribs.core.Node import com.badoo.ribs.core.customis...
34
null
50
162
cec2ca936ed17ddd7720b4b7f8fca4ce12033a89
2,458
RIBs
Apache License 2.0
voice-search/voice-search-impl/src/test/java/com/duckduckgo/voice/impl/language/RealLanguageSupportCheckerTest.kt
duckduckgo
78,869,127
false
{"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784}
import android.content.Context import android.speech.RecognitionSupport import android.speech.RecognitionSupportCallback import android.speech.SpeechRecognizer import com.duckduckgo.common.test.CoroutineTestRule import com.duckduckgo.voice.impl.VoiceSearchAvailabilityConfig import com.duckduckgo.voice.impl.VoiceSearchA...
67
Kotlin
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
3,953
Android
Apache License 2.0
src/jsMain/kotlin/de.jensklingenberg.mealapp/mainpage/Filter.kt
Foso
503,510,384
false
null
package de.jensklingenberg.mealapp.mainpage import androidx.compose.runtime.* import de.jensklingenberg.mealapp.common.IconButton import dev.petuska.kmdc.checkbox.MDCCheckbox import dev.petuska.kmdc.menu.surface.MDCMenuSurface import dev.petuska.kmdc.menu.surface.MDCMenuSurfaceAnchor import dev.petuska.kmdcx.icons.MDC...
0
Kotlin
0
3
f6ff07909899e55b53175c9b0a2d4f256476f472
1,828
KmdcExample
Apache License 2.0
domain/src/commonMain/kotlin/kosh/domain/models/wc/WcVerifyContext.kt
niallkh
855,100,709
false
{"Kotlin": 1813876, "Swift": 594}
package kosh.domain.models.wc enum class WcVerifyContext { Match, Unverified, Mismatch, Threat, }
0
Kotlin
0
3
f48555a563dfee5b07184771a6c94c065765d570
115
kosh
MIT License
paris/src/androidTest/java/com/airbnb/paris/styles/ResourceStyleTest.kt
katzvelraj
130,642,753
false
null
package com.airbnb.paris.styles import android.support.test.runner.AndroidJUnit4 import com.airbnb.paris.test.R import org.junit.Assert.assertEquals import org.junit.Assert.assertNotEquals import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class ResourceStyleTest { @Test fun...
0
null
0
1
09b59f15bbef34951dbb4ada1472e76aa0c1619e
499
paris
Apache License 2.0
zircon.core/src/main/kotlin/org/codetome/zircon/internal/component/impl/wrapping/BoxWrappingStrategy.kt
opencollective
119,803,967
true
{"Kotlin": 697338, "Java": 71250}
package org.codetome.zircon.internal.component.impl.wrapping import org.codetome.zircon.api.Position import org.codetome.zircon.api.Size import org.codetome.zircon.api.builder.BoxBuilder import org.codetome.zircon.api.graphics.StyleSet import org.codetome.zircon.api.graphics.TextImage import org.codetome.zircon.intern...
0
Kotlin
1
1
3c1cd8aa4b6ddcbc39b9873c54ac64e3ec6cda4d
1,610
zircon
MIT License
work/work-testing/src/main/java/androidx/work/testing/TestClock.kt
androidx
256,589,781
false
null
/* * Copyright 2023 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
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
978
androidx
Apache License 2.0
detekt-generator/src/main/kotlin/io/gitlab/arturbosch/detekt/generator/printer/DeprecatedPrinter.kt
dimsuz
145,446,517
true
{"Kotlin": 3289498, "JavaScript": 24351, "HTML": 21009, "CSS": 2725, "Java": 425, "Shell": 234}
package io.gitlab.arturbosch.detekt.generator.printer import io.gitlab.arturbosch.detekt.generator.collection.Configuration import io.gitlab.arturbosch.detekt.generator.collection.Rule import io.gitlab.arturbosch.detekt.generator.collection.RuleSetPage object DeprecatedPrinter : DocumentationPrinter<List<RuleSetPage>...
1
Kotlin
0
0
37ce2642eb5c1c2dcfef7a3fac4f2f9bf5e54e54
1,804
detekt
Apache License 2.0
kotpass/src/main/kotlin/app/keemobile/kotpass/extensions/Long.kt
keemobile
384,214,968
false
null
package app.keemobile.kotpass.extensions internal fun Long.toByteArray(): ByteArray { return byteArrayOf( this.toByte(), (this shr 8).toByte(), (this shr 16).toByte(), (this shr 24).toByte(), (this shr 32).toByte(), (this shr 40).toByte(), (this shr 48).toByt...
3
Kotlin
1
9
0e123c087c6ec516492f33c0140497debfb3ba15
840
kotpass
MIT License
Coroutines-Jetpack/app/src/main/java/com/example/coroutinesplayground/main/di/MainModule.kt
kliment-jonceski
792,254,859
false
{"Kotlin": 73839}
package com.example.coroutinesplayground.main.di import com.example.coroutinesplayground.main.domain.data.BalanceRepository import com.example.coroutinesplayground.main.domain.data.FakeBalanceRepository import com.example.coroutinesplayground.main.domain.data.FakeTransactionsRepository import com.example.coroutinespla...
0
Kotlin
0
0
c253b215d3c6c07a3681592d28439b814327af22
951
android-jetpack-coroutines-app
MIT License
simple-github/src/main/kotlin/com/androidhuman/example/simplegithub/data/local/SearchHistoryDao.kt
justwrite99
183,378,011
false
null
package com.androidhuman.example.simplegithub.data import android.arch.persistence.room.Dao import android.arch.persistence.room.Insert import android.arch.persistence.room.OnConflictStrategy import android.arch.persistence.room.Query import com.androidhuman.example.simplegithub.api.model.GithubRepo import io.reactive...
0
Kotlin
1
0
d8c790aaa0dc19e3cf11e3523ffa91c765dab0ac
602
simple-github
Apache License 2.0
algostorm-core/src/main/kotlin/com/andreihh/algostorm/core/drivers/Driver.kt
andreihh
57,889,367
false
null
/* * Copyright 2017 <NAME> <<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...
0
Kotlin
0
1
a3193d5b38e6b1973c7e4d0fa3d81a4d38a42038
955
algostorm
Apache License 2.0
vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceDetailsFragment.kt
tchapgouv
340,329,238
false
null
/* * Copyright (c) 2021 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
52
null
6
9
f088d7c2be9d4546057e90215c5171c04d227267
3,402
tchap-android
Apache License 2.0
matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/room/tombstone/RoomTombstoneEventProcessor.kt
aalzehla
287,565,471
false
null
/* * Copyright (c) 2020 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1
null
1
1
ee1d5faf0d59f9cc1c058d45fae3e811d97740fd
2,267
element-android
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/ui/compose/components/Header.kt
horizontalsystems
142,825,178
false
null
package io.horizontalsystems.bankwallet.ui.compose.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.material.Divider import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import and...
136
Kotlin
219
402
5ce20e6e4e0f75a76496051ba6f78312bc641a51
1,329
unstoppable-wallet-android
MIT License
module-defender/src/main/java/com/hardlove/cl/fooddefender/mvp/model/api/service/DefenderService.kt
hardlove
154,798,245
true
{"Java": 620249, "Kotlin": 86570}
package com.hardlove.cl.fooddefender.mvp.model.api.service import com.hardlove.cl.fooddefender.mvp.model.api.Api.DEFENDER_DOMAIN_NAME import com.hardlove.cl.fooddefender.mvp.model.entity.BaseResult import com.hardlove.cl.fooddefender.mvp.model.entity.LoginObj import io.reactivex.Observable import me.jessyan.retrofitur...
0
Java
0
0
732e8edf7e0046ae076cd5bd6a65630ddff8dc34
735
ArmsComponent
Apache License 2.0
app/src/main/java/com/lb/myapplication/kotlinbenchmarks/idiom/nbody/nbodyktidiom.kt
AndroidDeveloperLB
202,691,836
false
null
package kotlinbenchmarks.idiom.nbody import kotlin.math.sqrt fun main(args: Array<String>) { nbodyktidiom.execute(args) } object nbodyktidiom { fun execute(args: Array<String>) { val n = args[0].toInt() val bodies = NBodySystem() System.out.printf("%.9f\n", bodies.energy()) f...
1
null
1
1
510c7a12b8a096046a58d4a5fa3da5ac52d02b6a
5,400
javakotlinbenchmarks
Apache License 2.0
video_player_library/src/main/java/com/ls/video_player_library/VideoThread.kt
Kyoto36
281,307,648
false
null
package com.ls.video_player_library import android.media.MediaPlayer import com.ls.comm_util_library.ThreadUtils /** * @ClassName: VideoThread * @Description: * @Author: ls * @Date: 2019/9/4 11:57 */ class VideoThread(mediaPlayer: MediaPlayer,listener: ((Int) -> Unit)): Thread() { private var mMediaPlayer = ...
1
null
1
1
eab64603b4365fd62e394e0ffe94553be9b2e495
1,150
AndroidUtil
Apache License 2.0
j2k/old/tests/testData/fileOrElement/postProcessing/java8MapForEachWithFullJdk.kt
JetBrains
278,369,660
false
null
import java.util.HashMap internal class Test { fun test(map: HashMap<String, String>) { map.forEach { (key: String, value: String) -> foo(key, value) } } fun foo(key: String, value: String) {} }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
216
intellij-kotlin
Apache License 2.0
src/main/kotlin/com/github/rafaelldi/tyeplugin/file/TyeFileType.kt
rafaelldi
342,595,811
false
null
package com.github.rafaelldi.tyeplugin.file import com.intellij.openapi.fileTypes.LanguageFileType import icons.TyeIcons import org.jetbrains.yaml.YAMLLanguage class TyeFileType : LanguageFileType(YAMLLanguage.INSTANCE) { override fun getName() = "Tye" override fun getDescription() = "Tye configuration file"...
0
Kotlin
1
8
5824f812f483745b40c1a2ce24297b96b16d2d71
420
tye-plugin
MIT License
kotlin-native/backend.native/tests/interop/objc/kt61441.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class) import kotlinx.cinterop.* import platform.Foundati...
182
null
5617
47,637
d257153a50bdaa761d54bbc9fd1c5d78a3769f0f
747
kotlin
Apache License 2.0
uast/uast-tests/test/org/jetbrains/uast/test/java/DetachedJavaUastTest.kt
androidports
115,100,208
false
null
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.uast.test.java import com.intellij.psi.PsiDeclarationStatement import com.intellij.psi.PsiElement import com.intellij.psi.PsiElementFactory import com.intel...
6
null
1
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
2,487
intellij-community
Apache License 2.0
sample-library/src/main/java/com/xfinity/blueprint_sample_library/mvp/model/DynamicScreenModel.kt
Comcast
103,149,221
false
null
/* * Copyright 2017 Comcast Cable Communications Management, 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 ...
14
null
15
21
47835a4e0138d4dd267677b0b264c9778884e7c9
1,061
blueprint
Apache License 2.0
designer/customview/src/com/android/tools/idea/customview/preview/CustomViewPreviewNotificationProvider.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2019 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...
2
null
230
876
9c0a89784cca3c01ab99cf251b71a26cdb87cc47
4,736
android
Apache License 2.0
app/src/main/java/com/littlecorgi/courseji/AppApp.kt
xuan567
308,829,260
false
null
package com.littlecorgi.courseji import cn.jpush.android.api.JPushInterface import com.baidu.mapapi.CoordType import com.baidu.mapapi.SDKInitializer import com.littlecorgi.commonlib.App import com.littlecorgi.courseji.utils.TTAdManagerHolder /** * 自定义的Application。继承自commonlib库中的App。 * 本质上主要的Application中初始化内容是在commo...
0
null
1
1
3c64f110ce024afd73211d5f72a211851e4b68fb
953
Courseji
MIT License
video/src/main/java/com/txt/video/ui/video/VideoTransitData.kt
JustinWjq
365,171,061
false
null
package com.txt.video.ui.video import com.txt.video.ui.TXManagerImpl import java.lang.NullPointerException /** * author :Justin * time :2022/2/14. * des : */ public class VideoTransitData { companion object { @Volatile private var singleton: VideoTransitData? = null @JvmStatic ...
1
null
1
1
c0ab24281285a7e57515554957509dac78b74684
1,121
insurance-video
Apache License 2.0
idea-plugin/src/main/java/org/jetbrains/bunches/idea/util/userDataUtil.kt
drazumova
193,663,377
true
{"Kotlin": 88205, "Java": 1330}
package org.jetbrains.bunches.idea.util import com.intellij.openapi.util.Key import com.intellij.openapi.util.UserDataHolder import kotlin.reflect.KProperty class NotNullableUserDataProperty<in R : UserDataHolder, T : Any>( private val key: Key<T>, private val defaultValue: T ) { operator fun getValue(thi...
0
Kotlin
0
0
f1feb5cbecd8b75bb3723d380e7fc6f2a45e5109
547
bunches
Apache License 2.0
app/src/main/java/com/pusatruq/muttabaah/util/TimeUtil.kt
halimbimantara
216,685,956
false
null
package com.pusatruq.muttabaah.util import android.text.format.DateUtils /** * Created by cuongpm on 1/2/19. */ fun getRelativeTime(time: Long): String { return DateUtils.getRelativeTimeSpanString( time * 1000, System.currentTimeMillis(), DateUtils.DAY_IN_MILLIS, DateUtils.FORMA...
1
Kotlin
1
1
c1b0f7e4e9a6d8bad50392e948e06b496ab7476d
351
rehab-hati-mtb
MIT License
customAdapterRecycleView/src/main/java/io/github/farshidroohi/AdapterRecyclerView.kt
FarshidRoohi
163,824,606
false
null
package io.github.farshidroohi import android.annotation.SuppressLint import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.annotation.IdRes import androidx.annotation.LayoutRes import androidx.recyclerview.widget.GridLayoutManager impo...
5
null
9
28
da4e62551ba6044f9f08b5785a988ef35aad3508
7,522
CustomAdapterRecyclerview
Apache License 2.0
analytics/src/main/java/io/appmetrica/analytics/impl/modules/client/ClientContextFacade.kt
appmetrica
650,662,094
false
{"Java": 5896025, "C++": 5729793, "Kotlin": 2265326, "Python": 229161, "Objective-C++": 152166, "C": 127185, "Assembly": 59003, "Emacs Lisp": 14657, "Objective-C": 10302, "Starlark": 7767, "Shell": 5746, "Go": 4930, "CMake": 3562, "CSS": 1454, "AppleScript": 1429, "AIDL": 504}
package io.appmetrica.analytics.impl.modules.client import io.appmetrica.analytics.modulesapi.internal.client.ClientContext class ClientContextFacade : ClientContext
1
Java
4
50
e7ad5d841ed2450868883757148f6efa856578ec
168
appmetrica-sdk-android
MIT License
app/src/main/java/com/yz/books/ui/massive/readbook/ReadBookViewModel.kt
zhangkari
303,389,564
false
null
package com.yz.books.ui.massive.readbook import com.yz.books.base.viewmodel.BaseViewModel /** * @author lilin * @time on 2020-01-12 16:05 */ class ReadBookViewModel : BaseViewModel() { //region var/val //endregion //region implement methods //endregion //region public methods //endregion //region private met...
0
null
2
1
90784936a9ec75e702120941fbfac6f1b40b93d5
339
yzlauncher
Apache License 2.0
app/src/main/java/arcus/app/pairing/device/steps/wifismartswitch/connect/NoDevicesFoundPopup.kt
arcus-smart-home
168,191,380
false
null
/* * Copyright 2019 Arcus 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 or a...
6
Java
27
27
845b23b6ee913c58e009914e920242e29d0b137a
1,428
arcusandroid
Apache License 2.0
app/src/main/java/arcus/app/pairing/device/steps/wifismartswitch/connect/NoDevicesFoundPopup.kt
arcus-smart-home
168,191,380
false
null
/* * Copyright 2019 Arcus 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 or a...
6
Java
27
27
845b23b6ee913c58e009914e920242e29d0b137a
1,428
arcusandroid
Apache License 2.0
project-system-gradle/testSrc/com/android/tools/idea/projectsystem/gradle/ProjectBuildModelHandlerTest.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
227
948
10110983c7e784122d94c7467e9d243aba943bf4
3,387
android
Apache License 2.0
Kotlin/Unit_9/src/When.kt
jstevenperry
145,141,647
false
{"Text": 27, "Ignore List": 5, "Markdown": 2, "JSON": 15, "JavaScript": 150, "JSON with Comments": 1, "Ruby": 1, "YAML": 1, "CSS": 3, "Pug": 21, "HTML": 1, "XML": 8, "SQL": 25, "Kotlin": 88, "Java": 100, "INI": 4, "Shell": 9, "Maven POM": 1, "Java Properties": 1, "PLpgSQL": 2}
/* * Copyright 2018 Makoto Consulting Group, 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...
5
JavaScript
322
259
3ba05f4bb4c1210759b350717c3cad9b61f7c41a
3,290
IBM-Developer
Apache License 2.0