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
feature/offering-fake-delivery/src/main/kotlin/dev/alibagherifam/hermesexpress/offeringfakedelivery/OfferingFakeDeliveryModule.kt
alibagherifam
626,438,080
false
{"Kotlin": 110909}
package dev.alibagherifam.hermesexpress.offeringfakedelivery import dev.alibagherifam.hermesexpress.offeringfakedelivery.data.CloudMessagingService import dev.alibagherifam.hermesexpress.offeringfakedelivery.data.OfferingFakeDeliveryRepository import dev.alibagherifam.hermesexpress.offeringfakedelivery.ui.screen.Offer...
0
Kotlin
1
8
fa15f3bf13b490c96b1bbd093834438f28154cba
721
hermes-express
Apache License 2.0
mbnetworkkit/src/test/java/com/daimler/mbnetworkkit/SocketStateTest.kt
Daimler
199,815,262
false
null
package com.daimler.mbnetworkkit import com.daimler.mbnetworkkit.socket.* import com.daimler.mbnetworkkit.socket.message.* import org.junit.Before import org.junit.Test import java.util.* class SocketStateTest { lateinit var socketConnection: SocketConnection private val connectionListner = ConnectionListen...
1
null
8
15
3721af583408721b9cd5cf89dd7b99256e9d7dda
6,487
MBSDK-Mobile-Android
MIT License
app/src/test/java/com/aliasadi/clean/presentation/base/BaseViewModelTest.kt
AliAsadi
264,456,753
false
null
package com.repo.clean.presentation.base import androidx.arch.core.executor.testing.InstantTaskExecutorRule import com.repo.clean.presentation.util.rules.CoroutineTestRule import org.junit.Rule import org.mockito.Mockito /** * Created by <NAME> on 16/05/2020 **/ open class BaseViewModelTest { @get:Rule var...
0
null
9
39
f3b9dbb30e443ec65a2ec4c3d77f34b01559e284
754
Android-Clean-Architecture
Apache License 2.0
jupyter-lib/shared-compiler/src/main/kotlin/org/jetbrains/kotlinx/jupyter/streams/StreamSubstitutionManager.kt
Kotlin
63,066,291
false
{"Kotlin": 1079875, "JavaScript": 40044, "CSS": 16243, "Python": 15441, "Jupyter Notebook": 1290, "Shell": 74}
package org.jetbrains.kotlinx.jupyter.streams import org.jetbrains.kotlinx.jupyter.api.StreamSubstitutionType import org.jetbrains.kotlinx.jupyter.streams.StreamSubstitutionManager.StdErr import org.jetbrains.kotlinx.jupyter.streams.StreamSubstitutionManager.StdIn import org.jetbrains.kotlinx.jupyter.streams.StreamSub...
79
Kotlin
107
1,115
9ef5bf3ef682734c9d4be3244bfb0ecaf727ea66
7,127
kotlin-jupyter
Apache License 2.0
core/src/commonMain/kotlin/work/socialhub/kmastodon/entity/instancev1/InstanceV1Polls.kt
uakihir0
783,390,459
false
{"Kotlin": 167667, "Ruby": 2191, "Shell": 2164, "Makefile": 319}
package work.socialhub.kmastodon.entity.instancev1 import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlin.js.JsExport @JsExport @Serializable class InstanceV1Polls { @SerialName("max_options") var maxOptions: Int? = null @SerialName("max_characters_per_option") ...
0
Kotlin
0
1
8d3278cff7a164cbe9e9ad978a9b28e743d1c96d
504
kmastodon
MIT License
app/src/main/java/org/metabrainz/android/presentation/features/tagger/TagField.kt
metabrainz
166,439,000
false
null
package org.metabrainz.android.presentation.features.tagger data class TagField(val tagName: String, val originalValue: String = "", var newValue: String = "")
5
Kotlin
21
69
e8583feb929ded7027085755b3fe83b05e0a8aa1
160
musicbrainz-android
Apache License 2.0
src/main/kotlin/com/refinedmods/refinedstorage/api/storage/disk/IStorageDisk.kt
thinkslynk
290,596,653
true
{"Kotlin": 695976, "Shell": 456}
package com.refinedmods.refinedstorage.api.storage.disk import com.refinedmods.refinedstorage.api.storage.IStorage import net.minecraft.nbt.CompoundTag import net.minecraft.util.Identifier /** * Represents a storage disk. * * @param <T> the storage </T> */ interface IStorageDisk<T> : IStorage<T> { /** * @...
1
Kotlin
0
2
c92afa51af0e5e08caded00882f91171652a89e3
1,048
refinedstorage
MIT License
mobile/src/main/java/rs/readahead/washington/mobile/util/Extensions.kt
Horizontal-org
193,379,924
false
{"Java": 1738746, "Kotlin": 784438}
package rs.readahead.washington.mobile.util import android.app.Activity import android.content.Context import android.content.res.Resources import android.graphics.Rect import android.os.Build import android.util.TypedValue import android.view.View import android.view.ViewGroup import android.view.Window import androi...
15
Java
15
49
b941e38f9d62032e1471b6dfd5e467b44acca23d
3,000
Tella-Android
Apache License 2.0
src/main/kotlin/org/meatball/quiz/bot/state/handler/impl/StateHandlersManager.kt
mainmeatball
782,892,110
false
{"Kotlin": 18643}
package org.meatball.quiz.bot.state.handler.impl import org.meatball.quiz.bot.command.UserRegionConfigCommandHandler class StateHandlersManager { val stateHandlers = listOf( WaitingForQuestionStateHandler(), WaitingForAnswerStateHandler(), UserRegionConfigCommandHandler() ) }
0
Kotlin
0
0
7037ae486f106c346b65e0a2a48b5c52b4c53381
311
quiz-bot
MIT License
app/src/main/java/org/blitzortung/android/data/FetchDataTask.kt
wuan
1,559,150
false
{"Kotlin": 404521}
package org.blitzortung.android.data import android.util.Log import kotlinx.coroutines.* import org.blitzortung.android.app.Main import org.blitzortung.android.data.provider.data.DataProvider import org.blitzortung.android.data.provider.result.ResultEvent import kotlin.coroutines.CoroutineContext internal open class ...
25
Kotlin
32
97
05975d34aba562ee80d9ae7434eb365495d493f3
1,832
bo-android
Apache License 2.0
app/src/main/java/ext/aks4125/githubapicompose/ui/components/ScaffoldWithTopBar.kt
Aks-4125
652,083,350
false
null
package ext.aks4125.githubapicompose.ui.components import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.ArrowBack import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose....
0
Kotlin
0
0
b265bd2a5c071866302189725fe4c0ceb0a9f46f
1,362
github-api-compose
MIT License
app/src/main/java/ext/aks4125/githubapicompose/ui/components/ScaffoldWithTopBar.kt
Aks-4125
652,083,350
false
null
package ext.aks4125.githubapicompose.ui.components import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.ArrowBack import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose....
0
Kotlin
0
0
b265bd2a5c071866302189725fe4c0ceb0a9f46f
1,362
github-api-compose
MIT License
app/src/main/java/my/github/dstories/feature/characters_list/CharactersStoreTea.kt
horseunnamed
515,286,546
false
{"Kotlin": 116710}
package my.github.dstories.feature.characters_list import my.github.dstories.core.data.FakeCharacters import my.github.dstories.core.framework.TeaRuntime import my.github.dstories.core.model.DndCharacter import my.github.dstories.core.model.Id object CharactersStoreTea { data class Model( val characters:...
6
Kotlin
0
0
e431340467993b839e5db0b6d64972cee6d379c6
995
Dungeon-Stories
MIT License
libs/navigation/core/src/commonMain/kotlin/com/edugma/navigation/core/graph/NavGraphBuilder.kt
Edugma
474,423,768
false
{"Kotlin": 1065114, "Swift": 1255, "Shell": 331, "HTML": 299}
package com.edugma.navigation.core.graph import androidx.compose.runtime.CompositionLocalProvider import androidx.core.bundle.bundleOf import androidx.navigation.compose.composable import com.edugma.navigation.core.compose.ComposeArgumentsStore import com.edugma.navigation.core.compose.LocalArguments import com.edugma...
1
Kotlin
0
3
b084256a854858a7968583937338cf0d9cc535f3
3,370
app
MIT License
Kotlin/Fmm.kt
lprimeroo
41,106,663
false
null
import java.util.Scanner class Fmm { private fun binaryExponentiation(base: Long, power: Long, modulo: Long): Long { var base = base var power = power var result: Long = 1 while (power > 0) { if (power and 1) { result = result * base % modulo ...
56
C++
186
99
16367eb9796b6d4681c5ddf45248e2bcda72de80
812
DSA
MIT License
src/ksp/src/main/kotlin/org/icpclive/ksp/cds/SerializerProvidersProcessor.kt
icpc
447,849,919
false
null
package org.icpclive.cds.ksp import com.google.devtools.ksp.* import com.google.devtools.ksp.processing.* import com.google.devtools.ksp.symbol.* import java.io.PrintWriter class SerializerProvidersProcessor(private val generator: CodeGenerator, val logger: KSPLogger) : SymbolProcessor { class GeneratedFile( ...
16
null
15
46
31ad7ed4ac6d9dea16da3e21aec4f92d2368863f
3,949
live-v3
MIT License
src/Builder_Pattern_3/Coke.kt
estand25
119,630,165
false
null
package Builder_Pattern_3 import Builder_Pattern_3.Abstract.ColdDrink class Coke: ColdDrink() { override fun price(): Float? = 30.0f override fun name(): String? = "Coke" }
0
Kotlin
0
0
52de8a1993e3043fc5bfe36cc1fb1ca09e80b7d3
182
JavaDesignPattern
The Unlicense
platform/vcs-log/impl/src/com/intellij/vcs/log/util/VcsLogUtil.kt
caofanCPU
334,515,573
true
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. package com.intellij.vcs.log.util import com.intellij.openapi.application.runInEdt import com.intellij.openapi.project.Project import com.intellij.openapi.vcs.ProjectLevelVcsMana...
1
null
1
1
5ad3e2bdf3c83d86e7c4396f5671929768d76999
804
intellij-community
Apache License 2.0
CAP-04/MyRecyclerView/app/src/main/java/es/javiercarrasco/myrecyclerview/RecyclerAdapter.kt
KotlinStuff
245,410,185
false
null
package es.javiercarrasco.myrecyclerview import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.recyclerview.widget.RecyclerView import es.javiercarrasco.myrecyclerview.databinding.ItemAnimalListBinding class...
0
Kotlin
3
2
e7b8d8927d35e266d78d68f3e076490ea7569b61
2,316
Projects
MIT License
app/src/main/java/org/rdtoolkit/component/BasicLibrary.kt
dimagi
262,149,568
false
null
package org.rdtoolkit.component import android.Manifest import android.app.Activity import android.content.Context import android.content.Intent import android.provider.MediaStore import androidx.core.content.FileProvider import java.io.File import java.io.IOException import java.text.SimpleDateFormat import java.util...
13
null
4
6
f33c44c438c0b14ca7ce9795f558569afb1bdf56
3,346
rd-toolkit
Apache License 2.0
feature/folders-chips/ui/src/main/kotlin/ru/maksonic/beresta/feature/folders_chips/ui/dialog/ui/Container.kt
maksonic
580,058,579
false
null
package ru.maksonic.beresta.feature.folders_chips.ui.dialog.ui import androidx.compose.runtime.Composable import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.ui.Alignment import androidx.compose.ui.platform.LocalFocusManager import androidx.lifecycle.compose.collectAsStateWithLifecycle impor...
0
Kotlin
0
0
e4a25c791082df384c4cb380d98a767a75870740
2,239
Beresta
MIT License
projects/assessment-summary-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/AssessmentService.kt
ministryofjustice
500,855,647
false
{"Kotlin": 3846531, "HTML": 58177, "D2": 30565, "Ruby": 25392, "Shell": 12351, "SCSS": 6240, "HCL": 2712, "Dockerfile": 2414, "JavaScript": 1344, "Python": 268}
package uk.gov.justice.digital.hmpps.service import org.springframework.stereotype.Service import uk.gov.justice.digital.hmpps.integrations.delius.assessment.entity.OasysAssessment import uk.gov.justice.digital.hmpps.integrations.delius.assessment.entity.OasysAssessmentRepository import uk.gov.justice.digital.hmpps.in...
8
Kotlin
0
2
f53146f969b1acf4dbd147a5d588c5ad23c15a78
4,658
hmpps-probation-integration-services
MIT License
app/src/main/kotlin/com/absinthe/libchecker/features/applist/detail/ui/view/StaticLibItemView.kt
LibChecker
248,400,799
false
{"Kotlin": 1162665, "Java": 57156, "AIDL": 1149}
package com.absinthe.libchecker.features.applist.detail.ui.view import android.content.Context import android.graphics.ColorMatrix import android.graphics.ColorMatrixColorFilter import android.util.TypedValue import android.view.ContextThemeWrapper import android.view.ViewGroup import androidx.appcompat.widget.AppComp...
27
Kotlin
307
4,430
6a05bb1cff75020fd2f9f2421dfdb25b4e2cc0a9
3,618
LibChecker
Apache License 2.0
src/main/kotlin/io/github/oxisto/reticulated/ParserResult.kt
classicvalues
453,352,008
true
{"Kotlin": 39013, "ANTLR": 26984, "Python": 410}
package io.github.oxisto.reticulated import io.github.oxisto.reticulated.ast.FileInput import io.github.oxisto.reticulated.ast.Node import io.github.oxisto.reticulated.ast.Scope data class ParserResult(val root: FileInput, val scope: Scope) { }
1
null
0
0
87b93149dbc022a7c7f6600d3fd655f7ba02f3bd
246
reticulated-python
Apache License 2.0
src/me/anno/ecs/components/shaders/CuboidMesh.kt
AntonioNoack
456,513,348
false
null
package me.anno.ecs.components.shaders import me.anno.ecs.components.mesh.Mesh import me.anno.ecs.components.mesh.ProceduralMesh import me.anno.ecs.prefab.PrefabSaveable import me.anno.mesh.Shapes import org.joml.Vector3f class CuboidMesh : ProceduralMesh() { var size = Vector3f(1f) override fun generateMes...
0
Kotlin
0
7
bacd7c79b8b34765d157012a08d728008c4b2d9a
1,205
RemsEngine
Apache License 2.0
kdoc-base/src/main/kotlin/kdoc/base/database/schema/document/DocumentAuditTable.kt
perracodex
819,398,266
false
{"Kotlin": 452179, "Dockerfile": 3111, "CSS": 2441, "Java": 1017, "HTML": 487}
/* * Copyright (c) 2024-Present Perracodex. Use of this source code is governed by an MIT license. */ package kdoc.base.database.schema.document import kdoc.base.utils.KLocalDateTime import org.jetbrains.exposed.sql.Column import org.jetbrains.exposed.sql.Table import org.jetbrains.exposed.sql.kotlin.datetime.Curre...
0
Kotlin
0
0
dd4e6ffe02fe12df23c610ffd983a717ef1a33fd
1,847
KDoc
MIT License
zoomimage-core/src/commonTest/kotlin/com/github/panpf/zoomimage/core/common/test/util/LoggerTest.kt
panpf
647,222,866
false
null
package com.github.panpf.zoomimage.core.common.test.util import com.github.panpf.zoomimage.util.Logger import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull class LoggerTest { @Test fun testTag() { Logger(tag = "MyTag").apply { assertEquals("MyTag", tag)...
2
null
12
234
76f8f7f6928163c2ae88a5daef5e292fa7cb7966
9,190
zoomimage
Apache License 2.0
zoomimage-core/src/commonTest/kotlin/com/github/panpf/zoomimage/core/common/test/util/LoggerTest.kt
panpf
647,222,866
false
null
package com.github.panpf.zoomimage.core.common.test.util import com.github.panpf.zoomimage.util.Logger import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull class LoggerTest { @Test fun testTag() { Logger(tag = "MyTag").apply { assertEquals("MyTag", tag)...
2
null
12
234
76f8f7f6928163c2ae88a5daef5e292fa7cb7966
9,190
zoomimage
Apache License 2.0
compose/resource/src/commonMain/kotlin/com/bselzer/ktx/compose/ui/layout/icon/IconInteractorExtension.kt
Woody230
388,189,330
false
null
package com.bselzer.ktx.compose.ui.layout.icon import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.* import androidx.compose.runtime.Composable import androidx.compose.ui.state.ToggleableState import com.bselzer.ktx.resource.KtxResources import com.bselzer.ktx.resource.images.pai...
2
null
0
7
50901f7b1ff6211ad09b857e098386238496cbe8
5,912
KotlinExtensions
Apache License 2.0
src/main/kotlin/ru/capjack/tool/app/ApplicationConfiguration.kt
CaptainJack
167,149,089
false
null
package ru.capjack.tool.app import ru.capjack.tool.depin.Binder import kotlin.reflect.KClass interface ApplicationConfiguration { var dir: String var configEnv: String? fun injection(configuration: Binder.() -> Unit) fun module(clazz: KClass<*>) fun modules(list: List<KClass<*>>) fun modules(vararg list...
0
Kotlin
0
0
60e7e962d7f7904599fe856ecab1d49b7bd356b9
557
tool-app
MIT License
compiler/fir/checkers/checkers.js/src/org/jetbrains/kotlin/fir/analysis/js/checkers/declaration/FirJsInheritanceFunctionChecker.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...
/* * 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. */ package org.jetbrains.kotlin.fir.analysis.js.checkers.declaration import org.jetbrains.kotlin.diagnostics.Dia...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
2,509
kotlin
Apache License 2.0
app/src/main/java/ar/com/wolox/android/example/Login/LoginView.kt
FloresFelix
382,139,772
false
null
package ar.com.wolox.android.example.Login interface LoginView { fun dummyFunction() {} fun dummyFunction2() {} fun dummyFunction3() {} fun gotToWeb() }
1
Kotlin
0
0
336f578f3893e359fe8fa827b38bf135907e05df
173
training
MIT License
app/src/main/java/io/outblock/lilico/widgets/webview/WebviewToolbarBehavior.kt
Outblock
435,317,689
false
null
package io.outblock.lilico.widgets.webview import android.content.Context import android.util.AttributeSet import android.view.View import android.view.ViewGroup import android.webkit.WebView import androidx.coordinatorlayout.widget.CoordinatorLayout import io.outblock.lilico.utils.logd class WebviewToolbarBehavior ...
93
null
3
4
a238e4f9db0d93a9c87fc9682860f2ea265c798b
1,033
Lilico-Android
Apache License 2.0
app/src/main/java/edu/fullerton/jd/workodoro/repository/Repository.kt
jareddls
658,175,268
false
null
package edu.fullerton.jd.workodoro.repository import edu.fullerton.jd.workodoro.PostModel import edu.fullerton.jd.workodoro.QuoteModel import edu.fullerton.jd.workodoro.api.RetrofitInstance import retrofit2.Call import retrofit2.Response class Repository { suspend fun getQuote(number: Int): Response<QuoteModel> {...
0
Kotlin
0
0
77b8a14581b9eef0e20e190787f75b7501031181
381
Workodoro
MIT License
potassium-nitrite/src/main/kotlin/org/dizitart/kno2/Documents.kt
nitrite
88,777,477
false
null
/* * * Copyright 2017-2018 Nitrite author or 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 ap...
7
null
99
762
6d0476c5fc028258cf2ee2508fdab3231f8f26be
1,538
nitrite-java
Apache License 2.0
src/main/kotlin/com/velocity/controller/EventController.kt
pranavagiligar
245,184,159
false
null
package com.velocity.controller import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController @RequestMapping("/event") class EventController { }
3
Kotlin
0
1
8f0fbaf20dd0333feb866ea0f0211fa736e478ef
226
velocity
MIT License
extension/runtime/core/src/main/kotlin/cache/DmnDiagramEvaluationModelInMemoryRepository.kt
holunda-io
240,229,098
false
null
package io.holunda.decision.runtime.cache import io.holunda.decision.model.api.Id import io.holunda.decision.model.api.evaluation.DmnDiagramEvaluationModel import io.holunda.decision.model.api.evaluation.DmnDiagramEvaluationModelRepository import java.util.* import java.util.concurrent.ConcurrentHashMap object DmnDia...
21
null
1
6
b2d4e329eec76f44bbe0962a4c01e660f4f6d06e
1,147
camunda-decision
Apache License 2.0
app/src/main/java/com/erkhabibullina/currencyexchangeapp/datasource/remote/NetworkState.kt
yash786agg
272,267,129
false
null
package com.erkhabibullina.currencyexchangeapp.datasource.remote sealed class NetworkState<T>(val data: T? = null, val message: String? = null) { class Success<T>(data: T) : NetworkState<T>(data) class Error<T>(message: String?, data: T? = null) : NetworkState<T>(data, message) }
0
Kotlin
0
0
fd6ba2facfbd99893ed386229b18ce9d507605f5
289
CurrencyExchangeApp
MIT License
data/src/main/java/com/krykun/data/dao/MovieDao.kt
JekaK
508,341,591
false
{"Kotlin": 470505}
package com.krykun.data.dao import androidx.room.* import com.krykun.data.model.local.Movie import com.krykun.data.model.local.PlaylistMovieCrossRef @Dao interface MovieDao { @Insert(onConflict = OnConflictStrategy.REPLACE) fun insertMovie(movie: Movie): Long @Insert(onConflict = OnConflictStrategy.REPL...
0
Kotlin
0
7
b46b296c16e23a6394e382a7d30b34176d443d90
1,159
MoviesApp
Apache License 2.0
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/timestream/_timestream.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.timestream import kotlin.String import kotlin.Unit import software.amazon.awscdk.services.timestream.Cf...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
32,538
awscdk-dsl-kotlin
Apache License 2.0
Chapter02/src/main/kotlin/chapter2/StaticFactoryMethod.kt
PacktPublishing
137,031,395
false
{"Text": 1, "Markdown": 1, "Gradle": 22, "Shell": 11, "Batchfile": 11, "Java Properties": 11, "Kotlin": 124, "Java": 13}
package chapter2 fun main(args : Array<String>) { val n = NumberMaster() println(NumberMaster.valueOf("123")) } class NumberMaster { companion object Parser { fun valueOf(hopefullyNumber: String) : Long { return hopefullyNumber.toLong() } } }
1
Kotlin
7
89
5de3a557ee91eb0c5eb519ed4ea8ec5015106e5e
290
Hands-on-Design-Patterns-with-Kotlin
MIT License
app/src/main/java/org/oppia/app/player/state/itemviewmodel/FeedbackViewModel.kt
miaboloix
267,352,769
true
{"Kotlin": 2217749, "Shell": 1855}
package org.oppia.app.player.state.itemviewmodel /** [StateItemViewModel] for feedback blurbs. */ class FeedbackViewModel(val htmlContent: CharSequence) : StateItemViewModel(ViewType.FEEDBACK)
0
null
0
0
ce4d9f705f1a67be51e4f492f9e39569aa046c65
194
oppia-android
Apache License 2.0
app/src/main/java/com/benliger/nasaapod/ui/detail/DetailAstronomyPictureViewHolder.kt
benliger
301,812,121
false
null
package com.benliger.nasaapod.ui.detail import androidx.core.view.isVisible import com.benliger.nasaapod.R import com.benliger.nasaapod.databinding.DetailAstronomyPictureFragmentBinding import com.benliger.nasaapod.service.model.Apod import com.benliger.nasaapod.ui.common.ScreenUiData import com.benliger.nasaapod.ui.c...
0
Kotlin
0
2
d49114a8cc83477bf7c91e9391b2ac0cea7ad611
2,870
APOD
Apache License 2.0
hellokotlin/src/Main.kt
dougjasper2013
828,949,799
false
{"Kotlin": 10571}
import kotlin.collections.List //TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter. enum class DayOfTheWeek { // more code goes here Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday } fun Li...
0
Kotlin
0
0
1587927f8f2f9da4b9996876e347d8cbef6bd0f9
10,531
hellokotlinam
MIT License
vico/core/src/main/java/com/patrykandpatrick/vico/core/common/shader/DynamicShader.kt
patrykandpatrick
338,848,755
false
{"Kotlin": 680666, "CSS": 166}
/* * Copyright 2024 by <NAME> and <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 ...
8
Kotlin
130
2,132
7066e4bf88cdd1e4c57e1ab03d10354e5f640928
5,830
vico
Apache License 2.0
app/src/main/java/com/rogertalk/roger/audio/AudioSystem.kt
rogertalk
207,123,525
false
{"C": 1446968, "Kotlin": 1051662, "C++": 79853, "Objective-C": 32032, "Java": 22252, "Makefile": 1047}
package com.rogertalk.roger.audio import android.os.Build import com.rogertalk.kotlinjubatus.utils.DeviceUtils /** * Various properties of the Audio System for this device */ object AudioSystem { /** * @return True if device belongs to the ones we now are guaranteed to fail to record * properly in st...
0
C
0
1
55c9922947311d9d8a1e930463b9ac2a1332e006
973
roger-android
MIT License
easyadapter/lib-easyadapter/src/main/java/ru/surfstudio/android/easyadapter/diff/base/BaseDiffer.kt
surfstudio
175,407,898
false
null
/* Copyright (c) 2018-present, SurfStudio LLC, <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 a...
1
null
2
27
5f68262ac148bc090c600121295f81c7ce3486c0
2,178
EasyAdapter
Apache License 2.0
activity/activity/src/main/java/androidx/activity/contextaware/ContextAwareHelper.kt
androidx
256,589,781
false
null
/* * Copyright 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 applica...
28
null
937
5,108
89ec14e39cf771106a8719337062572717cbad31
3,256
androidx
Apache License 2.0
app/src/main/java/com/example/moviedb/data/source/MoviePagingSource.kt
dangquanuet
127,717,732
false
null
package com.example.moviedb.data.source import com.example.moviedb.data.model.Movie import com.example.moviedb.data.remote.api.ApiParams import com.example.moviedb.data.repository.UserRepository class MoviePagingSource( private val userRepository: UserRepository ) : BasePagingSource<Movie>() { override suspe...
3
null
93
413
c5031dcfa879243c0ea44d0973153078e568c013
634
The-Movie-DB-Kotlin
Apache License 2.0
fiosdk/src/main/java/fiofoundation/io/fiosdk/errors/formatters/FIOFormatterSignatureIsNotCanonicalError.kt
fioprotocol
246,897,755
false
{"C++": 2749293, "Kotlin": 540742, "C": 113874, "Java": 18371, "Objective-C": 7740, "CMake": 3521, "Shell": 870}
package fiofoundation.io.fiosdk.errors.formatters import fiofoundation.io.fiosdk.errors.FIOError class FIOFormatterSignatureIsNotCanonicalError: FIOError { constructor():super() constructor(message: String):super(message) constructor(exception: Exception):super(exception) constructor(message: String,e...
5
C++
5
3
fc9809d05b4c13d5493267055c0c167d8fac6249
367
fiosdk_kotlin
MIT License
initializer/android-ios-backend/base/src/commonMain/kotlin/kim/jeonghyeon/base/GreetingApi.kt
dss99911
138,060,985
false
null
package kim.jeonghyeon.base import kim.jeonghyeon.annotation.Api @Api interface GreetingApi { suspend fun greeting(): String }
1
null
2
38
e9da57fdab9c9c1169fab422fac7432143e2c02c
132
kotlin-simple-architecture
Apache License 2.0
mockk/src/test/kotlin/io/mockk/impl/instantiation/JvmMockFactoryHelperTest.kt
hoombar
149,691,444
true
{"Markdown": 5, "Gradle": 19, "YAML": 3, "INI": 2, "Shell": 2, "Text": 5, "Ignore List": 1, "Batchfile": 1, "HTML": 3, "SVG": 2, "Kotlin": 157, "Java Properties": 1, "XML": 7, "Java": 47, "CMake": 1, "C++": 38, "C": 1, "SCSS": 1}
package io.mockk.impl.instantiation import io.mockk.JvmVarArgsCls import io.mockk.impl.instantiation.JvmMockFactoryHelper.varArgPosition import kotlin.test.Test import kotlin.test.assertEquals class JvmMockFactoryHelperTest { @Test fun kotlinVarArgPosition() { val clazz = SomeClass::class.java ...
0
Kotlin
0
0
ec412a5b8c1a8c3cab05a1bd7bcb994a11f3bab1
1,336
mockk
Apache License 2.0
hello-algo/hello-algo-main/zh-hant/codes/kotlin/chapter_tree/binary_tree_bfs.kt
CoderDream
402,249,596
false
{"Maven POM": 206, "XML": 643, "Text": 661, "Ignore List": 121, "Markdown": 677, "YAML": 235, "JSON": 112, "JavaScript": 832, "EditorConfig": 9, "Browserslist": 15, "HTML": 431, "robots.txt": 1, "SVG": 21, "Vue": 121, "Java": 4312, "Java Properties": 58, "SQL": 25, "Batchfile": 33, "Shell": 71, "Dockerfile": 23, "INI":...
/** * File: binary_tree_bfs.kt * Created Time: 2024-01-25 * Author: curtishd (<EMAIL>) */ package chapter_tree import utils.TreeNode import utils.printTree import java.util.* /* 層序走訪 */ fun levelOrder(root: TreeNode?): MutableList<Int> { // 初始化佇列,加入根節點 val queue = LinkedList<TreeNode?>() queue.add(ro...
1
Java
5
5
1af9462ce13a6fd1125a160e418b549c4510fa30
969
java-architect-util
Apache License 2.0
app/src/main/java/com/muzzley/services/PreferencesRepositoryImpl.kt
habitio
191,952,436
false
{"Java": 759418, "Kotlin": 611639, "JavaScript": 4086}
package com.muzzley.services import android.annotation.SuppressLint import android.content.Context import android.content.SharedPreferences import com.muzzley.R import com.muzzley.app.receivers.CallReceiver import com.muzzley.model.workers.Fence import com.muzzley.model.Preferences import com.muzzley.model.User import...
1
null
1
1
57174e1ca5e0d72ebc01d0750e278fc493b44e42
5,164
habit-whitelabel-app-android
MIT License
library/src/main/java/com/ruslankishai/unmaterialtab/tabs/RoundTabLayout.kt
creageek
77,962,027
false
null
package com.ruslankishai.unmaterialtab.tabs import android.animation.ArgbEvaluator import android.animation.ValueAnimator import android.content.Context import android.graphics.Canvas import android.graphics.drawable.ColorDrawable import android.graphics.drawable.Drawable import android.support.v4.view.ViewPager impor...
2
Kotlin
18
84
6ea8acc4265b685ad9fdac39d3276779bf080d5f
10,179
un-material-tab
Apache License 2.0
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/actions/KotlinAddImportAction.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2022 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.actions import com.intellij.codeInsight.daemon.QuickFixBundle import com.intellij.codeInsight.daemon.impl.ShowAutoImportPass ...
233
null
4912
15,461
9fdd68f908db0b6bb6e08dc33fafb26e2e4712af
18,315
intellij-community
Apache License 2.0
app/src/main/java/com/krm/debitcreditcards/MainActivity.kt
cadet29manikandan
245,153,282
false
null
package com.krm.debitcreditcards import android.app.Activity import android.content.Intent import android.os.Bundle import android.view.View import android.widget.Button import android.widget.LinearLayout import androidx.appcompat.app.AppCompatActivity class MainActivity : AppCompatActivity() { private val create...
1
null
1
1
50dc1cc0ca0b98584299ce4b951ddf3c0bf87340
4,168
DebitCreditCards
Apache License 2.0
feature/account/server/validation/src/main/kotlin/app/k9mail/feature/account/server/validation/ui/OutgoingServerValidationViewModel.kt
thunderbird
1,326,671
false
null
package app.k9mail.feature.account.server.validation.ui import app.k9mail.feature.account.common.domain.AccountDomainContract import app.k9mail.feature.account.oauth.domain.AccountOAuthDomainContract import app.k9mail.feature.account.oauth.ui.AccountOAuthContract import app.k9mail.feature.account.server.certificate.do...
846
null
2467
9,969
8b3932098cfa53372d8a8ae364bd8623822bd74c
1,350
thunderbird-android
Apache License 2.0
app/src/main/java/com/chen/app/ui/main/MainActivity.kt
chen397254698
268,411,455
false
null
package com.chen.app.ui.main import android.view.KeyEvent import com.chen.basemodule.basem.BaseSimActivity class MainActivity : BaseSimActivity() { override val fragment = MainFragment() override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean { return if (keyCode == KeyEvent.KEYCODE_BACK...
1
Kotlin
14
47
85ffc5e307c6171767e14bbfaf992b8d62ec1cc6
452
EasyAndroid
Apache License 2.0
compiler/testData/codegen/box/inference/pcla/issues/kt52838a.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...
// ISSUE: KT-52838 // IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: ANY // REASON: red code (see corresponding diagnostic test) fun box(): String { build { this as DerivedBuildee<*, *> getTypeVariableA() getTypeVariableB() } return "OK" } open class Buildee<TVA, TVB> { fun getTy...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
693
kotlin
Apache License 2.0
mobile_app1/module364/src/main/java/module364packageKt0/Foo955.kt
uber-common
294,831,672
false
null
package module364packageKt0; annotation class Foo955Fancy @Foo955Fancy class Foo955 { fun foo0(){ module364packageKt0.Foo954().foo6() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun foo6(){ foo5(...
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
327
android-build-eval
Apache License 2.0
js/js.translator/testData/box/simple/classInstantiation.kt
JetBrains
3,432,266
false
null
// EXPECTED_REACHABLE_NODES: 1282 package foo class Test() { } fun box(): String { var test = Test() return "OK" }
184
null
5691
48,625
bb25d2f8aa74406ff0af254b2388fd601525386a
124
kotlin
Apache License 2.0
ordercenter/src/main/java/ruolan/com/ordercenter/data/protocol/SubmitOrderReq.kt
wuyinlei
117,832,134
false
null
package ruolan.com.ordercenter.data.protocol /** * Created by wuyinlei on 2018/2/6. * * @function 订单提交请求 */ data class SubmitOrderReq(val orderId: Int)
1
null
1
2
2b388a915760c6f85dc1523b42cf11446c3ff63f
157
CNMarket4Kotlin
Apache License 2.0
idea/testData/refactoring/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/lambdaArg.kt
JakeWharton
99,388,807
true
null
package test fun foo(n: Int, <caret>f: (Int) -> Unit) { println(n) } fun bar() { foo(10) { n -> println(n) } }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
120
kotlin
Apache License 2.0
plot-config-portable/src/commonMain/kotlin/jetbrains/datalore/plot/config/CompositeFigureConfig.kt
JetBrains
176,771,727
false
null
/* * Copyright (c) 2023. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package org.jetbrains.letsPlot.core.spec.config import org.jetbrains.letsPlot.commons.geometry.DoubleVector import org.jetbrains.letsPlot.core.plot.base.theme.FontFamilyRegis...
97
Kotlin
51
889
c5c66ceddc839bec79b041c06677a6ad5f54e416
6,301
lets-plot
MIT License
src/test/kotlin/scheduling/TaskManagerSchedulingRabbitTest.kt
vchain-dev
591,961,105
false
{"Kotlin": 81047}
import brokers.RabbitMQBroker import com.zamna.kotask.TaskManager import io.kotest.core.extensions.install import io.kotest.core.spec.style.FunSpec import io.kotest.extensions.testcontainers.TestContainerExtension import org.testcontainers.containers.PostgreSQLContainer import org.testcontainers.containers.wait.strateg...
2
Kotlin
0
3
248352194bcfec700ab61fa1e6a09cb3897f0244
1,428
kotask
MIT License
app/src/main/kotlin/com/goodwy/keyboard/lib/compose/FlorisDropdownMenu.kt
Goodwy
811,363,624
false
{"Kotlin": 2084011, "Python": 12567, "Nix": 2785, "CMake": 1970, "Rust": 330, "C": 34, "Shell": 10}
/* * Copyright (C) 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
505
Kotlin
403
7
472b7eb1a9efcf6e12e55474698f7cc3254c1341
5,782
Keyboard
Apache License 2.0
test-common/src/main/kotlin/vurderingsperiode/VurderingsperiodeLovligOppholdTestData.kt
navikt
227,366,088
false
{"Kotlin": 10090270, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209}
package no.nav.su.se.bakover.test.vurderingsperiode import no.nav.su.se.bakover.common.tid.Tidspunkt import no.nav.su.se.bakover.common.tid.periode.Periode import no.nav.su.se.bakover.common.tid.periode.år import no.nav.su.se.bakover.test.fixedTidspunkt import vilkår.common.domain.Vurdering import vilkår.lovligopphold...
3
Kotlin
1
1
bb278ececbe5bc2156fe2ec295e516e3233e780f
1,113
su-se-bakover
MIT License
test/relations/RelationTest.kt
miguelalejandromorenobarrientos
718,698,606
false
{"Kotlin": 60353}
package relations import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Test /** * @author <NAME>, v0.1.0 */ class RelationTest { @Test @DisplayName("Generic") fun generic() { val rcubes = "cubes" rel Relation( IntRange(0,4).toSet(), ...
0
Kotlin
0
0
cd24d10b77b6ce0d965ce39915b5d2ed75326e7f
5,369
relations
MIT License
core-kotlin-modules/core-kotlin-9/src/test/kotlin/com/baeldung/whenenum/Enum.kt
Baeldung
260,481,121
false
{"Kotlin": 1855665, "Java": 48276, "HTML": 4883, "Dockerfile": 292}
package com.baeldung.whenenum enum class Day { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY } enum class Color { RED, GREEN, BLUE } fun getColorDescription(color: Color): String { return when (color) { Color.RED -> "The color is red." Color.GREEN -> "The color is green." ...
8
Kotlin
294
465
f1ef5d5ded3f7ddc647f1b6119f211068f704577
959
kotlin-tutorials
MIT License
app/src/main/java/com/morj12/cloudlist/data/local/dbmodel/ItemDbModel.kt
morj12
614,143,898
false
null
package com.morj12.cloudlist.data.local.dbmodel import androidx.room.Entity import androidx.room.ForeignKey import androidx.room.ForeignKey.CASCADE import androidx.room.PrimaryKey @Entity(tableName = "item", foreignKeys = [ForeignKey( entity = CartDbModel::class, parentColumns = arrayOf("timestamp"), chil...
0
Kotlin
0
0
78eace6dd8d884ef2002be081593484eebc79538
556
cloud-list
MIT License
solar/src/main/java/com/chiksmedina/solar/outline/money/Wallet2.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.outline.money import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Compan...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
6,824
SolarIconSetAndroid
MIT License
app/src/main/java/io/github/rsookram/notesmkii/Dependencies.kt
rsookram
284,155,130
false
null
package io.github.rsookram.notesmkii import androidx.activity.ComponentActivity import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import java.util.concurrent.Executors object Dependencies { fun viewModel(activity: ComponentActivity): MainViewModel { val bgExecutor = Executor...
0
Kotlin
0
1
b8b2c4ceea39ce2c70d78f6273f4a35e80f65f28
725
NotesMkII
Apache License 2.0
samples/android-weatherapp-mvvm/app/src/main/kotlin/org/koin/sampleapp/model/DailyForecastModel.kt
hansvdam
120,591,321
true
{"Shell": 289}
package org.koin.sampleapp.model import java.util.* data class DailyForecastModel(val forecastString: String, val icon: String, val temperatureLow: String, val temperatureHigh: String) { val id = UUID.randomUUID().toString() val temperatureString = "$temperatureLow°C - $temperatureHigh°C" }
0
Shell
0
0
0f0ee933f3b02f0a77e8705b4de47b6f0b01441d
305
koin-samples
Apache License 2.0
app/src/main/java/it/reti/percorsi/school/ui/ClassroomList/ClassroomsListFragment.kt
daviogg
233,260,713
false
null
package it.reti.percorsi.school.ui.ClassroomList import android.content.Context import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvider import ...
0
Kotlin
0
0
5f8c6161fae7ae9d8d370881ffa23fd3ffe30960
2,026
AndroidProject
MIT License
core/test/src/main/kotlin/dev/pott/abonity/core/test/config/entities/TestConfigFactories.kt
JohannesPtaszyk
695,929,733
false
{"Kotlin": 517175}
package dev.pott.abonity.core.test.config.entities import dev.pott.abonity.core.entity.config.Config import dev.pott.abonity.core.entity.config.LegalConfig const val TEST_PRIVACY_POLICY_URL = "https://example.com/privacy" const val TEST_IMPRINT_URL = "https://example.com/imprint" fun createTestConfig(legal: LegalCon...
12
Kotlin
0
2
12d657c4efdfac44be19f7c5c4cbfaf13f4401b4
628
Abonity
Apache License 2.0
pinpit/src/main/kotlin/de/mobanisto/pinpit/desktop/application/tasks/AbstractNotarizationTask.kt
mobanisto
563,553,784
false
{"Kotlin": 427333, "Shell": 12676}
/* * Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file. */ package de.mobanisto.pinpit.desktop.application.tasks import de.mobanisto.pinpit.desktop.application.dsl.MacOSNotarizationSe...
21
Kotlin
0
43
178086bf6530f36bac5f2bd62439e8e344fe6aca
1,104
pinpit-gradle-plugin
Apache License 2.0
kodein-di-generic-jvm/src/test/kotlin/org/kodein/di/generic/GenericJvmTests_17_NewInstance.kt
Inego
229,547,014
true
{"Kotlin": 683683, "Java": 16368}
package org.kodein.di.generic import org.kodein.di.Kodein import org.kodein.di.newInstance import org.kodein.di.test.FixMethodOrder import org.kodein.di.test.MethodSorters import org.kodein.di.test.Person import kotlin.test.* @FixMethodOrder(MethodSorters.NAME_ASCENDING) class GenericJvmTests_17_NewInstance { cl...
0
null
0
0
7a25cde6fa8e998ddba2f9cb6275d902aa780b66
1,278
Kodein-DI
MIT License
src/main/kotlin/com/bfkelsey/api/jdbi/ProviderDAO.kt
bfkelsey
49,966,208
false
null
package com.bfkelsey.api.jdbi import com.bfkelsey.api.core.Provider import com.bfkelsey.api.mappers.ProviderMapper import org.skife.jdbi.v2.sqlobject.* import org.skife.jdbi.v2.sqlobject.customizers.RegisterMapper @RegisterMapper(ProviderMapper::class) interface ProviderDAO { @SqlUpdate("INSERT into providers (na...
0
Kotlin
1
3
9831193cc3f70b3faf6d9c482d0ed6f321eda531
913
dropwizard-kotlin-api-example
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/assessrisksandneeds/integration/AssessmentNeedsControllerTest.kt
ministryofjustice
373,137,019
false
null
package uk.gov.justice.digital.hmpps.assessrisksandneeds.integration import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Test import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient import org.springframework.test.we...
2
Kotlin
0
0
0906bd9add955bf98e9eddfc8efe8cb507012f62
4,506
hmpps-assess-risks-and-needs
MIT License
multisrc/overrides/mangaraw/comick/src/Comick.kt
tachiyomiorg
79,658,844
false
null
package eu.kanade.tachiyomi.extension.ja.comick import eu.kanade.tachiyomi.multisrc.mangaraw.MangaRaw import eu.kanade.tachiyomi.network.GET import okhttp3.Request // Comick has a slightly different layout in html, even though it looks exactly the same to MangaRaw visually class Comick : MangaRaw("Comick", "https://c...
587
Kotlin
729
1,790
a99eb0e6ef535015076b75aaddb82b7b79a3210c
658
tachiyomi-extensions
Apache License 2.0
src/main/kotlin/com/mattprecious/stacker/command/log/Short.kt
mattprecious
672,135,222
false
{"Kotlin": 88158}
package com.mattprecious.stacker.command.log import com.mattprecious.stacker.command.StackerCommand import com.mattprecious.stacker.command.name import com.mattprecious.stacker.command.parentSha import com.mattprecious.stacker.command.prettyTree import com.mattprecious.stacker.config.ConfigManager import com.mattpreci...
16
Kotlin
1
9
1de57873014854bab9e4d288d452cc3d12d73dba
1,377
stacker
Apache License 2.0
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/ConvertRange.kt
Konyaco
574,321,009
false
null
package com.konyaco.fluent.icons.regular import androidx.compose.ui.graphics.vector.ImageVector import com.konyaco.fluent.icons.Icons import com.konyaco.fluent.icons.fluentIcon import com.konyaco.fluent.icons.fluentPath public val Icons.Regular.ConvertRange: ImageVector get() { if (_convertRange != null...
1
Kotlin
3
83
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
4,475
compose-fluent-ui
Apache License 2.0
src/main/kotlin/uk/gov/gdx/datashare/queue/SqsProperties.kt
alphagov
549,031,617
false
null
package uk.gov.gdx.datashare.queue import org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties(prefix = "sqs") data class SqsProperties( val provider: String = "aws", val region: String = "eu-west-2", val localstackUrl: String = "http://localhost:4566", private val queu...
2
Kotlin
0
9
999d55ced90e778afe0d7ab0ddbc2ae9201b6c82
2,351
gdx-data-share-poc
MIT License
buildSrc/src/main/kotlin/IdeUtils.kt
ktorio
40,136,600
false
null
/* * Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ import org.jetbrains.kotlin.gradle.dsl.* import org.jetbrains.kotlin.gradle.plugin.mpp.* import org.jetbrains.kotlin.konan.target.* fun KotlinMultiplatformExtension.createIdeaTarget(name: Stri...
269
Kotlin
806
9,709
9e0eb99aa2a0a6bc095f162328525be1a76edb21
626
ktor
Apache License 2.0
cx-test/src/test/kotlin/io/nuvalence/cx/tools/cxtest/model/TestScenario.kt
Nuvalence
641,553,939
false
null
package io.nuvalence.cx.tools.cxtest.model data class TestStep( val input: List<String>, val expectedResponse: String ) { constructor(input: String, expectedResponse: String) : this(input.split("\n"), expectedResponse) } data class TestScenario( val title: String, val testSteps: List<TestStep> )
1
Kotlin
0
0
8cf46e20aee9acf7ff5bcdea7cb485b2495e6d6c
311
dialogflow-cx-tools
MIT License
src/nativeMain/kotlin/Day8.kt
rubengees
576,436,006
false
{"Kotlin": 67428}
class Day8 : Day { private class Matrix(size: Int) { private val data: Array<Array<Int>> = (0 until size).map { arrayOfZeros(size) }.toTypedArray() operator fun set(x: Int, y: Int, value: Int) { this.data[x][y] = value } operator fun get(x: Int, y: Int): Int { ...
0
Kotlin
0
0
21f03a1c70d4273739d001dd5434f68e2cc2e6e6
2,677
advent-of-code-2022
MIT License
vertk-kodein-web/src/main/java/com/ufoscout/vertk/kodein/web/RouterService.kt
ufoscout
98,320,761
false
{"Kotlin": 109613}
package com.ufoscout.vertk.kodein.web import com.ufoscout.vertk.kodein.VertkKodeinStartable import io.vertx.ext.web.Router interface RouterService: VertkKodeinStartable { fun router(): Router }
0
Kotlin
0
1
9a033697797a8852fb5a604e4af0de030f71eb50
201
vertk
MIT License
app/src/main/java/at/roteskreuz/stopcorona/screens/dashboard/DashboardActivity.kt
Turbo87
258,528,182
true
{"Kotlin": 632833, "HTML": 202739, "Shell": 1977}
package at.roteskreuz.stopcorona.screens.dashboard import android.app.Activity import android.content.Context import android.content.Intent import androidx.fragment.app.Fragment import at.roteskreuz.stopcorona.screens.base.CoronaPortraitBaseActivity import at.roteskreuz.stopcorona.skeleton.core.screens.base.activity.g...
0
null
0
0
e7d02da11d276c0bcc4a9dcd2bc8e77cce727cf9
1,082
stopp-corona-android
Apache License 2.0
src/test/kotlin/TestTypes.kt
o-korpi
671,661,841
false
null
import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.HikariDataSource import io.query4k.Query4k import io.query4k.serializers.BigDecimalSerializer import kotlinx.coroutines.runBlocking import kotlinx.serialization.Serializable import org.jdbi.v3.core.statement.UnableToExecuteStatementException import org.juni...
0
Kotlin
0
0
8e1b760bf89c863cbf9d571dc6a170cbd77332df
4,912
query4k
MIT License
shared/src/commonMain/kotlin/com/pablichj/templato/component/demo/treebuilders/DrawerTreeBuilder.kt
pablichjenkov
135,388,611
false
null
package com.pablichj.templato.component.demo.treebuilders import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.* import com.pablichj.templato.component.demo.CustomTopBarComponent import com.pablichj.templato.component.core.NavItem import com.pablichj.templato.component.core.drawer...
0
Kotlin
0
24
3816574c0b67fd4fc8dd749aab4af1b4f9362451
3,247
component-toolkit
The Unlicense
core/src/main/kotlin/com/github/zeldigas/text2confl/core/upload/PageUploadOperationsImpl.kt
zeldigas
425,511,098
false
{"Kotlin": 414993, "HTML": 22329, "Ruby": 9283, "Slim": 8549, "Dockerfile": 1031, "Shell": 547, "Batchfile": 89}
package com.github.zeldigas.text2confl.core.upload import com.github.zeldigas.confclient.* import com.github.zeldigas.confclient.model.ConfluencePage import com.github.zeldigas.confclient.model.PageProperty import com.github.zeldigas.text2confl.convert.EditorVersion import com.github.zeldigas.text2confl.convert.Page i...
9
Kotlin
1
8
2480626118c458adf5ddb369f9f872423af0d401
11,303
text2confl
Apache License 2.0
app/src/main/java/com/fairybow/caloriediary/data/Repository.kt
fairybow
785,890,629
false
{"Kotlin": 58702}
package com.fairybow.caloriediary.data import com.fairybow.caloriediary.data.biometrics.BiometricsTableRow import com.fairybow.caloriediary.data.day.DayTableRow import com.fairybow.caloriediary.data.preferences.PreferencesTableRow import com.fairybow.caloriediary.debug.Logger import com.fairybow.caloriediary.utilities...
0
Kotlin
0
0
ec24a9d3fec4e621a02a57f7e7d4136c35c0fe6d
6,021
CalorieDiary
MIT License
fiks-arkiv-forenklet-arkivering/src/main/kotlin/no/ks/fiks/io/arkiv/model/metadatakatalog/v2/GradType.kt
ks-no
462,694,499
false
{"Kotlin": 138061, "Java": 12286}
package no.ks.fiks.io.arkiv.model.metadatakatalog.v2 import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Grad enum class GradType(val value: Grad) { STRENGT_HEMMELIG(Grad().also { it.kode = "SH"; it.beskrivelse = "Strengt hemmelig" }), HEMMELIG(Grad().also { it.kode = "H"; it.beskrivelse = "Hemmelig" })...
2
Kotlin
0
0
85349e50778b9c468e47370c90653a33b1c23c73
653
fiks-arkiv-client-java
MIT License
app/src/main/java/com/kevalpatel2106/yip/widget/config/WidgetConfigActivity.kt
kevalpatel2106
166,789,807
false
null
package com.kevalpatel2106.yip.widget.config import android.app.Activity import android.appwidget.AppWidgetManager import android.content.Intent import android.os.Bundle import android.widget.RadioGroup import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.core.os.bundleOf...
0
Kotlin
1
16
61311ba7d40802ba7fed87b2f16b72089c6f7746
2,738
year-in-progress
Apache License 2.0
features/weather/src/test/java/io/dotanuki/demos/weather/data/WeatherInfrastructureTests.kt
ubiratansoares
469,357,255
false
{"Kotlin": 90872, "Shell": 2104}
package io.dotanuki.demos.weather.data import com.google.common.truth.Truth.assertAbout import com.google.common.truth.Truth.assertThat import io.dotanuki.demos.core.networking.RestServiceBuilder import io.dotanuki.demos.core.networking.errors.RemoteServiceIntegrationError import io.dotanuki.demos.testing.commons.trut...
0
Kotlin
0
0
a134b7d01cfe14dc281e9c284949c89f9dd2ba5a
2,755
simple-weather
MIT License
kaadin-core/src/test/kotlin/ch/frankel/kaadin/interaction/NativeButtonTest.kt
nfrankel
67,986,056
false
null
/* * Copyright 2016 Nicolas Fränkel * * 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...
3
Kotlin
12
45
0d45069d10605da60253059ced4ffedc740de133
2,544
kaadin
Apache License 2.0
src/main/kotlin/no/nav/tiltaksarrangor/client/amtarrangor/dto/ArrangorMedOverordnetArrangor.kt
navikt
616,496,742
false
{"Kotlin": 443235, "PLpgSQL": 635, "Dockerfile": 161}
package no.nav.tiltaksarrangor.client.amtarrangor.dto import no.nav.tiltaksarrangor.ingest.model.ArrangorDto import no.nav.tiltaksarrangor.repositories.model.ArrangorDbo import java.util.UUID data class ArrangorMedOverordnetArrangor( val id: UUID, val navn: String, val organisasjonsnummer: String, val overordnetA...
2
Kotlin
0
2
b282ef7811697d1ca43799076a57fd0651951988
555
amt-tiltaksarrangor-bff
MIT License
chronolens-test/src/main/kotlin/org/chronolens/test/api/analysis/OptionsProviderBuilder.kt
andreihh
83,168,079
false
null
/* * Copyright 2022 <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
null
1
6
8855da7749ef52596ccef39344f59d66b9512399
1,214
chronolens
Apache License 2.0
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/HospitalSolid.kt
DevSrSouza
311,134,756
false
null
package compose.icons.lineawesomeicons 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.Miter ...
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,967
compose-icons
MIT License