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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pulsar-skeleton/src/main/kotlin/ai/platon/pulsar/crawl/parse/ParseResult.kt | owinfo | 271,195,380 | true | {"Text": 50, "Shell": 8, "Maven POM": 27, "SQL": 4, "Markdown": 4, "Ignore List": 2, "XML": 69, "Kotlin": 395, "Java": 1466, "JSON": 9, "Java Properties": 8, "HTML": 88, "INI": 1, "Java Server Pages": 20, "CSS": 1, "JavaScript": 8, "JAR Manifest": 1, "YAML": 1, "Rich Text Format": 1} | /*******************************************************************************
* 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 ... | 0 | null | 0 | 0 | 9b284ddde911307ec6011e490a3b843ed724ed61 | 2,285 | pulsar | Apache License 2.0 |
shared/src/commonMain/kotlin/com/tiomamaster/espressif/dto/Security1.kt | tiomamaster | 435,623,772 | false | null | package com.tiomamaster.espressif.dto
import kotlinx.serialization.Serializable
import kotlinx.serialization.protobuf.ProtoNumber
internal enum class Security1MessageType(val value: Int) {
COMMAND_0(0),
RESPONSE_0(1),
COMMAND_1(2),
RESPONSE_1(3)
}
@Serializable
internal data class Security1Payload(
... | 0 | Kotlin | 0 | 0 | fcb9cda7a79e8281cd2f2a5a9ac2dbbf303c02fb | 1,338 | esp-idf-provisioning | Apache License 2.0 |
data/watchproviders/implementation/src/commonMain/kotlin/com/thomaskioko/tvmaniac/data/watchproviders/implementation/DefaultWatchProviderDao.kt | thomaskioko | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.data.watchproviders.implementation
import app.cash.sqldelight.coroutines.asFlow
import app.cash.sqldelight.coroutines.mapToList
import com.thomaskioko.tvmaniac.core.db.TvManiacDatabase
import com.thomaskioko.tvmaniac.core.db.WatchProviders
import com.thomaskioko.tvmaniac.core.db.Watch_... | 7 | null | 28 | 282 | 8c83a0461c03a1975afdf709e9d9307a141c0ec3 | 1,606 | tv-maniac | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifierProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 137826907} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.macie
import io.cloudshiftdev.awscdk.CfnTag
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import... | 4 | Kotlin | 0 | 4 | 9a242bcc59b2c1cf505be2f9d838f1cd8008fe12 | 19,351 | kotlin-cdk-wrapper | Apache License 2.0 |
serialization/src/commonTest/kotlin/nl/adaptivity/xml/serialization/RecoveryTest.kt | pdvrieze | 143,553,364 | false | null | /*
* Copyright (c) 2021.
*
* This file is part of xmlutil.
*
* This file is licenced to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You should have received a copy of the license with the source distribution.
* Alternatively, y... | 35 | null | 31 | 378 | c4053519a8b6c90af9e1683a5fe0e9e2b2c0db79 | 5,662 | xmlutil | Apache License 2.0 |
app/src/main/java/com/AERYZ/treasurefind/main/OnSwipeTouchListener.kt | eddyspaghette | 669,456,723 | false | {"Kotlin": 405201} | package com.musical.instrument.simulator.app.utils
import android.content.Context
import android.view.GestureDetector
import android.view.GestureDetector.SimpleOnGestureListener
import android.view.MotionEvent
import android.view.View
import android.view.View.OnTouchListener
import kotlin.math.abs
internal open class... | 8 | Kotlin | 4 | 2 | 81ff85a85293e997daf72c9d51fed64a981385a9 | 2,834 | TreasureFind | MIT License |
app/src/main/java/com/AERYZ/treasurefind/main/OnSwipeTouchListener.kt | eddyspaghette | 669,456,723 | false | {"Kotlin": 405201} | package com.musical.instrument.simulator.app.utils
import android.content.Context
import android.view.GestureDetector
import android.view.GestureDetector.SimpleOnGestureListener
import android.view.MotionEvent
import android.view.View
import android.view.View.OnTouchListener
import kotlin.math.abs
internal open class... | 8 | Kotlin | 4 | 2 | 81ff85a85293e997daf72c9d51fed64a981385a9 | 2,834 | TreasureFind | MIT License |
app/src/test/java/io/freshdroid/vinyl/features/album/AlbumDetailsViewModelTest.kt | gm4s | 175,840,667 | false | null | package io.freshdroid.vinyl.features.album
import android.content.Intent
import io.freshdroid.vinyl.RobolectricTestCase
import io.freshdroid.vinyl.commons.models.Album
import io.freshdroid.vinyl.core.rx.Irrelevant
import io.freshdroid.vinyl.factories.AlbumFactory
import io.freshdroid.vinyl.features.album.viewmodels.Al... | 1 | Kotlin | 1 | 1 | 36e6d69aa15b7eff1981fe549bb8606df06a0410 | 1,214 | Vinyl | Apache License 2.0 |
app/src/main/java/com/example/finvin/IncomeActivity.kt | Vinayakoo7 | 871,296,549 | false | {"Kotlin": 16822} | package com.example.finvin
class IncomeActivity {
} | 0 | Kotlin | 0 | 0 | 25993bb6b3eac0b2b1b29fd5689d06641ae1588a | 52 | FinVin | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Brush2.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.twotone
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 4,613 | VuesaxIcons | MIT License |
Lista 5/Zadanie 1/NeonPong/app/src/main/java/com/example/pongGame/PointColor.kt | SzymonGlab | 182,572,867 | false | null | package com.example.pongGame
import android.graphics.Paint
class PointsColor (val name : String) : Paint() {
var pointsC = Paint()
init {
pointsC.textSize = 100f
when (name) {
"pink" -> pointsC.setARGB(150,255, 25, 151)
"red" -> pointsC.setARGB(150,221, 8, 47)
... | 0 | Kotlin | 0 | 0 | b15dafb0e52a0da23dc8898d2ec7992e8c6aee18 | 671 | Aplikacje-Mobilne | MIT License |
common/src/commonMain/kotlin/com/artemchep/keyguard/feature/navigation/Navigation.kt | AChep | 669,697,660 | false | {"Kotlin": 5516822, "HTML": 45876} | package com.artemchep.keyguard.feature.navigation
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.staticCompositionLocalOf
internal val LocalBackHost = staticCompositionLocalOf<Boolean> {
false
}
internal val LocalRoute = staticCompositionLocalOf<... | 66 | Kotlin | 31 | 995 | 557bf42372ebb19007e3a8871e3f7cb8a7e50739 | 1,608 | keyguard-app | Linux Kernel Variant of OpenIB.org license |
shared/src/commonMain/kotlin/com/ma/basloq/data/repo/source/UserRemoteDataSource.kt | mosayeb-a | 758,119,843 | false | {"Kotlin": 122909, "Swift": 342} | package com.ma.basloq.data.repo.source
import com.ma.basloq.service.UserService
import com.ma.basloq.common.BasloqException
import com.ma.basloq.common.Result
import com.ma.basloq.common.basloqExceptionMapper
import com.ma.basloq.common.handleRequestException
import com.ma.basloq.data.model.SessionTokenResponse
import... | 0 | Kotlin | 0 | 0 | 41dcff88efe6ee0a5e7a3253491984e9e171d957 | 1,646 | Basloq | Apache License 2.0 |
src/test/kotlin/no/nav/forms/recipients/RecipientsControllerTest.kt | navikt | 862,880,104 | false | {"Kotlin": 20904, "Dockerfile": 240} | package no.nav.forms.recipients
import no.nav.forms.ApplicationTest
import no.nav.forms.model.NewRecipientRequest
import no.nav.forms.model.RecipientDto
import no.nav.forms.model.UpdateRecipientRequest
import no.nav.forms.testutils.createTokenFor
import no.nav.forms.testutils.toURI
import org.junit.jupiter.api.Asserti... | 1 | Kotlin | 0 | 0 | 8f4cc93c7352e250446c6cfc194a4bc28c27c086 | 2,978 | forms-api | MIT License |
app/src/main/java/com/elacqua/geotask/data/model/Direction.kt | etasdemir | 382,923,471 | false | null | package com.elacqua.geotask.data.model
import com.google.gson.annotations.SerializedName
data class Direction(
@SerializedName("routes")
val polylines: List<Polyline> = listOf()
) | 0 | Kotlin | 0 | 0 | 80473250967c20488362c635d8971ca0233a1832 | 189 | GeoTask | Apache License 2.0 |
app/src/main/kotlin/hr/kbratko/instakt/domain/persistence/SocialMediaLinkPersistence.kt | karlobratko | 802,886,736 | false | {"Kotlin": 290357, "Makefile": 613} | package hr.kbratko.instakt.domain.persistence
import arrow.core.Either
import hr.kbratko.instakt.domain.DomainError
import hr.kbratko.instakt.domain.model.SocialMediaLink
import hr.kbratko.instakt.domain.model.User
interface SocialMediaLinkPersistence {
suspend fun insert(link: SocialMediaLink.New): Either<Domain... | 5 | Kotlin | 0 | 0 | e39e316a813b5657315c74440409a7af3ae6e3dc | 593 | instakt | MIT License |
sdk/src/main/java/com/exponea/sdk/repository/PushNotificationRepositoryImpl.kt | exponea | 134,699,893 | false | null | package com.exponea.sdk.repository
import com.exponea.sdk.preferences.ExponeaPreferences
import com.exponea.sdk.util.fromJson
import com.google.gson.Gson
class PushNotificationRepositoryImpl(
private val preferences: ExponeaPreferences
) : PushNotificationRepository {
private val KEY = "ExponeaPushNotifi... | 0 | null | 16 | 16 | 1de71a8ec212494f617bca3fa56a0837825e538e | 1,089 | exponea-android-sdk | MIT License |
src/main/kotlin/xyz/magentaize/dynamicdata/cache/ObservableCache.kt | Magentaize | 290,133,754 | false | null | package xyz.magentaize.dynamicdata.cache
import io.reactivex.rxjava3.disposables.Disposable
import xyz.magentaize.dynamicdata.kernel.Optional
interface ObservableCache<K, V> : ConnectableCache<K, V>, Disposable {
val size: Int
val items: Iterable<V>
val keys: Iterable<K>
val keyValues: Map<K, V>
f... | 0 | Kotlin | 0 | 3 | dda522f335a6ab3847cc90ff56e8429c15834800 | 353 | dynamicdata-kotlin | MIT License |
ui/src/main/java/pl/kubisiak/ui/recyclerview/ViewModelAdapter.kt | szymonkubisiak | 222,223,106 | false | null | package pl.kubisiak.ui.recyclerview
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ObservableList
import androidx.databinding.ViewDataBinding
import androidx.lifecycle.LifecycleOwner
import ... | 0 | Kotlin | 0 | 0 | d498fe5d18d7a02b87e8240a0429a32de2845614 | 4,496 | demo-android | MIT License |
database/src/main/java/info/metadude/android/eventfahrplan/database/repositories/MetaDatabaseRepository.kt | grote | 114,628,676 | false | null | package info.metadude.android.eventfahrplan.database.repositories
import android.content.ContentValues
import android.database.Cursor
import android.database.SQLException
import android.database.sqlite.SQLiteException
import android.util.Log
import info.metadude.android.eventfahrplan.database.contract.FahrplanContract... | 0 | null | 1 | 3 | 761d339bf804698760db17ba00990e164f90cff2 | 3,530 | EventFahrplan | Apache License 2.0 |
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/Core/Utility/TelMet.kt | Team5893 | 102,680,601 | true | {"Java": 1277580, "Kotlin": 70411} | /*
Team 5893 Direct Current
Authors: <NAME>
Date Created: 2017-11-01
Please adhere to these units when working in this project:
Time: Milliseconds
Distance: Centimeters
Angle: Degrees (mathematical orientation)
*/
@file:Suppress("PackageDirectoryMismatch")
package org.directcurrent.core
... | 1 | Java | 4 | 3 | b1e236c53fecf8d86579a1aff27a830dc529f314 | 1,424 | TeamCode | MIT License |
app/src/main/java/cn/lvsong/lib/demo/CustomToolbarActivity.kt | Jooyer | 243,921,264 | false | null | package cn.lvsong.lib.demo
import android.view.View
import android.widget.Toast
import cn.lvsong.lib.demo.databinding.ActivityCustomToolbarBinding
import cn.lvsong.lib.ui.BaseActivity
import cn.lvsong.lib.ui.BaseViewModel
/**
* 展示自定义Toolbar
*/
class CustomToolbarActivity : BaseActivity<ActivityCustomToolbarBinding,... | 0 | Kotlin | 3 | 9 | da74777556a9cd278ba7a36f30db18393874caee | 2,106 | Basics | Apache License 2.0 |
plugins/completion-ml-ranking-models/src/com/jetbrains/completion/ml/ranker/ExperimentSwiftMLRankingProvider.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.completion.ml.ranker
import com.intellij.completion.ml.ranker.ExperimentModelProvider
import com.intellij.internal.ml.catboost.CatBoostJarCompletionModelPro... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 761 | intellij-community | Apache License 2.0 |
mockup-processor/src/main/kotlin/mir/oslav/mockup/processor/generation/KSTypeExtensions.kt | miroslavhybler | 691,973,907 | false | {"Kotlin": 81659} | package mir.oslav.mockup.processor.generation
import com.google.devtools.ksp.symbol.KSType
import java.io.OutputStream
/**
* @author <NAME> <br>
* created on 15.09.2023
*/
operator fun OutputStream.plusAssign(other: String) {
this.write(other.toByteArray())
}
/**
* True if this type is [Short] number, fals... | 0 | Kotlin | 0 | 0 | ddd43bf9618bb242d74c393bbf025898b56509c5 | 4,124 | ksp-mockup-processor | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/PrimitiveMesh.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 49 | null | 45 | 634 | ac2a1bd5ea931725e2ed19eb5093dea171962e3f | 9,517 | godot-kotlin-jvm | MIT License |
kplotandroidlib/src/test/java/dev/curlybraces/kplot/LineChartViewLogicTests.kt | PravSonawane | 223,865,951 | false | null | package dev.curlybraces.kplot
import android.os.Build
import android.view.View.MeasureSpec.*
import dev.curlybraces.kplotandroidlib.R
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.Robolectric
import org.robolectric.RobolectricTestRunner
import org.rob... | 1 | Kotlin | 0 | 0 | 516e35f3fc7679a59d01b113cbb3305f9de6da40 | 4,876 | kplot | Apache License 2.0 |
core/src/commonMain/kotlin/work/socialhub/kslack/api/methods/request/usergroups/UsergroupsUpdateRequest.kt | uakihir0 | 794,979,552 | false | {"Kotlin": 1210021, "Ruby": 2164, "Shell": 2095, "Makefile": 316} | package com.github.seratch.jslack.api.methods.request.usergroups
import com.github.seratch.jslack.api.methods.SlackApiRequest
class UsergroupsUpdateRequest internal constructor(
/**
* Authentication token. Requires scope: `usergroups:write`
*/
override var token: String?,
/**
* The encoded ... | 5 | Kotlin | 0 | 0 | 4d1299164adc8b8e638b02e0ca7e46afb10709f8 | 3,060 | kslack | MIT License |
eec-core/src/main/kotlin/com/eec_cn/client4k/beans/global.kt | ExplodingDragon | 357,027,345 | false | {"Kotlin": 41451, "CSS": 27960} | package com.eec_cn.client4k.beans
import kotlinx.serialization.Serializable
@Serializable
data class DataWrapperBean(
val code: Int,
var `data`: String,
val message: String,
val status: Int,
val success: Boolean
)
@Serializable
data class NothingBean(val nothing:String = "")
| 0 | Kotlin | 0 | 0 | 53fe3ba93ae3fe1958c4737d39f99acc81ca01f2 | 299 | EecTools | MIT License |
app/src/main/java/pl/poznan/put/fc/tutorial01/MainActivity.kt | writ3it | 187,470,182 | false | null | package pl.poznan.put.fc.tutorial01
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import pl.poznan.put.fc.tutorial01.Tracking.Track
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | 0 | Kotlin | 0 | 0 | a134de010dcb1f14d5bc1d42e39c0fa7d52ab333 | 635 | android-firebase-tutorial01 | MIT License |
demo-app/src/main/java/io/opentelemetry/android/demo/theme/Color.kt | open-telemetry | 669,220,109 | false | {"Java": 473958, "Kotlin": 74861} | /*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.android.demo.theme
import androidx.compose.ui.graphics.Color
val Purple80 = Color(0xFFD0BCFF)
val PurpleGrey80 = Color(0xFFCCC2DC)
val Pink80 = Color(0xFFEFB8C8)
val Purple40 = Color(0xFF6650a4)
val PurpleG... | 52 | Java | 20 | 97 | f2fe8aea1b4eb5a1e7e28e3045e6fb4aed400155 | 377 | opentelemetry-android | Apache License 2.0 |
sample/subc/src/main/java/club/fdawei/nrouter/sample/subc/CActivity.kt | fangdawei | 188,443,333 | false | null | package club.fdawei.nrouter.sample.subc
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import club.fdawei.nrouter.annotation.Autowired
import club.fdawei.nrouter.annotation.Route
import club.fdawei.nrouter.api.NRouter
import club.fdawei.nrouter.sample.ba... | 0 | Kotlin | 1 | 3 | 3fcab2bdfbea45a322daaaeaab79bae844d1b2ec | 1,620 | NRouter | Apache License 2.0 |
shared/src/commonMain/kotlin/com/fmmobile/upcomingmovieskmp/data/datasource/source/remote/response/GenreListResponse.kt | FelipeFMMobile | 639,450,039 | false | {"Kotlin": 51051, "Swift": 12441} | package com.fmmobile.upcomingmovieskmp.data.datasource.source.remote.response
import com.fmmobile.upcomingmovieskmp.data.datasource.models.IGenreListModel
import com.fmmobile.upcomingmovieskmp.data.datasource.models.IGenreModel
import kotlinx.serialization.Serializable
@Serializable
data class GenreListResponse(
... | 0 | Kotlin | 0 | 0 | 9a946928c39d461b7e508e8685a9532b8f1d7a32 | 492 | UpcomingMoviesKMP | Apache License 2.0 |
src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/psi/impl/xquery/XQueryCompAttrConstructorPsiImpl.kt | rhdunn | 62,201,764 | false | {"Kotlin": 8262637, "XQuery": 996770, "HTML": 39377, "XSLT": 6853} | /*
* Copyright (C) 2016, 2020-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 agre... | 49 | Kotlin | 9 | 25 | d8d460d31334e8b2376a22f3832a20b2845bacab | 1,974 | xquery-intellij-plugin | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsadjudicationsinsightsapi/config/ApiExceptionHandler.kt | ministryofjustice | 643,829,689 | false | null | package uk.gov.justice.digital.hmpps.hmppsadjudicationsinsightsapi.config
import com.amazonaws.services.s3.model.AmazonS3Exception
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.ValidationException
import org.slf4j.LoggerFactory
import or... | 1 | Kotlin | 0 | 0 | 7c2a29af2377433cebf759be87a771f06a3d59b5 | 3,251 | hmpps-adjudications-insights-api | MIT License |
feature-game/src/main/java/com/mityushovn/miningquiz/game_feature/api/QuizActivity.kt | NikitaMityushov | 431,692,189 | false | {"Kotlin": 281441} | package com.mityushovn.miningquiz.game_feature.api
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.PersistableBundle
import android.widget.Toast
import androidx.activity.viewModels
import com.mityushovn.miningquiz.game_feature.R
import com.mityushovn.miningquiz.game_feature.i... | 10 | Kotlin | 0 | 0 | 9013e560b6d9434da4c263ccaa9f033bd0831855 | 3,115 | MiningQuiz | MIT License |
app/src/main/java/com/kansus/teammaker/android/ui/games/GamesAdapter.kt | CharlesNascimento | 181,741,814 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 80, "XML": 30, "Java": 1} | package com.kansus.teammaker.android.ui.games
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.kansus.teammaker.R
import com.kansus.teammaker.android.Navigator
import com.kansus.teammaker.android.extension.inflate
import com.kansus.teammaker.domain.mod... | 0 | Kotlin | 0 | 1 | db123b4e65d012eb65a2da4f787fa8ddf278e193 | 1,525 | TeamMaker | MIT License |
ok-marketplace-mp-common-cor/src/commonTest/kotlin/CorBaseTest.kt | otuskotlin | 375,767,209 | false | null | package com.polyakovworkbox.tasktracker.common.handlers
import com.polyakovworkbox.tasktracker.common.cor.ICorChainDsl
import kotlin.test.Test
class CorBaseTest {
@Test
fun createCor() {
}
companion object {
val chain = com.polyakovworkbox.tasktracker.common.cor.chain<TestContext> {
... | 1 | null | 5 | 9 | f7b000e861fb35b5e0a641782fb7fe746814da31 | 1,548 | 202105-otuskotlin-marketplace | MIT License |
app/src/main/java/vn/thailam/wheresmyremote/di/DatabaseModule.kt | ngthailam | 629,044,502 | false | null | package vn.thailam.wheresmyremote.di
import android.content.Context
import androidx.room.Room
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import vn.thailam.wheresmyremote.data.db.AppRo... | 0 | Kotlin | 0 | 0 | dc3f7a5337dd6df5e8b51bc24ed7108cb4bb3ff0 | 955 | WheresMyRemote | MIT License |
src/test/kotlin/br/com/jiratorio/testlibrary/extension/ArchUnitExtension.kt | jirareport | 126,883,660 | false | {"Kotlin": 628412, "Dockerfile": 302} | package br.com.jiratorio.testlibrary.extension
import com.tngtech.archunit.base.DescribedPredicate
import com.tngtech.archunit.core.domain.JavaClass
import com.tngtech.archunit.core.domain.JavaModifier
import com.tngtech.archunit.lang.syntax.elements.ClassesThat
import com.tngtech.archunit.lang.syntax.elements.GivenMe... | 12 | Kotlin | 12 | 21 | 845540e238f47fbd05c1f7f6839152545521c63e | 858 | jirareport | MIT License |
agent-instrumentation/src/jvmMain/kotlin/com/epam/drill/agent/instrument/reactor/transformers/SchedulersTransformerObject.kt | Drill4J | 598,096,157 | false | {"Kotlin": 1348086, "C": 329462, "C++": 295093, "HTML": 5568} | /**
* Copyright 2020 - 2022 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 4 | Kotlin | 0 | 1 | 27dc5ada546a3c738ea62ebaa0cefcc28e5e23ee | 2,205 | lib-jvm-shared | Apache License 2.0 |
app/src/main/java/com/example/emafoods/feature/pending/presentation/PendingFoodScreen.kt | vladr7 | 625,532,633 | false | null | package com.example.emafoods.feature.pending.presentation
import android.content.Context
import android.widget.Toast
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.Spring... | 0 | Kotlin | 0 | 4 | a65fc01c1f64f5cbf939812d4e54efba6a973842 | 20,332 | EmaFoods | Apache License 2.0 |
src/main/kotlin/com/digitalarchitects/route/file/FileItemExt.kt | Digital-Architects-Avans | 737,889,862 | false | {"Kotlin": 62312} | package com.digitalarchitects.route.file
import io.ktor.http.content.*
import java.io.File
fun PartData.FileItem.save(path: String, fileName: String): String {
val fileBytes = streamProvider().readBytes()
val folder = File(path)
folder.mkdirs()
File("$path$fileName").writeBytes(fileBytes)
return f... | 0 | Kotlin | 0 | 0 | 3a1dbdb09fe8a9bb7bb7fed87da0fa5c42098470 | 329 | rmc-api-2 | Apache License 2.0 |
plugins/kotlin/code-insight/inspections-k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/inspections/expressions/ReplaceSizeZeroCheckWithIsEmptyInspection.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.k2.codeinsight.inspections.expressions
import org.jetbrains.kotlin.idea.base.resources.KotlinBundle
import org.jetbrains.kotlin.idea.codeinsight.api.applicable.insp... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 2,233 | intellij-community | Apache License 2.0 |
app/src/main/java/com/costular/atomtasks/ui/AtomTasksApp.kt | costular | 379,913,052 | false | null | package com.costular.atomtasks.ui
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.os.Build
import androidx.hilt.work.HiltWorkerFactory
import androidx.work.Configuration
import com.costular.atomtasks.BuildConfig
... | 3 | Kotlin | 0 | 1 | 7854d00b7dc90cbea5169dbfab2adea04d415f6e | 1,761 | atom-habits | Apache License 2.0 |
modules/meta/arrow-meta/src/test/java/arrow/ap/tests/ProductTest.kt | clojj | 343,913,289 | true | {"Kotlin": 2978660, "CSS": 85678, "JavaScript": 26157, "HTML": 22172, "Scala": 8073, "Java": 4465, "Shell": 3043, "Ruby": 1598} | package arrow.ap.tests
import arrow.generic.ProductProcessor
class ProductTest : APTest("arrow.ap.objects.generic", enforcePackage = false) {
init {
testProcessor(
AnnotationProcessor(
name = "Product instances cannot be generated for huge classes",
sourceFiles = listOf("ProductXXL.java"... | 0 | null | 0 | 0 | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | 2,972 | arrow | Apache License 2.0 |
server/src/main/kotlin/com/heerkirov/hedge/server/components/service/IllustService.kt | HeerKirov | 298,201,781 | false | null | package com.heerkirov.hedge.server.components.service
import com.heerkirov.hedge.server.components.backend.exporter.AlbumMetadataExporterTask
import com.heerkirov.hedge.server.components.backend.exporter.BackendExporter
import com.heerkirov.hedge.server.components.backend.exporter.IllustMetadataExporterTask
import com... | 0 | TypeScript | 0 | 1 | 8140cd693759a371dc5387c4a3c7ffcef6fb14b2 | 45,492 | Hedge-v2 | MIT License |
features/src/main/java/com/ahmet/features/dialogs/adduser/AddUserDialogViewModel.kt | AhmetOcak | 492,814,409 | false | {"Kotlin": 128173} | package com.ahmet.features.dialogs.adduser
import android.util.Log
import androidx.lifecycle.MutableLiveData
import com.ahmet.core.base.BaseViewModel
import com.ahmet.features.utils.helpers.EmailController
import com.ahmet.data.usecase.user.GetCurrentUserEmail
import com.ahmet.data.usecase.friend.SendFriendRequest
imp... | 0 | Kotlin | 0 | 1 | c8c9f9d4d4dab816bec976ae65e30b530e62b239 | 2,164 | KotlinChatApp | MIT License |
app/src/main/java/me/tandeneck/tanutils/model/place/County.kt | ahaliulang | 323,002,178 | false | null | package me.tandeneck.tanutils.model.place
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
@Entity
class County(
@SerializedName("name") val countyName: String,
@SerializedName("weather_id") val weatherId: String
) {
@PrimaryKey
@Transient
... | 0 | Kotlin | 0 | 0 | ed39c975e03860caed711cf17f42377c754c58b3 | 354 | TanUtils | Apache License 2.0 |
common-ui-compose/src/main/java/app/tivi/common/compose/ui/SwipeDismissSnackbar.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 | Kotlin | 740 | 5,312 | 70124c20a482cd83ddfe735802f77064c2ba8f20 | 2,401 | tivi | Apache License 2.0 |
core/descriptors/src/org/jetbrains/kotlin/types/flexibleTypes.kt | msdgwzhy6 | 421,687,586 | true | {"Markdown": 32, "XML": 692, "Ant Build System": 45, "Git Attributes": 1, "Ignore List": 7, "Maven POM": 51, "Kotlin": 23506, "Java": 4612, "JavaScript": 64, "JSON": 1, "Groovy": 23, "Shell": 11, "Batchfile": 10, "Java Properties": 14, "Gradle": 75, "HTML": 184, "INI": 18, "CSS": 2, "Text": 5151, "ANTLR": 1, "Protocol ... | /*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Java | 0 | 1 | f713adc96e9adeacb1373fc170a5ece1bf2fc1a2 | 7,758 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/application/ui/bottomsheet/BottomSheetScreen.kt | greenlabsfin | 576,161,902 | false | {"Kotlin": 341944, "Shell": 610} | package com.example.application.ui.bottomsheet
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Arrangement
import androidx.co... | 0 | Kotlin | 0 | 2 | 00df62e84ee656b06cc645e93386c3d771c2c034 | 11,527 | seed-android-design-system | Apache License 2.0 |
feature-wallet-impl/src/main/java/jp/co/soramitsu/wallet/impl/data/repository/WalletRepositoryImpl.kt | soramitsu | 278,060,397 | false | {"Kotlin": 4752568, "Java": 18796} | package jp.co.soramitsu.wallet.impl.data.repository
import com.opencsv.CSVReaderHeaderAware
import java.math.BigDecimal
import java.math.BigInteger
import jp.co.soramitsu.account.api.domain.model.MetaAccount
import jp.co.soramitsu.account.api.domain.model.accountId
import jp.co.soramitsu.common.compose.component.Netwo... | 9 | Kotlin | 22 | 75 | a1eb05228f80c3a7a1997295ae411ec130ad20ba | 17,906 | fearless-Android | Apache License 2.0 |
idea/testData/intentions/objectLiteralToLambda/SingleReturn.kt | JakeWharton | 99,388,807 | false | null | // WITH_RUNTIME
import java.io.File
import java.io.FileFilter
fun foo(filter: FileFilter) {}
fun bar() {
foo(<caret>object: FileFilter {
override fun accept(file: File): Boolean {
return file.name.startsWith("a")
}
})
}
| 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 258 | kotlin | Apache License 2.0 |
kotlin_springboot_maven/src/main/kotlin/com/yzq/kotlin_springboot_maven/dao/mapper/UserMapper.kt | yuzhiqiang1993 | 164,573,948 | false | {"Java": 148136, "Kotlin": 67556, "TypeScript": 7572, "JavaScript": 3117, "HTML": 580, "CSS": 188} | package com.yzq.kotlin_springboot_maven.dao.mapper
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.yzq.kotlin_springboot_maven.dao.data.User
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param
@Mapper
interface UserMapper : BaseMapper<User> {
fun updateBatch(li... | 4 | Java | 0 | 0 | f085e24260c0d274c08ef61c80c7d6f464f1f778 | 720 | JavaWebStudy | MIT License |
shared/schedule/schedule-info/src/commonMain/kotlin/io/edugma/features/schedule/scheduleInfo/lessonInfo/LessonInfoViewModel.kt | Edugma | 474,423,768 | false | null | package io.edugma.features.schedule.scheduleInfo.lessonInfo
import io.edugma.core.arch.mvi.updateState
import io.edugma.core.arch.mvi.viewmodel.BaseViewModel
import io.edugma.core.arch.mvi.viewmodel.prop
import io.edugma.core.navigation.schedule.ScheduleInfoScreens
import io.edugma.core.utils.viewmodel.launchCoroutine... | 1 | Kotlin | 0 | 2 | d84fec0ecc682a97ae4ac385c5e1a9a8565df4a8 | 1,791 | app | MIT License |
feature/discover/src/main/java/org/hxl/discover/menu/charcater/adapter/CharacterViewHolder.kt | hexley21 | 657,343,982 | false | null | package org.hxl.discover.menu.charcater.adapter
import org.hxl.common.base.BaseViewHolder
import org.hxl.discover.databinding.CharacterItemBinding
import org.hxl.model.Character
class CharacterViewHolder(
private val favLogic: (isAdd: Boolean, id: Int) -> Unit,
binding: CharacterItemBinding
): BaseViewHolder<... | 1 | Kotlin | 0 | 0 | 44941d167e70d5bc28a5fcd15be4bd99f250df5e | 562 | ForceFacts | Apache License 2.0 |
src/main/kotlin/org/letses/persistence/AggregateRepository.kt | masayoshi-louis | 680,742,400 | false | null | /*
* Copyright (c) 2022 LETSES.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 0 | Kotlin | 0 | 0 | 92d597568f45e1b336325d5f84080196d32e51d4 | 1,331 | letses | Apache License 2.0 |
app/src/main/java/vn/loitp/up/a/cv/layout/transformation/TransformationActivity.kt | tplloi | 126,578,283 | false | null | package vn.loitp.up.a.cv.layout.transformation
import android.os.Bundle
import androidx.viewpager.widget.ViewPager
import com.loitp.annotation.IsFullScreen
import com.loitp.annotation.LogTag
import com.loitp.core.base.BaseActivityFont
import com.loitp.core.common.NOT_FOUND
import com.skydoves.transformationlayout.onTr... | 1 | null | 1 | 9 | 1bf1d6c0099ae80c5f223065a2bf606a7542c2b9 | 2,214 | base | Apache License 2.0 |
features/detail/domain/src/main/kotlin/com/manuelnunez/apps/features/detail/domain/repository/DetailRepository.kt | manununhez | 783,961,200 | false | {"Kotlin": 208528} | package com.manuelnunez.apps.features.detail.domain.repository
import com.manuelnunez.apps.core.domain.model.Item
import kotlinx.coroutines.flow.Flow
interface DetailRepository {
suspend fun saveFavoriteItem(favoriteItem: Item)
suspend fun removeFavoriteItem(favoriteItem: Item)
fun isItemFavorite(itemPhotoId:... | 0 | Kotlin | 0 | 0 | 9c031f9f026a90cb92b19716e65994c4b5b0ac1d | 346 | purrfect-pics | MIT License |
src/main/kotlin/com.franzmandl.fileadmin/model/config/DirectoryVersioned.kt | franzmandl | 570,884,978 | false | null | package com.franzmandl.fileadmin.model.config
import com.franzmandl.fileadmin.common.CommonUtil
import com.franzmandl.fileadmin.vfs.SafePath
import com.franzmandl.fileadmin.vfs.UnsafePath
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
import jav... | 0 | Kotlin | 0 | 0 | 9e7a3f2876688627b24a98a2fe58027b4d733ce2 | 4,967 | fileadmin-server | MIT License |
src/main/kotlin/me/jakejmattson/anytoimage/utils/ImageWriter.kt | JakeJMattson | 117,714,118 | false | null | package me.jakejmattson.anytoimage.utils
import java.awt.image.BufferedImage
import java.io.*
import javax.imageio.ImageIO
class ImageWriter(dimensions: Int) {
private var image: BufferedImage = BufferedImage(dimensions, dimensions, BufferedImage.TYPE_INT_RGB)
private var row: Int = 0
private var col: Int... | 1 | Kotlin | 1 | 12 | 86566fc40ebcd0f0afe85ee94c9436d7d53a1f2a | 721 | AnyToImage | MIT License |
src/main/kotlin/ua/pp/lumivoid/redstonehelper/gui/MacroScreen.kt | Bumer-32 | 779,465,671 | false | null | package ua.pp.lumivoid.redstonehelper.gui
import io.wispforest.owo.ui.base.BaseUIModelScreen
import io.wispforest.owo.ui.component.ButtonComponent
import io.wispforest.owo.ui.component.CheckboxComponent
import io.wispforest.owo.ui.component.Components
import io.wispforest.owo.ui.component.LabelComponent
import io.wisp... | 0 | null | 1 | 3 | 45d9e9611bb766939dd4aef87200256d665c7405 | 11,719 | Redstone-Helper | Apache License 2.0 |
core/src/main/kotlin/spp/jetbrains/instrument/presentation/LiveVariableNode.kt | sourceplusplus | 173,253,271 | false | {"Kotlin": 1227211, "Java": 190403, "JavaScript": 3929, "Groovy": 3042, "Python": 2564} | /*
* Source++, the continuous feedback platform for developers.
* Copyright (C) 2022-2024 CodeBrig, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/... | 2 | Kotlin | 13 | 87 | 199006a410529d961dc184f0740a5d845bd87899 | 3,432 | interface-jetbrains | Apache License 2.0 |
src/main/kotlin/insyncwithfoo/ryecharm/ruff/lsp4ij/RuffServerFactory.kt | InSyncWithFoo | 849,672,176 | false | null | package insyncwithfoo.ryecharm.ruff.lsp4ij
import com.intellij.openapi.project.Project
import com.redhat.devtools.lsp4ij.LanguageServerEnablementSupport
import com.redhat.devtools.lsp4ij.LanguageServerFactory
import com.redhat.devtools.lsp4ij.client.LanguageClientImpl
import com.redhat.devtools.lsp4ij.client.features.... | 2 | null | 1 | 7 | c1a04b622fbfb02a2fb155d8c9aa069520eda23e | 2,188 | ryecharm | MIT License |
simple_form/src/main/java/com/pradeep/form/simple_form/form_items/MultiLineTextFormItem.kt | lspradeep | 360,256,350 | false | null | package com.pradeep.form.simple_form.form_items
import android.text.InputFilter
import androidx.core.widget.doAfterTextChanged
import com.pradeep.form.simple_form.adapter.SimpleFormAdapter
import com.pradeep.form.simple_form.databinding.ItemMultiLineTextBinding
import com.pradeep.form.simple_form.model.Form
class Mul... | 1 | Kotlin | 0 | 4 | 2b2d8362031b42a4f36239be79d5ca75f1ddbaac | 2,242 | simple-form | MIT License |
preference/preference/src/androidTest/java/androidx/preference/tests/PreferenceViewHolderStateTest.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 16 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 7,372 | androidx | Apache License 2.0 |
compiler/test-infrastructure/tests/org/jetbrains/kotlin/test/TestRunner.kt | IVIanuu | 333,718,537 | false | {"Markdown": 70, "Gradle": 729, "Gradle Kotlin DSL": 570, "Java Properties": 15, "Shell": 10, "Ignore List": 12, "Batchfile": 9, "Git Attributes": 8, "Kotlin": 61867, "Protocol Buffer": 12, "Java": 6670, "Proguard": 12, "XML": 1607, "Text": 13214, "INI": 178, "JavaScript": 287, "JAR Manifest": 2, "Roff": 213, "Roff Man... | /*
* 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.test
import com.intellij.openapi.util.Disposer
import com.intellij.testFramework... | 1 | null | 1 | 1 | f49cf2d5cabf8fb9833ec95e1151a00b8b53d087 | 7,047 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/sudoku/view/Solver.kt | xdHawkeye | 289,899,939 | false | null | package com.example.sudoku.view
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import android.view.View
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import androidx.lifecycle.Observer
import androidx.lifecy... | 0 | Kotlin | 0 | 0 | 93c534dca0c23e187f96562fa48eb7d721aef39e | 3,510 | SudokuApp | MIT License |
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/api/FirModuleResolveState.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.analysis.low.level.api.fir.api
import com.intellij.openapi.project.Project
impor... | 5 | null | 4903 | 39,894 | 0ad440f112f353cd2c72aa0a0619f3db2e50a483 | 3,164 | kotlin | Apache License 2.0 |
demo/src/desktopMain/kotlin/org/pushingpixels/aurora/demo/svg/tango/computer.kt | kirill-grouchnikov | 297,981,405 | false | {"Kotlin": 2202922, "Shell": 7752, "templ": 4389, "Batchfile": 191} | package org.pushingpixels.aurora.demo.svg.tango
import androidx.compose.ui.geometry.*
import androidx.compose.ui.graphics.*
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.graphics.drawscope.Fill
import androidx.compose.ui.graphics.drawscope.Stroke
import androidx.compose.ui.graphics... | 8 | Kotlin | 19 | 570 | c9aa4a852fa2843a72473e710f3cf9a4ebd63f6d | 42,794 | aurora | Apache License 2.0 |
Realtime/src/commonTest/kotlin/RealtimeTest.kt | supabase-community | 495,084,592 | false | {"Kotlin": 901718} | import io.github.jan.supabase.realtime.Realtime
import io.github.jan.supabase.realtime.RealtimeMessage
import io.github.jan.supabase.realtime.realtime
import kotlinx.coroutines.test.runTest
import kotlinx.serialization.json.buildJsonObject
import kotlinx.serialization.json.put
import kotlin.test.Test
import kotlin.test... | 11 | Kotlin | 37 | 395 | 52abcc3d5744ad2703afc40a9d1e6cae5b74b834 | 1,687 | supabase-kt | MIT License |
app/src/main/java/ke/co/tulivuapps/hoteltours/data/model/user/UserInfoResponse.kt | RushiChavan-dev | 740,244,295 | false | {"Kotlin": 872337} | package ke.co.tulivuapps.hoteltours.data.model.user
/**
* Created by Rushi on 12.03.2023
*/
data class UserInfoResponse(
val status : String?,
val body:ResultUser?,
val message: String?,
) | 0 | Kotlin | 0 | 0 | ad74422b1b7930e5665c94cc9368ec69d425ffba | 204 | HotelApp | Apache License 2.0 |
compiler/light-classes/src/org/jetbrains/kotlin/asJava/classes/KtLightClassForFacadeImpl.kt | JetBrains | 3,432,266 | 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... | 132 | null | 5074 | 40,992 | 57fe6721e3afb154571eb36812fd8ef7ec9d2026 | 11,705 | kotlin | Apache License 2.0 |
mpp-library/domain/src/commonMain/kotlin/com/jaa/library/domain/useCases/ChangeVisitedStateUseCase.kt | Jaime97 | 300,568,157 | false | null | package com.jaa.library.domain.useCases
import com.jaa.library.domain.repository.filmDetail.FilmDetailRepositoryInterface
import dev.icerock.moko.network.generated.models.FilmData
class ChangeVisitedStateUseCase (
private val filmDetailRepository : FilmDetailRepositoryInterface
) {
interface ChangeVisitedSta... | 1 | Kotlin | 1 | 2 | 38611cb56edfafcc5647049a0cf45a695bc97945 | 1,071 | LikeAStarMpp | Apache License 2.0 |
lib/src/main/kotlin/com/github/hofmmaxi/exaroton/entities/Logs.kt | hofmmaxi | 689,362,188 | false | {"Kotlin": 42264} | package com.github.hofmmaxi.exaroton.entities
import com.github.hofmmaxi.exaroton.data.LogsData
/**
* @property content Represents the whole server logs as a single string
*/
class Logs(private val data: LogsData) {
val content: String? get() = data.content
} | 2 | Kotlin | 0 | 0 | b526dddb3fb915db45fe879203db6d773be405fe | 267 | exaroton-kt | MIT License |
src/main/kotlin/de/pflugradts/passbird/application/boot/main/ApplicationModule.kt | christianpflugradt | 522,173,174 | false | {"Kotlin": 416483} | package de.pflugradts.passbird.application.boot.main
import com.google.inject.AbstractModule
import com.google.inject.Inject
import com.google.inject.Provider
import com.google.inject.Singleton
import com.google.inject.assistedinject.FactoryModuleBuilder
import com.google.inject.multibindings.Multibinder
import de.pfl... | 2 | Kotlin | 0 | 0 | fb5d933a67d1c5ccb9b0129811b7f5bdad3fd318 | 8,428 | PwMan3 | Apache License 2.0 |
common/src/main/java/io/homeassistant/companion/android/common/data/authentication/impl/AuthenticationService.kt | home-assistant | 179,008,173 | false | null | package io.homeassistant.companion.android.common.data.authentication.impl
import io.homeassistant.companion.android.common.data.authentication.impl.entities.LoginFlowAuthentication
import io.homeassistant.companion.android.common.data.authentication.impl.entities.LoginFlowForm
import io.homeassistant.companion.androi... | 100 | Kotlin | 371 | 1,243 | f4c4d72518f1e8308df5ae09068a651bb2b2f621 | 2,273 | android | Apache License 2.0 |
src/test/kotlin/no/nav/helse/flex/testdata/DatabaseReset.kt | navikt | 475,306,289 | false | null | package no.nav.helse.flex.testdata
import no.nav.helse.flex.medlemskap.MedlemskapVurderingRepository
import no.nav.helse.flex.repository.KlippMetrikkRepository
import no.nav.helse.flex.repository.SykepengesoknadDAO
import org.springframework.jdbc.core.namedparam.MapSqlParameterSource
import org.springframework.jdbc.co... | 7 | null | 0 | 4 | eaae25fde2778af57d40ed807501dafeefa02193 | 1,499 | sykepengesoknad-backend | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCondition.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.elasticloadbalancingv2
import io.cloudshiftdev.awscdk.common.CdkObject
import io.cloudshiftdev.awscdk... | 4 | null | 0 | 4 | 9a242bcc59b2c1cf505be2f9d838f1cd8008fe12 | 3,691 | kotlin-cdk-wrapper | Apache License 2.0 |
collaboration-suite-phone-ui/src/main/java/com/kaleyra/collaboration_suite_phone_ui/whiteboard/layout/KaleyraWhiteboardLoadingError.kt | Bandyer | 337,367,845 | false | {"Kotlin": 1272666, "Shell": 7470, "Python": 5656} | /*
* Copyright 2022 Kaleyra @ https://www.kaleyra.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 required by appl... | 1 | Kotlin | 2 | 2 | f74e81cbd9d8fb06e625ae909f504f56baa15bb5 | 2,881 | Bandyer-Android-Design | Apache License 2.0 |
bugsnag-android-core/src/main/java/com/bugsnag/android/DefaultDelivery.kt | yeaper | 467,615,335 | true | {"Kotlin": 609040, "Java": 465805, "C": 418485, "Gherkin": 119579, "C++": 33621, "Ruby": 18463, "Shell": 9519, "CMake": 4538, "Makefile": 1937} | package com.bugsnag.android
import android.net.TrafficStats
import java.io.ByteArrayOutputStream
import java.io.IOException
import java.io.PrintWriter
import java.net.HttpURLConnection
import java.net.HttpURLConnection.HTTP_BAD_REQUEST
import java.net.HttpURLConnection.HTTP_CLIENT_TIMEOUT
import java.net.HttpURLConnec... | 2 | Kotlin | 0 | 0 | 3808c4141cf113de9890aa08670fa7317523b6d1 | 4,883 | bugsnag-android | MIT License |
src/test/kotlin/TestExtensions.kt | SebastianRiga | 399,853,220 | false | null | import com.riga.sebastian.propertiesextended.BackingField
import java.io.InputStream
var InputStream.tag by BackingField { "$it" } | 0 | Kotlin | 0 | 0 | 01aabc88da5209e849fd359922a7dc4932e6eda6 | 131 | kotlin_property_extensions | MIT License |
privacysandbox/ui/ui-client/src/main/java/androidx/privacysandbox/ui/client/view/SandboxedSdkView.kt | androidx | 256,589,781 | false | null | /*
* Copyright 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 applica... | 30 | null | 984 | 5,256 | b4f2ba144b1330987d46dda7707499423171642b | 25,707 | androidx | Apache License 2.0 |
ok-propertysale-mp-pipelines/src/commonTest/kotlin/ru/otus/otuskotlin/propertysale/mp/pipelines/PipelineTest.kt | otuskotlin | 330,109,804 | false | null | package ru.otus.otuskotlin.marketplace.pipelines.kmp
import runBlockingTest
import kotlin.test.Test
import kotlin.test.assertEquals
class PipelineTest {
@Test
fun simplePipeline() {
val givenOperation = operation<TestContext> {
execute { a += "c" }
}
val givenPipeline = pip... | 1 | null | 1 | 1 | ed9a38627e64ed36131280ca7449547ba1d06829 | 1,710 | otuskotlin-202012-propertysale-ks | MIT License |
app/src/main/java/volovyk/guerrillamail/data/emails/remote/model/RemoteEmailDatabaseException.kt | oleksandrvolovyk | 611,731,548 | false | {"Kotlin": 158288, "Java": 767} | package volovyk.guerrillamail.data.emails.remote.model
open class RemoteEmailDatabaseException: RuntimeException {
constructor(message: String) : super(message)
constructor(throwable: Throwable) : super(throwable)
constructor() : super()
data object EmptyResponseException: RemoteEmailDatabaseException... | 0 | Kotlin | 0 | 1 | 0e204bb437a6cfd837cd0bb911a29f0fc43164ce | 483 | guerrilla-mail-android-client | MIT License |
sketch-core/src/main/kotlin/com/github/panpf/sketch/request/internal/RequestExecutor.kt | panpf | 14,798,941 | false | null | /*
* Copyright (C) 2022 panpf <panpfpanpf@outlook.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 required by applica... | 7 | null | 308 | 1,978 | 82ffde1ff148311bb5b36eb70a4c82224d1f3af4 | 12,771 | sketch | Apache License 2.0 |
network/src/main/java/org/itsman/network/ApiServer.kt | mkitcc | 631,505,045 | false | null | package org.itsman.network
import io.reactivex.Observable
import retrofit2.Response
import retrofit2.http.GET
interface ApiServer {
@GET("/quotes")
suspend fun getQuotes(): Response<QuoteList>
@GET("/quotes")
fun getQuotes2(): Observable<QuoteList>
} | 0 | Kotlin | 0 | 0 | 9e7ac0769f128f069423b183942a13b1aeac82eb | 270 | BaseAndroid | MIT License |
app/src/test/java/com/jbr/asharplibrary/searchartist/ui/SearchArtistViewModelTest.kt | jrmybrault | 210,299,381 | false | null | package com.jbr.asharplibrary.searchartist.ui
import android.app.Application
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.MutableLiveData
import com.jbr.asharplibrary.random.RandomArtistGenerator
import com.jbr.asharplibrary.random.RandomPreviousArtistSearchGenerator
imp... | 0 | Kotlin | 0 | 0 | ad06f792538867a732bd79fae74849f5130addce | 10,970 | aSharp-library | MIT License |
lib_modbus/src/main/kotlin/com/crow/modbus/model/KModbusRtuSlaveResp.kt | crowforkotlin | 696,702,450 | false | {"Kotlin": 107203, "C": 13860, "Makefile": 1695, "CMake": 208} | package com.crow.modbus.model
import com.crow.modbus.tools.BytesOutput
import com.crow.modbus.tools.CRC16
import com.crow.modbus.tools.fromInt16
data class KModbusRtuSlaveResp(
val mSlaveID: Int,
val mFunction: KModbusFunction,
val mAddress: Int,
val mCount: Int? = null,
val mByteCount: Int? = nul... | 1 | Kotlin | 0 | 2 | 9b342a239066ebfe1d60dc1da028ba7b93a85178 | 2,844 | KModbus | Apache License 2.0 |
idea/src/org/jetbrains/kotlin/idea/inspections/LiftReturnOrAssignmentInspection.kt | tnorbye | 189,964,139 | true | 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... | 0 | Kotlin | 2 | 2 | dca23f871cc22acee9258c3d58b40d71e3693858 | 5,402 | kotlin | Apache License 2.0 |
step3/backend/src/main/kotlin/br/com/zup/beagle/demo/configuration/JacksonConfiguration.kt | ayala-borba | 591,939,225 | false | null | package br.com.zup.beagle.demo.configuration
import br.com.zup.beagle.serialization.jackson.BeagleActionSerializer
import br.com.zup.beagle.serialization.jackson.BeagleComponentSerializer
import br.com.zup.beagle.serialization.jackson.BeagleScreenBuilderSerializer
import br.com.zup.beagle.serialization.jackson.BeagleS... | 0 | Kotlin | 0 | 0 | 7805ef611cebc5035ea65740ec8c12c7ee0941fd | 1,236 | beagle-webinar | Apache License 2.0 |
app/src/main/java/com/example/tokumemo/utility/FirstDialogFragment.kt | tokudai0000 | 560,016,320 | false | null | import android.app.AlertDialog
import android.app.Dialog
import android.content.DialogInterface
import android.os.Bundle
import androidx.fragment.app.DialogFragment
import com.example.tokumemo.R
class FirstDialogFragment: DialogFragment() {
// ダイアログ外タップ無効
@Deprecated("Deprecated in Java")
override fun onA... | 6 | null | 0 | 2 | e694cd89df251eadd49959861d26299cbc5cdb37 | 1,063 | TokumemoAndroid | MIT License |
compiler/testData/diagnostics/tests/functionLiterals/kt7383_starProjectedFunction.kt | BradOselo | 367,097,840 | false | null | // !WITH_NEW_INFERENCE
// KT-7383 Assertion failed when a star-projection of function type is used
fun foo() {
val f : Function1<*, *> = { x -> x.toString() }
<!MEMBER_PROJECTED_OUT{OI}!>f<!>(<!CONSTANT_EXPECTED_TYPE_MISMATCH{NI}!>1<!>)
}
| 1 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 248 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/belindas_closet/data/network/product/DeleteServiceImpl.kt | SeattleColleges | 656,918,420 | false | {"Kotlin": 191183} | package com.example.nsc_events.data.network.auth
import com.example.nsc_events.data.network.HttpRoutes
import com.example.nsc_events.data.network.dto.auth_dto.DeleteRequest
import com.example.nsc_events.data.network.dto.auth_dto.DeleteResponse
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.... | 40 | Kotlin | 6 | 9 | b3522c87e2afe2f73f11807378d18cb0c7ab906c | 1,897 | belindas-closet-android | MIT License |
app/src/main/java/br/com/codeone/minhasreceitas/application/MinhasReceitasApplication.kt | luizgoes10 | 162,925,102 | false | null | package br.com.codeone.minhasreceitas.application
import android.app.Application
import android.util.Log
class MinhasReceitasApplication : Application() {
// Chamado quando o Android criar o processo do aplicativo
override fun onCreate() {
super.onCreate()
// Salva a instância para termos acesso com... | 0 | Kotlin | 0 | 0 | 7714809c537002f59005bc2619e20d70ae06eb9f | 1,028 | my-recipes-app | MIT License |
composeApp/src/wasmJsMain/kotlin/App.kt | Hamamas | 732,402,221 | false | {"Kotlin": 8166, "HTML": 332} | import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.layout.*
import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.... | 0 | Kotlin | 0 | 1 | 4f495d9428eade075d967b1f4e59ae438de157e4 | 1,414 | Kotlin-Wasm-Html-Interop | Apache License 2.0 |
app/src/main/java/com/perol/asdpl/pixivez/dialog/SearchSectionDialog.kt | hunterx9 | 222,638,256 | false | null | /*
* MIT License
*
* Copyright (c) 2019 Perol_Notsfsssf
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | 0 | null | 0 | 3 | e0ef6514264a6024f4277d38e2162536cd1d53c1 | 3,033 | Pix-EzViewer | MIT License |
zipline-gradle-plugin/src/main/kotlin/app/cash/zipline/gradle/jsProductionTasks.kt | cashapp | 41,445,081 | false | {"C": 2212200, "Kotlin": 1306939, "C++": 39548, "Shell": 1471, "CMake": 804, "JavaScript": 313} | /*
* Copyright (C) 2023 Block, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 78 | C | 147 | 1,932 | 55a4412b60fdee701dfdfe89925bbd0be5293f31 | 2,470 | zipline | Apache License 2.0 |
frontend/src/jsMain/kotlin/com/monkopedia/konstructor/frontend/menu/MenuComponent.kt | Monkopedia | 418,215,448 | false | {"Kotlin": 507651, "JavaScript": 159882, "HTML": 1015} | /*
* Copyright 2022 Jason Monk
*
* 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 ... | 0 | Kotlin | 0 | 0 | 553817a530a5e60913cfa76c7e45c8e3a247b0d3 | 6,323 | Konstructor | Apache License 2.0 |
litho-it/src/test/com/facebook/litho/LithoViewVisibilityProcessingTest.kt | facebook | 80,179,724 | false | {"Kotlin": 5825848, "Java": 5578851, "C++": 616537, "Starlark": 198527, "JavaScript": 29060, "C": 25074, "Shell": 8243, "CSS": 5558, "CMake": 4783, "Objective-C": 4012} | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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 appl... | 88 | Kotlin | 769 | 7,703 | 8bde23649ae0b1c594b9bdfcb4668feb7d8a80c0 | 3,661 | litho | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.