path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/pt/pro/alarm/decline/FragmentSingleClick.kt | OmAr-Kader | 674,357,483 | false | {"Kotlin": 2780433} | package com.pt.pro.alarm.decline
import com.pt.common.global.*
import com.pt.common.global.AlarmSack
import com.pt.pro.alarm.interfaces.AlarmDismiss
import com.pt.pro.databinding.FragmentSingleClickBinding
import com.pt.common.mutual.life.GlobalSimpleFragment
import com.pt.common.stable.launchImdMain
class FragmentS... | 0 | Kotlin | 0 | 0 | fe57fe5a4029119ac287ab8d3d4b5ccfc05af3a0 | 3,427 | PT-All-Pro | Apache License 2.0 |
runtime/src/main/java/ir/logicbase/mockfit/MockFitInterceptor.kt | javaherisaber | 309,365,464 | false | {"Kotlin": 22073} | package ir.logicbase.mockfit
import okhttp3.*
import java.io.IOException
/**
* Provide network response from json mock in local device
* You should remove `Base Url` and `Query parameters` from [apiIncludeIntoMock] or [apiExcludeFromMock]
* If your request contains `Path parameters` eg. {product_id}, replace it wi... | 2 | Kotlin | 5 | 35 | c5fa61ca551e22bae4900105e80ccfd854e94b4a | 6,168 | MockFit | Apache License 2.0 |
gmaven/src/main/kotlin/ru/rzn/gmyasoedov/gmaven/project/externalSystem/service/MavenAttachSourcesProvider.kt | grisha9 | 586,299,688 | false | null | package ru.rzn.gmyasoedov.gmaven.project.providers
import com.intellij.codeInsight.AttachSourcesProvider
import com.intellij.codeInsight.AttachSourcesProvider.AttachSourcesAction
import com.intellij.execution.executors.DefaultRunExecutor
import com.intellij.jarFinder.InternetAttachSourceProvider
import com.intellij.op... | 5 | null | 0 | 12 | d99dd67633a801b8fc09269def1564682a74ebcb | 7,127 | gmaven-plugin | Apache License 2.0 |
core/src/main/kotlin/pages/utils.kt | kamilok1965 | 351,889,705 | false | {"Gradle Kotlin DSL": 49, "Java Properties": 1, "Markdown": 144, "Shell": 8, "Text": 2, "Ignore List": 5, "Batchfile": 8, "Git Attributes": 1, "XML": 11, "Kotlin": 671, "JAR Manifest": 1, "INI": 27, "Java": 34, "HTML": 43, "JSON with Comments": 1, "JSON": 2, "JavaScript": 13, "TSX": 8, "SCSS": 5, "SVG": 9, "CSS": 14, "... | package org.jetbrains.dokka.pages
import kotlin.reflect.KClass
inline fun <reified T : ContentNode, R : ContentNode> R.mapTransform(noinline operation: (T) -> T): R =
mapTransform(T::class, operation)
@PublishedApi
@Suppress("UNCHECKED_CAST")
internal fun <T : ContentNode, R : ContentNode> R.mapTransform(type: K... | 1 | null | 1 | 1 | 7c036dff0d40b1ea8bca8ee5aea5a211d4f090af | 1,470 | dokka | Apache License 2.0 |
core/src/main/kotlin/pages/utils.kt | kamilok1965 | 351,889,705 | false | {"Gradle Kotlin DSL": 49, "Java Properties": 1, "Markdown": 144, "Shell": 8, "Text": 2, "Ignore List": 5, "Batchfile": 8, "Git Attributes": 1, "XML": 11, "Kotlin": 671, "JAR Manifest": 1, "INI": 27, "Java": 34, "HTML": 43, "JSON with Comments": 1, "JSON": 2, "JavaScript": 13, "TSX": 8, "SCSS": 5, "SVG": 9, "CSS": 14, "... | package org.jetbrains.dokka.pages
import kotlin.reflect.KClass
inline fun <reified T : ContentNode, R : ContentNode> R.mapTransform(noinline operation: (T) -> T): R =
mapTransform(T::class, operation)
@PublishedApi
@Suppress("UNCHECKED_CAST")
internal fun <T : ContentNode, R : ContentNode> R.mapTransform(type: K... | 1 | null | 1 | 1 | 7c036dff0d40b1ea8bca8ee5aea5a211d4f090af | 1,470 | dokka | Apache License 2.0 |
app/src/main/java/com/airlift/codingchallenge/base/viewmodel/BaseViewModel.kt | syedtehrimabbas | 410,497,630 | false | {"Kotlin": 91296} | package com.airlift.codingchallenge.base.viewmodel
import android.os.Bundle
import androidx.annotation.CallSuper
import androidx.databinding.Bindable
import androidx.databinding.Observable
import androidx.databinding.PropertyChangeRegistry
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.ViewMode... | 0 | Kotlin | 0 | 1 | 3e5fc8c66ebe873d2f421ba392c883df796c5bb3 | 2,509 | airlift-codding-challenge | MIT License |
samples/default-bff-server-web/src/main/kotlin/sample/config/DefaultSecurityConfig.kt | Snapwise | 589,004,796 | false | null | /*
*
* * Copyright 2022 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
* *
... | 0 | Kotlin | 0 | 0 | ce96348ab150c25410b37340cbcd662b6759da6c | 5,026 | spring-bff-authorization | Apache License 2.0 |
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/DollarSign.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.fontawesomeicons.solid
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,340 | compose-icons | MIT License |
bson/src/main/kotlin/BsonDocumentLike.kt | cufyorg | 502,485,629 | false | null | /*
* Copyright 2022-2023 cufy.org and meemer.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 3 | null | 1 | 4 | 8882b0225b2ffba13ffd1216dd7a4d2c7450df01 | 24,598 | monkt | Apache License 2.0 |
multisrc/overrides/mangathemesia/sushiscan/src/SushiScan.kt | Ashuyomi | 604,291,847 | false | null | package eu.kanade.tachiyomi.extension.fr.sushiscan
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.source.model.SManga
import java.text.SimpleDateFormat
import java.util.Locale
class SushiScan : MangaThemesia("Sushi-Scan", "https://sushiscan.net", "fr", dateFormat = SimpleDa... | 1 | Kotlin | 0 | 1 | 976bd8290e42196b6ae27df538666e2bd7e91a56 | 865 | Ashuyomi-extensions | Apache License 2.0 |
src/main/kotlin/com/yg/gqlwfdl/services/DataLoaderPrimerEntityCreationListener.kt | roadSurfer | 141,256,296 | true | {"Java Properties": 3, "Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 42, "Java": 87, "GraphQL": 1, "XML": 1, "HTML": 1} | package com.yg.gqlwfdl.services
import com.yg.gqlwfdl.RequestContext
import com.yg.gqlwfdl.dataaccess.EntityCreationListener
import com.yg.gqlwfdl.dataloaders.DataLoaderType
/**
* A listener which hears when entities are created (typically after being queried for, from the database). Caches the
* entities into thei... | 0 | Java | 0 | 0 | 80cddae002f6bd7130a73e9352beb4d7fcad79ba | 2,266 | graphql-webflux-dataloader | MIT License |
app/src/main/java/com/rogertalk/roger/ui/screens/AttachmentsActivity.kt | rogertalk | 207,123,525 | false | {"Gradle": 4, "Java Properties": 3, "Markdown": 7, "Text": 6, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "XML": 157, "Proguard": 2, "Kotlin": 408, "Java": 2, "JSON": 1, "Makefile": 2, "C": 105, "C++": 11} | package com.rogertalk.roger.ui.screens
import android.Manifest
import android.animation.AnimatorSet
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.Toolbar
import android.text.SpannableString
import a... | 0 | C | 0 | 1 | 55c9922947311d9d8a1e930463b9ac2a1332e006 | 14,394 | roger-android | MIT License |
meteor-viewmodel/src/commonMain/kotlin/io/spherelabs/meteorviewmodel/core/AtomicExtension.kt | getspherelabs | 646,328,849 | false | {"Kotlin": 68656} | package io.spherelabs.meteorviewmodel.core
public inline val Boolean.toInt: Int get() = if (this) 1 else 0
| 13 | Kotlin | 3 | 41 | c2406b12c08ab20485130d00b82ef181ebd0a890 | 108 | meteor-kmp | Apache License 2.0 |
metronome-android/app/src/test/java/com/jedparsons/metronome/storage/FakeRhythmStore.kt | jedp | 496,303,738 | false | {"Kotlin": 38641, "Swift": 17862, "C++": 3314, "CMake": 1613} | package com.jedparsons.metronome.storage
import com.jedparsons.metronome.model.RhythmModel
import kotlinx.coroutines.withContext
import kotlin.coroutines.CoroutineContext
class FakeRhythmStore(
private val context: CoroutineContext
) : RhythmStore {
private var rhythmModel: RhythmModel = RhythmModel()
fun set... | 0 | Kotlin | 0 | 0 | 7def45961f3597bb55584f67043b69ea8bc798e6 | 660 | asymmetronome | MIT License |
app/src/main/java/com/nemo/tmdb/view/MainActivity.kt | zipecki | 268,357,859 | false | null | package com.nemo.tmdb.view
import android.arch.lifecycle.ViewModelProviders
import android.content.Context
import android.os.Bundle
import android.support.v4.app.FragmentTransaction
import android.support.v7.app.AppCompatActivity
import android.util.Log
import android.view.Menu
import android.view.MenuItem
import andr... | 0 | Kotlin | 0 | 0 | 563b34017fbe2517d39c669db855ace3f518de15 | 6,121 | TMDB_test | Apache License 2.0 |
src/main/kotlin/com/dannbrown/astrosync/AstroSyncMod.kt | danbrown | 815,159,851 | false | {"Kotlin": 20041, "Java": 822} | package com.dannbrown.astrosync
import com.dannbrown.astrosync.core.FileUtils
import com.dannbrown.astrosync.core.NetworkUtils
import com.dannbrown.astrosync.core.UnzipUtils
import com.dannbrown.astrosync.core.VersionUtils
import net.minecraft.client.Minecraft
import net.minecraftforge.fml.ModLoadingContext
import net... | 1 | Kotlin | 1 | 1 | dc398f7caa7ab315dec3cda9e3b36297ed9a32c0 | 5,063 | astro-sync | MIT License |
src/xqt-kotlinx-json-rpc/commonTest/xqt/kotlinx/rpc/json/test/serialization/types/JsonIntOrString.kt | rhdunn | 600,018,019 | false | null | // Copyright (C) 2022-2023 <NAME>. SPDX-License-Identifier: Apache-2.0
package xqt.kotlinx.rpc.json.test.serialization.types
import kotlinx.serialization.json.JsonNull
import kotlinx.serialization.json.JsonPrimitive
import xqt.kotlinx.rpc.json.serialization.UnsupportedKindTypeException
import xqt.kotlinx.rpc.json.seri... | 0 | Kotlin | 1 | 2 | 3b4d8bc55ce2945c8b9f2e68db4857a65285e4dd | 3,456 | xqt-kotlinx-json-rpc | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/TouchBarColorPickerConstructorOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package electron
typealias TouchBarColorPickerConstructorOptions = electron.core.TouchBarColorPickerConstructorOptions
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 174 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/missnalgas/phr2/phrase/Phrase.kt | MissNalgas | 293,782,626 | false | null | package com.missnalgas.phr2.phrase
object Phrase {
var title = "No connection"
var content = "It seems like we had some troubles connecting to the server."
var author = "MSSN"
override fun toString() = title
} | 0 | Kotlin | 0 | 0 | b7a517a74fe859d496e6db04a20313f343e00002 | 226 | Leaves | MIT License |
app/src/main/java/com/howettl/mvvm/data/model/Employnees.kt | yoonusc | 469,022,636 | false | null | package com.howettl.mvvm.data.model
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverter
import androidx.room.TypeConverters
import com.howettl.mvvm.data.typeConverter.DataConverter
@Entity
data class Employeesd(@field:PrimaryKey val id: Int, val name: String, val username: S... | 0 | Kotlin | 0 | 0 | 48186f29f791cab7ac753b9015c729181e336d25 | 522 | employe-test-eapp | MIT License |
compiler/testData/codegen/box/objects/nestedDerivedClassCallsProtectedFromCompanion.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND_FIR: JVM_IR
open class A {
companion object {
protected fun foo() = "OK"
}
class B : A() {
fun bar() = foo()
}
}
fun box() = A.B().bar()
| 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 188 | kotlin | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/metricchart/CoinTvlChartService.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.metricchart
import io.horizontalsystems.bankwallet.modules.chart.AbstractChartService
import io.horizontalsystems.bankwallet.modules.chart.ChartPointsWrapper
import io.horizontalsystems.chartview.models.ChartPoint
import io.horizontalsystems.core.ICurrencyManager
import ... | 168 | null | 364 | 895 | 218cd81423c570cdd92b1d5161a600d07c35c232 | 1,252 | unstoppable-wallet-android | MIT License |
utilities/src/main/kotlin/extensions/Pair.kt | rstockbridge | 225,212,001 | false | null | @file:Suppress("unused", "MemberVisibilityCanBePrivate")
package extensions
fun <T, U> Pair<T, U>.flip(): Pair<U, T> = second to first
fun <T : Comparable<T>> Pair<T, T>.max(): T = maxOf(first, second)
fun <T : Comparable<T>> Pair<T, T>.min(): T = minOf(first, second)
fun <T> Pair<T, T>.valuesMatch(): Boolean = fi... | 0 | Kotlin | 0 | 0 | bcd6daf81787ed9a1d90afaa9646b1c513505d75 | 334 | AdventOfCode2019 | MIT License |
config.gradle.kt | pokercc | 305,630,470 | false | null | android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}... | 11 | null | 43 | 9 | f0c611b66439a51c01729d02312747de03fa41e9 | 780 | BoxShadowLayout | MIT License |
src/test/kotlin/mobi/hsz/idea/gitignore/actions/CloseIgnoredEditorsActionTest.kt | JetBrains | 20,956,093 | false | {"Kotlin": 294248, "Lex": 2221, "HTML": 433} | // 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 mobi.hsz.idea.gitignore.actions
import mobi.hsz.idea.gitignore.Common
class CloseIgnoredEditorsActionTest : Common<Any?>() {
fun testCloseIgnoredEditorsActionInvoc... | 11 | Kotlin | 176 | 1,289 | 59781e4c143913f4a880b21632de1a3b12ea55ae | 632 | idea-gitignore | Apache License 2.0 |
app/src/main/java/online/muhammadali/todolist/feature_auth/presentation/screens/SignUpScreen.kt | MuhammadAli251018 | 698,671,373 | false | {"Kotlin": 98643} | package online.muhammadali.todolist.feature_auth.presentation.screens
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import andro... | 0 | Kotlin | 0 | 0 | 7afa8a4be8e9759fab774d45a20af28531584fcc | 9,403 | Todo-List | MIT License |
src/all/wpcomics/src/eu/kanade/tachiyomi/extension/all/wpcomics/WPComicsFactory.kt | MadonnaBalena-Team | 272,300,322 | true | {"Kotlin": 2418188, "Shell": 1729, "Java": 608} | package eu.kanade.tachiyomi.extension.all.wpcomics
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
import eu.kanade.tachiyomi.source.model.Filter
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.Pa... | 0 | Kotlin | 0 | 0 | 5fa94719627fce5d7ea10db3e4ebaa23d35ccb43 | 7,443 | tachiyomi-extensions | Apache License 2.0 |
src/all/wpcomics/src/eu/kanade/tachiyomi/extension/all/wpcomics/WPComicsFactory.kt | MadonnaBalena-Team | 272,300,322 | true | {"Kotlin": 2418188, "Shell": 1729, "Java": 608} | package eu.kanade.tachiyomi.extension.all.wpcomics
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
import eu.kanade.tachiyomi.source.model.Filter
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.Pa... | 0 | Kotlin | 0 | 0 | 5fa94719627fce5d7ea10db3e4ebaa23d35ccb43 | 7,443 | tachiyomi-extensions | Apache License 2.0 |
module/module-database-core/src/main/kotlin/taboolib/module/database/QueryTask.kt | TabooLib | 120,413,612 | false | null | package taboolib.module.database
import java.sql.ResultSet
/**
* TabooLib
* taboolib.module.database.QueryTask
*
* @author sky
* @since 2021/6/23 2:11 下午
*/
open class QueryTask(val future: Future<ResultSet>) {
open fun run(): Int {
return future.call { fetchSize }
}
open fun find(): Boole... | 13 | Kotlin | 81 | 229 | 065c8de7033a3073181476fd1ec6f1e830ff9983 | 1,381 | taboolib | MIT License |
module/module-database-core/src/main/kotlin/taboolib/module/database/QueryTask.kt | TabooLib | 120,413,612 | false | null | package taboolib.module.database
import java.sql.ResultSet
/**
* TabooLib
* taboolib.module.database.QueryTask
*
* @author sky
* @since 2021/6/23 2:11 下午
*/
open class QueryTask(val future: Future<ResultSet>) {
open fun run(): Int {
return future.call { fetchSize }
}
open fun find(): Boole... | 13 | Kotlin | 81 | 229 | 065c8de7033a3073181476fd1ec6f1e830ff9983 | 1,381 | taboolib | MIT License |
platform/backend/core/src/main/kotlin/io/hamal/core/component/Converter.kt | hamal-io | 622,870,037 | false | {"Kotlin": 1744717, "C": 1398401, "TypeScript": 54320, "C++": 40651, "Lua": 36419, "Makefile": 11728, "Java": 7564, "CMake": 2881, "JavaScript": 1532, "HTML": 694, "Shell": 456, "CSS": 118} | package io.hamal.core.component
import io.hamal.lib.common.SnowflakeId
import io.hamal.lib.common.domain.DomainId
import io.hamal.lib.common.domain.Limit
import io.hamal.lib.domain.ReqId
import io.hamal.lib.domain.vo.*
import org.springframework.core.convert.converter.Converter
import kotlin.reflect.KClass
object Li... | 6 | Kotlin | 0 | 0 | fd06bf799f18db2d425b7084abf15b741fa9878e | 1,766 | hamal | Creative Commons Zero v1.0 Universal |
features/login/impl/src/test/kotlin/io/element/android/features/login/impl/error/ErrorFormatterTest.kt | element-hq | 546,522,002 | false | {"Kotlin": 8692554, "Python": 57175, "Shell": 39911, "JavaScript": 20399, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44} | /*
* Copyright (c) 2023 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... | 9 | Kotlin | 65 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 2,290 | element-x-android | Apache License 2.0 |
litho-compiler-plugin/compiler/src/main/kotlin/com/facebook/litho/LithoCodeAnalysisExtension.kt | facebook | 80,179,724 | false | {"Kotlin": 5825848, "Java": 5578851, "C++": 616537, "Starlark": 198527, "JavaScript": 29060, "C": 25074, "Shell": 8243, "CSS": 5558, "CMake": 4783, "Objective-C": 4012} | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 88 | Kotlin | 765 | 7,703 | 8bde23649ae0b1c594b9bdfcb4668feb7d8a80c0 | 1,640 | litho | Apache License 2.0 |
infrastructure/src/main/kotlin/com/lukinhasssss/admin/catalogo/infrastructure/utils/metrics/Metric.kt | Lukinhasssss | 551,493,782 | false | {"Kotlin": 834862, "Dockerfile": 2158} | package com.lukinhasssss.admin.catalogo.infrastructure.utils.metrics
import io.micrometer.core.instrument.MeterRegistry
import io.micrometer.core.instrument.Timer
import org.springframework.stereotype.Component
import java.util.concurrent.TimeUnit
import kotlin.system.measureTimeMillis
@Component
class Metric(private... | 0 | Kotlin | 0 | 5 | 6bb44dcd8445d1ab7e159d7b50deef8034f4cfb0 | 717 | admin-catalogo-de-videos-kotlin | MIT License |
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/XssProtectionConfigDslTests.kt | lenxin | 310,797,201 | true | {"INI": 18, "Shell": 7, "Batchfile": 1, "Java": 2837, "SQL": 14, "HTML": 34, "CSS": 17, "Gradle Kotlin DSL": 2, "Kotlin": 138, "Java Server Pages": 49, "Java Properties": 14, "JavaScript": 15, "Python": 1, "PLSQL": 1, "Markdown": 4, "Ruby": 2} | package org.springframework.security.config.web.servlet.headers
import org.junit.Rule
import org.junit.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurati... | 0 | Java | 0 | 0 | 9cc4bd14b66afcb0142c9a0df35738342a5eeaa4 | 3,920 | spring-security | Apache License 2.0 |
Chapter10/Exercise10.02/app/src/androidTest/java/com/android/testable/myapplication/MainActivityUiTest.kt | PacktPublishing | 575,781,987 | false | null | package com.android.testable.myapplication
import android.app.Application
import androidx.lifecycle.Lifecycle
import androidx.test.core.app.ActivityScenario.launch
import androidx.test.core.app.ApplicationProvider.getApplicationContext
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.... | 1 | Kotlin | 1 | 8 | 69028f4bc9fee3812072504bb1b9ec07c722db35 | 1,731 | How-to-Build-Android-Apps-with-Kotlin-Second-Edition | MIT License |
kofu/src/main/kotlin/org/springframework/fu/kofu/webflux/WebFluxClientDsl.kt | spring-projects-experimental | 134,733,282 | false | null | package org.springframework.fu.kofu.webflux
import org.springframework.boot.autoconfigure.web.reactive.*
import org.springframework.boot.autoconfigure.web.reactive.function.client.ReactiveWebClientBuilderInitializer
import org.springframework.context.support.GenericApplicationContext
import org.springframework.fu.kofu... | 39 | null | 139 | 1,673 | c41806b1429dc31f75e2cb0f69ddd51a0bd8e9da | 4,229 | spring-fu | Apache License 2.0 |
app/src/main/java/com/chiccuts/utils/FirestoreUtil.kt | AhmetHTTP | 798,452,333 | false | {"Kotlin": 116882} | package com.chiccuts.utils
import com.chiccuts.models.*
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.firestore.ListenerRegistration
import kotlinx.coroutines.tasks.await
object FirestoreUtil {
val db = FirebaseFirestore.getInstance()
private val listeners = mutableMapOf<S... | 0 | Kotlin | 0 | 1 | 3568843d67f75e7f311047706f294080efc71e91 | 10,056 | ChicCuts | MIT License |
site/src/commonMain/kotlin/com/saitawngpha/blogmultiplatform/models/ApiListResponse.kt | saitawngpha | 719,856,855 | false | {"Kotlin": 258629, "Dockerfile": 2616, "CSS": 2102} | package com.saitawngpha.blogmultiplatform.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonContentPolymorphicSerializer
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.jsonObject
/**
* Created by တွင်ႉၾႃႉ on... | 0 | Kotlin | 0 | 0 | a09af5e758630cca111678817542adf8e51f3d11 | 1,814 | blogmultiplatform | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/model/request/AmendVideoBookingRequest.kt | ministryofjustice | 789,053,149 | false | {"Kotlin": 1204892, "Shell": 11651, "Dockerfile": 1492} | package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.model.request
import com.fasterxml.jackson.annotation.JsonIgnore
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.Valid
import jakarta.validation.constraints.AssertTrue
import jakarta.validation.constraints.NotEmpty
import jakarta.v... | 2 | Kotlin | 0 | 0 | 343a25d48d9ca61090c1d3248b2743c6e4b785e3 | 2,723 | hmpps-book-a-video-link-api | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/model/request/AmendVideoBookingRequest.kt | ministryofjustice | 789,053,149 | false | {"Kotlin": 1204892, "Shell": 11651, "Dockerfile": 1492} | package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.model.request
import com.fasterxml.jackson.annotation.JsonIgnore
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.Valid
import jakarta.validation.constraints.AssertTrue
import jakarta.validation.constraints.NotEmpty
import jakarta.v... | 2 | Kotlin | 0 | 0 | 343a25d48d9ca61090c1d3248b2743c6e4b785e3 | 2,723 | hmpps-book-a-video-link-api | MIT License |
app/src/test/java/ru/kabylin/andrey/vocabulator/ui/common/DefaultErrorResponder.kt | sysint64 | 140,518,543 | false | {"Kotlin": 199316} | package ru.kabylin.andrey.vocabulator.ui.common
import android.support.annotation.StringRes
import junit.framework.Assert
import ru.kabylin.andrey.vocabulator.*
import ru.kabylin.andrey.vocabulator.client.AccessError
import ru.kabylin.andrey.vocabulator.client.AccessErrorReason
import ru.kabylin.andrey.vocabulator.ui.... | 0 | Kotlin | 0 | 1 | c6fbadf51f9ca638c1037f75306d11d7c6652444 | 2,952 | vocabulator-android-client | MIT License |
station-span/domain/src/main/java/org/mothdigital/stationdistancechecker/stationspan/domain/StationSpanRepository.kt | stanislawm97 | 779,379,195 | false | {"Kotlin": 77179} | package org.mothdigital.stationdistancechecker.stationspan.domain
import org.mothdigital.stationdistancechecker.stationspan.domain.model.Station
interface StationSpanRepository {
suspend fun getStation(id: Int): Station?
suspend fun getStationByKeyword(keyword: String): List<Station>
} | 0 | Kotlin | 0 | 0 | a9cdbb95335d2963b00ad4a3924eb7b4c8734f3c | 296 | StationDistanceChecker | MIT License |
data/mediaplayer/src/main/java/com/mcgrady/xproject/data/mediaplayer/database/MusicDatabase.kt | mcgrady911 | 208,754,271 | false | {"Gradle Kotlin DSL": 20, "Java Properties": 3, "Shell": 1, "Text": 2, "Ignore List": 17, "Batchfile": 1, "INI": 28, "Proguard": 8, "XML": 127, "Kotlin": 284, "Java": 5, "TOML": 1, "JSON": 5, "Gradle": 1, "EditorConfig": 1, "JAR Manifest": 1, "SQL": 1} | package com.mcgrady.xproject.data.mediaplayer.database
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.mcgrady.xproject.data.mediaplayer.database.dao.ChronologyDao
import com.mcgrady.xproject.data.mediaplayer.database.dao.DownloadDao
import com.mcgrady.xpr... | 1 | null | 1 | 1 | 8120d889c9cc471870cfef6fe553ca1585c6f9c7 | 1,688 | xskeleton | Apache License 2.0 |
integration/common/datapool-sender/src/main/kotlin/io/holunda/polyflow/datapool/sender/DataEntryCommandSender.kt | holunda-io | 135,994,693 | false | null | package io.holunda.polyflow.datapool.sender
import io.holunda.camunda.taskpool.api.business.*
import org.axonframework.commandhandling.CommandResultMessage
import org.axonframework.messaging.MetaData
import java.util.function.BiFunction
/**
* Sends data entry commands.
*/
interface DataEntryCommandSender {
/**
... | 28 | null | 26 | 68 | 36735e6e1537fece1f75f82325bb2617321c86bd | 2,627 | camunda-bpm-taskpool | Apache License 2.0 |
adapter/unityads/src/main/java/org/bidon/unityads/impl/UnityAdsRewarded.kt | bidon-io | 654,165,570 | false | {"Kotlin": 1051963, "Java": 2186} | package org.bidon.unityads.impl
import android.app.Activity
import com.unity3d.ads.IUnityAdsLoadListener
import com.unity3d.ads.IUnityAdsShowListener
import com.unity3d.ads.UnityAds
import com.unity3d.ads.UnityAdsShowOptions
import org.bidon.sdk.adapter.AdAuctionParamSource
import org.bidon.sdk.adapter.AdAuctionParams... | 0 | Kotlin | 0 | 0 | ac4906b014f0901fd2ce2a3e593ef9d777cb0edc | 4,694 | bidon_sdk_android | Apache License 2.0 |
app/src/main/java/com/eatssu/android/data/usecase/PostReportUseCase.kt | EAT-SSU | 601,871,281 | false | {"Kotlin": 242143} | package com.eatssu.android.data.usecase
import com.eatssu.android.base.BaseResponse
import com.eatssu.android.data.dto.request.ReportRequest
import com.eatssu.android.data.repository.ReportRepository
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
class PostReportUseCase @Inject constructor(
privat... | 26 | Kotlin | 0 | 9 | d871fe1f48a2d21d82e68f27bd17f92d9538c832 | 492 | Android | MIT License |
src/main/kotlin/com/lynas/flywaydemo/FlywayDemoApplication.kt | lynas | 279,045,013 | false | null | package com.lynas.flywaydemo
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.flyway.FlywayMigrationStrategy
import org.springframework.boot.runApplication
import org.springframework.context.annotation.Bean
@SpringBootApplication
class FlywayDemoApplic... | 0 | Kotlin | 0 | 0 | 41e9276b5166c7e0a7d325276d8ae99b534e4731 | 535 | flyway-db-migration-demo | MIT License |
app/src/main/java/com/example/pharmacologyapp/classes/Receptor.kt | JoshD898 | 758,310,198 | false | {"Kotlin": 45619} | package com.example.pharmacologyapp.classes
/**
* Represents a receptor with a method to update its tension fraction.
*
* Tension fraction * maximal tension = tension provided from receptor
*
* @param name The name of the receptor.
* @param agonists The list of agonists affecting the receptor.
* @param antagoni... | 0 | Kotlin | 0 | 0 | 4ad411ed273f30b7f7de5393c9544e07e5362668 | 1,222 | PCTH-Simulator | MIT License |
app/src/main/java/com/example/android/politicalpreparedness/repository/CivicEngagementRepository.kt | mhmdcs | 441,260,588 | false | {"Kotlin": 49355} | package com.example.android.politicalpreparedness.repository
import android.util.Log
import androidx.lifecycle.LiveData
import com.example.android.politicalpreparedness.database.ElectionDao
import com.example.android.politicalpreparedness.network.CivicsApi
import com.example.android.politicalpreparedness.network.model... | 0 | Kotlin | 1 | 0 | dcf328417cc092669b9df83e7bb98041aaceb63d | 2,277 | civic-engagement | Apache License 2.0 |
src/main/kotlin/org/wfanet/measurement/reporting/deploy/postgres/readers/MeasurementReader.kt | world-federation-of-advertisers | 349,561,061 | false | null | // Copyright 2022 The Cross-Media Measurement 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 88 | null | 11 | 36 | b5c84f8051cd189e55f8c43ee2b9cc3f3a75e353 | 2,664 | cross-media-measurement | Apache License 2.0 |
src/main/kotlin/online/bingzi/bilibili/video/internal/command/MainCommand.kt | BingZi-233 | 706,595,133 | false | {"Kotlin": 61679} | package online.bingiz.bilibili.video.internal.command
import online.bingiz.bilibili.video.internal.cache.baffleCache
import online.bingiz.bilibili.video.internal.cache.cookieCache
import online.bingiz.bilibili.video.internal.cache.midCache
import online.bingiz.bilibili.video.internal.config.VideoConfig
import online.b... | 1 | Kotlin | 5 | 6 | f07a33937183492bff8072dac454e9fb49b8e6bc | 5,656 | BilibiliVideo | Creative Commons Zero v1.0 Universal |
kotlin-mui-icons/src/main/generated/mui/icons/material/CircleTwoTone.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/CircleTwoTone")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val CircleTwoTone: SvgIconComponent
| 12 | null | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 208 | kotlin-wrappers | Apache License 2.0 |
ui/log/src/main/kotlin/me/gegenbauer/catspy/log/recent/RecentLogFiles.kt | Gegenbauer | 609,809,576 | false | null | package me.gegenbauer.catspy.log.recent
import me.gegenbauer.catspy.concurrency.assertInMainThread
import me.gegenbauer.catspy.file.gson
import me.gegenbauer.catspy.utils.persistence.Preferences
import me.gegenbauer.catspy.utils.persistence.UserPreferences
import java.io.File
import java.lang.ref.WeakReference
/**
*... | 3 | null | 4 | 23 | a868d118c42a9ab0984bfd51ea845d3dcfd16449 | 2,669 | CatSpy | Apache License 2.0 |
app/src/androidTest/java/memoizrlabs/com/composable_styles/ViewStubbed.kt | memoizr | 64,826,130 | false | null | package memoizrlabs.com.composable_styles
class ViewStubbed {
} | 0 | Kotlin | 0 | 0 | 2805901b43024f1a5822a1fe8a4686edd7bc4e7f | 64 | composable-styles-test | Apache License 2.0 |
app/src/main/kotlin/com/example/mingkangpan/learnrx2/network/BackendMock.kt | minkiapps | 278,189,966 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 4, "XML": 23, "Kotlin": 24} | package com.example.mingkangpan.learnrx2.network
import android.os.Looper
import android.os.NetworkOnMainThreadException
import com.example.mingkangpan.learnrx2.SimpleFuture
import com.example.mingkangpan.learnrx2.logWithCurrentThread
import io.reactivex.Observable
import io.reactivex.Scheduler
import io.reactivex.sch... | 0 | Kotlin | 0 | 0 | a7d4eafa8a49b4289fc678b0dc9a6d136af834cd | 1,413 | RxJava-Playground | Apache License 2.0 |
flank-scripts/src/main/kotlin/flank/scripts/cli/github/DownloadFlankCommand.kt | Flank | 84,221,974 | false | {"Kotlin": 1748173, "Java": 101254, "Swift": 41229, "Shell": 10674, "Objective-C": 10006, "Dart": 9705, "HTML": 7235, "Gherkin": 4210, "TypeScript": 2717, "Ruby": 2272, "JavaScript": 1764, "SCSS": 1365, "Batchfile": 1183, "EJS": 1061, "Go": 159} | package flank.scripts.cli.github
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.options.default
import com.github.ajalt.clikt.parameters.options.option
import flank.scripts.ops.github.downloadFlank
import kotlinx.coroutines.runBlocking
object DownloadFlankCommand : CliktComma... | 64 | Kotlin | 115 | 676 | b40904b4e74a670cf72ee53dc666fc3a801e7a95 | 708 | flank | Apache License 2.0 |
features/fixtures/mazerunner/cxx-scenarios/src/main/java/com/bugsnag/android/mazerunner/scenarios/CXXThrowFromNoexcept.kt | bugsnag | 2,406,783 | false | {"Kotlin": 1012357, "Java": 502120, "C": 461672, "Gherkin": 181499, "C++": 50967, "Ruby": 28576, "CMake": 5170, "Shell": 3373, "Makefile": 3254} | package com.bugsnag.android.mazerunner.scenarios
import android.content.Context
import com.bugsnag.android.Configuration
class CXXInvalidRethrow(
config: Configuration,
context: Context,
eventMetadata: String?
) : Scenario(config, context, eventMetadata) {
companion object {
init {
... | 22 | Kotlin | 205 | 1,188 | f5fd26b3cdeda9c4d4e221f55feb982a3fd97197 | 490 | bugsnag-android | MIT License |
main/src/main/java/org/mechdancer/ftclib/core/structure/composite/chassis/Mecanum.kt | MechDancer | 146,752,676 | false | null | package org.mechdancer.ftclib.core.structure.composite.chassis
import org.mechdancer.ftclib.core.structure.monomeric.effector.Motor
/**
* Mecanum chassis
*/
open class Mecanum(override val name: String = "chassis",
enable: Boolean = false,
lfMotorDirection: Motor.Direction = Mo... | 0 | Kotlin | 0 | 3 | 6b9bbc0f90f83b45b9a2873c7617cd372bbbd57e | 1,112 | mechdancerlib | Do What The F*ck You Want To Public License |
app/src/main/java/com/vadimulasevich/myweather/db/repositories/local/LocationRepository.kt | UlasevichVadim | 505,810,972 | false | null | package com.vadimulasevich.myweather.db.repositories.local
import com.google.gson.GsonBuilder
import com.vadimulasevich.myweather.db.local.models.LocationUser
import java.io.File
class LocationRepository {
private var _locationUser = mutableListOf<LocationUser>()
var locationUser: List<LocationUser> = _locat... | 0 | Kotlin | 0 | 0 | ff8cd90ebe488a0cf63f2899c7cff12bbeec63e8 | 1,306 | MyWeather | The Unlicense |
app/src/main/java/xyz/teamgravity/onlinevideoplayer/data/remote/dto/VideoDto.kt | raheemadamboev | 491,407,304 | false | {"Kotlin": 25232} | package xyz.teamgravity.onlinevideoplayer.data.remote.dto
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class VideoDto(
@SerialName("id") val id: String,
@SerialName("width") val width: Int,
@SerialName("height") val height: Int,
@SerialName("auth... | 0 | Kotlin | 0 | 6 | dce404fe205f4d6b1e2f980ae619c38a630ced2c | 442 | online-video-player | Apache License 2.0 |
common/src/commonMain/kotlin/com/davidmatillacode/common/composeui/utils/Constants.kt | davidmatilla17 | 664,513,463 | false | null | package com.davidmatillacode.common.composeui.utils
import androidx.compose.material.Typography
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.unit.dp
//COLORS
val primaryColor = Color(38, 60, 122)
val accentColor = Color(102, 182, 255)
val seconda... | 0 | Kotlin | 0 | 0 | c4026e240e4929d1e28babede9fc7f49939bd93f | 954 | appGestorHoras | MIT License |
app/src/main/java/org/yrovas/linklater/ui/screens/saveBookmark/SaveBookmarkActivityDestination.kt | danielyrovas | 756,319,329 | false | {"Kotlin": 142745} | package org.yrovas.linklater.ui.screens.saveBookmark
import kotlinx.serialization.Serializable
import org.yrovas.linklater.ui.screens.EntryDestination
@Serializable
object SaveBookmarkActivityDestination : EntryDestination
| 2 | Kotlin | 0 | 20 | 3a8fd9e6e0d64bc3fa08482e9df20087cbb21290 | 225 | linklater | MIT License |
beagle/src/main/kotlin/br/com/zup/beagle/android/engine/mapper/FlexMapper.kt | ZupIT | 391,144,851 | false | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 1 | null | 2 | 9 | 812a330777edd79a123495e9f678dc8f25a019f7 | 8,176 | beagle-android | Apache License 2.0 |
tim/src/main/java/com/angcyo/tim/model/PushModel.kt | angcyo | 229,037,684 | false | {"Kotlin": 3502808, "JavaScript": 5542, "HTML": 1598} | package com.angcyo.tim.model
import com.angcyo.core.lifecycle.LifecycleViewModel
import com.angcyo.library.L
import com.angcyo.tim.util.BrandUtil
import com.angcyo.tim.util.PrivateConstants
import com.angcyo.viewmodel.vmDataNull
import com.tencent.imsdk.v2.V2TIMCallback
import com.tencent.imsdk.v2.V2TIMManager
import ... | 0 | Kotlin | 4 | 4 | 438d0a123f5eea7cad0aeadd9ae9f2dca60d8142 | 2,129 | UICoreEx | MIT License |
idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/configuration/cache/ScriptConfigurationFileAttributeCache.kt | android | 263,405,600 | 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.core.script.configuration.cache
import com.intellij.openapi.project.Project... | 1 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 4,270 | kotlin | Apache License 2.0 |
app/src/androidTest/java/com/anytypeio/anytype/features/relations/ObjectRelationListTest.kt | anyproto | 647,371,233 | false | null | package com.anytypeio.anytype.features.relations
import android.os.Bundle
import androidx.core.os.bundleOf
import androidx.fragment.app.testing.FragmentScenario
import androidx.fragment.app.testing.launchFragmentInContainer
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.ma... | 45 | null | 43 | 528 | c708958dcb96201ab7bb064c838ffa8272d5f326 | 22,146 | anytype-kotlin | RSA Message-Digest License |
app/src/main/java/com/soft507/travelsuggest/model/PersonalCenterViewModel.kt | rickey0827 | 274,230,136 | false | null | package com.soft507.travelsuggest.model
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.soft507.travelsuggest.bean.UserBean
/**
* @author LRQ-Pro
* @description:
* @date : 2020/6/6 2:46
*/
class PersonalCenterViewModel : ViewModel() {
val userBean = MutableLiveData<Us... | 1 | Kotlin | 1 | 3 | 9615d375a67bd23156b5a390f799336aa14a1219 | 363 | TravelSuggest | Apache License 2.0 |
app/src/main/java/com/opsc/timesync/ui/home/HomeViewModel.kt | johanngeustyn | 648,824,203 | false | null | package com.opsc.timesync.ui.home
import Category
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.google.android.gms.tasks.Task
import com.google.android.gms.tasks.TaskCompletionSource
import com.google.firebase.auth.F... | 0 | Kotlin | 0 | 0 | 3d93f597b803c66247b16d1ea7a06efb6d50c9da | 4,649 | TimeSync | MIT License |
app/src/main/java/com/raktimyoddha/clapapp/MainActivity.kt | RaktimYoddha | 507,264,097 | false | null | package com.raktimyoddha.clapapp
import android.media.MediaPlayer
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
class MainActivity : AppCompatActivity() {
private lateinit var mediaPlayer: MediaPlayer
override fun onCreate(savedInstanceState: Bundle?) {... | 0 | Kotlin | 0 | 0 | a663af8f7b3d5fb110743a246241ec602a0d4a37 | 1,204 | MultiButtonAudio | Apache License 2.0 |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package92/Foo09213.kt | yamamotoj | 163,851,411 | false | null | package com.github.yamamotoj.singlemoduleapp.package92
class Foo09213 {
fun method0() {
Foo09212().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun met... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 355 | android_multi_module_experiment | Apache License 2.0 |
app/src/test/java/com/aouerfelli/subwatcher/database/SubredditEntityQueriesTest.kt | aouerfelli | 209,374,944 | false | null | package com.aouerfelli.subwatcher.database
import com.aouerfelli.subwatcher.DaggerTestComponent
import com.aouerfelli.subwatcher.repository.SubredditIconUrl
import com.aouerfelli.subwatcher.repository.SubredditLastPosted
import com.aouerfelli.subwatcher.repository.SubredditName
import com.aouerfelli.subwatcher.util.Co... | 2 | Kotlin | 1 | 2 | 408c0498982e5fd63f1f6c38b0a15909982f046f | 3,541 | subwatcher | Apache License 2.0 |
app/src/main/java/com/samedtemiz/fitlife/ui/screens/auth/RegisterScreen.kt | SamedTemiz | 675,047,674 | false | {"Kotlin": 199370} | package com.samedtemiz.fitlife.ui.screens.auth
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.l... | 0 | Kotlin | 0 | 0 | 9bcd04032d12cdb57e4dbe402fc85936b603a653 | 12,117 | FitLife | MIT License |
kandroid/src/main/kotlin/com/pawegio/kandroid/KSearchView.kt | pawegio | 32,946,447 | false | null | /*
* Copyright 2015-2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 5 | Kotlin | 81 | 893 | 16ad9ff774024a80a74349b33ca5b85030366357 | 2,143 | KAndroid | Apache License 2.0 |
data/src/mock/kotlin/jp/co/yumemi/android/code_check/data/repositories/RepositoriesMockRepository.kt | wasabi-muffin | 462,369,263 | false | {"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812} | package io.github.gmvalentino8.github.sample.data.repositories
import io.github.gmvalentino8.github.sample.domain.entities.PullRequest
import io.github.gmvalentino8.github.sample.domain.entities.Release
import io.github.gmvalentino8.github.sample.domain.entities.User
import io.github.gmvalentino8.github.sample.domain.... | 0 | Kotlin | 0 | 1 | 2194a2504bde08427ad461d92586497c7187fb40 | 652 | github-sample-project | Apache License 2.0 |
src/test/kotlin/org/lexem/angmar/parser/commons/PatternWhitespaceNodeTest.kt | lexemlang | 184,409,059 | false | {"Kotlin": 3049940} | package org.lexem.angmar.parser.commons
import org.junit.jupiter.api.*
import org.junit.jupiter.params.*
import org.junit.jupiter.params.provider.*
import org.lexem.angmar.*
import org.lexem.angmar.io.readers.*
import org.lexem.angmar.parser.descriptive.lexemes.*
import java.util.stream.*
internal class PatternWhites... | 0 | Kotlin | 0 | 2 | 45fb563507a00c3eada89be9ab6e17cfe1701958 | 2,041 | angmar | MIT License |
fcl/src/main/java/com/portto/fcl/provider/Constants.kt | portto | 505,659,431 | false | null | package com.portto.fcl.provider
// Blocto
internal const val PROVIDER_BLOCTO_ID = 0
internal const val PROVIDER_BLOCTO_TITLE = "Blocto"
internal const val PROVIDER_BLOCTO_DESC = "Best wallet to interact with Web3"
internal const val PROVIDER_BLOCTO_ICON = "https://ipfs.blocto.app/ipfs/QmTmQQBz5KfVUcHW83S3kxqh29vSQ3cH7... | 0 | Kotlin | 3 | 21 | 5c94377766854b746e52a6fc73d3f83f84aa6c6a | 633 | fcl-android | MIT License |
klogging/src/commonMain/kotlin/io/klogging/Klogger.kt | klogging | 378,410,833 | false | null | /*
Copyright 2021-2022 Michael Strasser.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | 17 | null | 8 | 91 | 89ae2ddc6aedc9f4f68267ebd8b0b0f0da43e81d | 6,800 | klogging | Apache License 2.0 |
whetstone/compiler/src/main/kotlin/com/freeletics/mad/whetstone/WhetstoneCodeGenerator.kt | freeletics | 375,363,637 | false | null | package com.freeletics.mad.whetstone
import com.freeletics.mad.whetstone.codegen.FileGenerator
import com.freeletics.mad.whetstone.parser.toComposeFragmentData
import com.freeletics.mad.whetstone.parser.toComposeFragmentDestinationData
import com.freeletics.mad.whetstone.parser.toComposeScreenData
import com.freeletic... | 7 | null | 8 | 66 | c8943e26b0ef1934ac1487320fcfd043f6047273 | 2,408 | mad | Apache License 2.0 |
library/data/src/main/java/id/apwdevs/app/data/source/remote/response/tvdetail/TvDetailResponse.kt | AlexzPurewoko | 354,045,461 | false | null | package id.apwdevs.app.data.source.remote.response.tvdetail
import com.google.gson.annotations.SerializedName
import id.apwdevs.app.data.source.remote.response.parts.Genre
import id.apwdevs.app.data.source.remote.response.parts.ProductionCompany
import id.apwdevs.app.data.source.remote.response.parts.ProductionCountry... | 5 | Kotlin | 0 | 0 | e80db0e7f11c7d24e86e410eae052ce6e10f9d1f | 3,064 | movie_catalogue | MIT License |
dg-pay-domain/src/main/kotlin/devgraft/dgpay/domain/wallet/port/outbound/WalletPort.kt | dev-graft | 632,778,527 | false | null | package devgraft.dgpay.domain.wallet.port.outbound
import devgraft.dgpay.domain.wallet.model.Wallet
interface WalletPort {
fun addWallet(wallet: Wallet)
} | 0 | Kotlin | 0 | 0 | 00dc71a37c12898ac511fc9aebce2679b6b8b031 | 160 | dg-pay-server | Apache License 2.0 |
src/main/kotlin/me/adriianhdev/plutotems/core/command/impl/GiveCommand.kt | Adriianh | 590,503,165 | false | {"Kotlin": 100924} | package me.adriianhdev.plutotems.core.command.impl
import me.adriianhdev.plutotems.core.totem.Totem
import me.adriianhdev.plutotems.core.totem.TotemManager
import me.adriianhdev.plutotems.util.PlayerUtil
import org.bukkit.Bukkit
import org.bukkit.command.CommandSender
import org.bukkit.entity.Player
import taboolib.co... | 0 | Kotlin | 0 | 3 | 29d25b6ae9c8054b6d2c20951a35fcacb55c2af5 | 2,002 | PluTotems | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/example/githubusers/ui/heroes/HeroesFragment.kt | freelanzer1 | 373,213,635 | false | null | package com.example.githubusers.ui.heroes
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import android.support.v4.app.Fragment
import android.arch.lifecycle.Observer
import android.arch.lifecycle.ViewModelProvider
impor... | 0 | Kotlin | 0 | 0 | 1cfdc76104750493cdcd53b4fdacfd580a4d9e43 | 1,032 | GitHubUsers | Apache License 2.0 |
gxpbaseeverything/src/main/java/com/peng/gxpbaseeverything/view/custom/view/KeyBoardLayout.kt | mudcastles | 257,197,366 | false | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 54, "XML": 79, "Java": 25, "INI": 1} | package com.peng.gxpbaseeverything.view.custom.view
import android.content.Context
import android.graphics.Color
import android.text.Editable
import android.text.TextWatcher
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.... | 0 | Kotlin | 1 | 1 | 93de9d030a6c1bc9d4815790cf9e31be538176c0 | 8,043 | GXP-BaseEverything | Apache License 2.0 |
features/task/src/main/java/com/escodro/task/model/TaskWithCategory.kt | Arab1997 | 307,581,565 | false | {"Gradle": 23, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 15, "Batchfile": 1, "YAML": 3, "Markdown": 14, "XML": 103, "Proguard": 13, "Kotlin": 211, "Java": 1, "INI": 4, "Gradle Kotlin DSL": 1, "JSON": 3} | package com.escodro.task.model
/**
* Data class to represent a Task with Category.
*/
data class TaskWithCategory(
val task: Task,
val category: Category? = null
)
| 1 | null | 1 | 1 | cb8056afe8bc03bfb3f89938a168961aa211f860 | 175 | alkaa | Apache License 2.0 |
libraries/stdlib/src/kotlin/native/String.kt | dotlin-org | 434,960,829 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
* Copyright 2021-2022 Wilko Manger
*
* 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
*
* Unles... | 5 | Kotlin | 3 | 30 | 633430bfa0786923bde86d9068323f18eb5c24d5 | 1,509 | dotlin | Apache License 2.0 |
touch/src/main/java/de/nicidienase/chaosflix/touch/browse/streaming/LivestreamListFragment.kt | NiciDieNase | 85,370,651 | false | null | package de.nicidienase.chaosflix.touch.browse.streaming
import android.content.Context
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.Observer
import com.google.android.material.snackbar.Snackbar
impor... | 42 | null | 7 | 87 | 83b429928fe6a4de2796e750402fcece17bb1dab | 3,524 | chaosflix | MIT License |
shared/src/androidMain/kotlin/main.android.kt | FebrianDev | 709,151,433 | false | {"Kotlin": 312460, "Ruby": 1723, "Swift": 1695, "Shell": 228} | import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.compose.runtime.Composable
import com.google.firebase.firestore.FieldValue
import com.google.firebase.firestore.FirebaseFirestore
import data.chat.ChatEntity
import data.chat.Message
import dev.gitlive.firebase.Firebase
... | 0 | Kotlin | 0 | 0 | 383cc85cf6ba4436322d24cb2dd31d6a32903ba7 | 3,010 | TellUs | Apache License 2.0 |
app/src/main/java/com/yelinaung/luluaung/model/network/Datum.kt | yemyatthu1990 | 91,767,251 | true | {"Java": 929950, "Kotlin": 49268, "HTML": 4048} | package com.yelinaung.luluaung.model.network
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
import java.io.Serializable
import java.util.*
/**
* Created by user on 9/3/16.
*/
class Datum : Serializable {
/**
* @return
* * The images
*/
/**
... | 0 | Java | 0 | 0 | 334b884267bcca85f315c7ea3908c4b9c32dced8 | 980 | Lu-lu-aung | Do What The F*ck You Want To Public License |
src/main/kotlin/com/tuk/oriddle/quizGame/adapter/in/message/QuizGameWsController.kt | Team-Oriddle | 731,663,342 | false | {"Kotlin": 105076} | package com.tuk.oriddle.quizGame.adapter.`in`.message
import com.tuk.oriddle.global.result.ResultCode.*
import com.tuk.oriddle.quizGame.adapter.`in`.message.dto.ChatReceiveMessage
import com.tuk.oriddle.quizGame.adapter.`in`.message.dto.CheckAnswerMessage
import com.tuk.oriddle.quizGame.application.port.`in`.QuizGameU... | 3 | Kotlin | 1 | 0 | 61a7daccf01705520d2943a02e7901a1710f4710 | 1,674 | oriddle-backend | MIT License |
src/main/kotlin/com/github/blarc/ai/commits/intellij/plugin/settings/clients/azureOpenAi/AzureOpenAiClientSharedState.kt | Blarc | 618,925,533 | false | {"Kotlin": 144393} | package com.github.blarc.ai.commits.intellij.plugin.settings.clients.azureOpenAi;
import com.github.blarc.ai.commits.intellij.plugin.settings.clients.LLMClientSharedState
import com.intellij.openapi.components.*
import com.intellij.util.xmlb.annotations.XCollection
@Service(Service.Level.APP)
@State(name = "AzureOpen... | 18 | Kotlin | 29 | 236 | f9ad5347f3eeb7da562926187f2f533813fda6ba | 1,123 | ai-commits-intellij-plugin | MIT License |
ReviewerMobile/app/src/main/java/com/forzz/android/reviewermobile/domain/use_cases/get_movies/GetMoviesUseCase.kt | Forzz | 594,475,346 | false | null | package com.forzz.android.reviewermobile.domain.use_cases.get_movies
import android.util.Log
import com.forzz.android.reviewermobile.data.remote.dto.MovieDTO
import com.forzz.android.reviewermobile.domain.repository.ContentRepository
import com.forzz.android.reviewermobile.domain.use_cases.base.SingleUseCase
import io... | 0 | Kotlin | 0 | 0 | 60fa59b577d15f04168908cb03c03cb4e7ee5cb7 | 604 | Reviewer | MIT License |
app/src/main/java/com/arya/moviecatalogue/ui/movie/MovieViewModel.kt | arryaaas | 462,995,256 | false | null | package com.arya.moviecatalogue.ui.movie
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.paging.PagedList
import com.arya.moviecatalogue.data.source.MovieRepository
import com.arya.moviecatalogue.data.source.local.entity.MovieEntity
import com.arya.moviecatalogue.vo.Resource
cla... | 0 | Kotlin | 0 | 0 | d78876b86a5615b3968b0eb73f227e7abbc18083 | 519 | Movie-Catalogue | MIT License |
src/main/kotlin/me/bardy/bot/listeners/BardyBotListener.kt | BomBardyGamer | 273,072,409 | false | null | package me.bardy.bot.listeners
import net.dv8tion.jda.api.hooks.ListenerAdapter
/**
* Marker class for Spring to be able to inject a set of these without
* injecting all listener adapters.
*/
abstract class BardyBotListener : ListenerAdapter()
| 0 | Kotlin | 0 | 3 | a401ae145c222547d1e0737871ecf7d1acef689f | 249 | bardybot | MIT License |
src/main/kotlin/me/tatarka/assertk/failure.kt | evant | 84,261,688 | false | null | package assertk
/**
* Assertions are run in a failure context which captures failures to report them.
*/
internal object FailureContext {
internal var failure: Failure = SimpleFailure()
/**
* Run the given block of assertions in the given context. If we are already in a context a new one will not be
... | 4 | Kotlin | 0 | 6 | 5bc0de25314fcb56f17f74c45b7b4b255155b0a7 | 2,624 | assertk | Apache License 2.0 |
packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/UpdatesDatabaseTest.kt | betomoedano | 462,599,485 | false | null | package expo.modules.updates.db
import android.database.sqlite.SQLiteConstraintException
import androidx.room.Room
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner
import androidx.test.platform.app.InstrumentationRegistry
import expo.modules.updates.db.dao.AssetDao
import expo.modules.updates.db.da... | 668 | null | 5226 | 4 | 52d6405570a39a87149648d045d91098374f4423 | 5,050 | expo | MIT License |
kotlinUtils/src/main/java/com/pape/utils/ReflectExt.kt | ibaozi-cn | 129,831,947 | false | null | package com.pape.utils
/**
* 功能描述:
* Created by Administrator on 2018/5/7.
*/
| 1 | null | 2 | 9 | 4a4e458a923da80da9ce454cb37f73c69c202957 | 82 | AndroidUtilCodeToKotlin | Apache License 2.0 |
app/src/androidTest/java/com/concordium/wallet/data/room/TransferDaoUnitTest.kt | Concordium | 358,250,608 | false | null | package com.concordium.wallet.data.room
import android.content.Context
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.room.Room
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.concordium.wallet.data.model.TransactionO... | 9 | null | 3 | 9 | 5a273dbcac459e6c2a94b2b9a241eccfcb229cb9 | 2,919 | concordium-reference-wallet-android | Apache License 2.0 |
baselibrary/src/main/java/com/ballastlane/android/baselibrary/utils/DateTimeConverter.kt | Ballastlane-LLC | 123,138,312 | false | null | package com.ballastlane.android.baselibrary.utils
import com.google.gson.*
import org.joda.time.DateTime
import org.joda.time.format.ISODateTimeFormat
import java.lang.reflect.Type
/**
* Created by <NAME> (<EMAIL>) on 8/27/18.
* Copyright (c) 2018 Ballast Lane Applications LLC. All rights reserved.
*/
class DateTi... | 1 | null | 1 | 1 | 7b45852160a7ef9c6ae04e7225cd14d5335b300a | 1,174 | AndroidBaseLibrary | Apache License 2.0 |
camera/integration-tests/extensionstestapp/src/main/java/androidx/camera/integration/extensions/Constants.kt | androidx | 256,589,781 | false | null | /*
* 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... | 28 | null | 937 | 5,108 | 89ec14e39cf771106a8719337062572717cbad31 | 4,407 | androidx | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.