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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
component-acgcomic/src/main/java/com/rabtman/acgcomic/mvp/ui/activity/QiMiaoComicReadActivity.kt | Rabtman | 129,618,096 | false | null | package com.rabtman.acgcomic.mvp.ui.activity
import android.view.View
import android.view.animation.Animation
import android.view.animation.TranslateAnimation
import android.widget.ImageView
import android.widget.RelativeLayout
import android.widget.SeekBar
import android.widget.TextView
import androidx.appcompat.widg... | 2 | null | 120 | 840 | 9150f3abe50e046afd83cc97cb4415a39b1f1bd1 | 10,412 | AcgClub | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/NightShelter.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/NightShelter")
package mui.icons.material
@JsName("default")
external val NightShelter: SvgIconComponent
| 12 | null | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 188 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/kasuminotes/ui/app/clanBattle/ClanBattle.kt | chilbi | 399,723,451 | false | {"Kotlin": 827770} | package com.kasuminotes.ui.app.clanBattle
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Security
import androidx.compose.material3.... | 0 | Kotlin | 0 | 0 | 7ce458181f7f8b71ce7836cbe9488c28d92e0e9e | 2,397 | KasumiNotes | Apache License 2.0 |
bot/storage-mongo/src/main/kotlin/StoryDefinitionConfigurationMongoDAO.kt | theopenconversationkit | 84,538,053 | false | null | /*
* Copyright (C) 2017/2021 e-voyageurs technologies
*
* 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... | 136 | null | 92 | 335 | abdd2a29771b374e716e9009d62486c6f1d3ba78 | 8,783 | tock | Apache License 2.0 |
app/src/main/kotlin/com/podcreep/mobile/data/local/SubscriptionsDao.kt | podcreep | 131,102,789 | false | {"Kotlin": 88876} | package com.podcreep.mobile.data.local
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import kotlinx.coroutines.flow.Flow
@Dao
interface SubscriptionsDao {
@Query("SELECT * FROM sub_podcasts")
fun get(): Flow<Lis... | 0 | Kotlin | 0 | 0 | 512f7fa6e4369eb5d85fd281036dfcb3daea5da5 | 893 | android | Apache License 2.0 |
app-sample/src/main/kotlin/com/github/omarmiatello/sourceoftruth/appsample/Models.kt | omarmiatello | 364,404,854 | false | null | package com.github.omarmiatello.sourceoftruth.appsample
data class ExtV(val id: String, val name: String)
data class IntV(val qr: String?, val name: String, val id: String)
| 1 | Kotlin | 0 | 0 | 2cd1ceab0542110a750bc05184d73c0af3d8b93e | 174 | source-of-truth | MIT License |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/domain/model/Lesson.kt | denchic45 | 435,895,363 | false | null | package com.denchic45.studiversity.domain.model
import com.denchic45.studiversity.data.domain.model.EventType
import com.denchic45.stuiversity.api.course.subject.model.SubjectResponse
import com.denchic45.stuiversity.api.user.model.UserResponse
//data class Lesson(
// val subject: SubjectResponse,
// val teache... | 0 | Kotlin | 0 | 5 | 02d19321d16604a052f6dd29aa54be29343991e6 | 848 | Studiversity | Apache License 2.0 |
app/src/main/java/com/example/android/databinding/basicsample/ui/PlainOldActivity.kt | sulavtimsina | 431,893,187 | false | null | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | fb769fc773f95e7223be1a195147d2b0d21509a5 | 2,314 | DatabindingDemo | Apache License 2.0 |
app/src/main/java/es/upm/bienestaremocional/domain/repository/questionnaire/OneOffLonelinessRepository.kt | Emotional-Wellbeing | 531,973,820 | false | {"Kotlin": 848751} | package es.upm.bienestaremocional.domain.repository.questionnaire
import android.util.Range
import es.upm.bienestaremocional.data.database.entity.oneoff.OneOffLoneliness
import java.time.ZonedDateTime
interface OneOffLonelinessRepository : QuestionnaireRepository<OneOffLoneliness> {
override suspend fun insert(el... | 0 | Kotlin | 0 | 2 | 5e62029c06dbd6f460de6d381c8dbd512b4eee91 | 948 | App | Apache License 2.0 |
src/main/kotlin/com/valaphee/tesseract/entity/player/InputCorrectPacket.kt | valaphee | 400,115,259 | false | null | /*
* MIT License
*
* Copyright (c) 2021, Valaphee.
*
* 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, modif... | 0 | Kotlin | 2 | 19 | 184ad06676128f05d4a81534e183192af60eed00 | 2,285 | tesseract | MIT License |
src/main/kotlin/br/ufpe/liber/controllers/BooksController.kt | Liber-UFPE | 749,911,767 | false | {"Kotlin": 131497, "JavaScript": 4978, "Dockerfile": 2242, "Shell": 2142, "SCSS": 1154} | package br.ufpe.liber.controllers
import br.ufpe.liber.Templates
import br.ufpe.liber.services.BooksRepository
import io.micronaut.http.HttpResponse
import io.micronaut.http.MediaType
import io.micronaut.http.annotation.Controller
import io.micronaut.http.annotation.Get
import io.micronaut.http.annotation.Produces
imp... | 1 | Kotlin | 0 | 0 | 669578d398c5bc6f257040d6889ec2021198fcde | 1,184 | pereira-da-costa | Apache License 2.0 |
client/src/main/kotlin/phraseapp/repositories/operations/Downloader.kt | Decathlon | 360,882,777 | false | {"Kotlin": 134130} | package phraseapp.repositories.operations
import kotlinx.coroutines.coroutineScope
import phraseapp.internal.platforms.Platform
import phraseapp.internal.printers.FileOperation
import phraseapp.internal.xml.Resource
import phraseapp.network.DEFAULT_ALLOWED_LOCALE_CODES
import phraseapp.network.DEFAULT_EXCEPTIONS
impor... | 4 | Kotlin | 7 | 11 | 3b71c3dcbe7570191249730c61b1ca5069a61c7a | 2,793 | gradle-plugin-phraseapp | Apache License 2.0 |
client/src/main/kotlin/phraseapp/repositories/operations/Downloader.kt | Decathlon | 360,882,777 | false | {"Kotlin": 134130} | package phraseapp.repositories.operations
import kotlinx.coroutines.coroutineScope
import phraseapp.internal.platforms.Platform
import phraseapp.internal.printers.FileOperation
import phraseapp.internal.xml.Resource
import phraseapp.network.DEFAULT_ALLOWED_LOCALE_CODES
import phraseapp.network.DEFAULT_EXCEPTIONS
impor... | 4 | Kotlin | 7 | 11 | 3b71c3dcbe7570191249730c61b1ca5069a61c7a | 2,793 | gradle-plugin-phraseapp | Apache License 2.0 |
corekit/src/main/java/com/laohu/kit/util/crash/CrashSaver.kt | huyongli | 386,322,592 | false | null | package com.laohu.kit.util.crash
import android.content.Context
import android.text.TextUtils
import com.laohu.kit.extensions.orFalse
import com.laohu.kit.util.MD5
import java.io.BufferedWriter
import java.io.File
import java.io.FileReader
import java.io.FileWriter
import java.io.IOException
import java.io.LineNumberR... | 0 | Kotlin | 0 | 0 | 36990176c66902a30606636f469743f3ac94a480 | 4,650 | AndroidKit | Apache License 2.0 |
app/src/main/java/com/domain/cats/app/presentation/FactsViewModel.kt | izabelacdsa-zz | 278,426,456 | false | null | package com.domain.cats.app.presentation
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.domain.cats.app.data.FactsRepository
import com.domain.cats.app.domain.models.Cat
import io.reactivex.Scheduler
import io.reactivex.disposables.CompositeDisposable
// TODO: Faça o disposab... | 0 | Kotlin | 0 | 0 | 42af0cb725ce6f6f2c85f16d244131cb9811b2ac | 1,923 | cats-project-rxjava | The Unlicense |
repl/src/commonMain/kotlin/it/unibo/tuprolog/ui/repl/TuPrologUtils.kt | tuProlog | 230,784,338 | false | null | package it.unibo.tuprolog.ui.repl
import com.github.ajalt.clikt.core.ProgramResult
import com.github.ajalt.clikt.output.TermUi
import com.github.ajalt.clikt.output.defaultCliktConsole
import it.unibo.tuprolog.core.format
import it.unibo.tuprolog.core.operators.OperatorSet
import it.unibo.tuprolog.core.parsing.ParseExc... | 68 | null | 10 | 61 | 7af42835335575b2297d411798017f9ec62e032a | 3,444 | 2p-kt | Apache License 2.0 |
app/src/main/java/com/example/ecd_app/ContactActivity.kt | MukundiCode | 515,576,284 | false | {"Kotlin": 178003, "PHP": 32471, "CSS": 7410} | package com.example.ecd_app
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import android.widget.ImageView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.synnapps.carouselview.CarouselView
import com.synnapp... | 0 | Kotlin | 2 | 0 | 36f04f3d373fc5536863a0901e508056c55e364a | 3,964 | ECD-App | MIT License |
app/src/main/java/com/frogchair/android/feature/fight/FightActivity.kt | klapocius | 588,174,308 | false | null | package com.frogchair.android.feature.fight
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import android.view.animation.TranslateAnimation
import android.widget.TextView... | 0 | Kotlin | 0 | 0 | 67bda4289092126f5939637f9ebfa28ea04a97dc | 4,381 | frogchair-android | FSF All Permissive License |
compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.11.kt | JetBrains | 3,432,266 | false | null | // HELPERS: REFLECT
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 11
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,303 | kotlin | Apache License 2.0 |
port_http_client/src/test/kotlin/com/hexagonkt/http/client/ClientTest.kt | aljacinto | 212,715,947 | true | {"Kotlin": 321767, "HTML": 22455, "Scala": 3558, "JavaScript": 2701, "Groovy": 1844, "Dockerfile": 1694, "CSS": 704} | package com.hexagonkt.http.client
import com.hexagonkt.helpers.require
import com.hexagonkt.http.server.Call
import com.hexagonkt.http.server.Server
import com.hexagonkt.http.server.jetty.JettyServletAdapter
import com.hexagonkt.serialization.Json
import com.hexagonkt.serialization.serialize
import org.asynchttpclien... | 0 | Kotlin | 0 | 0 | b5e84048cb9719a744094eb672e4927c6255c16a | 4,959 | hexagon | MIT License |
Kotlin/Code/Kotlin-Coroutines/src/main/kotlin/core/functions/04_AsyncStyle.kt | hiloWang | 203,300,702 | false | null | package core.functions
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
import kotlin.system.measureTimeMillis
//sampleStart
// note, that we don't have `runBlocking` to the right of `main` in this example
fun main() {
val ... | 0 | null | 15 | 4 | 64a637a86f734e4e80975f4aa93ab47e8d7e8b64 | 1,404 | notes | Apache License 2.0 |
definitions/src/main/kotlin-gen/xyz/urbanmatrix/mavlink/definitions/common/CellularConfigResponse.kt | urbanmatrix | 484,943,163 | false | null | package xyz.urbanmatrix.mavlink.definitions.common
import kotlin.Long
import xyz.urbanmatrix.mavlink.api.GeneratedMavEnum
import xyz.urbanmatrix.mavlink.api.GeneratedMavEnumEntry
import xyz.urbanmatrix.mavlink.api.MavEnum
/**
* Possible responses from a CELLULAR_CONFIG message.
*/
@GeneratedMavEnum
public enum clas... | 1 | Kotlin | 4 | 9 | 8f480256eeaac5755a2ce5582c338a4b30c7e178 | 1,101 | mavlink-kotlin | Apache License 2.0 |
app/src/main/java/org/kaqui/data/Kanas.kt | btp | 180,280,286 | false | null | package org.kaqui.data
data class RawKana(val kana: String, val romaji: String)
data class SimilarKana(val kana: String, val similar: String)
fun getHiraganas() = arrayOf(
RawKana("あ", "a"),
RawKana("い", "i"),
RawKana("う", "u"),
RawKana("え", "e"),
RawKana("お", "o"),
Raw... | 0 | Kotlin | 0 | 0 | 9d828245c1726a9cca8a085d8b736862a1b75457 | 6,342 | kakngo | MIT License |
src/main/kotlin/com/cuupa/opengarden/displayobjects/PlantDO.kt | Cuupa | 478,063,266 | false | null | package com.cuupa.opengarden.displayobjects
data class PlantDO(
var name: String = "",
var bionomalName: String = "",
var order: String = "",
var family: String = "",
var genus: String = "",
var species: String = "",
var light: String = "",
var light_ordinal: Int = -1,
var spread: S... | 14 | Kotlin | 0 | 0 | c71b87dbdb4e97afb42a3dc7546a17cd8e8c8b5e | 1,270 | open-garden | MIT License |
src/main/kotlin/network/commercio/sdk/entities/mint/ExchangeTradePosition.kt | commercionetwork | 216,051,921 | false | null | package network.commercio.sdk.entities.mint
import com.fasterxml.jackson.annotation.JsonProperty
import network.commercio.sacco.models.types.StdCoin
import java.util.*
data class ExchangeTradePosition(
@JsonProperty("created_at") val createdAt: Date,
val id: String,
val owner: String,
@JsonProperty("e... | 17 | Kotlin | 1 | 2 | 0d40b844872d7159bce0b817fd1a1518b5943494 | 415 | commercio-sdk.kt | MIT License |
app/src/main/java/com/coolweather/coolweatherjetpack/ui/fragment/TestFragment1.kt | wangcheng319 | 221,865,680 | false | {"Java": 255741, "Kotlin": 78154} | package com.coolweather.coolweatherjetpack.ui.fragment
import android.Manifest
import android.app.ProgressDialog
import android.content.Context.TELEPHONY_SERVICE
import android.content.pm.PackageManager
import android.os.Bundle
import android.os.CountDownTimer
import android.telephony.TelephonyManager
import android.v... | 1 | null | 1 | 1 | fca562ac5d2d4850cff538e929fd9114fbafca22 | 4,856 | mvvmdemo | Apache License 2.0 |
content/crash/src/main/kotlin/br/com/mrocigno/bigbrother/crash/CrashTask.kt | mrocigno | 574,215,368 | false | {"Kotlin": 343969, "HTML": 7133} | package br.com.mrocigno.bigbrother.crash
import android.app.Activity
import br.com.mrocigno.bigbrother.core.BigBrotherTask
import java.lang.ref.WeakReference
class CrashTask : BigBrotherTask() {
override fun onActivityResume(activity: Activity) {
val currentObserver = Thread.getDefaultUncaughtExceptionHa... | 0 | Kotlin | 0 | 4 | 8deac7d4cf1b1395e5c23dc3b788266beb1fa19b | 701 | big-brother | Apache License 2.0 |
app/src/main/java/com/rakibstudio/newsappmvvm/db/ArticleDatabase.kt | rakibcse99 | 463,874,208 | false | {"Kotlin": 37299} | package com.rakibstudio.newsappmvvm.db
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.rakibstudio.newsappmvvm.model.Article
@Database(
entities = [Article::class],
version = 1
)
@TypeConverters(Converters::class)
abstract class ArticleDatabase :... | 0 | Kotlin | 0 | 2 | 4f6e65010964946d316b44dd3a8fc49f059b2af6 | 385 | SimpleMVVM_News_APIs | Apache License 2.0 |
app/src/main/kotlin/day04/Day04.kt | KingOfDog | 433,706,881 | false | null | package day04
import common.InputRepo
import common.readSessionCookie
import common.solve
fun main(args: Array<String>) {
val day = 4
val input = InputRepo(args.readSessionCookie()).get(day = day)
solve(day, input, ::solveDay04Part1, ::solveDay04Part2)
}
fun solveDay04Part1(input: List<String>): Int {
... | 0 | Kotlin | 0 | 0 | 576e5599ada224e5cf21ccf20757673ca6f8310a | 3,277 | advent-of-code-kt | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/logging/gradleLoggingUtils.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 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.gradle.logging
import org.gradle.api.logging.Logger
import org.jetbrains.kotlin.... | 181 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,542 | kotlin | Apache License 2.0 |
app/src/androidTest/java/com/github/leonardoz/kanbapp/BoardColumnsInstrumentedTestSuite.kt | LeonardoZ | 161,324,422 | false | null | package com.github.leonardoz.kanbapp
import com.github.leonardoz.kanbapp.view.dialog.ChangeColumnDialogTest
import com.github.leonardoz.kanbapp.view.dialog.ChangeNameDialogTest
import com.github.leonardoz.kanbapp.view.dialog.CreateColumnDialogTest
import com.github.leonardoz.kanbapp.view.fragment.BoardFragmentTest
imp... | 0 | Kotlin | 0 | 0 | 55715f293518fc6b4a0bf839238629cbca134807 | 814 | kanbapp | MIT License |
jenjin-core/src/main/kotlin/com/binarymonks/jj/core/api/ClockAPI.kt | lgwillmore | 79,716,845 | false | {"Kotlin": 419262, "Java": 381851, "OpenEdge ABL": 8978, "GLSL": 3774} | package com.binarymonks.jj.core.api
interface ClockAPI {
/**
* The current loop delta as a Double.
*/
val delta: Double
/**
* The current loop delta as a Float.
*/
val deltaFloat: Float
/**
* The total elapsed time as a Double
*/
val time: Double
/**
*... | 4 | Kotlin | 1 | 7 | 5b958f6b9a10eb342fb3fa190154029723d3593d | 2,026 | jenjin | Apache License 2.0 |
android-animated-stick-view/src/main/java/at/steinbacher/android_animated_stick_view/Rectangle.kt | geckogecko | 254,393,896 | false | null | package at.steinbacher.android_animated_stick_view
import android.content.Context
import android.graphics.Paint
import android.graphics.PointF
import android.graphics.drawable.Drawable
import android.graphics.drawable.VectorDrawable
import androidx.core.graphics.drawable.DrawableCompat
import org.json.JSONObject
clas... | 0 | Kotlin | 0 | 1 | 9e5932bdc912cd1a6a816c36bd90fed390d8fe4e | 1,987 | android-animated-stick-view | Apache License 2.0 |
ktor-server/ktor-server-host-common/jvm/src/io/ktor/server/engine/ClassLoaders.kt | ktorio | 40,136,600 | false | null | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.server.engine
import java.lang.reflect.*
import java.net.*
internal fun ClassLoader.allURLs(): Set<URL> {
val parentUrls = parent?.allURLs() ?: emptySet()
if (this is... | 269 | null | 806 | 9,709 | 9e0eb99aa2a0a6bc095f162328525be1a76edb21 | 2,864 | ktor | Apache License 2.0 |
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/editor/typepicker/TypePickerScreen.kt | Waboodoo | 34,525,124 | false | {"Kotlin": 1970466, "HTML": 200869, "CSS": 2316, "Python": 1548} | package ch.rmy.android.http_shortcuts.activities.editor.typepicker
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.HelpOutline
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
import ch.rmy.android.http_shortcuts.R
import c... | 26 | Kotlin | 105 | 999 | 34ec1652d431d581c3c275335eb4dbcf24ced9f5 | 1,461 | HTTP-Shortcuts | MIT License |
src/app/src/main/java/com/huawei/cardreader/kotlin/scannedcardlist/activity/ScannedCardListActivity.kt | huaweicodelabs | 449,227,900 | false | {"Java": 206242, "Kotlin": 172491} | /*
* Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | 1 | null | 1 | 1 | 4d838e3b78fda9ae967ab03067254b998b206ee9 | 17,941 | CardReader | Apache License 2.0 |
src/main/java/org/samoxive/safetyjim/config/Config.kt | SosiskaDBMG | 195,842,972 | true | {"Kotlin": 184566, "Python": 1253} | package org.samoxive.safetyjim.config
import com.uchuhimo.konf.ConfigSpec
object JimConfig : ConfigSpec("jim") {
val version by required<String>()
val token by required<String>()
val default_prefix by required<String>()
val shard_count by required<Int>()
}
object DatabaseConfig : ConfigSpec("database... | 0 | Kotlin | 0 | 0 | c585de5f5b66f7d5275fed094076b593fddc72ed | 918 | SafetyJim | MIT License |
kachetor/src/androidMain/kotlin/com/vipulasri/kachetor/FileSystemProvider.android.kt | vipulasri | 754,452,913 | false | {"Kotlin": 27843} | /*
* Copyright 2024 Vipul Asri
*
* 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... | 0 | Kotlin | 0 | 12 | cc228665de4da48fba1ce74a38a8e6e2ba72f27e | 1,144 | kachetor | Apache License 2.0 |
app/src/main/java/com/theone/demo/ui/fragment/project/ProjectFragment.kt | Theoneee | 473,409,123 | false | {"Kotlin": 616409, "Java": 410498} | package com.theone.demo.ui.fragment.project
import android.content.Context
import androidx.lifecycle.Observer
import com.qmuiteam.qmui.arch.QMUIFragment
import com.theone.common.ext.appViewModels
import com.theone.demo.ui.fragment.gzh.WxGzhItemFragment
import com.theone.demo.viewmodel.AppViewModel
import com.theone.de... | 0 | Kotlin | 4 | 6 | 66e7dd671635352c8039bc3bf47a715620347448 | 3,321 | QMUI-MVVM | Apache License 2.0 |
educational-core/src/com/jetbrains/edu/learning/newproject/ui/coursePanel/ErrorStateHyperlinkListener.kt | renuacpro | 390,257,792 | true | {"Kotlin": 3480129, "HTML": 1875210, "Java": 531269, "CSS": 12158, "Python": 5553, "JavaScript": 315} | package com.jetbrains.edu.learning.newproject.ui.coursePanel
import com.intellij.ide.DataManager
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.actionSystem.ActionPlaces
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.application.ApplicationManager... | 0 | null | 0 | 0 | 5088a2c364cb296220bff2937e91babc40d76632 | 5,970 | educational-plugin | Apache License 2.0 |
module_bookshelf/src/main/kotlin/com/crow/module_bookshelf/ui/view/BaseErrorViewStub.kt | crowforkotlin | 610,636,509 | false | {"Kotlin": 1225238, "C++": 3504, "CMake": 2776, "Makefile": 1968} | package com.crow.module_bookshelf.ui.view
import android.view.View
import android.view.ViewStub
import androidx.lifecycle.Lifecycle
import com.crow.base.ui.view.BaseViewStub
import com.crow.base.ui.view.IBaseViewStub
import com.crow.module_bookshelf.databinding.BookshelfLottieLayoutBinding
/*************************
... | 17 | Kotlin | 30 | 467 | 14745e7c9125ddbac00b20365dba22b9231d51e1 | 1,200 | CopyMangaX | Apache License 2.0 |
app/src/main/kotlin/taiwan/no1/app/mvp/presenters/adapter/MovieCastAdapterPresenter.kt | bearfong | 88,131,690 | true | {"Kotlin": 306879, "Java": 197491} | package taiwan.no1.app.mvp.presenters.adapter
import com.hwangjr.rxbus.RxBus
import com.touchin.constant.RxbusTag
import taiwan.no1.app.api.config.TMDBConfig
import taiwan.no1.app.mvp.contracts.adapter.MovieCastAdapterContract.Presenter
import taiwan.no1.app.mvp.contracts.adapter.MovieCastAdapterContract.View
import t... | 0 | Kotlin | 0 | 0 | 95ed2604d30585a29f602d516e3889dcd7dda042 | 1,289 | mvp-magazine | Apache License 2.0 |
src/main/kotlin/icu/windea/sqlfox/handler/SqlPairHandler.kt | DragonKnightOfBreeze | 433,675,477 | false | null | package icu.windea.sqlfox.handler
import com.alibaba.druid.DbType
import icu.windea.sqlfox.defaultDbType
import icu.windea.sqlfox.getSqlHandler
class SqlPairHandler(
val sourceSql: String,
val targetSql: String,
val sourceDbType: DbType = defaultDbType,
val targetDbType: DbType = defaultDbType
){
... | 0 | Kotlin | 0 | 0 | fb6de30372f17b02fe02779ae50fd0df2597c7a6 | 467 | Sql-Fox | MIT License |
app/src/androidTest/java/io/github/omisie11/coronatracker/data/local/dao/CountriesDaoTest.kt | OMIsie11 | 248,815,717 | false | null | package com.flight.louis.flighttracker.data.local.dao
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.room.Room
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import louis.flight.status.info.data.local.AppDatabase
import... | 0 | Kotlin | 8 | 20 | d3054dfb3bce52e4a3c33667aed2e837818a283b | 3,908 | CovidNow | Apache License 2.0 |
sample/src/main/java/com/dd/SampleApplication.kt | DeloitteAU | 171,209,419 | false | {"Kotlin": 16059} | package com.dd
import android.app.Application
class SampleApplication : Application() {
override fun onCreate() {
super.onCreate()
DDMock.install(this)
}
}
| 3 | Kotlin | 7 | 2 | 914872f274ab5da6d8a9d2f812b7b64774287595 | 164 | ddmock-android | MIT License |
src/main/kotlin/messages/MessageLoggerPong.kt | FrozenTear7 | 260,285,886 | false | null | package messages
import genotypes.BestGenotype
class MessageLoggerPong(val bestGenotype: BestGenotype) : IMessage | 0 | Kotlin | 0 | 0 | 09c3ed16dad0d647991dbc3ff99af97168701f35 | 115 | cea-tk | MIT License |
src/main/kotlin/org/rust/lang/core/types/ty/Ty.kt | weiyuefei | 142,649,139 | true | {"Kotlin": 2750391, "Rust": 77473, "Lex": 18933, "HTML": 9582, "Shell": 760, "Java": 586, "RenderScript": 318} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.types.ty
import com.intellij.util.BitUtil
import org.rust.ide.presentation.tyToString
import org.rust.lang.core.psi.RsStructItem
import org.rust.lang.core.psi.ext.namedFields
import or... | 0 | Kotlin | 0 | 0 | faa0443ce511af60066b323f2da872a432c8d9b8 | 3,108 | intellij-rust | MIT License |
src/main/kotlin/com/icmpecho/linebot/event/model/Emoji.kt | icmpecho | 273,939,908 | false | null | package com.icmpecho.linebot.event.model
import kotlinx.serialization.Serializable
@Serializable
data class Emoji(
val index: Int,
val length: Int,
val productId: String,
val emojiId: String
) | 0 | Kotlin | 0 | 0 | fd6ad068d91fb2c2a73884c0cef0948d935d3cf7 | 210 | ktor-line-bot | MIT License |
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/Focusable.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... | 6 | null | 482 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 2,848 | androidx | Apache License 2.0 |
api-sqlite/src/test/kotlin/de/md5lukas/waypoints/api/sqlite/SQLiteWaypointTest.kt | Sytm | 211,378,928 | false | {"Kotlin": 445837, "Java": 10057} | package de.md5lukas.waypoints.api.sqlite
import de.md5lukas.waypoints.api.DummyDatabaseConfiguration
import de.md5lukas.waypoints.api.FolderTest
import de.md5lukas.waypoints.api.SQLiteManager
import de.md5lukas.waypoints.api.base.DatabaseManager
class SQLiteFolderTest : FolderTest() {
override fun createDatabaseMa... | 3 | Kotlin | 8 | 28 | b31e54acb0cb8e93c9713492b1c1a0759f1045ed | 426 | waypoints | MIT License |
list/src/main/java/com/vip/list/listener/OnItemTouchListener.kt | AbnerMing888 | 581,379,171 | false | null | package com.vip.list.listener
import android.content.Context
import android.graphics.Rect
import android.view.MotionEvent
import android.view.View
import android.view.ViewConfiguration
import android.view.animation.LinearInterpolator
import android.widget.LinearLayout
import android.widget.Scroller
import androidx.rec... | 2 | null | 3 | 42 | a91377c5b4ceb9cca29521ecc39413cb6324c2c5 | 5,811 | VipList | Apache License 2.0 |
src/main/kotlin/translations/reference/usages.kt | MiniDigger | 377,270,151 | false | null | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2020 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.translations.reference
import com.demonwav.mcdev.translations.TranslationConstants
import com.demonwav.mcdev.translations.TranslationFiles
import com.demonwav.mcdev.t... | 204 | null | 152 | 2 | bd863f55119e86ad0ad005ea9a35f71da0a07f17 | 2,251 | MinecraftDev | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/integration/seed/SeedTemporaryAccommodationPremisesTest.kt | ministryofjustice | 515,276,548 | false | null | package uk.gov.justice.digital.hmpps.approvedpremisesapi.integration
import io.github.bluegroundltd.kfactory.Factory
import io.github.bluegroundltd.kfactory.Yielded
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance
import uk.gov.justice.digita... | 3 | null | 2 | 5 | 5b02281acd56772dc5d587f8cd4678929a191ac0 | 10,519 | hmpps-approved-premises-api | MIT License |
android/src/main/java/com/instantpaysmsdetection/SmsHelper.kt | InstantPay | 752,256,974 | false | {"Kotlin": 24707, "JavaScript": 4236, "TypeScript": 2450, "Ruby": 2049, "Objective-C++": 328, "Swift": 327, "C": 103, "Objective-C": 67} | package com.instantpaysmsdetection
import android.app.Activity
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.Build
import com.facebook.react.bridge.Arguments
import com.facebook.react.bridge.Promise
import com... | 0 | Kotlin | 1 | 0 | b84f85f141973d2fd7121e9104708878ae95c517 | 4,616 | react-native-instantpay-sms-detection | MIT License |
src/k_02_estructuraIF/Ejemplo4.kt | liquisbert | 209,602,066 | true | {"Kotlin": 29694} | package k_02_estructuraIF
fun main() {
print("Ingrese el primer valor: ")
val valor1 = readLine()!!.toInt()
print("Ingrese el segundo valor: ")
val valor2 = readLine()!!.toInt()
if (valor1 < valor2) {
val suma = valor1.plus(valor2)
val resta = valor1.minus(valor2)
println("L... | 0 | null | 0 | 0 | 709a910ae55700935a6bd1aa7a3842ce5bfc4bf3 | 650 | KotlinStudyJam | MIT License |
src/main/java/org/bitlap/geocoding/core/impl/RegionInterpreterVisitor.kt | IceMimosa | 132,923,880 | false | null | package org.bitlap.geocoding.core.impl
import org.bitlap.geocoding.core.AddressPersister
import org.bitlap.geocoding.core.TermIndexVisitor
import org.bitlap.geocoding.index.TermIndexEntry
import org.bitlap.geocoding.index.TermIndexItem
import org.bitlap.geocoding.index.TermType
import org.bitlap.geocoding.model.Divisi... | 6 | null | 85 | 230 | 887721ce590faf6d80a148f704dc8ff7e7fd80d8 | 20,169 | geocoding | MIT License |
app/src/main/java/br/com/sommelier/presentation/login/res/LoginStringResource.kt | ronaldocoding | 665,333,427 | false | {"Kotlin": 508863} | package br.com.sommelier.presentation.login.res
sealed class LoginStringResource {
object Empty : LoginStringResource()
object BlankEmail : LoginStringResource()
object InvalidEmail : LoginStringResource()
object BlankPassword : LoginStringResource()
}
| 0 | Kotlin | 0 | 1 | 9aa7b8add777d3d8b7051710dd2c528167720294 | 270 | sommelier | MIT License |
src/main/kotlin/com/amulet/cavinist/persistence/repository/CrudRepository.kt | antoine-mulet | 254,576,347 | false | null | package com.amulet.cavinist.persistence.repository
import com.amulet.cavinist.persistence.data.Entity
import org.springframework.dao.*
import org.springframework.data.repository.reactive.ReactiveCrudRepository
import reactor.core.publisher.Mono
import java.util.UUID
abstract class CrudRepository<T : Entity> {
ab... | 0 | Kotlin | 0 | 0 | 8696e46534547287c8f18c99753d878e8654f4cf | 1,025 | cavinist | Apache License 2.0 |
app/src/main/java/com/ms/catlife/theme/Color.kt | morganesoula | 446,932,843 | false | null | package com.ms.catlife.theme
import androidx.compose.ui.graphics.Color
val md_theme_light_primary = Color(0xFF7E5700)
val md_theme_light_onPrimary = Color(0xFFFFFFFF)
val md_theme_light_secondary = Color(0xFF2D6B27)
val md_theme_light_onSecondary = Color(0xFFFFFFFF)
val md_theme_light_error = Color(0xFFBA1A1A)
val md_... | 0 | Kotlin | 0 | 2 | 80eb98072fd3326ae13503b2dc150a20f6574742 | 1,145 | catlife | Apache License 2.0 |
src/main/kotlin/ac/github/oa/internal/core/condition/OccupationCondition.kt | ShirosakiMio | 707,539,187 | false | {"Kotlin": 284577, "Java": 6919, "JavaScript": 1159} | package ac.github.oa.internal.core.condition
import ac.github.oa.internal.core.attribute.equip.AdaptItem
import ac.github.oa.util.Strings.hasString
import org.bukkit.entity.LivingEntity
import org.bukkit.entity.Player
import taboolib.platform.util.sendLang
object OccupationCondition : ICondition {
val CHECK: (Pl... | 0 | Kotlin | 0 | 0 | 2ed0dddc083b4a844efcff4fb1cd236a06c0482d | 1,304 | OriginAttribute | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/delta/GameState.kt | delta-summer-camp-team | 668,869,095 | false | null | package com.delta
data class GameState(
var playerID: PlayerID? = null,
var game: Tilous? = null,
var phase: GamePhase = GamePhase.NOT_STARTED
) {
// Может быть вам захочется написать здесь несколько методов,
// которые сделают вашу жизнь удобнее.
// fun gameStarted() = ...
// fun isMyTurn()... | 0 | Kotlin | 0 | 0 | 305f16d80f0aacd1b15337addb1b9e1764eab892 | 389 | TilousClient | MIT License |
macaron-statemachine/src/commonMain/kotlin/tech/fika/macaron/statemachine/nodes/LifecycleNode.kt | fika-tech | 521,779,126 | false | {"Kotlin": 65936} | package tech.fika.macaron.statemachine.nodes
import tech.fika.macaron.core.contract.Action
import tech.fika.macaron.core.contract.State
data class LifecycleNode<A : Action, S : State>(
val onCreate: (ListenerNode<A, S>) -> Unit = {},
val onStart: (ListenerNode<A, S>) -> Unit = {},
val onResume: (ListenerN... | 1 | Kotlin | 3 | 18 | f24c990e75925729809df9108c7bca72c55c7334 | 485 | Macaron | MIT License |
geo/src/commonMain/kotlin/io/data2viz/geo/projection/Gnomonic.kt | data2viz | 89,368,762 | false | {"Kotlin": 2202712, "HTML": 32617, "JavaScript": 12122} | /*
* Copyright (c) 2018-2019. data2viz sàrl.
*
* 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... | 80 | Kotlin | 29 | 400 | bc4ed872c526264727f868f5127e48462301dbf8 | 1,413 | data2viz | Apache License 2.0 |
app/src/main/java/co/hellocode/micro/tablayout/TabAdapter.kt | bellebethcooper | 145,940,807 | false | null | package co.hellocode.micro.tablayout
import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentPagerAdapter
import co.hellocode.micro.tablayout.fragments.DiscoverFragment
import co.hellocode.micro.tablayout.fragments.MediaFragment
import co.hellocode.mic... | 24 | null | 3 | 12 | d360b703e7663dfcf3133b78210b7e77b25456b8 | 1,001 | pico | MIT License |
app/src/main/java/fi/tanskudaa/whatdoin/data/ActivityDatabase.kt | tanskudaa | 780,935,974 | false | {"Kotlin": 35841} | package fi.tanskudaa.whatdoin.data
import android.content.Context
import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
const val DATABASE_VERSION = 2
@Database(
version = DATABASE_VERSION,
entities = [Activity::class],
autoMigrations... | 0 | Kotlin | 0 | 0 | 3b800b96480c6347afe71ea9ff1684e9681a836a | 900 | whatdoin | MIT License |
src/test/kotlin/sample/model/asset/CashInOutTest.kt | jkazama | 145,971,105 | false | null | package sample.model.asset
import org.hamcrest.Matchers.*
import org.junit.Assert.assertThat
import org.junit.Assert.fail
import org.junit.Test
import sample.ActionStatusType
import sample.EntityTestSupport
import sample.ErrorKeys
import sample.ValidationException
import sample.model.DomainErrorKeys
import sample.mode... | 1 | null | 1 | 7 | 8d03ce29d4988325c0e369c54b9b784071c3da29 | 7,399 | sample-boot-kotlin | MIT License |
platform/external-system-impl/src/com/intellij/openapi/externalSystem/statistics/ExternalSystemActionsCollector.kt | boreas320 | 50,176,794 | false | null | // Copyright 2000-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 file.
package com.intellij.openapi.externalSystem.statistics
import com.intellij.internal.statistic.collectors.fus.actions.persistence.ActionsCollectorImpl
import com.intellij.internal... | 1 | null | 1 | 1 | f00ecbdee0408928d3b6581c817fbf3760f7e913 | 2,395 | intellij-community | Apache License 2.0 |
src/commonMain/kotlin/com/adyen/model/transferwebhooks/CALocalAccountIdentification.kt | tjerkw | 733,432,442 | false | {"Kotlin": 5043126, "Makefile": 6356} | /**
* Transfer webhooks
*
* Adyen sends webhooks to inform your system about incoming and outgoing transfers in your platform. You can use these webhooks to build your implementation. For example, you can use this information to update balances in your own dashboards or to keep track of incoming funds.
*
* The ve... | 0 | Kotlin | 0 | 0 | 2da5aea5519b2dfa84454fe1665e9699edc87507 | 2,688 | adyen-kotlin-multiplatform-api-library | MIT License |
tegral-di/tegral-di-core/src/main/kotlin/guru/zoroark/tegral/di/extensions/ExtensibleEnvironmentContext.kt | utybo | 491,247,680 | false | {"Kotlin": 1066259, "Nix": 2449, "Shell": 8} | /*
* 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, software
* distribut... | 26 | Kotlin | 4 | 37 | fa4284047f2ce7ba9ee78e92d8c67954716e9dcc | 1,189 | Tegral | Apache License 2.0 |
app/src/main/java/com/pandacorp/noteui/domain/usecase/note/RemoveNoteUseCase.kt | MrRuslanYT | 547,794,682 | false | null | package com.pandacorp.noteui.domain.usecase.note
import com.pandacorp.noteui.domain.model.NoteItem
import com.pandacorp.noteui.domain.repository.NoteRepository
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
class RemoveNoteUseCase(private val repository: NoteRepository) {
suspend oper... | 0 | Kotlin | 0 | 0 | 2baec55561a22a0b9191a9169c0be58a767bf92f | 431 | NoteUI | Apache License 2.0 |
sam-java-core/src/main/kotlin/software/elborai/api/services/blocking/TransactionServiceImpl.kt | DefinitelyATestOrg | 787,029,081 | false | {"Kotlin": 13368521, "Shell": 3638, "Dockerfile": 366} | // File generated from our OpenAPI spec by Stainless.
package software.elborai.api.services.blocking
import software.elborai.api.core.ClientOptions
import software.elborai.api.core.RequestOptions
import software.elborai.api.core.http.HttpMethod
import software.elborai.api.core.http.HttpRequest
import software.elborai... | 1 | Kotlin | 0 | 0 | 896c77d132ececb8926a3b29f08ea09c98355ecd | 3,287 | sam-java | Apache License 2.0 |
core/presentation/src/main/java/com/pilinhas/android/core/presentation/constants/AlphaConstants.kt | pilinhasapp | 587,541,347 | false | null | package com.pilinhas.android.core.presentation.constants
object AlphaConstants {
const val Disabled = 0.38f
const val Background = 0.5f
} | 0 | Kotlin | 0 | 0 | 075edd796b36203b4950567aecd303e22a330b43 | 146 | Android | MIT License |
src/main/kotlin/trik/testsys/webclient/controller/StudentController.kt | Pupsen-Vupsen | 627,349,038 | false | {"Kotlin": 108374, "HTML": 80239, "CSS": 2402, "Dockerfile": 861} | package trik.testsys.webclient.controller
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.beans.factory.annotation.Value
import org.springframework.http.*
import org.springframework.ui.Model
import org.springframework.util... | 10 | Kotlin | 1 | 0 | 823301cb669a92bbe265c46d9a1094069ed90d67 | 9,831 | trik-testsys-web-client | Apache License 2.0 |
Olebo/src/jvmMain/kotlin/model/dao/DAO.kt | TristanBoulesteix | 158,809,102 | false | null | package jdr.exia.model.dao
import jdr.exia.OLEBO_VERSION_CODE
import jdr.exia.localization.*
import jdr.exia.model.element.Element
import jdr.exia.model.tools.DatabaseException
import jdr.exia.system.OLEBO_DIRECTORY
import jdr.exia.update.downloadAndExit
import jdr.exia.view.tools.showConfirmMessage
import jdr.exia.vi... | 0 | Kotlin | 0 | 1 | 263438ba7218f604c75369cdf29edf8232948cde | 4,530 | Olebo | Apache License 2.0 |
src/main/java/com/example/examplemod/settings/ToggleSetting.kt | kerbybit | 217,620,682 | true | {"Kotlin": 99256, "GLSL": 957} | package com.example.examplemod.settings
import club.sk1er.elementa.components.UIBlock
import club.sk1er.elementa.components.UIText
import club.sk1er.elementa.constraints.ChildBasedSizeConstraint
import club.sk1er.elementa.constraints.PixelConstraint
import club.sk1er.elementa.constraints.RelativeConstraint
import club... | 0 | null | 0 | 0 | 9b12a74b0f0e3be87ffb239a0ad9e9b731177df7 | 2,431 | Elementa | MIT License |
usvm-core/src/main/kotlin/org/usvm/ps/InterleavedPathSelector.kt | UnitTestBot | 586,907,774 | false | {"Kotlin": 2626055, "Java": 476812} | package org.usvm.ps
import org.usvm.UPathSelector
/**
* An interleaved path selector.
*
* [update], [remove] and [add] operations are executed on each path selector. A pointer to the next path selector
* advances when [add] is called.
*/
class InterleavedPathSelector<State>(
private val selectors: List<UPath... | 36 | Kotlin | 4 | 9 | 6064702156c536f95e0e213e5416714967ad9150 | 1,304 | usvm | Apache License 2.0 |
python/testSrc/com/jetbrains/env/PyEnvWrappingException.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-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 file.
package com.jetbrains.env
/**
* Runtime exception that does not require signature change but wraps real exception.
* See its usages
*/
internal class PyEnvWrappingException(va... | 0 | null | 0 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 410 | intellij-community | Apache License 2.0 |
app/src/main/java/com/github/vipulasri/timelineview/sample/model/Orientation.kt | vipulasri | 48,049,436 | false | null | package com.github.vipulasri.timelineview.sample.model
/**
* Created by <NAME> on 07-06-2016.
*/
enum class Orientation {
VERTICAL,
HORIZONTAL
}
| 7 | null | 648 | 3,734 | 963ac7a9e49aba33c06e3bf52b5a4b938fecec54 | 157 | Timeline-View | Apache License 2.0 |
app/src/main/java/com/atilsamancioglu/artbookhilttesting/ArtBookApplication.kt | Sakthidaran3112 | 715,269,600 | false | {"Kotlin": 25171} | package com.example.artbook
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class ArtBookApplication : Application() | 0 | Kotlin | 0 | 0 | dc65e29c0b2706a2ff39429a154335cf762c33e2 | 159 | ArtBook | Apache License 2.0 |
app/src/main/java/com/wavesplatform/wallet/v2/ui/home/wallet/assets/token_burn/TokenBurnActivity.kt | wavesplatform | 98,419,999 | false | null | /*
* Created by Eduard Zaydel on 1/4/2019
* Copyright © 2019 Waves Platform. All rights reserved.
*/
package com.wavesplatform.wallet.v2.ui.home.wallet.assets.token_burn
import android.content.Intent
import android.os.Bundle
import com.arellomobile.mvp.presenter.InjectPresenter
import com.arellomobile.mvp.presente... | 2 | null | 52 | 55 | 5f4106576dc4fe377a355d045f638e7469cd6abe | 8,309 | WavesWallet-android | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/SensorDoorSharp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/SensorDoorSharp")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val SensorDoorSharp: SvgIconComponent
| 12 | Kotlin | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 212 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/srg/codetestrickmorty/common/di/modules/RemoteModule.kt | sebrodgar | 353,656,877 | false | null | package com.srg.codetestrickmorty.common.di.modules
import android.content.Context
import com.chuckerteam.chucker.api.ChuckerCollector
import com.chuckerteam.chucker.api.ChuckerInterceptor
import com.google.gson.GsonBuilder
import com.srg.codetestrickmorty.common.adapters.LocalDateTimeAdapter
import dagger.Module
impo... | 0 | Kotlin | 0 | 0 | dfb2f16f8d12809bc97f17cbe4a267df46bf3ffa | 1,703 | code-test-rick-morty | Apache License 2.0 |
lib_base/src/main/java/com/karashok/lib_base/ui/fgt/BaseDialogFgt.kt | KaraShok | 201,876,500 | false | null | package com.karashok.lib_base.ui.fgt
import android.app.Dialog
import android.content.DialogInterface
import android.os.Bundle
import androidx.annotation.LayoutRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.DialogFragment
import androidx.fragm... | 0 | Kotlin | 0 | 1 | ac84f9c0758ab9cde999656d3d6b157bf4ac7bdd | 3,811 | MVVM-Android-For-Kotlin | Apache License 2.0 |
src/main/kotlin/com/github/michaelbull/advent2023/day20/PulseStrength.kt | michaelbull | 726,012,340 | false | {"Kotlin": 182829} | package com.github.michaelbull.advent2023.day20
sealed interface PulseStrength
data object HighPulse : PulseStrength
data object LowPulse : PulseStrength
| 0 | Kotlin | 0 | 1 | 045b8fa21e45b17de76cf021d662865b010920ef | 156 | advent-2023 | ISC License |
sample/src/main/java/com/doool/gooey/samples/CircleRotation.kt | D000L | 437,907,424 | false | null | package com.doool.gooey.samples
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.RepeatMode
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.animateOffsetAsState
import android... | 0 | null | 0 | 9 | 351dd7eddd4efba8572cfb677a43649e608b43dd | 3,859 | Gooey | Apache License 2.0 |
src/main/kotlin/org/rooftop/netx/redis/RedisStreamTransactionDispatcher.kt | rooftop-MSA | 751,298,974 | false | {"Kotlin": 53287} | package org.rooftop.netx.redis
import jakarta.annotation.PostConstruct
import org.rooftop.netx.api.TransactionCommitHandler
import org.rooftop.netx.api.TransactionJoinHandler
import org.rooftop.netx.api.TransactionRollbackHandler
import org.rooftop.netx.api.TransactionStartHandler
import org.rooftop.netx.engine.Abstra... | 3 | Kotlin | 0 | 0 | ccbccfc7e5c22aedd807071af292025685111ef6 | 4,453 | Netx | Apache License 2.0 |
annotation/src/main/kotlin/net/myna/mnbt/annotations/FieldValueProvider.kt | Cmyna | 594,304,817 | false | null | package net.myna.mnbt.annotations
import java.lang.Exception
import java.lang.RuntimeException
import java.lang.reflect.Field
/**
* an abstract class that can provide default value for a field in Tag->Object conversion.
* it is used with annotation [Ignore], when we try to convert a compound tag to an java object.
... | 0 | Kotlin | 0 | 0 | b8117d297ae41748ffc5c74f3c087784c83026cb | 1,694 | mnbt-in-development- | Apache License 2.0 |
plugin/src/main/kotlin/dev/triumphteam/triumphchat/listeners/PlayerListener.kt | TriumphTeam | 294,288,510 | false | {"Kotlin": 128629} | /*
* Copyright (c) 2020 HeartPattern and Spikot authors
*
* 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, mo... | 0 | Kotlin | 2 | 2 | fa22204ac59d5eff46f26089e4eae9e7f3593d29 | 2,298 | triumph-chat | MIT License |
app/src/main/java/org/fossasia/openevent/general/MainActivity.kt | G-LOKi | 178,464,508 | false | null | package org.fossasia.openevent.general
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.NavigationUI.setupWithNavController
import com.google.android.material.snackbar.Snac... | 0 | null | 0 | 1 | 7e6d70dbfcbeb014ac9dc02ccfd66cc575697c87 | 3,830 | open-event-android | Apache License 2.0 |
litho-widget-kotlin/src/main/kotlin/com/facebook/litho/widget/collection/CollectionGroupSectionSpec.kt | facebook | 80,179,724 | false | null | /*
* 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... | 115 | null | 743 | 7,515 | 106d1e99dc132194d6004c3b7bff70c327310526 | 2,984 | litho | Apache License 2.0 |
app/src/main/kotlin/no/nav/k9punsj/domenetjenester/SoknadService.kt | navikt | 216,808,662 | false | null | package no.nav.k9punsj.domenetjenester
import no.nav.k9.kodeverk.dokument.Brevkode
import no.nav.k9.søknad.Søknad
import no.nav.k9punsj.domenetjenester.repository.SøknadRepository
import no.nav.k9punsj.felles.dto.SøknadEntitet
import no.nav.k9punsj.hentCorrelationId
import no.nav.k9punsj.innsending.InnsendingClient
im... | 9 | Kotlin | 2 | 1 | d42013d04a36b05bce1750c912ae186626f45049 | 5,132 | k9-punsj | MIT License |
overlord-server/src/main/kotlin/tv/dotstart/overlord/server/listener/ServerInitializationListener.kt | dotStart | 260,457,926 | false | {"Kotlin": 211624} | /*
* Copyright (C) 2020 <NAME> <<EMAIL>>
* 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
*
* http://www.apache.... | 6 | Kotlin | 1 | 0 | c1050766a48c44a7464b0350eff2f70c906c1ba4 | 3,392 | overlord | Apache License 2.0 |
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/symbols/AbstractSymbolTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 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.api.impl.base.test.symbols
import org.jetbrains.kotlin.analysis.api.KtA... | 125 | null | 4813 | 39,375 | 83d2d2cfcfc3d9903c902ca348f331f89bed1076 | 3,813 | kotlin | Apache License 2.0 |
app/src/main/java/io/homeassistant/companion/android/onboarding/integration/MobileAppIntegrationFragment.kt | nesror | 328,856,313 | true | null | package io.homeassistant.companion.android.onboarding.integration
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.os.P... | 83 | Kotlin | 371 | 61 | b36bb0f67fd884b0f8c938c048b51134063784f2 | 7,288 | Home-Assistant-Companion-for-Android | Apache License 2.0 |
src/main/kotlin/tsuzuru/common/presentation/controller/impl/AbstractControllerImpl.kt | tmyksj | 325,959,108 | false | null | package tsuzuru.common.presentation.controller.impl
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.ui.Model
import org.springframework.validation.BindingResult
import org.springframework.web.servlet.ModelAndView
import org.springframework.web.servle... | 3 | Kotlin | 0 | 0 | b7f42ffe09a5e123397d30f61aeb6c1eb9eb0e17 | 4,312 | tsuzuru | Apache License 2.0 |
example/src/main/java/com/aureusapps/android/expandablelayout/CodeActivity.kt | UdaraWanasinghe | 534,710,346 | false | null | package com.aureusapps.android.expandablelayout
import android.graphics.Color
import android.graphics.Typeface
import android.os.Bundle
import android.view.Gravity
import android.view.ViewGroup
import android.view.ViewGroup.LayoutParams.MATCH_PARENT
import android.view.ViewGroup.LayoutParams.WRAP_CONTENT
import androi... | 0 | Kotlin | 0 | 0 | 170bbfb0fffab42d641641cc157133854db26d9e | 4,032 | android-expandable-layout | MIT License |
library/src/main/java/com/sa90/onepreference/adapter/HeaderDiffUtil.kt | saurabharora90 | 74,263,935 | false | null | package com.sa90.onepreference.adapter
import androidx.recyclerview.widget.DiffUtil
import com.sa90.onepreference.model.Header
class HeaderDiffUtil : DiffUtil.ItemCallback<Header>() {
override fun areItemsTheSame(oldItem: Header, newItem: Header): Boolean {
return false
}
override fun areContent... | 0 | Kotlin | 1 | 26 | 2c4c0d0c36c27dcd1030da507fe239cfbd0dbe54 | 402 | OnePreference | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/common/DidNavigateEvent.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11411371, "JavaScript": 154302} | package electron.common
typealias DidNavigateEvent = electron.core.DidNavigateEvent
| 28 | Kotlin | 173 | 1,250 | 9e9dda28cf74f68b42a712c27f2e97d63af17628 | 86 | kotlin-wrappers | Apache License 2.0 |
confluence-plugin/src/main/java/com/networkedassets/git4c/interfaces/rest/MacroRest.kt | rpaasche | 321,741,515 | true | {"Kotlin": 798728, "JavaScript": 351426, "Java": 109291, "Groovy": 55451, "CSS": 37375, "ANTLR": 19544, "Gherkin": 15007, "HTML": 14268, "Shell": 4490, "Ruby": 1378, "Batchfile": 1337, "PowerShell": 716} | package com.networkedassets.git4c.interfaces.rest
import com.atlassian.plugins.rest.common.security.AnonymousAllowed
import com.atlassian.sal.api.user.UserManager
import com.networkedassets.git4c.application.Plugin
import com.networkedassets.git4c.boundary.*
import com.networkedassets.git4c.boundary.inbound.*
import c... | 0 | Kotlin | 0 | 0 | e55391b33cb70d66bbf5f36ba570fb8822f10953 | 24,789 | git4c | Apache License 2.0 |
app/src/test/kotlin/in/rcard/fes/portfolio/ChangePortfolioUseCaseTest.kt | rcardin | 718,094,065 | false | {"Kotlin": 78894, "Java": 11940} | package `in`.rcard.fes.portfolio
import arrow.core.left
import arrow.core.right
import `in`.rcard.fes.env.Clock
import `in`.rcard.fes.portfolio.PortfolioCommand.BuyStocks
import `in`.rcard.fes.portfolio.PortfolioCommand.SellStocks
import `in`.rcard.fes.portfolio.PortfolioError.PriceNotAvailable
import `in`.rcard.fes.s... | 0 | Kotlin | 0 | 0 | 1134beecbcea6a3ff9407fe2bcd94324fb70b319 | 5,055 | functional-event-sourcing-in-kotlin | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.