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/net/rf43/composepreviews/CardComposable.kt | rf43 | 760,189,563 | false | {"Kotlin": 45830} | package net.rf43.composepreviews
import androidx.annotation.DrawableRes
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import... | 0 | Kotlin | 0 | 0 | ef74ba5f5de14dc6efd47960aca372648eea68ed | 3,484 | android-compose-preview | MIT License |
sdk/src/main/java/com/mapbox/maps/coroutine/MapCameraManagerDelegateExt.kt | mapbox | 330,365,289 | false | {"Kotlin": 3982759, "Java": 98572, "Python": 18705, "Shell": 11465, "C++": 10129, "JavaScript": 4344, "Makefile": 2413, "CMake": 1201, "EJS": 1194} | package com.mapbox.maps.coroutine
import com.mapbox.geojson.Point
import com.mapbox.maps.CameraOptions
import com.mapbox.maps.EdgeInsets
import com.mapbox.maps.ScreenCoordinate
import com.mapbox.maps.plugin.delegates.MapCameraManagerDelegate
import kotlin.coroutines.resume
import kotlin.coroutines.suspendCoroutine
/*... | 181 | Kotlin | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 1,829 | mapbox-maps-android | Apache License 2.0 |
bpdm-gate/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/config/CdqConfigProperties.kt | catenax-ng | 439,008,287 | false | null | /*******************************************************************************
* Copyright (c) 2021,2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ma... | 4 | null | 7 | 6 | b5bb7ba489854149b6920f2e89e53e27f4f68682 | 1,729 | product-bpdm | Apache License 2.0 |
src/main/kotlin/derivean/game/initiative/InitiativeException.kt | marek-hanzal | 259,577,282 | false | null | package derivean.game.initiative
import derivean.game.GameException
open class InitiativeException(message: String, cause: Throwable? = null) : GameException(message, cause)
| 112 | Kotlin | 0 | 1 | 7a485228438c5fb9a61b1862e8164f5e87361e4a | 176 | DeRivean | Apache License 2.0 |
src/aws/lambdas/incremental_distribution/src/test/java/smoke/AnalyticsEventsSubmissionSmokeTest.kt | nhsx-mirror | 287,267,780 | true | {"Kotlin": 1307116, "HCL": 350528, "Ruby": 278734, "Java": 114825, "JavaScript": 8765, "Python": 8418, "Shell": 3088, "Dockerfile": 2996, "HTML": 1487, "Makefile": 542} | package smoke
import com.amazonaws.services.s3.AmazonS3ClientBuilder
import com.amazonaws.services.s3.model.DeleteObjectsRequest
import org.assertj.core.api.Assertions.assertThat
import org.http4k.client.JavaHttpClient
import org.http4k.core.Status
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.T... | 0 | Kotlin | 0 | 0 | 0479f8af23e89d9e296c0d5f3e34f3a854601ea2 | 3,037 | covid19-app-system-public | MIT License |
analysis/low-level-api-fir/testData/contextCollector/scripts/topLevelDestructuring_after.kts | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | data class TwoValues(val first: Int, val second: Int)
val (one, two) = TwoValues(1, 2)
<expr>one</expr>
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 106 | kotlin | Apache License 2.0 |
presentation/src/main/java/com/yapp/bol/presentation/utils/DisplayConverter.kt | YAPP-Github | 634,125,431 | false | {"Kotlin": 368775} | package com.yapp.bol.presentation.utils
import android.content.Context
fun Context.dpToPx(dp: Float): Int {
val metrics = resources.displayMetrics
val px = dp * (metrics.densityDpi / 160f)
return px.toInt()
}
fun Context.dpToPx(dp: Int): Int {
val metrics = resources.displayMetrics
val px = dp *... | 2 | Kotlin | 2 | 14 | d8f237ed4222395d795f750cc07698f01c108175 | 524 | onboard-aos | Apache License 2.0 |
app/src/main/java/com/kieronquinn/app/taptap/ui/screens/settings/action/SettingsActionViewModel.kt | KieronQuinn | 283,883,226 | false | null | package com.kieronquinn.app.taptap.ui.screens.settings.action
import android.util.Log
import androidx.fragment.app.Fragment
import androidx.fragment.app.setFragmentResultListener
import androidx.lifecycle.*
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import com.... | 52 | Kotlin | 2 | 2,251 | abec5a3e139786beeea75e2fb5677013d0719bf1 | 7,783 | TapTap | Apache License 2.0 |
lcc-hooks/src/main/kotlin/com/joshmanisdabomb/lcc/trait/LCCEffectTrait.kt | joshmanisdabomb | 537,458,013 | false | {"Kotlin": 2724329, "Java": 138822} | package com.joshmanisdabomb.lcc.trait
import net.minecraft.entity.effect.StatusEffectInstance
import net.minecraft.entity.mob.CreeperEntity
interface LCCEffectTrait {
fun lcc_canIncludeInExplosion(effect: StatusEffectInstance, creeper: CreeperEntity) = true
} | 0 | Kotlin | 0 | 0 | a836162eaf64a75ca97daffa02c1f9e66bdde1b4 | 267 | loosely-connected-concepts | Creative Commons Zero v1.0 Universal |
common/src/main/java/io/novafoundation/nova/common/view/AccountInfoView.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7662708, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.common.view
import android.content.Context
import android.graphics.drawable.Drawable
import android.util.AttributeSet
import android.view.View
import androidx.annotation.ColorInt
import androidx.constraintlayout.widget.ConstraintLayout
import io.novafoundation.nova.common.R
import io.nov... | 13 | Kotlin | 5 | 9 | 66a5c0949aee03a5ebe870a1b0d5fa3ae929516f | 2,977 | nova-wallet-android | Apache License 2.0 |
uast/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUClass.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 3,772 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/teamb/chzonk/data/repository/FileRepository.kt | drewbitt | 169,663,245 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "YAML": 3, "Proguard": 2, "XML": 31, "Kotlin": 57, "Java": 1} | package com.teamb.chzonk.data.repository
import androidx.lifecycle.MutableLiveData
import com.teamb.chzonk.DaggerApp
import com.teamb.chzonk.data.model.Book
import com.teamb.chzonk.data.model.ComicFile
import com.teamb.chzonk.data.room.FileDao
import com.teamb.chzonk.util.AppExecutors
import com.teamb.chzonk.util.Dele... | 1 | null | 1 | 1 | e9749a06b5f683d8ee45ae02e09c0ebcddd10e53 | 4,357 | RedDoor | Apache License 2.0 |
app/src/main/java/com/stevenpopovich/talktothat/taskmanager/TaskManager.kt | stevepopovich | 291,135,072 | false | {"G-code": 32972125} | package com.stevenpopovich.talktothat.taskmanager
import com.stevenpopovich.talktothat.taskmanager.tasks.Task
class TaskManager(
private var currentTask: Task? = null
) {
fun stop() {
currentTask?.finish()
}
fun clearTask() {
currentTask = null
}
fun runTask(task: Task) {
... | 5 | G-code | 0 | 4 | 180327cbd933262087ac5e7537bca8053de79db4 | 434 | sam | MIT License |
buildSrc/src/main/kotlin/AppInfo.kt | awalkz | 366,035,864 | true | {"Kotlin": 207915, "Shell": 233, "Dockerfile": 126} | object AppInfo {
const val PACKAGE = "me.y9san9.prizebot"
const val VERSION = "1.1-beta"
}
| 0 | null | 0 | 0 | 5f50ac6c067b790b2827289478d5e786d512e5dc | 99 | prizebot | MIT License |
src/jvmVectorTest/kotlin/org/angproj/crypt/sec/Binary409Test.kt | angelos-project | 677,062,617 | false | {"Kotlin": 18037708} | package org.angproj.crypt.sec
class Binary409Test {
object B_409_KeyPair {
val testVectors: String = """# CAVS 11.1
# "Key Pair" information
# Curves selected: P-192 P-224 P-256 P-384 P-521 K-163 K-233 K-283 K-409 K-571 B-163 B-233 B-283 B-409 B-571
# Generated on Thu May 05 09:19:12 2011
[B-409]
d... | 0 | Kotlin | 0 | 0 | 9303105ed175f0afccebf27e4f69edf3a58d684c | 26,266 | angelos-project-crypt | MIT License |
Kotlin/KeyGuardScreenLock/app/src/main/java/com/example/keyguardscreenlock/FingerPrintHandler.kt | puneetBhardwaj002 | 501,320,924 | false | null | package com.example.keyguardscreenlock
import android.Manifest
import android.annotation.TargetApi
import android.content.Context
import android.content.pm.PackageManager
import android.os.Build
import android.widget.Toast
import androidx.core.app.ActivityCompat
import androidx.core.hardware.fingerprint.FingerprintMan... | 1 | null | 1 | 1 | f7a8da94b2b563ae3d7273a80baff50f9c460d29 | 1,685 | AndroidBeginner | Apache License 2.0 |
src/main/kotlin/com/sergeysav/voxel/common/world/loading/WorldLoadingManager.kt | SergeySave | 260,611,748 | false | null | package com.sergeysav.voxel.common.world.loading
import com.sergeysav.voxel.common.chunk.Chunk
import com.sergeysav.voxel.common.chunk.ChunkPosition
import com.sergeysav.voxel.common.world.World
/**
* @author sergeys
*/
interface WorldLoadingManager<C : Chunk, W : World<C>> {
fun updateWorldLoading(world: W, c... | 0 | Kotlin | 0 | 0 | 446f91f11661f1b87e1fb7b2f533f9e24b45704e | 443 | Voxel | MIT License |
androidApp/src/main/java/com/rld/justlisten/android/ui/theme/utils/AppThemeState.kt | RLD-JL | 495,044,961 | false | {"Kotlin": 317519, "Swift": 344} | package com.rld.justlisten.android.ui.theme.utils
import com.rld.justlisten.android.ui.theme.ColorPallet
data class AppThemeState(
var darkTheme: Boolean = false,
var pallet: ColorPallet = ColorPallet.Green
)
| 3 | Kotlin | 3 | 82 | f1d4281c534563d4660c40cb0b9e83435146a4d4 | 219 | Just-Listen | Apache License 2.0 |
src/main/kotlin/dev/shtanko/algorithms/leetcode/RemoveVowels.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2020 Oleksii Shtanko
*
* 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... | 6 | null | 0 | 19 | 19fe7466f14a81ba3dd89ef63dd2b6229dfde749 | 1,566 | kotlab | Apache License 2.0 |
SingleInstanceApplication/src/main/kotlin/example/App.kt | aterai | 158,348,575 | false | null | package example
import java.awt.* // ktlint-disable no-wildcard-imports
import java.awt.event.WindowAdapter
import java.awt.event.WindowEvent
import java.net.ServerSocket
import javax.swing.* // ktlint-disable no-wildcard-imports
fun makeUI() = JPanel(BorderLayout()).also {
it.add(JScrollPane(JTree()))
it.preferr... | 0 | Kotlin | 6 | 9 | 47a0c684f64c3db2c8b631b2c20c6c7f9205bcab | 1,286 | kotlin-swing-tips | MIT License |
src/jsMain/kotlin/presentation/features/application/controller/SettingsControllerImpl.kt | Tanexc | 667,134,735 | false | null | package presentation.features.application.controller
import androidx.compose.material3.ColorScheme
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import domain.controller.SettingsController
import domain.interfaces.StringResources
im... | 0 | Kotlin | 0 | 2 | d8219c60de5c350c7b6b1d5031166deb0063e557 | 1,218 | ComposeWebCakes | Apache License 2.0 |
uiview/src/main/java/com/angcyo/uiview/base/UINavigationView.kt | angcyo | 84,613,927 | false | {"Java": 6726484, "Kotlin": 892262} | package com.angcyo.uiview.base
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import android.support.annotation.ColorInt
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
im... | 0 | Java | 3 | 1 | b4869afa5ca2522289942d438a99a160b1d60a40 | 7,624 | RLibrary | Apache License 2.0 |
core/jsMain/src/kotlinx/io/buffer/Buffer.kt | r4zzz4k | 311,159,350 | true | {"Kotlin": 255997} | package kotlinx.io.buffer
import org.khronos.webgl.ArrayBuffer
import org.khronos.webgl.DataView
import org.khronos.webgl.Int8Array
public actual class Buffer(public val view: DataView) {
public actual inline val size: Int
get() = view.byteLength
public actual fun loadByteAt(index: Int): Byte = check... | 0 | null | 0 | 0 | 4c038d46ba03b3dcd087a13dd8e5380d177993c6 | 951 | kotlinx-io | Apache License 2.0 |
app/src/main/java/com/example/viwiki/ViWikiApplication.kt | migvidal | 514,617,346 | false | null | package com.example.viwiki
import android.app.Application
import timber.log.Timber
/**
* Main application class
*/
class ViWikiApplication : Application() {
override fun onCreate() {
super.onCreate()
Timber.plant(Timber.DebugTree())
}
} | 0 | Kotlin | 0 | 0 | 7926fd846f1b1785c508937a366e4f3bef93b3fc | 264 | ViWiki | X11 License |
lights/src/commonMain/kotlin/inkapplications/shade/lights/structures/ColorTemperatureInfo.kt | InkApplications | 183,111,240 | false | {"Kotlin": 301356, "Shell": 99} | package inkapplications.shade.lights.structures
import inkapplications.shade.serialization.DelegateSerializer
import inkapplications.shade.serialization.MiredSerializer
import inkapplications.spondee.measure.ColorTemperature
import inkapplications.spondee.measure.mireds
import inkapplications.spondee.measure.toMireds
... | 20 | Kotlin | 4 | 65 | 4d9b74d923341bcb066f38dfbc645d90cc86b4fd | 2,006 | Shade | MIT License |
src/main/kotlin/org/arend/codeInsight/hints/ArendAxiomsInlayProvider.kt | JetBrains | 96,068,447 | false | {"Kotlin": 2655823, "Lex": 16187, "Java": 5894, "HTML": 2144, "CSS": 1108, "JavaScript": 713} | package org.arend.codeInsight.hints
import com.intellij.codeInsight.hints.NoSettings
import com.intellij.codeInsight.hints.SettingsKey
import org.arend.core.definition.Definition
@Suppress("UnstableApiUsage")
class ArendAxiomsInlayProvider : ArendDefinitionInlayProvider() {
override val key: SettingsKey<NoSetting... | 36 | Kotlin | 12 | 90 | 7a6608a2e44369e11c5baad3ef2928d6f9c971b2 | 912 | intellij-arend | Apache License 2.0 |
src/main/kotlin/ttt/drift/geo/Area.kt | turnthetide | 175,595,257 | false | null | package ttt.drift.geo
import io.vertx.core.json.JsonObject
val EMPTY = Area(0, 0)
data class Area(val width: Int, val height: Int) :
JsonObject(
mapOf(
"width" to width,
"height" to height
)
) {
fun center(offset: Area = EMPTY) = Coords(width / 2 - offset.width / ... | 0 | Kotlin | 0 | 3 | b612b86dedb42c400ec2e60c9643bc24e08bb561 | 357 | drift | MIT License |
src/org/jetbrains/r/editor/RExtendWordSelectionHandler.kt | JetBrains | 214,212,060 | false | null | /*
* Copyright 2000-2019 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 org.jetbrains.r.editor
import com.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase
import com.intellij.openapi.util.Condition
import com.intellij... | 2 | null | 12 | 62 | 801234f9bee37a12063d11dff6515b9517555e31 | 898 | Rplugin | Apache License 2.0 |
shared/src/commonMain/kotlin/co/touchlab/sessionize/FeedbackModel.kt | TadeasKriz | 390,103,863 | true | {"Kotlin": 205617, "Swift": 84511, "HTML": 7463, "Ruby": 4271, "Python": 3852} | package co.touchlab.sessionize
import co.touchlab.droidcon.db.MyPastSession
import co.touchlab.sessionize.api.FeedbackApi
import co.touchlab.sessionize.api.NetworkRepo
import co.touchlab.sessionize.db.SessionizeDbHelper
import co.touchlab.sessionize.platform.NotificationsModel
import co.touchlab.sessionize.platform.cu... | 0 | null | 0 | 1 | df53006ff7ad851b0532ad918e738e4f8d8f8cba | 1,942 | DroidconKotlin | Apache License 2.0 |
app/src/main/java/com/deymer/ibank/ui/components/Spinner.kt | Deimer | 817,640,789 | false | {"Kotlin": 341824} | package com.deymer.ibank.ui.components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.DropdownMenuItem
import androidx.compose.material3.ExperimentalMaterial3Api
import an... | 0 | Kotlin | 0 | 0 | fa2adcf5f49ae4ff3be2c57076e644d9b74ee1f0 | 3,154 | iBank | MIT License |
src/main/kotlin/com/ivieleague/dejanko/orm/DBExpression.kt | UnknownJoe796 | 340,833,944 | false | null | package com.ivieleague.dejanko.orm
import com.ivieleague.dejanko.forEachBetween
import kotlin.reflect.KClass
interface DBExpression<T> {
fun write(to: QueryWriter)
}
enum class ComparisonType(val symbol: String) {
EQUAL("="),
NOT_EQUAL("<>"),
LESS_THAN("<"),
LESS_THAN_EQUAL("<="),
GREATER_TH... | 0 | Kotlin | 0 | 0 | 831febf88f9def35107cf8379fd88c16e677a72d | 4,876 | dejanko | MIT License |
tradeit-android-sdk/src/test/kotlin/it/trade/android/sdk/model/TradeItLinkedBrokerCacheSpec.kt | tradingticket | 74,619,601 | false | null | package it.trade.android.sdk.model
import android.content.Context
import android.content.SharedPreferences
import android.content.SharedPreferences.Editor
import com.google.gson.Gson
import com.nhaarman.mockitokotlin2.*
import it.trade.model.reponse.TradeItBrokerAccount
import it.trade.model.reponse.TradeItOAuthAccess... | 2 | Kotlin | 10 | 13 | 1d784e9eba023479652ccc5963ea7a77624bde01 | 13,142 | AndroidSDK | Apache License 2.0 |
libraries/csm.cloud.common.streamable/src/main/kotlin/com/bosch/pt/csm/cloud/common/command/handler/CommandHandlerSideEffectDefinition.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2021
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.common.command.handler
import com.bosch.pt.csm.cloud.common.comm... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 869 | bosch-pt-refinemysite-backend | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/logs/SubscriptionFilterPropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.logs
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.services.logs.IFilterPa... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,758 | awscdk-dsl-kotlin | Apache License 2.0 |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/boss/tr/tr27/TR27MafiaMaya.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.dress.boss.tr.tr27
import xyz.qwewqa.relive.simulator.core.presets.dress.middle.snow.CapricornClaudine
import xyz.qwewqa.relive.simulator.core.presets.dress.boss.tr.trEventBonusPassive2023
import xyz.qwewqa.relive.simulator.core.stage.HitMode
import xyz.qwewqa.relive.si... | 0 | Kotlin | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 11,650 | relight | MIT License |
app/src/main/java/net/xblacky/animexstream/ui/main/favourites/FavouriteFragment.kt | mukul500 | 246,999,372 | false | null | package net.xblacky.animexstream.ui.main.favourites
import android.content.res.Configuration
import android.graphics.Color
import android.os.Bundle
import android.transition.Fade
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.constraintlayout.motion.widget.Mot... | 178 | Kotlin | 204 | 2,386 | c4174291d6d5e60c6d74bcebe4b968d3363e080e | 6,925 | AnimeXStream | MIT License |
app/src/main/kotlin/com/tezov/gofo/retrofit/unsplash/UnsplashNetworkProvider.kt | tezov | 640,329,100 | false | null | package com.tezov.gofo.retrofit.unsplash
import com.tezov.lib_java.debug.DebugException
import com.tezov.lib_java.debug.DebugTrack
import com.tezov.lib_java.type.primitive.ObjectTo
import com.google.gson.GsonBuilder
import com.tezov.gofo.R
import com.tezov.gofo.application.AppInfo
import com.tezov.lib_java.application... | 0 | Kotlin | 0 | 0 | 02d5d2125f6211e94410cda57af23469a4fa3a33 | 12,605 | gofo | MIT License |
test-utils/testData/api/abstractFunctions.kt | google | 297,744,725 | false | null | /*
* Copyright 2022 Google LLC
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
*
* 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.apac... | 370 | null | 268 | 2,854 | a977fb96b05ec9c3e15b5a0cf32e8e7ea73ab3b3 | 1,685 | ksp | Apache License 2.0 |
lib-sotwtm-support/src/main/kotlin/com/sotwtm/support/SotwtmSupportComponent.kt | sheungon | 185,519,130 | false | null | package com.sotwtm.support
import android.app.Application
import com.sotwtm.support.scope.LibScope
import dagger.BindsInstance
import dagger.Component
import dagger.android.AndroidInjector
import java.util.*
import javax.inject.Qualifier
@LibScope
@Component(
modules = [SotwtmSupportBindsModule::class,
So... | 0 | Kotlin | 0 | 0 | 0ab486cda4060c256a3e12576d2381cd2f6a7dd2 | 969 | AndroidX-MVVM | Apache License 2.0 |
app/src/main/java/com/example/matchmentor/view/CardStackAdapter.kt | RodrigoJrDev | 795,927,508 | false | {"Kotlin": 80720} | package com.example.matchmentor.view
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.example.matchmentor.R
import com.exam... | 0 | Kotlin | 0 | 0 | 424b3963b6e230f40d29a6e42bb7f0cf501c842c | 2,416 | MatchTech | MIT License |
code/notificationbuilder/src/main/java/com/adobe/marketing/mobile/notificationbuilder/internal/NotificationPriority.kt | adobe | 800,868,595 | false | {"Kotlin": 307631, "Shell": 4574, "Makefile": 1559, "Java": 983} | /*
Copyright 2024 Adobe. All rights reserved.
This file is licensed to you 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 la... | 4 | Kotlin | 8 | 0 | 66e8ab917fc12d6df137386c5e1104ca1418ddc7 | 1,979 | aepsdk-ui-android | Apache License 2.0 |
app/src/main/java/com/trigonated/albhedtranslator/ui/translate/TranslateFragment.kt | trigonated | 425,547,759 | false | null | package com.trigonated.albhedtranslator.ui.translate
import android.os.Bundle
import android.text.InputType
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.trig... | 0 | Kotlin | 0 | 0 | a81c7bfff1cb95a4236e6a1ec9596c9db5cd2d87 | 2,084 | AlBhedTranslator | MIT License |
app/src/main/java/com/ngocvu/example/data/request/RefreshTokenReqData.kt | RubyV | 381,760,596 | false | null | package com.ngocvu.example.data.request
import com.google.gson.annotations.SerializedName
data class RefreshTokenReqData (
@SerializedName("grant_type")
val grantType: String = "",
@SerializedName("refresh_token")
val refreshToken: String? = "",
@SerializedName("client_id")
val clientId: Strin... | 8 | Kotlin | 0 | 0 | 29733b31a22db6cc20ffd53bf365065f6776be9e | 390 | nimble-survey-app | MIT License |
ts-database/ts-mongodb/src/main/kotlin/cn/tursom/database/mongodb/subscriber/AsyncDocumentIteratorSubscriber.kt | tursom | 213,611,087 | false | {"YAML": 1, "Gradle Kotlin DSL": 45, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Kotlin": 616, "Java": 6, "INI": 1, "Markdown": 3} | package cn.tursom.database.mongodb.subscriber
import cn.tursom.core.datastruct.AsyncIterator
import cn.tursom.core.util.Disposable
import cn.tursom.database.mongodb.MongoUtil
import org.bson.Document
import org.reactivestreams.Subscriber
import org.reactivestreams.Subscription
import java.util.concurrent.ConcurrentLin... | 0 | Kotlin | 2 | 8 | 6052adebd9c41edf7a44e77abdeb5ed01a526e8c | 2,033 | TursomServer | MIT License |
server/src/main/kotlin/net/horizonsend/ion/server/features/sidebar/component/LocationSidebarComponent.kt | HorizonsEndMC | 461,042,096 | false | {"Kotlin": 2625674, "Java": 14047, "Shell": 1414, "JavaScript": 78} | package net.horizonsend.ion.server.features.sidebar.component
import net.horizonsend.ion.common.utils.text.ofChildren
import net.horizonsend.ion.common.utils.text.repeatString
import net.horizonsend.ion.server.features.sidebar.MainSidebar
import net.kyori.adventure.text.Component.text
import net.kyori.adventure.text.f... | 25 | Kotlin | 26 | 9 | 195d411cd3d48dfb0b4695a2a8bbfa66354edac4 | 1,440 | Ion | MIT License |
cinescout/movies/data/remote/tmdb/src/commonMain/kotlin/cinescout/movies/data/remote/tmdb/testutil/TmdbMovieDetailsJson.kt | 4face-studi0 | 280,630,732 | false | null | package cinescout.movies.data.remote.tmdb.testutil
import cinescout.movies.data.remote.model.TmdbMovie
import cinescout.movies.data.remote.testdata.TmdbMovieTestData
import cinescout.movies.data.remote.tmdb.model.GetMovieDetails
import cinescout.movies.domain.testdata.MovieWithDetailsTestData
import com.soywiz.klock.D... | 19 | Kotlin | 2 | 3 | d64398507d60a20a445db1451bdd8be23d65c9aa | 8,199 | CineScout | Apache License 2.0 |
skellig-test-step-processing/src/main/kotlin/org/skellig/teststep/processing/model/DefaultTestStep.kt | skellig-framework | 263,021,995 | false | {"Kotlin": 1283314, "CSS": 525991, "Java": 270216, "FreeMarker": 66859, "HTML": 11313, "ANTLR": 6165} | package org.skellig.teststep.processing.model
import org.skellig.teststep.processing.util.PropertyFormatUtils.Companion.toStringCollection
/**
* A basic test step with common properties and validation details for a result.
*
* @param id a unique id of the test step. It is usually used to store its data or a result... | 8 | Kotlin | 0 | 3 | ed375268b0e444f1928f22f4ac27603e9d1fb66b | 5,111 | skellig-core | Apache License 2.0 |
android/src/main/java/com/reactnativecamerax/CameraxManager.kt | vinitraj10 | 286,021,019 | false | null | package com.reactnativecamerax
import android.view.LayoutInflater
import androidx.constraintlayout.widget.ConstraintLayout
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ThemedReactContext
import com.facebook.react.uimanager.ViewGroupManager
import com.facebook.react.views... | 1 | null | 1 | 3 | a1c30e437713586dcf9ccf18c7941d089fe395c2 | 740 | react-native-camerax | MIT License |
notes/src/main/java/com/ygoular/notes/helper/PrefsHelper.kt | yoanngoular | 227,896,864 | false | null | package com.ygoular.notes.helper
import android.content.Context
import android.content.SharedPreferences
import com.ygoular.notes.BaseApplication
import com.ygoular.notes.BuildConfig
import com.ygoular.notes.model.SortingStrategy
object PrefsHelper {
private const val SHARED_PREFERENCES_NAME: String = "${BuildCo... | 0 | Kotlin | 0 | 0 | a4ddd9a7478f6d24d7ce65af3dcf032da9eb2c3a | 1,996 | notes | MIT License |
plugin-dotnet-server/src/main/kotlin/jetbrains/buildServer/dotnet/discovery/StreamFactory.kt | JetBrains | 49,584,664 | false | {"Kotlin": 2711266, "C#": 319161, "Java": 95520, "Dockerfile": 831, "CSS": 123} | package jetbrains.buildServer.dotnet.discovery
import java.io.InputStream
interface StreamFactory {
fun tryCreate(path: String): InputStream?
} | 3 | Kotlin | 25 | 94 | c7f12409b67420d5655780ce6e50638ce4ca1f8d | 149 | teamcity-dotnet-plugin | Apache License 2.0 |
core/src/main/java/com/appacoustic/cointester/core/presentation/analyzer/view/ColorMapArray.kt | soygabimoreno | 197,892,666 | false | {"Kotlin": 392852, "Java": 92432, "CMake": 1598} | package com.appacoustic.cointester.core.presentation.analyzer.view
import com.appacoustic.cointester.libFramework.KLog.Companion.i
/**
* Colors for Spectrogram.
*/
internal object ColorMapArray {
@JvmStatic
fun selectColorMap(colorMapName: String): IntArray {
return when (colorMapName.toLowerCase())... | 0 | Kotlin | 0 | 2 | 6801752fd61f24dc901e87ca116929d34fd7d753 | 43,694 | Coin-Tester | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/UPNP.kt | ShalokShalom | 343,354,086 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE")
package godot
import godot.annotation.God... | 0 | null | 0 | 1 | 7b9b195de5be4a0b88b9831c3a02f9ca06aa399c | 8,226 | godot-jvm | MIT License |
kirinmaru-android/src/main/java/stream/reconfig/kirinmaru/android/ui/common/fragment/DrawerRecyclerFragment.kt | dutn158 | 140,231,944 | true | {"HTML": 615621, "Kotlin": 152386, "Java": 19407} | package stream.reconfig.kirinmaru.android.ui.common.fragment
import android.os.Bundle
import android.support.annotation.CallSuper
import android.support.design.widget.AppBarLayout
import android.support.v4.content.ContextCompat
import android.view.View
import stream.reconfig.kirinmaru.android.R
import stream.reconfig.... | 0 | HTML | 0 | 0 | a32917ca1e8241ebfbf8e8a35b674c1832df00a6 | 1,226 | Kirinmaru | Apache License 2.0 |
reporter/src/main/kotlin/utils/AttributionDocumentPdfModel.kt | VaeterchenFrost | 286,570,612 | true | {"Kotlin": 2305998, "JavaScript": 336084, "HTML": 29515, "CSS": 24871, "Python": 21654, "Dockerfile": 6651, "Shell": 6028, "Ruby": 3563, "ANTLR": 1877, "Go": 1071, "Rust": 280} | /*
* Copyright (C) 2020 Bosch.IO GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | null | 0 | 1 | e4b6019cb1bec25992478bcdc9d673673ca8264e | 1,334 | ort | Apache License 2.0 |
app/src/main/java/com/absinthe/anywhere_/view/home/FabBuilder.kt | zhaobozhen | 203,908,079 | false | null | package com.absinthe.anywhere_.view.home
import android.content.Context
import com.absinthe.anywhere_.R
import com.absinthe.anywhere_.constants.GlobalValues
import com.absinthe.libraries.utils.extensions.getColorByAttr
import com.leinardi.android.speeddial.SpeedDialActionItem
import com.leinardi.android.speeddial.Spee... | 8 | Kotlin | 11 | 87 | 324e33d9efa8bfc98522d6d94ee275b4433aed8d | 1,976 | Anywhere- | Apache License 2.0 |
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/awt/RenderingSettings.desktop.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* Copyright 2024 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... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 1,928 | compose | Apache License 2.0 |
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/awt/RenderingSettings.desktop.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* Copyright 2024 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... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 1,928 | compose | Apache License 2.0 |
src/main/kotlin/com/knot/plugins/ConfigureRequestValidation.kt | vshkl | 720,204,788 | false | {"Kotlin": 51700} | package com.knot.plugins
import com.knot.feature.auth.authValidations
import com.knot.feature.note.noteValidations
import io.ktor.server.application.Application
import io.ktor.server.application.install
import io.ktor.server.plugins.requestvalidation.RequestValidation
fun Application.configureRequestValidation() {
... | 0 | Kotlin | 0 | 0 | 255128841d8d2a3a36e6530f9095be8e967412ee | 411 | knot-api | MIT License |
src/commonMain/kotlin/com/lehaine/littlekt/samples/game/common/UpdateExt.kt | littlektframework | 442,309,959 | false | {"Kotlin": 71106, "HTML": 1152, "Shell": 962} | package com.lehaine.littlekt.samples.game.common
import com.lehaine.littlekt.Scene
import com.lehaine.littlekt.util.milliseconds
import com.lehaine.littlekt.util.seconds
import kotlin.time.Duration
import kotlin.time.Duration.Companion.milliseconds
import kotlin.time.Duration.Companion.seconds
/**
* @author <NAME>
... | 0 | Kotlin | 2 | 9 | b495fc38d322c8a5cbfb94106d550dde940797d5 | 1,730 | littlekt-samples | Apache License 2.0 |
codebase/android/feature/transactions/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/transactions/add_or_edit_transaction/screen/AddOrEditTransactionScreenUI.kt | Abhimanyu14 | 429,663,688 | false | null | package com.makeappssimple.abhimanyu.financemanager.android.feature.transactions.add_or_edit_transaction.screen
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWi... | 0 | Kotlin | 0 | 0 | ad9e8d4a2e74a010949cde1315dedb0d294acec8 | 21,173 | finance-manager | Apache License 2.0 |
modules/core/arrow-mtl/src/main/kotlin/arrow/mtl/instances/option.kt | scame | 121,748,545 | true | {"Kotlin": 1488904, "CSS": 118438, "HTML": 9886, "JavaScript": 8493, "Java": 4465, "Shell": 3043} | package arrow.mtl.instances
import arrow.core.*
import arrow.instance
import arrow.instances.traverse
import arrow.instances.traverseFilter
import arrow.mtl.MonadFilter
import arrow.mtl.TraverseFilter
import arrow.typeclasses.Applicative
@instance(Option::class)
interface OptionTraverseFilterInstance : TraverseFilter... | 0 | Kotlin | 0 | 0 | e6af0d62eb311134d1fc39012bb953a6f479692c | 2,577 | kategory | Apache License 2.0 |
test/src/commonMain/kotlin/Assert.kt | JuulLabs | 261,866,344 | false | {"Kotlin": 80288} | @file:Suppress("ktlint:standard:max-line-length")
package com.juul.tuulbox.test
import kotlinx.datetime.Instant
import kotlinx.datetime.LocalDateTime
import kotlinx.datetime.TimeZone
import kotlinx.datetime.toInstant
import kotlin.test.assertTrue
import kotlin.time.Duration
/** Asserts that [value] is an element in ... | 9 | Kotlin | 3 | 28 | 9021103bf2ad904cb08c0047b0406f3a9921838f | 2,398 | tuulbox | Apache License 2.0 |
src/main/kotlin/io/openapiprocessor/spring/writer/java/SpringWriterFactory.kt | openapi-processor | 196,863,956 | false | {"Kotlin": 36819, "Groovy": 29017, "Java": 9301, "Just": 134} | /*
* Copyright 2023 https://github.com/openapi-processor/openapi-processor-spring
* PDX-License-Identifier: Apache-2.0
*/
package io.openapiprocessor.spring.writer.java
import io.openapiprocessor.core.converter.ApiOptions
import io.openapiprocessor.core.writer.DefaultWriterFactory
import java.nio.file.Path
class ... | 8 | Kotlin | 9 | 39 | df3d98e427925bd09d1cf86ec7663d097dc10927 | 708 | openapi-processor-spring | Apache License 2.0 |
app/src/main/java/gregoiregeis/wake/views/EditorView.kt | 71 | 121,846,707 | false | null | package gregoiregeis.wake.views
import gregoiregeis.wake.R
import gregoiregeis.wake.Renderer
import gregoiregeis.wake.activities.EditActivity
import gregoiregeis.wake.helpers.AnkoViewProvider
import gregoiregeis.wake.helpers.dp
import android.content.res.ColorStateList
import android.support.design.widget.FloatingActi... | 0 | Kotlin | 1 | 3 | d3e0c440e5640ed3e8133ae65eb75363bf083aa0 | 3,961 | wake | MIT License |
buildSrc/src/main/java/com/vdreamers/version/AppBuildConfigs.kt | VDreamers | 371,930,987 | false | null | package com.vdreamers.version
object AppBuildConfigs {
const val COMPILE_SDK_VERSION = 30
const val BUILD_TOOLS_VERSION = "30.0.3"
const val APPLICATION_ID = "com.vdreamers.vext.sample"
const val MIN_SDK_VERSION = 21
const val TARGET_SDK_VERSION = 30
const val VERSION_CODE = 100100000
con... | 0 | Kotlin | 0 | 0 | b1d250eaaf368d117a96f479cd49bcc3ec125d41 | 353 | VExt | Apache License 2.0 |
app/src/main/java/com/example/caltrack/api/NutritionQueryRequest.kt | Vyvy-vi | 791,675,856 | false | {"Kotlin": 62066} | package com.example.caltrack.api
data class NutritionQueryRequest(
val query: String
) | 0 | Kotlin | 0 | 0 | 7e46e2aaf4955faf7e38c691908d0700f04154d0 | 91 | CalTrack | MIT License |
app/src/main/java/ch/nevis/exampleapp/coroutines/ui/pin/PinViewModel.kt | nevissecurity | 580,013,451 | false | null | /**
* Nevis Mobile Authentication SDK Example App
*
* Copyright © 2022. Nevis Security AG. All rights reserved.
*/
package ch.nevis.exampleapp.coroutines.ui.pin
import android.view.View
import androidx.annotation.StringRes
import androidx.lifecycle.viewModelScope
import ch.nevis.exampleapp.coroutines.R
import ch.... | 1 | null | 0 | 3 | 7f3df96d91b53970fbaa774ccff07aab03878a16 | 4,850 | nevis-mobile-authentication-sdk-example-app-android-coroutines | MIT License |
projects/workforce-allocations-to-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/allocations/entity/ReferenceData.kt | ministryofjustice | 500,855,647 | false | null | package uk.gov.justice.digital.hmpps.integrations.delius.allocations
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.JoinColumn
import jakarta.persistence.ManyToOne
import jakarta.persistence.Table
import org.hibernate.annotations.Immutable
i... | 4 | Kotlin | 0 | 2 | 9f6663d820fb8123d915107edfa9abc5f82d3fb6 | 1,205 | hmpps-probation-integration-services | MIT License |
src/test/kotlin/org/kotrix/vector/VectorExTest.kt | JarnaChao09 | 285,169,397 | false | null | package org.kotrix.vector
class VectorExTest {
} | 0 | Kotlin | 1 | 5 | b226a29f30db6d954d3de326052a8218cee00e8a | 49 | Kotrix | MIT License |
ui-lib/src/main/java/co/electriccoin/zcash/ui/Navigation.kt | Electric-Coin-Company | 390,808,594 | false | {"Kotlin": 983647} | package co.electriccoin.zcash.ui
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.NavOptionsBuilder
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import ... | 183 | Kotlin | 11 | 19 | 24cd22186f76fc9c55962fff43010a6bfef75511 | 8,380 | zashi-android | MIT License |
library/src/main/java/com/phantomvk/identifier/provider/NubiaProvider.kt | phantomVK | 821,193,729 | false | {"Kotlin": 62616, "Java": 50348, "AIDL": 2959} | package com.phantomvk.identifier.provider
import android.net.Uri
import com.phantomvk.identifier.model.ProviderConfig
internal class NubiaProvider(config: ProviderConfig) : AbstractProvider(config) {
override fun isSupported(): Boolean {
return true
}
override fun run() {
val uri = Uri.parse("content:... | 0 | Kotlin | 1 | 3 | 4a5319cd534a2e36db4cd2a9e0dd8de2bd472e85 | 1,250 | Identifier | Apache License 2.0 |
module_book/src/main/kotlin/com/crow/module_book/model/resp/novel_catelogue/Content.kt | crowforkotlin | 610,636,509 | false | {"Kotlin": 1225238, "C++": 3504, "CMake": 2776, "Makefile": 1968} | package com.crow.module_book.model.resp.novel_catelogue
import com.squareup.moshi.Json
data class Content(
@Json(name = "content")
val content: String?,
@Json(name = "content_type")
val contentType: Int,
@Json(name = "end_lines")
val endLines: Int,
@Json(name = "name")
val name: S... | 17 | Kotlin | 30 | 467 | 14745e7c9125ddbac00b20365dba22b9231d51e1 | 385 | CopyMangaX | Apache License 2.0 |
module_book/src/main/kotlin/com/crow/module_book/model/resp/novel_catelogue/Content.kt | crowforkotlin | 610,636,509 | false | {"Kotlin": 1225238, "C++": 3504, "CMake": 2776, "Makefile": 1968} | package com.crow.module_book.model.resp.novel_catelogue
import com.squareup.moshi.Json
data class Content(
@Json(name = "content")
val content: String?,
@Json(name = "content_type")
val contentType: Int,
@Json(name = "end_lines")
val endLines: Int,
@Json(name = "name")
val name: S... | 17 | Kotlin | 30 | 467 | 14745e7c9125ddbac00b20365dba22b9231d51e1 | 385 | CopyMangaX | Apache License 2.0 |
src/test/kotlin/io/github/terickson87/ktorpostgresdemo/domain/handlers/notes/CreateNoteHandlerTest.kt | terickson87 | 775,215,903 | false | {"Kotlin": 38005, "Dockerfile": 469} | package io.github.terickson87.ktorpostgresdemo.domain.handlers.notes
import io.github.terickson87.ktorpostgresdemo.adapter.accessor.NotesAccessor
import io.github.terickson87.ktorpostgresdemo.adapter.accessor.Note
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.matchers.shouldBe
import io.kotest.matcher... | 0 | Kotlin | 0 | 0 | aad779bbdbec70909db728689367f0b547b6682c | 1,671 | fullstack-ktor-react-postgres-docker-demo-app | MIT License |
hexagon_starters/src/main/kotlin/com/hexagonkt/starters/Service.kt | mrpascal1 | 248,485,404 | true | {"Kotlin": 421825, "HTML": 25440, "Scala": 3554, "JavaScript": 2701, "Dockerfile": 2196, "CSS": 1122, "Shell": 894} | package com.hexagonkt.starters
import com.hexagonkt.helpers.logger
import com.hexagonkt.http.httpDate
import com.hexagonkt.http.server.Server
import com.hexagonkt.http.server.ServerPort
import com.hexagonkt.http.server.jetty.JettyServletAdapter
import com.hexagonkt.injection.InjectionManager
val injector = InjectionM... | 0 | Kotlin | 0 | 0 | 9e26bc9400cf73b2c5ba1f77d6e1b732cd059f11 | 763 | hexagon | MIT License |
src/lib/kotlin/slatekit-entities/src/main/kotlin/slatekit/entities/databases/converters/UUIDConverter.kt | ColleenKeegan | 174,519,919 | false | {"Text": 22, "Ignore List": 25, "YAML": 1, "Markdown": 20, "Gradle": 44, "Shell": 27, "Batchfile": 27, "Java Properties": 17, "Kotlin": 690, "INI": 2, "Java": 4, "SQL": 1, "XML": 5, "HTML": 1, "CSS": 1, "JavaScript": 1, "Swift": 3} | package slatekit.entities.databases.converters
import slatekit.common.SqlConverter
import slatekit.common.records.Record
import slatekit.entities.Consts
import java.util.*
object UUIDConverter : SqlConverter<UUID> {
override fun toSql(value: UUID?): String {
return value?.let { "'" + value.toString() + "... | 1 | null | 1 | 1 | bd1d55f2191f729149e901be102c22d7c719793d | 453 | slatekit | Apache License 2.0 |
src/main/kotlin/io/github/magonxesp/booruclient/safebooru/SafebooruResponse.kt | magonxesp | 753,817,659 | false | {"Kotlin": 31666} | package io.github.magonxesp.booruclient.safebooru
class SafebooruResponse(
val success: Boolean,
val reason: String
)
| 0 | Kotlin | 0 | 0 | 4c5baa77ac422654224770b838b741ad64e5ba7b | 121 | booru-client | MIT License |
app/src/main/java/com/skapps/YksStudyApp/view/Pomodoro/RatingPomodoro/RatingPomodoroViewModel.kt | sahinkaradeniz | 539,663,028 | false | {"Kotlin": 86204} | package com.skapps.YksStudyApp.view.Pomodoro.RatingPomodoro
import android.app.Application
import android.util.Log
import androidx.lifecycle.MutableLiveData
import com.google.firebase.firestore.Query
import com.google.firebase.firestore.ktx.firestore
import com.google.firebase.ktx.Firebase
import com.skapps.YksStudyAp... | 0 | Kotlin | 1 | 3 | 900a82be997421aa7ff0676805df759538790ebe | 1,719 | PomodoroApp | MIT License |
build-logic/src/main/kotlin/config/Config.kt | theolm | 797,989,157 | false | null | package config
import org.gradle.api.JavaVersion
object Config {
const val applicationId = "dev.theolm.record"
const val minSdk = 22
const val targetSdk = 34
const val compileSdk = 34
const val versionCode = 1
const val versionName = "1.0.0"
const val packageVersion = versionName
val j... | 1 | null | 1 | 5 | ac011e16de8d38ee11e7a96578459e0ded79002b | 499 | kmp-record | MIT License |
src/test/kotlin/structure/helperClasses/SpookyWallTest.kt | TheRedKorsar | 303,352,689 | true | {"Kotlin": 195956} | package structure.helperClasses
import beatwalls.GlobalConfig
import chart.difficulty._obstacleCustomData
import chart.difficulty._obstacles
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
class SpookyWallTest {
@Before
fun setGLobalConfig(){
GlobalConfig.hjsDuration... | 0 | null | 0 | 0 | 430fc367d07104542904489960bd8602c160ceee | 4,125 | beatwalls | MIT License |
app/src/main/java/br/com/safety/demo/MainActivity.kt | safetysystemtechnology | 118,908,155 | false | null | package br.com.safety.demo
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.util.Log
import android.widget.Toast
import br.com.safety.camera_touch_button.BuilderCameraView
import com.wonderkiln.camerakit.CameraView
import kotlinx.android.synthetic.main.activity_main.*
class Main... | 0 | Java | 5 | 22 | 97c4f865fa7f78151017bca4803c7a1f253b9a80 | 1,205 | camera-touch-button | MIT License |
app/src/main/java/com/athimue/app/composable/album/AlbumViewModel.kt | athimue | 676,430,924 | false | {"Kotlin": 168414} | package com.athimue.app.composable.album
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.athimue.domain.usecase.getAlbumInfo.GetAlbumInfoUseCase
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFl... | 0 | Kotlin | 0 | 0 | 76df1a4b661dae0246dc3bd16fca86e571b68e32 | 1,009 | GrooveWave | MIT License |
app/src/main/java/com/finogeeks/finclip/business/login/model/SmsType.kt | finogeeks | 762,226,722 | false | {"Kotlin": 107805} | package com.finogeeks.finclip.business.login.model
import androidx.annotation.Keep
@Keep
class SmsType(val type: String = TypeLogin ,var phone:String? = null,var areaCode:String? = null ,var verifyCode:String? = null,var captchaId:String? = null,var captchaStr:String? = null) {
companion object {
const va... | 0 | Kotlin | 0 | 0 | 43a52370bdfe346b5dae8adf02c85e3e73d02ced | 398 | FinClipBroswer-Android | MIT License |
ttl-kotlin/src/main/kotlin/com/alibaba/ttl3/kotlin/Transmitter.kt | alibaba | 13,536,393 | false | {"Java": 561595, "Kotlin": 350386, "Shell": 10417} | package com.alibaba.ttl3.kotlin
import com.alibaba.crr.composite.Capture
import com.alibaba.ttl3.transmitter.Transmitter
import com.alibaba.ttl3.transmitter.Transmitter.*
/**
* Util method for simplifying [Transmitter.capture] and [Transmitter.restore] operations.
*
* @param captured captured values from other thr... | 33 | Java | 1687 | 7,600 | 4e9957584f204ce45274f038342268c66e694d85 | 1,121 | transmittable-thread-local | Apache License 2.0 |
airbyte-api-server/src/main/kotlin/io/airbyte/api/server/controllers/ConnectionsController.kt | airbytehq | 592,970,656 | false | null | /*
* Copyright (c) 2020-2024 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.api.server.controllers
import io.airbyte.airbyte_api.generated.ConnectionsApi
import io.airbyte.airbyte_api.model.generated.ConnectionCreateRequest
import io.airbyte.airbyte_api.model.generated.ConnectionPatchRequest
import io.ai... | 47 | null | 201 | 167 | eb41a69e4c0823f22e95115613ddaa985cc4f96c | 12,738 | airbyte-platform | MIT License |
Library/base/src/main/kotlin/com/existing/boilerx/core/base/mvvm/viewModel/bus/rx/EventBusApplication.kt | THE-EXISTING | 176,088,785 | false | null | package com.existing.boilerx.core.base.mvvm.viewModel.bus.rx
import androidx.lifecycle.Observer
import io.reactivex.disposables.Disposable
/**
* Created by「 <NAME> 」on 02 Apr 2018 :)
*/
object EventBusApplication {
private val subject: EventBusSubject = EventBusSubject()
fun post(obj: Any) {
subjec... | 1 | Kotlin | 1 | 2 | 6483e245ea45db0c8642b30366d6a81e86d8b48d | 963 | boilerx-android-architecture | Apache License 2.0 |
Plugins/Gradle/src/main/kotlin/com/shopify/testify/TestifyExtension.kt | Shopify | 52,982,631 | false | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2019 Shopify Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | 0 | null | 23 | 230 | a066819e7401dda888b60f041136d84acb3afc4b | 6,766 | android-testify | MIT License |
PushEngageSDK/src/main/java/com/pushengage/pushengage/model/response/ChannelResponseModel.kt | awesomemotive | 399,157,872 | false | {"Gradle": 4, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "INI": 2, "Proguard": 2, "XML": 23, "Kotlin": 20, "Java": 38, "JSON": 1} | package com.pushengage.pushengage.model.response
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
internal data class ChannelResponseModel(
@SerializedName("error_code")
@Expose
val errorCode: Long?=null,
@SerializedName("data")
@Expo... | 0 | Java | 1 | 0 | 1c935011425db712aff8716bd791c20d10182874 | 2,214 | pushengage-android-sdk | MIT License |
app/src/main/java/com/hankkin/reading/ui/home/project/projectlist/ProjectListFragment.kt | sea163163 | 159,124,392 | false | null | package com.hankkin.reading.ui.home.project.projectlist
import android.support.v4.widget.SwipeRefreshLayout
import android.support.v7.widget.LinearLayoutManager
import com.hankkin.library.widget.view.PageLayout
import com.hankkin.reading.R
import com.hankkin.reading.adapter.AndroidAdapter
import com.hankkin.reading.ad... | 0 | null | 0 | 1 | e89aa49c73d5982247fe34021a645ad30fa56bfc | 3,669 | Reading | Apache License 2.0 |
UIViewLess/src/main/java/com/angcyo/uiview/less/picture/transition/TransitionConfig.kt | zhilangtaosha | 223,696,624 | true | {"Gradle": 15, "Markdown": 1, "Text": 1, "Ignore List": 4, "Proguard": 3, "XML": 468, "Java": 514, "Kotlin": 184, "JSON": 4, "Java Properties": 2} | package com.angcyo.uiview.less.picture.transition
import android.graphics.Color
import androidx.appcompat.widget.AppCompatImageView
import android.widget.ImageView
import com.angcyo.uiview.less.kotlin.getViewRect
import com.angcyo.uiview.less.picture.BaseTransitionFragment
/**
*
* Email:<EMAIL>
* @author angcyo
*... | 0 | null | 2 | 0 | 8a09b91edaa4a21a43b356f67d3e063e72df3a19 | 1,421 | UIKit | MIT License |
clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/FeedsUpdateRequest.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, ... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import o... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 2,007 | pinterest-sdk | MIT License |
compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/PopupTestUtils.kt | gitjerry | 303,665,320 | true | {"Java Properties": 34, "Shell": 49, "Markdown": 43, "Java": 4733, "HTML": 17, "Kotlin": 3956, "Python": 33, "Proguard": 39, "Batchfile": 7, "JavaScript": 1, "CSS": 1, "TypeScript": 6, "Gradle Kotlin DSL": 2, "INI": 1, "CMake": 2, "C++": 4} | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 0 | d7552e2b0db912a9fa1ee5b85853c32d9bc1e36b | 1,838 | androidx | Apache License 2.0 |
app/src/main/java/com/stone/templateapp/module/web/MyDownListener.kt | xiaqu-stone | 133,900,656 | false | null | package com.stone.templateapp.module.web
import android.app.Activity
import android.webkit.DownloadListener
import com.stone.templateapp.extensions.isValid
/**
* Created By: sqq
* Created Time: 17/7/6 上午11:42.
*/
class MyDownListener(private val activity: Activity) : DownloadListener {
override fun onDownloa... | 1 | null | 1 | 1 | bca3b0ee683c284f6823bfd641a13c788defd375 | 1,047 | TemplateApp | Apache License 2.0 |
hldiff-core/src/test/kotlin/ru/karvozavr/hldiff/preprocessing/FilePairPreprocessorTest.kt | JetBrains-Research | 225,046,486 | false | null | package ru.karvozavr.hldiff.preprocessing
import org.junit.Test
import org.junit.Assert.*
import java.nio.file.Paths
class FilePairPreprocessorTest {
@Test
fun smokeTest() {
val src = Paths.get(javaClass.classLoader.getResource("a.java")!!.toURI()).toString()
val dst = Paths.get(javaClass.cl... | 17 | Kotlin | 2 | 9 | ed184ca90ed62cd1c6ac29972d7ec5f90f130638 | 515 | hldiff | Apache License 2.0 |
android/app/src/main/java/hu/sztomek/wheresmybuddy/presentation/screens/landing/StatusSpinnerAdapter.kt | sztomek | 126,842,323 | false | {"Markdown": 4, "Ignore List": 4, "Gradle": 3, "XML": 82, "Java Properties": 1, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Kotlin": 224, "Java": 1, "JSON with Comments": 2, "JSON": 2, "JavaScript": 1} | package hu.sztomek.wheresmybuddy.presentation.screens.landing
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.TextView
import hu.sztomek.wheresmybuddy.R
import hu.sztomek.wheresmybuddy.presentation.common.Helpers
class S... | 0 | Kotlin | 0 | 1 | 9cf2842a4ad380c9b5d1f6524cf7893c6eb27946 | 1,996 | buddyfinder | Apache License 2.0 |
app/src/main/java/com/sedsoftware/yaptalker/di/AppComponent.kt | djkovrik | 98,050,611 | false | null | package com.sedsoftware.yaptalker.di
import com.sedsoftware.yaptalker.YapTalkerApp
import com.sedsoftware.yaptalker.di.module.AppModule
import com.sedsoftware.yaptalker.di.module.DeviceModule
import com.sedsoftware.yaptalker.di.module.NavigationModule
import com.sedsoftware.yaptalker.di.module.NetworkModule
import com... | 0 | Kotlin | 4 | 9 | 465c34c3dc0dd0488b637073fddf6cd797e78613 | 856 | YapTalker | Apache License 2.0 |
app/src/main/java/deakin/gopher/guardian/view/general/TaskAddActivity.kt | JessicaRoa | 778,013,485 | false | {"Java Properties": 2, "Shell": 1, "Markdown": 8, "Batchfile": 1, "Proguard": 1, "Kotlin": 55, "Java": 33} | package deakin.gopher.guardian.view.general
import android.content.DialogInterface
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.EditText
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.GravityCom... | 1 | null | 1 | 1 | ed33028438b59a29258873b6d85bb7d433cf9b97 | 4,214 | Guardian | MIT License |
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/CreateChatCompletionFunctionResponseTest.kt | oapicf | 529,246,487 | false | {"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import i... | 2 | Java | 0 | 4 | c04dc03fa17b816be6e9a262c047840301c084b6 | 2,718 | openapi-openai | MIT License |
android/controller/src/main/java/org/openbot/controller/customComponents/ConnectionActiveIndicator.kt | RoachWZ | 581,842,635 | true | {"Markdown": 35, "Text": 5, "Ignore List": 10, "Java Properties": 3, "Gradle": 5, "Shell": 7, "Batchfile": 2, "Proguard": 2, "JSON": 7, "Kotlin": 50, "XML": 130, "Java": 107, "GLSL": 4, "C++": 1, "Python": 42, "JavaScript": 20, "JSON with Comments": 3, "CSS": 5, "HTML": 2, "SVG": 13, "YAML": 11, "Jupyter Notebook": 1, ... | /*
* Developed for the OpenBot project (https://openbot.org) by:
*
* <NAME>
* <EMAIL>
*
* Date: 2020-12-27, 10:57 p.m.
*/
package org.openbot.controller.customComponents
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.Color
import android.os.Build
import android... | 41 | Java | 532 | 3 | 5cb876196c294fcb133449a643c5fed1e0ece9f8 | 1,615 | OpenBot | MIT License |
demo-arch/src/main/java/com/example/cm/demo_arch/livedata/LiveDataViewModel.kt | 410063005 | 132,123,442 | false | null | package com.example.cm.demo_arch.livedata
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.Transformations.map
import android.arch.lifecycle.Transformations.switchMap
import android.arch.lifecycle.ViewModel
/**
* Created by 410063005 on 2018/5/24.
*/... | 1 | null | 1 | 1 | 3dd2a981a5b50045eaeac60482aacf16e840e365 | 1,145 | FragmentLifeCircle | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.