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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/inz/z/note_book/view/adapter/ScheduleRvAdapter.kt | Memory-Z | 234,554,362 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "Java": 94, "Kotlin": 161, "XML": 301, "INI": 2} | package com.inz.z.note_book.view.adapter
import android.content.Context
import android.view.View
import android.view.ViewGroup
import android.widget.CompoundButton
import android.widget.Switch
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.inz.z.base.base.AbsBaseRvAdapter
im... | 1 | null | 1 | 1 | 387a68ede15df55eb95477515452f415fdd23e19 | 3,281 | NoteBook | Apache License 2.0 |
app/src/androidTest/java/com/gmail/uia059466/automatoruisample/viewmodeltest/ResetPasswordViewModelTest.kt | serhiq | 321,547,595 | false | null | package com.gmail.uia059466.automatoruisample.viewmodeltest
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.gmail.uia059466.automatoruisample.R
import com.gmail.uia059466.automatoruisample.data.FieldState
import com.gmail.uia059466.auto... | 0 | Kotlin | 1 | 0 | 839bcdaca2d0e66704717a7700eafc429d90b961 | 2,417 | Espresso-Login-Sample | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/auth/ui/restore_error/RestoreErrorScreenPresenter.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.wallet.auth.ui.restore_error
import org.p2p.wallet.auth.interactor.OnboardingInteractor
import org.p2p.wallet.auth.interactor.restore.RestoreWalletInteractor
import org.p2p.wallet.auth.model.RestoreError
import org.p2p.wallet.auth.model.RestoreFailureState
import org.p2p.wallet.auth.model.RestoreSucces... | 8 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 2,849 | key-app-android | MIT License |
src/main/kotlin/krafana/GridPos.kt | asubb | 562,912,474 | false | {"Kotlin": 91993} | package krafana
import kotlinx.serialization.Serializable
import java.lang.Integer.max
@Serializable
data class GridPos(
var x: Int,
var y: Int,
var w: Int,
var h: Int,
)
interface GridPosSequence {
fun next(w: Int? = null, h: Int? = null): GridPos
fun closeRow()
}
const val defaultGridHeigh... | 0 | Kotlin | 0 | 1 | 382f36b5fd11cdd888ff9d1d9d74ff17f5d38a3d | 1,881 | krafana | Apache License 2.0 |
graphql-dgs-spring-webmvc/src/main/kotlin/com/netflix/graphql/dgs/mvc/DgsRestController.kt | Netflix | 317,375,887 | false | null | /*
* Copyright 2021 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 94 | null | 289 | 3,037 | bd2d0c524e70a9d1d625d518a94926c7b53a7e7c | 10,740 | dgs-framework | Apache License 2.0 |
video_1.kt | BrunoOmoreschi | 383,563,170 | false | {"Kotlin": 22442} | //Codigo feito no VS Code
//Função principal
fun main() {
println(Int.MAX_VALUE)
println(Double.MAX_VALUE)
println(Float.MAX_VALUE)
println(Byte.MAX_VALUE)
}
//Operadores de conversão:
//toByte()
//toShort()
//toInt()
//toLong()
//toFloat()
//toDouble()
//toChar()
//toString() | 0 | Kotlin | 0 | 0 | c9706d3741cf6eeffd76f2b64e1aafbce80e4b15 | 295 | dio_inter_kotlin_intro | MIT License |
libPlayer/src/main/java/io/github/toyota32k/lib/player/model/PlaylistMediaFeed.kt | toyota-m2k | 802,415,713 | false | {"Kotlin": 163195} | package io.github.toyota32k.lib.player.model
import io.github.toyota32k.binder.list.ObservableList
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.map
import kotlin.math.max
import kotlin.math.min
@Suppress("unused")
class PlaylistMediaFeed : IMediaFeed {
override val hasNext = Muta... | 2 | Kotlin | 0 | 0 | c4da942036eb6e746718e38789ccc53e9aa03bb2 | 2,554 | android-media-player | Apache License 2.0 |
projects/custody-key-dates-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/prison/SentenceDetail.kt | ministryofjustice | 500,855,647 | false | {"Kotlin": 3846531, "HTML": 58177, "D2": 30565, "Ruby": 25392, "Shell": 12351, "SCSS": 6240, "HCL": 2712, "Dockerfile": 2414, "JavaScript": 1344, "Python": 268} | package uk.gov.justice.digital.hmpps.integrations.prison
import com.fasterxml.jackson.annotation.JsonAlias
import java.time.LocalDate
class SentenceDetail(
val sentenceExpiryDate: LocalDate? = null,
val confirmedReleaseDate: LocalDate? = null,
conditionalReleaseDate: LocalDate? = null,
conditionalRele... | 15 | Kotlin | 0 | 2 | f53146f969b1acf4dbd147a5d588c5ad23c15a78 | 714 | hmpps-probation-integration-services | MIT License |
app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/SourceHolder.kt | ExiaHan | 119,199,272 | true | {"Gradle": 3, "Markdown": 4, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "XML": 216, "Kotlin": 394, "Java": 9} | package eu.kanade.tachiyomi.ui.catalogue
import android.os.Build
import android.view.View
import android.view.ViewGroup
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.source.online.LoginSource
import eu.kanade.tachiyomi.ui.base.holder.BaseFlexibleViewHolder
import eu.kanade.tachiyomi.util.dpToPx
import eu.kan... | 0 | Kotlin | 0 | 1 | 1a811d09179ba1beefeaebc1fa2a70466e8f2c14 | 3,551 | TachiyomiEH | Apache License 2.0 |
skiko/src/nativeTest/kotlin/org/jetbrains/skiko/tests/TestUtils.native.kt | DevSrSouza | 419,413,903 | true | {"C++": 1336286, "Kotlin": 1204053, "Objective-C++": 20637, "Dockerfile": 2426, "JavaScript": 929, "C": 704, "Shell": 555} | package org.jetbrains.skiko.tests
import kotlinx.coroutines.runBlocking
import org.jetbrains.skia.impl.InteropScope
import org.jetbrains.skia.impl.NativePointer
annotation class DoNothing
actual typealias IgnoreTestOnJvm = DoNothing
actual fun runTest(block: suspend () -> Unit) {
runBlocking { block() }
}
actua... | 0 | null | 0 | 0 | ef87664647269ad7cec3cc12485f31c6bf3edd2a | 430 | skiko | Apache License 2.0 |
src/main/kotlin/link/infra/packwiz/installer/DownloadTask.kt | packwiz | 186,296,888 | false | null | package link.infra.packwiz.installer
import link.infra.packwiz.installer.metadata.IndexFile
import link.infra.packwiz.installer.metadata.ManifestFile
import link.infra.packwiz.installer.metadata.hash.Hash
import link.infra.packwiz.installer.metadata.hash.HashFormat
import link.infra.packwiz.installer.request.RequestEx... | 32 | null | 6 | 45 | 7420866dfc6ae1f68079a166e9804b7ec31a59ca | 8,904 | packwiz-installer | MIT License |
adam/src/main/kotlin/com/malinskiy/adam/request/reverse/ReversePortForwardingRule.kt | Malinskiy | 200,235,738 | false | {"Kotlin": 770806, "Shell": 1553, "Java": 1414} | /*
* Copyright (C) 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 3 | Kotlin | 31 | 441 | f206bc96e4927ce07e5421f9ac2449b34ac3027c | 892 | adam | Apache License 2.0 |
kontroller/src/test/kotlin/no/ssb/kostra/validation/rule/barnevern/individrule/Individ10Test.kt | statisticsnorway | 414,216,275 | false | {"Kotlin": 1574039, "TypeScript": 57803, "Batchfile": 6608, "HTML": 694, "SCSS": 110} | package no.ssb.kostra.validation.rule.barnevern.individrule
import io.kotest.core.spec.style.BehaviorSpec
import no.ssb.kostra.SharedConstants.OSLO_MUNICIPALITY_ID
import no.ssb.kostra.validation.report.Severity
import no.ssb.kostra.validation.rule.ForAllRowItem
import no.ssb.kostra.validation.rule.KostraTestFactory.v... | 2 | Kotlin | 0 | 1 | b198a1263ddd1889f67043a7d55c44c935ade9fc | 1,524 | kostra-kontrollprogram | MIT License |
http4k-security-oauth/src/main/kotlin/org/http4k/security/oauth/server/AccessTokens.kt | s1monw1 | 209,880,847 | false | {"Gradle": 38, "Text": 6, "Shell": 13, "JSON": 3, "Markdown": 74, "Ignore List": 3, "Batchfile": 1, "YAML": 3, "Kotlin": 655, "XML": 5, "JavaScript": 5, "Java": 6, "HTML": 20, "Java Properties": 3, "Handlebars": 10, "CSS": 1, "OASv3-json": 3, "HTTP": 1, "Gradle Kotlin DSL": 2} | package org.http4k.security.oauth.server
import com.natpryce.Result
import org.http4k.security.AccessToken
/**
* Provides a consistent way to generate access tokens.
*/
interface AccessTokens {
/**
* Creates a new access token for a valid authorization code.
*/
fun create(authorizationCode: Author... | 1 | null | 1 | 1 | ab19c6a570b2bb2121eb86e240e2f7e433cb2d45 | 530 | http4k | Apache License 2.0 |
save-frontend-common/src/main/kotlin/com/saveourtool/save/frontend/common/components/views/usersettings/right/profile/AvatarSelector.kt | saveourtool | 300,279,336 | false | {"Kotlin": 3391753, "SCSS": 86430, "JavaScript": 8966, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366} | /**
* Utilities for rendering avatars
*/
@file:Suppress("FILE_NAME_MATCH_CLASS")
package com.saveourtool.save.frontend.common.components.views.usersettings.right.profile
import com.saveourtool.save.frontend.common.components.basic.avatarForm
import com.saveourtool.save.frontend.common.components.views.usersettings... | 202 | Kotlin | 3 | 38 | e101105f8e449253d5fbe81ece2668654d08639f | 5,454 | save-cloud | MIT License |
src/main/kotlin/io/emeraldpay/dshackle/upstream/grpc/EthereumGrpcUpstream.kt | bitindi | 692,819,625 | false | {"Kotlin": 974369, "Groovy": 712181, "Java": 21948, "JavaScript": 5522, "Shell": 646} | /**
* Copyright (c) 2020 EmeraldPay, Inc
* Copyright (c) 2019 ETCDEV GmbH
*
* 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
*
* U... | 0 | Kotlin | 0 | 0 | 3dafa23728acfdfd046580dc0d1fcb9ba61718d4 | 7,826 | dshackle | Apache License 2.0 |
src/main/kotlin/flavor/pie/kludge/optionals.kt | widd | 140,985,383 | true | {"Kotlin": 87350} | package flavor.pie.kludge
import java.util.Optional
operator fun <T> Optional<T>?.not(): T? = this.unwrap()
fun <T: Any> T?.optional(): Optional<T> = Optional.ofNullable(this)
fun <T> Optional<T>?.unwrap(): T? = this?.orElse(null) | 0 | Kotlin | 0 | 0 | 86e95feb91795cc17090c8e44ff919da0a9ac100 | 234 | Kludge | MIT License |
data/RF02032/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02032"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
10 to ... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 8,088 | Rfam-for-RNArtist | MIT License |
app/src/main/java/com/hongwei/android_lab/lab/compose/demo/DemoContent.kt | hongwei-bai | 364,924,389 | false | null | package com.hongwei.android_lab.lab.compose.demo
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.Divider
import androidx.compose.material.MaterialTh... | 0 | Kotlin | 0 | 0 | c3fc0d4b4145f1ff537b7e4cbbceec8a831b3093 | 3,980 | android-lab | MIT License |
src/main/kotlin/com/timoh/aoc2018/second/part2/solution.kt | TimoHanisch | 159,952,280 | false | null | package com.timoh.aoc2018.second.part2
import java.io.File
fun main(args: Array<String>) {
val resource = ClassLoader.getSystemClassLoader().getResource("input/input2")
val ids = File(resource.toURI())
.useLines { it.toList() }
var id = ""
var intersect = ""
for (i in 0 until ids.size) {
... | 0 | Kotlin | 0 | 0 | 6487bb44daeb13763a90ac33c0a706d7641cfbb4 | 755 | aoc2018 | MIT License |
simter-auth-data/src/main/kotlin/tech/simter/auth/po/Role.kt | simter | 83,630,653 | false | null | package tech.simter.auth.po
import org.springframework.data.annotation.Id
import org.springframework.data.relational.core.mapping.Table
import tech.simter.auth.ROLE_TABLE
import tech.simter.auth.po.base.Actor
import tech.simter.auth.po.base.PersistenceStatus
import java.time.OffsetDateTime
import java.time.temporal.Ch... | 0 | Kotlin | 1 | 0 | ae55bdf48fc420dc7eeea33648106ff267c0a04d | 1,333 | simter-auth | MIT License |
opendc-simulator/opendc-simulator-core/src/main/kotlin/org/opendc/simulator/core/SimulationCoroutineDispatcher.kt | atlarge-research | 79,902,234 | false | null | /*
* Copyright (c) 2021 AtLarge Research
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | 9 | null | 14 | 41 | 578394adfb5f1f835b7d8e24f68094968706dfaa | 5,318 | opendc | MIT License |
ProvaN1/app/src/main/java/thiago/araujo/provan1/SplashScreen.kt | YasminLuzia | 311,798,611 | false | null | package yasmin.luzia.projectquiz
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.view.WindowInsets
import android.view.WindowInsetsController
import android.view.WindowManager
import android.widget.ProgressBar
class Splash... | 0 | Kotlin | 0 | 0 | ec8ca3a3422cd68ea1bf7fc90214659481690431 | 1,201 | CursoQI-MOBILE | MIT License |
shared/src/commonMain/kotlin/business/datasource/network/main/responses/BasketDeleteRequestDTO.kt | shlomyrep | 780,318,608 | false | {"Kotlin": 703708, "Swift": 23567, "Ruby": 290, "Shell": 228} | package business.datasource.network.main.responses
import business.domain.main.SalesMan
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class BasketDeleteRequestDTO(
@SerialName("product") val product: String,
@SerialName("sales_man") val salesMan: SalesMa... | 0 | Kotlin | 0 | 0 | ecdf18f4bb8d3d25c15c9a6957f38b8bd99ec7ba | 325 | retailAiClient | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/cleanrooms/CfnAnalysisTemplatePropsDsl.kt | F43nd1r | 643,016,506 | false | {"Kotlin": 5279682} | package com.faendir.awscdkkt.generated.services.cleanrooms
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.cleanrooms.CfnAnalysisTemplateProps
@Generated
public fun buildCfnAnalysisTemplateProps(initializer: @AwsCdkDsl
CfnAnalysis... | 1 | Kotlin | 0 | 4 | 32fa5734909e4f7f3bf59b80bd6d4d0bfb2d0dd8 | 453 | aws-cdk-kt | Apache License 2.0 |
FortuneCookie/app/src/main/java/com/dtice/fortunecookie/MainActivity.kt | dtice | 377,654,240 | false | null | package com.dtice.fortunecookie
import android.os.Bundle
import android.util.Log
import com.google.android.material.floatingactionbutton.FloatingActionButton
import com.google.android.material.snackbar.Snackbar
import androidx.appcompat.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import... | 0 | Kotlin | 0 | 0 | 8e30396fc56c9cb2648e01385804f8002550b0a8 | 1,708 | AndroidToys | Apache License 2.0 |
plugins/jps-cache/src/com/intellij/jps/cache/diffExperiment/JpsCacheTools.kt | hieuprogrammer | 284,920,751 | false | null | package com.intellij.jps.cache.diffExperiment
import com.google.common.collect.Maps
import com.google.common.hash.Hashing
import com.google.common.io.CountingInputStream
import com.google.common.io.Files
import com.google.gson.Gson
import com.intellij.openapi.util.io.FileUtil
import com.intellij.util.concurrency.AppE... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 6,111 | intellij-community | Apache License 2.0 |
app/src/main/java/com/yougame/takayamaaren/yougame/ui/main/hot/HotView.kt | 428talent | 167,779,777 | false | null | package com.yougame.takayamaaren.yougame.ui.main.hot
import com.yougame.takayamaaren.yougame.sdk.model.response.GameCollection
import com.yougame.takayamaaren.yougame.ui.base.View
interface HotView : View {
fun applyGameCollections(list: List<GameCollection>)
} | 0 | Kotlin | 0 | 0 | 7220b15262652bd59f8c8b035c88bdb02f78f6e6 | 267 | YouGame-Android | MIT License |
app/src/main/java/cn/mijack/imagedrive/util/Utils.kt | MiJack | 88,419,422 | false | null | package cn.mijack.imagedrive.util
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.content.pm.ResolveInfo
import android.net.Uri
import android.text.TextUtils
import java.io.*
import java.math.BigInteger
import java.nio.channels.FileChannel
import jav... | 1 | Kotlin | 0 | 0 | 837a92c983bcb3972401f8f8177df506752625f0 | 2,971 | ImageDrive | Apache License 2.0 |
src/main/kotlin/org/jdc/template/inject/AppComponent.kt | lethalskillzz | 115,807,551 | false | null | package org.jdc.template.inject
import android.app.Application
import dagger.Component
import org.jdc.template.App
import org.jdc.template.ui.activity.SettingsActivity
import org.jdc.template.ui.fragment.SettingsFragment
import org.jdc.template.ux.ViewModelModule
import org.jdc.template.ux.about.AboutActivity
import ... | 0 | null | 0 | 1 | fb19980f455eefb957ae12d40b53baadc3729f38 | 1,409 | android-template | Apache License 2.0 |
app/src/main/java/com/bonifes/viewbinding/sample/base/nonreflection/BaseBindingActivity.kt | panicDev | 368,471,018 | false | null | package com.bonifes.viewbinding.sample.base.nonreflection
import android.os.Bundle
import android.view.LayoutInflater
import androidx.appcompat.app.AppCompatActivity
import androidx.viewbinding.ViewBinding
abstract class BaseBindingActivity<VB : ViewBinding>(
private val inflate: (LayoutInflater) -> VB
) : AppCompa... | 1 | null | 1 | 1 | 226fa5c07442aa929b0b4f8bec272ff82cfe135d | 534 | bvbl | Apache License 2.0 |
src/main/kotlin/creature/Roles.kt | Seveen | 288,517,608 | false | null | package creature
import memory.pause
import memory.role
import screeps.api.*
import task.harvestSourcesInRoom
enum class Role {
UNASSIGNED,
BOOTSTRAPPER,
MINER,
BUILDER,
UPGRADER,
HAULER,
MAINTAINER,
CLEANER,
RAIDER
}
fun roleToEssence(role: Enum<Role>): Essence {
return when ... | 0 | Kotlin | 0 | 0 | ed959ae2b2e6d6d1195a338de3cbf45e700f8a6c | 866 | screeps-ai | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/jpa/repository/NonAssociationsRepositoryTest.kt | ministryofjustice | 642,329,417 | false | null | package uk.gov.justice.digital.hmpps.hmppsnonassociationsapi.jpa.repository
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.au... | 3 | Kotlin | 0 | 1 | 9c0a89ecc9193965125d5ddb0bc5686b52d60a2f | 5,801 | hmpps-non-associations-api | MIT License |
dd-sdk-android/src/main/kotlin/com/datadog/android/rum/internal/domain/event/RumEventMapper.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.rum.internal.domain.event
import com.dat... | 50 | null | 52 | 86 | bcf0d12fd978df4e28848b007d5fcce9cb97df1c | 6,385 | dd-sdk-android | Apache License 2.0 |
components-core/src/main/java/com/airwallex/android/core/http/AirwallexHttpConnection.kt | airwallex | 231,053,387 | false | null | package com.airwallex.android
import java.io.Closeable
import java.io.IOException
import java.io.InputStream
import java.nio.charset.StandardCharsets
import java.util.*
import javax.net.ssl.HttpsURLConnection
import kotlin.jvm.Throws
internal class AirwallexHttpConnection internal constructor(private val conn: HttpsU... | 2 | null | 12 | 7 | 2898fb7f3fcbe71ee9e27981618777b195eb01c5 | 1,725 | airwallex-payment-android | MIT License |
brd-android/kyc/src/main/java/com/fabriik/kyc/ui/features/accountverification/AccountVerificationViewModel.kt | fabriik | 489,117,365 | false | null | package com.rockwallet.kyc.ui.features.accountverification
import android.app.Application
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.viewModelScope
import com.breadwallet.tools.security.ProfileManager
import com.rockwallet.common.data.enums.KycStatus
import com.rockwallet.common.ui.base.RockW... | 2 | null | 1 | 1 | 8894f5c38203c64e48242dae9ae9344ed4b2a61f | 7,494 | wallet-android | MIT License |
client/android/div/src/main/java/com/yandex/div/core/view2/divs/DivImageBinder.kt | divkit | 523,491,444 | false | null | package com.yandex.div.core.view2.divs
import android.graphics.drawable.PictureDrawable
import android.widget.ImageView
import com.yandex.div.core.DivIdLoggingImageDownloadCallback
import com.yandex.div.core.dagger.DivScope
import com.yandex.div.core.images.BitmapSource
import com.yandex.div.core.images.CachedBitmap
i... | 7 | null | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 14,986 | divkit | Apache License 2.0 |
src/main/kotlin/com/msg/gcms/domain/admin/service/impl/UserDetailInfoServiceImpl.kt | GSM-MSG | 592,816,374 | false | null | package com.msg.gcms.domain.admin.service.impl
import com.msg.gcms.domain.admin.presentation.data.dto.ClubInfoDto
import com.msg.gcms.domain.admin.presentation.data.dto.UserDetailInfoDto
import com.msg.gcms.domain.admin.presentation.data.request.UserDetailInfoRequest
import com.msg.gcms.domain.admin.service.UserDetail... | 6 | Kotlin | 0 | 8 | f2b79e643bc72c41e8845e519e5939ac1a9cfe3d | 1,581 | GCMS-BackEnd | MIT License |
app/src/main/java/com/zoonn/openglnativesampleproject/MainActivity.kt | zoonn1788 | 220,175,347 | false | {"Kotlin": 8672, "C++": 2911, "CMake": 1664} | package com.zoonn.openglnativesampleproject
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.LinearLayout
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.zoonn.openglnativesam... | 0 | Kotlin | 0 | 1 | ae394e4b5d22b86e3a40ee18f66bc1a862c16749 | 2,110 | OpenGLNativeSampleProject | MIT License |
app/src/main/java/com/todo/ui/feature/launcher/LauncherPresenter.kt | waleedsarwar86 | 134,292,766 | false | {"Gradle": 7, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "INI": 1, "Markdown": 1, "Java Properties": 1, "Proguard": 3, "Kotlin": 72, "Java": 34, "XML": 40, "YAML": 1} | package com.todo.ui.feature.launcher
import com.todo.data.repository.TodoRepository
import com.todo.ui.base.BasePresenter
import io.reactivex.functions.Consumer
import javax.inject.Inject
import timber.log.Timber
/********* Constructors */
class LauncherPresenter : BasePresenter<LauncherContract.View>(), Launcher... | 0 | Kotlin | 0 | 1 | 7b7fc8579b426383e50a3254d0c748bc068d6644 | 883 | todo-mvp-kt | Apache License 2.0 |
src/template/assertk/assertions/primativeArray.kt | uzzu | 238,722,858 | true | {"Kotlin": 246663, "Java": 134} | package assertk.assertions
import assertk.Assert
import assertk.PlatformName
import assertk.all
import assertk.assertions.support.expected
import assertk.assertions.support.show
import assertk.assertions.support.fail
$T:$N:$E = ByteArray:byteArray:Byte, IntArray:intArray:Int, ShortArray:shortArray:Short, LongArray:lo... | 0 | null | 0 | 0 | fc7c4b062c157f20d9a0777be4d2cb41c7be58ec | 5,631 | assertk | MIT License |
android-adb/src/com/android/tools/idea/adb/wireless/PairingCodePairingController.kt | phpc0de | 470,555,455 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 1 | 1 | 79e20f027ca1d047b91aa7acd92fb71fa2968a09 | 2,950 | idea-android | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/FaceWorried.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,424 | icons | MIT License |
app/src/main/java/br/com/jxr/cstv/data/remote/mappers/OpponentMapper.kt | joaoreis | 516,848,448 | false | {"Kotlin": 41799} | package br.com.jxr.cstv.data.remote.mappers
import br.com.jxr.cstv.data.remote.dto.OpponentDto
import br.com.jxr.cstv.data.remote.dto.OpponentTypeDto
import br.com.jxr.cstv.domain.model.Team
internal fun OpponentDto.toTeam(): Team =
when {
opponent == null || type != OpponentTypeDto.TEAM -> placeHolderTea... | 0 | Kotlin | 0 | 0 | 79d3d78d98327a59c995c1d2b8214e7e1f066d45 | 879 | cstv | MIT License |
app/src/main/java/com/marcodallaba/pokeapp/ui/viewholders/PokemonViewHolder.kt | marcodb97 | 304,840,360 | false | null | package com.marcodallaba.pokeapp.ui.viewholders
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.marcodallaba.pokeapp.R
import com.marcodallaba.pokeapp.databinding.PokemonViewItemBinding
import com.marcodallaba.pokeapp.model.PokemonBase
import... | 0 | Kotlin | 0 | 0 | 53d874dec840980e2ba44fdccbbf31f0a85a37e9 | 1,835 | PokeApp | Apache License 2.0 |
app/src/main/kotlin/tmidev/localaccount/di/CoroutinesModule.kt | tminet | 574,995,467 | false | {"Kotlin": 142081} | package tmidev.localaccount.di
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import tmidev.localaccount.util.CoroutinesDispatchers
import tmidev.localaccount.util.CoroutinesDispatchersImpl
import javax.inject.Singleton
@Module
@InstallIn(Singlet... | 0 | Kotlin | 1 | 4 | 4e9ad6ad32d40cfa6103f833ce7fc0259b63da54 | 508 | LocalAccount | MIT License |
app/src/main/java/com/example/dropy/di/shop/ShopRepositoryModule.kt | dropyProd | 705,360,878 | false | {"Kotlin": 3916897, "Java": 20617} | package com.example.dropy.di.shop
import com.example.dropy.network.repositories.shop.back.ShopBackendRepository
import com.example.dropy.network.repositories.shop.back.ShopBackendRepositoryImpl
import com.example.dropy.network.repositories.shop.front.ShopFrontendRepository
import com.example.dropy.network.repositories... | 0 | Kotlin | 0 | 0 | 6d994c9c61207bac28c49717b6c250656fe4ae6b | 1,527 | DropyLateNights | Apache License 2.0 |
app/src/main/java/org/ballistic/dreamjournalai/feature_dream/domain/use_case/GetCurrentDreamID.kt | ErickSorto | 546,852,272 | false | {"Kotlin": 779962, "TypeScript": 15023, "JavaScript": 905} | package org.ballistic.dreamjournalai.feature_dream.domain.use_case
import org.ballistic.dreamjournalai.core.Resource
import org.ballistic.dreamjournalai.feature_dream.domain.repository.DreamRepository
class GetCurrentDreamID(
private val repository: DreamRepository
) {
suspend operator fun invoke(): Resource<... | 0 | Kotlin | 0 | 4 | 03265c5ecba06825ef5cfdd34507a30414615ef9 | 383 | Dream-Journal-AI | MIT License |
app/src/main/java/ci/projccb/mobile/repositories/databases/daos/ParcelleDao.kt | SICADEVD | 686,088,142 | false | {"Kotlin": 1532850, "Java": 20027} | package ci.projccb.mobile.repositories.databases.daos
import androidx.room.*
import ci.projccb.mobile.models.*
/**
* Created by didierboka.developer on 18/12/2021
* mail for work: (<EMAIL>)
*/
@Dao
interface ParcelleDao {
@Transaction
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insert(pa... | 0 | Kotlin | 0 | 2 | ffa50c50b45bfbb2dc4ee696ebab925a56e900ac | 1,878 | ccbm | Apache License 2.0 |
app/src/main/java/com/freshdigitable/yttt/compose/TimetableTabScreen.kt | akihito104 | 613,290,086 | false | {"Kotlin": 228337} | package com.freshdigitable.yttt.compose
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.Spacer
import androidx.compo... | 11 | Kotlin | 0 | 0 | d833208580e5856e544d85f152c6f06ab5100851 | 7,907 | yttt | Apache License 2.0 |
src/main/kotlin/net/emteeware/MainViewController.kt | eMTeeWare | 134,248,314 | false | {"Kotlin": 19914} | package net.emteeware
import javafx.beans.property.SimpleBooleanProperty
import javafx.beans.property.SimpleObjectProperty
import javafx.beans.property.SimpleStringProperty
import javafx.collections.FXCollections
import javafx.collections.ObservableList
import javafx.stage.FileChooser
import tornadofx.*
import java.io... | 1 | Kotlin | 0 | 1 | 958fd0a0896f23cdb949c6a9ff946a6049fe8eb0 | 3,859 | emtee-shovel | Apache License 2.0 |
src/main/kotlin/net/emteeware/MainViewController.kt | eMTeeWare | 134,248,314 | false | {"Kotlin": 19914} | package net.emteeware
import javafx.beans.property.SimpleBooleanProperty
import javafx.beans.property.SimpleObjectProperty
import javafx.beans.property.SimpleStringProperty
import javafx.collections.FXCollections
import javafx.collections.ObservableList
import javafx.stage.FileChooser
import tornadofx.*
import java.io... | 1 | Kotlin | 0 | 1 | 958fd0a0896f23cdb949c6a9ff946a6049fe8eb0 | 3,859 | emtee-shovel | Apache License 2.0 |
src/main/kotlin/ast/statement/ControlFlowStatement.kt | hanawatson | 454,928,396 | false | null | package wgslsmith.wgslgenerator.ast.statement
import wgslsmith.wgslgenerator.ast.WGSLType
import wgslsmith.wgslgenerator.ast.statement.ControlFlowStat.*
import wgslsmith.wgslgenerator.tables.SymbolTable
internal class ControlFlowStatement(
symbolTable: SymbolTable, override var stat: Stat, depth: Int, inLoop: Boo... | 0 | Kotlin | 0 | 1 | ffbaad4e42e78eb2eb90e752a57148e4c5f96ffb | 1,534 | wgslgenerator | MIT License |
src/main/kotlin/lmr/rcd/models/hierarchy/storage/EffectStorageInterface.kt | halgorithm | 256,116,377 | false | null | package lmr.rcd.models.hierarchy.storage
import lmr.rcd.models.decorators.EffectDecorator
import lmr.rcd.models.entity.Effect
import lmr.rcd.models.entity.EffectInterface
interface EffectStorageInterface {
fun fetchOwnEffects(): List<Effect>
fun addEffect(effect: Effect)
fun addEffect(decorator: EffectDe... | 0 | Kotlin | 0 | 0 | 195af71e8794a0867598675dbacb39eae7f20bc5 | 882 | lmr-rcd-kt | Boost Software License 1.0 |
twitlin/src/common/test/kotlin/com/sorrowblue/twitlin/core/TestConstants.kt | SorrowBlue | 278,215,181 | false | null | package com.sorrowblue.twitlin.core
internal const val CONSUMER_KEY = "xvz1evFS4wEEPTGEFPHBog"
internal const val NONCE = "kYjzVBB8Y0ZFabxSWbWovY3uYSQ2pTgmZeNu2VS4cg"
internal const val TIMESTAMP = "1318622958"
internal const val CONSUMER_SECRET = "kAcSOqF21Fu85e7zjz7ZN2U4ZRhfV3WpwPAoE3Z7kBw"
internal const val OAUTH_... | 0 | Kotlin | 0 | 1 | a6f80a270cec89c91239837d590fe92ec869c4ff | 777 | Twitlin | MIT License |
Chapter12/chapter_12_source/app/src/main/java/com/packtpub/eunice/todolist/MainActivity.kt | PacktPublishing | 137,720,264 | false | {"Text": 1, "Markdown": 2, "Gradle": 33, "Java Properties": 23, "Shell": 11, "Batchfile": 11, "Proguard": 11, "XML": 107, "Kotlin": 46, "Java": 1, "JSON": 2, "Ruby": 2} | package com.packtpub.eunice.todolist
import android.app.DialogFragment
import android.os.Bundle
import android.support.design.widget.Snackbar
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import android.widget.AdapterView
import android.widget.ArrayAdapter
import... | 0 | Kotlin | 11 | 15 | 887ac15cbaa65b95f94e43b0e374483bc3dce60b | 3,874 | Learning-Kotlin-by-building-Android-Applications | MIT License |
app/src/main/java/kr/co/jsh/base/edit/BasePresenter.kt | jsh-me | 257,524,610 | false | null | package kr.co.jsh.base.edit
import android.content.Intent
//TODO: 공통 메소드 추출
interface BasePresenter {
fun preparePath(extraIntent: Intent)
fun uploadFile(uri: String, type: String)
} | 2 | Kotlin | 20 | 97 | d6e63521991902f44f4afb05b6fd22fb68f3d4a3 | 192 | simple-android-editor | Apache License 2.0 |
app/src/main/java/com/calberto_barbosa_jr/fireconnectkotlinmvvm/activity/FirestoreSaveActivity.kt | calbertobarbosajr | 749,207,646 | false | {"Kotlin": 61653} | package com.calberto_barbosa_jr.fireconnectkotlinmvvm.activity
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Toast
import com.google.firebase.auth.FirebaseUser
import com.google.firebase.auth.ktx.auth
import com.google.firebase.firestore.Firebas... | 0 | Kotlin | 0 | 0 | 6c15e3a796948c990f9f694b9a0168fc7bcd44a9 | 2,708 | FireConnectKotlinMVVM | MIT License |
libs/docker-client/src/main/kotlin/batect/docker/DockerTLSConfig.kt | batect | 102,647,061 | false | null | /*
Copyright 2017-2020 <NAME>.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | 12 | null | 47 | 620 | 1b6cb1d79d91a70a0cb038cc29b2db1c025fea9e | 7,973 | batect | Apache License 2.0 |
input/finance/src/commonMain/kotlin/symphony/StaticSectionRowForm.kt | aSoft-Ltd | 632,021,007 | false | {"Kotlin": 293383, "HTML": 296, "JavaScript": 200} | @file:JsExport
package symphony
import cinematic.Live
import kollections.List
import kotlinx.JsExport
interface StaticSectionRowForm : SectionRow {
val total: NumberField<Double>
val children: Live<List<SectionRow>>
} | 0 | Kotlin | 0 | 0 | 352d0753bcf1a0792e64db57dc664c18c68ed3f2 | 227 | symphony | MIT License |
main/src/main/kotlin/us/wedemy/eggeum/android/main/ui/myaccount/WithdrawFragment.kt | Wedemy | 615,061,021 | false | null | /*
* Designed and developed by Wedemy 2023.
*
* Licensed under the MIT.
* Please see full license: https://github.com/Wedemy/eggeum-android/blob/main/LICENSE
*/
package us.wedemy.eggeum.android.main.ui.myaccount
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.fragmen... | 9 | null | 0 | 7 | 7f25e68a6e5ba2bdf5a2a3fbdedaa75187d89487 | 2,577 | eggeum-android | MIT License |
src/main/kotlin/me/apyr/chatemotes/commands/SearchCommand.kt | apyrr | 554,905,662 | false | {"Kotlin": 73093} | package me.apyr.chatemotes.commands
import me.apyr.chatemotes.ChatEmotes
import me.apyr.chatemotes.ChatEmotesCommand
import org.bukkit.command.CommandSender
class SearchCommand : ChatEmotesCommand {
override val name: String = "s"
override val description: String = "search for an emote"
override val usage: Stri... | 0 | Kotlin | 1 | 3 | edf04a0d89f80a7160347330c244157f1300f022 | 921 | spigot-chatemotes | MIT License |
shared/src/commonMain/kotlin/com/presta/customer/ui/components/signWitnessForm/poller/WitnessSigningStatusPoller.kt | morgan4080 | 726,765,347 | false | {"Kotlin": 2170913, "Swift": 2162, "Ruby": 382, "Shell": 228} | package com.presta.customer.ui.components.signWitnessForm.poller
import com.presta.customer.network.longTermLoans.data.LongTermLoansRepository
import com.presta.customer.network.longTermLoans.model.guarantorResponse.PrestaGuarantorResponse
import com.presta.customer.network.longTermLoans.model.witnessRequests.PrestaWi... | 0 | Kotlin | 0 | 0 | 0850928853c87390a97953cfec2d21751904d3a9 | 1,302 | kmp | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/GripDotsVertical.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,374 | icons | MIT License |
app/src/main/java/archiveasia/jp/co/hakenman/activity/SettingActivity.kt | ohjjoa | 267,284,332 | true | {"Kotlin": 62696} | package archiveasia.jp.co.hakenman.activity
import android.os.Bundle
import android.view.MenuItem
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import archiveasia.jp.co.hakenman.CustomLog
import archiveasia.jp.co.hakenman.R
import archiveasia.jp.co.hakenman.TimePickerDialog
import arch... | 0 | Kotlin | 0 | 0 | f30dce1bfebb4bc6afab487a27fc716d12b34175 | 3,290 | Hakenman_Android | MIT License |
compiler/psi/src/org/jetbrains/kotlin/psi/stubs/impl/KotlinTypeAliasStubImpl.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,508 | kotlin | Apache License 2.0 |
src/main/kotlin/org/ergoplatform/obolflip/ErgoPayController.kt | ObolFlip | 549,191,417 | false | {"Kotlin": 73439, "JavaScript": 5904, "HTML": 1328} | package org.ergoplatform.obolflip
import org.ergoplatform.appkit.Address
import org.ergoplatform.appkit.BoxOperations
import org.ergoplatform.ergopay.ErgoPayResponse
import org.ergoplatform.obolflip.handler.ObolFlipBoxOperations
import org.ergoplatform.obolflip.service.NodePeerService
import org.ergoplatform.obolflip.... | 0 | Kotlin | 0 | 0 | f1937b4a6a9b1345414aa2cd5bb55b7ca1b44f20 | 3,317 | obolflip-client | MIT License |
app/src/main/java/chat/rocket/android/helper/BindingAdapters.kt | WideChat | 121,754,060 | true | null | package chat.rocket.android.helper
import androidx.databinding.BindingAdapter
import com.facebook.drawee.generic.RoundingParams
import com.facebook.drawee.view.SimpleDraweeView
@BindingAdapter("roundedCornerRadius")
fun setRoundedCornerRadius(view: SimpleDraweeView, height: Float) {
val roundingParams = RoundingP... | 132 | Kotlin | 6 | 12 | ec3430da222d68e132ce0308197e769fff99ff5b | 404 | Rocket.Chat.Android | MIT License |
klang/libclang/src/main/kotlin/klang/jvm/binding/CXSourceRange.kt | ygdrasil-io | 634,882,904 | false | {"Kotlin": 292451, "C": 3541, "Shell": 2951, "Objective-C": 1076, "C++": 567} | package klang.jvm.binding
import com.sun.jna.Pointer
import com.sun.jna.Structure
import com.sun.jna.Structure.FieldOrder
@SuppressWarnings("unused")
@FieldOrder("ptr_data", "begin_int_data", "end_int_data")
sealed class CXSourceRange: Structure() {
var ptr_data: Pointer = Pointer.NULL
var begin_int_data: In... | 2 | Kotlin | 1 | 0 | 5889fb009a06f141d238587b7288ef727873253e | 421 | klang | MIT License |
app/src/main/java/com/qaisjp/reveddit/ShareActivity.kt | qaisjp | 412,869,333 | false | {"Kotlin": 7473} | package com.qaisjp.reveddit
import android.content.Intent
import android.graphics.Color
import android.net.Uri
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.browser.customtabs.CustomTabColorSchemeParams
import androidx.browser.customtabs.CustomTabsIntent
class Share : AppCom... | 0 | Kotlin | 0 | 0 | 909ebb3ec1a4badfaffc3810354112addb81584f | 1,920 | reveddit | MIT License |
app/src/main/kotlin/org/andstatus/app/data/checker/CheckConversations.kt | andstatus | 3,040,264 | false | {"Kotlin": 3385973, "XSLT": 14655, "HTML": 14046, "CSS": 4427, "Shell": 707} | /*
* Copyright (c) 2016 yvolk (<NAME>), http://yurivolkov.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 ... | 86 | Kotlin | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 10,612 | andstatus | Apache License 2.0 |
skiko/buildSrc/src/main/kotlin/properties.kt | JetBrains | 282,864,178 | false | null | import org.gradle.api.Project
import java.io.File
enum class OS(
val id: String,
val clangFlags: Array<String>
) {
Linux("linux", arrayOf()),
Android("android", arrayOf()),
Windows("windows", arrayOf()),
MacOS("macos", arrayOf("-mmacosx-version-min=10.13")),
Wasm("wasm", arrayOf()),
IOS... | 42 | null | 43 | 840 | cf67c819f15ffcd8b6ecee3edb29ae2cdce1f2fe | 6,344 | skiko | Apache License 2.0 |
plugins/kotlin/gradle/code-insight-groovy/src/org/jetbrains/kotlin/idea/groovy/inspections/KotlinGradleInspectionVisitor.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.inspections.gradle
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.externalSystem.mode... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 2,507 | intellij-community | Apache License 2.0 |
packages/mongodb-dialects/java-driver/src/test/kotlin/com/mongodb/jbplugin/dialects/javadriver/glossary/PsiMdbTreeUtilTest.kt | mongodb-js | 797,134,624 | false | {"Kotlin": 819787, "Java": 3534, "Shell": 1673, "HTML": 254} | package com.mongodb.jbplugin.dialects.javadriver.glossary
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.project.Project
import com.intellij.psi.JavaPsiFacade
import com.intellij.psi.PsiType
import com.intellij.psi.PsiTypes
import com.mongodb.jbplugin.dialects.javadriver.Integra... | 2 | Kotlin | 0 | 4 | 212a3007dbc6e1235aa2ef60cc053316221b447b | 3,296 | intellij | Apache License 2.0 |
app/src/main/java/com/android/support/model/ui/IAccount.kt | quangpv | 448,463,537 | false | null | package com.android.support.model.ui
import android.os.Parcelable
import com.android.support.R
import com.android.support.exception.viewError
import kotlinx.parcelize.Parcelize
interface IAccount {
val email: String get() = ""
val password: String get() = ""
val save: Boolean get() = false
}
@Parcelize
c... | 0 | Kotlin | 0 | 0 | 537c63e92640f75abbfab5dbe5159a6d67489106 | 762 | android-support | MIT License |
korte/src/commonMain/kotlin/com/soywiz/korte/internal/extraProperty.kt | korlibs | 78,780,091 | false | null | package com.soywiz.korte.internal
import kotlin.reflect.*
internal class extraProperty<R, T : Any>(val getExtraMap: R.() -> MutableMap<String, Any>, val name: String? = null, val default: () -> T) {
inline operator fun getValue(thisRef: R, property: KProperty<*>): T =
getExtraMap(thisRef)[name ?: property.name] as... | 9 | Kotlin | 7 | 69 | 205c241a1c9a9a82809dc3c8d5bfbc92e414f90b | 481 | korte | MIT License |
core/kotlinx-coroutines-core/test/guide/example-channel-01.kt | tiden0614 | 150,764,314 | true | {"Kotlin": 1730428, "CSS": 8215, "JavaScript": 2505, "Ruby": 1927, "HTML": 1675, "Shell": 1308, "Java": 356} | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
// This file was automatically generated from coroutines-guide.md by Knit tool. Do not edit.
package kotlinx.coroutines.experimental.guide.channel01
import kotlinx.coroutines.experimental.*
import kotlinx.cor... | 0 | Kotlin | 0 | 0 | cbeef1039d7402939bac8ec4674e1a7b1adf993a | 716 | kotlinx.coroutines | Apache License 2.0 |
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirSymbolProvider.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.idea.frontend.api.fir.symbols
import org.jetbrains.kotlin.fir.declarations.*
imp... | 34 | null | 4903 | 39,894 | 0ad440f112f353cd2c72aa0a0619f3db2e50a483 | 7,208 | kotlin | Apache License 2.0 |
base-android/src/main/java/com/sfaxdroid/base/SharedPrefsUtils.kt | yassinBaccour | 106,160,036 | false | {"Kotlin": 348508, "Java": 3869} | package com.sfaxdroid.base
import android.content.Context
import android.content.SharedPreferences
// TODO Inject
class SharedPrefsUtils(context: Context) {
private val sharedPreferences: SharedPreferences = context.getSharedPreferences(
Constants.PREFERENCES_NAME,
Context.MODE_PRIVATE
)
... | 0 | Kotlin | 0 | 2 | 136ac811fb1495a8ea2800480954121bf092742b | 633 | SfaxDroid_Wallpaper_App | Apache License 2.0 |
src/main/kotlin/org/crystal/intellij/lang/ast/nodes/CstCast.kt | asedunov | 353,165,557 | false | {"Kotlin": 1661507, "Java": 554445, "Crystal": 245131, "Lex": 192822, "HTML": 445} | package org.crystal.intellij.lang.ast.nodes
import org.crystal.intellij.lang.ast.location.CstLocation
import org.crystal.intellij.lang.ast.CstTransformer
import org.crystal.intellij.lang.ast.CstVisitor
class CstCast(
obj: CstNode<*>,
type: CstNode<*>,
location: CstLocation? = null
) : CstCastBase<CstCast>... | 11 | Kotlin | 4 | 33 | 2e255da6c56a33109b8c58a0aa1a692abf977da2 | 781 | intellij-crystal-lang | Apache License 2.0 |
app/src/main/kotlin/com/ohyooo/demo/ui/splash/SplashActivity.kt | ohyooo | 164,578,051 | false | null | package com.ohyooo.demo.ui.splash
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.ohyooo.demo.ui.main.MainActivity
class SplashActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
startActivity... | 0 | Kotlin | 2 | 34 | 5b0a57429fe31479df80fdb3d567ae0c4795992c | 386 | MVVMBaseProject | Do What The F*ck You Want To Public License |
src/main/kotlin/com/ltpquang/xray/models/TestRun.kt | ltpquang | 282,400,730 | false | null | package com.ltpquang.xray.models
import com.google.gson.annotations.SerializedName
/**
* Created by <NAME> (quangltp) on 7/25/20
*
*/
data class TestRun(
@SerializedName("id") val id : Int = 0,
@SerializedName("status") val status : String = "",
@SerializedName("color") val color : String = "",
@S... | 0 | Kotlin | 0 | 1 | b1c3d73be82bf1a6f5a0a096ba993ae94414516d | 1,308 | xray-status-updater | MIT License |
drivers/native-driver/src/nativeTest/kotlin/com/squareup/sqldelight/drivers/native/NativeQueryTest.kt | cashapp | 44,677,680 | false | null | package com.squareup.sqldelight.drivers.native
import co.touchlab.sqliter.DatabaseFileContext
import com.squareup.sqldelight.db.SqlDriver
import com.squareup.sqldelight.driver.test.QueryTest
class NativeQueryTest: QueryTest() {
override fun setupDatabase(schema: SqlDriver.Schema): SqlDriver {
val name = "testdb... | 184 | null | 357 | 4,281 | f73e0917be5e058d0d988769a239b6923e8f61c1 | 416 | sqldelight | Apache License 2.0 |
library/src/commonMain/kotlin/dev/bluefalcon/Log.kt | icerockdev | 218,058,284 | true | {"Kotlin": 37877, "Ruby": 1687} | package dev.bluefalcon
import kotlin.native.concurrent.ThreadLocal
@ThreadLocal
object Log {
var logger: Logger = DefaultConsoleLogger()
var level: Level = Level.NONE
private fun log(level: Level = Level.VERBOSE, message: () -> String) {
if (this.level.ordinal < level.ordinal) return
log... | 0 | Kotlin | 1 | 0 | 2c823dcf8880d98e710210ab5ebfea20706d24ac | 707 | blue-falcon | MIT License |
src/main/kotlin/ru/nsu/lupa/out/Html.kt | lilvadim | 576,661,907 | false | {"Kotlin": 22514, "Java": 836} | package ru.nsu.lupa.out
import kotlinx.html.*
import kotlinx.html.stream.createHTML
import ru.nsu.lupa.ChainNode
import ru.nsu.lupa.MatchCriteria
import ru.nsu.lupa.Profile
fun convertToHtml(chains: List<ChainNode<Set<MatchCriteria>, Profile>>): String = createHTML().html {
body {
h1 { +"Found Profiles" }... | 0 | Kotlin | 0 | 0 | 9388aa69457bc625317a3732f2afcd52e02ef1a1 | 2,295 | lupa | Apache License 2.0 |
src/main/kotlin/de/gmuth/ipp/client/IppPrinter.kt | gmuth | 247,626,449 | false | null | package de.gmuth.ipp.client
/**
* Copyright (c) 2020-2022 <NAME>
*/
import de.gmuth.http.Http
import de.gmuth.ipp.client.IppPrinterState.*
import de.gmuth.ipp.core.*
import de.gmuth.ipp.core.IppOperation.*
import de.gmuth.ipp.core.IppStatus.ClientErrorNotFound
import de.gmuth.ipp.core.IppTag.*
import de.gmuth.ipp.i... | 2 | null | 9 | 54 | 13b133f775f6784e9bb509a86a35f5ce147da86f | 23,592 | ipp-client-kotlin | MIT License |
api/src/test/kotlin/org/jetbrains/kotlinx/dl/api/core/layer/UpSampling1DTest.kt | JetBrains | 249,948,572 | false | null | /*
* Copyright 2021 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
package org.jetbrains.kotlinx.dl.api.core.layer
import org.jetbrains.kotlinx.dl.api.core.layer.resha... | 81 | null | 79 | 806 | efaa1ebdf7bf9a131826d3ded42e1eb178e4fd19 | 2,171 | KotlinDL | Apache License 2.0 |
app/src/main/java/com/example/android/lifecycles/step4/BoundLocationManager.kt | tonyo1433 | 131,302,851 | false | null | /*
* Copyright 2017, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 0 | Kotlin | 0 | 0 | b61bda118b15a5abfe5858bf5664d35c9c5da1ce | 2,660 | lifecycles | Apache License 2.0 |
ambassador-model/src/main/kotlin/com/roche/ambassador/model/score/quality/checks/ContributionGuide.kt | filipowm | 409,076,487 | false | null | package com.roche.ambassador.model.score.quality.checks
import com.roche.ambassador.model.Explanation
import com.roche.ambassador.model.feature.ContributingGuideFeature
import com.roche.ambassador.model.feature.Features
import java.util.*
internal object ContributionGuide : StringLengthCheck() {
private const va... | 22 | Kotlin | 0 | 9 | 11e72d45f1b91e724073b230577033d0115b1a24 | 895 | the-ambassador | Apache License 2.0 |
library/src/test/java/com/minibugdev/drawablebadge/DrawableBadgeBuilderTest.kt | minibugdev | 106,788,532 | false | null | package com.minibugdev.drawablebadge
import android.content.Context
import android.graphics.Bitmap
import android.view.Gravity
import androidx.core.content.ContextCompat
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.Run... | 0 | null | 31 | 134 | fc5879769ec5b2ca7a2b1820b9a903039639009c | 3,269 | DrawableBadge | MIT License |
app/src/main/kotlin/tachiload/tachiyomi/source/model/SManga.kt | drosoCode | 327,565,860 | false | null | package tachiload.tachiyomi.source.model
import tachiload.tachiyomi.source.model.MangaInfo
import java.io.Serializable
interface SManga : Serializable {
var url: String
var title: String
var artist: String?
var author: String?
var description: String?
var genre: String?
var status: ... | 92 | Kotlin | 7 | 9 | 9b60bd12f784cb1f78f2300ae36aca767c4456d8 | 1,976 | tachiyomi | MIT License |
calf-file-picker/src/androidMain/kotlin/com/mohamedrejeb/calf/picker/FilePickerLauncher.android.kt | MohamedRejeb | 674,932,206 | false | null | package com.mohamedrejeb.calf.picker
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.PickVisualMediaRequest
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import andr... | 0 | Kotlin | 5 | 122 | a4c955f60d8eae1ff103c60b60d3919d8feb1d80 | 3,233 | Calf | Apache License 2.0 |
plugins/git-features-trainer/src/git4idea/ift/GitLessonsUtil.kt | p7nov | 381,464,645 | false | null | // Copyright 2000-2021 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 git4idea.ift
import com.intellij.ide.util.PropertiesComponent
import com.intellij.notification.Notification
import com.intellij.notification.Notifications
import com.inte... | 1 | null | 1 | 1 | d14025504c582d922141343de97441b2fc226b29 | 7,734 | intellij-community | Apache License 2.0 |
src/main/java/me/shadowalzazel/mcodyssey/items/Other.kt | ShadowAlzazel | 511,383,377 | false | null | package me.shadowalzazel.mcodyssey.items
import me.shadowalzazel.mcodyssey.constants.ItemModels
import me.shadowalzazel.mcodyssey.items.base.OdysseyItem
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.TextColor
import net.kyori.adventure.text.format.TextDecoration
import org.bukkit.Mat... | 0 | Kotlin | 0 | 3 | 19f50df1a672bc1a34a16ef7e89872a5db1c8f7f | 1,614 | MinecraftOdyssey | MIT License |
Wiles Base/src/main/java/wiles/checker/data/GenericTypesMap.kt | Alex-Costea | 527,241,623 | false | {"Kotlin": 678627, "Java": 31813, "TypeScript": 3656, "CSS": 617, "JavaScript": 240, "Shell": 214} | package wiles.checker.data
class GenericTypesMap : HashMap<String, GenericTypeValue>() | 12 | Kotlin | 0 | 0 | c7c22e4e889b7c1e06f1559825199af4246ca5b3 | 86 | Wiles | MIT License |
src/main/java/com/kotlin/tutorial/controller/UserController.kt | fengzhizi715 | 158,692,744 | false | null | package com.kotlin.tutorial.controller
import com.kotlin.tutorial.service.AuditService
import com.kotlin.tutorial.service.UserReactiveService
import com.kotlin.tutorial.service.UserRxJavaService
import com.kotlin.tutorial.service.UserService
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import ... | 0 | Kotlin | 1 | 4 | 51e3726025054ee6f4b79b8412856b99a24d915d | 2,581 | kotlin-spring-reactive-coroutine-demo | Apache License 2.0 |
goldeneye/src/main/java/co/infinum/goldeneye/extensions/Context.kt | infinum | 54,713,189 | false | null | package co.infinum.goldeneye.extensions
import android.Manifest
import android.content.Context
import android.content.pm.PackageManager
import android.support.v4.app.ActivityCompat
internal fun Context.hasCameraPermission() = hasPermission(Manifest.permission.CAMERA)
internal fun Context.hasAudioPermission() = hasPer... | 15 | Kotlin | 52 | 374 | 5f9a7106043b68013aa65c65f8e552f64a46e8c5 | 512 | Android-GoldenEye | Apache License 2.0 |
longpoll/src/commonMain/kotlin/ru/krindra/vkkt/longpoll/user/UserLongPoll.kt | krindra | 780,080,411 | false | {"Kotlin": 1336107} | package ru.krindra.vkkt.longpoll.user
import ru.krindra.vkkt.longpoll.LongPollParameters
import io.ktor.client.network.sockets.*
import io.ktor.client.plugins.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import kotlinx.coroutines.flow.flow
import ru.krindra.vkkt.core.VkApi
import ru.krindra.vkkt... | 0 | Kotlin | 0 | 1 | 58407ea02fc9d971f86702f3b822b33df65dd3be | 2,142 | VKKT | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/pdf/core/TestCertificateDrawHelper.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.covidcertificate.pdf.core
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.Typeface
import de.rki.coronawarnapp.covidcertificate.test.core.TestCertificate
import de.rki.coronawarnapp.covidcertificate.pdf.core.CertificateDrawHelper.Companion.FONT_COLOR
im... | 2 | Kotlin | 516 | 2,493 | aa450b97e701f6481019681cc6f5a03b7dcc6e86 | 1,976 | cwa-app-android | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/jpa/repository/ReferralRepositoryTest.kt | ministryofjustice | 312,544,431 | false | {"Kotlin": 1706888, "Mustache": 5562, "Shell": 2684, "PLpgSQL": 2362, "Dockerfile": 1980} | package uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.repository
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.autoconfigure.orm.... | 8 | Kotlin | 1 | 2 | ba44e866429054452016b73eb71936a61e8ca645 | 1,941 | hmpps-interventions-service | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.