path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/example/nordicnews/data/NordicNewsDatabase.kt
avanisoam
803,286,041
false
{"Kotlin": 160121}
package com.example.nordicnews.data import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.TypeConverters import com.example.nordicnews.data.models.Article /** * Database class with a singleton Instance object. */ @Database(entit...
0
Kotlin
0
0
07b072261bf7b172745e189fedcf2d017bbb9c51
1,107
NordicNews
MIT License
domain/src/main/java/tachiyomi/domain/history/manga/interactor/RemoveMangaHistory.kt
aniyomiorg
358,887,741
false
{"Kotlin": 4957619}
package eu.kanade.domain.history.manga.interactor import eu.kanade.domain.history.manga.model.MangaHistoryWithRelations import eu.kanade.domain.history.manga.repository.MangaHistoryRepository class RemoveMangaHistory( private val repository: MangaHistoryRepository, ) { suspend fun awaitAll(): Boolean { ...
180
Kotlin
315
4,992
823099f775ef608b7c11f096da1f50762dab82df
585
aniyomi
Apache License 2.0
idea/testData/editor/quickDoc/OnMethodUsageWithSee.kt
staltz
51,743,245
false
null
/** * @see C * @see D */ fun testMethod() { } class C { } class D { } fun test() { <caret>testMethod(1, "value") } //INFO: <b>internal</b> <b>fun</b> testMethod(): Unit <i>defined in</i> root package<br/> //INFO: <DD><DL><DT><b>See Also:</b><DD><a href="psi_element://C"><code>C</code></a>, <a href="psi_elem...
0
null
0
1
f713adc96e9adeacb1373fc170a5ece1bf2fc1a2
363
kotlin
Apache License 2.0
src/main/kotlin/codes/jakob/tstse/example/common/Query.kt
The-Self-Taught-Software-Engineer
392,776,173
false
null
package codes.jakob.tstse.example.common import kotlin.reflect.KProperty1 abstract class Query<T>(protected val value: T) { abstract fun isEqualTo(value: T): Query<T> abstract fun <T> contains(element: T): Query<T> companion object { @JvmName("where") fun <T, V> where(property: KProperty...
0
Kotlin
2
3
2c90b9420c7e8188b3eee84838579bb6930efb68
563
Examples
MIT License
mpdomain/src/main/java/com/jpp/mpdomain/repository/PersonRepository.kt
perettijuan
156,444,935
false
null
package com.jpp.mpdomain.repository import com.jpp.mpdomain.Person import com.jpp.mpdomain.SupportedLanguage /** * Repository definition to retrieve a [Person] whenever is possible. */ interface PersonRepository { /** * Retrieves the person that is identified by [personId]. */ suspend fun getPerso...
9
Kotlin
7
46
7921806027d5a9b805782ed8c1cad447444f476b
467
moviespreview
Apache License 2.0
app/src/main/java/com/vcl/wallet/MainActivity.kt
velocitycareerlabs
525,006,413
false
null
/** * Copyright 2022 Velocity Career Labs inc. * SPDX-License-Identifier: Apache-2.0 */ package com.vcl.wallet import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import androidx.core.view.isVisible import com.vcl.wallet.databinding.ActivityMainBinding import io.velocity...
6
null
0
2
160e938b2a3a676800e65aabec95c7badffbb4a6
13,403
WalletAndroid
Apache License 2.0
core/src/test/kotlin/net/corda/core/serialization/CommandsSerializationTests.kt
desertfund
166,518,885
true
{"Kotlin": 8029221, "Java": 319210, "Python": 36499, "CSS": 23489, "Shell": 19343, "Gherkin": 3162, "Groovy": 2129, "Dockerfile": 1905, "Batchfile": 1777, "PowerShell": 660, "Makefile": 569}
package net.corda.core.serialization import net.corda.finance.contracts.CommercialPaper import net.corda.finance.contracts.asset.Cash import net.corda.testing.SerializationEnvironmentRule import org.junit.Rule import org.junit.Test import kotlin.test.assertEquals class CommandsSerializationTests { @Rule @JvmF...
0
Kotlin
0
1
c36bea3af521be69f7702d7b7abbbfac0258de1f
623
corda
Apache License 2.0
src/test/kotlin/edu/umontreal/kotlingrad/calculus/TestGradient.kt
shafiahmed
287,769,250
true
{"Kotlin": 242199}
package edu.umontreal.kotlingrad.calculus import edu.umontreal.kotlingrad.numerical.DoublePrecision import edu.umontreal.kotlingrad.shouldBeAbout import io.kotlintest.properties.assertAll import io.kotlintest.specs.StringSpec @Suppress("NonAsciiCharacters", "LocalVariableName") class TestGradient: StringSpec({ with...
1
null
0
0
bf66daf62431182761e5b0097d88bd6102319413
792
kotlingrad
Apache License 2.0
app/src/main/java/developersancho/mvvm/ui/databindingtest/DViewModel.kt
developersancho
204,070,386
false
null
package developersancho.mvvm.ui.databindingtest import com.developersancho.manager.IDataManager import developersancho.mvvm.base.BaseViewModel import developersancho.mvvm.base.IBasePresenter class DViewModel(dataManager: IDataManager) : BaseViewModel<IBasePresenter>(dataManager)
0
Kotlin
9
43
88f182e5a6dc266957c59ff20338b53a974d9fac
281
CleanArchitectureMVVM
Apache License 2.0
web/src/main/kotlin/top/bettercode/summer/web/support/gb2260/GB2260Controller.kt
top-bettercode
387,652,015
false
null
package top.bettercode.summer.web.support.gb2260 import com.fasterxml.jackson.annotation.JsonView import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.RequestMapping import org.spring...
0
null
0
2
3e4c089f6a05cf0dcd658e1e792f0f3edcbff649
2,279
summer
Apache License 2.0
SecureCamera/src/main/java/io/github/toyota32k/secureCamera/CameraActivity.kt
toyota-m2k
594,937,009
false
null
package io.github.toyota32k.secureCamera import android.Manifest import android.annotation.SuppressLint import android.content.Context import android.content.pm.ActivityInfo import android.content.res.Configuration import android.graphics.Bitmap import android.os.Bundle import android.view.KeyEvent import android.view...
4
Kotlin
0
0
ef438ddc4f0736c37a32f7861648b19d95054af9
15,645
android-camera
Apache License 2.0
navigation/runtime/src/androidTest/java/androidx/navigation/ActivityNavigatorTest.kt
adamfit
148,326,589
false
{"Java": 30446439, "Kotlin": 2649136, "Python": 43821, "ANTLR": 20090, "Shell": 18933, "HTML": 514, "IDL": 308}
/* * Copyright 2018 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...
1
Java
1
2
9e6a7849696fce73bb81005a81b78410bfebc6d6
10,314
platform_frameworks_support
Apache License 2.0
app/src/main/java/com/example/caniwatchitapplication/data/api/WatchmodeApi.kt
bitasuperactive
798,400,133
false
{"Kotlin": 82135}
package com.example.caniwatchitapplication.data.api import com.example.caniwatchitapplication.data.model.QuotaResponse import com.example.caniwatchitapplication.data.model.StreamingSourcesResponse import com.example.caniwatchitapplication.data.model.TitleDetailsResponse import com.example.caniwatchitapplication.data.m...
0
Kotlin
0
0
eaa30bf6639663d9a5c5d055783b5dbbe72e1622
2,841
CanIWatchIt
MIT License
presentation/src/main/kotlin/team/dahaeng/android/activity/tasking/TaskingViewModel.kt
dahaeng
443,726,900
false
{"Kotlin": 109864}
/* * Dahaeng © 2022 Ji Sungbin, 210202. all rights reserved. * Dahaeng license is under the MIT. * * [TaskingViewModel.kt] created by 210202 * * Please see: https://github.com/dahaeng/dahaeng-android/blob/main/LICENSE. */ package team.dahaeng.android.activity.tasking import dagger.hilt.android.lifecycle.HiltVi...
3
Kotlin
0
14
8c61b8b5ae5f82dfde97f60795fc65b9abb1aceb
490
dahaeng-android
MIT License
app/src/main/kotlin/com/absinthe/libchecker/BaseActivity.kt
acidsweet
380,161,938
true
{"Kotlin": 585068, "Java": 115999, "Roff": 42612, "AIDL": 637, "HTML": 125}
package com.absinthe.libchecker import android.os.Bundle import android.view.ViewGroup import com.absinthe.libchecker.extensions.paddingTopCompat import com.absinthe.libchecker.extensions.setSystemPadding import com.absinthe.libchecker.ui.app.AppActivity import com.absinthe.libraries.utils.manager.SystemBarManager imp...
1
null
0
1
4218fcbcd55de2255ebc8c37d859b53417da3ddc
1,190
LibChecker
Apache License 2.0
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Ticketexpired.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.broken import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx....
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,480
VuesaxIcons
MIT License
src/main/kotlin/rtw/server/command/CommandRtw.kt
r4v3n6101
169,856,173
false
null
package rtw.server.command import net.minecraft.command.CommandBase import net.minecraft.command.ICommandSender import rtw.common.ModMain import rtw.common.util.MOON_PHASES_NAMES import rtw.common.util.getDaysSinceNewMoon import rtw.common.util.getMoonPhaseNumber import rtw.common.util.getSolarHourAngle import java.ti...
0
Kotlin
0
1
d45cc666a455235e92d5b163bccee8c46222939e
1,285
rtw
Do What The F*ck You Want To Public License
src/docs/guide/howto/deploy_webjars/example.kt
http4k
86,003,479
false
null
package guide.howto.deploy_webjars import org.http4k.core.Method.GET import org.http4k.core.Request import org.http4k.core.Response import org.http4k.core.Status.Companion.OK import org.http4k.routing.bind import org.http4k.routing.routes import org.http4k.routing.webJars import org.http4k.server.SunHttp import org.ht...
34
null
248
2,610
4e8d2f278a7c146bcf24380fb596590b430a66ad
645
http4k
Apache License 2.0
app/src/test/java/com/igorwojda/list/capitalizeFirst/CapitalizeFirst.kt
tmdroid
289,856,448
true
{"Kotlin": 199701}
package com.igorwojda.list.capitalizeFirst import org.amshove.kluent.shouldEqual import org.junit.Test private fun capitalizeFirst(list: List<String>): List<String> { if (list.isEmpty()) return emptyList() val list = list.toMutableList() val first = list.removeFirst().capitalize() return listOf(first...
0
Kotlin
0
0
66c932f020914c21d75d3ad5cffce6f7f63ee6ed
995
kotlin-coding-puzzle
MIT License
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/team/skill/ProudSkillExtraLevelNotify.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.team.skill import org.anime_game_servers.core.base.Version.GI_CB2 import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.annotations.proto.CommandType.* import org.anime_game_servers.core.base.annotations.proto.ProtoCommand...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
509
anime-game-multi-proto
MIT License
app/src/main/java/com/memad/moviesmix/ui/main/viewer/worker/DownloadCompletedReceiver.kt
Mohamed-Emad126
438,245,160
false
{"Kotlin": 191086, "Makefile": 158}
package com.memad.moviesmix.ui.main.viewer.worker import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.widget.Toast import dagger.hilt.android.AndroidEntryPoint @AndroidEntryPoint class DownloadCompletedReceiver : BroadcastReceiver() { override fun ...
0
Kotlin
8
45
a0d5aea7c91db0eef3a847918998a84e79a335ba
545
MoviesMix
MIT License
src/main/kotlin/com/bridgecrew/ui/CheckovSettingsPanel.kt
bridgecrewio
644,310,885
false
{"Kotlin": 300288, "Java": 2400}
package com.bridgecrew.ui import com.bridgecrew.settings.PrismaSettingsConfigurable import com.bridgecrew.utils.createGridRowCol import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.options.ShowSettingsUtil import com.intellij.openapi.project.Project import com.intellij.uiDesigner.cor...
11
Kotlin
0
1
ea65b22fceb2d9bb387a815141ea8e7b4c2830c9
1,322
prisma-cloud-jetbrains-ide
Apache License 2.0
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/PlaneDeparture.kt
DevSrSouza
311,134,756
false
null
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion....
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,156
compose-icons
MIT License
Object-Oriented Programming/Nested Classes/Exercise 3/src/Task.kt
marchdz
633,862,396
false
null
// NestedClasses/NestedEx3.kt package nestedClassesExercise3 import atomictest.* abstract class Cleanable(val id: String) { open val parts: List<Cleanable> = listOf() fun clean(): String { val text = "$id clean" if (parts.isEmpty()) return text return "${parts.joinToString( " ", "(", ")", t...
0
Kotlin
0
0
0246a342b54600ceb6ac38ecb4498d16a7e86e8e
783
atomic-kotlin-exercises
MIT License
app/src/main/java/com/example/httpsender/vm/MultiTaskFlowDownloader.kt
liujingxing
167,158,553
false
null
package com.example.httpsender.vm import android.annotation.SuppressLint import androidx.lifecycle.MutableLiveData import com.example.httpsender.Tip import com.example.httpsender.entity.DownloadTask import com.example.httpsender.utils.Preferences import okhttp3.internal.http2.StreamResetException import okio.ByteStrin...
9
null
459
3,748
47e075dbf05e1a89e3f2a722bb61ba633d523ac3
5,743
rxhttp
Apache License 2.0
push-message-provider-hpk/src/test/kotlin/ru/touchin/push/message/provider/hpk/services/HmsHpkClientServiceTest.kt
TouchInstinct
256,563,788
false
null
package ru.touchin.push.message.provider.hpk.services import com.nhaarman.mockitokotlin2.any import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import org.mockito.Mockito import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest imp...
1
Kotlin
1
3
c8ed908656dc5d28b77961131188ef5b65a98e0d
3,867
Backend-common
Apache License 2.0
core/src/main/java/com/codeart/filmskuy/core/ui/CatalogueListAdapter.kt
WahyuSeptiadi
326,314,895
false
{"Java": 200862, "Kotlin": 90625}
package com.codeart.filmskuy.core.ui import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide import com.codeart.filmskuy.core.R import com.codeart.filmskuy.core.databinding.ItemListCatalogueBinding import...
1
null
1
1
a3931acf762ebec00bdf1783142920ef16dc1471
2,591
AndroidExpert
MIT License
shared/src/commonMain/kotlin/home/presentation/HomeScreen.kt
AndreVero
735,628,501
false
{"Kotlin": 75143, "Swift": 669, "Shell": 228}
@file:OptIn(ExperimentalResourceApi::class) package home.presentation import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.core.Spring import androidx.compose.animation.core.VisibilityThreshold import androidx.compose.animation.core.spring import androidx.compose.animation.fadeIn imp...
0
Kotlin
0
0
bb53d3d0bf3059105fbd16a5bfb033b62c51568d
6,224
EasyTask
Apache License 2.0
components/settings/impl/src/main/java/com/flipperdevices/settings/impl/viewmodels/SettingsViewModel.kt
flipperdevices
288,258,832
false
null
package com.flipperdevices.settings.impl.viewmodels import androidx.datastore.core.DataStore import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.flipperdevices.core.di.ComponentHolder import com.flipperdevices.core.preference.pb.Settings import com.flipperdevices.settings.impl.di.Se...
2
Kotlin
31
293
522f873d6dcf09a8f1907c1636fb0c3a996f5b44
1,524
Flipper-Android-App
MIT License
next/kmp/core/src/commonMain/kotlin/org/dweb_browser/core/std/file/ext/MicroModuleStore.kt
BioforestChain
594,577,896
false
null
package org.dweb_browser.core.std.file.ext import kotlinx.atomicfu.atomic import kotlinx.coroutines.CompletableDeferred import kotlinx.coroutines.Deferred import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.cbor.Cbor import kotlinx.serialization.decodeFromByteArray import kotlinx.ser...
66
null
5
20
6db1137257e38400c87279f4ccf46511752cd45a
5,246
dweb_browser
MIT License
testing/cordapps/cashobservers/src/main/kotlin/net/corda/finance/test/flows/CashIssueWithObserversFlow.kt
corda
70,137,417
false
null
package net.corda.finance.test.flows import co.paralleluniverse.fibers.Suspendable import net.corda.core.contracts.Amount import net.corda.core.flows.FinalityFlow import net.corda.core.flows.FlowLogic import net.corda.core.flows.FlowSession import net.corda.core.flows.InitiatedBy import net.corda.core.flows.Initiating...
62
null
1089
3,989
d27aa0e6850d3804d0982024054376d452e7073a
2,652
corda
Apache License 2.0
app/src/main/java/fr/nexhub/homedia/features/common/components/ThumbnailImageCard.kt
valmnt
795,633,176
false
null
@file:OptIn(ExperimentalTvMaterial3Api::class) package fr.nexhub.homedia.features.common.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.BoxScope import androidx.compose.foundation.layout.aspectRatio import androidx.compo...
7
null
0
6
0cd04aa9cb4944da6be1dd796e827ebc72ac7f05
1,520
homedia
Apache License 2.0
frice/src/main/kotlin/org/frice/platform/adapter/DroidDrawer.kt
icela
69,969,072
false
{"Gradle": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Proguard": 1, "XML": 3, "Kotlin": 55, "Java": 3}
package org.frice.platform.adapter import android.graphics.* import org.frice.platform.FriceDrawer import org.frice.platform.FriceImage import org.frice.resource.graphics.ColorResource import org.frice.utils.cast /** * Created by ice1000 on 2016/10/31. * * @author ice1000 */ class DroidDrawer(var canvas: Canvas) ...
0
Kotlin
0
3
77cb43e374fcca3f7977c85a6aab870d3d9e0880
2,813
FriceEngine-Android
Apache License 2.0
kotest-assertions/kotest-assertions-shared/src/commonMain/kotlin/io/kotest/assertions/until/Interval.kt
kotest
47,071,082
false
null
package io.kotest.assertions.until import kotlin.time.Duration /** * A [Interval] determines how often Kotest will invoke the predicate function for an [until] block. */ interface Interval { /** * Returns the next delay as a [Duration]. * * @param count The number of times the condition has b...
111
null
606
4,033
6c1fd432f9e96ab3581eba3aba91d05bd523e012
486
kotest
Apache License 2.0
src/main/kotlin/me/melijn/melijnbot/commands/image/JailCommand.kt
notmynameforreal1
364,375,727
false
null
package me.melijn.melijnbot.commands.image import com.wrapper.spotify.Base64 import io.lettuce.core.SetArgs import kotlinx.coroutines.future.await import me.melijn.melijnbot.internals.command.AbstractCommand import me.melijn.melijnbot.internals.command.CommandCategory import me.melijn.melijnbot.internals.command.ICom...
0
Kotlin
0
0
acf17564244c0c62fba2b85e143d83c6c00c1a86
2,267
2626
MIT License
app/src/main/java/com/example/mvvmkoindiexample/presentation/views/MainActivity.kt
WadeQ
537,362,318
false
{"Kotlin": 21833}
package com.example.mvvmkoindiexample.presentation.views import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.MaterialTheme import androidx.compose.material.Surface import a...
0
Kotlin
0
0
df4f3b7ebc9b10793f40ba45d07d0b8da3ec17b3
1,643
Koin-DI-with-MVI
Apache License 2.0
src/main/kotlin/com/github/problems/problem1/Solution.kt
frikit
333,555,449
false
null
package com.github.problems.problem1 class Solution { fun findSumInList(list: List<Int>, sum: Int): Boolean { val cache = hashSetOf<Pair<Int, Int>>() if (list.isEmpty()) return false if (list.size == 1 && list.first() != sum) return false if (list.size == 1 && list.first() == sum) ...
0
Kotlin
0
0
d5c537d0afd49305ab095b64cfa655501c0c8387
835
daily-coding-problem
Apache License 2.0
pack/src/main/kotlin/voodoo/pack/ServerPack.kt
ChrisJStone
166,379,611
true
{"Kotlin": 438883, "Shell": 5361, "Ruby": 73}
package voodoo.pack import voodoo.data.lock.LockPack import voodoo.util.jenkins.downloadVoodoo import voodoo.util.toJson /** * Created by nikky on 06/05/18. * @author Nikky */ object ServerPack : AbstractPack() { override val label = "Server SKPack" override suspend fun pack( modpack: LockPack, ...
0
Kotlin
0
0
b12be54b1802250830070ba8db9538175f8ae7e2
2,643
Voodoo
MIT License
src/main/java/com/keygenqt/screener/base/Configuration.kt
keygenqt
254,963,831
false
null
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
0
0
8fdf88a17c590c13ce7324a00f43f9499efecc79
3,136
Screener
Apache License 2.0
app/src/main/java/com/etiya/template/data/remote/utils/Constants.kt
Etiya
700,359,858
false
{"Kotlin": 14180, "Python": 5781}
package com.etiya.template.data.remote.utils import com.etiya.template.BuildConfig object Constants { const val BASE_URL = BuildConfig.API_URL const val TABLE_NAME = "BaseEntity" }
0
Kotlin
0
0
53da668a8bb68a6597ffd2cee393badff1401f8b
193
etiya_android_architecture_template
Apache License 2.0
face-detect/src/main/java/soup/nolan/detect/face/FaceDetector.kt
NolanApp
197,888,252
false
null
package soup.nolan.detect.face import android.graphics.Bitmap import soup.nolan.detect.face.model.Face import soup.nolan.detect.face.model.Frame interface FaceDetector : Detector { fun setCallback(callback: Callback?) interface Callback { fun onDetecting(frame: Frame) fun onDetected(origin...
1
Kotlin
2
9
1c7d166034e19ca5774cab43d14a425fdc6fe03e
397
Nolan-Android
Apache License 2.0
bibix-core/src/main/kotlin/com/giyeok/bibix/plugins/prelude/Glob.kt
Joonsoo
477,378,536
false
null
package com.giyeok.bibix.plugins.prelude import com.giyeok.bibix.base.* import java.nio.file.Files import kotlin.io.path.absolute import kotlin.io.path.absolutePathString import kotlin.io.path.pathString class Glob { fun build(context: BuildContext): SetValue { val fileSystem = context.fileSystem val matche...
9
null
1
3
49c847166eaf16dc99bd52bf40d8417859a960b6
979
bibix
MIT License
telegram-bot/src/commonMain/kotlin/eu/vendeli/tgbot/types/media/Story.kt
vendelieu
496,567,172
false
null
package eu.vendeli.tgbot.types.media import eu.vendeli.tgbot.types.chat.Chat import kotlinx.serialization.Serializable /** * This object represents a story. * * Api reference: https://core.telegram.org/bots/api#story * @property chat Chat that posted the story * @property id Unique identifier for the story in th...
2
null
9
176
41d50ea8fd014cb31b61eb5c2f4a4bebf4736b45
402
telegram-bot
Apache License 2.0
platform/lang-api/src/com/intellij/execution/target/TargetEnvironmentPaths.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2020 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. @file:JvmName("TargetEnvironmentPaths") package com.intellij.execution.target import com.intellij.execution.Platform import com.intellij.openapi.util.io.FileUtil data class Pat...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
2,629
intellij-community
Apache License 2.0
kotlin-electron/src/jsMain/generated/electron/core/DesktopCapturer.kt
JetBrains
93,250,841
false
null
// Generated by Karakum - do not modify it manually! package electron.core import kotlin.js.Promise external interface DesktopCapturer { // Docs: https://electronjs.org/docs/api/desktop-capturer /** * Resolves with an array of `DesktopCapturerSource` objects, each * `DesktopCapturerSource` represents a...
42
null
174
1,347
997ed3902482883db4a9657585426f6ca167d556
679
kotlin-wrappers
Apache License 2.0
system/src/main/kotlin/cn/soybean/system/infrastructure/util/SignUtil.kt
soybeanjs
467,859,867
false
null
package cn.soybean.system.infrastructure.util import cn.soybean.infrastructure.config.consts.AppConstants import cn.soybean.system.infrastructure.util.SignUtil.createSign import cn.soybean.system.infrastructure.util.SignUtil.getRandomString import org.jetbrains.annotations.Contract import java.nio.charset.StandardChar...
4
null
92
223
4a1a7dc91aaa608d9110c81b6a60d83fbec7d25a
8,304
soybean-admin-quarkus
MIT License
server/src/test/java/org/jetbrains/bsp/bazel/server/bloop/ClasspathRewriterTest.kt
JetBrains
288,953,714
false
null
package org.jetbrains.bsp.bazel.server.bloop import io.kotest.matchers.collections.shouldContainExactly import org.junit.jupiter.api.Test import java.nio.file.Paths class ClasspathRewriterTest { @Test fun `rewrites classpath`() { val root = Paths.get("root/") val localRoot = Paths.get("local-r...
6
Kotlin
32
112
5eb42d2e8c6a8405ba401d583600993b1b3dd1c8
877
bazel-bsp
Apache License 2.0
DriverDataUI/src/main/java/com/drivequant/drivekit/ui/commons/views/DistractionSelectorItem.kt
DriveQuantPublic
216,339,559
false
{"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 1, "INI": 8, "Proguard": 9, "XML": 419, "Kotlin": 478, "Java": 1}
package com.drivequant.drivekit.ui.commons.views import android.content.Context import android.graphics.drawable.GradientDrawable import android.util.AttributeSet import android.view.View import android.view.ViewGroup import android.widget.LinearLayout import android.widget.TextView import androidx.core.content.Contex...
0
Kotlin
3
9
e7956263157c49aae8d6f993a558ea77d9658ee6
1,896
drivekit-ui-android
Apache License 2.0
identity/src/main/java/io/falu/identity/selfie/SelfieFragment.kt
tinglesoftware
345,511,436
false
null
package io.falu.identity.selfie import android.net.Uri import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.camera.core.CameraSelector import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.life...
0
Kotlin
0
0
78ab41e760b81f9ba7b1ec53d9c7d11630bd2b87
5,830
falu-android
MIT License
react-query-kotlin/src/jsMain/kotlin/tanstack/query/core/InfiniteQueryObserverSuccessResult.kt
karakum-team
393,199,102
false
{"Kotlin": 6212172}
// Automatically generated - do not modify! package tanstack.query.core import js.core.Void external interface InfiniteQueryObserverSuccessResult<TData, TError> : InfiniteQueryObserverResult<TData, TError> { override val data: TData override val error: Void override val isError: False override va...
32
Kotlin
8
35
e681a7be1ea3bcd97be311cedfb614c3a1b5bbc6
505
types-kotlin
Apache License 2.0
tmp/arrays/youTrackTests/1711.kt
DaniilStepanov
228,623,440
false
null
// Original bug: KT-40308 import kotlin.reflect.KProperty class SomeType class OtherType class SomeDelegate { operator fun getValue(thisRef: Any?, property: KProperty<*>) = "Delegated!" } class OtherDelegate { operator fun getValue(thisRef: Any?, property: KProperty<*>) = "Delegated!" } class Test { com...
1
null
8
1
602285ec60b01eee473dcb0b08ce497b1c254983
529
bbfgradle
Apache License 2.0
korge-build/jvm/src/main/kotlin/com/soywiz/korge/build/ResourceVersion.kt
wiltonlazary
83,857,620
true
{"Kotlin": 609504, "Java": 182756, "ActionScript": 7295, "HTML": 174}
package com.soywiz.korge.build import com.soywiz.korio.crypto.AsyncHash import com.soywiz.korio.crypto.hash import com.soywiz.korio.serialization.Mapper import com.soywiz.korio.serialization.json.Json import com.soywiz.korio.util.toHexStringLower import com.soywiz.korio.vfs.VfsFile data class ResourceVersion(val name...
0
Kotlin
0
0
2d3c7ed5b63f64cea73537707d7937be24168d6d
1,418
korge
Apache License 2.0
compiler/testData/ir/irText/fakeOverrides/collections/list/listOverrideKJJ.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// SKIP_KT_DUMP // TARGET_BACKEND: JVM // FULL_JDK // SEPARATE_SIGNATURE_DUMP_FOR_K2 // ^ ISSUE: KT-65219, KT-63914 // FILE: Java1.java import java.util.ArrayList; public class Java1 extends ArrayList<Integer>{ } // FILE: 1.kt class A : Java1() class B : Java1() { override fun remove(element: Int?): Boolean { ...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
693
kotlin
Apache License 2.0
pop-miners/veriblock-pop-miners-common/src/main/kotlin/org/veriblock/miners/pop/model/result/SuccessResultMessage.kt
VeriBlock
179,742,374
false
null
// VeriBlock PoP Miner // Copyright 2017-2020 <NAME> // All rights reserved. // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. package org.veriblock.miners.pop.model.result class SuccessResultMessage :...
72
null
16
12
ef06c51c1410ba59da13403b65e367b21dcfed21
577
nodecore
MIT License
apps/shared/src/commonMain/kotlin/com/github/kittinunf/cored/app/repository/UserRepository.kt
kittinunf
361,204,567
false
null
package com.github.kittinunf.cored.app.repository import com.github.kittinunf.cored.app.api.User import io.ktor.client.HttpClient import io.ktor.client.features.defaultRequest import io.ktor.client.features.json.Json import io.ktor.client.features.json.serializer.KotlinxSerializer import io.ktor.client.request.get imp...
1
Kotlin
1
25
a5825ddb775c0ff54fddd63ef0a7f85644a10cfd
1,000
CoRed
MIT License
app/src/main/java/com/boolder/boolder/view/offlinephotos/composable/OfflinePhotosAreaItem.kt
boolder-org
566,723,758
false
{"Kotlin": 532905}
package com.boolder.boolder.view.offlinephotos.composable import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row import androidx.compose....
7
Kotlin
9
26
dd93a7b9c29ee0eec80b63a62de4b5eea7203f6e
10,239
boolder-android
MIT License
src/main/java/balti/module/baltitoolbox/functions/FileHandlers.kt
BaltiApps
424,933,438
true
{"Kotlin": 45769}
package balti.module.baltitoolbox.functions import android.annotation.SuppressLint import android.os.Environment import balti.module.baltitoolbox.R import balti.module.baltitoolbox.ToolboxHQ import balti.module.baltitoolbox.functions.FileHandlers.INTERNAL_TYPE.* import java.io.* @SuppressLint("StaticFieldLeak") objec...
0
Kotlin
1
5
a14d7b582496a6f7592c8b98ac1a778d125cb672
6,417
baltitoolbox
Apache License 2.0
firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/TimestampSerializer.kt
GitLiveApp
213,915,094
false
{"Kotlin": 712421, "Ruby": 18024, "JavaScript": 469}
package dev.gitlive.firebase.firestore import dev.gitlive.firebase.internal.SpecialValueSerializer import dev.gitlive.firebase.firestore.DoubleAsTimestampSerializer.SERVER_TIMESTAMP import kotlinx.serialization.KSerializer import kotlinx.serialization.SerializationException /** A serializer for [BaseTimestamp]. Must ...
83
Kotlin
155
1,138
312beedd23283042277ae6d00393ada87d907589
2,856
firebase-kotlin-sdk
Apache License 2.0
app/src/main/java/com/pihrit/photos/screens/common/controllers/BackPressDispatcher.kt
skipadu
158,967,452
false
null
package com.pihrit.photos.screens.common.controllers interface BackPressDispatcher { fun registerListener(listener: BackPressListener) fun unregisterListener(listener: BackPressListener) }
0
Kotlin
0
1
8a6d1125a70e6d85a751f4bb93ad2f2141e73b79
199
Photos
MIT License
utils/math/src/main/kotlin/io/bluetape4k/math/integration/AbstractIntegrator.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.math.integration import io.bluetape4k.logging.KLogging import io.bluetape4k.logging.trace import io.bluetape4k.math.integration.Integrator.Companion.DEFAULT_MAXEVAL import org.apache.commons.math3.analysis.integration.UnivariateIntegrator abstract class AbstractIntegrator: Integrator { comp...
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
1,173
bluetape4k
MIT License
simplified-bookmarks/src/main/java/org/nypl/simplified/bookmarks/internal/BServiceOpLoadBookmarks.kt
ThePalaceProject
367,082,997
false
{"Kotlin": 3272091, "JavaScript": 853788, "Java": 374503, "CSS": 65407, "HTML": 49220, "Shell": 5017, "Ruby": 178}
package org.nypl.simplified.bookmarks.internal import org.nypl.simplified.accounts.api.AccountID import org.nypl.simplified.bookmarks.api.BookmarksForBook import org.nypl.simplified.books.api.BookFormat import org.nypl.simplified.books.api.BookID import org.nypl.simplified.books.api.bookmark.BookmarkKind import org.ny...
0
Kotlin
4
8
5e07c7c5f9dfe6c1521cbc6936ca46ec70994da5
3,160
android-core
Apache License 2.0
app/src/main/java/com/authsamples/basicmobileapp/views/userinfo/UserInfoFragment.kt
gary-archer
180,116,783
false
null
package com.authsamples.basicmobileapp.views.userinfo import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.activityViewModels import androidx.lifecycle.ViewModelProvider import com.authsamples.basicmobileapp.R import com.authsam...
1
null
7
31
407bbbb27206fb2f4e074c1f6438868bc1460bf8
3,859
oauth.mobilesample.android
MIT License
app/src/main/java/de/drtobiasprinz/summitbook/ReceiverActivity.kt
prinztob
370,702,913
false
{"Kotlin": 889510, "Python": 28063}
package de.drtobiasprinz.summitbook import android.content.Intent import android.net.Uri import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import androidx.core.content.res.ResourcesCompat import dagger.hilt.android.AndroidEntryPoint import de.drtobiasprinz.summitbook.Sele...
0
Kotlin
0
0
fd0fc69885dfffeef8fe1c92c2e460ea675f6b91
4,671
summitbook
MIT License
testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt
varunkm
105,518,202
false
null
@file:JvmName("Driver") package net.corda.testing.driver import com.google.common.util.concurrent.ThreadFactoryBuilder import com.typesafe.config.Config import com.typesafe.config.ConfigRenderOptions import net.corda.client.rpc.CordaRPCClient import net.corda.cordform.CordformContext import net.corda.cordform.Cordfor...
11
null
1
1
f9614123968035cb325c6de0b84cf2718643f399
39,600
corda
Apache License 2.0
CommonRecycler-Kotlin/src/main/java/com/shuyu/commonrecycler/xrecycler/ArrowRefreshHeader.kt
CarGuo
74,585,853
false
null
package com.shuyu.commonrecycler.xrecycler import android.animation.ValueAnimator import android.content.Context import android.os.Handler import android.util.AttributeSet import android.view.Gravity import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.animation...
1
null
61
260
c759af9544aa025a7ab15991f6b3c5fabc3b3f68
9,086
LazyRecyclerAdapter
MIT License
feature/feed/domain/api/src/main/kotlin/com/savvasdalkitsis/uhuruphotos/feature/feed/domain/api/worker/FeedWorkScheduler.kt
savvasdalkitsis
485,908,521
false
null
package com.savvasdalkitsis.uhuruphotos.feature.feed.domain.api.worker import androidx.work.ExistingPeriodicWorkPolicy import androidx.work.WorkInfo import kotlinx.coroutines.flow.Flow interface FeedWorkScheduler { fun scheduleFeedRefreshNow(shallow: Boolean) fun scheduleFeedRefreshPeriodic( existing...
49
Kotlin
13
228
f43ba3fa89429aeadd8e2a8de7f14b628e62f228
726
uhuruphotos-android
Apache License 2.0
Projects/Test/app/src/main/java/ademar/study/test/view/detail/DetailActivity.kt
ademar111190
76,153,266
false
null
package ademar.study.test.view.detail import ademar.study.test.R import ademar.study.test.navigation.FlowController import ademar.study.test.view.base.BaseActivity import android.os.Bundle import javax.inject.Inject class DetailActivity : BaseActivity() { @Inject lateinit var flowController: FlowController ...
0
Kotlin
1
1
65466ea1c6e4f75ae9791826a428c7dd8e101f98
580
Studies
MIT License
kotlin-for-gophers/nullreceiver.kt
willmadison
70,343,002
false
{"Go": 10333, "Java": 9178, "Kotlin": 4631}
data class Node(val value: Int, val left: Node? = null, val right: Node? = null) fun Node?.Sum(): Int = when(this) { null -> 0 else -> this.value + this.left.Sum() + this.right.Sum() } fun main(args: Array<String>) { val tree = Node(1, right = Node(9)) println(tree.Sum()) // 10 }
0
Go
0
1
558ec17a47af5aa9747054758d1c7344729c9ebb
298
presentations
MIT License
praytimes/src/main/kotlin/com/typ/islamictkt/utils/AstronomyUtils.kt
typ-AhmedSleem
669,187,995
false
null
package com.typ.islamictkt.prays.utils import com.typ.islamictkt.datetime.Timestamp import com.typ.islamictkt.datetime.YMD import com.typ.islamictkt.prays.enums.HigherLatitudeMethod import kotlin.math.floor object AstronomyUtils { /** * Range reduce hours to 0..23 */ fun fixHour(a: Double): Double ...
6
Kotlin
0
1
c77f2e674280c5f6322d5bb39ab90be969c0dd20
3,333
islamic-toolkit-kt
MIT License
klocation/src/androidMain/kotlin/com/addhen/klocation/LocationService.kt
addhen
839,996,776
false
{"Kotlin": 50463, "Shell": 1491}
// Copyright 2024, Addhen Ltd and the k-location project contributors // SPDX-License-Identifier: Apache-2.0 package com.addhen.klocation import android.content.Context import android.location.Location import android.location.LocationManager import kotlinx.coroutines.flow.Flow /** * This class provides methods to re...
0
Kotlin
0
7
ac6aac259da9632233fca1afc8c97fe314a45e27
2,468
klocation
Apache License 2.0
idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirOverrideInfoProvider.kt
BradOselo
367,097,840
false
null
/* * Copyright 2010-2021 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. */ package org.jetbrains.kotlin.idea.frontend.api.fir.symbols import org.jetbrains.kotlin.fir.analysis.checkers....
1
null
1
3
58c7aa9937334b7f3a70acca84a9ce59c35ab9d1
4,683
kotlin
Apache License 2.0
weather-interface/src/main/java/org/rcgonzalezf/weather/common/network/ApiResponse.kt
rcgonzalezf
43,210,997
false
{"Java": 139401, "Kotlin": 114455}
package org.rcgonzalezf.weather.common.network import org.rcgonzalezf.weather.common.models.converter.Data interface ApiResponse<D : Data?> { val data: List<D>? }
19
Java
1
1
8302404110d044845412dff658d172991768350a
169
weather-app-demo
MIT License
baselib/src/main/java/com/app/baselib/base/activity/BaseViewBindingViewModelActivity.kt
NewNum
269,868,648
false
{"Java": 73618, "Kotlin": 44696}
package com.app.baselib.base.activity import android.view.LayoutInflater import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import androidx.viewbinding.ViewBinding /** * 封装带有协程基类(DataBinding + ViewModel),使用代理类完成 * */ abstract class BaseViewBindingViewModelActivity<DB : ViewBind...
1
Java
1
1
5135d18fd14792c9078494d3b0ef3a630fb524ac
660
JetpackDemo
Apache License 2.0
tmp/arrays/kotlinAndJava/366.kt
mandelshtamd
346,008,310
true
{"Kotlin": 7965847}
//File A.java import kotlin.Metadata; public enum A { O, K; } //File B.java import kotlin.Metadata; public enum B { O, K; } //File Main.kt // !LANGUAGE: -ProhibitComparisonOfIncompatibleEnums fun box(): String { val a = A.O val r1 = when (a) { A.O -> "O" A.K -> "K" B.O...
1
Kotlin
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
555
kotlinWithFuzzer
Apache License 2.0
app/src/main/java/io/github/agussmkertjhaan/biniq/features/home/WasteLatest.kt
agussmkertjhaan
793,624,832
false
{"Kotlin": 143077, "Shell": 80}
package io.github.agussmkertjhaan.biniq.features.home import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.founda...
0
Kotlin
0
1
a01b834c52aabfd39da76d685f01ee14c8466a88
6,510
TA-Android
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnTemplateDonutOptionsPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.quicksight import io.cloudshiftdev.awscdkdsl.common.CdkDs...
4
null
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
2,887
awscdk-dsl-kotlin
Apache License 2.0
gradle/gradle-idea/src/org/jetbrains/kotlin/idea/scripting/gradle/GradleScriptNotificationProvider.kt
JetBrains
278,369,660
false
null
// 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.scripting.gradle import com.intellij.icons.AllIcons import com.intellij.ide.actions.ImportModuleAction import com.intellij.id...
284
null
5162
82
cc81d7505bc3e9ad503d706998ae8026c067e838
10,666
intellij-kotlin
Apache License 2.0
mobile_app1/module831/src/main/java/module831packageKt0/Foo175.kt
uber-common
294,831,672
false
null
package module831packageKt0; annotation class Foo175Fancy @Foo175Fancy class Foo175 { fun foo0(){ module831packageKt0.Foo174().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
237
android-build-eval
Apache License 2.0
scripts/src/main/java/io/github/fate_grand_automata/scripts/models/ParsedCard.kt
Fate-Grand-Automata
245,391,245
false
null
package io.github.fate_grand_automata.scripts.models import io.github.fate_grand_automata.scripts.enums.CardAffinityEnum import io.github.fate_grand_automata.scripts.enums.CardTypeEnum data class ParsedCard( val card: CommandCard.Face, val servant: TeamSlot, val fieldSlot: FieldSlot?, val type: CardTy...
18
Kotlin
187
993
eb630b8efcdb56782f796de2e17b36fdf9e19f3b
566
FGA
MIT License
app/src/main/java/com/sethchhim/kuboo_client/service/OnClearFromRecentService.kt
befora
137,512,422
false
null
package com.sethchhim.kuboo_client.service import android.app.Service import android.content.Intent import android.os.IBinder import com.sethchhim.kuboo_client.BaseApplication import javax.inject.Inject class OnClearFromRecentService : Service() { init { BaseApplication.appComponent.inject(this) } ...
1
null
39
81
33e456344172eab96b136e30130c4125096f253d
718
Kuboo
Apache License 2.0
lib/src/commonMain/kotlin/com/github/theapache64/pencilui/ui/PencilButton.kt
theapache64
456,120,022
false
{"Kotlin": 33547}
package com.github.theapache64.pencilui.ui import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.indication import androidx.compose.foundation....
0
Kotlin
0
47
e8635e89dd6ac82c84ddd887a15198052c97007e
4,934
pencil-ui
Apache License 2.0
knowledge/src/main/java/com/google/android/fhir/knowledge/db/KnowledgeDatabase.kt
google
247,977,633
false
{"Kotlin": 3601315, "Shell": 6510, "Java": 454}
/* * Copyright 2022-2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
325
Kotlin
288
485
d417dde6c08d0a21b620754400b37e0fe131e679
1,942
android-fhir
Apache License 2.0
app/src/main/java/com/movingmaker/commentdiary/di/network/OkHttpClientModule.kt
dudwls901
458,682,004
false
{"Kotlin": 270966}
package com.movingmaker.commentdiary.di.network import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import java.util.concurrent.TimeUnit import javax.inject.Qualifier import j...
9
Kotlin
0
1
32865202976a2586ec8aa3687467dcb40d93fdc9
884
CommentDiary-Android
MIT License
app/src/main/java/com/mnishiguchi/movingestimator2/ui/BaseFragment.kt
mnishiguchi
97,773,891
false
null
package com.mnishiguchi.movingestimator2.ui import android.arch.lifecycle.LifecycleRegistry import android.arch.lifecycle.LifecycleRegistryOwner import android.content.Context import android.os.Bundle import android.support.v4.app.Fragment import android.view.LayoutInflater import android.view.View import android.view...
0
Kotlin
0
0
5b4ec822894180abc42e83126835db85cca69982
1,623
MovingEstimator2
MIT License
ReferenceAppKotlin/app/src/main/java/com/android/tv/reference/repository/FileVideoRepository.kt
takeoutfm
398,114,096
true
{"Markdown": 12, "Text": 1, "Ignore List": 9, "Java Properties": 9, "Gradle": 15, "Shell": 7, "Batchfile": 4, "Proguard": 5, "XML": 146, "HTML": 3, "JavaScript": 4, "JSON": 16, "Java": 208, "Kotlin": 101, "Makefile": 1, "Python": 3, "CSS": 1, "JSON with Comments": 2, "INI": 2, "Org": 2, "YAML": 6}
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Java
0
0
eb8a142c6ef28a97f68cb6b4577372c43ad59b60
2,681
tv-samples
Apache License 2.0
standalone-sample/kmpviewmodel_compose_koject_sample/composeApp/src/commonMain/kotlin/com/hoc081098/solivagant/sample/todo/features/home/domain/RemoveItemById.kt
hoc081098
593,616,264
false
{"Kotlin": 289858, "Swift": 1584, "Shell": 377, "HTML": 297}
package com.hoc081098.solivagant.sample.todo.features.home.domain import com.hoc081098.solivagant.sample.todo.domain.TodoItem import com.hoc081098.solivagant.sample.todo.domain.TodoItemRepository import com.moriatsushi.koject.Provides @Provides internal class RemoveItemById( private val todoItemRepository: TodoItem...
7
Kotlin
4
96
2a0974ea37c88fc3ef44b7c3b634c7cfbcefa33e
439
kmp-viewmodel
MIT License
compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt
JetBrains
3,432,266
false
null
// IGNORE_REVERSED_RESOLVE // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT // TODO: https://youtrack.jetbrains.com/issue/KT-49862 /* * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) * * SECTIONS: dfa * NUMBER: 1 * DESCRIPTION: Raw data flow analysis test * HELPERS: classes, objects, functions, typealiases, p...
181
null
5771
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
288,178
kotlin
Apache License 2.0
syftlib/src/test/java/fl/wearable/autosport/integration/SpeedIntegrationTest.kt
FL-Wearable
284,693,631
false
null
package fl.wearable.autosport.integration import android.net.NetworkCapabilities import com.nhaarman.mockitokotlin2.any import com.nhaarman.mockitokotlin2.never import com.nhaarman.mockitokotlin2.spy import com.nhaarman.mockitokotlin2.verify import org.junit.Test import fl.wearable.autosport.Syft import fl.wearable.au...
0
Kotlin
1
3
276aee68722432afb2264a3aa27b8ea941873e4f
6,376
Trainer
Apache License 2.0
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/FirBodyResolveTransformer.kt
walltz556
215,167,660
false
null
/* * Copyright 2010-2019 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. */ package org.jetbrains.kotlin.fir.resolve.transformers import org.jetbrains.kotlin.contracts.description.Invoc...
7
null
1
1
f17e9ba9febdabcf7a5e0f17e4be02e0f9e87f13
49,099
kotlin
Apache License 2.0
bindings/core/gio/src/nativeMain/kotlin/org/gtkkn/bindings/gio/DBusMessageByteOrder.kt
gtk-kn
609,191,895
false
{"Kotlin": 10448515, "Shell": 2740}
// This is a generated file. Do not modify. package org.gtkkn.bindings.gio import org.gtkkn.native.gio.GDBusMessageByteOrder import org.gtkkn.native.gio.GDBusMessageByteOrder.G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN import org.gtkkn.native.gio.GDBusMessageByteOrder.G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN /** * Enumerati...
0
Kotlin
0
13
c033c245f1501134c5b9b46212cd153c61f7efea
1,093
gtk-kn
Creative Commons Attribution 4.0 International
kamp-core/src/main/kotlin/ch/leadrian/samp/kamp/core/runtime/command/PickupCommandParameterResolver.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.command import ch.leadrian.samp.kamp.core.api.entity.Pickup import ch.leadrian.samp.kamp.core.api.entity.id.PickupId import ch.leadrian.samp.kamp.core.runtime.entity.registry.PickupRegistry import javax.inject.Inject internal class PickupCommandParameterResolver @Inject cons...
1
Kotlin
1
7
af07b6048210ed6990e8b430b3a091dc6f64c6d9
499
kamp
Apache License 2.0
compiler/daemon/src/org/jetbrains/kotlin/daemon/CompileServiceImpl.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * 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...
7
null
5771
83
4383335168338df9bbbe2a63cb213a68d0858104
26,680
kotlin
Apache License 2.0
koma-core-api/common/src/koma/internal/default/generated/ndarray/DefaultFloatNDArrayFactory.kt
drmoose
117,384,470
true
{"Kotlin": 644993, "Shell": 623}
/** * THIS FILE IS AUTOGENERATED, DO NOT MODIFY. EDIT THE FILES IN templates/ * AND RUN ./gradlew :codegen INSTEAD! */ package koma.internal.default.generated.ndarray import koma.ndarray.* import koma.internal.getRng import koma.internal.syncNotNative class DefaultFloatNDArrayFactory: NumericalNDArrayFactory<Floa...
0
Kotlin
0
0
765dfb206cada4b682a94e140a40ba6c6e95667b
1,118
koma
Apache License 2.0
odyssey-compose/src/commonMain/kotlin/ru/alexgladkov/odyssey/compose/navigation/RootComposeBuilder.kt
AlexGladkov
409,687,153
false
{"Kotlin": 124395}
package ru.alexgladkov.odyssey.compose.navigation import androidx.compose.ui.graphics.Color import ru.alexgladkov.odyssey.compose.AllowedDestination import ru.alexgladkov.odyssey.compose.RootController import ru.alexgladkov.odyssey.compose.RenderWithParams import ru.alexgladkov.odyssey.compose.ScreenType import ru.ale...
21
Kotlin
22
256
5c5d33d4f0cc47919d3eafb226d8bec3aa777eb0
2,011
Odyssey
MIT License
aws-lambda-kotlin-events/src/main/kotlin/dev/jtkt/services/lambda/runtime/events/apigw/v2/ApiGatewayV2Event.kt
jtaub
735,085,227
false
{"Kotlin": 76981}
package dev.jtkt.services.lambda.runtime.events.apigw.v2 import dev.jtkt.services.lambda.runtime.events.apigw.HttpMethod import kotlinx.datetime.Instant /** * Contains fields common to both the Http and Websocket API gateway events. */ interface ApiGatewayV2Event { val body: String val headers: Map<String, ...
0
Kotlin
0
0
94c3f1523fa0786802c43aad23901db2ec9ae218
758
aws-lambda-kotlin-libs
Apache License 2.0
libs/pandautils/src/main/java/com/instructure/pandautils/features/shareextension/progress/ShareExtensionProgressViewData.kt
instructure
179,290,947
false
null
package com.instructure.pandautils.features.shareextension.progress import androidx.annotation.DrawableRes import androidx.databinding.BaseObservable import androidx.databinding.Bindable import com.instructure.pandautils.features.file.upload.FileUploadType import com.instructure.pandautils.features.shareextension.prog...
2
Kotlin
85
99
1bac9958504306c03960bdce7fbb87cc63bc6845
1,254
canvas-android
Apache License 2.0
app/src/main/java/xyz/yhsj/elauncher/MainActivity.kt
yhsj0919
253,731,981
false
null
package xyz.yhsj.elauncher import android.Manifest import android.annotation.SuppressLint import android.app.Activity import android.app.NotificationManager import android.app.WallpaperManager import android.content.BroadcastReceiver import android.content.ContentValues.TAG import android.content.Context import androi...
1
null
8
21
ce26222228f7156228e0c3762caca2bcfa6bdf1e
14,639
ELauncher
Apache License 2.0
data/src/main/java/com/moraware/data/models/RetrieveOrdersForMealResponse.kt
lpalac4
520,184,920
false
null
package com.moraware.data.models import com.moraware.data.base.BaseResponse import com.moraware.data.entities.OrderEntity class RetrieveOrdersForMealResponse(val orders: MutableList<OrderEntity>) : BaseResponse() { }
0
Kotlin
0
0
39812a9a320bcebed883b5f6f804dfd43458f816
218
mango
MIT License
app/src/main/java/ru/ilyasekunov/officeapp/data/datasource/local/mock/MockUserDataSource.kt
IlyaSekunov
744,587,168
false
{"Kotlin": 671010}
package ru.ilyasekunov.officeapp.data.datasource.local.mock import kotlinx.coroutines.delay import ru.ilyasekunov.officeapp.data.datasource.UserDataSource import ru.ilyasekunov.officeapp.data.dto.UserDto class MockUserDataSource : UserDataSource { override suspend fun saveChanges(userDto: UserDto): Result<Unit> {...
0
Kotlin
0
2
9cb85aeef71463a480ba1a3dff4a32af929263eb
632
office-app
Apache License 2.0
app/src/main/java/com/example/buynow/utils/CardType.kt
JahidHasanCO
372,423,290
false
null
package com.example.amantoliv2.Utils import java.util.regex.Pattern enum class CardType { UNKNOWN, VISA("^4[0-9]{12}(?:[0-9]{3}){0,2}$"), MASTERCARD("^(?:5[1-5]|2(?!2([01]|20)|7(2[1-9]|3))[2-7])\\d{14}$"), AMERICAN_EXPRESS( "^3[47][0-9]{13}$" ), DINERS_CLUB("^3(?:0[0-5]\\d|095|6\\d{0,...
1
null
23
79
d29ab268a5e42f0bb0d8aecdf08205e1ad95b76f
990
BuyNow.-The-E-commerce-App
MIT License