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/test/kotlin/no/nav/ApplicationTest.kt | navikt | 505,610,197 | false | {"Kotlin": 120859, "Shell": 313, "Dockerfile": 102} | package no.nav
import io.ktor.client.call.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
import io.ktor.server.testing.*
import no.nav.plugins.configureMonitoring
import no.nav.plugins.configureOpenApi
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupi... | 3 | Kotlin | 0 | 0 | 82279abcf326b96736bdb7f19cb36fd5626f3eee | 790 | modia-robot-api | MIT License |
src/main/kotlin/com/atlassian/performance/tools/jiraactions/api/page/AdminAccess.kt | atlassian | 162,422,950 | false | null | package com.atlassian.performance.tools.jiraactions.api.page
import com.atlassian.performance.tools.jiraactions.Patience
import com.atlassian.performance.tools.jiraactions.api.WebJira
import com.atlassian.performance.tools.jiraactions.api.webdriver.sendKeysWhenClickable
import org.openqa.selenium.By
import org.openqa.... | 8 | null | 31 | 26 | 10b363eda1e171f8342eaeeb6deac843b1d34df3 | 2,568 | jira-actions | Apache License 2.0 |
app/src/main/java/im/status/keycard/connect/Registry.kt | status-im | 218,495,731 | false | null | package im.status.keycard.connect
import android.annotation.SuppressLint
import android.app.Activity
import android.nfc.NfcAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import im.status.keycard.android.NFCCardManager
import im.status.keycard.connect.card.Card... | 5 | Kotlin | 11 | 21 | 5650f448ece63135b6e385e7146ee91430473911 | 2,501 | keycard-connect | Apache License 2.0 |
reporter-pivotal/src/main/java/debug_artist/reporter_pivotaltracker/PivotalService.kt | rwdxll | 116,653,954 | true | {"Kotlin": 53190, "Java": 22482, "Prolog": 3398, "Shell": 1895, "IDL": 489} | package debug_artist.reporter_pivotaltracker
import io.reactivex.Observable
import okhttp3.MultipartBody
import retrofit2.Response
import retrofit2.http.*
interface PivotalService {
@POST("/services/v5/projects/{project_id}/stories")
fun postStory(@Path("project_id") projectId: String,
@Body sto... | 0 | Kotlin | 0 | 0 | 22b9b2f2e0104ad99e3869cba30fb50f0223a5d5 | 827 | debug-artist | Apache License 2.0 |
app/src/main/java/com/example/android/navigation/GameOverFragment.kt | luannguyen252 | 423,660,854 | false | {"Kotlin": 15235} | package com.example.android.navigation
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.navigation.findNavController
import com.example.android.navigation.... | 0 | Kotlin | 0 | 1 | b989b19eb46bf08118510cab4429f9e906cfc2a3 | 914 | my-android-journey | MIT License |
app/src/test/kotlin/no/nav/k9punsj/rest/server/PunsjJournalpostInfoRoutesTest.kt | navikt | 216,808,662 | false | null | package no.nav.k9punsj.rest.server
import com.fasterxml.jackson.module.kotlin.convertValue
import io.mockk.junit5.MockKExtension
import kotlinx.coroutines.runBlocking
import no.nav.k9punsj.TestSetup
import no.nav.k9punsj.db.datamodell.JsonB
import no.nav.k9punsj.journalpost.SøkUferdigJournalposter
import no.nav.k9puns... | 9 | Kotlin | 2 | 1 | d42013d04a36b05bce1750c912ae186626f45049 | 1,961 | k9-punsj | MIT License |
data/src/main/java/ca/bc/gov/data/datasource/remote/MedicationRemoteDataSource.kt | bcgov | 414,797,174 | false | {"Kotlin": 1344329, "Java": 582146} | package ca.bc.gov.data.datasource.remote
import ca.bc.gov.common.const.MESSAGE_INVALID_RESPONSE
import ca.bc.gov.common.const.PROTECTIVE_WORD_ERROR_CODE
import ca.bc.gov.common.const.SERVER_ERROR
import ca.bc.gov.common.exceptions.MyHealthException
import ca.bc.gov.common.exceptions.ProtectiveWordException
import ca.b... | 6 | Kotlin | 5 | 5 | fb45bb6e75c979c509f6424ace7f4028a5577bb0 | 1,558 | myhealthBC-android | Apache License 2.0 |
app/src/main/java/com/example/androidfirebaselogin/views/services/RegisterService.kt | justapixel | 371,198,966 | false | null | package com.example.androidfirebaselogin.views.services
import android.app.DatePickerDialog
import android.os.Bundle
import android.widget.ArrayAdapter
import android.widget.DatePicker
import android.widget.EditText
import androidx.appcompat.app.AppCompatActivity
import com.example.androidfirebaselogin.R
import com.ex... | 0 | Kotlin | 0 | 0 | f81b880036f900b94680175be4574f811cc04659 | 4,938 | AndroidFirebaseLogin | MIT License |
bidrag-beregn-særbidrag/src/main/kotlin/no/nav/bidrag/beregn/særbidrag/core/felles/FellesBeregning.kt | navikt | 248,744,235 | false | {"Kotlin": 1930941} | package no.nav.bidrag.beregn.særbidrag.core.felles
import no.nav.bidrag.beregn.core.bo.Periode
import no.nav.bidrag.beregn.core.bo.SjablonPeriode
import no.nav.bidrag.beregn.core.bo.SjablonPeriodeNavnVerdi
import java.math.BigDecimal
import java.time.LocalDate
open class FellesBeregning {
// Mapper ut sjablonver... | 6 | Kotlin | 0 | 1 | f51a1b676e058fe653499d1ebf8fcaa90358963d | 1,839 | bidrag-beregn-felles | MIT License |
features/numbers-trivia/src/main/java/br/com/andretortolano/numbers_trivia/ui/NumbersTriviaActivity.kt | andretortolano | 300,768,631 | false | null | package br.com.andretortolano.numbers_trivia.ui
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import br.com.andretortolano.numbers_trivia.R
import br.com.andretortolano.numbers_trivia.databinding.NumbersTri... | 0 | Kotlin | 2 | 1 | 3bddd900279ec1c8ab31af4289f59355440edf96 | 3,448 | clean-architecture-sample | Apache License 2.0 |
src/main/kotlin/org/urielserv/uriel/core/database/schemas/CommandsSchema.kt | UrielHabboServer | 729,131,075 | false | null | package org.urielserv.uriel.core.database.schemas
import org.ktorm.schema.Table
import org.ktorm.schema.boolean
import org.ktorm.schema.int
import org.ktorm.schema.text
import org.urielserv.uriel.game.command_system.CommandInfo
object CommandsSchema : Table<CommandInfo>("commands") {
val id = int("id").primaryKe... | 0 | null | 0 | 7 | 5ed582f93a604182f05f63d3057524d021513f99 | 581 | Uriel | MIT License |
src/test/kotlin/day14_extended_polymerization/ExtendedPolymerizationKtTest.kt | barneyb | 425,532,798 | false | {"Kotlin": 238776, "Shell": 3825, "Java": 567} | package day14_extended_polymerization
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
private val WORKED_EXAMPLE = """
NNCB
CH -> B
HH -> N
CB -> H
NH -> C
HB -> C
HC -> B
HN -> C
NN -> C
BH -> H
NC -> B
NB -> B
BN -> B
BB... | 0 | Kotlin | 0 | 0 | a8d52412772750c5e7d2e2e018f3a82354e8b1c3 | 960 | aoc-2021 | MIT License |
core/src/main/kotlin/ru/mobileup/core/error_handling/ErrorHandler.kt | MobileUpLLC | 495,305,519 | false | {"Kotlin": 82696} | package ru.mobileup.core.error_handling
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.receiveAsFlow
import me.aartikov.sesame.localizedstring.LocalizedString
import ru.mobileup.core.message.data.MessageService
import ru.mobileup.core.message.domain.MessageData
import timber.log.Timber
clas... | 0 | Kotlin | 1 | 3 | 4f486b7a96775d262e8cd179ef70d7f0e2531f0b | 1,550 | Push-Notifications-Android | MIT License |
core/model/src/main/java/earth/core/networkmodel/SignupRequestBody.kt | darkwhite220 | 733,589,658 | false | {"Kotlin": 422132} | package earth.core.networkmodel
data class SignupRequestBody(
val nomprenom: String,
val email: String,
val telephone: String,
val username: String,
val reference: String,
val newpass: String,
val cfnewpass: String,
val captcha: String,
val btnAction: String,
)
| 0 | Kotlin | 0 | 1 | 77d7bd5af138079eb25e2c8f6a728546dbab4cab | 301 | AlgeriaBillsOnline | The Unlicense |
app/src/main/java/com/vlad1m1r/kotlintest/MyApplication.kt | VladimirWrites | 86,824,178 | false | null | /*
* Copyright 2017 <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 w... | 0 | Kotlin | 6 | 25 | 7bb76c69b41c2769b49e4f4f445452839f3cd5c2 | 1,022 | KotlinSample | Apache License 2.0 |
platform/workspace/storage/testEntities/testSrc/com/intellij/platform/workspace/storage/testEntities/entities/WithNullsMultipleOpposite.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.workspace.storage.testEntities.entities
import com.intellij.platform.workspace.storage.EntitySource
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersi... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 3,232 | intellij-community | Apache License 2.0 |
app/src/main/java/com/spacer/example/presentation/extensions/FragmentExtensions.kt | spacer-dev | 404,248,319 | false | null | package com.spacer.example.presentation.extensions
import android.app.AlertDialog
import androidx.fragment.app.Fragment
import com.spacer.example.R
import com.spacer.example.presentation.common.dialog.DialogMessage
import com.spacer.example.presentation.common.progress.LoadingOption
import com.spacer.example.presentat... | 0 | Kotlin | 0 | 0 | f48e5413d765d4a3895eec242d7909288e636ed5 | 1,080 | spacer-sdk-android | MIT License |
src/test/kotlin/com/github/avrokotlin/avro4k/io/AvroJsonOutputStreamTest.kt | avro-kotlin | 194,962,508 | false | null | package com.github.avrokotlin.avro4k.io
import com.github.avrokotlin.avro4k.Avro
import io.kotest.core.spec.style.StringSpec
import io.kotest.inspectors.forAll
import io.kotest.matchers.string.shouldContain
import kotlinx.serialization.Serializable
import java.io.ByteArrayOutputStream
class AvroJsonOutputStreamTest :... | 27 | null | 36 | 187 | f550163d19c60a1071df84f5c9671cb9e35364f4 | 1,227 | avro4k | Apache License 2.0 |
core/src/main/kotlin/materialui/components/expansionpanelsummary/ExpansionPanelSummaryElementBuilder.kt | nikanorov | 275,884,338 | false | null | package materialui.components.expansionpanelsummary
import kotlinext.js.jsObject
import kotlinx.html.BUTTON
import kotlinx.html.Tag
import kotlinx.html.TagConsumer
import materialui.components.buttonbase.ButtonBaseElementBuilder
import materialui.components.getValue
import materialui.components.iconbutton.IconButtonEl... | 0 | null | 0 | 1 | e4ece75415d9d844fbaa202ffc91f04c8415b4a4 | 1,463 | kotlin-material-ui | MIT License |
composeApp/src/commonMain/kotlin/eu/heha/cyclone/ui/ComicsViewModel.kt | sihamark | 614,073,078 | false | {"Kotlin": 97200, "Swift": 692} | package eu.heha.cyclone.ui
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import eu.heha.cyclone.model.ComicRepository
import kotlinx.coroutines.launch
class ComicsViewModel(
private val comicRepository: ComicRepository
) : ViewModel() {
val comics = comicRepository.comics
f... | 0 | Kotlin | 0 | 0 | ae9a9ab8a11d212db7be0c0051752ba90d359661 | 425 | ComicReader | Apache License 2.0 |
tooling/common/src/main/java/com/mparticle/tooling/ValidationResult.kt | iterativelyhq | 288,536,262 | true | {"Java": 2118258, "Kotlin": 84292, "Groovy": 6460, "Shell": 1721} | package com.mparticle.tooling
import org.json.JSONArray
import org.json.JSONException
import org.json.JSONObject
data class ValidationResult(val eventType: String? = null, val data: ValidationResultData? = null, val error: DataPlanError? = null) {
var originalString: String? = null
companion object {
... | 0 | Java | 0 | 1 | 6c3957e5ed71365c6709988d81b01c3c34eee853 | 3,864 | mparticle-android-sdk | Apache License 2.0 |
app/src/main/java/com/mrboomdev/awery/util/ContentType.kt | MrBoomDeveloper | 741,957,442 | false | {"Java": 638908, "Kotlin": 251651} | package com.mrboomdev.awery.util
enum class ContentType(val mimeType: String) {
JSON("application/json"),
APK("application/vnd.android.package-archive"),
ANY("*/*");
override fun toString(): String {
return mimeType
}
} | 36 | Java | 0 | 199 | 8deadd4ccd331dd5adcc722caf7df1c350e058a2 | 249 | Awery | Microsoft Public License |
shared/src/main/java/com/google/samples/apps/iosched/shared/data/FirestoreExtensions.kt | google | 18,347,476 | false | null | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 77 | null | 6259 | 21,755 | 738e1e008096fad5f36612325275e80c33dbe436 | 926 | iosched | Apache License 2.0 |
samples/journeyapp/src/main/java/com/pingidentity/samples/journeyapp/journey/JourneyViewModel.kt | ForgeRock | 830,216,912 | false | {"Kotlin": 452482} | /*
* Copyright (c) 2024. PingIdentity. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package com.pingidentity.samples.journeyapp.journey
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvi... | 2 | Kotlin | 0 | 0 | cb75e4da916db337f5cf8f628a98f68dc9121063 | 3,143 | unified-sdk-android | MIT License |
ProjetoBD/backEnd/login-api/src/main/kotlin/br/com/jhonnathan/domain/ports/UserRepository.kt | Jhonnathan-Jhonny | 752,604,468 | false | {"Kotlin": 132581} | package br.com.jhonnathan.domain.ports
import br.com.jhonnathan.domain.entity.User
import org.bson.types.ObjectId
interface UserRepository {
suspend fun save(user: User): Boolean
suspend fun findById(objectId: ObjectId): User?
suspend fun delete(objectId: ObjectId): Long
suspend fun updateUser(objectI... | 0 | Kotlin | 0 | 0 | 9a4ae171296133bd31e7a3a75d4d112c37ed9903 | 404 | Kotlin-AndroidStudio | MIT License |
app/src/main/java/com/eyther/lumbridge/ui/theme/Color.kt | ruialmeida51 | 249,223,684 | false | null | package com.eyther.lumbridge.ui.theme
import androidx.compose.ui.graphics.Color
val primaryLight = Color(0xFF6D5E0F)
val onPrimaryLight = Color(0xFFFFFFFF)
val primaryContainerLight = Color(0xFFF8E287)
val onPrimaryContainerLight = Color(0xFF221B00)
val secondaryLight = Color(0xFF665E40)
val onSecondaryLight = Color(... | 6 | null | 0 | 7 | 5dd18b22448b2435f0238cccfc11a6826f200748 | 3,078 | lumbridge-android | MIT License |
plugins-verifier-service/src/main/kotlin/org/jetbrains/plugins/verifier/service/service/verifier/VerifyPluginTask.kt | JetBrains | 3,686,654 | false | null | /*
* Copyright 2000-2020 JetBrains s.r.o. and other 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.plugins.verifier.service.service.verifier
import com.jetbrains.pluginverifier.PluginVerificationDescriptor
import com.jetbra... | 6 | null | 38 | 178 | 4deec2e4e08c9ee4ce087697ef80b8b327703548 | 3,942 | intellij-plugin-verifier | Apache License 2.0 |
feature/running/src/main/java/online/partyrun/partyrunapplication/feature/running/running/SingleRunningScreen.kt | SWM-KAWAI-MANS | 649,352,661 | false | {"Kotlin": 804908} | package online.partyrun.partyrunapplication.feature.running.running
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout... | 0 | Kotlin | 1 | 14 | fecbaf7c67cfa136e0633baaa2c708732069b190 | 10,215 | party-run-application | MIT License |
src/main/kotlin/org/rust/ide/intentions/visibility/MakePrivateIntention.kt | intellij-rust | 42,619,487 | false | null | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.intentions.visibility
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import org.rust.lang.core.psi.ext.RsVisibility
import org.rust.lang.core.psi.ext.R... | 1,841 | null | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 679 | intellij-rust | MIT License |
auth/src/main/java/studio/crud/feature/auth/authentication/rules/action/base/RuleActionHandler.kt | crud-studio | 390,327,908 | false | null | package studio.crud.feature.auth.authentication.rules.action.base
import studio.crud.crudframework.utils.component.componentmap.annotation.ComponentMapKey
import studio.crud.feature.auth.entity.model.Entity
import studio.crud.feature.auth.authentication.rules.RuleActionType
import studio.crud.feature.core.audit.Reques... | 6 | Kotlin | 0 | 0 | 6cb1d5f7b3fc7117c9fbaaf6708ac93ae631e674 | 506 | feature-depot | MIT License |
helios-parser/src/main/kotlin/helios/parser/ByteBufferParser.kt | 47degrees | 118,187,374 | false | null | package helios.parser
import java.nio.ByteBuffer
/**
* Basic ByteBuffer parser.
*
* This assumes that the provided ByteBuffer is ready to be read. The
* user is responsible for any necessary flipping/resetting of the
* ByteBuffer before parsing.
*
* The parser makes absolute calls to the ByteBuffer, which will... | 27 | null | 25 | 166 | 46c3c2e6e113257605b72761e797735e51f8f46d | 1,305 | helios | Apache License 2.0 |
litfass-server/src/test/kotlin/lit/fass/server/schedule/QuartzCollectionSchedulerServiceTest.kt | aemaem | 158,592,240 | false | null | package lit.fass.server.schedule
import io.mockk.MockKAnnotations
import io.mockk.confirmVerified
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.verify
import lit.fass.server.config.yaml.model.CollectionConfig
import lit.fass.server.execution.ExecutionService
import lit.fass.server.helper... | 4 | Kotlin | 0 | 2 | da65a02b080174e749e78e8cce178b29f14f3545 | 6,159 | litfass | MIT License |
subprojects/samples/src/test/kotlin/org/kotools/types/ZeroKotlinSampleTest.kt | kotools | 581,475,148 | false | null | package org.kotools.types
import kotlin.test.Test
class ZeroKotlinSampleTest {
@Test
fun `equals(nullable Any) should pass`(): Unit =
assertPrintsTrue(ZeroKotlinSample::equalsOverride)
@Test
fun `hashCode() should pass`(): Unit =
assertPrintsTrue(ZeroKotlinSample::hashCodeOverride)
... | 34 | null | 6 | 79 | 55871069932249cf9e65f867c4e3d9bbc5adfeee | 1,833 | types | MIT License |
sdk/sdk-metrics/src/commonMain/kotlin/io/opentelemetry/kotlin/sdk/metrics/export/MetricProducer.kt | dcxp | 450,518,130 | false | {"Kotlin": 1483649} | /*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.kotlin.sdk.metrics.export
import io.opentelemetry.kotlin.sdk.metrics.data.MetricData
/**
* `MetricProducer` is the interface that is used to make metric data available to the OpenTelemetry
* exporters. Impl... | 10 | Kotlin | 2 | 29 | 9c3186e26bd3ac78b650163be2c8f569096aaeec | 861 | opentelemetry-kotlin | Apache License 2.0 |
ChattingApp/app/src/main/java/com/example/chattingapp/model/Group.kt | DevendraShendkar | 832,998,785 | false | {"Kotlin": 307947} | package com.example.chattingapp.model
class Group {
var groupName: String? = null
var groupCreateId: String? = null
var groupId: String? = null
var groupImage: String? = null
var timestamp: Any? = null
var imageMessage: String? = null
var type: String? = null
var message: String? = null... | 0 | Kotlin | 0 | 3 | f3b0067d01476a21d047caad75256e7cc58ec280 | 1,001 | Chatting-App | Apache License 2.0 |
core/navigation/impl/src/commonMain/kotlin/ru/kyamshanov/mission/core/navigation/impl/domain/ScreenConfig.kt | KYamshanov | 656,042,097 | false | {"Kotlin": 339079, "Batchfile": 2703, "HTML": 199, "Dockerfile": 195} | package ru.kyamshanov.mission.core.navigation.impl.domain
import com.arkivanov.essenty.parcelable.Parcelable
import com.arkivanov.essenty.parcelable.Parcelize
import ru.kyamshanov.mission.core.navigation.api.RootComponentFactory
import ru.kyamshanov.mission.core.navigation.api.Screen
@Parcelize
class ScreenConfig<Com... | 7 | Kotlin | 0 | 1 | af1de2e2976c467c8ca3d614bb369ba933167995 | 440 | Mission-app | Apache License 2.0 |
stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/attachments/content/AudioRecordAttachmentQuotedContent.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 3,403 | stream-chat-android | FSF All Permissive License |
src/main/kotlin/traffic_simulation/Main.kt | 0riginz | 100,138,867 | true | {"Kotlin": 30925} | package traffic_simulation
// Imports for parsing library
import com.univocity.parsers.common.record.Record
import com.univocity.parsers.csv.CsvParser
import com.univocity.parsers.csv.CsvParserSettings
import com.univocity.parsers.csv.CsvWriter
import com.univocity.parsers.csv.CsvWriterSettings
fun main(args: Array<S... | 0 | Kotlin | 0 | 0 | 5d7c53f7456fadb9e0699a683d83a34fa735f965 | 7,778 | BBFW-Project | MIT License |
compiler/testData/compileJavaAgainstKotlin/method/MapOfKString.kt | udalov | 10,645,710 | false | null |
fun <K> fff(map: Map<K, String>) = map
| 0 | null | 1 | 6 | 3958b4a71d8f9a366d8b516c4c698aae80ecfe57 | 40 | kotlin-objc-diploma | Apache License 2.0 |
src/main/kotlin/nrxus/droptoken/DropTokenController.kt | nrxus | 245,327,294 | false | null | package nrxus.droptoken
import com.fasterxml.jackson.annotation.JsonUnwrapped
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.*
import javax.validation.Valid
import javax.validation.constraints.Min
@RestController
@RequestMapping... | 0 | Kotlin | 0 | 0 | 4c969c69d213425cfd0117ca512a4d500b8eccf8 | 5,984 | drop-token | MIT License |
app/src/main/java/com/zm/org/wallet/ui/usertransactions/BalanceSummery.kt | zeinabmohamed | 454,303,737 | false | null | package com.zm.org.wallet.ui.usertransactions
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.*
import androidx.compose.runtime.Composab... | 0 | Kotlin | 0 | 0 | 84a9765a184346c58a234fbe019cc89dd8442bc6 | 4,630 | Wallet | BSD Source Code Attribution |
waypoint-core/src/test/java/com/squaredcandy/waypoint/core/route/lifecycle/TestSavedStateHolder.kt | squaredcandy | 638,860,321 | false | null | package com.squaredcandy.waypoint.core.route.lifecycle
import androidx.compose.runtime.Composable
import androidx.compose.runtime.saveable.SaveableStateHolder
class TestSavedStateHolder(
private val onRemoveState: (key: Any) -> Unit,
): SaveableStateHolder {
@Composable
override fun SaveableStateProvider(... | 0 | Kotlin | 0 | 0 | 982ef4d1a4243507554240341aba09063e75dbb7 | 442 | waypoint | Apache License 2.0 |
app/src/main/java/com/matthew/carvalhodagenais/coinhuntingbuddy/ui/screens/HuntScreen.kt | mcd-3 | 474,478,959 | false | {"Kotlin": 242534} | package com.matthew.carvalhodagenais.coinhuntingbuddy.ui.screens
import android.content.Context
import android.content.Intent
import android.util.Log
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
... | 4 | Kotlin | 0 | 1 | af1eec1593abdef3c83a85cb398093d4f9c29f0e | 12,368 | coin-hunting-buddy | MIT License |
db-room/src/main/java/com/pyamsoft/fridge/db/room/RoomFridgeDb.kt | pyamsoft | 175,992,414 | false | null | /*
* Copyright 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... | 5 | Kotlin | 2 | 6 | 3401d31bfca68172622bbd6de3fcaa1032c79b42 | 1,970 | fridgefriend | Apache License 2.0 |
kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/acceptedNames.kt | ichaki5748 | 124,968,379 | true | {"Kotlin": 309714} | // GENERATED
package com.fkorotkov.kubernetes
import io.fabric8.kubernetes.api.model.apiextensions.CustomResourceDefinitionNames
import io.fabric8.kubernetes.api.model.apiextensions.CustomResourceDefinitionStatus
fun CustomResourceDefinitionStatus.`acceptedNames`(block: CustomResourceDefinitionNames.() -> Unit = {}... | 0 | Kotlin | 0 | 0 | b00b6ddb4b851a864a2737a3374603f7db659af7 | 459 | k8s-kotlin-dsl | MIT License |
RetenoSdkCore/src/main/java/com/reteno/core/di/provider/controller/ScheduleControllerProvider.kt | reteno-com | 545,381,514 | false | {"Kotlin": 1027930, "Java": 160540, "HTML": 17807, "Shell": 379} | package com.reteno.core.di.provider.controller
import com.reteno.core.di.base.ProviderWeakReference
import com.reteno.core.di.provider.WorkManagerProvider
import com.reteno.core.domain.controller.ScheduleController
import com.reteno.core.domain.controller.ScheduleControllerImpl
internal class ScheduleControllerProvid... | 1 | Kotlin | 1 | 1 | 40df793dea31a7847e93afd6daf21ab8f0317a2f | 1,300 | reteno-mobile-android-sdk | MIT License |
Client/app/src/main/java/com/t3ddyss/clother/data/auth/remote/models/SignInErrorDto.kt | t3ddyss | 337,083,750 | false | {"Kotlin": 343621, "Python": 38739, "Jupyter Notebook": 22857, "HTML": 11031, "Dockerfile": 439, "Shell": 405} | package com.t3ddyss.clother.data.auth.remote.models
import com.google.gson.annotations.SerializedName
import com.t3ddyss.clother.data.common.common.remote.models.ErrorDto
typealias SignInErrorDto = ErrorDto<SignInErrorType>
enum class SignInErrorType {
@SerializedName("email_not_verified")
EMAIL_NOT_VERIFIED... | 0 | Kotlin | 1 | 23 | d18048ac5b354d3c499003ef73afd088c9076e19 | 390 | Clother | MIT License |
arrow-libs/core/arrow-atomic/src/commonTest/kotlin/arrow/atomic/AtomicTest.kt | PhBastiani | 208,032,328 | true | {"Kotlin": 2531637, "Java": 7691} | package arrow.atomic
import arrow.fx.coroutines.parMap
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import io.kotest.property.Arb
import io.kotest.property.arbitrary.string
import io.kotest.property.checkAll
import kotlin.coroutines.Continuation
import kotlin.coroutines.EmptyCoroutine... | 0 | Kotlin | 0 | 0 | b1ad7f713a68c24c8ae0105cbc4d2c9409e575ff | 2,357 | arrow | Apache License 2.0 |
composeApp/src/commonMain/kotlin/org/xanderzhu/coincounter/db/injection/DatabaseComponentImpl.kt | XanderZhu | 735,312,120 | false | {"Kotlin": 12083} | package org.xanderzhu.coincounter.db.injection
import org.xanderzhu.coincounter.data.Database
import org.xanderzhu.coincounter.db.DatabaseBuilder
import org.xanderzhu.coincounter.db.DatabaseDriverFactory
class DatabaseComponentImpl(
private val databaseDriverFactory: DatabaseDriverFactory
) : DatabaseComponent {
... | 0 | Kotlin | 0 | 0 | c05b2fde964c65741b31087bad2581d8ab6d65d2 | 413 | cointcounter | Apache License 2.0 |
app/src/main/java/gawquon/mapletherm/core/network/bluetooth/BluetoothLeReader.kt | whitehml | 608,223,366 | false | null | package gawquon.mapletherm.core.network.bluetooth
import android.annotation.SuppressLint
import android.bluetooth.BluetoothGatt
import android.bluetooth.BluetoothGattCallback
import android.bluetooth.BluetoothGattCharacteristic
import android.bluetooth.BluetoothGattDescriptor
import android.bluetooth.BluetoothManager
... | 1 | Kotlin | 0 | 0 | aa98d79e0f1a9f5e641f2ec918dde20640871b75 | 7,199 | Maple-BLE-thermometer | MIT License |
test-plugin/src/main/kotlin/me/mrkirby153/kcutils/testplugin/TestPlugin.kt | mrkirby153 | 75,577,963 | false | null | package me.mrkirby153.kcutils.testplugin
import me.mrkirby153.kcutils.Chat
import me.mrkirby153.kcutils.Time
import org.bukkit.entity.Player
import org.bukkit.plugin.java.JavaPlugin
class TestPlugin : JavaPlugin() {
override fun onEnable() {
val start = System.currentTimeMillis()
logger.info("Hel... | 0 | Kotlin | 0 | 0 | 1a97090677e96adcc087911ee7d8059af25630d4 | 817 | KirbyUtils | MIT License |
app/src/main/java/io/woong/filmpedia/data/movie/Credits.kt | cheonjaewoong | 391,828,359 | false | null | package io.woong.filmpedia.data.movie
import com.google.gson.annotations.SerializedName
data class Credits(
val id: Int,
val cast: List<Cast>,
val crew: List<Crew>
) {
data class Cast(
val adult: Boolean,
val gender: Int?,
val id: Int,
@SerializedName("known_for_depart... | 0 | Kotlin | 0 | 4 | 2e2700dbff77881de55ade1de89a716b0b076f14 | 1,205 | filmpedia | MIT License |
stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/components/messages/ThreadParticipants.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 3,816 | stream-chat-android | FSF All Permissive License |
data-onecall/src/main/java/de/niklasbednarczyk/nbweather/data/onecall/models/MinutelyForecastModelData.kt | NiklasBednarczyk | 529,683,941 | false | null | package de.niklasbednarczyk.nbweather.data.onecall.models
import de.niklasbednarczyk.nbweather.data.onecall.values.datetime.DateTimeValue
import de.niklasbednarczyk.nbweather.data.onecall.values.units.PrecipitationValue
import de.niklasbednarczyk.nbweather.data.onecall.local.models.MinutelyForecastEntityLocal
import d... | 22 | Kotlin | 0 | 0 | b2d94e99336b908a48e784febda56a4750039cb2 | 1,451 | NBWeather | MIT License |
components/src/main/kotlin/com/alexrdclement/uiplayground/components/MediaItemArtwork.kt | alexrdclement | 661,077,963 | false | {"Kotlin": 224028, "Swift": 900} | package com.alexrdclement.uiplayground.components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import ... | 0 | Kotlin | 0 | 0 | a99ee143215098889afaf4fa97d3399f9dc65383 | 1,247 | UiPlayground | Apache License 2.0 |
src/main/kotlin/Main.kt | PocketCampus | 765,607,529 | false | null | import Args.Companion.toFlag
import ReviewsSheet.Companion.rowOf
import apis.*
import com.slack.api.Slack
import kotlinx.datetime.Clock
import kotlinx.datetime.Instant
import kotlinx.datetime.TimeZone
import kotlinx.datetime.toLocalDateTime
import utils.*
import kotlin.math.roundToInt
import kotlin.reflect.KProperty
im... | 1 | null | 0 | 1 | fc0135ffab3a958cfd4c8c0d7994a04ce820e18f | 15,705 | store-reviews-exporter | Apache License 2.0 |
app/src/main/java/org/stepic/droid/configuration/RemoteConfig.kt | hkh412 | 96,096,662 | true | {"Java Properties": 2, "Gradle": 4, "Shell": 2, "Text": 19, "Markdown": 1, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 3, "Proguard": 2, "XML": 215, "Java": 282, "Kotlin": 403, "CSS": 1, "JavaScript": 1} | package org.stepic.droid.configuration
object RemoteConfig {
val continueCourseExperimentEnabledKey = "continue_course_experiment_enabled"
val minDelayRateDialogSec = "min_delay_rate_dialog_sec"
}
| 0 | Java | 0 | 0 | 8dc965cbd975bf2ec64220acc78930c5a6b9a7e8 | 206 | stepik-android | Apache License 2.0 |
src/main/kotlin/org/jetbrains/bio/span/statistics/hmm/NB2ZHMM.kt | JetBrains-Research | 159,559,994 | false | {"Kotlin": 320171} | package org.jetbrains.bio.span.statistics.hmm
import org.jetbrains.bio.dataframe.DataFrame
import org.jetbrains.bio.statistics.Preprocessed
import org.jetbrains.bio.statistics.model.Fitter
/**
* A zero-inflated HMM with univariate Negative Binomial emissions.
*
* @author Alexey Dievsky
* @author Sergei Lebedev
*... | 7 | Kotlin | 1 | 8 | 5b3d2fe7b9c420d96ae47a304cfea7b82721ec6a | 1,286 | span | MIT License |
app/src/main/java/com/anbui/recipely/data/local/entities/converter/LocalDateTimeConverter.kt | AnBuiii | 667,858,307 | false | null | package com.anbui.yum.data.converters
import androidx.room.TypeConverter
import java.time.LocalDateTime
class LocalDateTimeConverter {
@TypeConverter
fun toLocalDateTime(dateString: String): LocalDateTime {
return LocalDateTime.parse(dateString)
}
@TypeConverter
fun toDateString(date: Loc... | 0 | Kotlin | 1 | 3 | f9be75c6dc8fba9ce7eb5a080c28de6e68ba4a5b | 381 | Yum | MIT License |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/SqrtBox.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: SqrtBox
*
* Full name: System`SqrtBox
*
* Usage: SqrtBox[x] is a low-level box construct that ... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,072 | mathemagika | Apache License 2.0 |
backend/src/test/kotlin/com/github/davinkevin/podcastserver/find/FindHandlerTest.kt | sugartime | 218,463,114 | true | {"HTML": 22707379, "Kotlin": 968949, "TypeScript": 162740, "JavaScript": 95419, "Java": 65945, "CSS": 26945, "Shell": 6240, "Dockerfile": 4258, "Smarty": 328} | package com.github.davinkevin.podcastserver.find
import com.github.davinkevin.podcastserver.extension.json.assertThatJson
import com.github.davinkevin.podcastserver.service.image.CoverInformation
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import org.junit.jupiter.api.DisplayNam... | 0 | HTML | 0 | 0 | 915304b24abffa9896d01b1ed29b65c79e218b33 | 2,519 | Podcast-Server | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/screen/register/SignUp.kt | meierjan | 347,410,106 | false | null | package com.example.androiddevchallenge.screen.register
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx... | 0 | Kotlin | 0 | 0 | cdb5512467e535d3c7ccc8b4583f5261b13a6e34 | 4,160 | Bloom | Apache License 2.0 |
src/main/kotlin/com/xinaiz/wds/util/extensions/Point_.kt | domazey | 155,060,100 | false | null | package com.xinaiz.wds.util.extensions
import com.xinaiz.wds.core.by.ExtendedBy
import com.xinaiz.wds.core.element.ExtendedWebElement
import org.openqa.selenium.Point
import org.openqa.selenium.WebElement
fun Point.findIn(element: WebElement): WebElement {
return element.findElement(ExtendedBy.point(this))
}
fun... | 0 | Kotlin | 0 | 0 | 55012e722cb4e56785ca25e5477e0d7c2a5260cc | 433 | web-driver-support | Apache License 2.0 |
action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithPartlyTypings_Untyped.kt | typesafegithub | 439,670,569 | false | null | // This file was generated using action-binding-generator. Don't change it by hand, otherwise your
// changes will be overwritten with the next binding code regeneration.
// See https://github.com/typesafegithub/github-workflows-kt for more info.
@file:Suppress(
"DataClassPrivateConstructor",
"UNUSED_PARAMETER"... | 40 | null | 24 | 519 | e53f3e38214a447730ac27595affa0a9e6cc7a21 | 3,797 | github-workflows-kt | Apache License 2.0 |
src/main/kotlin/me/yunleah/plugin/coldestiny/internal/hook/griefdefender/impl/GriefDefenderHookerImpl.kt | Yunleah | 664,422,335 | false | null | package me.yunleah.plugin.coldestiny.internal.hook.griefdefender.impl
import com.griefdefender.api.GriefDefender
import me.yunleah.plugin.coldestiny.internal.hook.griefdefender.GriefDefenderHooker
import org.bukkit.OfflinePlayer
/**
* GriefDefender附属领地挂钩
*
* @constructor 启用GriefDefender附属领地挂钩
*/
class GriefDefen... | 0 | Kotlin | 0 | 2 | 45140895612ae0270911d108cc4394d0dce052b1 | 545 | ColdEstiny | MIT License |
module/webview/src/main/java/jp/hazuki/yuzubrowser/webview/WebViewRenderingManager.kt | hazuki0x0 | 84,384,224 | false | null | /*
* Copyright (C) 2017-2019 Hazuki
*
* 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... | 115 | null | 95 | 301 | 6a867f406b7fc6b29f1899c7ca622e7ce75fafa0 | 3,548 | YuzuBrowser | Apache License 2.0 |
plugin-bsp/src/main/kotlin/org/jetbrains/plugins/bsp/performanceImpl/WaitForBazelSyncCommand.kt | JetBrains | 826,262,028 | false | null | package org.jetbrains.plugins.bsp.performanceImpl
import com.intellij.collaboration.async.nestedDisposable
import com.intellij.openapi.ui.playback.PlaybackContext
import com.intellij.openapi.ui.playback.commands.PlaybackCommandCoroutineAdapter
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.corout... | 2 | null | 18 | 45 | 1d79484cfdf8fc31d3a4b214655e857214071723 | 1,903 | hirschgarten | Apache License 2.0 |
data/db/src/commonMain/kotlin/app/tivi/data/daos/LibraryShowsDao.kt | chrisbanes | 100,624,553 | false | null | // Copyright 2017, Google LLC, <NAME> and the Tivi project contributors
// SPDX-License-Identifier: Apache-2.0
package app.tivi.data.daos
import androidx.paging.PagingSource
import app.tivi.data.compoundmodels.LibraryShow
import app.tivi.data.models.SortOption
interface LibraryShowsDao {
fun pagedListLastWatched(
... | 23 | null | 876 | 6,626 | e261ffbded01c1439b93c550cd6e714c13bb9192 | 460 | tivi | Apache License 2.0 |
livemap/src/commonMain/kotlin/jetbrains/livemap/core/SystemTime.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.livemap.core
expect open class SystemTime() {
fun getTimeMs(): Long
} | 97 | null | 51 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 250 | lets-plot | MIT License |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/domain/usecase/FindYourCoursesUseCase.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2103689, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.domain.usecase
import com.denchic45.studiversity.data.repository.CourseRepository
import com.denchic45.studiversity.domain.resource.Resource
import com.denchic45.stuiversity.api.course.model.CourseResponse
import me.tatarka.inject.annotations.Inject
@Inject
class FindYourCoursesUseC... | 0 | Kotlin | 0 | 7 | 93947301de4c4a9cb6c3d9fa36903f857c50e6c2 | 492 | Studiversity | Apache License 2.0 |
plugins/kotlin/j2k/new/tests/testData/newJ2k/field/volatileCommon.kt | ingokegel | 72,937,917 | false | null | import kotlin.concurrent.Volatile
// API_VERSION: 1.9
// COMPILER_ARGUMENTS: -opt-in=kotlin.ExperimentalStdlibApi
internal class A {
@Volatile
var field1 = 0
}
| 214 | null | 4829 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 169 | intellij-community | Apache License 2.0 |
src/main/kotlin/com/sheepduke/api/server/common/ApiGatewayHandler.kt | sheepduke | 214,113,954 | false | null | package com.sheepduke.api.server.common
import com.amazonaws.services.lambda.runtime.Context
import com.amazonaws.services.lambda.runtime.RequestHandler
import mu.KotlinLogging
object ApiGatewayRequestKeys {
const val BODY: String = "body"
}
object ApiGatewayResponseKeys {
const val STATUS_CODE = "statusCode... | 0 | Kotlin | 1 | 0 | 411680437ff535bec3666ea93cc89acc3f8a13a3 | 1,632 | demo-kotlin-aws-api-server | MIT License |
gremlin-kore/src/main/kotlin/org/apache/tinkerpop4/gremlin/jsr223/console/GremlinShellEnvironment.kt | phreed | 449,920,526 | false | {"Java": 12267812, "Kotlin": 3878234, "C#": 1500464, "Python": 566321, "Gherkin": 438600, "Groovy": 345265, "JavaScript": 229293, "TypeScript": 154521, "Shell": 61593, "ANTLR": 43774, "Dockerfile": 6202, "XSLT": 4410, "Batchfile": 3977, "Awk": 2335} | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 4 | null | 1 | 1 | cb6805d686e9a27caa8e597b0728a50a63dc9092 | 1,491 | tinkerpop4 | Apache License 2.0 |
core-network/src/main/java/com/awesomejim/pokedex/core/network/model/ResponseMapper.kt | AwesomeJim | 728,151,790 | false | {"Kotlin": 104027} | package com.awesomejim.pokedex.core.network.model
import com.awesomejim.pokedex.core.model.Ability
import com.awesomejim.pokedex.core.model.Pokemon
import com.awesomejim.pokedex.core.model.PokemonInfo
import com.awesomejim.pokedex.core.model.PokemonType
import com.awesomejim.pokedex.core.model.Stats
import com.awesom... | 0 | Kotlin | 0 | 0 | 13fb520a6a58d516303cb2ee99de4a9a9de68d22 | 3,033 | MiniPokedex | Apache License 2.0 |
contracts/src/test/kotlin/com/template/states/BALLOTStateTests.kt | icgarlin | 194,896,005 | true | {"Kotlin": 30470, "HTML": 2040, "JavaScript": 1828} | package net.corda.training.state
import net.corda.core.contracts.*
import net.corda.core.identity.Party
import net.corda.finance.*
import org.junit.Test
import java.util.*
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
import com.example.state.BALLOTState
class BALLOTStateTests {
@Test
... | 0 | Kotlin | 0 | 0 | 21cafa862204310d6a2964fc356fa2768593b7b6 | 2,460 | cordapp-voda-kotlin | Apache License 2.0 |
tradeit-android-sdk/src/main/kotlin/it/trade/android/sdk/TradeItSDK.kt | tradingticket | 74,619,601 | false | null | package it.trade.android.sdk
import android.util.Log
import it.trade.android.sdk.exceptions.TradeItSDKConfigurationException
import it.trade.android.sdk.manager.TradeItLinkedBrokerManager
import it.trade.android.sdk.model.TradeItLinkedBrokerCache
import it.trade.model.request.TradeItEnvironment
object TradeItSDK {... | 2 | null | 10 | 13 | 1d784e9eba023479652ccc5963ea7a77624bde01 | 1,779 | AndroidSDK | Apache License 2.0 |
radar-jersey/src/main/kotlin/org/radarbase/jersey/exception/mapper/DefaultTextExceptionRenderer.kt | RADAR-base | 212,096,820 | false | {"Kotlin": 184451, "HTML": 330} | /*
* Copyright (c) 2019. The Hyve
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* See the file LICENSE in the root of this repository.
*/
package org.radarbase.jersey.exception.mapper
import org.radarbase.jersey.exceptio... | 1 | Kotlin | 0 | 2 | 8f53a65af66eb6fabca5cd9baa68ceddb750773e | 654 | radar-jersey | Apache License 2.0 |
OpenLibraryApp/app/src/main/java/com/woowrale/openlibrary/ui/observers/Observers.kt | woowrale | 259,549,697 | false | null | package com.woowrale.openlibrary.ui.observers
import android.util.Log
import androidx.lifecycle.MutableLiveData
import com.woowrale.openlibrary.domain.model.Book
import com.woowrale.openlibrary.domain.model.Seed
import com.woowrale.openlibrary.usecase.observers.Observer
class SaveSeedObserver constructor(private val ... | 0 | Kotlin | 0 | 0 | 396d7e9a289c619d571caf0c4dc2fb36c43b6be1 | 2,433 | architect-coders-project | MIT License |
generated-code-tests/src/test/kotlin/dogacel/kotlinx/protobuf/gen/proto/OneofPOC.kt | Dogacel | 674,802,209 | false | null | package dogacel.kotlinx.protobuf.gen.proto
import kotlinx.serialization.Contextual
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromByteArray
import kotlinx.serialization.encodeToByteArray
import kotlinx.serialization.protobuf.ProtoBuf
import kotlinx.serialization.protobuf.ProtoNumber
i... | 11 | null | 1 | 6 | 668d2cda7233dd5a8e0a0c94122abe8caf6d29b8 | 4,791 | kotlinx-protobuf-gen | Apache License 2.0 |
src/test/kotlin/examples/kotlin/mybatis3/column/comparison/ColumnComparisonDynamicSqlSupport.kt | mybatis | 73,488,326 | false | {"Java": 1977035, "Kotlin": 613939, "CSS": 683} | /*
* Copyright 2016-2022 the original 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | 7 | Java | 212 | 999 | 067a30c991d46f6b159dcb4f47e16ccb9948829a | 1,280 | mybatis-dynamic-sql | Apache License 2.0 |
smartdoc-dashboard/src/main/kotlin/smartdoc/dashboard/controller/console/view/ServiceClientViewController.kt | Maple-mxf | 283,354,797 | false | null | package restdoc.web.controller.console.view
import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bind.annotation.RequestParam
import restd... | 21 | null | 2 | 2 | 3cdf9de7593c78c819b3dadc9b583e736041d55f | 975 | rest-doc | Apache License 2.0 |
app/src/main/java/com/andrii_a/walleria/di/DatabaseModule.kt | andrew-andrushchenko | 525,795,850 | false | {"Kotlin": 656065} | package com.andrii_a.walleria.di
import android.app.Application
import androidx.room.Room
import com.andrii_a.walleria.data.local.db.WalleriaDatabase
import com.andrii_a.walleria.data.local.db.dao.RecentSearchesDao
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.S... | 0 | Kotlin | 2 | 3 | c25661c610d3197390ac86b7c63295a10095e622 | 817 | Walleria | MIT License |
runtime/protocol/http/common/src/aws/smithy/kotlin/runtime/http/DeferredHeaders.kt | smithy-lang | 294,823,838 | false | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.smithy.kotlin.runtime.http
import aws.smithy.kotlin.runtime.InternalApi
import aws.smithy.kotlin.runtime.collections.ValuesMap
import aws.smithy.kotlin.runtime.collections.ValuesMapBuilder
im... | 33 | null | 26 | 63 | 8f32541a8801778f6401169ce4f3e141a0b19327 | 2,733 | smithy-kotlin | Apache License 2.0 |
app/src/main/kotlin/com/thundermaps/apilib/android/impl/resources/StandardResponse.kt | SaferMe | 240,105,080 | false | null | package com.thundermaps.apilib.android.impl.resources
import com.google.gson.Gson
import com.squareup.moshi.Moshi
import com.thundermaps.apilib.android.api.ExcludeFromJacocoGeneratedReport
import com.thundermaps.apilib.android.api.fromJsonString
import com.thundermaps.apilib.android.api.requests.SaferMeApiStatus
impor... | 2 | Kotlin | 0 | 0 | c56862f8b504879996f1232079b62a81a5e402ef | 3,014 | saferme-api-client-android | MIT License |
app/src/qa/kotlin/app/tivi/NetworkBehaviorSimulatorInterceptor.kt | chrisbanes | 100,624,553 | false | null | /*
* Copyright 2021 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 i... | 39 | null | 780 | 5,603 | bffa49f7c4a61b168317ea59f135699878960bdc | 2,070 | tivi | Apache License 2.0 |
app/src/main/java/com/dnd/sixth/lmsservice/presentation/feedback/WriteFeedBackViewModel.kt | dnd-side-project | 446,845,440 | false | null | package com.dnd.sixth.lmsservice.presentation.feedback
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.dnd.sixth.lmsservice.data.model.feedbackComment.FeedBackModel
import com.dnd.sixth.lmsservice.data.preference.PreferenceManager
import com.dnd.sixth.lmsservice.domain.use... | 19 | Kotlin | 2 | 5 | 3e0b121dc4e390610d11ecdfd616f682368acd1f | 1,250 | dnd-6th-4-ping-pong | MIT License |
awesome-flutter/apps/quizapp/android/app/src/main/kotlin/com/example/quizapp/MainActivity.kt | fadhilsaheer | 336,218,437 | false | {"Dart": 310710, "JavaScript": 152932, "HTML": 50307, "Handlebars": 28563, "Python": 24108, "CSS": 17502, "Swift": 8026, "Kotlin": 2321, "Ruby": 1354, "Objective-C": 684} | package com.example.quizapp
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 1 | Dart | 1 | 4 | 976e4c175bd81563ec82b8445e9735c82146641c | 124 | awesome | MIT License |
test/src/me/anno/tests/network/rollingshooter/RollingShooter.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.tests.network.rollingshooter
import me.anno.Time
import me.anno.bullet.BulletPhysics
import me.anno.bullet.Rigidbody
import me.anno.ecs.Component
import me.anno.ecs.Entity
import me.anno.ecs.EntityQuery.getComponent
import me.anno.ecs.components.camera.Camera
import me.anno.ecs.components.collider.BoxC... | 0 | null | 3 | 24 | 63377c2e684adf187a31af0f4e5dd0bfde1d050e | 13,855 | RemsEngine | Apache License 2.0 |
app-ios/src/iosMain/kotlin/dev/sergiobelda/todometer/app/ios/main.kt | serbelga | 301,817,067 | false | {"Kotlin": 616474, "Swift": 767} | /*
* Copyright 2022 <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... | 5 | Kotlin | 31 | 488 | 517c9161ec1ef53d223993e66d50895fda7f4959 | 9,240 | Todometer-KMP | Apache License 2.0 |
fidoclient/src/main/java/com/nhs/online/fidoclient/uaf/tlv/TagsEnum.kt | nhsconnect | 209,280,055 | false | null | /*
* Copyright 2015 eBay Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 0 | Kotlin | 4 | 8 | efe9147cfffdef22b7ca7de2fa26de0a0cb784f1 | 1,981 | nhsapp-fido-client-android | MIT License |
components/buttons/api/src/main/kotlin/org/randomcat/agorabot/buttons/Handler.kt | randomnetcat | 291,139,813 | false | {"Kotlin": 775591, "Nix": 17514} | package org.randomcat.agorabot.buttons
import kotlinx.collections.immutable.ImmutableMap
import kotlinx.collections.immutable.toImmutableMap
import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent
import org.randomcat.util.requireDistinct
import kotlin.reflect.KClass
interface ButtonHandlerCont... | 0 | Kotlin | 3 | 6 | 9f3381123ac56c12ef43a9e13e0c360ee6fd8dab | 2,023 | AgoraBot | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/appmesh/GrpcVirtualNodeListenerOptionsDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.appmesh
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.appmesh.GrpcVirtualNodeListenerOptions
@Generated
public fun buildGrpcVirtualNodeListenerOptions(initializer: @AwsCdkDsl
GrpcV... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 472 | aws-cdk-kt | Apache License 2.0 |
src/main/kotlin/io/github/cafeteriaguild/advweaponry/gui/widgets/WSelectableItemSlot.kt | CafeteriaGuild | 271,669,092 | false | {"Gradle": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 4, "JSON": 9, "Kotlin": 39} | package io.github.cafeteriaguild.advweaponry.gui.widgets
import io.github.cafeteriaguild.advweaponry.blocks.AdvTableBlock
import io.github.cafeteriaguild.advweaponry.gui.TableController
import io.github.cafeteriaguild.advweaponry.mixin.AccessorWItemSlot
import io.github.cottonmc.cotton.gui.client.BackgroundPainter
imp... | 0 | Kotlin | 0 | 0 | f06efd30051775f4f5235ea4eca5d26706b2c344 | 4,082 | AdventurerWeaponry | Apache License 2.0 |
shared/src/commonMain/kotlin/com.jettaskboard.multiplatform/util/krouter/KRouter.kt | pushpalroy | 633,443,908 | false | null | package com.adikmt.notesapp.ui.krouter
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.DisallowComposableCalls
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.ProvidableCompositionLocal
import androidx.co... | 5 | Kotlin | 4 | 7 | 8b01ee817b14cb78e6d4a1aeb208d93d5b9fade4 | 4,047 | NotesAppKMM | The Unlicense |
app/src/androidTest/java/com/udacity/project4/RemindersActivityTest.kt | mavinkurve | 507,427,549 | false | {"Kotlin": 94866} | package com.udacity.project4
import android.app.Activity
import android.app.Application
import android.os.Build
import android.util.Log
import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.ApplicationProvider.getApplicationContext
import androidx.test.espresso.Espresso.onView
import androidx.te... | 0 | Kotlin | 0 | 0 | 15514089b2766a799a4d2cb984461e052df6c673 | 6,643 | Udacity-Location-Reminder | MIT License |
app/src/main/java/app/eluvio/wallet/app/WalletApplication.kt | eluv-io | 719,801,077 | false | {"Kotlin": 415029, "Java": 22753} | package app.eluvio.wallet.app
import android.app.Application
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ProcessLifecycleOwner
import app.eluvio.wallet.BuildConfig
import app.eluvio.wallet.data.stores.FabricConfigStore
import app.eluvio.wallet.d... | 8 | Kotlin | 1 | 0 | d9fc4a936b1b8c0186812fc75faaaf6ffbcec7f5 | 2,279 | elv-wallet-android | MIT License |
sample/src/main/java/com/github/aachartmodel/aainfographics/demo/additionalcontent/HideOrShowChartSeriesActivity.kt | AAChartModel | 120,119,119 | false | null | /**
* ◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉ ...... SOURCE CODE ......◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉
* ◉◉◉................................................... ◉◉◉
* ◉◉◉ https://github.com/AAChartModel/AAChartCore ◉◉◉
* ◉◉◉ https://github.com/AAChartModel/AAChartCore-Kotlin ◉◉◉
* ◉◉◉......................................... | 94 | null | 117 | 996 | 4b2fe6526dac0a28b8a18ef44ac8c262c1a67e7d | 1,619 | AAChartCore-Kotlin | Apache License 2.0 |
app/src/main/java/fr/legris/pokedex/data/api/model/VersionGroupDTO.kt | legrisnico | 346,312,999 | false | {"Kotlin": 55798} | package fr.legris.pokedex.data.api.model
import com.google.gson.annotations.SerializedName
data class TypeDTO (
@SerializedName("name") val name : String,
@SerializedName("url") val url : String
) | 2 | Kotlin | 0 | 1 | fb07531519c80d0884b2f30c987ad0c06ff7e2f7 | 201 | pokedex | Apache License 2.0 |
spesialist-modell/src/main/kotlin/no/nav/helse/modell/saksbehandler/handlinger/LeggPåVent.kt | navikt | 244,907,980 | false | {"Kotlin": 2597039, "PLpgSQL": 29508, "HTML": 1741, "Dockerfile": 195} | package no.nav.helse.modell.saksbehandler.handlinger
import java.time.LocalDate
import no.nav.helse.modell.saksbehandler.Saksbehandler
class LeggPåVent(
private val oppgaveId: Long,
private val frist: LocalDate?,
private val begrunnelse: String?,
) : PåVent {
override fun loggnavn(): String = "lagt_på... | 6 | Kotlin | 1 | 0 | 984a32e52cbdf6fe760573fa90a4bc840a8cb906 | 534 | helse-spesialist | MIT License |
android-kotlin/idea-android/k2/src/org/jetbrains/kotlin/android/intention/K2KotlinAndroidAddStringResourceIntention.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 3,335 | android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.