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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
components/bridge/dao/impl/src/main/java/com/flipperdevices/bridge/dao/impl/model/FlipperAdditionalFile.kt | flipperdevices | 288,258,832 | false | null | package com.flipperdevices.bridge.dao.impl.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.Index
import androidx.room.PrimaryKey
import com.flipperdevices.bridge.dao.api.model.FlipperFilePath
import java.io.File
@Entity(
tableName = "flipper_f... | 21 | null | 174 | 999 | ef27b6b6a78a59b603ac858de2c88f75b743f432 | 1,100 | Flipper-Android-App | MIT License |
commons/base/src/main/java/com/cactus/commons/base/ViewModelDelegate.kt | rafaelkapi | 817,537,357 | false | {"Kotlin": 48818} | /*
* Copyright (c)
* 2018-2021 XP Inc
* All Rights Reserved
*/
package com.cactus.commons.base
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModelProvider
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KClass
import kotlin.reflect.KProperty
class ViewModelDelegate<T... | 0 | Kotlin | 0 | 0 | fdbe69fd08e72dc1c96db476e4576dc246c9a8b9 | 845 | PokemonApp | MIT License |
client_end_user/shared/src/commonMain/kotlin/domain/usecase/TrackOrdersUseCase.kt | TheChance101 | 671,967,732 | false | null | package domain.usecase
import domain.entity.DeliveryRide
import domain.entity.FoodOrder
import domain.entity.Location
import domain.entity.TaxiRide
import domain.entity.Trip
import domain.entity.TripStatus
import domain.gateway.ITransactionsGateway
import domain.gateway.IUserGateway
import domain.gateway.local.ILocalC... | 4 | null | 55 | 572 | 1d2e72ba7def605529213ac771cd85cbab832241 | 2,838 | beep-beep | Apache License 2.0 |
src/main/kotlin/com/github/strindberg/emacsj/actions/search/ISearchRegexpBackwardAction.kt | strindberg | 719,602,205 | false | {"Kotlin": 292374} | package com.github.strindberg.emacsj.actions.search
import com.github.strindberg.emacsj.search.Direction
import com.github.strindberg.emacsj.search.ISearchHandler
import com.github.strindberg.emacsj.search.SearchType
import com.intellij.openapi.editor.actionSystem.EditorAction
class ISearchRegexpBackwardAction :
... | 4 | Kotlin | 3 | 16 | dd7519a2cf6f98dd3895e3a519fd66f8e5ded35a | 426 | emacsj | MIT License |
app/src/main/java/com/samuelokello/kazihub/presentation/business/Home/state/CreateJobViewModel.kt | OkelloSam21 | 749,782,789 | false | {"Kotlin": 278061} | package com.samuelokello.kazihub.presentation.business.Home.state
import android.content.Context
import android.widget.Toast
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.samuelokello.kazihub.domain.model.job.category.CategoryResponse
import com.samuelokello.kazihub.domain.mod... | 0 | Kotlin | 0 | 0 | e2c0776f721e24e2667a98066d79cf6554a5f040 | 5,279 | KaziHub | MIT License |
embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/session/id/SessionIdTrackerImplTest.kt | embrace-io | 704,537,857 | false | null | package io.embrace.android.embracesdk.session.id
import io.embrace.android.embracesdk.FakeNdkService
import io.embrace.android.embracesdk.internal.logging.EmbLoggerImpl
import io.embrace.android.embracesdk.internal.session.id.SessionIdTracker
import io.embrace.android.embracesdk.internal.session.id.SessionIdTrackerImp... | 9 | null | 7 | 133 | a7d76f379f1e190c0deaddbb783d63ac953fd1df | 1,218 | embrace-android-sdk | Apache License 2.0 |
app/src/main/java/com/example/lanashop/MyApplication.kt | Steffcs | 244,194,052 | false | null | package com.example.lanashop
import android.app.Application
import com.example.lanashop.di.AppModule
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin
import androidx.multidex.MultiDex
class MyApplication : Application() {
over... | 0 | Kotlin | 0 | 0 | 0a8c07fc297e2811aededbaa440c5b77c8a7f72d | 542 | lanaShop | MIT License |
papa/src/main/java/papa/internal/AppStartListener.kt | square | 407,688,593 | false | null | package tart.internal
import android.content.ContentProvider
import android.content.ContentValues
import android.content.Context
import android.content.pm.ProviderInfo
import android.database.Cursor
import android.net.Uri
/**
* Registered [ContentProvider]s receive their [attachInfo] callback before
* [android.app.... | 6 | null | 5 | 353 | 2ce2018099c2acda7f50a8bd37061865c3dfe5e8 | 1,282 | papa | Apache License 2.0 |
Android/app/src/main/java/top/vuhe/android/model/UserViewModel.kt | vuhe | 367,767,849 | false | null | package top.vuhe.android.model
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import top.vuhe.android.entity.User
object UserViewModel : ViewModel() {
val user
get() = currUser.value!!
private val currUser = MutableLiveData<User>()
init {
currUser.value = Us... | 0 | Kotlin | 0 | 0 | 754cdf1e7b1e22e8a30be5dd36bb1b5031eb5f9a | 665 | AndroidTest | MIT License |
src/integrationTest/kotlin/com/sourcegraph/cody/edit/DocumentCodeTest.kt | sourcegraph | 702,947,607 | false | null | package com.sourcegraph.cody.edit
import com.sourcegraph.cody.edit.actions.DocumentCodeAction
import com.sourcegraph.cody.edit.actions.lenses.EditAcceptAction
import com.sourcegraph.cody.edit.actions.lenses.EditCancelAction
import com.sourcegraph.cody.edit.actions.lenses.EditUndoAction
import com.sourcegraph.cody.edit... | 298 | null | 19 | 60 | 813d3f5b2eb5e9739784a78751f5eee27d80d1fe | 4,853 | jetbrains | Apache License 2.0 |
shared/src/commonMain/kotlin/com/techbeloved/hymnbook/shared/model/ext/OpenLyricsExt.kt | techbeloved | 133,724,406 | false | {"Gradle": 4, "Java Properties": 1, "Shell": 4, "Ignore List": 3, "Batchfile": 1, "Text": 11, "Markdown": 4, "Gradle Kotlin DSL": 2, "Kotlin": 231, "TOML": 1, "INI": 1, "YAML": 1, "Proguard": 2, "JSON": 9, "XML": 134, "Java": 6, "HTML": 1, "Ruby": 2, "OpenStep Property List": 9, "Swift": 2, "Objective-C": 7, "C": 30} | package com.techbeloved.hymnbook.shared.model.ext
import com.techbeloved.hymnbook.shared.model.Lyric
public fun OpenLyricsSong.Verse.toLyric(): Lyric = Lyric(
type = Lyric.Type.entries.firstOrNull {
name.first().equals(it.name.first(), ignoreCase = true)
} ?: Lyric.Type.Verse,
label = name,
co... | 3 | Kotlin | 11 | 8 | ed66da76ade81ccc97c28d3582f8aed1fc595d0a | 396 | hymnbook | MIT License |
src/main/kotlin/br/com/jiratorio/domain/issue/FindIssueResult.kt | jirareport | 126,883,660 | false | {"Kotlin": 628412, "Dockerfile": 302} | package br.com.jiratorio.domain.issue
data class FindIssueResult(
val query: String,
val issues: List<JiraIssue>,
)
| 12 | Kotlin | 12 | 21 | 845540e238f47fbd05c1f7f6839152545521c63e | 125 | jirareport | MIT License |
src/main/kotlin/com/sk/leetcode/google/359. Logger Rate Limiter.kt | sandeep549 | 262,513,267 | false | {"Gradle": 2, "INI": 2, "Shell": 1, "Text": 4, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 511} | package com.sk.leetcode.google
private val messageMap = mutableMapOf<String, Int>()
fun shouldPrintMessage(timestamp: Int, message: String): Boolean {
if (!messageMap.containsKey(message) || timestamp - messageMap[message]!! >= 10) {
messageMap[message] = timestamp
return true
}
messageMap.... | 1 | null | 1 | 1 | 67688ec01551e9981f4be07edc11e0ee7c0fab4c | 916 | leetcode-answers-kotlin | Apache License 2.0 |
app/src/main/java/com/github/poad/test/deviceflowexample/api/OAuthDeviceCode.kt | poad | 427,071,658 | false | null | package com.github.poad.test.deviceflowexample.api
import com.google.gson.annotations.SerializedName
data class OAuthDeviceCode(
@SerializedName("device_code")
val deviceCode: String,
@SerializedName("user_code")
val userCode: String,
@SerializedName("verification_uri")
val verificationUri: St... | 0 | Kotlin | 0 | 1 | dc0a02f00db048b6553d5a173daeb5367155e091 | 594 | android-tiny-device-flow-client | Creative Commons Zero v1.0 Universal |
src/main/kotlin/no/nav/helse/oppslag/infotrygdberegningsgrunnlag/InfotrygdBeregningsgrunnlagFactory.kt | navikt | 157,684,573 | false | {"Kotlin": 756905, "Shell": 328, "Dockerfile": 47} | package no.nav.helse.oppslag.infotrygdberegningsgrunnlag
import no.nav.tjeneste.virksomhet.infotrygdberegningsgrunnlag.v1.binding.InfotrygdBeregningsgrunnlagV1
import org.apache.cxf.feature.Feature
import org.apache.cxf.interceptor.Interceptor
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean
import org.apache.cxf.mes... | 0 | Kotlin | 0 | 1 | ed034e9b111afd53715c410029b67c8b06aaf702 | 1,381 | helse-sparkel | MIT License |
fragmentation-core-androidx/src/main/java/me/yokeyword/fragmentation/helper/internal/TransactionRecord.kt | tiamosu | 179,184,818 | true | {"Kotlin": 397143} | package me.yokeyword.fragmentation.helper.internal
import android.view.View
import java.util.ArrayList
/**
* @hide Created by YoKey on 16/11/25.
*/
class TransactionRecord {
var tag: String? = null
var targetFragmentEnter = Integer.MIN_VALUE
var currentFragmentPopExit = Integer.MIN_VALUE
var curren... | 0 | Kotlin | 0 | 0 | 2809ae04c90c90ea2cc7e4c25320094dc3b0627f | 576 | fragmentation-androidx | Apache License 2.0 |
src/main/kotlin/com/exerro/simpleui/ui/UIController.kt | exerro | 394,747,190 | false | null | package com.exerro.simpleui.ui
import com.exerro.simpleui.*
import com.exerro.simpleui.event.EWindowResized
import com.exerro.simpleui.event.WindowEvent
import com.exerro.simpleui.event.filterIsInstance
import com.exerro.simpleui.ui.extensions.singleChild
import com.exerro.simpleui.ui.internal.ComponentInstance
import... | 4 | Kotlin | 0 | 0 | b8ecf8257500cae37e6b07f14ce65a4b32309eca | 6,602 | simpleUI | MIT License |
plugins/filePrediction/src/com/intellij/filePrediction/predictor/FilePredictionCandidate.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.filePrediction.predictor
import com.intellij.filePrediction.candidates.FilePredictionCandidateSource
import com.intellij.filePrediction.features.FilePredicti... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 632 | intellij-community | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/iotsitewise/CfnAssetModelAssetModelPropertyPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.iotsitewise
import io.cloudshiftdev.awscdkdsl.common.CdkD... | 4 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 4,241 | awscdk-dsl-kotlin | Apache License 2.0 |
swan-third-libs/shark-libs/shark-graph/src/main/java/shark/internal/hppc/HPPC.kt | YoungTr | 469,053,611 | false | null | /*
* Copyright 2010-2013, <NAME> s.c., Boznicza 11/56, Poznan, Poland
*
* 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
*
* Unl... | 88 | null | 411 | 8 | 65169f46a5af9af3ce097d2cbb67b8f34e9df3f1 | 2,533 | Swan | Apache License 2.0 |
src/main/kotlin/playground/common/messaging/publisher/TopicPublisher.kt | dtkmn | 596,118,171 | false | {"Kotlin": 333222, "Dockerfile": 763} | package playground.common.messaging.publisher
import playground.common.messaging.MessageMetadata
import playground.common.messaging.config.PRODUCER_ONLY_KAFKA_TRANSACTION_MANAGER
import org.springframework.beans.factory.annotation.Qualifier
import org.springframework.kafka.core.KafkaTemplate
import org.springframework... | 0 | Kotlin | 0 | 0 | 49b517c2197a6fa79a8532225ce294b213f2356a | 1,596 | kotlin-playground | MIT License |
core-api/src/test/kotlin/io/ryp/shared/model/ProjectDtoTest.kt | nilscodes | 769,729,247 | false | {"Kotlin": 901616, "TypeScript": 887764, "Dockerfile": 8250, "Shell": 7536, "JavaScript": 1867} | package io.ryp.shared.model
import io.ryp.core.createDefaultObjectMapper
import nl.jqno.equalsverifier.EqualsVerifier
import org.junit.jupiter.api.Test
import org.skyscreamer.jsonassert.JSONAssert
import java.time.OffsetDateTime
internal class ProjectDtoTest {
@Test
fun testEqualsAndHashCode() {
Equal... | 0 | Kotlin | 0 | 0 | a03ddb79eb7a71d0c440584c758cb5600c29c15e | 2,415 | reach-your-people | Apache License 2.0 |
src/main/java/com/tang/intellij/lua/comment/psi/LuaDocPsiImplUtil.kt | cyanmoondev | 103,653,434 | true | {"C": 2447035, "C++": 748984, "HTML": 714103, "Kotlin": 420402, "Java": 416964, "Lua": 325698, "Makefile": 23168, "Assembly": 17667, "Lex": 12031, "Roff": 10538, "CSS": 4857, "Objective-C": 3611} | /*
* Copyright (c) 2017. tangzx(<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 agree... | 0 | C | 0 | 1 | 11d9e4c63651cfb49d2d9d1aa101468353fb1bbb | 6,237 | IntelliJ-EmmyLua | Apache License 2.0 |
testing/ledger/ledger-utxo-testkit/src/main/kotlin/net/corda/ledger/utxo/testkit/UtxoTransactionMetadataExample.kt | corda | 346,070,752 | false | null | package net.corda.ledger.utxo.testkit
import net.corda.ledger.common.data.transaction.TransactionMetadataImpl
import net.corda.ledger.common.data.transaction.WireTransactionDigestSettings
import net.corda.ledger.common.testkit.cpiPackageSummaryExample
import net.corda.ledger.common.testkit.cpkPackageSummaryListExample... | 82 | null | 9 | 28 | fa43ea7a49afb8ed2d1686a6e847c8a02d376f85 | 1,499 | corda-runtime-os | Apache License 2.0 |
tests/e2e-tests/src/main/kotlin/api_models/Events.kt | hyperledger-labs | 512,835,706 | false | {"Scala": 2104103, "Kotlin": 112410, "Jupyter Notebook": 68331, "TypeScript": 45133, "Shell": 24321, "Python": 14535, "Gherkin": 7706, "Smarty": 1611, "JavaScript": 1205, "Dockerfile": 320} | package api_models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
@Serializable
data class Event(
var type: String,
var id: String,
var ts: String,
var data: JsonElement,
var walletId: String,
) : JsonEncoded
@Serializable
data class ConnectionEvent(
v... | 13 | Scala | 5 | 24 | 520483836e5b572e8aeeecd28f4bbe7cc668c3d9 | 966 | open-enterprise-agent | Apache License 2.0 |
tests/e2e-tests/src/main/kotlin/api_models/Events.kt | hyperledger-labs | 512,835,706 | false | {"Scala": 2104103, "Kotlin": 112410, "Jupyter Notebook": 68331, "TypeScript": 45133, "Shell": 24321, "Python": 14535, "Gherkin": 7706, "Smarty": 1611, "JavaScript": 1205, "Dockerfile": 320} | package api_models
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
@Serializable
data class Event(
var type: String,
var id: String,
var ts: String,
var data: JsonElement,
var walletId: String,
) : JsonEncoded
@Serializable
data class ConnectionEvent(
v... | 13 | Scala | 5 | 24 | 520483836e5b572e8aeeecd28f4bbe7cc668c3d9 | 966 | open-enterprise-agent | Apache License 2.0 |
src/main/kotlin/dev/isxander/commando/utils/Coroutines.kt | isXander | 479,472,234 | false | {"Kotlin": 47250, "Java": 6024} | package dev.isxander.commando.utils
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.*
import kotlin.time.Duration
import kotlin.time.Duration.Companion.milliseconds
/*
Taken from fabrik
thanks guys
*/
/**
* A CoroutineScope using the "Default" dispatcher
... | 0 | Kotlin | 0 | 0 | c912a577b222fb554184ebbf6e5cce727067314d | 2,018 | Commando | MIT License |
compiler/testData/diagnostics/testsWithStdLib/coroutines/illegalSuspendCalls.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_REVERSED_RESOLVE
// FIR_IDENTICAL
import Host.bar
object Host {
suspend fun bar() {}
}
suspend fun foo() {}
fun noSuspend() {
<!ILLEGAL_SUSPEND_FUNCTION_CALL!>foo<!>()
<!ILLEGAL_SUSPEND_FUNCTION_CALL!>bar<!>()
}
class A {
init {
<!ILLEGAL_SUSPEND_FUNCTION_CALL!>foo<!>()
<!I... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 467 | kotlin | Apache License 2.0 |
modules/bson/sources-jvm/extensions/Duration.kt | fluidsonic | 246,018,343 | false | null | package io.fluidsonic.raptor
import kotlin.time.*
import kotlin.time.Duration.*
@OptIn(ExperimentalTime::class)
public fun Companion.bsonDefinition(): RaptorBsonDefinition = raptor.bson.definition<Duration> {
decode<String>(::parseIsoString)
encode(Duration::toIsoString)
}
| 0 | Kotlin | 1 | 3 | 47239ea4c2acb76e14b2125190ee76f253b60e4f | 279 | raptor | Apache License 2.0 |
app/src/main/java/com/cataractaction/ui/components/cataractcheck/TextCataract.kt | CatarAction-C23-PS004 | 642,576,405 | false | null | package com.cataractaction.ui.components.cataractcheck
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.material.MaterialTheme
import androidx.compose.m... | 0 | Kotlin | 0 | 1 | 513b389237b0ce59eb767d2c325238523aedeccc | 6,324 | CatarAction-Mobile | The Unlicense |
app/src/main/java/com/skydoves/githubfollows/preference/Profile.kt | MaTriXy | 198,682,032 | true | {"Kotlin": 103410} | package com.skydoves.githubfollows.preference
import com.skydoves.preferenceroom.KeyName
import com.skydoves.preferenceroom.PreferenceEntity
/**
* Developed by skydoves on 2018-01-27.
* Copyright (c) 2018 skydoves rights reserved.
*/
@Suppress("unused")
@PreferenceEntity("UserProfile")
open class Profile {
@Key... | 0 | Kotlin | 0 | 0 | c62e12e141d1feaa4fad99158ebf511ac4f2102b | 441 | GithubFollows | MIT License |
tests/src/test/kotlin/dev/restate/e2e/runtime/IngressServiceTest.kt | restatedev | 489,007,488 | false | {"Kotlin": 162923, "TypeScript": 66199, "Java": 52035, "Shell": 760, "Dockerfile": 403} | // Copyright (c) 2023 - Restate Software, Inc., Restate GmbH
//
// This file is part of the Restate e2e tests,
// which are released under the MIT license.
//
// You can find a copy of the license in file LICENSE in the root
// directory of this repository or package, or at
// https://github.com/restatedev/e2e/blob/mai... | 9 | Kotlin | 2 | 2 | 74e65277e535e36f0c854ae4076016c16658eab9 | 6,230 | e2e | MIT License |
lang/src/main/kotlin/org/partiql/lang/eval/visitors/SelectStarVisitorTransform.kt | partiql | 186,474,394 | false | null | package org.partiql.lang.eval.visitors
import com.amazon.ionelement.api.emptyMetaContainer
import org.partiql.lang.ast.UniqueNameMeta
import org.partiql.lang.domains.PartiqlAst
import org.partiql.lang.errors.ErrorCode
import org.partiql.lang.eval.errNoContext
class SelectStarVisitorTransform : VisitorTransformBase() ... | 210 | null | 59 | 523 | 6e5d4a637871bccb90f49596d043549e22c15a51 | 6,077 | partiql-lang-kotlin | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/FireHydrant.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
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 | 3,503 | icons | MIT License |
testksp/app/src/main/java/com/example/testksp/ui/lc/Tabs.kt | longerhhh | 481,210,079 | false | null | package com.example.testksp.ui.lc
import androidx.compose.material.Tab
import androidx.compose.material.TabRow
import androidx.compose.runtime.Composable
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
| 0 | Kotlin | 0 | 3 | cfadd0844373d96200014188ace203217d162ca4 | 243 | android_learn | Apache License 2.0 |
app/src/main/java/com/kakyiretechnologies/retrofit_dagger_rxjava_mvp_navcomponent/model/MovieResponse.kt | Kakyire | 308,177,946 | false | null | package com.kakyiretechnologies.retrofit_dagger_rxjava_mvp_navcomponent.model
import com.google.gson.annotations.SerializedName
data class MovieResponse(
@SerializedName("page")
val page: Int,
@SerializedName("results")
val movieResults: List<MovieResults>,
@SerializedName("total_pages")
val ... | 0 | Kotlin | 0 | 0 | 3ff186e70b9ef43d4e52cabc42ae017cacc751e6 | 401 | Movie-Info | Apache License 2.0 |
idea/testData/refactoring/move/kotlin/moveFile/addExtensionImport/before/source/foo.kt | JakeWharton | 99,388,807 | false | null | package source
import target.foo
class C
fun test(c: C) {
c.foo()
} | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 74 | kotlin | Apache License 2.0 |
compiler/fir/analysis-tests/testData/resolve/extraCheckers/canBeReplacedWithOperatorAssignment/logicOperators.kt | JetBrains | 3,432,266 | false | null | fun foo(something: Boolean) {
var res = false
<!ASSIGNED_VALUE_IS_NEVER_READ!>res<!> = res and something
} | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 114 | kotlin | Apache License 2.0 |
inline-classes/src/main/java/4.4 - IntDef.kt | emartynov | 33,232,997 | false | {"Ignore List": 1, "Markdown": 11, "Gradle": 2, "INI": 1, "Kotlin": 16, "Java": 1} |
enum class ThreeStateEnum(val wrapped: Int) {
FIRST_STATE(1),
SECOND_STATE(2),
THIRD_STATE(3)
}
const val FIRST_STATE = 1
///------------------------------
inline class ThreeState(val value: Int)
object PerfMatters {
val FIRST_STATE = ThreeState(1)
val SECOND_STATE = ThreeState(2)
val ... | 1 | null | 1 | 1 | 7dfb9f0bb86bc12e34abbda41c6059d6c326d32c | 589 | presentations | Creative Commons Attribution 4.0 International |
feature-polkaswap-impl/src/main/kotlin/jp/co/soramitsu/polkaswap/impl/presentation/swap_preview/SwapPreviewFragment.kt | soramitsu | 278,060,397 | false | {"Kotlin": 5738459, "Java": 18796} | package jp.co.soramitsu.polkaswap.impl.presentation.swap_preview
import android.content.DialogInterface
import android.widget.FrameLayout
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.get... | 15 | Kotlin | 30 | 89 | 1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2 | 2,083 | fearless-Android | Apache License 2.0 |
Common/src/main/java/cn/githink/common/presenter/AppPresenter.kt | githinkcn | 158,341,321 | false | {"Gradle": 6, "XML": 141, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "INI": 2, "Proguard": 4, "Java": 6, "Kotlin": 70} | package cn.githink.common.presenter
import android.content.Context
import cn.githink.common.presenter.view.AppView
import com.githink.common.utils.NetWorkUtils
import com.trello.rxlifecycle.LifecycleProvider
import javax.inject.Inject
open class AppPresenter<V:AppView> {
lateinit var mView: V
@Inject
l... | 0 | Kotlin | 0 | 4 | 44f90eea53e758720f474da6ce6cf0e0b7dbca6a | 631 | KotlinApp | Apache License 2.0 |
clients/ktorm-schema/generated/src/main/kotlin/org/openapitools/database/models/ProductType1Filter.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
* Pinterest REST API
* Pinterest's REST API
*
* The version of the OpenAPI document: 5.12.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.database.models
... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 1,471 | pinterest-sdk | MIT License |
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForType.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.fir.annotations
import org.jetbrains.kotlin.analysis.api.annotation... | 7 | null | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 2,436 | kotlin | Apache License 2.0 |
spring-integration-core/src/main/kotlin/org/springframework/integration/dsl/AbstractKotlinRouterSpec.kt | AlanBinu007 | 361,975,473 | true | {"Java": 14969603, "Kotlin": 103507, "HTML": 44319, "CSS": 12794, "XSLT": 1307, "Groovy": 695, "Ruby": 662, "Python": 229} | /*
* Copyright 2020-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 135 | null | 1103 | 4 | 0dfbfa0677ae2a34d07a775d1545f5a1ab811e5b | 1,950 | spring-integration | Apache License 2.0 |
app/src/main/java/com/yuhang/novel/pirate/ui/main/viewmodel/MeViewModel.kt | yuhanghate | 200,383,190 | false | {"Java": 1605624, "Kotlin": 875945, "HTML": 3256} | package com.yuhang.novel.pirate.ui.main.viewmodel
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.provider.Settings
import androidx.annotation.RequiresApi
import com.tamsiree.rxkit.RxDeviceTool
import com.yuhang.novel.pirate.base.BaseViewModel
import com.yuhang.novel.pirate.... | 1 | Java | 1 | 2 | 8c72fc787a2927efb10c8c03b714195c7b1a6c76 | 2,514 | Pirate | Apache License 2.0 |
vector/src/main/java/im/vector/app/features/usercode/UserCodeShareViewEvents.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright (c) 2020 New Vector Ltd
*
* 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 agr... | 55 | null | 6 | 9 | f088d7c2be9d4546057e90215c5171c04d227267 | 1,261 | tchap-android | Apache License 2.0 |
bbfgradle/tmp/results/diffABI/xhqzrcl_FILE.kt | DaniilStepanov | 346,008,310 | false | null | // Bug happens on JVM , JVM -Xuse-ir
// WITH_REFLECT
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// IGNORE_BACKEND: JS_IR_ES6
// FILE: tmp0.kt
package test
import kotlin.test.assertEquals
@Deprecated("ncxxu", ReplaceWith("qayjr", "aehyk"), kotlin.DeprecationLevel.HIDDEN)
enum class E { @Deprecated("nlwrz", ReplaceWith("edi... | 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 1,009 | kotlinWithFuzzer | Apache License 2.0 |
feature/contributor/src/test/java/io/github/droidkaigi/confsched2020/contributor/ui/viewmodel/ContributorsViewModelTest.kt | DroidKaigi | 202,978,106 | false | null | package io.github.droidkaigi.confsched2020.contributor.ui.viewmodel
import com.jraska.livedata.test
import io.github.droidkaigi.confsched2020.model.repository.ContributorRepository
import io.github.droidkaigi.confsched2020.widget.component.MockkRule
import io.github.droidkaigi.confsched2020.widget.component.ViewModelT... | 46 | Kotlin | 331 | 785 | 4c5533e4611d4bf6007284dd1f61db2fc92eb0ae | 1,362 | conference-app-2020 | Apache License 2.0 |
app/src/main/java/com/kyberswap/android/domain/usecase/send/ENSResolveUseCase.kt | KYRDTeam | 181,612,742 | false | null | package com.kyberswap.android.domain.usecase.send
import androidx.annotation.VisibleForTesting
import com.kyberswap.android.domain.SchedulerProvider
import com.kyberswap.android.domain.repository.SwapRepository
import com.kyberswap.android.domain.usecase.SequentialUseCase
import io.reactivex.Single
import javax.inject... | 1 | null | 10 | 26 | abd4ab033d188918849e5224cc8204409776391b | 763 | android-app | MIT License |
app/src/main/java/com/app/biometricscanner/application/ApplicationClass.kt | Barai-Vivek | 253,254,084 | false | null | package com.app.biometricscanner.application
import android.app.Activity
import android.app.Application
import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.app.biometricscanner.HelperClass
import com.app.biometricscanner.activities.LockScreenActivity
import com.app.biometri... | 1 | Kotlin | 1 | 2 | 404e6261a56fc7a2066ead3d9962d54fd048c261 | 3,390 | BiometricScannerDemo | MIT License |
vpn/src/main/java/com/duckduckgo/mobile/android/vpn/blocklist/AppTrackerListUpdateWorker.kt | merlinepedra | 512,052,687 | false | null | /*
* Copyright (c) 2021 DuckDuckGo
*
* 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 ... | 1 | null | 1 | 2 | a2bd96c06e3d47a685645766d3797c8e04aba46f | 6,018 | Android-App-Duckduckgo | Apache License 2.0 |
src/main/kotlin/com/demonwav/mcdev/update/package-info.kt | Earthcomputer | 240,984,777 | false | null | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2021 minecraft-dev
*
* MIT License
*/
/**
* This entire package was shamelessly taken from the IntelliJ Kotlin plugin, so thanks to the JetBrains folks for
* that. Though a built-in system would be superior...
* https://github.co... | 204 | null | 2 | 23 | ab8aaeb8804c7a8b2e439e063a73cb12d0a9d4b5 | 464 | MinecraftDev | MIT License |
frontend-independent/src/org/jetbrains/kotlin/plugin/references/SimpleNameReferenceExtension.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.plugin.references
import com.intellij.openapi.extensions.ExtensionPointName
impo... | 181 | null | 5748 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 910 | intellij-kotlin | Apache License 2.0 |
src/main/java/com/impact/addon/gt/api/satellite/SatelliteNetworkManager.kt | GT-IMPACT | 272,411,733 | false | {"Java": 2070057, "Kotlin": 191017} | package com.impact.addon.gt.api.satellite
import com.impact.addon.gt.api.position.IPosition
object SatelliteNetworkManager {
private val SATELLITE_LIST: HashSet<ISatellite> = HashSet()
fun reload() {
SATELLITE_LIST.clear()
}
fun addSatelliteToWorld(satellite: ISatellite): Boolean {
... | 0 | Java | 4 | 3 | 1320d520b6a96e18d609fd8ac3520b2a3f1f2f0c | 733 | Impact-Core | MIT License |
app/src/test/java/com/lbg/mvvmClean/domain/usecase/catDetails/DeleteFavCatUseCaseTest.kt | P-C-Data | 766,939,670 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 9, "Shell": 1, "Text": 19, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "Kotlin": 84, "XML": 261, "JSON": 229, "Java": 12, "INI": 6, "Unix Assembly": 1, "SQL": 9, "Motorola 68K Assembly": 2, "HTML": 3, "CSS": 2, "JavaScript": 1, "Ignore List": 1} | package com.lbg.mvvmClean.domain.usecase.catDetails
import com.lbg.mvvmClean.data.NetworkResult
import com.lbg.mvvmClean.domain.mappers.CallSuccessModel
import com.lbg.mvvmClean.domain.repositories.CatDetailsRepository
import com.lbg.mvvmClean.domain.usecase.catsDetail.DeleteFavCatUseCaseImpl
import com.lbg.mvvmClean.... | 0 | Java | 0 | 1 | 46d9851aea4c7f3bc9c6275af332fd0976cc871c | 4,125 | LBG-MVVM-Clean-Koin-SingleActivity | Apache License 2.0 |
baselibrary/src/main/kotlin/com/notch/DefaultNotchScreenSupport.kt | cc17236 | 297,074,446 | false | null | package com.notch
import android.graphics.Rect
import android.view.Window
import java.util.*
/**
* Created by feifan on 2018/6/15.
* Contacts me:<EMAIL>
*/
internal class DefaultNotchScreenSupport : INotchScreenSupport {
override fun hasNotchInScreen(window: Window): Boolean {
val decorView = window.de... | 0 | Kotlin | 0 | 0 | 219c6d63fee41a9f28e9f935a3d222159d12d5e3 | 794 | AnroidKotlinSample | Apache License 2.0 |
fragment/fragment/src/main/java/androidx/fragment/app/strictmode/SetUserVisibleHintViolation.kt | JetBrains | 351,708,598 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 16 | 59 | 3fbd775007164912b34a1d59a923ad3387028b97 | 1,147 | androidx | Apache License 2.0 |
px-checkout/src/main/java/com/mercadopago/android/px/internal/callbacks/DeepLinkFrom.kt | ETS-Android5 | 497,641,294 | true | {"Java Properties": 1, "Markdown": 7, "Gradle": 15, "Shell": 1, "INI": 4, "YAML": 2, "Batchfile": 1, "Text": 1, "Ignore List": 7, "Proguard": 5, "XML": 228, "Kotlin": 655, "Java": 446, "JSON": 45, "HTML": 309, "JavaScript": 14, "CSS": 6, "SVG": 2, "Python": 2} | package com.mercadopago.android.px.internal.callbacks
internal enum class DeepLinkFrom(val value: String) {
NONE("none"),
MONEY_IN("money_in")
}
| 0 | Java | 0 | 0 | 99f1433c4147dfd8646420fefacc688f23fc390f | 154 | px-android | MIT License |
oreo/src/main/java/com/cdts/oreo/data/local/ORLruCache.kt | cdtschange | 166,061,207 | false | null | package com.cdts.oreo.data.local
import android.content.Context
import android.os.Environment
import com.cdts.oreo.data.encrypt.md5
import com.cdts.oreo.ui.application.ORApplication
import com.jakewharton.disklrucache.DiskLruCache
import java.io.File
import java.io.ObjectInputStream
import java.io.ObjectOutputStream
... | 0 | Kotlin | 0 | 0 | 57de6a1c25d637dad9710fac3968853671995c52 | 3,996 | android-oreo | MIT License |
modules/features/root/ui/src/commonMain/kotlin/com/makeevrserg/applicationtemplate/mobile/features/info/ui/components/LinkWidget.kt | makeevrserg | 752,255,824 | false | {"Kotlin": 68145} | package com.makeevrserg.applicationtemplate.mobile.features.info.ui.components
import androidx.compose.runtime.Composable
import com.makeevrserg.applicationtemplate.mobile.core.ui.components.RowSettingChevronItem
import com.makeevrserg.applicationtemplate.mobile.features.info.linkbrowser.LinkBrowser
import com.makeevr... | 0 | Kotlin | 0 | 0 | 900a3c3dbc3004a1e84f6ad997d99c79c9bbcac2 | 714 | KMP-Template | Apache License 2.0 |
app/src/test/java/com/appsolute/coinapp/repository/CoinRepositoryTest.kt | braveheart3208 | 636,998,481 | false | {"Kotlin": 55967} | package com.appsolute.coinapp.repository
import com.appsolute.coinapp.data.model.remote.CoinApi
import com.appsolute.coinapp.data.model.remote.dto.coin.CoinDTO
import com.appsolute.coinapp.data.model.remote.dto.coindetail.CoinDetailDTO
import com.appsolute.coinapp.data.repository.CoinRepoImpl
import com.appsolute.coin... | 0 | Kotlin | 0 | 0 | 67eecd6fabc85534b0713e25cd066d9a0ee0c29b | 2,631 | CryptoCoinApplication | MIT License |
08slidelayout/src/main/java/com/guangkai/slidelayout/MainActivity.kt | KeithyYu | 599,514,965 | false | null | package com.guangkai.slidelayout
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
class MainActivity : AppCompatActivity() {
private lateinit var mRecyclerVi... | 0 | Kotlin | 0 | 0 | 8d4da726656402bf31beeec8fa0cff6f69361263 | 1,501 | CustomView | MIT License |
android/mlkit-automl/app/src/main/java/com/google/firebase/codelab/mlkit/automl/StillImageActivity.kt | googlecodelabs | 185,446,574 | false | null | /**
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 5 | Swift | 2 | 13 | bec51615d216da3a93e15789b81bf57f80b98622 | 6,710 | automl-vision-edge-in-mlkit | Apache License 2.0 |
compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/FirOverrideService.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 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.fir.scopes
import org.jetbrains.kotlin.descriptors.Visibilities
import org.jetbr... | 157 | null | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 8,188 | kotlin | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/intentions/convertLambdaToReference/constructor2.kt | ingokegel | 72,937,917 | false | null | // AFTER-WARNING: Parameter 'x' is never used
class A {
class B {}
}
fun foo(x: () -> A.B) {}
fun main() {
foo <caret>{ A.B() }
}
// IGNORE_K2
| 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 154 | intellij-community | Apache License 2.0 |
idea/src/org/jetbrains/kotlin/idea/refactoring/dataContextUtils.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.refactoring
import com.intellij.openapi.actionSystem.CommonDataKeys
import ... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 755 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/alanvan/linhrecipe/features/account/AccountManager.kt | alanvan0502 | 245,131,658 | false | null | package com.alanvan.linhrecipe.features.account
import android.os.CountDownTimer
import com.alanvan.domain.features.account.GetAuthUseCase
import com.alanvan.linhrecipe.LRApplication
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.subjects.PublishSubject
import org.kodein.di.Kodein
import org.k... | 0 | Kotlin | 0 | 2 | 169a73a51df6ce7f310fda45418ccdabd7624ceb | 2,052 | LinhRecipe | MIT License |
ok-propertysale-be-app-kotless/src/main/kotlin/ru/otus/otuskotlin/propertysale/be/app/kotless/HandleRoute.kt | otuskotlin | 330,109,804 | false | null | package ru.otus.otuskotlin.propertysale.be.app.kotless
import io.kotless.dsl.lang.KotlessContext
import kotlinx.coroutines.runBlocking
import kotlinx.serialization.InternalSerializationApi
import kotlinx.serialization.json.Json
import kotlinx.serialization.serializer
import org.slf4j.Logger
import org.slf4j.LoggerFact... | 0 | Kotlin | 0 | 1 | ed9a38627e64ed36131280ca7449547ba1d06829 | 1,821 | otuskotlin-202012-propertysale-ks | MIT License |
app/src/main/java/st235/com/github/seamcarving/utils/ColorExts.kt | st235 | 450,792,791 | false | {"Kotlin": 161871} | package st235.com.github.seamcarving.utils
import android.graphics.Color
import androidx.annotation.ColorInt
import kotlin.math.abs
import kotlin.math.sqrt
@ColorInt
fun Int.distance(that: Int): Int {
val dr = abs(Color.red(this) - Color.red(that))
val dg = abs(Color.green(this) - Color.green(that))
val ... | 0 | Kotlin | 2 | 6 | 133399ffc67ec0e738b582e66d11bd2fbf8e41ae | 435 | ContentAwarePhotoEditor | MIT License |
app/app/src/main/java/com/ingjuanocampo/enfila/domain/usecases/repository/CompanyRepository.kt | ingjuanocampo | 387,043,993 | false | {"Kotlin": 240432} | package com.ingjuanocampo.enfila.domain.usecases.repository
import com.ingjuanocampo.enfila.domain.entity.CompanySite
import com.ingjuanocampo.enfila.domain.usecases.repository.base.Repository
interface CompanyRepository : Repository<CompanySite>
| 0 | Kotlin | 0 | 0 | decebb226be191ec6382a7d60a97c5598d3f1bdf | 249 | EnFila-Android | MIT License |
app/src/main/java/com/duckduckgo/app/browser/WebDataManager.kt | akalankauk | 124,997,449 | false | null | /*
* Copyright (c) 2018 DuckDuckGo
*
* 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 ... | 1 | null | 1 | 3 | 03f99c4a381d880ab850f0ddde9f692057a840e0 | 1,280 | Android | Apache License 2.0 |
samples/orbit-2-posts/src/main/kotlin/com/babylon/orbit2/sample/posts/app/features/postlist/ui/PostListItem.kt | babylonhealth | 211,168,864 | false | null | /*
* Copyright 2020 Babylon Partners 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 applicable law... | 0 | Kotlin | 22 | 387 | 693b16bc8e43041b4e671d3439e13ee55a61f714 | 2,182 | orbit-mvi | Apache License 2.0 |
app/src/main/java/shvyn22/flexingmarvel/di/DatabaseModule.kt | shvyn22 | 348,811,041 | false | null | package shvyn22.flexingmarvel.di
import android.app.Application
import androidx.room.Room
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import shvyn22.flexingmarvel.data.local.AppDatabase
import shvyn22.flexingmarvel.data.local.dao.CharacterDa... | 0 | Kotlin | 1 | 0 | 7483fb47b48fd3336e1c4253146237b3a64a8784 | 1,212 | FlexingMarvel | MIT License |
failgood/test/failgood/docs/TestContextOnTopLevelExample.kt | failgood | 323,114,755 | false | {"Kotlin": 411790, "Java": 130} | @file:Test
package failgood.docs
import failgood.Test
import failgood.testCollection
// this is just needed for unit tests that want to load this file
val testContextsOnTopLevelExampleClassName: String = Throwable().stackTrace.first().className
val tests =
testCollection("test context declared on top level") {
... | 38 | Kotlin | 4 | 31 | bfb8a1e22350143fc27b12f295ad78d22541a792 | 390 | failgood | MIT License |
app/src/main/java/ly/david/mbjc/ui/experimental/SpotifyScreen.kt | lydavid | 458,021,427 | false | null | package ly.david.mbjc.ui.experimental
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.util.Log
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.m... | 11 | Kotlin | 0 | 0 | 4067d6463a41acfeeea529faa621b9478051ff5e | 5,634 | MusicSearch | Apache License 2.0 |
colleges/fsu/src/main/kotlin/io/github/opletter/courseevals/fsu/DataCleanup.kt | opLetter | 597,896,755 | false | {"Kotlin": 390993} | package io.github.opletter.courseevals.fsu
import io.github.opletter.courseevals.common.data.pmap
import io.github.opletter.courseevals.common.decodeJson
import io.github.opletter.courseevals.common.decodeJsonIfExists
import io.github.opletter.courseevals.common.writeAsJson
import io.github.opletter.courseevals.fsu.re... | 0 | Kotlin | 1 | 7 | 76721f932a99a0ce5803c8ef880705e0bb2e3481 | 3,302 | course-evals | MIT License |
app/src/main/java/com/asanarebel/android/ui/search/SearchRepositoryMvpPresenter.kt | ajaysaini-sgvu | 120,072,531 | false | null | package com.asanarebel.android.ui.search
import com.asanarebel.android.ui.base.MvpPresenter
interface SearchRepositoryMvpPresenter<V : SearchRepositoryMvpView> : MvpPresenter<V> {
fun onSearchRepositoryClick(query: String)
} | 0 | Kotlin | 0 | 3 | f7a0dd5887be597d06c6654fd40e6bf9a76ad42a | 232 | search-github-repo | Apache License 2.0 |
sdk-ext-lib/src/main/java/cash/z/ecc/sdk/fixture/PersistableWalletFixture.kt | zcash | 390,808,594 | false | null | package cash.z.ecc.sdk.fixture
import cash.z.ecc.android.sdk.model.BlockHeight
import cash.z.ecc.android.sdk.model.PersistableWallet
import cash.z.ecc.android.sdk.model.SeedPhrase
import cash.z.ecc.android.sdk.model.ZcashNetwork
object PersistableWalletFixture {
val NETWORK = ZcashNetwork.Mainnet
@Suppress(... | 154 | Kotlin | 7 | 13 | d86212cbda9366a1e6f3369aa7efe92126920912 | 649 | secant-android-wallet | MIT License |
frontend/kobweb-compose/src/jsMain/kotlin/com/varabyte/kobweb/compose/foundation/layout/Row.kt | varabyte | 389,223,226 | false | {"Kotlin": 1183340} | package com.varabyte.kobweb.compose.foundation.layout
import androidx.compose.runtime.*
import com.varabyte.kobweb.compose.dom.ElementRefScope
import com.varabyte.kobweb.compose.dom.registerRefScope
import com.varabyte.kobweb.compose.style.toClassName
import com.varabyte.kobweb.compose.ui.Alignment
import com.varabyte... | 113 | Kotlin | 48 | 992 | a6061d7a3b53383e055a94ef4aa430af6647f8b4 | 2,098 | kobweb | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/simulator/core/trygd/AvtaleKrit.kt | navikt | 753,551,695 | false | {"Kotlin": 1507098, "Java": 133600, "Dockerfile": 144} | package no.nav.pensjon.simulator.core.trygd
// no.nav.domain.pensjon.kjerne.kodetabeller.AvtaleKritCode
enum class AvtaleKrit {
/**
* Ikke yrkesaktiv, 3 års botid
*/
IK_YRK_BO,
/**
* Ikke yrkesaktiv, 1 års trygdetid
*/
IK_YRK_TRYGD,
/**
* Omfattet av bestemmelsene i ekspo... | 0 | Kotlin | 0 | 0 | 32ef34837491247c078a5052e9124fed6e99517d | 651 | pensjonssimulator | MIT License |
android_app/src/main/java/com/aglushkov/wordteacher/android_app/features/notes/views/NotesUI.kt | soniccat | 302,971,014 | false | null | package com.aglushkov.wordteacher.android_app.features.notes
import android.content.res.Configuration
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gestures.animateScrollBy
import androidx.compose.foundation.layout.*
import an... | 0 | null | 1 | 3 | d853cd31e7a609777bffb6ceef18461cccf8222d | 8,774 | WordTeacher | MIT License |
src/test/kotlin/seu/lr/ParsingTableTest.kt | five-20 | 616,272,179 | true | {"Kotlin": 38340, "Yacc": 9259} | package seu.lr
import org.junit.Test
import org.junit.BeforeClass
import seu.io.YaccFile
import kotlin.test.assertEquals
class ParsingTableTest {
companion object {
private lateinit var state1: State
private lateinit var state2: State
private lateinit var state3: State
private la... | 0 | null | 0 | 0 | cc95398adbdbc484a5442d3e6f44ab256b5c9f1f | 2,110 | SeuYacc | Apache License 2.0 |
_1_HelloWorld/src/main/kotlin/notes_3_/note_14_.kt | thwisse | 726,606,611 | false | {"Kotlin": 362097} | package notes_3_
import notes_3_.files_for_note_14_.*
import notes_3_.files_for_note_14_.User
fun main() {
// object oriented programming
// zaten bu konulari C# da ve kotlinin onceki kursunda gormustum. o sebeple burada
// sadece yeni ogrendigim seyleri not alacagim.
//
// (class User)
val u... | 0 | Kotlin | 0 | 0 | f7e7d0add5484a77f0d5e92a13385d0e05fd3288 | 9,378 | my_android_journey | MIT License |
automation/espresso/src/main/kotlin/com/instructure/espresso/page/InstructureTest.kt | pinkfloydsito | 158,381,179 | false | {"Java": 6945440, "Kotlin": 5619240, "HTML": 93306, "Ruby": 14808, "Shell": 12710, "Python": 2438, "CSS": 1356} | /*
* Copyright (C) 2017 - present Instructure, 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 requ... | 0 | Java | 0 | 0 | acce10d40cc95c6f98be41c90ea76af4dace0935 | 4,481 | lms-app | Apache License 2.0 |
src/main/kotlin/com/ort/lastwolf/domain/model/player/Player.kt | h-orito | 288,476,085 | false | {"Kotlin": 452455, "Batchfile": 522, "Shell": 454} | package com.ort.firewolf.domain.model.player
import com.ort.dbflute.allcommon.CDef
import com.ort.firewolf.fw.exception.FirewolfBusinessException
import com.ort.firewolf.fw.security.FirewolfUser
data class Player(
val id: Int,
val nickname: String,
val twitterUserName: String,
val otherSiteName: Strin... | 5 | Kotlin | 0 | 0 | efb378501b29f8c22c61d720c93753fc51fdd4b0 | 2,264 | lastwolf-api | MIT License |
src/lib/kotlin/slatekit-http/src/main/kotlin/slatekit/http/HttpCoroutine.kt | cybernetics | 365,666,746 | true | {"Kotlin": 2327187, "Shell": 14381, "Java": 14284, "Swift": 1555} | package slatekit.http
import okhttp3.Response
import slatekit.results.Notice
import slatekit.results.Outcome
import slatekit.results.Try
import slatekit.results.builders.Notices
import slatekit.results.builders.Outcomes
import slatekit.results.builders.Tries
import kotlin.coroutines.resume
import kotlin.coroutines.res... | 0 | null | 0 | 0 | b3770d512a72aa9351d16aba4addab41bd961872 | 2,045 | slatekit | Apache License 2.0 |
common/designsystem/src/main/java/com/cmc/curtaincall/common/designsystem/dimension/Paddings.kt | CurtainCall-App | 659,971,351 | false | {"Kotlin": 1298142} | package com.cmc.curtaincall.common.designsystem.dimension
import androidx.compose.ui.unit.dp
object Paddings {
val none = 0.dp
val xsmall = 2.dp
val small = 4.dp
val medium = 8.dp
val large = 12.dp
val xlarge = 16.dp
val extra = 24.dp
val xextra = 32.dp
}
| 4 | Kotlin | 1 | 5 | c9f51916e3acbb292f364b3a3191991506d76580 | 290 | CurtainCall-AOS | Apache License 2.0 |
idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/assignmentTypeMismatch.kt | zeesh49 | 67,883,175 | true | {"Markdown": 35, "XML": 959, "Ant Build System": 52, "Ignore List": 8, "Git Attributes": 1, "Kotlin": 26923, "Java": 4721, "Protocol Buffer": 7, "Text": 5622, "JavaScript": 156, "JAR Manifest": 3, "Roff": 191, "Roff Manpage": 19, "AsciiDoc": 1, "INI": 40, "HTML": 250, "Groovy": 23, "Java Properties": 14, "Gradle": 145,... | // "Change 'f' type to '() -> Unit'" "true"
fun foo() {
val f: () -> Int = {
var x = 1
x += 21<caret>
}
} | 0 | Java | 0 | 1 | c9cc9c55cdcc706c1d382a1539998728a2e3ca50 | 129 | kotlin | Apache License 2.0 |
domain/src/test/kotlin/no/nav/su/se/bakover/domain/oppdrag/avstemming/KonsistensavstemmingTest.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.domain.oppdrag.avstemming
import arrow.core.NonEmptyList
import arrow.core.nonEmptyListOf
import io.kotest.matchers.shouldBe
import no.nav.su.se.bakover.common.Rekkefølge
import no.nav.su.se.bakover.common.UUID30
import no.nav.su.se.bakover.common.extensions.april
import no.nav.su.se.bakov... | 5 | Kotlin | 1 | 1 | e0193ea73a8771537b04819641348093f011c1f8 | 43,724 | su-se-bakover | MIT License |
app/src/main/java/dev/chapz/caltrac/consumption/ui/AddConsumptionFragment.kt | IvanCarapovic | 787,619,809 | false | {"Kotlin": 25018} | package dev.chapz.caltrac.consumption.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.wi... | 0 | Kotlin | 0 | 0 | f9f5758157236e79e524d632de750c3cac2d50bd | 1,965 | calorie-tracker | MIT License |
platform/lang-impl/src/com/intellij/util/indexing/roots/LibraryOrSdkOrderEntryIndexableRootsProvider.kt | mymilkbottles | 238,348,396 | true | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.indexing.roots
import com.intellij.openapi.application.runReadAction
import com.intellij.openapi.roots.LibraryOrSdkOrderEntry
import com.intellij.openap... | 0 | null | 0 | 0 | 99f0813daa726e4d7e62fc154a46d5dc1d34a117 | 824 | intellij-community | Apache License 2.0 |
core/src/normal/kotlin/com/infinitepower/newquiz/core/initializer/CoreFirebaseInitializer.kt | joaomanaia | 443,198,327 | false | {"Kotlin": 1357071} | package com.infinitepower.newquiz.core.initializer
import android.content.Context
import android.util.Log
import androidx.startup.Initializer
import com.google.firebase.FirebaseApp
import com.google.firebase.Firebase
import com.google.firebase.initialize
// TODO: Move to normal core dir
class CoreFirebaseInitializer ... | 1 | Kotlin | 18 | 145 | 834d49b6f89054bf27711438ae3825fab65e48d1 | 731 | newquiz | Apache License 2.0 |
kmp/features/settings/appearance/src/commonMain/kotlin/com/egoriku/grodnoroads/settings/appearance/screen/AppearanceScreen.kt | BehindWheel | 485,026,420 | false | {"Kotlin": 1176402, "Ruby": 5951, "Swift": 2927, "Shell": 830} | package com.egoriku.grodnoroads.settings.appearance.screen
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
im... | 16 | Kotlin | 1 | 18 | f33ed73eb6d83670f7bb096c4a1995117d80aa2f | 6,723 | BehindWheelKMP | Apache License 2.0 |
lib/src/main/java/dora/widget/DoraLoadingDialog.kt | dora4 | 658,224,340 | false | {"Kotlin": 5255} | package dora.widget
import android.content.Context
import android.os.Bundle
import android.view.View
import android.view.animation.Animation
import android.view.animation.Animation.AnimationListener
import android.view.animation.AnimationSet
import android.view.animation.AnimationUtils
import android.view.animation.Tr... | 0 | Kotlin | 0 | 4 | 0320f824a37de838743c00f5d9d2225a052ac448 | 3,542 | dview-loading-dialog | Apache License 2.0 |
lib/src/main/java/com/coolrs/lib/filter/FilterExt.kt | rumboalla | 215,561,641 | false | null | package com.coolrs.lib.filter
import android.content.Context
import android.graphics.Bitmap
import android.renderscript.Allocation
import android.renderscript.Element
import android.renderscript.RenderScript
import android.renderscript.ScriptIntrinsicBlur
import com.coolrs.lib.ScriptC_convolve
private object FilterCo... | 0 | Kotlin | 5 | 44 | a934b29f05357c140dc9bc060424dbc22b3269fe | 2,873 | coolrs | MIT License |
tabler-icons/src/commonMain/kotlin/compose/icons/tablericons/ChevronsRight.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.tablericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphic... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 1,894 | compose-icons | MIT License |
src/test/kotlin/aidan/williams/ConjSelectKtTest.kt | AGitBoy | 126,643,418 | false | null | import org.junit.Test
import org.junit.Assert.*
class ConjSelectKtTest {
@Test
fun conjSelect() {
assertEquals("yo bailo", conjSelect("yo bailar"))
assertEquals("yo tengo", conjSelect("yo tener"))
}
} | 0 | Kotlin | 0 | 0 | 2c6e2a71d76302318133fc1b2d249eb91ecf02d8 | 231 | SpanishConj | MIT License |
pocket-android-eth/src/main/java/network/pokt/eth/rpc/callbacks/Callbacks.kt | jeremybeal11 | 179,307,600 | false | null | package network.pokt.eth.rpc.callbacks
import network.pokt.eth.rpc.types.ObjectOrBoolean
import network.pokt.core.errors.PocketError
import org.json.JSONArray
import org.json.JSONObject
import java.math.BigInteger
typealias StringCallback = (pocketError: PocketError?, result: String?) -> Unit
typealias BigIntegerCall... | 1 | null | 1 | 1 | 0358e7232488cbaf114d21236f23b21e0e5d08f5 | 829 | Android-Messenger | MIT License |
educational-core/src/com/jetbrains/edu/coursecreator/projectView/CCLessonNode.kt | JetBrains | 43,696,115 | false | null | package com.jetbrains.edu.coursecreator.projectView
import com.intellij.ide.projectView.ViewSettings
import com.intellij.ide.util.treeView.AbstractTreeNode
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiDirectory
import com.jetbrains.edu.learning.courseFormat.Lesson
import com.jetbrains.edu.lea... | 6 | Kotlin | 45 | 99 | cfc24fe13318de446b8adf6e05d1a7c15d9511b5 | 996 | educational-plugin | Apache License 2.0 |
shared/src/androidUnitTest/kotlin/com/intive/picover/shared/images/viewmodel/ImagesViewModelTest.kt | Android-Guild | 719,500,100 | false | {"Kotlin": 117009, "Swift": 760} | package com.intive.picover.shared.images.viewmodel
import androidx.compose.material3.SnackbarHostState
import com.intive.picover.shared.common.mockkAnswer
import com.intive.picover.shared.common.state.MVIStateType.ERROR
import com.intive.picover.shared.common.state.MVIStateType.LOADED
import com.intive.picover.shared.... | 13 | Kotlin | 0 | 0 | 0f12084327323971456a5483678a3dd16c52d772 | 2,387 | Picover-KMP | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.