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
src/main/kotlin/astminer/parse/antlr/python/AntlrPythonFunctionInfo.kt
JetBrains-Research
161,813,380
false
null
package astminer.parse.antlr.python import astminer.common.model.* import astminer.parse.antlr.* import astminer.parse.findEnclosingElementBy import mu.KotlinLogging private val logger = KotlinLogging.logger("Antlr-python-function-info") class AntlrPythonFunctionInfo(override val root: AntlrNode, override val filePa...
2
null
66
192
c0bb987ac7adba3fe96a2df206160b06da73c793
4,595
astminer
MIT License
core/src/commonMain/kotlin/com/xebia/functional/xef/prompt/templates/templates.kt
xebia-functional
629,411,216
false
{"Kotlin": 4213138, "TypeScript": 67083, "Mustache": 17787, "CSS": 7836, "Java": 6473, "JavaScript": 4293, "Python": 2757, "HTML": 679}
package com.xebia.functional.xef.prompt.templates import com.xebia.functional.xef.llm.models.chat.Message import com.xebia.functional.xef.llm.models.chat.Role import com.xebia.functional.xef.prompt.message fun system(context: String): Message = context.message(Role.SYSTEM) fun assistant(context: String): Message = c...
39
Kotlin
11
119
0db20cf0c61a718d3c85ef6c3d49d5e5925ec145
2,039
xef
Apache License 2.0
solve-streams/src/commonTest/kotlin/it/unibo/tuprolog/solve/streams/systemtest/TestStreamsAtomic.kt
tuProlog
230,784,338
false
null
package it.unibo.tuprolog.solve.streams.systemtest import it.unibo.tuprolog.solve.SolverFactory import it.unibo.tuprolog.solve.TestAtomic import it.unibo.tuprolog.solve.streams.StreamsSolverFactory import kotlin.test.Test class TestStreamsAtomic : TestAtomic, SolverFactory by StreamsSolverFactory { private val p...
92
null
14
93
3223ffc302e5da0efe2b254045fa1b6a1a122519
898
2p-kt
Apache License 2.0
couchbase-lite-ee/src/commonMain/ee/kotbase/ConnectionStatus.kt
jeffdgr8
518,984,559
false
null
/* * Copyright 2022-2023 Jeff Lockhart * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1
null
1
7
188723bf0c4609b649d157988de44ac140e431dd
1,115
kotbase
Apache License 2.0
services/csm.cloud.reset/src/main/kotlin/com/bosch/pt/iot/smartsite/dataimport/project/model/WorkArea.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: <NAME> Power Tools GmbH, 2018 - 2021 * * ************************************************************************ */ package com.bosch.pt.iot.smartsite.dataimport.project.model import com.bosch.pt.iot.smartsite.da...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
691
bosch-pt-refinemysite-backend
Apache License 2.0
ctp-validators/src/main/kotlin/com/commercetools/rmf/validators/TypesRule.kt
commercetools
136,635,215
false
null
package com.commercetools.rmf.validators import io.vrap.rmf.raml.model.types.util.TypesSwitch import org.eclipse.emf.common.util.Diagnostic import org.eclipse.emf.ecore.EObject abstract class TypesRule(override val severity: RuleSeverity = RuleSeverity.ERROR, val options: List<RuleOption>? = null) : TypesSwitch<List<...
21
null
6
14
1d93054f2117374f2f9384947c9d93a51f53f5ab
550
rmf-codegen
Apache License 2.0
dapp/src/main/kotlin/jp/co/soramitsu/dapp/config/DappContextConfiguration.kt
d3ledger
183,171,401
false
null
/* * Copyright D3 Ledger, Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package jp.co.soramitsu.dapp.config import com.d3.commons.config.RMQConfig import com.d3.commons.config.loadRawLocalConfigs import com.d3.commons.healthcheck.HealthCheckEndpoint import com.d3.commons.sidechain.iroha.Reliab...
1
Kotlin
1
2
e3c0701897721030bb3faf678b197297120cc6e3
1,675
iroha-dapp
Apache License 2.0
sample-app/src/main/java/com/binbo/glvideo/sample_app/ui/advanced/activity/VideoCutSelectActivity.kt
bigbugbb
590,505,224
false
{"C": 7685938, "C++": 4393829, "Kotlin": 644772, "Java": 564403, "GLSL": 23970, "Objective-C": 7449, "CMake": 3326}
package com.binbo.glvideo.sample_app.ui.advanced.activity import android.content.pm.ActivityInfo import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.binbo.glvideo.sample_app.R import com.binbo.glvideo.sample_app.ui.advanced.fragment.VideoCutSelectFragment import com.binbo.glvideo.sample...
0
C
0
10
e7384ea4f23ab8cc89d5701dcedaf8cdd6ecaf17
787
glvideo
MIT License
app/src/main/java/com/example/dentalapp/model/DokterGigi.kt
bilalfauzy
783,091,256
false
{"Kotlin": 160751}
package com.example.dentalapp.model import com.google.firebase.firestore.IgnoreExtraProperties @IgnoreExtraProperties data class DokterGigi( var id: String? = null, var nama: String? = null, var gender: String? = null, var spesialis: String? = null, var umur: String? = null, var fotoDokterUrl:...
0
Kotlin
0
0
f8bc8e672291d45fbaec325431e8f3d12a9a5067
371
Android-DentistReservation
MIT License
src/main/kotlin/org/myteer/novel/gui/volume/VolumeToolBar.kt
myteer
435,773,999
false
{"Kotlin": 631442, "CSS": 50750}
/* * Copyright (c) 2021 MTSoftware * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
0
6bea86cbc2b2408303175f0558262092a9562bb2
3,452
novel
Apache License 2.0
core-web-starter/src/main/kotlin/com/labijie/application/web/interceptor/HumanVerifyInterceptor.kt
hongque-pro
309,874,586
false
null
package com.labijie.application.web.interceptor import com.labijie.application.ApplicationErrors import com.labijie.application.component.IHumanChecker import com.labijie.application.web.annotation.HumanVerify import com.labijie.application.web.getRealIp import com.labijie.application.web.handler.ErrorResponse import ...
0
null
0
8
9e2b1f76bbb239ae9029bd27cda2d17f96b13326
2,064
application-framework
Apache License 2.0
app/src/main/java/com/example/memoryexplorer/ui/screens/settings/SettingsScreen.kt
NiccoloBert0zzi
788,964,132
false
{"Kotlin": 100143}
package com.example.memoryexplorer.ui.screens.settings import android.widget.Toast import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout...
0
Kotlin
0
1
e1620dd968fc101a3152ba50d27880f158d2bbc5
6,295
MemoryExplorer
MIT License
src/main/java/morefirework/mod/block/entity/GunpowderBarrelBlockEntity.kt
Sparkierkan7
617,247,442
false
null
package morefirework.mod.block.entity import morefirework.mod.MorefireworkMod import net.minecraft.block.BlockState import net.minecraft.block.entity.BlockEntity import net.minecraft.nbt.NbtCompound import net.minecraft.network.Packet import net.minecraft.network.listener.ClientPlayPacketListener import net.minecraft....
0
Kotlin
0
0
298d3b06c408b2c93ef379b4ab693905d07270a7
1,279
more_explosives_mod
MIT License
service/src/main/java/com/tink/service/statistics/StatisticsService.kt
tink-ab
245,144,086
false
null
package com.tink.service.statistics import com.tink.model.misc.Amount import com.tink.model.misc.ExactNumber import com.tink.model.statistics.Statistics import com.tink.model.time.Period import com.tink.model.user.UserProfile import com.tink.rest.apis.StatisticsApi import com.tink.rest.models.StatisticQuery import com...
1
null
6
1
e2202bb6892e5310feaf5fa51a35714302ddb7b0
2,830
tink-core-android
MIT License
app/src/main/java/ir/android/filimo/api/RetrofitClient.kt
mahsasa71
666,846,099
false
null
package ir.android.filimo.api import retrofit2.Retrofit object RetrofitClient { var retrofit=Retrofit.Builder() .baseUrl("http://mobilemasters.ir/apps/filimo-android/") .build() }
0
Kotlin
0
0
e1ce42b484e95102194248a2a07d2efc125c4465
201
filimo
MIT License
app/src/main/java/com/transcodium/wirepurse/classes/AppAlert.kt
iagyei
165,226,708
false
null
/** # Copyright 2018 - Transcodium Ltd. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License v2.0 which accompanies this distribution. # # The Apache License v2.0 is available at # http://www.opensource.org/licenses/apache2.0.php # # You are...
1
null
1
1
a4074defab03573dce30226cbb309eb1d7ea70c1
3,018
WirePurse-Android
Apache License 2.0
src/main/kotlin/reactor/kotlin/core/publisher/FluxExtensions.kt
reactor
185,153,235
false
null
/* * Copyright (c) 2011-2018 Pivotal Software Inc, All Rights Reserved. * * 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 * * Unle...
82
null
960
91
f885aef3e1914cb42ee6a8ca9d9f0d6bd8f2e829
5,439
reactor-kotlin-extensions
Apache License 2.0
remote-robot/src/main/kotlin/com/intellij/remoterobot/fixtures/dataExtractor/server/textCellRenderers/JComboBoxTextCellReader.kt
JetBrains
301,411,608
false
null
package com.intellij.remoterobot.fixtures.dataExtractor.server.textCellRenderers import com.intellij.remoterobot.fixtures.dataExtractor.server.TextParser import org.assertj.swing.cell.JComboBoxCellReader import java.awt.Dimension import javax.swing.JComboBox import javax.swing.JList import javax.swing.ListCellRenderer...
7
null
27
98
f89c6eb1976a10dbb9feff72fcb778716649c8f5
834
intellij-ui-test-robot
Apache License 2.0
src/io/File.kt
q-lang
128,704,097
false
null
package io import kotlin.coroutines.experimental.buildSequence private fun lines(filename: String) = buildSequence { java.io.File(filename).useLines { yieldAll(it) } } data class File(val filename: String) { fun lines(): Sequence<String> { return lines(filename) } }
0
Kotlin
1
0
2d8a8b4d32ae8ec5b8ed9cce099bd58f37838833
281
q-lang
MIT License
wallet/src/main/java/com/fzm/chat/wallet/ui/coins/CoinViewModel.kt
txchat
507,831,442
false
{"Kotlin": 2234450, "Java": 384844}
package com.fzm.chat.wallet.ui.coins import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.asLiveData import com.fzm.chat.biz.base.AppConst import com.fzm.chat.core.session.LoginDelegate import com.fzm.wallet.sdk.BWallet import com.fzm.wallet.sdk.db.entity.AddCoinTabBea...
0
Kotlin
1
1
6a3c6edf6ae341199764d4d08dffd8146877678b
2,636
ChatPro-Android
MIT License
kzmq-cio/src/commonMain/kotlin/org/zeromq/internal/InvalidReadFrame.kt
ptitjes
386,722,015
false
null
/* * Copyright (c) 2021-2024 <NAME> and Kzmq contributors. * Use of this source code is governed by the Apache 2.0 license. */ package org.zeromq.internal internal class InvalidReadFrame( override val message: String, override val cause: Throwable? = null ) : ProtocolError(message, cause) internal fun inv...
21
null
1
6
1e6c7a35b7dc93b34a8f6da9d56fd5b3335dd790
390
kzmq
Apache License 2.0
springboot-flutter/springboot/src/main/kotlin/com/ghrcosta/planningpoker/controller/TaskController.kt
ghrcosta
463,750,399
false
{"Kotlin": 100515, "Dart": 41347, "HTML": 1838}
package com.ghrcosta.planningpoker.controller import com.ghrcosta.planningpoker.service.RoomService import io.swagger.v3.oas.annotations.Operation import io.swagger.v3.oas.annotations.responses.ApiResponse import io.swagger.v3.oas.annotations.tags.Tag import kotlinx.coroutines.runBlocking import org.springframework.ht...
0
Kotlin
0
0
98b7f3dae0ede6fa4ee1a050bd7bad0672667099
1,294
planning-poker
MIT License
app/src/main/java/com/raheemjnr/jr_music/ui/components/BottomNavBar.kt
RaheemJnr
489,742,823
false
{"Kotlin": 153287}
package com.raheemjnr.jr_music.ui.components import MainScreen import android.annotation.SuppressLint import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.animation.animateContentSize import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import...
0
Kotlin
0
0
43a64f07137c6b3be5b5a381c31ee9a6a57a7be5
4,151
Jr-Music-Player
MIT License
domain/client/src/main/kotlin/io/github/siyual_park/client/domain/auth/ClientPrincipal.kt
siyul-park
403,557,925
false
null
package io.github.siyual_park.client.domain.auth import io.github.siyual_park.auth.domain.Principal import io.github.siyual_park.auth.domain.scope_token.ScopeToken import io.github.siyual_park.client.entity.ClientAssociable import io.github.siyual_park.ulid.ULID data class ClientPrincipal( override val id: ULID =...
10
Kotlin
0
18
9e01acd48ed3d47b43b0126482ea160e18b88099
446
spring-webflux-multi-module-boilerplate
MIT License
codebase/android/feature/accounts/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/accounts/edit_account/viewmodel/EditAccountScreenViewModel.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1907509}
package com.makeappssimple.abhimanyu.financemanager.android.feature.accounts.edit_account.viewmodel import androidx.compose.ui.text.TextRange import androidx.compose.ui.text.input.TextFieldValue import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.viewModelScope import com.makeappssimple.abhimanyu.fina...
12
Kotlin
0
3
e71d6e6f959dfbf2bcf555a13a115d83c796b11b
9,807
finance-manager
Apache License 2.0
core/src/main/kotlin/io/rover/campaigns/core/tracking/Interfaces.kt
RoverPlatform
177,201,916
false
null
package io.rover.campaigns.core.tracking import io.rover.campaigns.core.data.domain.Attributes import java.util.UUID interface SessionStoreInterface { /** * Enters a session. * * Returns the new session's UUID, or, if a session is already active, null. */ fun enterSession(sessionKey: Any, ...
1
null
1
1
5f06b8393a7848c6f038819f84db772faa3ccb6c
2,134
rover-campaigns-android
Apache License 2.0
longan/src/main/java/com/dylanc/longan/SystemBars.kt
DylanCaiCoding
299,663,353
false
{"Kotlin": 234095}
/* * Copyright (c) 2021. Dylan Cai * * 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 t...
9
Kotlin
66
539
c21dd7e9b84e4fd65c424e9cfc524dbf35f9761b
6,631
Longan
Apache License 2.0
src/main/kotlin/com/github/poolParty/pullPartyBot/handler/message/PullPartyMessages.kt
pool-party
276,690,235
false
null
package com.github.poolParty.pullPartyBot.handler.message object PullPartyMessages { val empty = """ I could call up all parties, but it doesn't sound like a good idea. 🤪 Perhaps you forgot to enter the party names Follow the /party command with the names of existing parties ...
2
Kotlin
0
8
1815ce56b70e5ba6b9d708c00099969fc026d8a6
1,012
pull-party-bot
MIT License
app/src/main/java/com/jinesh/mpokket/modules/repodetail/viewmodel/OwnerViewModel.kt
babashaik17
281,186,737
true
{"Kotlin": 48703}
package com.jinesh.mpokket.modules.repodetail.viewmodel import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.jinesh.mpokket.entity.Repo import com.jinesh.mpokket.entity.Owner import com.jinesh.mpokket.repo.OwnerRepo import kotlinx.coroutines....
0
null
0
0
4008b9d4c2f0a1aaadb96456ce659b51ebfbc211
1,194
MVVM-offline-cache-demo
Apache License 2.0
nd4j/samediff-import/samediff-import-onnx/src/main/kotlin/org/nd4j/samediff/frameworkimport/onnx/definitions/implementations/Dropout.kt
kgoderis
450,799,656
true
{"Text": 21, "Shell": 31, "Groovy": 1, "Batchfile": 1, "Maven POM": 95, "Markdown": 65, "Ignore List": 4, "Kotlin": 247, "Java": 4946, "XML": 32, "Java Properties": 29, "Protocol Buffer Text Format": 8, "PureBasic": 121, "Python": 25, "Protocol Buffer": 123, "C++": 1816, "C": 14, "JavaScript": 33, "Ruby": 5, "Starlark"...
package org.nd4j.samediff.frameworkimport.onnx.definitions.implementations import org.nd4j.autodiff.samediff.SDVariable import org.nd4j.autodiff.samediff.SameDiff import org.nd4j.autodiff.samediff.internal.SameDiffOp import org.nd4j.samediff.frameworkimport.ImportGraph import org.nd4j.samediff.frameworkimport.hooks.Pr...
634
null
5
3
15cbb3133c967681a831819630bd6f07e0dbeba2
1,804
deeplearning4j
Apache License 2.0
app/src/test/kotlin/no/nav/arbeidssokerregisteret/arena/adapter/VerifiserSlettingTopologyTest.kt
navikt
739,364,491
false
{"Kotlin": 57570}
package no.nav.arbeidssokerregisteret.arena.adapter import io.kotest.core.spec.style.FreeSpec import io.kotest.matchers.nulls.shouldNotBeNull import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNotBe import no.nav.arbeidssokerregisteret.arena.adapter.utils.* import no.nav.paw.arbeidssokerregisteret.aren...
0
Kotlin
0
0
363a08f77da1839ef575b6b4a534a9895b36107e
2,217
paw-arbeidssokerregisteret-arena-adapter
MIT License
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/request/TLRequestAuthBindTempAuthKey.kt
Miha-x64
436,587,061
true
{"Kotlin": 3919807, "Java": 75352}
package com.github.badoualy.telegram.tl.api.request import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT32 import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT64 import com.github.badoualy.telegram.tl.TLObjectUtils.computeTLByte...
1
Kotlin
2
3
1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b
2,695
kotlogram-resurrected
MIT License
src/main/kotlin/com/github/keelar/exprk/internal/Token.kt
Keelar
115,964,472
false
null
package com.github.keelar.exprk.internal internal class Token(val type: TokenType, val lexeme: String, val literal: Any?) { override fun toString(): String { return type.toString() + " " + lexeme + " " + literal } }
2
null
30
98
30c00415a87a53b4bb5e4a2eb7ded20ed1f64b86
276
ExprK
MIT License
compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryValGeneric.kt
JetBrains
3,432,266
false
null
// WITH_STDLIB // WORKS_WHEN_VALUE_CLASS // LANGUAGE: +ValueClasses, +GenericInlineClassParameter import kotlin.test.assertEquals OPTIONAL_JVM_INLINE_ANNOTATION value class Z<T: Int>(private val x: T) { companion object { val xref = Z<Int>::x } } OPTIONAL_JVM_INLINE_ANNOTATION value class L<T: Long>(...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
854
kotlin
Apache License 2.0
app/src/main/java/com/faldez/shachi/ui/search/SearchSuggestionAdapter.kt
faldez
457,580,136
false
null
package com.faldez.shachi.ui.search import android.content.res.ColorStateList import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.faldez.shachi.R import ...
8
null
1
20
6491f53f06ae2aeb6cd786fb9f4fe7cb21958540
2,294
shachi
Apache License 2.0
app/src/main/java/com/faldez/shachi/ui/search/SearchSuggestionAdapter.kt
faldez
457,580,136
false
null
package com.faldez.shachi.ui.search import android.content.res.ColorStateList import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.faldez.shachi.R import ...
8
null
1
20
6491f53f06ae2aeb6cd786fb9f4fe7cb21958540
2,294
shachi
Apache License 2.0
src/app/src/main/java/com/cunyn/android/financesystem/ResultActivity.kt
hottech-jxd
150,100,491
false
null
package com.cunyn.android.financesystem import android.app.Activity import android.os.AsyncTask import android.os.Bundle import android.os.Handler import android.os.Message import android.text.method.ScrollingMovementMethod import android.util.Log import android.view.View import android.widget.ProgressBar import andro...
0
Kotlin
0
1
ce4ed7ad9f6391401e3ce94ccb055c2fe660bf75
8,040
financesystem
Apache License 2.0
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/internal/fragment/impl/DefaultSelector.kt
Xanik
282,687,897
false
null
package org.hexworks.zircon.internal.fragment.impl import org.hexworks.cobalt.databinding.api.binding.bindTransform import org.hexworks.cobalt.databinding.api.collection.ListProperty import org.hexworks.cobalt.databinding.api.extension.createPropertyFrom import org.hexworks.cobalt.databinding.api.extension.toProperty ...
1
null
1
2
bf435cddeb55f7c3a9da5dd5c29be13af8354d0f
3,707
zircon
Apache License 2.0
src/main/kotlin/ru/kontur/cdp4k/protocol/network/MonotonicTime.kt
kinfra
758,916,083
false
{"Kotlin": 93843}
package ru.kontur.cdp4k.protocol.network /** * Monotonically increasing time in seconds since an arbitrary point in the past. */ class MonotonicTime(val value: Double) : Comparable<MonotonicTime> { init { require(value.isFinite()) { "Value must be a finite number: $value" } } override fun compa...
0
Kotlin
0
0
0b7a7a3072a918e49588df4b7843e7c6dc7c350a
681
cdp4k
MIT License
kotlin_new_backend/src/main/kotlin/query/MultipleResultQueryWithParser.kt
capgadsx
306,060,415
true
{"Kotlin": 264698, "Jupyter Notebook": 155496, "Python": 30773, "Go": 27219, "Shell": 329}
package query import org.apache.lucene.document.Document import org.apache.lucene.index.DirectoryReader import org.apache.lucene.queries.function.FunctionScoreQuery import org.apache.lucene.queryparser.classic.QueryParser import org.apache.lucene.search.DoubleValuesSource import org.apache.lucene.search.IndexSearcher ...
0
Kotlin
0
0
725b60b9a7a8878e9c529b4d8210e8f5ec6c1ec4
1,180
SPARQLforHumans
Apache License 2.0
app/src/main/java/dev/kingbond/moveon/ui/packageandmovers/fragMov/itemList/ItemList.kt
Kingbond470
422,909,035
false
{"Kotlin": 129863, "Java": 9137}
package dev.kingbond.moveon.ui.packageandmovers.fragMov.itemList import android.content.Context import android.os.Bundle import android.util.Log import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.wi...
0
Kotlin
0
5
b1f790c6cf43354857f1f98e217fe68bdb3e9e3a
6,927
Move-On
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/pecs/jpc/service/SpreadsheetService.kt
uk-gov-mirror
356,783,334
true
{"Kotlin": 428549, "HTML": 83335, "CSS": 12598, "Shell": 6092, "Mustache": 4485, "Dockerfile": 945}
package uk.gov.justice.digital.hmpps.pecs.jpc.service import org.slf4j.LoggerFactory import org.springframework.security.core.Authentication import org.springframework.stereotype.Service import uk.gov.justice.digital.hmpps.pecs.jpc.auditing.AuditableEvent import uk.gov.justice.digital.hmpps.pecs.jpc.price.Supplier imp...
0
Kotlin
0
0
448660ac4b18cc4c8cf3c137a902ed7a99a9fff4
1,045
ministryofjustice.calculate-journey-variable-payments
MIT License
compose/foundation/foundation-layout/src/commonMain/kotlin/androidx/compose/foundation/layout/Column.kt
androidx
256,589,781
false
{"Kotlin": 102794437, "Java": 64412412, "C++": 9138104, "AIDL": 617598, "Python": 310931, "Shell": 189529, "TypeScript": 40586, "HTML": 35176, "Groovy": 27482, "ANTLR": 26700, "Svelte": 20307, "CMake": 18033, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * 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
Kotlin
937
5,108
89ec14e39cf771106a8719337062572717cbad31
15,197
androidx
Apache License 2.0
CRM/src/test/kotlin/org/example/crm/integrationTest/services/MessageServiceIntegrationTest.kt
M4tT3d
874,249,564
false
{"Kotlin": 354206, "TypeScript": 180680, "JavaScript": 3610, "Dockerfile": 2844, "CSS": 2078, "HTML": 302}
package org.example.crm.integrationTest.services import jakarta.persistence.EntityNotFoundException import org.example.crm.dtos.request.create.CMessageDTO import org.example.crm.dtos.request.filters.MessageParams import org.example.crm.dtos.request.filters.PaginationParams import org.example.crm.integrationTest.contro...
0
Kotlin
0
0
26ff03cc3863e278d0ec6b87ced384122cf66c98
5,855
wa2-project-job-placement
MIT License
f2-client/f2-client-ktor/f2-client-ktor-http/src/jvmTest/kotlin/f2/client/ktor/http/server/command/ServerConsumeCommand.kt
komune-io
746,765,045
false
{"Kotlin": 221432, "Java": 155444, "Gherkin": 24181, "Makefile": 1677, "JavaScript": 1459, "Dockerfile": 963, "CSS": 102}
package f2.client.ktor.http.server.command import f2.dsl.fnc.F2Function import kotlinx.serialization.Serializable typealias ServerConsumeFunction = F2Function<ServerConsumeCommand, ServerConsumedEvent> @Serializable data class ServerConsumeCommand( val stuff: String ) typealias ServerConsumedEvent = ServerConsu...
1
Kotlin
0
0
72b43ee5a40e0167556cb4657cc518614f44a108
330
fixers-f2
Apache License 2.0
app/src/main/java/com/my/homecloud/ui/watercounter/WaterCounter.kt
valientinx
604,223,619
false
{"Kotlin": 28916}
package com.my.homecloud.ui.watercounter import android.annotation.SuppressLint import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.material3.Button import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.c...
1
Kotlin
0
3
aeb50a30967f358f0db61b81328041a0b3866d76
2,195
LocalMediaStoreSync
Apache License 2.0
app/src/main/java/io/plaidapp/ui/PlaidApplication.kt
hzsweers
47,207,521
false
null
/* * Copyright 2018 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
1
null
6
42
9aa03c4c1db0c364bbfcd32b17c09a24d31e9361
1,719
plaid
Apache License 2.0
rx-validation-errors/src/main/java/by/shostko/rxvalidation/StringValidator.kt
shostko
212,552,006
false
null
@file:Suppress("unused") package by.shostko.rxvalidation import android.text.TextUtils import by.shostko.errors.ErrorCode import by.shostko.rxvalidation.errors.BaseValidationErrorCode import by.shostko.rxvalidation.errors.ValidationError private class StringValidationException(code: ErrorCode) : ValidationError(code...
0
Kotlin
0
0
da47331f5eb62cd7dec9ba84b23dca2df196f9bb
4,230
rx-validation
Apache License 2.0
permission-flow/src/main/java/dev/shreyaspatil/permissionFlow/internal/ApplicationStateMonitor.kt
PatilShreyas
504,894,810
false
{"Kotlin": 120505}
/** * Copyright 2022 Shreyas Patil * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
6
Kotlin
21
557
016837505eb08a388ba15365312636479a4f708e
7,080
permission-flow-android
Apache License 2.0
app/src/main/java/com/thiha/efficientweatherapp/model/WeatherObject.kt
sheldonTest
846,962,649
false
{"Kotlin": 30990}
package com.example.jetweatherforecast.model data class WeatherObject( val description: String, val icon: String, val id: Int, val main: String)
0
Kotlin
0
0
fe2f31a4be98d5e99403ce225c7a58bff7957dc5
161
u-pd-android-jetpack-compose-comprehensive-bootcamp-2022
MIT License
one.irradia.opds1_2.parser.extension.spi/src/main/java/one.irradia.opds1_2.parser.extension.spi/OPDS12FeedExtensionParserProviderType.kt
irradia
177,828,518
false
{"Gradle": 12, "INI": 12, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "YAML": 1, "Markdown": 1, "XML": 36, "Kotlin": 61, "Java": 8}
package one.irradia.opds1_2.parser.extension.spi /** * A provider of extension parsers. */ interface OPDS12FeedExtensionParserProviderType { /** * @param context The parser context * * Create a parser. */ fun createParser( context: OPDS12FeedExtensionParserContextType) : OPDS12FeedExtensio...
1
null
1
1
78596ee9c5e528ec4810472f1252d844abdf7fe3
335
one.irradia.opds1_2
BSD Zero Clause License
app/src/main/java/com/fitken/lanchat/thread/SendMessageAsync.kt
nmhung
115,481,934
false
null
package com.fitken.lanchat.thread import android.os.AsyncTask import com.fitken.lanchat.MyApplication import java.io.BufferedWriter import java.io.IOException import java.io.OutputStreamWriter import java.io.PrintWriter import java.net.Socket import java.net.UnknownHostException /** * Created by ken on 12/28/17. */...
1
Kotlin
1
3
97df05546b9e0b2b454ffb039762ff5a705284e2
1,531
chat-in-LAN-android-ios
MIT License
src/main/kotlin/de/bdr/servko/keycloak/gematik/idp/model/AuthenticationFlowType.kt
Bundesdruckerei-GmbH
588,222,404
false
{"Kotlin": 349718, "HTML": 17285, "JavaScript": 6324, "FreeMarker": 4218, "Dockerfile": 1465}
/* * Copyright 2023 Bundesdruckerei GmbH and/or its affiliates * and other contributors. * * 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/LICEN...
2
Kotlin
1
8
86fb3e67dd4492d01c2e66db068820b7109f24f3
848
Gematik-IDP
Apache License 2.0
src/main/kotlin/com/github/poolParty/pullPartyBot/handler/interaction/command/ClearCommand.kt
pool-party
276,690,235
false
null
package com.github.poolParty.pullPartyBot.handler.interaction.command import com.elbekd.bot.Bot import com.elbekd.bot.types.Message import com.github.poolParty.pullPartyBot.Configuration import com.github.poolParty.pullPartyBot.handler.Button import com.github.poolParty.pullPartyBot.handler.deleteMessageLogging import...
2
Kotlin
0
8
1815ce56b70e5ba6b9d708c00099969fc026d8a6
1,413
pull-party-bot
MIT License
src/se/clau/yang/psi/YangElementType.kt
geddings-bsn
621,946,905
true
{"Kotlin": 26715, "Lex": 9588, "Java": 1609}
/* * Copyright 2014 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
0
null
0
0
f627632b194fca15c54626ba6eeeaa0f82b02900
840
yang-plugin
Apache License 2.0
app/src/main/java/app/odapplications/bitstashwallet/modules/settings/basecurrency/BaseCurrencySettingsView.kt
bitstashco
220,133,996
false
null
package app.odapplications.bitstashwallet.modules.settings.basecurrency import androidx.lifecycle.MutableLiveData class BaseCurrencySettingsView : BaseCurrencySettingsModule.IView { val currencyItems = MutableLiveData<List<CurrencyViewItem>>() override fun show(items: List<CurrencyViewItem>) { curren...
4
null
3
11
64c242dbbcb6b4df475a608b1edb43f87e5091fd
350
BitStash-Android-Wallet
MIT License
test-suite-kotlin/src/test/kotlin/io/micronaut/mqtt/docs/publisher/qos/ProductClient.kt
micronaut-projects
304,407,403
false
null
package io.micronaut.mqtt.docs.publisher.qos // tag::imports[] import io.micronaut.mqtt.annotation.Qos import io.micronaut.mqtt.annotation.Topic import io.micronaut.mqtt.annotation.v5.MqttPublisher // end::imports[] import io.micronaut.context.annotation.Requires; @Requires(property = "spec.name", value = "Publisher...
5
null
9
13
b5bc2728a30b3df0cb9c1f1aa0b38c992d63baf0
558
micronaut-mqtt
Apache License 2.0
kplotandroidlib/src/androidTest/java/dev/curlybraces/kplot/UiUtilsTests.kt
PravSonawane
223,865,951
false
null
package dev.curlybraces.kplot import android.content.Context import android.util.TypedValue import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry import androidx.test.rule.ActivityTestRule import org.junit.Assert.* import org.junit.Before import org.junit.Rule i...
1
Kotlin
0
0
516e35f3fc7679a59d01b113cbb3305f9de6da40
988
kplot
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Star.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.outline 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...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,508
icons
MIT License
app/src/main/java/com/kerite/pokedex/model/enums/MovePattern.kt
Kerite
535,721,279
false
{"Kotlin": 187667, "CMake": 1639, "C++": 342}
package com.kerite.pokedex.model.enums enum class MovePattern { LEVEL, TM_MACHINE, BREED, TEACH; companion object { fun fromIndex(index: Int): MovePattern { for (value in values()) { if (value.ordinal == index) { return value ...
0
Kotlin
0
2
98758205bdf25480bab8d19d92a0daa839a0e7e2
399
PokeDex-android
Apache License 2.0
app/src/main/java/com/example/Tapatan/ui/GameViewModel.kt
PatrickLyonsISD
709,221,895
false
{"Kotlin": 27739}
package com.example.Tapatan.ui import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.ViewModel class GameViewModel : ViewModel() { var buttons = Array(3) { arrayOfNulls<String>(3) } var currentPlayer = mutableStateOf("Black") var roundCount = 0 var gameEnded = mutableStateOf(false) ...
0
Kotlin
0
0
5c4ee9d3e42b02a538f73f7176077e72099a918f
4,319
Tapatan
Apache License 2.0
cinescout/database/src/commonMain/kotlin/cinescout/database/model/DatabaseGenre.kt
4face-studi0
280,630,732
false
null
package cinescout.database.model typealias DatabaseGenre = cinescout.database.Genre
19
Kotlin
2
3
d64398507d60a20a445db1451bdd8be23d65c9aa
85
CineScout
Apache License 2.0
buildSrc/src/main/kotlin/com/spark/review/wizard/IWizard.kt
ZuYun
402,787,726
false
{"Gradle": 3, "Kotlin": 55, "Gradle Kotlin DSL": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 3, "XML": 90, "Java": 3, "Groovy": 9}
package com.spark.review.wizard import java.io.File import java.util.jar.JarEntry /** * @author yun. * @date 2021/7/22 * @des [一句话描述] * @since [https://github.com/ZuYun] * <p><a href="https://github.com/ZuYun">github</a> */ abstract class IWizard { fun enable(): Boolean = true abstract fun transformSt...
1
null
1
1
53460de3f8192ed958a4351243c7c7762c4aac7a
931
sparkj
Apache License 2.0
buildSrc/src/main/kotlin/com/spark/review/wizard/IWizard.kt
ZuYun
402,787,726
false
{"Gradle": 3, "Kotlin": 55, "Gradle Kotlin DSL": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 3, "XML": 90, "Java": 3, "Groovy": 9}
package com.spark.review.wizard import java.io.File import java.util.jar.JarEntry /** * @author yun. * @date 2021/7/22 * @des [一句话描述] * @since [https://github.com/ZuYun] * <p><a href="https://github.com/ZuYun">github</a> */ abstract class IWizard { fun enable(): Boolean = true abstract fun transformSt...
1
null
1
1
53460de3f8192ed958a4351243c7c7762c4aac7a
931
sparkj
Apache License 2.0
app/src/main/java/com/example/rollcall/navigation/DeepLinkFragment.kt
kimonkremizas
488,979,396
false
{"Kotlin": 44951}
/* * Copyright (C) 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 app...
0
Kotlin
0
2
cd051564c70584f253f498272c0e6fd0451c5de3
7,160
roll-call-android
Apache License 2.0
Corona-Warn-App/src/test/java/de/rki/coronawarnapp/datadonation/analytics/modules/keysubmission/AnalyticsKeySubmissionCollectorTest.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.datadonation.analytics.modules.keysubmission import de.rki.coronawarnapp.coronatest.type.BaseCoronaTest.Type.PCR import de.rki.coronawarnapp.coronatest.type.BaseCoronaTest.Type.RAPID_ANTIGEN import de.rki.coronawarnapp.datadonation.analytics.storage.AnalyticsSettings import de.rki.coronawa...
6
null
504
2,486
7b0eee8d53a090ee0ca585c6a90c4cec570e51d6
12,979
cwa-app-android
Apache License 2.0
app/src/main/java/app/runchallenge/view/fragment/preferences/PreferenceFragment.kt
afTrolle
186,638,043
false
null
package app.runchallenge.view.fragment.preferences import android.content.Context import android.os.Bundle import com.takisoft.preferencex.PreferenceFragmentCompat import android.view.View import androidx.navigation.fragment.findNavController import androidx.preference.ListPreference import androidx.preference.SwitchP...
1
null
1
1
9e34724edd53a1c6248d03d7939070b9ac8bd791
6,741
Run-Challenge-Public
MIT License
buildSrc/src/main/java/com/hi/dhl/plugin/DependencyManager.kt
hi-dhl
391,529,628
false
null
package com.hi.dhl.plugin /** * <pre> * author: dhl * date : 2020/7/3 * desc : 如果数量少的话,放在一个类里面就可以,如果数量多的话,可以拆分为多个类 * </pre> */ object Versions { const val retrofit = "2.9.0" const val okhttpLogging = "4.9.0" const val appcompat = "1.2.0" const val coreKtx = "1.3.2" const val co...
2
null
9
94
138c05ce19904b554a777154be8504238668b273
5,302
KtKit
Apache License 2.0
src/main/kotlin/br/com/zup/academy/shared/validation/exceptions/ClienteNaoEncontradoException.kt
christian-moura
411,306,523
true
{"Kotlin": 40119}
package br.com.zup.edu.pix class ClienteNaoEncontradoException(message: String) : RuntimeException(message)
0
Kotlin
0
0
7b87a56598523c5bdd13a4c65667941b1b4e4fa8
108
orange-talents-07-template-pix-keymanager-grpc
Apache License 2.0
client/app/src/main/java/com/example/healthc/data/source/local/user/UpdateLocalUserInfoDataSourceImpl.kt
Solution-Challenge-HealthC
601,915,784
false
null
package com.example.healthc.data.source.local.user import com.example.healthc.data.local.UserInfoDao import com.example.healthc.data.local.entity.UserInfoEntity import com.example.healthc.domain.utils.Resource import javax.inject.Inject class UpdateLocalUserInfoDataSourceImpl @Inject constructor( private val dao ...
2
Kotlin
0
2
21c45b6fd672074616945e45f0807e0ce43b06b8
713
HealthC_Android
MIT License
lib/src/main/kotlin/org/hravemzdy/procezor/interfaces/IConceptSpec.kt
hravemzdy
486,632,661
false
null
package org.hravemzdy.procezor.interfaces import org.hravemzdy.legalios.interfaces.IBundleProps import org.hravemzdy.legalios.interfaces.IPeriod import org.hravemzdy.procezor.service.types.ArticleCode import org.hravemzdy.procezor.service.types.BuilderResultList import org.hravemzdy.procezor.service.types.MonthCode im...
0
Kotlin
0
0
345d489c83901ca501a46c055e9733b51ad8581f
911
kotlin-procezor
The Unlicense
designer/src/com/android/tools/idea/uibuilder/actions/MorphComponentAction.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
null
220
857
8d22f48a9233679e85e42e8a7ed78bbff2c82ddb
3,915
android
Apache License 2.0
app/src/test/java/com/example/calculadoraimc/HistoryViewModelTest.kt
victorashino
750,024,332
false
{"Kotlin": 19065}
package com.example.calculadoraimc import com.example.calculadoraimc.data.HistoryDao import com.example.calculadoraimc.domain.IMC import com.example.calculadoraimc.view.HistoryViewModel import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.test.runTest import org.junit.Rule import org.junit.Tes...
0
Kotlin
0
0
9aacf18bf5058b7e7500ba9a7947e337f885b500
936
Calculadora_IMC
MIT License
notifications/core/src/main/kotlin/org/opensearch/notifications/core/client/DestinationSnsClient.kt
opensearch-project
354,080,507
false
null
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ package org.opensea...
62
null
64
8
ded1a4ccc574e0042457d388a9d91d87be64228e
6,961
notifications
Apache License 2.0
codebase/android/core/common/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/common/stringencoder/StringEncoder.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1459939, "Dart": 102426}
package com.makeappssimple.abhimanyu.financemanager.android.core.common.stringencoder interface StringEncoder { fun encodeString( string: String, ): String }
11
Kotlin
0
1
433728cb7a9003e38ea9f579d561e4e27b47ef76
175
finance-manager
Apache License 2.0
sykepenger-model/src/main/kotlin/no/nav/helse/serde/migration/V78VedtaksperiodeListeOverUtbetalinger.kt
navikt
193,907,367
false
null
package no.nav.helse.serde.migration import com.fasterxml.jackson.databind.node.ArrayNode import com.fasterxml.jackson.databind.node.ObjectNode internal class V78VedtaksperiodeListeOverUtbetalinger : JsonMigration(version = 78) { override val description: String = "Lager liste over utbetalinger på Vedtaksperiode"...
2
null
6
5
2f940cad2bc6a756033a4e19edc5236a0648c971
1,079
helse-spleis
MIT License
sandbox/src/jsMain/showcases/MDCFormField.kt
mpetuska
430,798,310
false
null
package showcases import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import dev.petuska.katalog.runtime.Showcase import dev.petuska.katalog.runtime.layout.InteractiveShowcase import dev.petuska.kmdc...
9
Kotlin
13
99
c1ba9cf15d091916f1e253c4c37cc9f9c643f5e3
1,401
kmdc
Apache License 2.0
text-library-service/src/test/kotlin/de/roamingthings/tracing/textlibrary/ports/driving/RetrieveParagraphControllerTest.kt
roamingthings
214,773,818
false
null
package de.roamingthings.tracing.author.ports.driving import com.nhaarman.mockitokotlin2.doReturn import de.roamingthings.tracing.novelai.test.mockTracingLenientUsingMock import de.roamingthings.tracing.textlibrary.ports.driving.PARAGRAPH import de.roamingthings.tracing.textlibrary.ports.driving.RetrieveParagraphContr...
8
null
1
1
ee264dba66268763e761fb5d731f57fc3fc248d4
1,674
workbench-tracing
Apache License 2.0
modulecheck-project/api/src/main/kotlin/modulecheck/project/McProject.kt
RBusarow
316,627,145
false
null
/* * Copyright (C) 2021-2023 <NAME> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
76
Kotlin
7
95
24e7c7667490630d30cf8b59cd504cd863cd1fba
3,151
ModuleCheck
Apache License 2.0
app/src/main/java/com/example/mymovie/presentation/utils/Genre.kt
didikk
829,815,819
false
{"Kotlin": 12601}
package com.example.mymovie.presentation.utils val genres = mapOf( 28 to "Action", 12 to "Adventure", 16 to "Animation", 35 to "Comedy", 80 to "Crime", 99 to "Documentary", 18 to "Drama", 10751 to "Family", 14 to "Fantasy", 36 to "History", 27 to "Horror", 10402 to "Mus...
0
Kotlin
0
0
e0d0f0e0a7e3a7e96994a144d24b56526a185324
691
compose-movie-app
MIT License
kvision-modules/kvision-maps/src/main/kotlin/io/kvision/maps/externals/leaflet/layer/vector/SVG.kt
rjaros
120,835,750
false
null
/* * Copyright (c) 2017-present <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publ...
22
null
65
882
bde30bbfd3c1a837eeff58a0a81bf7a5d677c72f
1,918
kvision
MIT License
app/src/main/java/ru/sshex/exchange/di/app/component/AppComponent.kt
ShadyRover
182,038,832
false
null
package ru.sshex.exchange.di.app.component import dagger.Component import ru.sshex.exchange.ExchangeApp import ru.sshex.exchange.di.app.module.AppModule import javax.inject.Singleton @Singleton @Component(modules = [AppModule::class]) interface AppComponent { fun inject(application: ExchangeApp) }
0
Kotlin
0
0
d050e45e413ea60057f3103bf249603b51b8cebe
304
Exchange
Apache License 2.0
reactive/kotlinx-coroutines-rx2/src/RxCancellable.kt
objcode
159,731,828
false
null
/* * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.rx2 import io.reactivex.functions.* import kotlinx.coroutines.* internal class RxCancellable(private val job: Job) : Cancellable { override fun cancel() { job.cancel() ...
1
null
2
5
46741db4b0c2863475d5cc6fc75eafadd8e6199d
327
kotlinx.coroutines
Apache License 2.0
library/src/main/java/ru/yandex/money/android/sdk/impl/secure/BcKeyStorage.kt
GorshkovNikita
144,304,854
false
null
/* * The MIT License (MIT) * Copyright © 2018 NBCO Yandex.Money LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the “Software”), to deal in the Software without restriction, including * without limitation the rights to use...
1
null
1
1
fa44a3b0a3872d9f1ede52ebbf90fc1d68dcf386
2,539
yandex-checkout-android-sdk
MIT License
src/pt/mundowebtoon/src/eu/kanade/tachiyomi/extension/pt/mundowebtoon/ObsoleteExtensionInterceptor.kt
tachiyomiorg
79,658,844
false
{"Kotlin": 5275963}
package eu.kanade.tachiyomi.extension.pt.mundowebtoon import eu.kanade.tachiyomi.network.GET import kotlinx.serialization.Serializable import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import okhttp3.Interceptor import okhttp3.Response import uy.kohesive.injekt.injectLazy import java...
584
Kotlin
1234
2,850
3d5b6cf9d1294bf42bfdb0f6534c4852b68cedd4
1,366
tachiyomi-extensions
Apache License 2.0
src/test/kotlin/no/nav/helse/flex/syketilfelle/kafka/TestKafkaConfig.kt
navikt
440,416,678
false
null
package no.nav.helse.flex.syketilfelle.kafka import org.apache.kafka.clients.consumer.ConsumerConfig import org.apache.kafka.clients.consumer.KafkaConsumer import org.apache.kafka.clients.producer.KafkaProducer import org.apache.kafka.clients.producer.ProducerConfig import org.apache.kafka.common.serialization.StringD...
4
Kotlin
0
1
ad110512ab2c59883df6e6ca9594d4d7cfb56144
1,816
flex-syketilfelle
MIT License
app/src/main/java/quick/sms/quicksms/backend/RuntimePermissions.kt
mahbubiftekhar
130,412,702
false
null
package quick.sms.quicksms.backend import android.app.Activity import android.content.pm.PackageManager import android.support.v4.app.ActivityCompat import android.support.v4.content.ContextCompat fun getPermissions(activity: Activity, permissions: Array<String>): Boolean { val requiredPermissions = permissions.f...
0
Kotlin
3
2
4b2f7ca0c15d340952260072a54306f133e2ba6f
654
quickSMS
MIT License
src/main/java/uos/dev/restcli/parser/RequestMethod.kt
restcli
276,395,595
false
null
package uos.dev.restcli.parser enum class RequestMethod { GET, HEAD, POST, PUT, DELETE, CONNECT, PATCH, OPTIONS, TRACE; companion object { fun from(value: String?, ignoreCase: Boolean = true): RequestMethod = values().firstOrNull { it.name.equals(value, igno...
35
Kotlin
35
272
cc9087d883742b0c468b0b2874208f6827d210b5
345
restcli
MIT License
models/src/main/java/lt/markmerkk/IDataStorage.kt
marius-m
67,072,115
false
null
package lt.markmerkk /** * Represents the exposed methods for handling simple events on the database. */ interface IDataStorage<T> { /** * Registers to the event reporter * @param listener */ fun register(listener: IDataListener<T>) /** * Unregisters from the reporter * @param ...
1
null
1
26
6632d6bfd53de4760dbc3764c361f2dcd5b5ebce
1,186
wt4
Apache License 2.0
app/src/main/java/com/herdal/mealdb/data/remote/service/MealService.kt
herdal06
600,210,877
false
null
package com.herdal.mealdb.data.remote.service import com.herdal.mealdb.data.remote.dto.meal.MealResponse import com.herdal.mealdb.data.remote.dto.meal_detail.MealDetailResponse import com.herdal.mealdb.data.remote.utils.ApiConstants import retrofit2.http.GET import retrofit2.http.Query interface MealService { @G...
0
Kotlin
0
2
01f6a072a2668490d94ed390b077729d77a9ae13
709
MealDB
Apache License 2.0
tonapi-tl/src/liteserver/config/LiteServerConfigLocal.kt
ton-community
448,983,229
false
{"Kotlin": 1194581}
package org.ton.api.liteserver.config import kotlinx.serialization.Polymorphic import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonClassDiscriminator @Serializable @Polymorphic @JsonClassDiscriminator("@type") public sealed interface LiteServerConfigLocal
21
Kotlin
24
80
7eb82e9b04a2e518182ebfc56c165fbfcc916be9
286
ton-kotlin
Apache License 2.0
kotlin/src/main/java/app/rive/runtime/kotlin/core/Renderer.kt
rive-app
299,578,948
false
null
package app.rive.runtime.kotlin.core import android.graphics.Canvas import android.graphics.Matrix import android.graphics.Paint import android.graphics.Path /** * A [Renderer] is used to help draw an [Artboard] to a [Canvas] * * This object has a counterpart in c++, which implements a lot of functionality. * Th...
7
Kotlin
15
98
f7f2389eb11a080e18c8f15d82f35bc25bf998b4
2,869
rive-android
MIT License
kotlin/src/main/java/app/rive/runtime/kotlin/core/Renderer.kt
rive-app
299,578,948
false
null
package app.rive.runtime.kotlin.core import android.graphics.Canvas import android.graphics.Matrix import android.graphics.Paint import android.graphics.Path /** * A [Renderer] is used to help draw an [Artboard] to a [Canvas] * * This object has a counterpart in c++, which implements a lot of functionality. * Th...
7
Kotlin
15
98
f7f2389eb11a080e18c8f15d82f35bc25bf998b4
2,869
rive-android
MIT License
implementation/src/main/kotlin/com/aoc/intcode/droid/spring/register/read/ReadOnlyRegister.kt
TomPlum
227,887,094
false
null
package com.aoc.intcode.droid.spring.register.read import com.aoc.intcode.droid.spring.register.Register /** * A [Register] that once instantiated, its value cannot be changed and only read from. */ interface ReadOnlyRegister : Register
7
Kotlin
1
2
12d47cc9c50aeb9e20bcf110f53d097d8dc3762f
240
advent-of-code-2019
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/core/storage/BlockchainSettingsStorage.kt
horizontalsystems
142,825,178
false
null
package io.horizontalsystems.bankwallet.core.storage import io.horizontalsystems.bankwallet.entities.BlockchainSettingRecord import io.horizontalsystems.bankwallet.entities.BtcRestoreMode import io.horizontalsystems.bankwallet.entities.TransactionDataSortMode import io.horizontalsystems.marketkit.models.BlockchainType...
131
Kotlin
288
551
c48fdb4463a1245418edd0ace4d1e7d029bc4d70
2,350
unstoppable-wallet-android
MIT License
compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt
JetBrains
3,432,266
false
null
// JVM_TARGET: 1.8 // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR val ua = 1234UL val ub = 5678UL val uai = ua.toUInt() val u = ua * ub fun box(): String { val div = u / ua if (div != ub) throw AssertionError("$div") val divInt = u / uai if (div != ub) throw AssertionError("$div") return "OK" }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
314
kotlin
Apache License 2.0
src/main/kotlin/com/charleskorn/shokunin/gameofpawns/model/Board.kt
charleskorn
179,935,036
false
null
package com.charleskorn.shokunin.gameofpawns.model class Board private constructor(val ranks: List<List<BoardSquare>>) { constructor() : this(List(8) { List(8) { EmptySquare } }) fun withPiece(rank: Int, file: Int, player: Player, piece: Piece): Board { val newSquare = OccupiedSquare(playe...
0
Kotlin
0
0
e265918abaca5a85d8f59ba434d5e4e0f6456509
749
game-of-pawns
Apache License 2.0
app-backend/src/main/kotlin/jooq/main/tables/Kotliner.kt
Heapy
40,936,978
false
{"Kotlin": 3311624, "TypeScript": 19032, "Less": 5146, "HTML": 4493, "JavaScript": 2299, "CSS": 2174, "Dockerfile": 243}
/* * This file is generated by jOOQ. */ package jooq.main.tables import java.time.OffsetDateTime import jooq.main.Public import jooq.main.enums.KotlinerStatusEnum import jooq.main.keys.ARTICLE_AUTHOR__ARTICLE_AUTHOR_KOTLINER_ID_FKEY import jooq.main.keys.ARTICLE__ARTICLE_CREATED_BY_FKEY import jooq.main.keys.ARTIC...
21
Kotlin
1220
11,018
2f4cfa75180e759d91fe238cc3f638beec9286e2
19,587
awesome-kotlin
Apache License 2.0
data/src/main/kotlin/team/duckie/app/android/data/exam/paging/ExamMeFollowingPagingSource.kt
duckie-team
503,869,663
false
{"Kotlin": 1819917}
/* * Designed and developed by Duckie Team, 2022 * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE */ @file:Suppress("TooGenericExceptionCaught") package team.duckie.app.android.data.exam.paging import androidx.paging.PagingSource import an...
32
Kotlin
1
8
5dbd5b7a42c621931d05a96e66431f67a3a50762
1,439
duckie-android
MIT License
compiler/testData/diagnostics/tests/extensions/contextReceivers/thisWithReceiverLabelsClasses.fir.kt
JetBrains
3,432,266
false
null
// !LANGUAGE: +ContextReceivers class A { val x = 1 } context(A) class B { val prop = <!UNRESOLVED_REFERENCE!>x<!> + this<!UNRESOLVED_LABEL!>@A<!>.x fun f() = <!UNRESOLVED_REFERENCE!>x<!> + this<!UNRESOLVED_LABEL!>@A<!>.x }
135
Kotlin
4980
40,442
817f9f13b71d4957d8eaa734de2ac8369ad64770
238
kotlin
Apache License 2.0