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/ua/glebm/smartwaste/data/datastore/SettingsDataStoreImpl.kt | glebushkaa | 718,610,042 | false | {"Kotlin": 241649} | package ua.glebm.smartwaste.data.datastore
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.core.edit
import ua.glebm.smartwaste.domain.datastore.SettingsDataStore
impor... | 0 | Kotlin | 0 | 1 | be94eb8f216d5bfae8259611145511661f78ea4e | 1,034 | smart-waste-android | MIT License |
plugin/src/main/kotlin/org/neotech/plugin/rootcoverage/RootCoverageModuleTask.kt | hansvdam | 153,097,004 | true | {"Kotlin": 14815, "Java": 3234} | package org.neotech.plugin.rootcoverage
import org.gradle.api.DefaultTask
import org.gradle.api.file.FileCollection
/**
* This Task currently does not really do anything, except for having dependencies on the submodules
* test tasks: unit and instrumented tests. It also has fields for storing the executionData,
* ... | 0 | Kotlin | 0 | 0 | b9520ab44b194043ce8a7262c2296187c7c70100 | 617 | android-root-coverage-plugin | Apache License 2.0 |
src/main/kotlin/com/exactpro/th2/lwdataprovider/http/GetMessageGroups.kt | th2-net | 433,117,188 | false | {"Kotlin": 827281, "Python": 4548, "Dockerfile": 116} | /*
* Copyright 2022-2023 Exactpro (Exactpro Systems Limited)
*
* 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... | 3 | Kotlin | 0 | 0 | 4e41664710a1a028346f11a06fca8de609d8a07e | 7,100 | th2-lw-data-provider | Apache License 2.0 |
app/src/main/java/com/shrikantb/statemachine/domain/statemachine/state/AfterApiCall.kt | Shrikant-B | 223,768,786 | false | null | package com.shrikantb.statemachine.domain.statemachine.state
import com.shrikantb.statemachine.domain.model.Movie
import com.shrikantb.statemachine.domain.statemachine.Action
class AfterApiCall(val movies: ArrayList<Movie>) : State {
override fun consumeAction(action: Action) = this
} | 0 | Kotlin | 0 | 2 | e5f96c4574ea533f241104cf6f336def7c1cbdb6 | 291 | statemachine | Apache License 2.0 |
plugin-project/plugin/src/main/kotlin/com/fernandocejas/ktor/DockerizerExtension.kt | android10 | 346,139,785 | false | null | package com.fernandocejas.ktor
import org.gradle.api.provider.Property
/**
* Extension that defines property values for configuring [DockerizerPlugin].
*
* @link: https://docs.gradle.org/current/userguide/custom_plugins.html#sec:getting_input_from_the_build
*/
@Suppress("LeakingThis", "UnnecessaryAbstractClass")
... | 0 | Kotlin | 0 | 3 | 744fa908dfd34cd4bd31193d845207a75ec5178c | 1,809 | ktor-dockerizer | Apache License 2.0 |
toasty/src/main/java/com/example/toasty/Resources.kt | KaradimoulasG | 688,548,924 | false | null | package com.example.toasty
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.dynamicDarkColorScheme
import androidx.compose.material3.dynamicLightColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.grap... | 0 | null | 0 | 6 | 95933ad37d9aba73f9b3aed42a1a4c4a5bba80d1 | 982 | Toasty | MIT License |
src/main/java/ru/hollowhorizon/hc/client/render/effekseer/render/RenderUtil.kt | HollowHorizon | 450,852,365 | false | {"Kotlin": 1120056, "Java": 247984, "GLSL": 44525} | /*
* MIT License
*
* Copyright (c) 2024 HollowHorizon
*
* 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 | 4 | 20 | 7e0c4510a0e5d2d3540aff428871b7ecc642c898 | 3,211 | HollowCore | MIT License |
src/main/kotlin/no/nav/pensjon/kalkulator/tech/security/ingress/impersonal/audit/Auditor.kt | navikt | 596,104,195 | false | {"Kotlin": 590141, "Java": 1630, "Dockerfile": 153} | package no.nav.pensjon.kalkulator.tech.security.ingress.impersonal.audit
import mu.KotlinLogging
import no.nav.pensjon.kalkulator.person.Pid
import org.slf4j.event.Level
import org.springframework.stereotype.Component
import java.time.ZonedDateTime
/**
* Sends info to the auditing system when a user (Nav employee)
... | 3 | Kotlin | 0 | 0 | fa5c16d0734defca7817fb087145cb040139b36f | 1,404 | pensjonskalkulator-backend | MIT License |
drill-gradle-plugin/src/main/kotlin/com/epam/drill/integration/gradle/GitlabTasks.kt | Drill4J | 798,257,596 | false | {"Kotlin": 38073, "Dockerfile": 227} | /**
* Copyright 2020 - 2022 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 2 | Kotlin | 0 | 0 | fcd595896416d94b245c6fdb295378287b45802d | 2,276 | drill-cicd-integration | Apache License 2.0 |
drill-gradle-plugin/src/main/kotlin/com/epam/drill/integration/gradle/GitlabTasks.kt | Drill4J | 798,257,596 | false | {"Kotlin": 38073, "Dockerfile": 227} | /**
* Copyright 2020 - 2022 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 2 | Kotlin | 0 | 0 | fcd595896416d94b245c6fdb295378287b45802d | 2,276 | drill-cicd-integration | Apache License 2.0 |
danbooru/network-check/src/test/kotlin/com/makentoshe/booruchan/danbooru/comment/DanbooruCommentsNetworkManagerTest.kt | Makentoshe | 147,361,920 | false | null | package com.makentoshe.booruchan.danbooru.comment
import DanbooruCommentsNetworkManager
import com.makentoshe.booruchan.danbooru.comment.deserialize.JsonDanbooruCommentsDeserializer
import com.makentoshe.booruchan.danbooru.comment.deserialize.XmlDanbooruCommentsDeserializer
import com.makentoshe.booruchan.danbooru.com... | 0 | Kotlin | 1 | 6 | d0f40fb8011967e212df1f21beb43e4c4ec03356 | 3,030 | Booruchan | Apache License 2.0 |
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/IgnoredFileWritingAccessExtension.kt | ingokegel | 284,920,751 | 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.vcs.changes
import com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension
import com.intellij.openapi.fileTypes.FileTypeRegistry
i... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 1,088 | intellij-community | Apache License 2.0 |
feature-governance-impl/src/main/java/io/novafoundation/nova/feature_governance_impl/presentation/delegation/delegate/detail/votedReferenda/VotedReferendaPayload.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7662708, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_governance_impl.presentation.delegation.delegate.detail.votedReferenda
import android.os.Parcelable
import jp.co.soramitsu.fearless_utils.runtime.AccountId
import kotlinx.android.parcel.Parcelize
@Parcelize
class VotedReferendaPayload(
val accountId: AccountId,
val onlyR... | 13 | Kotlin | 5 | 9 | 66a5c0949aee03a5ebe870a1b0d5fa3ae929516f | 389 | nova-wallet-android | Apache License 2.0 |
kotlin-tests/src/test/kotlin/io/github/debop/kotlin/tests/extensions/DomainObject.kt | debop | 187,949,869 | false | null | package io.github.debop.kotlin.tests.extensions
/**
* DomainObject
* @author debop (<NAME>)
*/
class DomainObject {
var id: Int = 0
var name: String? = null
var value: Long = 0L
var price: Double = 0.0
val nestedDomainObject: NestedDomainObject? = null
val wotsits: List<String>? = null
... | 1 | null | 4 | 24 | b9d1eb5309c6f9eab82dec676bfe6962428f36ce | 429 | kotlin-workshop | MIT License |
neuvi/src/test/kotlin/com/github/jnexil/neuvi/internal/Model.kt | JNexil | 76,639,857 | false | null | package com.github.jnexil.neuvi.internal
import com.github.jnexil.neuvi.api.*
import com.github.jnexil.neuvi.api.Direction.*
import com.github.jnexil.neuvi.api.layers.*
import com.github.jnexil.neuvi.api.providers.MemoryManagement.*
import com.github.jnexil.neuvi.util.*
class Model(val activation: Activation) {
v... | 0 | Kotlin | 0 | 0 | 100081be16f921e39e8bfb7b6cccae0785d51f04 | 2,019 | Neurio | Apache License 2.0 |
FFRv2/app/src/main/java/com/devingotaswitch/appsync/UserSettingsActivity.kt | jbailey2010 | 91,362,935 | false | {"Kotlin": 694986} | package com.devingotaswitch.appsync
import android.app.Activity
import android.util.Log
import com.amazonaws.mobileconnectors.appsync.fetcher.AppSyncResponseFetchers
import com.apollographql.apollo.GraphQLCall
import com.apollographql.apollo.api.Response
import com.apollographql.apollo.exception.ApolloException
import... | 10 | Kotlin | 0 | 0 | ba3fb10b541e67129c7b3ea81d90d64a7ab9694a | 4,805 | FFRv2 | Apache License 2.0 |
data/RF02396/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02396"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
1 to 7... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 1,241 | Rfam-for-RNArtist | MIT License |
app/src/main/java/com/muei/apm/runtrack/activities/TrackingActivity.kt | danibranas | 121,380,304 | false | null | package com.muei.apm.runtrack.activities
import android.Manifest
import android.animation.LayoutTransition
import android.annotation.SuppressLint
import android.arch.lifecycle.Observer
import android.content.*
import android.content.pm.PackageManager
import android.graphics.Color
import android.net.Uri
import android.... | 1 | Kotlin | 0 | 1 | 2871d769b360ead647b1f8603f7138c4b2528c98 | 18,634 | runtrack | MIT License |
microapp/gamestats/src/main/java/bruhcollective/itaysonlab/microapp/gamestats/di/GameStatsMicroappModule.kt | iTaysonLab | 525,967,051 | false | {"Kotlin": 203833} | package bruhcollective.itaysonlab.microapp.gamestats.di
import bruhcollective.itaysonlab.microapp.core.MicroappEntry
import bruhcollective.itaysonlab.microapp.core.di.MicroappEntryKey
import bruhcollective.itaysonlab.microapp.gamestats.GameStatsMicroapp
import bruhcollective.itaysonlab.microapp.gamestats.GameStatsMicr... | 0 | Kotlin | 0 | 13 | f651cfc692852c378c9cd3b4e41d8aa1b5a76eb5 | 761 | jetisoft | Apache License 2.0 |
platform/statistics/devkit/src/com/intellij/internal/statistic/StatisticsDevKitUtil.kt | JetBrains | 2,489,216 | 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 com.intellij.internal.statistic
import com.intellij.internal.statistic.eventLog.StatisticsEventLogProviderUtil
import com.intellij.internal.statistic.eventLog.StatisticsE... | 185 | null | 4309 | 13,119 | 6cc9ec2a0d40f5e32510681475c2d4282965fd8c | 1,275 | intellij-community | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsresettlementpassportapi/data/ResettlementAssessment.kt | ministryofjustice | 665,659,688 | false | {"Kotlin": 560641, "Dockerfile": 1528} | package uk.gov.justice.digital.hmpps.hmppsresettlementpassportapi.data
import uk.gov.justice.digital.hmpps.hmppsresettlementpassportapi.data.resettlementassessment.ResettlementAssessmentQuestionAndAnswer
import uk.gov.justice.digital.hmpps.hmppsresettlementpassportapi.data.resettlementassessment.ResettlementAssessment... | 0 | Kotlin | 2 | 0 | c004ac40f81402a0593a0414337efbd380e23eff | 1,112 | hmpps-resettlement-passport-api | MIT License |
src/main/kotlin/de/nycode/gameoflife/game/Game.kt | NyCodeGHG | 315,671,781 | false | null | package de.nycode.gameoflife.game
/**
* Represents any type of a game which can be rendered with any Type of [Renderer]
*/
abstract class Game {
/**
* The renderer the game uses
*/
abstract val renderer: Renderer
/**
* Game update lifecycle
*/
abstract fun update()
}
| 0 | Kotlin | 0 | 0 | 00336296e64c102f8dbaa831575a6a504555b27f | 310 | conways-game-of-life | MIT License |
agent/src/main/kotlin/org/nessus/didcomm/service/NessusSignatoryService.kt | tdiesler | 578,916,709 | false | {"Kotlin": 620123, "Python": 19397, "HTML": 13066, "Java": 3170, "Shell": 2174, "Open Policy Agent": 1617, "CSS": 458, "Dockerfile": 196} | package org.nessus.didcomm.service
import id.walt.common.prettyPrint
import id.walt.credentials.w3c.VerifiableCredential
import id.walt.credentials.w3c.templates.VcTemplate
import id.walt.services.context.ContextManager
import id.walt.services.vc.JsonLdCredentialService
import id.walt.services.vc.JwtCredentialService
... | 26 | Kotlin | 1 | 8 | c199c1289544c706797e755e18f6fba2cbf2832b | 2,041 | nessus-didcomm | Apache License 2.0 |
app/src/main/java/kz/oqu/android/http/local/room/dao/UserDao.kt | abikko | 362,209,725 | false | null | package kz.oqu.android.http.local.room.dao
import androidx.room.*
import kz.oqu.android.model.RoomUtils
import kz.oqu.android.model.pojo.User
@Dao
interface UserDao {
@Query(" SELECT * FROM ${RoomUtils.USER_TABLE_KEY}")
fun getUser(): User
@Update
fun updateUser(user: User)
@Delete
fun delet... | 0 | Kotlin | 0 | 2 | 5b9b8dd259634831a3057b50d4dc6425c421c216 | 383 | oqutushy.kz | MIT License |
app/src/main/java/kz/oqu/android/http/local/room/dao/UserDao.kt | abikko | 362,209,725 | false | null | package kz.oqu.android.http.local.room.dao
import androidx.room.*
import kz.oqu.android.model.RoomUtils
import kz.oqu.android.model.pojo.User
@Dao
interface UserDao {
@Query(" SELECT * FROM ${RoomUtils.USER_TABLE_KEY}")
fun getUser(): User
@Update
fun updateUser(user: User)
@Delete
fun delet... | 0 | Kotlin | 0 | 2 | 5b9b8dd259634831a3057b50d4dc6425c421c216 | 383 | oqutushy.kz | MIT License |
android-client-sdk/src/main/java/com/devcycle/sdk/android/api/DVCOptions.kt | DevCycleHQ | 431,944,711 | false | null | package com.devcycle.sdk.android.api
class DVCOptions(
val flushEventsIntervalMs: Long,
private val disableEventLogging: Boolean,
val enableEdgeDB: Boolean,
val configCacheTTL: Long?,
val disableConfigCache: Boolean,
val disableRealtimeUpdates: Boolean
) {
class DVCOptionsBuilder internal c... | 1 | Kotlin | 0 | 20 | b180dcef1287499f78058796bbb2c0c679787837 | 2,091 | android-client-sdk | MIT License |
android/src/main/java/com/alpha0010/pdf/AnnotationPage.kt | alpha0010 | 296,458,053 | false | {"TypeScript": 32055, "Kotlin": 20640, "Swift": 14392, "Java": 6229, "Objective-C": 4348, "JavaScript": 1476, "Ruby": 1346, "C": 103} | package com.alpha0010.pdf
import kotlinx.serialization.Serializable
@Serializable
data class PositionedText(
val color: String,
val fontSize: Float,
val point: List<Float>,
val str: String
)
@Serializable
data class Stroke(
val color: String,
val width: Float,
val path: List<List<Float>>
)
@Serializab... | 3 | TypeScript | 10 | 73 | db6ecbb95fb40d5a8be62d72fc21c28b92d4b9ae | 414 | react-native-pdf-viewer | MIT License |
sange/src/main/java/zlc/season/sange/SangeDataSource.kt | ssseasonnn | 189,573,304 | false | null | package zlc.season.sange
import kotlinx.coroutines.CoroutineScope
open class SangeDataSource<T>(coroutineScope: CoroutineScope = mainScope) : DataSource<T>(coroutineScope) {
override val dataStorage = SangeDataStorage<T>()
/**
* Add header
*/
fun addHeader(t: T, position: Int = -1, delay: Boole... | 0 | null | 4 | 37 | 16695a612ac0ca9ef945dbd5d52fd98af628cfd2 | 5,411 | Sange | Apache License 2.0 |
core/src/main/kotlin/org/rewedigital/dialog/model/google/GoogleSimpleResponse.kt | rewe-digital-incubator | 169,550,416 | false | null | package org.rewedigital.dialog.model.google
data class GoogleSimpleResponse(
val textToSpeech: String? = null,
val ssml: String? = null,
val displayText: String? = null
) | 3 | Kotlin | 5 | 10 | 7ea2fac743323acd9e17f41eb4511df1782b874d | 183 | dialog | MIT License |
domain/src/main/kotlin/no/nav/su/se/bakover/domain/brev/beregning/TilbakekrevingForBrev.kt | navikt | 227,366,088 | false | {"Kotlin": 9465702, "Shell": 4372, "TSQL": 1233, "Dockerfile": 1211} | package no.nav.su.se.bakover.domain.brev.beregning
import no.nav.su.se.bakover.common.MånedBeløp
import no.nav.su.se.bakover.common.extensions.toBrevformat
import no.nav.su.se.bakover.common.sorterPåPeriode
import no.nav.su.se.bakover.common.tid.periode.Periode
data class BrevTilbakekrevingInfo(
val periode: Stri... | 6 | Kotlin | 1 | 1 | ed28832346c1f839ea3a489eae8cc623079a0a2f | 1,497 | su-se-bakover | MIT License |
xprl-efactura-jaxb-publishing/src/main/kotlin/uk/co/xprl/efactura/jaxb/JaxbComprobanteFactory.kt | xprl-gjf | 534,729,919 | false | {"Kotlin": 364167} | @file:Suppress("MemberVisibilityCanBePrivate")
package uk.co.xprl.efactura.jaxb
import uk.co.xprl.efactura.*
import uk.co.xprl.efactura.jaxb.v1_0_0.createFactura as createFactura_1_0_0
import uk.co.xprl.efactura.jaxb.v1_1_0.createFactura as createFactura_1_1_0
import uk.co.xprl.efactura.jaxb.v1_0_0.createNotaCredito ... | 0 | Kotlin | 0 | 1 | 3f9317ca822139ee12f8322ef5457dc05338e832 | 5,508 | xprl-efactura | Apache License 2.0 |
app/src/main/java/com/vixiloc/vixgpt/di/RepositoryModule.kt | rizky201008 | 665,395,128 | false | null | package com.vixiloc.vixgpt.di
import com.vixiloc.vixgpt.data.repositories.ChatRepository
import com.vixiloc.vixgpt.data.repositories.OpenAiRepository
import org.koin.android.ext.koin.androidContext
import org.koin.dsl.module
val repositoryModule = module {
single {
ChatRepository(androidContext(), get())
... | 1 | Kotlin | 0 | 3 | 19165bd9b7aa8b11ef175e40be9e22b144ba43ab | 380 | vixgpt | Apache License 2.0 |
src/main/kotlin/com/example/demo/controller/AccountHistory.kt | micsigen | 260,312,475 | false | null | package com.example.demo.controller
data class AccountHistory(
val id: String,
val amount: Double
) | 0 | Kotlin | 0 | 0 | eb01e3fcd45dcf9f35deaf20c99d09c83537751f | 116 | test-debug-app | Apache License 2.0 |
idea/tests/testData/inspectionsLocal/whenWithOnlyElse/subjectVariable/hasSameNameVariable3.kt | JetBrains | 278,369,660 | false | null | fun test() {
<caret>when (val a = 42) {
else -> use(a)
}
val a = 33
}
fun use(i: Int) {} | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 110 | intellij-kotlin | Apache License 2.0 |
v1_29/src/main/java/de/loosetie/k8s/dsl/manifests/ConfigMapKeySelector.kt | loosetie | 283,145,621 | false | {"Kotlin": 8925107} | package de.loosetie.k8s.dsl.manifests
import de.loosetie.k8s.dsl.K8sTopLevel
import de.loosetie.k8s.dsl.K8sDslMarker
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasMetadata
@K8sDslMarker
interface ConfigMapKeySelector_core_v1: K8sManifest {
/** Name of the referent. More info: https://kuberne... | 0 | Kotlin | 0 | 2 | 57d56ab780bc3134c43377e647e7f0336a5f17de | 588 | k8s-dsl | Apache License 2.0 |
app/src/main/java/br/com/alura/orgs/ui/dialog/FormularioImagemDialog.kt | arthurjunior | 736,030,688 | false | {"Kotlin": 9270} | package br.com.alura.orgs.ui.dialog
import android.content.Context
import android.util.Log
import android.view.LayoutInflater
import androidx.appcompat.app.AlertDialog
import br.com.alura.orgs.databinding.FormularioImagemBinding
import br.com.alura.orgs.extensions.tentaCarregarImagem
class FormularioImagemDialog (pri... | 0 | Kotlin | 0 | 0 | d9c8a05dc539f4c5c1c8bd232c9398d974279bc1 | 1,133 | Orgs | MIT License |
WoWSFT-Shared/src/main/kotlin/WoWSFT/model/gameparams/ship/component/airsupport/AirSupport.kt | EdibleBug | 205,816,473 | false | {"Kotlin": 191889, "HTML": 109419, "JavaScript": 60672, "CSS": 60604} | package WoWSFT.model.gameparams.ship.component.airsupport
import WoWSFT.config.WoWSFT
import WoWSFT.model.gameparams.ship.component.planes.Plane
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@WoWSFT
@JsonIgnoreProperties(ignoreUnknown = true)
class AirSupport
{
var chargesNum: Int = 0
var climb... | 0 | Kotlin | 1 | 5 | b601669cf870e368b4d98033f9cf9c1997e93d1e | 626 | WoWSFT-Kotlin | MIT License |
app/src/main/java/study/me/please/data/io/LargePathAsset.kt | JacobCube | 683,485,839 | false | null | package study.me.please.data.io
import androidx.room.Entity
import androidx.room.PrimaryKey
import study.me.please.data.room.AppRoomDatabase
import java.io.Serializable
import java.util.UUID
/**
* Asset with all neccessary information to display either locally stored or online stored image
*/
@Entity(tableName = Ap... | 0 | Kotlin | 0 | 0 | ff06694f062c3b9a5c648ce1705ce2b26121eda2 | 1,056 | Study-me-please | Apache License 2.0 |
app/src/main/java/com/goudurixx/pokedex/core/database/PokedexDatabase.kt | Goudurixx | 756,872,856 | false | {"Kotlin": 249861} | package com.goudurixx.pokedex.core.database
import androidx.room.Database
import androidx.room.RoomDatabase
import com.goudurixx.pokedex.core.database.daos.PokedexDao
import com.goudurixx.pokedex.core.database.daos.PokemonDao
import com.goudurixx.pokedex.core.database.models.PokedexGlobalDataDaoModel
import com.goudur... | 0 | Kotlin | 0 | 2 | 91999438d698d59ca4b510172c72140662ed57a0 | 646 | pokedex-JC | MIT License |
app/src/main/java/com/sedsoftware/yaptalker/presentation/feature/news/NewsPresenter.kt | djkovrik | 98,050,611 | false | {"Gradle": 7, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 6, "Proguard": 14, "XML": 201, "Kotlin": 418, "Java Properties": 1, "JSON": 2, "Java": 2, "CSS": 1, "INI": 1, "YAML": 1} | package com.sedsoftware.yaptalker.presentation.feature.news
import com.arellomobile.mvp.InjectViewState
import com.sedsoftware.yaptalker.data.system.SchedulersProvider
import com.sedsoftware.yaptalker.domain.device.Settings
import com.sedsoftware.yaptalker.domain.interactor.BlacklistInteractor
import com.sedsoftware.y... | 0 | Kotlin | 4 | 9 | 465c34c3dc0dd0488b637073fddf6cd797e78613 | 6,977 | YapTalker | Apache License 2.0 |
shared/src/androidMain/kotlin/screen/home/HomeScreen.android.kt | rschattauer | 747,667,420 | false | {"Kotlin": 81340, "Swift": 2848, "Shell": 190} | package screen.home
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import ui.theme.AppTheme
@Preview
@Composable
private fun Preview() {
AppTheme {
HomeScreen()
}
}
| 0 | Kotlin | 0 | 0 | ce98860cd6c2435c43839ef83bb293acfd83c754 | 230 | compose_multiplatform | Apache License 2.0 |
app/src/main/java/com/capyreader/app/ui/settings/panels/SettingsPanel.kt | jocmp | 610,083,236 | false | null | package com.capyreader.app.ui.settings.panels
import android.os.Parcelable
import androidx.annotation.StringRes
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.AccountCircle
import androidx.compose.material.icons.rounded.Build
import androidx.compose.material.icons.rounded.G... | 33 | null | 4 | 147 | 196690b776eebdecd4562e357a629277fec9cfe9 | 2,051 | capyreader | MIT License |
app/src/main/java/com/example/beerdiary/BeerNew.kt | Janjhy | 240,483,203 | false | null | package com.example.beerdiary
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.IntentSender
import android.content.pm.PackageManager
import android.graphics.BitmapFactory
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.har... | 0 | Kotlin | 0 | 0 | ccb0a4a698101c8ec10e727353bcf341cae41b58 | 12,993 | BeerDiary | MIT License |
serenity-app/src/test/kotlin/us/nineworlds/serenity/jobs/OnDeckRecommendationsJobTest.kt | kevinxucs | 192,660,441 | false | {"INI": 16, "YAML": 2, "XML": 164, "Gradle": 8, "Shell": 2, "Markdown": 1, "Text": 5, "Ignore List": 8, "Java": 377, "Java Properties": 4, "Proguard": 1, "Kotlin": 76, "JSON": 1} | package us.nineworlds.serenity.jobs
import android.content.Context
import android.content.SharedPreferences
import android.content.res.Resources
import android.preference.PreferenceManager
import androidx.test.core.app.ApplicationProvider
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.e... | 1 | null | 1 | 1 | e23b6428f2ee68df083e3e92c456220395a56dd1 | 3,868 | serenity-android | MIT License |
analysis/analysis-api/testData/components/referenceShortener/shortenRange/nestedClasses/nestedClassFromSupertypes2.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // FILE: main.kt
import MyInterface.Nested
interface MyInterface {
class Nested
}
class Foo : MyInterface {
<expr>val prop: MyInterface.Nested = MyInterface.Nested()</expr>
}
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 185 | kotlin | Apache License 2.0 |
scratch-paper/plugin/src/main/kotlin/me/xx2bab/scratchpaper/ScratchPaperPlugin.kt | 2BAB | 59,648,564 | false | null | package me.xx2bab.scratchpaper
import com.android.build.api.variant.ApplicationAndroidComponentsExtension
import com.android.build.api.variant.VariantOutput
import me.xx2bab.polyfill.*
import me.xx2bab.scratchpaper.icon.AddIconOverlayTask
import me.xx2bab.scratchpaper.utils.CacheLocation
import me.xx2bab.scratchpaper.... | 0 | Kotlin | 3 | 58 | ca05537a04a02291d1008af9ff9a9d37d0372d33 | 3,295 | ScratchPaper | Apache License 2.0 |
subprojects/test-runner/report-viewer-model/src/main/kotlin/com/avito/report/model/IncidentElement.kt | avito-tech | 230,265,582 | false | {"Kotlin": 3747948, "Java": 67252, "Shell": 27892, "Dockerfile": 12799, "Makefile": 8086} | package com.avito.report.model
/**
* Atomic error for Incident.chain
*
* @param message human-readable message for report
* @param code http code for example
* @param type determines how to display data (no info atm)
*
* todo extract to public api module (used in avito build scripts)
*/
public data class Incid... | 10 | Kotlin | 50 | 414 | bc94abf5cbac32ac249a653457644a83b4b715bb | 533 | avito-android | MIT License |
src/test/kotlin/it/skrape/WireMockSetup.kt | cvb941 | 239,986,791 | true | {"Kotlin": 235492, "HTML": 1790, "Shell": 281} | package it.skrape
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.WireMock.*
import com.github.tomakehurst.wiremock.core.WireMockConfiguration.options
import com.github.tomakehurst.wiremock.stubbing.StubMapping
import org.junit.jupiter.api.AfterEach
import org.junit.... | 0 | Kotlin | 0 | 0 | 378ac23d090d63d060893c5c765b68381c8ea692 | 2,861 | skrape.it | MIT License |
app/src/main/java/com/vipulasri/jetinstagram/model/FavoriteUser.kt | marksterr | 668,711,688 | false | null | package com.vipulasri.jetinstagram.model
data class FavoriteUser(
val id: Int,
val name: String,
val username: String,
val image: String
)
| 0 | Kotlin | 0 | 0 | cc94c27ace49c1cc5bfb6b7d3a85e1f9ecb60ade | 156 | JetInstagram | Apache License 2.0 |
app/src/main/java/me/hgj/jetpackmvvm/demo/data/repository/request/HttpRequestManger.kt | q735510971 | 316,208,478 | false | null | package me.hgj.jetpackmvvm.demo.data.repository.request
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.withContext
import me.hgj.jetpackmvvm.demo.app.network.ApiService
import me.hgj.jetpackmvvm.demo.app.network.NetworkApi
import me.hgj.jetpackmvvm.demo.app.network.apiS... | 26 | null | 585 | 3 | 22a993aacbd3b8d5f10caa0c11e055d71e8c1b9d | 2,341 | JetpackMvvm | Apache License 2.0 |
sourceamazing-engine/src/main/kotlin/org/codeblessing/sourceamazing/engine/process/datacollection/validation/exceptions/WrongReferencedConceptFacetValueException.kt | code-blessing | 695,574,460 | false | {"Kotlin": 343637} | package org.codeblessing.sourceamazing.engine.process.datacollection.validation.exceptions
import org.codeblessing.sourceamazing.api.process.schema.ConceptIdentifier
import org.codeblessing.sourceamazing.api.process.schema.ConceptName
import org.codeblessing.sourceamazing.api.process.schema.FacetName
class WrongRefe... | 5 | Kotlin | 0 | 0 | 6a16126f54e984702dc694c2bc459c9636114854 | 626 | sourceamazing | MIT License |
apt-utils/src/main/java/com/edwin/aptutils/types/ClassType.kt | LiangLliu | 445,907,238 | false | {"Kotlin": 247539, "Java": 117126} | package com.edwin.aptutils.types
import com.squareup.javapoet.ClassName
import com.squareup.javapoet.ParameterizedTypeName
import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy
import javax.lang.model.type.TypeMirror
import com.squareup.javapoet.TypeName as JavaTypeName
import com.squareup.kot... | 0 | Kotlin | 0 | 0 | 7f828dedc343d3a5a19d052951692987bc714c5d | 2,027 | github-app | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/tokenverification/services/health/HealthIntTest.kt | ministryofjustice | 249,468,152 | false | {"Kotlin": 41071, "Dockerfile": 1111} | package uk.gov.justice.digital.hmpps.tokenverification.services.health
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import uk.gov.justice.digital.hmpps.tokenverification.resource.IntegrationTest
import uk.gov.justice.digital.hmpps... | 1 | Kotlin | 1 | 1 | 7aac67da161d8ea591bff3b8d79419730479f930 | 1,689 | token-verification-api | MIT License |
app/src/main/java/com/example/dasada/recyclerview/ListItemAdapter.kt | WojciechLatala | 878,369,104 | false | {"Kotlin": 25140} | package com.example.dasada.recyclerview
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.AsyncListDiffer
import androidx.recyclerview.widget.RecyclerView
import com.example.dasada.R
import com.example.dasada.model.ListItemViewModel
import com.example.dasada.recyclerv... | 0 | Kotlin | 0 | 0 | 29cccd0c128a1ed71088d9cd6aba190d1479f434 | 1,254 | Custom-Layout-Manager | Apache License 2.0 |
app/src/main/java/ua/polodarb/gmsflags/ui/screens/flagChangeScreen/dialogs/ProgressDialog.kt | polodarb | 624,518,043 | false | {"Kotlin": 369647, "AIDL": 1483} | package ua.polodarb.gmsflags.ui.screens.flagChangeScreen.dialogs
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.CircularProgressIndic... | 1 | Kotlin | 2 | 61 | 8353895480a0e368297cd9aeba0d46efe9d685ed | 1,514 | GMS-Flags | MIT License |
updater-mapper-standard/src/main/java/org/runestar/client/updater/mapper/std/classes/ChatChannel.kt | communityus-branch | 246,016,204 | true | {"Java": 1852312, "Kotlin": 1247608} | package org.runestar.client.updater.mapper.std.classes
import org.runestar.client.common.startsWith
import org.objectweb.asm.Type.INT_TYPE
import org.runestar.client.updater.mapper.IdentityMapper
import org.runestar.client.updater.mapper.annotations.DependsOn
import org.runestar.client.updater.mapper.annotations.Metho... | 0 | Java | 0 | 0 | 7b60ec3d0c917571b7def908037dfc4a744092e0 | 2,105 | client | MIT License |
idea/testData/refactoring/inline/inlineVariableOrProperty/property/multiplePackages.kt | JakeWharton | 99,388,807 | false | null | package foo
import bar.x
import baz.y
val <caret>z = x + y
fun test() = z + 1 | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 80 | kotlin | Apache License 2.0 |
common_test/src/main/kotlin/com/hivian/common_test/espresso/RecyclerViewItemCountAssertion.kt | hivian | 245,177,544 | false | null | package nl.bartnijland.countrycodepickerdialog.util
import android.support.v7.widget.RecyclerView
import android.view.View
import androidx.test.espresso.NoMatchingViewException
import androidx.test.espresso.ViewAssertion
import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.Matcher
import org.junit.Assert.assertTh... | 0 | null | 4 | 5 | 5525c2330e52dae04c5bda1bae2d9e5edafc9fb1 | 1,088 | PokeApex | MIT License |
util-db/src/main/kotlin/com/seanshubin/condorcet/util/db/JdbcConnectionLifecycle.kt | SeanShubin | 190,099,313 | false | null | package com.seanshubin.condorcet.util.db
import java.sql.Connection
import java.sql.DriverManager
import java.sql.PreparedStatement
import java.sql.ResultSet
class JdbcConnectionLifecycle(private val host: String,
private val user: String,
private val passwo... | 2 | Kotlin | 0 | 0 | 61219ae238b47792a5d347625f4963a1b2841d2d | 1,602 | condorcet5 | The Unlicense |
compose-ide-plugin/compiler-hosted-src/androidx/compose/compiler/plugins/kotlin/lower/decoys/AbstractDecoysLowering.kt | JetBrains | 60,701,247 | false | {"Kotlin": 51587880, "Java": 35058698, "HTML": 1217714, "Starlark": 942543, "C++": 431606, "Python": 147820, "C": 71660, "Lex": 68621, "NSIS": 58538, "AIDL": 35382, "Shell": 27597, "CMake": 26983, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7448, "RenderScript": 4411, "Clean": 3688, "Makefile": 2495, "IDL": 269, "... | /*
* Copyright 2022 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... | 3 | Kotlin | 945 | 925 | 71cc8d80cd2fa6899d69c7f908539c5a4ad08265 | 3,980 | android | Apache License 2.0 |
app/src/main/java/com/ozyurt/armutapp/ui/detay/UstaDetayActivity.kt | nxion34 | 373,290,434 | false | null | package com.ozyurt.armutapp.ui.detay
import android.app.Application
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.ozyurt.armutapp.R
import com.ozyurt.armutapp.data.model.Ustalar
import com.ozyurt.armutapp.databinding.ActivityUstaDetayBinding
import com.ozyurt.armutapp.util.Constan... | 0 | Kotlin | 0 | 0 | 631cedb7ba973f71c11022aefeace4700fbaca26 | 1,625 | ArmutAppClone | Apache License 2.0 |
integration-test-r2dbc/src/postgresql/kotlin/integration/r2dbc/postgresql/R2dbcPostgreSqlSetting.kt | komapper | 349,909,214 | false | null | package integration.r2dbc.postgresql
import integration.core.PostgreSqlSetting
import io.r2dbc.spi.ConnectionFactories
import io.r2dbc.spi.ConnectionFactoryOptions
import io.r2dbc.spi.Option
import org.komapper.core.ExecutionOptions
import org.komapper.r2dbc.DefaultR2dbcDatabaseConfig
import org.komapper.r2dbc.R2dbcDa... | 3 | Kotlin | 0 | 33 | 2145cfd2a9d0cc50bc31b6702875ae4ff4a69be1 | 1,829 | komapper | Apache License 2.0 |
shared/src/commonMain/kotlin/MediaScreen.kt | xiaoxing1992 | 668,966,321 | false | null | import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Button
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
impor... | 0 | Kotlin | 0 | 0 | eb257091f805f6de746b398811c4ce506184ec48 | 3,017 | RMultiplatformKMM | Apache License 2.0 |
fragment/fragment-lint/src/test/java/androidx/fragment/lint/AttachAndDetachInSameTransactionDetectorTest.kt | JetBrains | 351,708,598 | true | null | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | Java | 16 | 59 | 3fbd775007164912b34a1d59a923ad3387028b97 | 5,660 | androidx | Apache License 2.0 |
src/main/kotlin/br/com/ecarrara/summarygenerator/BuildsDataSetSummary.kt | ecarrara-araujo | 283,174,727 | false | null | package br.com.ecarrara.summarygenerator
import br.com.ecarrara.domain.entities.BuildInfo
import br.com.ecarrara.utils.format
data class BuildSummarizedData(
val identifier: String,
val averageBuildTimeInMinutes: Double,
val averageWaitTimeInMinutes: Double,
val numberOfBuilds: Int
) {
override fu... | 0 | Kotlin | 0 | 2 | be1621f3dcf58754a783364163a3bf297db2b3ab | 1,912 | bitrise-ci-time-explorer | MIT License |
app/src/main/java/com/example/todolist/adapter/Adapter.kt | albertooofdz | 756,815,847 | false | {"Kotlin": 18894} | package com.example.todolist.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.CheckBox
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.Re... | 0 | Kotlin | 0 | 0 | 37204b1db144c574de81d3ee449367d711749706 | 1,961 | ToDoList | Creative Commons Zero v1.0 Universal |
backend.native/tests/runtime/workers/worker0.kt | amodvaidya | 100,103,267 | true | {"Kotlin": 3264868, "C++": 694226, "C": 154816, "Groovy": 43464, "Protocol Buffer": 11804, "Batchfile": 6134, "Shell": 6114, "JavaScript": 5058, "Pascal": 1546, "Makefile": 1341, "Java": 782} | import konan.worker.*
fun main(args: Array<String>) {
val worker = startWorker()
val future = worker.schedule(TransferMode.CHECKED, { "Input".shallowCopy()}) {
input -> input + " processed"
}
future.consume {
result -> println("Got $result")
}
worker.requestTermination().consume... | 0 | Kotlin | 0 | 0 | c7843aa9c76f37b521a562565945a55373563c34 | 349 | kotlin-native | Apache License 2.0 |
datasource/implementation/src/test/java/com/mitteloupe/whoami/datasource/history/datasource/IpAddressHistoryDataSourceImplTest.kt | EranBoudjnah | 662,551,018 | false | null | package com.mitteloupe.whoami.datasource.history.datasource
import com.mitteloupe.whoami.datasource.history.mapper.NewIpAddressRecordToSavedMapper
import com.mitteloupe.whoami.datasource.history.model.NewIpAddressHistoryRecordDataModel
import com.mitteloupe.whoami.datasource.history.model.SavedIpAddressHistoryRecordDa... | 0 | Kotlin | 0 | 2 | 60325132102d049543ee67f40705a3b8a5d81c81 | 2,523 | CleanArchitectureForAndroid | MIT License |
sharing-service/src/de/faweizz/topicservice/adjacent/keycloak/KeycloakTopicAuthorizationClient.kt | faweizz | 390,689,980 | false | null | package de.faweizz.topicservice.adjacent.keycloak
import de.faweizz.topicservice.service.resource.AccessLevel
import io.ktor.http.*
import org.keycloak.admin.client.resource.RealmResource
import org.keycloak.representations.idm.authorization.ClientPolicyRepresentation
import org.keycloak.representations.idm.authorizat... | 0 | Kotlin | 0 | 0 | b5b494e81e6643c86d51f884309497bc78715f36 | 3,004 | florescence | Apache License 2.0 |
app/src/main/java/com/matugr/sample/di/AuthDemoModule.kt | judegpinto | 453,862,040 | false | {"Kotlin": 146527} | package com.matugr.sample.di
import android.content.Context
import android.content.res.Resources
import androidx.room.Room
import com.matugr.authorization_request.external.AuthorizationRequestConfiguration
import com.matugr.common.external.AuthAdapterFactory
import com.matugr.common.external.RequestPort
import com.mat... | 0 | Kotlin | 0 | 3 | e79e81c962bb309a422e2ea6ec4c1a67f04de5c2 | 2,975 | matugr | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/timeline/item/GHPRTimelineThreadComponentFactory.kt | Romanzek | 128,088,625 | false | {"Text": 9255, "INI": 546, "YAML": 429, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 9, "Shell": 633, "Markdown": 734, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 253, "XML": 7694, "SVG": 4338, "Kotlin": 57526, "Java": 83757, "HTML": 3765, "Java Properties": 210, "Gradle"... | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.github.pullrequest.ui.timeline.item
import com.intellij.collaboration.async.inverted
import com.intellij.collaboration.async.launchNow
import com.intellij.collaboration... | 1 | null | 1 | 1 | e026aea35cf0f93731cc9d495866ed8bfe2812aa | 11,648 | intellij-community | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/timeline/item/GHPRTimelineThreadComponentFactory.kt | Romanzek | 128,088,625 | false | {"Text": 9255, "INI": 546, "YAML": 429, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 9, "Shell": 633, "Markdown": 734, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 253, "XML": 7694, "SVG": 4338, "Kotlin": 57526, "Java": 83757, "HTML": 3765, "Java Properties": 210, "Gradle"... | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.github.pullrequest.ui.timeline.item
import com.intellij.collaboration.async.inverted
import com.intellij.collaboration.async.launchNow
import com.intellij.collaboration... | 1 | null | 1 | 1 | e026aea35cf0f93731cc9d495866ed8bfe2812aa | 11,648 | intellij-community | Apache License 2.0 |
collect_app/src/androidTest/java/org/odk/collect/android/support/pages/AutomaticProjectCreatorDialogPage.kt | virtualpathum | 377,030,203 | true | {"Java Properties": 2, "Gradle": 18, "Shell": 3, "YAML": 2, "INI": 14, "Markdown": 15, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 14, "Text": 1, "JSON": 3, "Java": 987, "Kotlin": 145, "XML": 456, "HTML": 1, "JavaScript": 1, "Proguard": 2, "XSLT": 6} | package org.odk.collect.android.support.pages
import org.odk.collect.android.R
class AutomaticProjectCreatorDialogPage : Page<AutomaticProjectCreatorDialogPage>() {
override fun assertOnPage(): AutomaticProjectCreatorDialogPage {
assertText(R.string.add_project)
return this
}
fun switchTo... | 0 | Java | 0 | 0 | 5a931b62390be253e9bd969275c469c92b0d2c17 | 489 | collect | Apache License 2.0 |
app/src/main/java/com/dev/james/sayariproject/ui/launches/viewmodel/PreviousLaunchesViewModel.kt | JayExtra | 426,628,122 | false | null | package com.dev.james.sayariproject.ui.launches.viewmodel
import android.util.Log
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.PagingData
import androidx.paging.cachedIn
import com.dev.james.sayariproject.models.launch.La... | 4 | Kotlin | 0 | 0 | cea83c93bbfa286ee473910c1f00abe076ef1344 | 2,290 | Sayari_Project | Apache License 2.0 |
app/src/main/java/com/mozay/movie/domain/module/MoviesDomainModule.kt | mozay | 240,854,610 | false | null | package com.mozay.movie.domain.module
import com.mozay.movie.domain.model.movie.response.MovieDetailResponse
import com.mozay.movie.domain.model.movie.response.MovieImagesResponse
import com.mozay.movie.domain.model.movie.response.MovieListResponse
import com.mozay.movie.domain.repository.MovieRepository
import com.mo... | 0 | Kotlin | 0 | 14 | 8a8f2d229f141b8a7b0a32ae13f1bf8f66761995 | 1,696 | RxMovie | MIT License |
SharedCodeClient/src/commonMain/kotlin/com/jarroyo/sharedcodeclient/domain/base/BaseUseCaseFlow.kt | jarroyoesp | 345,142,032 | false | null | package com.jarroyo.sharedcodeclient.domain.base
import com.jarroyo.sharedcodeclient.domain.base.BaseRequest
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.FlowCollector
import kotlinx.coroutines.flow.flow
abstract class BaseUseCaseFlow<R : BaseRequest, T> {
protected var mRequest: R? = null
... | 0 | Kotlin | 0 | 0 | d82dcd8c96e6a6aa3317e3c8ab0263f105293382 | 494 | android-dev-challenge-compose | Apache License 2.0 |
service/src/test/kotlin/app/cash/backfila/BackfilaTestingModule.kt | cashapp | 209,384,085 | false | null | package app.cash.backfila
import app.cash.backfila.api.ServiceWebActionsModule
import app.cash.backfila.client.BackfilaCallbackConnectorProvider
import app.cash.backfila.client.Connectors
import app.cash.backfila.client.FakeBackfilaCallbackConnectorProvider
import app.cash.backfila.client.ForConnectors
import app.cash... | 50 | null | 47 | 31 | 983c74b0516ef2cee75a8774dc3b233fdf641dc1 | 3,637 | backfila | Apache License 2.0 |
app/src/main/java/at/shockbytes/dante/ui/adapter/suggestions/OnSuggestionExplanationClickedListener.kt | shockbytes | 92,944,830 | false | {"Kotlin": 790848} | package at.shockbytes.dante.ui.adapter.suggestions
fun interface OnSuggestionExplanationClickedListener {
fun onDismissClicked()
} | 21 | Kotlin | 7 | 73 | 626fd7c12691be646fcd7b55a9c46539073af675 | 136 | Dante | Apache License 2.0 |
app/src/main/java/com/app/util/Constants.kt | yash786agg | 197,660,329 | false | null | package com.app.util
class Constants
{
companion object
{
const val TIMEOUT_REQUEST: Long = 30
const val flickrPhotosSearch : String = "flickr.photos.search"
const val flickrPhotosGetSizes : String = "flickr.photos.getSizes"
const val kittenSearch : String = "kitten"
... | 0 | Kotlin | 10 | 33 | 7ce772d9919f4ed247e5002607c35dbb317d528b | 483 | PagingKotlin | Apache License 2.0 |
app/src/main/java/com/WrapX/vcentremap/repo/model/Session.kt | Marvel999 | 368,595,344 | false | null | package com.WrapX.vcentremap.repo.model
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class Session(
@Json(name = "address")
var address: String,
@Json(name = "available_capacity")
var availableCapacity: Int,
@Json(name = "available_cap... | 0 | Kotlin | 1 | 1 | a956ecac0474f69c544e6a7838286dcba974da7a | 1,331 | VCenter-Map | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/core/quickfix/InsertStringFix.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.core.quickfix
import com.intellij.codeInsight.intention.*
import com.intellij.openapi.editor.*
import com.intellij.openapi.project.*
import com.intellij.psi.*
import icu.windea.pls.*
class InsertStringFix(
private val string: String,
private val offset: Int,
private val moveCaretToO... | 8 | Kotlin | 4 | 22 | c6c558b82c84b9e88c0ee179f64cbfdda66b8082 | 912 | Paradox-Language-Support | MIT License |
glassfy/src/main/java/io/glassfy/androidsdk/internal/network/model/request/SkuDetailsRequest.kt | glassfy | 470,995,476 | false | {"Kotlin": 229208} | package io.glassfy.androidsdk.internal.network.model.request
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import io.glassfy.androidsdk.model.SkuDetails
@JsonClass(generateAdapter = true)
internal data class SkuDetailsRequest(
@field:Json(name = "productid") val sku: String?,
@field:Json(... | 1 | Kotlin | 3 | 8 | 7457834ccd3bd32180e5558d7fff3d91e9f87e2d | 1,786 | android-sdk | MIT License |
gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/String29.kt | JetBrains | 293,498,508 | false | {"Kotlin": 19912259, "Shell": 12167, "JavaScript": 4973, "Dockerfile": 4774, "Swift": 2823, "Java": 1964, "PowerShell": 1708, "Groovy": 1415, "HTML": 1219, "Ruby": 404} | @file:OptIn(org.jetbrains.compose.resources.InternalResourceApi::class)
package app.group.huge.generated.resources
import kotlin.OptIn
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.StringResource
@ExperimentalResourceApi
private object String29 {
public val s... | 1,251 | Kotlin | 1038 | 14,419 | f833fa9945f0420fd9c0c0a5a03d45f196d231ec | 181,042 | compose-multiplatform | Apache License 2.0 |
vertigram-telegram-client/src/main/kotlin/ski/gagar/vertigram/telegram/methods/SendSticker.kt | gagarski | 314,041,476 | false | {"Kotlin": 748448} | package ski.gagar.vertigram.telegram.methods
import com.fasterxml.jackson.annotation.JsonIgnore
import ski.gagar.vertigram.telegram.annotations.TelegramMedia
import ski.gagar.vertigram.telegram.throttling.HasChatId
import ski.gagar.vertigram.telegram.throttling.Throttled
import ski.gagar.vertigram.telegram.types.Input... | 0 | Kotlin | 0 | 0 | e90b7136ee97e841f4d28953f1b109862071e055 | 1,136 | vertigram | Apache License 2.0 |
app/src/androidTest/java/com/example/myapplication/IScreenObject.kt | uzairAhmed332 | 529,895,314 | false | {"Kotlin": 12586} | package com.example.myapplication
import androidx.test.uiautomator.BySelector
import androidx.test.uiautomator.Until
import com.example.myapplication.TestHelper.device
import java.sql.Time
interface IScreenObject {
val IDENTIFIER: BySelector
fun waitForScreen(timeout: Long = 5_000L): Boolean {
return... | 0 | Kotlin | 0 | 0 | d2cefef97b96f700f380dee2572d63358a270db3 | 504 | Android-Screenshot-Tesitng-using-SHOT | Apache License 2.0 |
util/src/main/kotlin/voodoo/util/serializer/TimestampSerializer.kt | DaemonicLabs | 119,208,408 | false | {"Kotlin": 561752, "Java": 13063, "Shell": 2818} | package voodoo.util.serializer
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializer
import kotlinx.serialization.json.JsonDecoder
import kotlinx.serialization.json.JsonPrimitive
import kotlinx.serial... | 4 | Kotlin | 8 | 28 | 8e4a0643edf10d39335ea084d00d036606901fd4 | 1,452 | Voodoo | MIT License |
domain/monster/data/src/commonMain/kotlin/br/alexandregpereira/hunter/data/monster/MonsterRepositoryImpl.kt | alexandregpereira | 347,857,709 | false | {"Kotlin": 1412071, "Swift": 754, "Shell": 139} | /*
* Copyright 2022 Alexandre Gomes Pereira
*
* 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 a... | 4 | Kotlin | 5 | 85 | 5256ca9553e070f11a8cde5515afb74503b1a23c | 2,375 | Monster-Compendium | Apache License 2.0 |
src/main/kotlin/io/github/talkarcabbage/rstimer/timers/Daily.kt | Talkarcabbage | 27,659,191 | false | {"Kotlin": 90037, "CSS": 5231, "Java": 269} | package io.github.talkarcabbage.rstimer.timers
class Daily : BaseTimer {
var latestReset: Long = 0
internal set
override val timerTypeString: String
get() = "Daily"
override val tooltipText: String
get() = "Daily Timer\n${formatTimeRemaining(timeRemaining)}"
override val percentageComplete: Int
get() {... | 7 | Kotlin | 1 | 1 | e4e3cfd8821d7ffca2d04b4799629020f7175c51 | 1,644 | rs-timer | Apache License 2.0 |
app/src/main/java/com/shankarlohar/pedopt_adoptapet/ui/screens/onboarding/SignUpScreen.kt | shankarlohar | 639,915,465 | false | null | package com.shankarlohar.pedopt_adoptapet.ui.screens.onboarding
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.materi... | 0 | Kotlin | 0 | 0 | aa52605c7684550bb5b3e2a8895b7f9b8da11d39 | 10,096 | Pedopt-Adopt-a-Pet | MIT License |
ktgram/src/main/kotlin/ru/lavafrai/ktgram/client/DefaultBotProperties.kt | lavaFrai | 812,095,309 | false | {"Kotlin": 421668} | package ru.lavafrai.ktgram.client
import okio.Timeout
class DefaultBotProperties(
val parseMode: String?=null,
val disableNotification: Boolean?=null,
val protectContent: Boolean?=null,
val allowSendingWithoutReply: Boolean?=null,
val timeout: Int = 5
/* TODO */
) | 0 | Kotlin | 0 | 2 | 6be71429e2e268ccff258129ec66ef0cad61c6b3 | 290 | ktgram | Apache License 2.0 |
modules/economy/src/main/kotlin/ru/astrainteractive/aspekt/module/economy/model/CurrencyModel.kt | Astra-Interactive | 588,890,842 | false | {"Kotlin": 317987} | package ru.astrainteractive.aspekt.module.economy.model
import com.charleskorn.kaml.YamlComment
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
internal data class CurrencyModel(
@SerialName("id")
val id: String,
@SerialName("name")
val name: String,
... | 2 | Kotlin | 0 | 0 | 791a6028bf4ca1cb11611e08e464cb539ac5a1c8 | 616 | AspeKt | MIT License |
presentation-core/src/main/java/com/jacekpietras/zoo/core/dispatcher/DefaultDispatcherProvider.kt | JacekPietras | 334,416,736 | false | null | package com.jacekpietras.zoo.core.dispatcher
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flowO... | 0 | null | 1 | 2 | e6a689f442cc32d19ee3f51efc49bf49f9969ca8 | 2,112 | ZOO | MIT License |
android/src/main/java/com/mattermost/pasteinput/PasteInputPackage.kt | mattermost | 310,133,680 | false | {"Objective-C": 33511, "TypeScript": 21327, "Kotlin": 21234, "JavaScript": 18959, "Ruby": 2266, "Swift": 1790, "Objective-C++": 657, "C": 104} | package com.mattermost.pasteinput
import java.util.Arrays
import java.util.Collections
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
import com.facebook.react.bridge.JavaScri... | 11 | Objective-C | 15 | 88 | 9e9a193c0928934a29fd4beafe52db4cf6a3c718 | 704 | react-native-paste-input | MIT License |
vgsshow/src/main/java/com/verygoodsecurity/vgsshow/core/network/model/data/request/RequestData.kt | ilovetea | 329,250,478 | true | {"Kotlin": 138221} | package com.verygoodsecurity.vgsshow.core.network.model.data.request
interface RequestData {
fun getData(): ByteArray?
fun isValid(): Boolean
} | 0 | null | 0 | 0 | d5b5bb673917f1c6b63230a31a8cbca0a61c79e4 | 154 | vgs-show-android | MIT License |
starling/src/main/java/com/example/starling/connection/server/ServerConnection.kt | starling-protocol | 804,959,558 | false | {"Kotlin": 52383} | package com.example.starling.connection.server
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothGatt
import android.bluetooth.BluetoothGattCharacteristic
import android.bluetooth.BluetoothGattServer
import com.example.starling.Log
import com.example.starling.Logger
import com.example.starling... | 0 | Kotlin | 0 | 0 | 496bd1f7ff369cb380627444db0fea085a61cc6a | 3,848 | starling-android-sdk | Apache License 2.0 |
websockets-rxjava-example/src/main/java/com/example/model/PongMessage.kt | Garzas | 166,278,371 | false | {"Gradle": 4, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 2, "Markdown": 2, "Java": 27, "Kotlin": 27, "XML": 5, "Java Properties": 1, "Dockerfile": 1, "Python": 8} | /*
* Copyright (C) 2015 <NAME> <<EMAIL>>
*
* 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 ... | 1 | null | 1 | 1 | ae76b9fde059114ec6e8ea6402199ad36485e737 | 1,364 | JavaWebsocketClient | Apache License 2.0 |
src/main/kotlin/hu/matusek/spendingtrackertoolbackend/feature/transactions/service/TransactionService.kt | matusekma | 595,587,711 | false | null | package hu.matusek.spendingtrackertoolbackend.feature.transactions.service
import hu.matusek.spendingtrackertoolbackend.feature.transactions.dto.*
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import java.time.OffsetDateTime
interface TransactionService {
fun getTran... | 0 | Kotlin | 0 | 0 | 62fa271cb53e905c203e5e92e9b5e7446a4c4f29 | 914 | spending-tracker-tool-backend | Apache License 2.0 |
android-core/src/main/java/com/mparticle/internal/KitsLoadedCallback.kt | mParticle | 42,615,957 | false | null | package com.mparticle.internal
class KitsLoadedCallback {
@Volatile
private var onKitsLoadedRunnable: OnKitManagerLoaded? = null
@Volatile
private var loaded: Boolean = false
fun setKitsLoaded() {
synchronized(this) {
if (!loaded) {
loaded = true
... | 26 | null | 62 | 58 | 94284f5f789f19872b21d75e063f9362675e217a | 714 | mparticle-android-sdk | Apache License 2.0 |
app/src/main/java/android/ihorkostenko/animepedia/presentation/ui/adapters/CharactersRecyclerViewAdapter.kt | matemink | 150,138,036 | false | null | package android.ihorkostenko.animepedia.presentation.ui.adapters
import android.ihorkostenko.animepedia.domain.entities.AnimeCharacter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import animepedia.android.ihorkostenko.animepedia.databinding.ItemChar... | 0 | Kotlin | 0 | 0 | b7e1f5082d057a6641601b58f714919ae44cb1e7 | 1,297 | Animepedia | Apache License 2.0 |
app/src/main/java/ci/projccb/mobile/repositories/databases/daos/ThemeFormationDao.kt | SICADEVD | 686,088,142 | false | {"Kotlin": 1329476, "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 ThemeFormationDao {
@Transaction
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun ins... | 0 | Kotlin | 0 | 2 | aaa1d88430fae617d84f9bda092ab786526f1672 | 750 | ccbm | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.