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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
watari-codec-pmp/src/main/kotlin/tv/dotstart/watari/protocol/pmp/message/request/v0/reader/AbstractPortMappingRequestReader.kt | dotStart | 517,175,816 | false | null | /*
* Copyright 2022 Johannes Donath <johannesd@torchmind.com>
* and other copyright owners as documented in the project's IP log.
*
* 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
*
* ... | 0 | Kotlin | 0 | 0 | 13214a53df9d144c6e0c81e543b4f2a0326bc6c8 | 2,561 | watari | Apache License 2.0 |
shared/ui-widget/src/main/java/ru/maksonic/rdcompose/shared/ui_widget/viewstate/LoadingViewState.kt | maksonic | 495,363,119 | false | {"Kotlin": 352101} | package ru.maksonic.rdcompose.shared.ui_widget.viewstate
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.material.CircularProgressIndicator
import and... | 0 | Kotlin | 1 | 1 | 97e59162c3a6ea94c69f8c337666edbe22f53c7c | 1,394 | RDCompose | MIT License |
plugins/analysis/common/src/main/kotlin/arrow/meta/plugins/analysis/smt/utils/FormulaToKotlin.kt | arrow-kt | 217,378,939 | false | null | package arrow.meta.plugins.analysis.smt.utils
import arrow.meta.plugins.analysis.smt.Solver
import org.sosy_lab.java_smt.api.Formula
import org.sosy_lab.java_smt.api.FormulaManager
import org.sosy_lab.java_smt.api.FunctionDeclaration
import org.sosy_lab.java_smt.api.FunctionDeclarationKind
import org.sosy_lab.java_smt... | 99 | Kotlin | 40 | 316 | 8d2a80cf3a1275a752c18baceed74cb61aa13b4d | 5,009 | arrow-meta | Apache License 2.0 |
server/world/src/main/kotlin/event/GameEvent.kt | Guthix | 270,323,476 | false | null | /*
* Copyright 2018-2021 Guthix
*
* 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 ... | 2 | null | 9 | 43 | bbf40d18940a12155a33341a1c99ba47289b8e2a | 1,180 | OldScape | Apache License 2.0 |
ktor-client/ktor-client-tests/jvm/test/io/ktor/client/tests/MultithreadedTest.kt | ktorio | 40,136,600 | false | null | /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.tests
import io.ktor.client.call.*
import io.ktor.client.request.*
import io.ktor.client.tests.utils.*
import kotlinx.coroutines.*
import java.util.concurrent.*
import ko... | 303 | null | 806 | 9,709 | 9e0eb99aa2a0a6bc095f162328525be1a76edb21 | 1,284 | ktor | Apache License 2.0 |
build-attribution/testSrc/com/android/build/attribution/ui/BuildAttributionUiManagerTest.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 187 | 751 | 16d17317f2c44ec46e8cd2180faf9c349d381a06 | 18,669 | android | Apache License 2.0 |
android-sdk/src/main/java/webtrekk/android/sdk/Webtrekk.kt | mapp-digital | 166,987,236 | false | null | /*
* MIT License
*
* Copyright (c) 2019 Webtrekk GmbH
*
* 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, co... | 2 | null | 2 | 13 | f493dfe7e85591e6806fa3a94c50e394eda3cb60 | 16,494 | webtrekk-android-sdk-v5 | MIT License |
app/src/main/java/org/bxkr/octodiary/screens/navsections/daybook/CalendarRow.kt | OctoDiary | 474,135,407 | false | {"Kotlin": 608205} | package org.bxkr.octodiary.screens.navsections.daybook
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.fo... | 10 | Kotlin | 3 | 11 | c6ba6ec282c6d91e651327d2df0295d100c8ade1 | 3,515 | OctoDiary-kt | MIT License |
src/main/kotlin/org/jetbrains/academy/test/system/models/method/TestMethod.kt | jetbrains-academy | 632,174,674 | false | {"Kotlin": 96901} | package org.jetbrains.academy.test.system.core.models.method
import org.jetbrains.academy.test.system.core.checkType
import org.jetbrains.academy.test.system.core.models.TestKotlinType
import org.jetbrains.academy.test.system.core.models.Visibility
import org.jetbrains.academy.test.system.core.models.variable.TestVari... | 2 | Kotlin | 0 | 0 | efaf033e1274c33e218c48a9640423fedc967183 | 2,231 | kotlin-test-framework | MIT License |
kompendium-auth/src/main/kotlin/io/bkbn/kompendium/auth/Notarized.kt | bkbnio | 356,919,425 | false | null | package io.bkbn.kompendium.auth
import io.bkbn.kompendium.auth.configuration.ApiKeyConfiguration
import io.bkbn.kompendium.auth.configuration.BasicAuthConfiguration
import io.bkbn.kompendium.auth.configuration.JwtAuthConfiguration
import io.bkbn.kompendium.auth.configuration.OAuthConfiguration
import io.bkbn.kompendiu... | 19 | Kotlin | 14 | 54 | 22dc0b8eea60916ae0114843b251153e531df499 | 1,528 | kompendium | MIT License |
core/acp-core/src/main/kotlin/io/github/zhangbinhub/acp/core/task/timer/rule/ExecuteType.kt | zhangbinhub | 279,298,314 | false | {"Gradle": 22, "Shell": 2, "Text": 2, "Ignore List": 1, "Batchfile": 2, "INI": 4, "Markdown": 6, "Java": 80, "YAML": 25, "XML": 16, "Kotlin": 201, "Java Properties": 3, "JSON": 2, "HTML": 1} | package io.github.zhangbinhub.acp.core.task.timer.rule
import io.github.zhangbinhub.acp.core.exceptions.EnumValueUndefinedException
/**
* @author zhang by 10/07/2019
* @since JDK 11
*/
enum class ExecuteType {
WeekDay,
Weekend,
All;
companion object {
private var nameMap: MutableMap<Stri... | 0 | Kotlin | 4 | 8 | 3d63305f56fed8302fc63fa45d6ebd30cbbd8c3e | 830 | acp | Apache License 2.0 |
enslig-forsorger/src/main/kotlin/no/nav/familie/kontrakter/ef/søknad/Samvær.kt | navikt | 206,793,193 | false | null | package no.nav.familie.kontrakter.ef.søknad
import java.time.LocalDate
data class Samvær(
val spørsmålAvtaleOmDeltBosted: Søknadsfelt<Boolean>? = null,
val avtaleOmDeltBosted: Søknadsfelt<Dokumentasjon>? = null,
val skalAnnenForelderHaSamvær: Søknadsfelt<String>? = null,
val harDereSkriftligAvtaleOmSa... | 16 | null | 0 | 2 | fd2cae7cc0d8617384440a78bab948e558fcc69b | 1,051 | familie-kontrakter | MIT License |
app/src/main/java/com/example/diapplication/domain/entity/Forecast.kt | rendivy | 661,304,960 | false | {"Kotlin": 93010} | package com.example.diapplication.domain.entity
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Forecast(
@SerialName("forecastday") val forecastDayList: List<Forecastday>
) | 0 | Kotlin | 0 | 0 | da2a3e4f13d0064699a2073bdce55fd8d9f9da21 | 239 | MonoWeather | MIT License |
features/characters_favorites/src/test/kotlin/com/vmadalin/dynamicfeatures/caractersfavorites/ui/favorite/adapter/CharactersFavoriteTouchHelperTest.kt | vmadalin | 192,786,158 | false | null | /*
* Copyright 2021 vyshas
*
* 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... | 3 | null | 379 | 2,347 | 9fe0723a3bd515337df0837e528968785772e994 | 3,327 | android-modular-architecture | Apache License 2.0 |
android/src/main/java/com/zondy/mapgis/mobile/geodatabase/JSLogEventReceiver.kt | MapGIS | 463,426,830 | false | {"TypeScript": 1360825, "Kotlin": 197019, "JavaScript": 2750, "Java": 1126, "Objective-C": 341, "Swift": 253} | package com.zondy.mapgis.mobile.geodatabase
import com.facebook.react.bridge.*
import com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEmitter
import com.zondy.mapgis.geodatabase.LogEventReceiver
import com.zondy.mapgis.geodatabase.event.IStepEndListener
import com.zondy.mapgis.geodatabase.event.... | 0 | TypeScript | 0 | 0 | 156db7d18afd91bcf720c6429dbcd359364abaf2 | 4,132 | MapGIS-Mobile-React-Native | MIT License |
ui/src/main/kotlin/com/aptopayments/sdk/features/maintenance/MaintenanceFragment.kt | AptoPayments | 197,800,853 | false | null | package com.aptopayments.sdk.features.maintenance
import android.os.Bundle
import com.aptopayments.mobile.data.config.UIConfig
import com.aptopayments.mobile.network.NetworkHandler
import com.aptopayments.sdk.R
import com.aptopayments.sdk.core.platform.BaseFragment
import com.aptopayments.sdk.core.platform.theme.theme... | 1 | Kotlin | 0 | 0 | 257af71aa439b3e90c150ae258c78eaa1a6ae817 | 1,747 | apto-ui-sdk-android | MIT License |
app/src/main/java/com/pr0gramm/app/ui/FancyExifThumbnailGenerator.kt | chrosey | 95,877,863 | false | null | package com.pr0gramm.app.ui
import android.app.Application
import android.graphics.*
import android.net.Uri
import com.pr0gramm.app.R
import com.pr0gramm.app.util.time
import com.squareup.picasso.Downloader
import it.sephiroth.android.library.exif2.ExifInterface
import okhttp3.Request
import org.slf4j.LoggerFactory
i... | 1 | null | 1 | 1 | b6a7b846bcae573545da824cb716a07a334adedb | 3,903 | Pr0 | MIT License |
listings/plp-probexplanation.kt | pikalab-unibo | 433,442,430 | false | {"TeX": 39029, "Kotlin": 2914, "Prolog": 1296, "Java": 760, "JavaScript": 671, "Python": 381, "Raku": 83, "Perl": 56} | internal interface ProbExplanation {
val probability: Double
val containsAnyNotGroundTerm: Boolean
fun not(): ProbExplanation
infix fun and(
that: ProbExplanation
): ProbExplanation
infix fun or(
that: ProbExplanation
): ProbExplanation
fun apply(
transformation: ... | 1 | TeX | 0 | 0 | 031ff67a8528465bc6da7338f35441d818c314ab | 368 | plp-aixia-2021-talk | LaTeX Project Public License v1.3c |
src/test/kotlin/io/github/emikaelsilveira/utils/builders/UserDTOBuilder.kt | Emikael | 205,024,998 | false | null | package io.github.emikaelsilveira.utils.builders
import io.github.emikaelsilveira.domain.entities.Address
import io.github.emikaelsilveira.domain.entities.User
import org.joda.time.LocalDateTime
class UserDTOBuilder {
var id = 1L
var name = "<NAME>"
var email = "<EMAIL>"
var phone = "(99) 99999-9999"... | 0 | Kotlin | 0 | 0 | 02aa43adb7fa1617541ff946fd4f0687c91bf978 | 930 | kotlin-full-sample | The Unlicense |
paymentsheet/src/main/java/com/stripe/android/paymentsheet/PaymentOptionsAdapter.kt | stripe | 6,926,049 | false | null | package com.stripe.android.paymentsheet
import android.annotation.SuppressLint
import android.content.res.Resources
import android.view.LayoutInflater
import android.view.View
import android.view.View.IMPORTANT_FOR_ACCESSIBILITY_YES
import android.view.ViewGroup
import androidx.annotation.VisibleForTesting
import andr... | 58 | null | 515 | 914 | d0e3a1528d6c68db55c939d2a770241570a55372 | 15,866 | stripe-android | MIT License |
src/main/kotlin/glm_/vec2/operators/opVec2.kt | kotlin-graphics | 71,653,021 | false | null | package glm_.vec2.operators
import glm_.f
import glm_.vec2.Vec2
import glm_.vec2.Vec2.Companion.div
import glm_.vec2.Vec2.Companion.minus
import glm_.vec2.Vec2.Companion.plus
import glm_.vec2.Vec2.Companion.rem
import glm_.vec2.Vec2.Companion.times
/**
* Created by GBarbieri on 13.12.2016.
*/
open class opVec2 {
... | 5 | null | 19 | 99 | dcbdd6237fbc5af02722b8ea1b404a93ce38a043 | 3,487 | glm | MIT License |
model/src/test/kotlin/RuleSequenceTest.kt | yole | 277,303,975 | false | null | package ru.yole.etymograph
import org.junit.Assert.assertEquals
import org.junit.Test
class RuleSequenceTest : QBaseTest() {
@Test
fun simpleSequence() {
val repo = repoWithQ().apply {
addLanguage(ce)
}
val qAiE = repo.rule("sound is 'a' and next sound is 'i':\n- new sound ... | 0 | null | 1 | 16 | 4ca5e5d546c1837db0caf707f6e7ca463b1c5874 | 1,928 | etymograph | Apache License 2.0 |
detekt-test-utils/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/KotlinEnvironmentTestSetup.kt | detekt | 71,729,669 | false | null | package io.gitlab.arturbosch.detekt.rules
import io.github.detekt.test.utils.KotlinCoreEnvironmentWrapper
import io.github.detekt.test.utils.createEnvironment
import io.github.detekt.test.utils.resourceAsPath
import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment
import org.junit.jupiter.api.extension.Exte... | 171 | null | 707 | 5,129 | 369d67390b6512ae01763e1fd71437d8a0f7b24a | 3,167 | detekt | Apache License 2.0 |
compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/inline/DeepCopyIrTreeWithDescriptors.kt | tnorbye | 162,147,688 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ir.backend.js.lower.inline
import org.jetbrains.kotlin.backend.common.*
import org.jetbrains.kotlin.backend.common.IrElementVi... | 1 | null | 2 | 2 | b6be6a4919cd7f37426d1e8780509a22fa49e1b1 | 57,906 | kotlin | Apache License 2.0 |
model/src/commonMain/kotlin/LocaledString.kt | DroidKaigi | 143,598,291 | false | null | package io.github.droidkaigi.confsched2020.model
@AndroidParcelize
data class LocaledString(
val ja: String,
val en: String
) : AndroidParcel {
val currentLangString get() = getByLang(defaultLang())
fun getByLang(lang: Lang): String {
return if (lang == Lang.JA) {
ja
} else... | 46 | null | 331 | 828 | 839b6dca4780aac1746c819f7ca8af6100afcda8 | 356 | conference-app-2019 | Apache License 2.0 |
libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/maneuver/ManeuverIconHelper.kt | joshkw | 267,965,204 | true | {"Java Properties": 3, "Markdown": 10, "Shell": 5, "Batchfile": 2, "Makefile": 1, "INI": 29, "Proguard": 15, "HTML": 8, "Kotlin": 491, "Java": 530, "JavaScript": 2, "Python": 2} | package com.mapbox.services.android.navigation.v5.internal.navigation.maneuver
import androidx.core.util.Pair
import com.mapbox.services.android.navigation.v5.navigation.NavigationConstants.STEP_MANEUVER_MODIFIER_LEFT
import com.mapbox.services.android.navigation.v5.navigation.NavigationConstants.STEP_MANEUVER_MODIFIE... | 0 | null | 0 | 0 | 7ce03b8464d0312692a53a5686c5f58007d7020e | 11,490 | mapbox-navigation-android | Apache License 2.0 |
app/src/main/java/com/aayar94/foodrecipes/utils/Constants.kt | AAyar94 | 646,751,480 | false | null | package com.aayar94.foodrecipes.utils
import com.aayar94.foodrecipes.BuildConfig
class Constants {
companion object {
const val BASE_URL = "https://api.spoonacular.com"
const val BASE_IMAGE_URL = "https://spoonacular.com/cdn/ingredients_100x100/"
const val API_KEY = BuildConfig.FOOD_RECIPE... | 0 | Kotlin | 0 | 1 | 7410f3c68d050d8a6d9d0364fc7d7495ac62b1ff | 1,628 | Food_Recipes | MIT License |
liveview-android/src/test/java/com/dockyard/liveviewtest/liveview/components/IconButtonShotTest.kt | liveview-native | 459,214,950 | false | {"Kotlin": 1385799, "Elixir": 68578} | package com.dockyard.liveviewtest.liveview.components
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.AccountCircle
import... | 229 | Kotlin | 3 | 68 | 438752add625f97d6dec46eadf6735252fc70498 | 13,948 | liveview-client-jetpack | MIT License |
jvm/sql/src/main/kotlin/SqlParser.kt | houqp | 262,223,654 | false | null | package org.ballistacompute.sql
import java.sql.SQLException
import java.util.logging.Logger
class SqlParser(val tokens: TokenStream) : PrattParser {
private val logger = Logger.getLogger(SqlParser::class.simpleName)
override fun nextPrecedence(): Int {
val token = tokens.peek() ?: return 0
... | 1 | null | 1 | 1 | 7011dec497090403ae861b6ce78ec48349755090 | 5,550 | ballista | Apache License 2.0 |
src/main/kotlin/org/rust/ide/refactoring/RsDowngradeModuleToFile.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.refactoring
import com.intellij.lang.Language
import com.intellij.openapi.actionSystem.DataContext
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
impor... | 1,841 | null | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 3,289 | intellij-rust | MIT License |
ui/src/test/kotlin/io/rippledown/caseview/ValueCellTest.kt | TimLavers | 513,037,911 | false | {"Kotlin": 992626, "Gherkin": 35600, "Java": 138} | package io.rippledown.caseview
import androidx.compose.foundation.layout.RowScope
import androidx.compose.ui.test.ExperimentalTestApi
import androidx.compose.ui.test.hasText
import androidx.compose.ui.test.junit4.createComposeRule
import io.kotest.matchers.shouldBe
import io.mockk.every
import io.mockk.mockk
import io... | 0 | Kotlin | 0 | 0 | 755058472297b68284b515abc3e3e2fd5e3b1698 | 2,358 | OpenRDR | MIT License |
kotlin-native/runtime/src/main/kotlin/kotlin/native/runtime/NativeRuntimeApi.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.native.runtime
import kotlin.annotation.AnnotationTarget.*
/**
* This annotation marks the K... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,332 | kotlin | Apache License 2.0 |
test/com/intellij/stats/completion/storage/StorageTest.kt | JetBrains | 45,971,220 | false | null | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 2 | null | 2 | 8 | 3db7f480f7996504ee4edf3265469c88f182cae3 | 4,652 | intellij-stats-collector | Apache License 2.0 |
ktor-hosts/ktor-servlet/src/org/jetbrains/ktor/servlet/ServletApplicationRequest.kt | cbeust | 64,515,203 | true | {"Kotlin": 928027, "FreeMarker": 6356, "CSS": 5404, "HTML": 1964, "JavaScript": 1451, "Shell": 158} | package org.jetbrains.ktor.servlet
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.host.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.nio.*
import org.jetbrains.ktor.request.*
import org.jetbrains.ktor.util.*
import java.io.*
import javax.servlet.http.*
class ServletApplicationRequest... | 0 | Kotlin | 0 | 1 | 8dc7ac666a336cba0f23a72cc31b8c0b14ad4f09 | 3,358 | ktor | Apache License 2.0 |
turtle/src/main/kotlin/com/lordcodes/turtle/Executable.kt | lordcodes | 202,986,234 | false | null | package com.lordcodes.turtle
import java.net.URL
/**
* Command executable, e.g. 'cd', with its [name] and a [helpUrl] to provide the user help if the executable isn't
* found on the system.
*
* @property [name] The command executable name, e.g. 'cd'.
* @property [helpUrl] A url that gives help for the executable... | 5 | null | 10 | 249 | cd30c8e1e457de2c66b7897d879b80b736b7f101 | 1,580 | turtle | Apache License 2.0 |
compiler/frontend.common/src/org/jetbrains/kotlin/diagnostics/rendering/DiagnosticRenderer.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.diagnostics.rendering
import org.jetbrains.kotlin.diagnostics.UnboundDiagnostic
... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 476 | kotlin | Apache License 2.0 |
android-kotlin/android-extensions-idea-common/src/org/jetbrains/kotlin/android/synthetic/idea/ExperimentalUtils.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 4 | null | 5074 | 941 | 569edfadfa3d6a8b1d2560022923817df46a8bc3 | 3,319 | android | Apache License 2.0 |
app/src/test/java/com/kickstarter/viewmodels/ProjectNotificationSettingsViewModelTest.kt | kickstarter | 76,278,501 | false | {"Kotlin": 5269841, "Java": 317201, "Ruby": 22177, "Shell": 6325, "Makefile": 3750} | package com.kickstarter.viewmodels
import com.kickstarter.KSRobolectricTestCase
import com.kickstarter.libs.Environment
import com.kickstarter.libs.utils.extensions.addToDisposable
import com.kickstarter.mock.factories.ProjectNotificationFactory
import com.kickstarter.mock.services.MockApiClientV2
import com.kickstart... | 8 | Kotlin | 989 | 5,752 | a9187fb484c4d12137c7919a2a53339d67cab0cb | 2,536 | android-oss | Apache License 2.0 |
app/src/main/java/com/zt/coolweather/db/Province.kt | ztisdashen | 320,441,385 | false | null | package com.zt.coolweather.db
import org.litepal.crud.LitePalSupport
data class Province(var id: Int?, var provinceName: String?, var provinceCode: Int?) : LitePalSupport()
data class City(var id: Int?, var cityName: String?, var cityCode: Int?, var provinceId: Int?) :
LitePalSupport()
/**
*
*/
data class Coun... | 0 | Kotlin | 0 | 0 | 912a26e5f8dfbdd12439d2fdc5c74e8c787c51cf | 428 | coolWeather | Apache License 2.0 |
viewer/src/main/kotlin/li/doerf/feeder/viewer/controllers/UserController.kt | doerfli | 188,579,479 | false | {"Kotlin": 190694, "Vue": 48142, "JavaScript": 21033, "SCSS": 2537, "HTML": 616} | package li.doerf.feeder.viewer.controllers
import li.doerf.feeder.common.util.getLogger
import li.doerf.feeder.viewer.config.JwtTokenProvider
import li.doerf.feeder.viewer.dto.UserPasswordResetRequestDto
import li.doerf.feeder.viewer.dto.UserRequestDto
import li.doerf.feeder.viewer.dto.UserResetPasswordRequestDto
impo... | 30 | Kotlin | 0 | 0 | f0a7ab9a8367ba49a7171b594b64ae2dea5deb87 | 2,538 | feedscraper | MIT License |
app/src/main/java/io/deus/wallet/modules/settings/faq/FaqModule.kt | DeusWallet | 810,708,619 | false | {"Kotlin": 5009329, "Shell": 6095, "Ruby": 1350} | package io.deus.wallet.modules.settings.faq
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import io.deus.wallet.core.App
import io.deus.wallet.core.managers.FaqManager
object FaqModule {
class Factory : ViewModelProvider.Factory {
@Suppress("UNCHECKED_CAST")
over... | 0 | Kotlin | 0 | 0 | f4c5e0fadbf2955edf7ba35d4617f148c191c02b | 554 | deus-wallet-android | MIT License |
compiler/src/org/jetbrains/dukat/compiler/translator/IdlInputTranslator.kt | Kotlin | 159,510,660 | false | null | package org.jetbrains.dukat.compiler.translator
import org.jetbrains.dukat.astModel.SourceSetModel
import org.jetbrains.dukat.astModel.modifiers.VisibilityModifierModel
import org.jetbrains.dukat.commonLowerings.AddExplicitGettersAndSetters
import org.jetbrains.dukat.idlLowerings.addConstructors
import org.jetbrains.d... | 227 | null | 37 | 430 | c92dd392d853a6869abd5bea80403158ec8fecb6 | 3,118 | dukat | Apache License 2.0 |
app/src/main/java/com/example/doomnews/MainActivity.kt | JavRuiz16 | 716,851,066 | false | {"Kotlin": 31635} | package com.example.doomnews
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.... | 0 | Kotlin | 0 | 0 | 8f5146b2e37d0ee10d64aad40e3f5937e57e1ee9 | 1,499 | Hw7DoomNews | Apache License 2.0 |
app/src/main/java/com/rrg/dinnerrecommendation/di/AppModule.kt | ROHANGYA | 501,564,909 | false | null | package com.rrg.dinnerrecommendation.di
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import com.rrg.dinnerrecommendation.BuildConfig.BASE_URL_COCKTAIL
import com.rrg.dinnerrecommendation.BuildConfig.BASE_URL_MEAL
import com.rrg.dinnerrecommendation.BuildConfig.DEBUG
import com... | 0 | Kotlin | 0 | 0 | a8ef6493f4bc2dd86bc29db43988010f83a05011 | 4,674 | DinnerRecommendationJetpack | MIT License |
app/src/main/java/com/rrg/dinnerrecommendation/di/AppModule.kt | ROHANGYA | 501,564,909 | false | null | package com.rrg.dinnerrecommendation.di
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import com.rrg.dinnerrecommendation.BuildConfig.BASE_URL_COCKTAIL
import com.rrg.dinnerrecommendation.BuildConfig.BASE_URL_MEAL
import com.rrg.dinnerrecommendation.BuildConfig.DEBUG
import com... | 0 | Kotlin | 0 | 0 | a8ef6493f4bc2dd86bc29db43988010f83a05011 | 4,674 | DinnerRecommendationJetpack | MIT License |
src/main/kotlin/com/example/v1oauthauthorizationservice/domain/oauth/api/OAuthApi.kt | team-xquare | 494,272,840 | false | {"Kotlin": 89041, "Shell": 417, "Dockerfile": 391} | package com.example.v1oauthauthorizationservice.domain.oauth.api
import com.example.v1oauthauthorizationservice.infrastructure.oauth2.presentation.dto.request.RegisterClientRequest
import com.example.v1oauthauthorizationservice.infrastructure.oauth2.presentation.dto.request.UpdateClientRequest
import com.example.v1oau... | 1 | Kotlin | 0 | 2 | c739e8d85e5885fdb22790393a9dba9fa749637f | 1,061 | v1-service-oauth | MIT License |
app/src/main/java/com/febers/uestc_bbs/home/HomeSecondContainer.kt | Febers | 135,606,653 | false | null | package com.febers.uestc_bbs.home
import android.os.Bundle
import com.febers.uestc_bbs.R
import com.febers.uestc_bbs.base.BaseFragment
import com.febers.uestc_bbs.module.more.BlockFragment
class HomeSecondContainer : BaseFragment() {
override fun setContentView(): Int {
return R.layout.container_home_seco... | 1 | Kotlin | 11 | 41 | b9da253984e2febc235121ac6745bfbc215a7609 | 601 | UESTC_BBS | Apache License 2.0 |
src/main/kotlin/com/example/jpajoin/JpaJoinApplication.kt | eiselems | 313,986,270 | false | null | package com.example.jpajoin
import com.example.jpajoin.persistence.entities.CompanyProfile
import com.example.jpajoin.persistence.entities.CompanyRepository
import com.example.jpajoin.persistence.entities.Role
import com.example.jpajoin.persistence.entities.User
import com.example.jpajoin.persistence.entities.UserComp... | 0 | Kotlin | 0 | 0 | 1b8fdbee88779711eec8210158399bd6fc12b960 | 1,856 | jpa-playground | MIT License |
src/main/kotlin/me/aberrantfox/judgebot/listeners/JoinLeaveListener.kt | the-programmers-hangout | 251,074,065 | false | null | package me.aberrantfox.judgebot.listeners
import com.google.common.eventbus.Subscribe
import me.aberrantfox.judgebot.services.DatabaseService
import net.dv8tion.jda.api.events.guild.member.GuildMemberRemoveEvent
import org.joda.time.DateTime
class JoinLeaveListener(private val databaseService: DatabaseService) {
... | 0 | Kotlin | 0 | 1 | 3d70f5d4cb3dbf17bfcfad7bb9db21785a6ab343 | 652 | JudgeBot-old | MIT License |
carp.common/src/commonTest/kotlin/dk/cachet/carp/common/application/TestInstances.kt | cph-cachet | 116,270,288 | false | null | package dk.cachet.carp.common.application
import dk.cachet.carp.common.application.data.*
import dk.cachet.carp.common.application.data.input.*
import dk.cachet.carp.common.application.data.input.elements.*
import dk.cachet.carp.common.application.devices.*
import dk.cachet.carp.common.application.sampling.*
import dk... | 93 | null | 3 | 21 | 7b6fa58bc97ab0c244b81897bc837def3b0d7daf | 2,946 | carp.core-kotlin | MIT License |
carp.common/src/commonTest/kotlin/dk/cachet/carp/common/application/TestInstances.kt | cph-cachet | 116,270,288 | false | null | package dk.cachet.carp.common.application
import dk.cachet.carp.common.application.data.*
import dk.cachet.carp.common.application.data.input.*
import dk.cachet.carp.common.application.data.input.elements.*
import dk.cachet.carp.common.application.devices.*
import dk.cachet.carp.common.application.sampling.*
import dk... | 93 | null | 3 | 21 | 7b6fa58bc97ab0c244b81897bc837def3b0d7daf | 2,946 | carp.core-kotlin | MIT License |
android/app/src/main/java/com/algorand/android/discover/common/ui/BaseDiscoverFragment.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 4,492 | pera-wallet | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/discover/common/ui/BaseDiscoverFragment.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 4,492 | pera-wallet | Apache License 2.0 |
vm/src/main/kotlin/gay/pizza/pork/vm/ops/UnaryPlusOpHandler.kt | GayPizzaSpecifications | 680,636,847 | false | {"Kotlin": 364750} | package gay.pizza.pork.vm.ops
import gay.pizza.pork.bytecode.Op
import gay.pizza.pork.bytecode.Opcode
import gay.pizza.pork.vm.InternalMachine
import gay.pizza.pork.vm.OpHandler
object UnaryPlusOpHandler : OpHandler(Opcode.UnaryPlus) {
override fun handle(machine: InternalMachine, op: Op) {
val value = machine.... | 0 | Kotlin | 1 | 0 | 962d079acce1c07ca151ea470532d549d39a0da6 | 362 | pork | MIT License |
ospf-kotlin-core/src/main/fuookami/ospf/kotlin/core/backend/intermediate_model/QuadraticTetradModel.kt | fuookami | 359,831,793 | false | {"Kotlin": 2440181, "Python": 6629} | package fuookami.ospf.kotlin.core.backend.intermediate_model
import java.io.*
import kotlinx.coroutines.*
import fuookami.ospf.kotlin.utils.math.*
import fuookami.ospf.kotlin.utils.concept.*
import fuookami.ospf.kotlin.utils.operator.*
import fuookami.ospf.kotlin.utils.functional.*
import fuookami.ospf.kotlin.core.fro... | 0 | Kotlin | 0 | 4 | b34cda509b31884e6a15d77f00a6134d001868de | 13,781 | ospf-kotlin | Apache License 2.0 |
src/main/kotlin/no/nav/henvendelsesarkiv/Application.kt | navikt | 144,120,896 | false | null | package no.nav.henvendelsesarkiv
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import no.nav.common.nais.utils.NaisUtils
import no.nav.henvendelsesarkiv.PropertyNames.*
import no.nav.henvendelsesarkiv.db.UpdateService
import no.nav.henvendelsesarkiv.db.coroutineAwareJdbcTemplate
import org.fly... | 0 | Kotlin | 0 | 0 | 1f749334203a0b86285f6cc543bde94e4adb508f | 2,527 | henvendelsesarkiv-2 | MIT License |
adapter/src/main/kotlin/org/javacs/ktda/classpath/PathUtils.kt | fwcd | 144,839,079 | false | null | package org.javacs.ktda.classpath
import org.javacs.kt.LOG
import org.javacs.ktda.util.firstNonNull
import java.nio.file.Files
import java.nio.file.Paths
import java.nio.file.Path
private val fileSeparator by lazy { "[/\\\\]".toRegex() }
private val sourceFileExtensions = setOf(".kt", ".kts", ".java")
/**
* Convert... | 32 | null | 19 | 96 | 7f05669b642d21afa46ac7b75307fa5d523a7263 | 1,895 | kotlin-debug-adapter | MIT License |
app/src/main/java/com/jiangyy/wanandroid/ui/article/TreeActivity.kt | jyygithub | 563,629,875 | false | null | package com.jiangyy.wanandroid.ui.article
import android.content.Context
import android.content.Intent
import android.view.View
import androidx.activity.viewModels
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup
import com.jiangyy.common.view.B... | 0 | Kotlin | 0 | 0 | d4eff0b8b2faf6875781ef7445d2e4220f25a174 | 2,641 | wanandroid | Apache License 2.0 |
goblin-core/src/main/java/org/goblinframework/core/event/timer/MinuteTimerEventGenerator.kt | xiaohaiz | 206,246,434 | false | {"Java": 807217, "Kotlin": 650572, "FreeMarker": 27779, "JavaScript": 968} | package org.goblinframework.core.event.timer
import org.goblinframework.core.event.EventBus
import org.goblinframework.core.schedule.CronConstants
import org.goblinframework.core.schedule.CronTask
import java.util.concurrent.TimeUnit
import java.util.concurrent.atomic.AtomicLong
class MinuteTimerEventGenerator intern... | 0 | Java | 6 | 9 | b1db234912ceb23bdd81ac66a3bf61933b717d0b | 844 | goblinframework | Apache License 2.0 |
frontend/app/src/main/java/com/harissabil/anidex/ui/screen/library/LibraryViewModel.kt | harissabil | 718,008,784 | false | {"Kotlin": 279663, "PHP": 35922} | package com.harissabil.anidex.ui.screen.library
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.harissabil.anidex.data.local.UserPreference
import com.harissabil.anidex.data.repository.ProjekBas... | 0 | Kotlin | 0 | 0 | 4d90767118de195fcda1c209208bdbc3292e7a86 | 4,067 | TemanWibu | MIT License |
src/main/kotlin/br/com/zup/edu/keymanager/busca/ConsultaChavePixController.kt | luizpcarvalho | 354,830,926 | true | {"Kotlin": 21020} | package br.com.zup.edu.keymanager.busca
import br.com.zup.edu.ConsultaChavePixRequest
import br.com.zup.edu.KeyManagerConsultaServiceGrpc
import br.com.zup.edu.KeyManagerListaServiceGrpc
import br.com.zup.edu.ListaChavePixRequest
import io.micronaut.http.HttpResponse
import io.micronaut.http.annotation.Controller
impo... | 0 | Kotlin | 0 | 0 | 96b22f2960bd1e93e98b10b56531f58a0584ee89 | 1,936 | orange-talents-01-template-pix-keymanager-rest | Apache License 2.0 |
app/src/main/kotlin/des/c5inco/pokedexer/ui/moves/MovesListScreen.kt | c5inco | 461,368,002 | false | {"Kotlin": 295756} | package des.c5inco.pokedexer.ui.moves
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.f... | 0 | Kotlin | 12 | 115 | 78babffb491ec9032f90565aeef61ef62bf2a616 | 7,069 | compose-pokedexer | MIT License |
desktopApp/src/jvmMain/kotlin/com/prof18/feedflow/desktop/home/components/FeedWithContentView.desktop.kt | prof18 | 600,257,020 | false | {"Kotlin": 746513, "HTML": 182777, "Swift": 163455, "SCSS": 161629, "CSS": 16810, "Shell": 2392, "JavaScript": 1214} | package com.prof18.feedflow.desktop.home.components
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.VerticalScrollbar
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import ... | 27 | Kotlin | 18 | 332 | 60c15c24c157e46625e05158c5d048d4ca4b7217 | 4,957 | feed-flow | Apache License 2.0 |
src/main/kotlin/com/sparetimedevs/ami/midi/player/MidiPlayer.kt | sparetimedevs | 731,672,148 | false | {"Kotlin": 242073} | /*
* Copyright (c) 2023 sparetimedevs and respective authors and developers.
*
* 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
*
* Un... | 1 | Kotlin | 0 | 0 | ede30b57915691105418c9dd27d176e70422b833 | 4,469 | ami-desktop | Apache License 2.0 |
kafka-delayed-producer-core/src/main/kotlin/com/github/martintomac/kafkadelayedproducer/Reference.kt | martintomac | 328,480,243 | false | null | package com.github.martintomac.kafkadelayedproducer
interface Reference<T : Any> {
val value: T
fun release() {
}
}
interface ReferenceFactory<T : Any> {
fun create(value: T): Reference<T>
companion object {
@Suppress("UNCHECKED_CAST")
fun <T : Any> instance() = DirectReferenceF... | 0 | Kotlin | 0 | 3 | 04bfc2f200b7f4f5cb9f7c25543d49a5f9b92614 | 594 | kafka-delayed-producer | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/cognito/UserPoolDomainPropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.cognito
import io.cloudshiftdev.awscdkdsl.common.CdkDslMa... | 3 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 4,239 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/sjl/bookmark/ui/activity/BookSearchActivity.kt | kellysong | 258,122,128 | false | {"HTML": 2024914, "Java": 804499, "Kotlin": 753949, "CSS": 18483, "JavaScript": 365} | package com.sjl.bookmark.ui.activity
import android.os.Build
import android.text.Editable
import android.text.TextWatcher
import android.view.*
import android.widget.*
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
imp... | 0 | HTML | 0 | 0 | edd0990579fe1368a58af87007be3cd68081f5c8 | 9,671 | my-bookmark-master | Apache License 2.0 |
js/js.frontend/src/org/jetbrains/kotlin/js/resolve/diagnostics/JsModuleCheckUtil.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 3,111 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/hotplenavigation/data/get_result_path/Goal.kt | HanBI24 | 469,585,277 | false | null | package com.example.hotplenavigation.data.get_result_path
// 20197138 장은지
data class Goal(
val dir: Int,
val location: List<Double>
)
| 19 | Kotlin | 0 | 0 | 35f6795e1bfc03455619ecf8941f7838b1afd8de | 143 | 2022_1_Capston_Edge-Map | MIT License |
shoring/desk/src/main/kotlin/com/panopset/marin/oldswpkg/games/blackjack/LayoutChips.kt | panopset | 752,122,553 | false | {"Kotlin": 596701, "Java": 26106, "Shell": 9728, "CSS": 4623, "JavaScript": 4084, "Batchfile": 2807, "HTML": 1317} | package com.panopset.marin.oldswpkg.games.blackjack
class LayoutChips(val chipXnextBet: Int, bottom: Int, chipWidth: Int, chipHeight: Int) {
val chipXstack: Int
val chipY: Int
init {
chipXstack = chipXnextBet + chipWidth
chipY = bottom - (chipHeight * 1.5).toInt()
}
}
| 0 | Kotlin | 0 | 0 | 3d7e49a48689a580a7cf7b5d738c2aa4abf23b15 | 303 | pan | MIT License |
src/test/kotlin/io/spine/publishing/given/PipelineTestEnv.kt | SpineEventEngine | 267,584,112 | false | null | package io.spine.publishing.given
import com.google.common.io.Files
import io.spine.publishing.*
import io.spine.publishing.git.GitHubRepoUrl
import io.spine.publishing.git.GitRepository
import java.nio.file.Path
/**
* Utilities for testing the [io.spine.publishing.PublishingPipeline]
*/
object PipelineTestEnv {
... | 5 | Kotlin | 1 | 0 | d5d01acadf110fb3f28126d4a3499653e587d190 | 2,096 | publishing | Apache License 2.0 |
app/src/main/java/com/fadenai/androidsample1/data/di/RepositoryModule.kt | MohammadFeyzian | 857,478,261 | false | {"Kotlin": 61298} | package com.fadenai.androidsample1.data.di
import com.fadenai.androidsample1.data.repository.DataRepository
import com.fadenai.androidsample1.data.repository.DataRepositoryImpl
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
@Module
@InstallIn(Sin... | 0 | Kotlin | 0 | 0 | e8ca359a62e87eee80d7522149c6109fb30e6250 | 445 | android-sample-1 | MIT License |
plot-base-portable/src/commonMain/kotlin/jetbrains/datalore/plot/base/render/point/symbol/SquareGlyph.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2020. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.base.render.point.symbol
import jetbrains.datalore.base.geometry.DoubleVector
import org.jetbrains.letsPlot.datamodel.svg.dom.slim.SvgSlimElem... | 98 | Kotlin | 47 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 748 | lets-plot | MIT License |
app/src/main/java/at/guger/moneybook/ui/home/overview/dues/OverviewDuesViewHolder.kt | guger | 198,668,519 | 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 ag... | 18 | null | 1 | 13 | cc374cf434aad9db5a3fc8f336aaf3e4eb91100d | 2,456 | MoneyBook | Apache License 2.0 |
src/test/kotlin/eu/europa/ec/eudi/sdjwt/examples/ExampleHandlingStructuredClaims01.kt | eu-digital-identity-wallet | 656,042,600 | false | {"Kotlin": 247799} | /*
* Copyright (c) 2023 European Commission
*
* 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... | 2 | Kotlin | 2 | 9 | d918b31c862043d96d05ca93ac997fad89342913 | 1,420 | eudi-lib-jvm-sdjwt-kt | Apache License 2.0 |
javatests/com/google/android/libraries/pcc/chronicle/api/remote/RemoteRequestTest.kt | google | 564,990,777 | false | {"Kotlin": 1440403, "Starlark": 163473, "Java": 10061, "AIDL": 5852, "Python": 4367, "Dockerfile": 2035, "Shell": 1301} | /*
* Copyright 2022 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 ... | 0 | Kotlin | 7 | 29 | 5bd69054d06ea31fb01a1feaa0f52b32bee94dfe | 2,475 | private-compute-libraries | Apache License 2.0 |
app/src/main/java/com/vivek/eton/feature_note/domain/use_case/GetNotes.kt | V9vek | 450,054,297 | false | {"Kotlin": 49875} | package com.vivek.eton.feature_note.domain.use_case
import com.vivek.eton.feature_note.domain.model.Note
import com.vivek.eton.feature_note.domain.repository.NoteRepository
import com.vivek.eton.feature_note.domain.util.NoteOrder
import com.vivek.eton.feature_note.domain.util.OrderType.Ascending
import com.vivek.eton.... | 0 | Kotlin | 0 | 3 | 3f598e2e4c74bf77e303afaf423cd93e1414dfc8 | 1,502 | Eton | Apache License 2.0 |
subprojects/gradle/tech-budget/src/main/kotlin/com/avito/android/tech_budget/internal/module_dependencies/ModuleDependenciesConfigurator.kt | avito-tech | 230,265,582 | false | null | package com.avito.android.tech_budget.internal.module_dependencies
import com.avito.android.tech_budget.TechBudgetExtension
import com.avito.android.tech_budget.internal.TechBudgetConfigurator
import com.avito.android.tech_budget.internal.owners.requireCodeOwnershipExtension
import com.avito.kotlin.dsl.isRoot
import o... | 8 | null | 49 | 412 | 244c6a588abe14367f927746a8e4832abbc067fa | 963 | avito-android | MIT License |
subprojects/gradle/tech-budget/src/main/kotlin/com/avito/android/tech_budget/internal/module_dependencies/ModuleDependenciesConfigurator.kt | avito-tech | 230,265,582 | false | null | package com.avito.android.tech_budget.internal.module_dependencies
import com.avito.android.tech_budget.TechBudgetExtension
import com.avito.android.tech_budget.internal.TechBudgetConfigurator
import com.avito.android.tech_budget.internal.owners.requireCodeOwnershipExtension
import com.avito.kotlin.dsl.isRoot
import o... | 8 | null | 49 | 412 | 244c6a588abe14367f927746a8e4832abbc067fa | 963 | avito-android | MIT License |
core/database/src/main/java/com/ahmetocak/database/db/UserDatabase.kt | AhmetOcak | 793,949,918 | false | {"Kotlin": 406065} | package com.ahmetocak.database.db
import androidx.room.Database
import androidx.room.RoomDatabase
import com.ahmetocak.database.dao.ChatGroupDao
import com.ahmetocak.database.dao.MessageDao
import com.ahmetocak.database.dao.RemoteKeyDao
import com.ahmetocak.database.dao.UserDao
import com.ahmetocak.database.entity.Cha... | 0 | Kotlin | 0 | 0 | 61d1fad8809e1420fd767c33806f994443062b6b | 987 | ChatApp | MIT License |
ground/src/test/java/com/google/android/ground/ui/MarkerIconFactoryTest.kt | google | 127,777,820 | 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 184 | null | 118 | 214 | 5699f58f4a906f031d97e4603f80ae2177bd6b35 | 3,345 | ground-android | Apache License 2.0 |
enode/src/main/java/org/enodeframework/common/io/Task.kt | anruence | 165,245,292 | false | null | package org.enodeframework.common.io
import org.enodeframework.common.exception.EnodeInterruptException
import java.util.concurrent.CompletableFuture
import java.util.concurrent.CountDownLatch
/**
* @author <EMAIL>
*/
object Task {
@JvmField
var completedTask: CompletableFuture<Boolean> = CompletableFuture.... | 1 | null | 55 | 205 | 22c81b98b36a6a221d026272594eaf7817145e0f | 867 | enode | MIT License |
src/me/anno/tsunamis/draw/Drawing.kt | AntonioNoack | 438,142,549 | false | {"Kotlin": 254088} | package me.anno.tsunamis.draw
import me.anno.gpu.GFX
import me.anno.gpu.framebuffer.Framebuffer
import me.anno.gpu.shader.ComputeShader
import me.anno.gpu.shader.ComputeTextureMode
import me.anno.gpu.texture.Texture2D
import me.anno.input.Input
import me.anno.tsunamis.FluidSim
import me.anno.tsunamis.engine.CPUEngine
... | 0 | Kotlin | 0 | 1 | acac2c3c23136e59b43f4e2c6114c6e7743686eb | 7,908 | RemsTsunamis | Apache License 2.0 |
lib/src/main/java/com/kotlin/inaction/chapter_8/8_1_5_1_ReturningFuntionsFromFunctions.kt | jhwsx | 167,022,805 | false | null | package com.kotlin.inaction.chapter_8
/**
*
* @author wzc
* @date 2019/6/2
*/
enum class Delivery { STANDARD, EXPEDITED }
class Order(val itemCount: Int)
// 这是声明一个返回函数类型的函数,返回的是计算运输费用的方式。
fun getShippingCostCalculator(delivery: Delivery): (Order) -> Double {
if (delivery == Delivery.EXPEDITED) {
retu... | 1 | Kotlin | 1 | 1 | 5d8c5f88e35edf2e4693becd47a31fb127afe618 | 727 | KotlinInAction | MIT License |
test_runner/src/main/kotlin/ftl/cli/firebase/test/ios/IosRunCommand.kt | hiyangyue | 267,499,333 | false | {"Git Config": 1, "Markdown": 14, "Text": 5, "Ignore List": 11, "YAML": 29, "Gradle Kotlin DSL": 4, "Shell": 11, "Java Properties": 2, "Batchfile": 2, "INI": 1, "Kotlin": 211, "JSON": 11, "XML": 21, "HTML": 2, "Maven POM": 1, "Java": 70, "Gradle": 3, "Proguard": 1, "Go": 1, "Go Module": 1, "JSON with Comments": 1, "Jav... | package ftl.cli.firebase.test.ios
import ftl.args.IosArgs
import ftl.cli.firebase.test.CommonRunCommand
import ftl.config.Device
import ftl.config.FtlConstants
import ftl.config.FtlConstants.defaultIosModel
import ftl.config.FtlConstants.defaultIosVersion
import ftl.mock.MockServer
import ftl.run.common.prettyPrint
im... | 1 | null | 1 | 1 | b9596bc83027a5bc94bb5d1dca9a8adb81dcea5a | 4,856 | flank | Apache License 2.0 |
libraries/tools/kdoc/src/main/kotlin/org/jetbrains/kotlin/doc/model/KotlinModel.kt | chirino | 3,596,099 | false | null | package org.jetbrains.kotlin.doc.model
import java.io.File
import java.util.*
import org.jetbrains.jet.internal.com.intellij.openapi.vfs.local.CoreLocalVirtualFile
import org.jetbrains.jet.internal.com.intellij.psi.PsiDirectory
import org.jetbrains.jet.internal.com.intellij.psi.PsiElement
import org.jetbrains.jet.inte... | 2 | null | 28 | 71 | ac434d48525a0e5b57c66b9f61b388ccf3d898b5 | 47,640 | kotlin | Apache License 2.0 |
src/test/java/org/jetbrains/plugins/ideavim/action/motion/mark/MotionMarkActionTest.kt | JetBrains | 1,459,486 | false | null | /*
* Copyright 2003-2023 The IdeaVim authors
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE.txt file or at
* https://opensource.org/licenses/MIT.
*/
package org.jetbrains.plugins.ideavim.action.motion.mark
import com.intellij.ide.bookmark.BookmarksManager
impo... | 6 | Kotlin | 679 | 7,221 | 9b56fbc3ed5d7558f37cd5c4661de4a2c6c9e001 | 5,478 | ideavim | MIT License |
idea/src/org/jetbrains/kotlin/idea/parameterInfo/custom/DisableReturnLambdaHintOptionAction.kt | android | 263,405,600 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.parameterInfo.custom
import com.intellij.codeInsight.hints.InlayParameterHi... | 0 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 1,778 | kotlin | Apache License 2.0 |
gamespot-api/src/main/java/com/paulrybitskyi/gamedge/gamespot/api/common/Response.kt | mars885 | 289,036,871 | false | null | /*
* Copyright 2021 Paul Rybitskyi, paul.rybitskyi.work@gmail.com
*
* 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 requir... | 4 | null | 63 | 659 | 69b3ada08cb877af9b775c6a4f3d9eb1c3470d9c | 964 | gamedge | Apache License 2.0 |
src/main/kotlin/org/ivcode/shm/params/service/ParameterService.kt | self-host-manager | 668,078,860 | false | null | package org.ivcode.shm.params.service
import org.ivcode.shm.params.repository.ParamGroupDao
import org.ivcode.shm.params.repository.ParamValueDao
import org.ivcode.shm.params.repository.entities.ParamGroupEntity
import org.ivcode.shm.params.repository.entities.ParamValueEntity
import org.ivcode.shm.params.repository.e... | 0 | Kotlin | 0 | 0 | 8537398dfb332436a6d2ba604014a9a7ac97ae0b | 2,711 | self-host-manager | Apache License 2.0 |
app/src/main/java/com/example/noterapp/ui/fragments/CreateNoteFragment.kt | sabinmhx | 671,497,047 | false | null | package com.example.noterapp.ui.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBinderMapper
import androidx.databinding.Dat... | 0 | Kotlin | 0 | 1 | cdd5e0686e5d365b311edfaa02a7e7bdc31682eb | 1,886 | noter | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/CalendarDollar.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.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.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 4,026 | compose-icon-collections | MIT License |
gematria/src/commonTest/kotlin/com/kdroid/gematria/GematriaCaculatorTest.kt | kdroidFilter | 854,676,682 | false | {"Kotlin": 10151} | package com.kdroid.gematria
import com.kdroid.gematria.converter.toDafGemara
import com.kdroid.gematria.converter.toGematria
import com.kdroid.gematria.converter.toHebrewNumeral
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFails
class GematriaCaculatorTest {
@Test
fun numb... | 0 | Kotlin | 0 | 2 | 1a67f02a4ff92b6a00dc3be4ca180e44130b7baa | 2,910 | HebrewNumeralsLibrary | Apache License 2.0 |
domain/src/main/kotlin/io/github/fobo66/domain/usecase/ResolveRatingStateImpl.kt | fobo66 | 117,318,095 | false | {"Kotlin": 113184} | /*
* 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 ... | 3 | Kotlin | 0 | 5 | 4ab2e4f1bda297ffad17882b3bac0c712b4e7450 | 2,425 | WearMMR | Apache License 2.0 |
game-api/src/main/java/org/runestar/client/game/api/live/LiveCanvas.kt | forsco | 246,016,204 | true | {"Kotlin": 1389228, "Java": 1029180} | package org.runestar.client.game.api.live
import hu.akarnokd.rxjava2.swing.SwingObservable
import io.reactivex.Observable
import org.runestar.client.game.api.Canvas
import org.runestar.client.game.raw.CLIENT
import org.runestar.client.game.raw.access.XGameShell
import org.runestar.client.game.raw.access.XRasterProvide... | 0 | null | 0 | 0 | b15c07570af82377bcd2be48b00a5e9708be08ab | 1,247 | client | MIT License |
common/api/src/commonMain/kotlin/com/denchic45/studiversity/api/course/work/model/UpdateCourseWorkRequest.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2110094, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.api.course.work.model
import com.denchic45.studiversity.util.*
import kotlinx.serialization.Serializable
import java.time.LocalDate
import java.time.LocalTime
@Serializable
data class UpdateCourseWorkRequest(
@Serializable(OptionalPropertySerializer::class)
val name: Optio... | 0 | Kotlin | 0 | 7 | 293132d2f93ba3e42a3efe9b54deb07d7ff5ecf9 | 971 | Studiversity | Apache License 2.0 |
app/src/main/java/com/soojeongshin/imagegallery/overview/OverviewFragment.kt | sooshin | 209,974,333 | false | null | package com.soojeongshin.imagegallery.overview
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import androidx.navigation.fragment.fin... | 0 | null | 0 | 3 | 6dd5ce6304f7546caa2b157b76ecf3e8f5aad223 | 2,221 | ImageGallery | Apache License 2.0 |
clouditor-engine/src/main/java/io/clouditor/EngineApplication.kt | subham-deepsource | 369,631,943 | true | {"Java": 634388, "Go": 42286, "Kotlin": 9387, "ANTLR": 1620, "Dockerfile": 875} | /*
* Copyright 2016-2019 Fraunhofer AISEC
*
* 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 ... | 0 | null | 0 | 0 | c9aa94a2e4fd3b25b30559af1ea497f94b610903 | 1,705 | clouditor | Apache License 2.0 |
clouditor-engine/src/main/java/io/clouditor/EngineApplication.kt | subham-deepsource | 369,631,943 | true | {"Java": 634388, "Go": 42286, "Kotlin": 9387, "ANTLR": 1620, "Dockerfile": 875} | /*
* Copyright 2016-2019 Fraunhofer AISEC
*
* 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 ... | 0 | null | 0 | 0 | c9aa94a2e4fd3b25b30559af1ea497f94b610903 | 1,705 | clouditor | Apache License 2.0 |
example/src/main/java/com/example/Person.kt | doananhtuan22111996 | 769,875,617 | false | {"Kotlin": 166269} | package com.example
class Person(lastName: String, firstName: String) {
val fullName = "$firstName $lastName"
}
fun main() {
val person = Person(lastName = "Tuan", firstName = "Doan")
// Set to View
println("Full Name: ${person.fullName}")
} | 0 | Kotlin | 0 | 0 | a75c1a7630a574cf6b0965bbf6d7447008501972 | 259 | android_architecture | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.