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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data/src/main/kotlin/com/dvinc/workouttimer/data/database/dao/BaseDao.kt | DEcSENT | 121,128,412 | false | null | /*
* Copyright (c) 2018 by <NAME> (<EMAIL>)
* All rights reserved.
*/
package com.dvinc.workouttimer.data.database.dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.Update
interface BaseDao<T> {
@Insert
fun insert(obj: T): Long
@Insert
fun insert(objs: List<T>): Li... | 1 | Kotlin | 1 | 3 | 716b9ff353e6e3a7ee9362431ce4d909e781db1c | 403 | WorkoutTimer | MIT License |
kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/symbol/kotlin/KSErrorType.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 | 2,767 | ksp | Apache License 2.0 |
app/src/main/java/io/github/amanshuraikwar/howmuch/ui/history/HistoryActivity.kt | amanshuraikwar | 124,106,668 | false | null | package io.github.amanshuraikwar.howmuch.ui.history
import android.app.Activity
import android.content.Intent
import android.content.res.ColorStateList
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompa... | 1 | null | 3 | 5 | 69248734bb5f764ca702880e28c4f1cfaf893648 | 4,988 | HowMuch | Apache License 2.0 |
mylibrary/src/main/java/com/esp/library/utilities/data/applicants/dynamics/ESP_LIB_DynamicStagesDAO.kt | ahsanm155 | 282,847,970 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "JSON": 4, "Proguard": 2, "Java": 91, "XML": 297, "INI": 1, "Kotlin": 169} | package utilities.data.applicants.dynamics
import utilities.data.ESP_LIB_Base
import java.io.Serializable
class ESP_LIB_DynamicStagesDAO : ESP_LIB_Base(), Serializable {
var id: Int = 0
var name: String? = null
var completedOn: String? = null
var totalWeight: Int = 0
var createdBy: Int = 0
... | 0 | Kotlin | 0 | 0 | 11d17817eb75077ac97309509d20fe5adae1bc43 | 1,160 | ESP_LIBRARY | MIT License |
MyJetPackApplication/businesses/business-database/business-database-realm/src/main/java/com/example/myjetpackapplication/business/database/realm/data/DatabaseRealmBean.kt | seelikes | 154,868,585 | false | null | package com.example.myjetpackapplication.business.database.realm.data
import java.util.*
/**
* Created by liutiantian on 2020-01-27 20:49 星期一
*/
data class DatabaseRealmBean (
var id: Long? = null,
var key: String? = null,
var value: String? = null,
var createTime: Date = Date(),
var updateTime:... | 1 | null | 1 | 1 | 7b3bc00c2e98f11b0798a97474a28fb63c0b53ae | 335 | MyAndroidSet | MIT License |
shieldCore/src/main/java/com/dianping/shield/node/processor/legacy/section/NormalSectionInterfaceProcessor.kt | Meituan-Dianping | 113,555,063 | false | null | package com.dianping.shield.node.processor.legacy.section
import com.dianping.agentsdk.framework.SectionCellInterface
import com.dianping.shield.feature.SectionTitleInterface
import com.dianping.shield.node.itemcallbacks.lazy.LegacyInterfaceRowItemProvider
import com.dianping.shield.node.processor.ProcessorHolder
impo... | 8 | Java | 117 | 936 | 7618a1845d896f358b6edf8fde95622d315eda52 | 1,051 | Shield | MIT License |
app/src/main/java/com/lhxia/mvp/base/BaseFragment.kt | xialonghua | 170,479,229 | false | null | package com.lhxia.mvp.base
import com.lhxia.kotmvp.core.BaseMPVFragment
import com.lhxia.kotmvp.core.Contract
/**
* @Author : xialonghua
* @Date : Create in 2019/2/14
* @Description : a new file
*/
open class BaseFragment<P : Contract.Presenter>: BaseMPVFragment<P>() | 1 | null | 1 | 3 | 52b642a69a7827d6bd33bb866108e18fcceb87b0 | 273 | kotmvp | Apache License 2.0 |
src/test/kotlin/leetcode/mock/MockInterview15.kt | Magdi | 390,731,717 | false | {"Gradle": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 96, "Java": 1} | package leetcode.mock
import org.junit.Assert.*
import org.junit.Test
import java.util.*
import kotlin.collections.HashMap
import kotlin.math.floor
class MockInterview15Test {
@Test
fun `test case 1`() {
assertEquals(2, MockInterview15.oddEvenJumps(intArrayOf(10, 13, 12, 14, 15)))
assertEquals... | 0 | Kotlin | 0 | 0 | 63bc711dc8756735f210a71454144dd033e8927d | 3,633 | ProblemSolving | Apache License 2.0 |
core/src/main/kotlin/com/github/prologdb/runtime/proofsearch/CurryingCallable.kt | prologdb | 107,794,018 | false | null | package com.github.prologdb.runtime.proofsearch
import com.github.prologdb.runtime.term.Term
class CurryingCallable(
private val baseCallable: PrologCallable,
private val prependArguments: Array<out Term>,
) : PrologCallable {
override val functor: String = baseCallable.functor
override val arity: Int... | 17 | null | 1 | 3 | 3e43f723a424f1ced8f9a3915e2bb8d0df57fd5f | 756 | runtime | MIT License |
src/app/src/main/kotlin/org/vaccineimpact/api/app/security/CompressedJWTParameterClient.kt | vimc | 85,062,678 | false | null | package org.vaccineimpact.api.app.security
import org.pac4j.core.context.WebContext
import org.pac4j.core.context.session.SessionStore
import org.pac4j.core.credentials.Credentials
import org.pac4j.core.credentials.TokenCredentials
import org.pac4j.core.credentials.extractor.ParameterExtractor
import org.pac4j.http.cl... | 1 | null | 1 | 2 | 0b3acb5f22b71300d6c260c5ecb252b0bddbe6ea | 2,173 | montagu-api | MIT License |
src/main/java/ru/boldr/memebot/model/MediaFileView.kt | boldrqwe | 314,033,149 | false | {"Batchfile": 1, "Shell": 1, "Maven POM": 1, "Dockerfile": 1, "Text": 1, "Ignore List": 1, "INI": 3, "Markdown": 1, "YAML": 7, "Java": 69, "Kotlin": 9, "GraphQL": 1, "JSON": 1, "Java Properties": 1, "HTML": 5, "JavaScript": 1, "CSS": 1, "XML": 2, "SQL": 3, "Python": 3} | package ru.boldr.memebot.model
class MediaFileView {
}
| 1 | Java | 2 | 3 | bea2c61cbcea9078704fe1593f8b069fb4cc417b | 58 | memebot | MIT License |
app/src/main/java/vip/yazilim/p2g/android/model/p2g/FriendRequestModel.kt | yazilim-vip | 304,487,567 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 83, "XML": 101, "Java": 1} | package vip.yazilim.p2g.android.model.p2g
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import vip.yazilim.p2g.android.entity.FriendRequest
/**
* @author mustafaarifsisman - 02.02.2020
* @contact <EMAIL>
*/
@Parcelize
data class FriendRequestModel(
var friendRequest: FriendRequest,
v... | 1 | null | 1 | 1 | d52cc417e46ee9dab9da3b72de9cb3776043bf46 | 358 | p2g-android | Apache License 2.0 |
library/src/commonMain/kotlin/dev/zwander/compose/libmonet/utils/SchemeUtils.kt | zacharee | 846,378,148 | false | {"Kotlin": 348578} | package dev.zwander.compose.libmonet.utils
import androidx.compose.material3.ColorScheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.lightColorScheme
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.colorspace.ColorSpaces
import dev.zwander.compose.l... | 0 | Kotlin | 0 | 13 | c7c8d01689b16d2705e25193dbd2960c7ea56c92 | 6,038 | MultiplatformMaterialYou | MIT License |
kotlinx-coroutines-core/common/src/internal/LimitedDispatcher.kt | hltj | 151,721,407 | true | null | /*
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.internal
import kotlinx.coroutines.*
import kotlin.coroutines.*
import kotlin.jvm.*
/**
* The result of .limitedParallelism(x) call, a dispatcher
* that wraps the given dispatche... | 284 | Kotlin | 1703 | 255 | 9565dc2d1bc33056dd4321f9f74da085e6c0f39e | 3,719 | kotlinx.coroutines-cn | Apache License 2.0 |
paris/src/main/java/com/airbnb/paris/utils/ViewExtensions.kt | airbnb | 114,683,464 | false | null | package com.airbnb.paris.utils
import android.os.Build
import android.view.View
import androidx.annotation.Px
import androidx.annotation.RequiresApi
fun View.setPaddingBottom(@Px px: Int) {
this.setPadding(this.paddingLeft, this.paddingTop, this.paddingRight, px)
}
@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1... | 56 | null | 91 | 1,897 | d8b5edbc56253bcdd0d0c57930d2e91113dd0f37 | 1,218 | paris | Apache License 2.0 |
remote/src/test/kotlin/io/github/gmvalentino8/github/sample/remote/mappers/ReleaseRemoteMapperTest.kt | wasabi-muffin | 462,369,263 | false | {"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812} | package io.github.gmvalentino8.github.sample.remote.mappers
import io.kotest.matchers.shouldBe
import io.github.gmvalentino8.github.sample.data.models.ReleaseModel
import io.github.gmvalentino8.github.sample.data.models.UserModel
import io.github.gmvalentino8.github.sample.remote.models.DefaultModel
import io.github.g... | 0 | Kotlin | 0 | 1 | 2194a2504bde08427ad461d92586497c7187fb40 | 933 | github-sample-project | Apache License 2.0 |
app/src/main/java/si/fri/matevzfa/approxhpvmdemo/har/HARSignalProcessor.kt | 71M073J | 563,461,233 | false | {"Kotlin": 219078, "CMake": 1331, "C++": 276} | package si.fri.matevzfa.approxhpvmdemo.har
import uk.me.berndporr.iirj.Butterworth
import uk.me.berndporr.iirj.Cascade
/**
* An actor object that transforms raw signal data into signal images.
*
* @param axisMapping is used for reordering axes x,y,z
*/
class HARSignalProcessor(axisMapping: Map<Int, Int>) {
o... | 0 | Kotlin | 0 | 0 | 73f189dc6a2b2b60bd06a9d77543c82f9a10e6fe | 8,790 | ApproxHPVM_Honk_version | MIT License |
ExtractedJars/Shopkick_com.shopkick.app/unknown/com/shopkick/app/receipts/CameraControllerV3.kt | Andreas237 | 160,739,088 | false | null | package com.shopkick.app.receipts
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Matrix
import android.media.MediaActionSound
import android.util.Log
import android.view.View
import com.shopkick.app.BuildConfig
import com.shopkick.app.R
import com.shopkick.app.application.ScreenG... | 1 | null | 1 | 3 | c1ed10a2c6d4cf3dfda8b8e6291dee2c2a15ee8a | 11,060 | AndroidPolicyAutomation | MIT License |
mastodon/src/commonMain/kotlin/work/socialhub/planetlink/mastodon/model/MastodonStream.kt | uakihir0 | 733,128,300 | false | {"Kotlin": 687284, "Shell": 1521, "Makefile": 363} | package work.socialhub.planetlink.mastodon.model
import work.socialhub.kmastodon.stream.api.EventStream
import work.socialhub.planetlink.model.Stream
class MastodonStream (
val stream: EventStream
) : Stream {
override suspend fun open() {
stream.open()
}
override fun close() {
strea... | 1 | Kotlin | 0 | 1 | 9cbf1cba723ec6d985f558312991e91beb92d8a9 | 405 | planetlink | MIT License |
app/src/main/java/com/ibrahimcanerdogan/turkishairlinesassistant/view/adapter/reservation/ReservationViewPagerAdapter.kt | icanerdogan | 727,407,042 | false | {"Kotlin": 412038, "HTML": 7398} | package com.ibrahimcanerdogan.turkishairlinesassistant.view.adapter.reservation
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.ibrahimcanerdogan.turkishairlinesassistant.view.fragment.reservation.domestic.Reservatio... | 0 | Kotlin | 0 | 1 | 6564a9cf8589028e9ced03a855a6b7eb07f7a5de | 907 | TurkishAirlinesAssistantApp | MIT License |
core/src/main/kotlin/event/interaction/ModalSubmitInteractionCreate.kt | kordlib | 202,856,399 | false | null | package dev.kord.core.event.interaction
import dev.kord.core.Kord
import dev.kord.core.entity.interaction.GlobalModalSubmitInteraction
import dev.kord.core.entity.interaction.GuildModalSubmitInteraction
import dev.kord.core.entity.interaction.ModalSubmitInteraction
import dev.kord.core.event.Event
import dev.kord.core... | 35 | Kotlin | 58 | 559 | 06e90d2db5b49ac8c4235184ef0dbb7de82ab2f7 | 1,400 | kord | MIT License |
presentation/src/main/java/com/sms/presentation/main/ui/mypage/component/project/ProjectPreviewComponent.kt | GSM-MSG | 625,706,722 | false | null | package com.sms.presentation.main.ui.mypage.component.project
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx... | 16 | Kotlin | 1 | 8 | 18443e117b5c6290debf38cfc55b89975f968030 | 2,331 | SMS-Android | MIT License |
api/src/main/java/com/vk/sdk/api/groups/GroupsService.kt | VKCOM | 16,025,583 | false | null | /**
* The MIT License (MIT)
*
* Copyright (c) 2019 vk.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... | 69 | Kotlin | 233 | 440 | 3dd6d9e3bc10ce9e77c3ea9331cc753f704f8f79 | 86,344 | vk-android-sdk | MIT License |
ksoc-client-shared/src/commonMain/kotlin/com/kotlineering/ksoc/client/remote/ApiResult.kt | redefinescience | 613,084,470 | false | null | package com.kotlineering.ksoc.client.remote
import io.ktor.client.call.body
import io.ktor.client.statement.HttpResponse
import io.ktor.http.isSuccess
sealed interface ApiResult<out T> {
data class Success<T>(val data: T) : ApiResult<T>
data class Failure(val error: String) : ApiResult<Nothing>
}
suspend inl... | 6 | Kotlin | 0 | 0 | ffda4017261729c2792d946c5a514dd1eb31532c | 483 | ksoc-client | Apache License 2.0 |
ksoc-client-shared/src/commonMain/kotlin/com/kotlineering/ksoc/client/remote/ApiResult.kt | redefinescience | 613,084,470 | false | null | package com.kotlineering.ksoc.client.remote
import io.ktor.client.call.body
import io.ktor.client.statement.HttpResponse
import io.ktor.http.isSuccess
sealed interface ApiResult<out T> {
data class Success<T>(val data: T) : ApiResult<T>
data class Failure(val error: String) : ApiResult<Nothing>
}
suspend inl... | 6 | Kotlin | 0 | 0 | ffda4017261729c2792d946c5a514dd1eb31532c | 483 | ksoc-client | Apache License 2.0 |
Coex-master/app/src/main/java/com/beko/coex/utils/ErrorDialog.kt | bekir1184 | 467,304,085 | false | null | package com.beko.coex.utils
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.beko.coex.databinding.FragmentErrorDialogBinding
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
class ErrorDialog(
private var title:S... | 0 | Kotlin | 0 | 2 | 1ebfc1ef1608c303d47ba26c75ce1e0d35724622 | 886 | CoexApp | MIT License |
v2-model/src/commonMain/kotlin/com/bselzer/gw2/v2/model/finisher/Finisher.kt | Woody230 | 388,820,096 | false | {"Kotlin": 750899} | package com.bselzer.gw2.v2.model.finisher
import com.bselzer.gw2.v2.model.item.ItemId
import com.bselzer.gw2.v2.model.wrapper.ImageLink
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Finisher(
@SerialN... | 2 | Kotlin | 0 | 2 | 7bd43646f94d1e8de9c20dffcc2753707f6e455b | 1,039 | GW2Wrapper | Apache License 2.0 |
src/main/kotlin/mcp2221/settings/ChipSettings.kt | juliangrtz | 873,219,571 | false | {"Kotlin": 72082} | package mcp2221.settings
import Extensions.readUShort
import Extensions.writeUShort
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
class ChipSettings : Settings() {
/**
* Enables USB serial number usage during the USB enumeration of the CDC interface.
*/
var cdcSerialNumbe... | 0 | Kotlin | 0 | 0 | d99f6e9d6cb3d18d506a9b0d9f74b8e6d1e8fdb5 | 4,822 | mcp2221-kt | MIT License |
app/src/main/java/com/sunnyweather/android/MainActivity.kt | zhangxiaoqing113 | 489,589,575 | false | {"Kotlin": 19454} | package com.sunnyweather.android
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Process
import android.util.Log
class MainActivity : AppCompatActivity() {
private val TAG = "MainActivity"
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(s... | 0 | Kotlin | 0 | 0 | 23c8901932cd3cac05288da732ad3a393cb34ee0 | 393 | SunnyWeather | Apache License 2.0 |
frontend/compose-html-ext/src/jsMain/kotlin/com/varabyte/kobweb/compose/css/Grid.kt | varabyte | 389,223,226 | false | {"Kotlin": 1183340} | package com.varabyte.kobweb.compose.css
import org.jetbrains.compose.web.attributes.AutoComplete.Companion.name
import org.jetbrains.compose.web.css.*
@DslMarker
annotation class GridDslMarker
typealias CSSFlexValue = CSSSizeValue<out CSSUnitFlex>
// TODO(#168): Remove before v1.0
@Deprecated("Use GridEntry.TrackSi... | 113 | Kotlin | 48 | 992 | a6061d7a3b53383e055a94ef4aa430af6647f8b4 | 14,325 | kobweb | Apache License 2.0 |
core/src/androidTest/java/io/userfeeds/widget/LinksViewPagerStaticTest.kt | CryptoverseCC | 93,034,920 | false | null | package io.userfeeds.widget
import android.os.SystemClock
import android.support.test.rule.ActivityTestRule
import org.junit.Rule
import org.junit.Test
class LinksViewPagerStaticTest {
@Rule @JvmField
val rule = ActivityTestRule<StaticTestActivity>(StaticTestActivity::class.java)
@Test
fun start() {... | 2 | Kotlin | 0 | 0 | 21857d7c1f109a98e3d2079afd6d8d7c7557c616 | 362 | Android-Widgets | Apache License 2.0 |
compose/compose-compiler-hosted/src/main/java/androidx/compose/plugins/kotlin/GeneratedViewClassDescriptor.kt | FYI-Google | 258,765,297 | false | null | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 8 | null | 0 | 6 | b9cd83371e928380610719dfbf97c87c58e80916 | 24,358 | platform_frameworks_support | Apache License 2.0 |
lib/src/main/kotlin/bstrees/nodes/TreeNode.kt | spbu-coding-2022 | 616,370,967 | false | null | package bstrees.nodes
abstract class TreeNode<E : Comparable<E>, N : TreeNode<E, N>>(data: E) {
var data: E = data
internal set
internal var parent: N? = null
var left: N? = null
internal set
var right: N? = null
internal set
}
| 1 | Kotlin | 0 | 2 | a16f6a1fdb8711ad63fcb422ec0e37609db210e1 | 270 | trees-7 | MIT License |
src/main/kotlin/com/nekomatic/ironik/core/parsers/EofParser.kt | nekomatic | 125,121,093 | false | null | package com.nekomatic.ironik.core.parsers
import com.nekomatic.ironik.core.IInput
import com.nekomatic.ironik.core.IParser
import com.nekomatic.ironik.core.ParserResult
import com.nekomatic.ironik.core.StreamItem
import com.nekomatic.types.Option
class EofParser<out T : Any, TStreamItem : Any> : IParser<StreamItem.En... | 5 | Kotlin | 0 | 2 | f8e81c82f25a01be3f494a6fccaab103420e2034 | 980 | ironik | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/docdb/CfnDBSubnetGroupPropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.docdb
import cloudshift.awscdk.common.CdkDslMarker
import cloudshift.awscdk.dsl.CfnTagDsl
import kotlin... | 3 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 3,054 | awscdk-dsl-kotlin | Apache License 2.0 |
src/jvmMain/kotlin/maryk/rocksdb/Options.kt | marykdb | 192,168,972 | false | null | package maryk.rocksdb
actual typealias Options = org.rocksdb.Options
| 0 | Kotlin | 2 | 7 | 7e2c471854195b7635db7b75ca23d26305700ba7 | 70 | rocksdb-multiplatform | Apache License 2.0 |
thirdparty/controlsfx-listeners/src/ktfx/controlsfx/listeners/_HyperlinkLabel.kt | hendraanggrian | 102,934,147 | false | null | @file:JvmMultifileClass
@file:JvmName("ControlsFxListenersKt")
@file:Suppress("NOTHING_TO_INLINE")
package ktfx.controlsfx.listeners
import javafx.event.ActionEvent
import org.controlsfx.control.HyperlinkLabel
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmMultifileClass
import kotlin.jvm.JvmName
/**... | 1 | Kotlin | 2 | 15 | ea4243fb75edb70d6710e7488fa08834084f6169 | 477 | ktfx | Apache License 2.0 |
src/main/kotlin/com/oyosite/ticon/lostarcana/aspect/AspectRegistry.kt | eehunter | 666,546,581 | false | null | package com.oyosite.ticon.lostarcana.aspect
import com.oyosite.ticon.lostarcana.LostArcana
import com.oyosite.ticon.lostarcana.fluid.EssentiaFluid
import net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
import net.minecraft.nbt.NbtCompound
import net.minecraft.util.Identifier
@Suppress("UnstableApiUsage")
objec... | 1 | Kotlin | 0 | 1 | d81722a306575f2e5725cb8045bba44f54aa8d1b | 2,868 | LostArcana | MIT License |
app/src/main/java/ch/admin/foitt/pilotwallet/platform/login/domain/usecase/NavigateToLogin.kt | e-id-admin | 775,912,525 | false | {"Kotlin": 1521284} | package ch.admin.foitt.pilotwallet.platform.login.domain.usecase
import com.ramcosta.composedestinations.spec.Direction
fun interface NavigateToLogin {
suspend operator fun invoke(): Direction
}
| 1 | Kotlin | 1 | 4 | 6572b418ec5abc5d94b18510ffa87a1e433a5c82 | 201 | eidch-pilot-android-wallet | MIT License |
examples/server/src/test/kotlin/io/grpc/examples/animals/AnimalsServerTest.kt | grpc | 243,832,745 | false | null | /*
* Copyright 2022 gRPC 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 applicable law or agreed to in... | 91 | null | 160 | 982 | 5a7bbdb87054cb39bfc11334b571fe9b6ba938f0 | 1,826 | grpc-kotlin | Apache License 2.0 |
core/src/main/java/com/jraska/dagger/codelab/core/di/HasAppComponent.kt | jraska | 245,893,320 | false | null | package com.jraska.dagger.codelab.core.di
interface HasAppComponent {
fun appComponent(): Any
}
| 0 | Kotlin | 4 | 9 | 5012c7d6f2af9e1c3bfc9a97f170f54b6d0f276b | 99 | Dagger-Codelab | Apache License 2.0 |
src/main/kotlin/dev/zlagi/application/model/response/TokenResponse.kt | Zlagi | 470,380,982 | false | {"Kotlin": 77094, "Procfile": 45} | package dev.zlagi.application.model.response
import kotlinx.serialization.Serializable
@Serializable
data class TokenResponse(val access_token: String, val refresh_token: String)
| 1 | Kotlin | 2 | 41 | 16e6462cafc347dff822b7dac42449f62e269e66 | 181 | Blogfy-api | Apache License 2.0 |
app/src/main/java/com/bobs/mapque/nmapver/network/response/ReverseGeocodingResponse.kt | spbobs | 259,899,741 | false | null | package com.bobs.mapque.nmapver.network.response
import com.google.gson.annotations.SerializedName
data class ReverseGeocodingResponse(
@field:SerializedName("results")
val results: List<ResultsItem?>? = null,
@field:SerializedName("status")
val status: Status? = null
)
data class Addition4(
@... | 0 | Kotlin | 0 | 1 | 57f9fe03afa27a82c3f09d96b2453af85f0729bb | 5,134 | MAPQUE_NMAPVER | Apache License 2.0 |
src/main/kotlin/com/romangraef/jrconfig/ConfigVariable.kt | romangraef | 260,085,248 | false | null | package com.romangraef.jrconfig
import kotlin.reflect.KProperty
interface ConfigVariable<T> {
fun get(): T
fun set(value: T)
operator fun getValue(thisRef: Any?, property: KProperty<*>) = get()
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: T) = set(value)
fun defaultValue(t: ... | 0 | Kotlin | 0 | 0 | 9b348acaa94afbaf548dac8fba76985fcd5617ef | 344 | jrconfig | MIT License |
data/RF04049/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF04049"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
1 to 1... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 1,423 | Rfam-for-RNArtist | MIT License |
app/src/main/java/com/example/recipeapp/view/fragments/RandomDishFragment.kt | kl3jvi | 389,310,024 | false | null | package com.example.recipeapp.view.fragments
import android.os.Build
import android.os.Bundle
import android.text.Html
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
impor... | 0 | Kotlin | 0 | 3 | 3eb3fb9f4c7113c5ad7ee6d9b4921befa3c1c6f0 | 4,719 | recipe-app | Apache License 2.0 |
server/src/main/kotlin/com/thoughtworks/archguard/metrics/domain/abstracts/ClassAbstractRatio.kt | archguard | 460,910,110 | false | {"Kotlin": 1540609, "Java": 593833, "TypeScript": 11395, "C#": 5593, "Dockerfile": 2263, "Shell": 926, "C": 696, "JavaScript": 400, "Go": 291, "Scala": 97, "Python": 42, "Rust": 32} | package com.thoughtworks.archguard.metrics.domain.abstracts
import com.thoughtworks.archguard.code.clazz.domain.JClass
import com.thoughtworks.archguard.code.module.domain.model.JClassVO
class ClassAbstractRatio(val ratio: Double, val jClass: JClassVO) {
companion object {
fun fromJClass(jClass: JClass): ... | 3 | Kotlin | 86 | 557 | 92c0c8b577c7462b290e8fe89fa47d769ef98e64 | 696 | archguard | MIT License |
okhttp-requests-modifier-no-op/src/main/java/io/nerdythings/okhttp/modifier/interceptor/OkHttpRequestModifierInterceptor.kt | itkacher | 153,339,191 | false | {"Kotlin": 43067, "HTML": 2766, "Shell": 1019} | package io.nerdythings.okhttp.modifier.interceptor
import android.content.Context
import okhttp3.Interceptor
import okhttp3.Response
class OkHttpRequestModifierInterceptor(context: Context) : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
return chain.proceed(chain.request())
... | 10 | Kotlin | 26 | 312 | dfcf113715541ecca2f8a16ffe2950dd2c886eee | 327 | OkHttpProfiler | Apache License 2.0 |
app/src/main/java/com/example/tracker/ui/countries/CountriesAdapter.kt | IvanAkhmylin | 248,323,727 | false | null | package com.example.tracker.ui.countries
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.example.tracker.R
import com.example.tracker.utils.C... | 0 | Kotlin | 1 | 1 | 9596d9a5e81bc87e5072842fabfa9079b7f2ef53 | 2,358 | covid_19_tracker | MIT License |
lib_base/src/main/java/com/imooc/lib_base/map/MapManager.kt | Fam044 | 470,788,723 | false | null | package com.imooc.lib_base.map
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.graphics.BitmapFactory
import android.os.Handler
import android.text.TextUtils
import android.util.Log
import androidx.core.content.ContextCompat
import com.baidu.location.BDAbstractLo... | 0 | Kotlin | 0 | 0 | a44c351864432ffe28658c6dbe582f43df83fd66 | 23,658 | LifeAssistant | Apache License 2.0 |
src/main/kotlin/edu/rit/gis/sunspec/models/model_113.kt | wz2b | 303,254,575 | true | {"Kotlin": 556515} | /*
* Model 112 - inverter
*/
package edu.rit.gis.sunspec.models
import edu.rit.gis.sunspec.annotations.*
import edu.rit.gis.sunspec.parser.SunSpecByteBuffer
import edu.rit.gis.sunspec.parser.SunSpecModelBase
data class Model_112 (
@SunSpecPoint(id="ID", label="Model ID", offset=0, registers=1, description="Mod... | 0 | Kotlin | 0 | 0 | bfdbbff1764a7900eaf6427132c4e04bd2cb4f64 | 6,065 | sunspec-models-kotlin | Apache License 2.0 |
octicons/src/commonMain/kotlin/compose/icons/octicons/CommentDiscussion16.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.octicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import a... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,959 | compose-icons | MIT License |
core/src/test/java/com/example/movieapp/core/common/TestHelper.kt | DemonHsu | 577,247,640 | false | null | package com.example.movieapp.core.common
import com.icgen.movieapp.core.model.Movie
import java.util.UUID
object TestHelper {
fun makeMovies(count: Int): List<Movie> {
val movies = mutableListOf<Movie>()
repeat(count) { movies.add(makeMovie()) }
return movies
}
private fun makeM... | 0 | Kotlin | 0 | 0 | 7bd87d27b19599ff84aaea4027a80c1dc826cea3 | 696 | SimplyYouTuber | Apache License 2.0 |
feature/metis/manage-conversations/src/main/kotlin/de/tum/informatics/www1/artemis/native_app/feature/metis/manageconversations/ui/conversation/create_personal_conversation/CreatePersonalConversationViewModel.kt | ls1intum | 537,104,541 | false | null | package de.tum.informatics.www1.artemis.native_app.feature.metis.ui.conversation.create_personal_conversation
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.viewModelScope
import de.tum.informatics.www1.artemis.native_app.core.datastore.AccountService
import de.tum.informatics.www1.artemis.native... | 2 | null | 0 | 6 | dd4b99ab6a143b669d3db20af45dbe533c650bd4 | 3,075 | artemis-android | MIT License |
library/src/main/java/com/github/pelmenstar1/rangecalendar/WeekdayType.kt | pelmenstar1 | 454,918,220 | false | null | package com.github.pelmenstar1.rangecalendar
import android.os.Build
/**
* Defines all supported formats of weekday. The format is very dependent on locale.
* For example, English:
* - [WeekdayType.SHORT] - weekdays look like Mon, Tue, Wed...
* - [WeekdayType.NARROW] - weekdays look like M, T, W...
*/
enum class... | 3 | Kotlin | 0 | 11 | 9a86745512bf0775f4186a8bfd6ea0a184140347 | 1,577 | RangeCalendar | MIT License |
app/src/androidTest/java/org/grandtestauto/indoflash/functiontest/RemoveTheOnlyFavourite.kt | TimLavers | 95,000,169 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 42, "XML": 16, "Java": 1} | package org.grandtestauto.indoflash.functiontest
import android.support.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
/**
* See Issue #7, Issue #8.
* @author Tim Lavers
*/
@RunWith(AndroidJUnit4::class)
class RemoveTheOnlyFavourite : TestBase() {
@Test
fun doIt() {
... | 1 | null | 1 | 1 | 88c9131e6f7ab3ce41af62d990ae5539f131aa1b | 758 | IndoFlashKotlin | MIT License |
app/src/androidTest/java/org/grandtestauto/indoflash/functiontest/RemoveTheOnlyFavourite.kt | TimLavers | 95,000,169 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 42, "XML": 16, "Java": 1} | package org.grandtestauto.indoflash.functiontest
import android.support.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
/**
* See Issue #7, Issue #8.
* @author Tim Lavers
*/
@RunWith(AndroidJUnit4::class)
class RemoveTheOnlyFavourite : TestBase() {
@Test
fun doIt() {
... | 1 | null | 1 | 1 | 88c9131e6f7ab3ce41af62d990ae5539f131aa1b | 758 | IndoFlashKotlin | MIT License |
app/src/main/java/com/ibtikar/mvvm_starter_koin_coroutines/di/DBModule.kt | KhaledSherifSayed | 375,848,364 | false | null | package com.ibtikar.mvvm_starter_koin_coroutines.di
import android.content.Context
import com.ibtikar.mvvm_starter_koin_coroutines.data.local.ArticlesDatabase
import org.koin.dsl.module
/**
* Created by Meslmawy on 6/10/2021
*/
val DBModule = module {
fun provideAppLocalDatabase(context: Context): ArticlesDat... | 0 | Kotlin | 0 | 0 | 701fcea68ed7da29416c850495b632751ed31e53 | 460 | NY-Times-Popular-Articles | The Unlicense |
api/src/test/java/it/codingjam/cleanweather/api/WeatherApiTest.kt | fabioCollini | 144,835,996 | false | null | package it.codingjam.cleanweather.api
import assertk.assert
import assertk.assertions.hasSize
import assertk.assertions.isEqualTo
import kotlinx.coroutines.runBlocking
import org.junit.Rule
import org.junit.Test
private const val LAT = 123.0
private const val LON = 456.0
class WeatherApiTest {
@get:Rule
val ... | 1 | Kotlin | 13 | 68 | 59adfd17d5395211059d7d63da25fd0ccd5fe355 | 1,289 | CleanWeather | Apache License 2.0 |
profile/src/main/java/org/openedx/profile/presentation/edit/EditProfileUIState.kt | openedx | 613,282,821 | false | {"Kotlin": 1313883} | package org.openedx.profile.presentation.edit
import org.openedx.profile.domain.model.Account
data class EditProfileUIState(
val account: Account,
val isUpdating: Boolean = false,
val isLimited: Boolean
)
| 68 | Kotlin | 12 | 9 | c211c3aabd0083699e105f444e1de85d19c4ea4e | 221 | openedx-app-android | Apache License 2.0 |
app-core/src/main/kotlin/com/wavetogether/core/domain/user/User.kt | wavetogether | 399,639,606 | false | null | package com.wavetogether.core.domain.user
import java.util.*
interface User {
/**
* Field to identify a certain user in domain object pool. Better not to expose outside world.
* Instances that holds a `null` id means that it maybe not under in a persistent state.
*/
val id: Long?
/**
* Field to ide... | 0 | null | 0 | 4 | a0f5cd2d4fea3e9343a409656ab12d3a4e9f3685 | 610 | templates_kotlin_spring | MIT License |
features/home/src/main/kotlin/com/hivian/home/pokemon_list/PokemonListFragment.kt | hivian | 245,177,544 | false | null | package com.hivian.home.pokemon_list
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import androidx.annotation.StringRes
import androidx.appcompat.app.AppCompatDelegate
import androidx.appcompat.widget.SearchView
import androidx.... | 0 | Kotlin | 1 | 5 | 5525c2330e52dae04c5bda1bae2d9e5edafc9fb1 | 8,044 | PokeApex | MIT License |
libraries/tools/kotlin-symbol-processing-api/src/org/jetbrains/kotlin/ksp/symbol/KSPropertyDeclaration.kt | evant | 277,371,822 | true | {"Kotlin": 44780046, "Java": 7640484, "JavaScript": 195805, "HTML": 76860, "Lex": 23805, "TypeScript": 21613, "Groovy": 11198, "CSS": 9144, "Shell": 7220, "Batchfile": 5362, "Swift": 2272, "Ruby": 1300, "Objective-C": 404, "Scala": 80} | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ksp.symbol
/**
* A property declaration, can also be used to denote a variable ... | 0 | null | 0 | 1 | fb1d4e01ed9b6f45d9886fcc697197591cf8b67c | 1,328 | kotlin | Apache License 2.0 |
stream-video-android-ui-compose/src/main/kotlin/io/getstream/video/android/compose/ui/components/call/controls/actions/DeclineCallAction.kt | GetStream | 505,572,267 | false | {"Kotlin": 2549850, "MDX": 279508, "Python": 18285, "Shell": 4455, "JavaScript": 1112, "PureBasic": 107} | /*
* Copyright (c) 2014-2023 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-video-android/blob/main/LICENSE
*
* Unless required by ... | 3 | Kotlin | 30 | 308 | 1c67906e4c01e480ab180f30b39f341675bc147e | 2,338 | stream-video-android | FSF All Permissive License |
src/main/kotlin/no/nav/hjelpemidler/soknad/mottak/delbestilling/Status.kt | navikt | 326,995,575 | false | {"Kotlin": 212078, "Dockerfile": 218} | package no.nav.hjelpemidler.soknad.mottak.delbestilling
enum class Status {
REGISTRERT, KLARGJORT, SKIPNINGSBEKREFTET, LUKKET, ANNULLERT
}
| 0 | Kotlin | 0 | 0 | 744e9f3664102c04d2a9457ad613b95d553883ea | 144 | hm-soknadsbehandling | MIT License |
tracking/src/main/java/com/jacekpietras/zoo/tracking/contract/interactor/OnCompassUpdateUseCase.kt | JacekPietras | 334,416,736 | false | {"Kotlin": 752140, "Java": 21319} | package com.jacekpietras.zoo.tracking.contract.interactor
interface OnCompassUpdateUseCase {
operator fun invoke(angle: Float)
} | 0 | Kotlin | 1 | 2 | e6a689f442cc32d19ee3f51efc49bf49f9969ca8 | 134 | ZOO | MIT License |
app/src/main/java/com/lcarsos/septambictrainer/HandTracker.kt | lcarsos | 348,962,370 | false | null | package com.lcarsos.septambictrainer
import android.content.Intent
import android.graphics.Point
import android.graphics.Rect
class HandTracker {
private val pinky = FingerTracker(1 shl 0)
private val ring = FingerTracker(1 shl 1)
private val middle = FingerTracker(1 shl 2)
private val index = FingerT... | 0 | Kotlin | 0 | 0 | e73478dbf33b754b7ea294c4191b59a82f2d763d | 3,437 | SeptambicTrainerApp | MIT License |
examples/kafka-consumer-example/src/main/kotlin/com/trendyol/kafkaconsumerexample/kafka/Consumer.kt | Trendyol | 406,347,531 | false | {"Kotlin": 12727} | package com.trendyol.kafkaconsumerexample.kafka
import kotlinx.coroutines.*
import org.apache.kafka.clients.consumer.ConsumerRebalanceListener
import org.apache.kafka.clients.consumer.KafkaConsumer
import org.apache.kafka.common.TopicPartition
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import java.util.con... | 0 | Kotlin | 2 | 38 | 1f9eae36b5070829e32aa406604fd8df1b5b67ef | 2,854 | boru | MIT License |
app/src/main/java/com/example/moviejetpackcompose/ui/features/model/MovieModel.kt | carlosgub | 595,763,930 | false | null | package com.example.moviejetpackcompose.ui.features.model
data class MovieModel(
val id: Int,
val originalTitle: String,
val posterPath: String?,
val releaseDate: String?,
val voteAverage: Double?,
val voteCount: Int,
val categories: List<String>,
val runtime: String? = null,
val ov... | 0 | Kotlin | 0 | 12 | 29800ffcbdc15bb3110170f966b76efb03a17221 | 550 | JetCoMovie-App- | Apache License 2.0 |
compose-material3/src/main/java/androidx/core/extension/compose/material3/Box.kt | 7449 | 721,018,532 | false | {"Kotlin": 256103} | package androidx.core.extension.compose.material3
import androidx.compose.foundation.layout.BoxScope
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.pulltorefresh.PullToRefreshBox
import androidx.compose.material3.pullto... | 0 | Kotlin | 0 | 0 | fcd1fcb85e5e217dd9384c689792a01bb6472acd | 1,458 | android_kotlin_extension | Apache License 2.0 |
dia3/clases/put_rest_api/android/app/src/main/kotlin/com/example/put_rest_api/MainActivity.kt | vidapogosoft | 421,546,092 | false | {"Java": 2282533, "Dart": 397366, "Makefile": 260066, "HTML": 100404, "Objective-C": 95157, "Swift": 11385, "DTrace": 8543, "Kotlin": 3651, "Ruby": 2674, "Shell": 2202} | package com.example.put_rest_api
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 1 | null | 1 | 1 | 03aa7dde0324523a0e332877bab5acd1b7a45476 | 129 | Flutter102021 | Apache License 2.0 |
src/client/kotlin/com/theendercore/packed_up/tooltip/BackpackTooltipComponent.kt | theendercore | 674,191,573 | false | {"Kotlin": 35568} | package com.theendercore.packed_up.tooltip
import com.theendercore.packed_up.component.BackpackContentsComponent
import net.minecraft.client.font.TextRenderer
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.client.gui.screen.Screen
import net.minecraft.client.gui.tooltip.TooltipComponent
import net.mi... | 0 | Kotlin | 0 | 0 | 4774e757b6cfb76e3df27b11057d4ae58011cd85 | 1,748 | Packed | MIT License |
src/main/kotlin/Main.kt | sraaphorst | 857,883,725 | false | {"Kotlin": 7455} | // By Sebastian Raaphorst, 2024.
package org.vorpal
import kotlinx.coroutines.*
import java.awt.Color
import java.awt.Graphics2D
import java.awt.image.BufferedImage
import java.io.File
import javax.imageio.ImageIO
import kotlin.random.Random
import kotlin.system.measureTimeMillis
/**
* A point: used to represent ... | 0 | Kotlin | 0 | 0 | 631b51b8c876a818cb7b9fc13b8375ff30456871 | 4,966 | voronoi-tessellation | MIT License |
app/src/main/java/com/yoron/nerdsoverflow/models/ProgrammingLanguageModel.kt | yorondahacker | 385,210,432 | false | null | /*
*
* Created by Obaida Al Mostarihi on 8/1/21, 9:31 AM
* Copyright (c) 2021 . All rights reserved.
* Last modified 8/1/21, 9:31 AM
*
*/
package com.yoron.nerdsoverflow.models
data class ProgrammingLanguageModel(
var language: String? = null,
var selected: Boolean? = false
)
| 0 | Kotlin | 1 | 2 | b78d8019331244eae31dbf42ac41b2bc90add81e | 293 | NerdsOverFlow | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/jetbrains/dependoapp/presentation/screens/components/HomeScreenShipmentBox.kt | loke101 | 763,358,687 | false | {"Kotlin": 234797, "Swift": 661} | package com.jetbrains.dependoapp.presentation.screens.components
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx... | 0 | Kotlin | 0 | 0 | edcd07d4846375a79173b3aff090e7a7828029fe | 3,408 | KMPDEPENDO_01 | Apache License 2.0 |
core/koin-core/src/commonMain/kotlin/org/koin/core/module/dsl/FactoryOf.kt | InsertKoinIO | 93,515,203 | false | null | /*
* Copyright 2017-2021 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 83 | Kotlin | 574 | 7,540 | c954e53959cf982725ca33c9680acb650c63da52 | 7,794 | koin | Apache License 2.0 |
app/src/main/java/com/jnj/vaccinetracker/sync/data/models/ParticipantImageSyncResponse.kt | johnsonandjohnson | 503,902,626 | false | {"Kotlin": 1680998} | package com.jnj.vaccinetracker.sync.data.models
import com.jnj.vaccinetracker.common.data.database.typealiases.DateEntity
import com.jnj.vaccinetracker.sync.domain.entities.DeletedSyncRecord
import com.jnj.vaccinetracker.sync.domain.entities.FailedSyncRecordDownload
import com.squareup.moshi.JsonClass
import dev.zacsw... | 1 | Kotlin | 1 | 1 | 79a8a5638424d63a4e22148bcaa230b62e4ebe80 | 1,478 | vxnaid | Apache License 2.0 |
app/src/main/java/com/example/digitallyapp/presentation/counter/CounterAddEditViewModel.kt | nicanor-jay | 773,384,014 | false | {"Kotlin": 228744} | package com.example.digitallyapp.presentation.counter
import android.content.Context
import android.util.Log
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.emoji2.emojipicker.EmojiPickerView
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.Vi... | 0 | Kotlin | 0 | 1 | d58b673328d464b8fb90908d8d91139193c9dabf | 7,349 | digitally | Apache License 2.0 |
src/PsiFileExt.kt | wangzailfm | 74,435,654 | false | null | import com.intellij.psi.PsiClass
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiFile
import com.intellij.psi.XmlRecursiveElementVisitor
import com.intellij.psi.search.FilenameIndex
import com.intellij.psi.search.GlobalSearchScope
import com.intellij.psi.xml.XmlFile
import com.intellij.psi.xml.XmlTag
impo... | 10 | Kotlin | 19 | 146 | 4f180c4b30f8c0cfe855fbcb08507d89fa3f78ed | 4,663 | GenerateFindViewById | Apache License 2.0 |
src/main/kotlin/com/vaadin/starter/beveragebuddy/backend/simplejooq/SimpleJooq.kt | mvysny | 696,632,447 | false | {"Kotlin": 153012, "CSS": 6859, "Dockerfile": 1052, "HTML": 507, "Isabelle": 51} | package com.vaadin.starter.beveragebuddy.backend.simplejooq
import jakarta.validation.Validation
import jakarta.validation.Validator
import javax.sql.DataSource
object SimpleJooq {
/**
* The jakarta.validation validator.
*/
@Volatile
var validator: Validator = Validation.buildDefaultValidatorFac... | 0 | Kotlin | 0 | 2 | 195f1f12c748678fa55172eb2883fd5b95b48672 | 507 | beverage-buddy-jooq | MIT License |
SpringBootCommonBaseFrameLibraryFromLorenWang/src/javabase/lorenwang/common_base_frame/safe/SbcbflwPasswordUtils.kt | Seachal | 357,416,119 | false | null | package javabase.lorenwang.common_base_frame.safe
import org.springframework.security.authentication.encoding.Md5PasswordEncoder
/**
* 功能作用:密码相关工具类
* 创建时间:2019-12-16 12:08
* 创建人:王亮(<NAME>)
* 思路:
* 方法:
* 注意:
* 修改人:
* 修改时间:
* 备注:
*/
open class SbcbflwPasswordUtils : Md5PasswordEncoder() {
companion object... | 1 | null | 1 | 1 | 7690a5b15ad84faa88856a57dba9145fcea0126b | 809 | LorenWangCustomTools | Apache License 2.0 |
clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/ConfigNodePropertyDropDownType.kt | shinesolutions | 190,217,155 | false | null | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://... | 12 | null | 1 | 4 | c2f6e076971d2592c1cbd3f70695c679e807396b | 676 | swagger-aem-osgi | Apache License 2.0 |
src/main/kotlin/io/github/stscoundrel/revalidator/controller/RevalidateController.kt | stscoundrel | 624,800,234 | false | null | package io.github.stscoundrel.revalidator.controller
import io.github.stscoundrel.revalidator.enum.DictionaryType
import io.github.stscoundrel.revalidator.service.RevalidatorService
import kotlinx.coroutines.*
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.Requ... | 0 | Kotlin | 0 | 0 | 974472aaee0a5f43f7e10ccdacc00fc1c8184889 | 2,279 | dictionary-revalidator | MIT License |
src/main/kotlin/io/github/stscoundrel/revalidator/controller/RevalidateController.kt | stscoundrel | 624,800,234 | false | null | package io.github.stscoundrel.revalidator.controller
import io.github.stscoundrel.revalidator.enum.DictionaryType
import io.github.stscoundrel.revalidator.service.RevalidatorService
import kotlinx.coroutines.*
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.Requ... | 0 | Kotlin | 0 | 0 | 974472aaee0a5f43f7e10ccdacc00fc1c8184889 | 2,279 | dictionary-revalidator | MIT License |
processor/common/src/main/kotlin/com/moriatsushi/koject/processor/error/DependencyResolutionException.kt | mori-atsushi | 605,139,896 | false | null | package com.moriatsushi.koject.processor.error
import com.moriatsushi.koject.component.Component
import com.moriatsushi.koject.component.ComponentExtras
/**
* Failed to resolve dependencies
*/
internal sealed class DependencyResolutionException(message: String) :
CodeGenerationException(message)
/**
* Require... | 13 | Kotlin | 2 | 96 | c22286b39a3e6249842d148ff0a22f1fb7d37d47 | 797 | koject | Apache License 2.0 |
src/main/kotlin/org/jetbrains/plugins/bsp/assets/BuildToolAssetsExtension.kt | JetBrains | 521,228,542 | false | {"Kotlin": 1037023, "Java": 611} | package org.jetbrains.plugins.bsp.assets
import com.intellij.openapi.extensions.ExtensionPointName
import com.intellij.openapi.project.Project
import org.jetbrains.plugins.bsp.config.buildToolId
import org.jetbrains.plugins.bsp.extension.points.WithBuildToolId
import org.jetbrains.plugins.bsp.extension.points.withBuil... | 2 | Kotlin | 12 | 27 | e0e1985134be06e1cbd967758f3e5b0c46f71d36 | 845 | intellij-bsp | Apache License 2.0 |
databaselibrary/src/main/java/com/system/databaselibrary/repository/UserInfoRepository.kt | SymphonyZhang | 299,180,545 | false | null | package com.system.databaselibrary.repository
import android.content.Context
import com.system.databaselibrary.database.AppDataBase
import com.system.databaselibrary.database.dao.UserInfoDao
import com.system.databaselibrary.database.entity.UserInfo
class UserInfoRepository(context: Context) {
private val userIn... | 0 | Kotlin | 0 | 0 | ce527e6627c89f7119a606bc40cc93f89c06edba | 753 | RoomDemo | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/inspectionsLocal/floatingPointLiteralPrecision/doubleRounding1.kt | ingokegel | 72,937,917 | true | null | // WITH_STDLIB
// PROBLEM: none
val x = <caret>0.1
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 52 | intellij-community | Apache License 2.0 |
app/src/main/java/com/cactus/themovie/common/OperationResult.kt | rafaelkapi | 404,492,565 | false | null | package com.cactus.marvelcomics.data
sealed class OperationResult {
class Success<T>(val data: T) : OperationResult()
object Loading : OperationResult()
class Error(val error: String?) : OperationResult()
}
| 0 | Kotlin | 0 | 0 | e9b07b20a760e83274dd8498633c497975b8bc24 | 224 | TheMovie | MIT License |
src/main/kotlin/no/nav/syfo/utils/RequestUtil.kt | navikt | 303,972,532 | false | {"Kotlin": 419071, "Dockerfile": 148} | package no.nav.syfo.utils
import java.util.*
const val NAV_CALL_ID_HEADER = "Nav-Call-Id"
const val NAV_PERSONIDENT_HEADER = "nav-personident"
fun createCallId(): String {
val randomUUID = UUID.randomUUID().toString()
return "esyfovarsel-$randomUUID"
}
| 7 | Kotlin | 2 | 0 | 54aa3397f618cf6a7c9ba6323c4adf36e79e7d85 | 264 | esyfovarsel | MIT License |
examples/src/tl/td/MessageCalendar.kt | andreypfau | 719,064,910 | false | {"Kotlin": 62942} | // This file is generated by TLGenerator.kt
// Do not edit manually!
package tl.td
import io.github.andreypfau.tl.serialization.TLCombinatorId
import kotlin.jvm.JvmName
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("messageCalendar")
@TLCombinatorId(0x9BB1... | 0 | Kotlin | 0 | 1 | 16de3f335d8005e35543cb7515a810fd9ac4236d | 561 | tl-kotlin | MIT License |
zipline-testing/src/jsMain/kotlin/app/cash/zipline/testing/utf8Js.kt | cashapp | 41,445,081 | false | {"C": 2214152, "Kotlin": 1352475, "C++": 39612, "Shell": 1471, "CMake": 871, "JavaScript": 313} | /*
* Copyright (C) 2021 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 83 | C | 97 | 2,043 | e7ad22ac5110a20686035b616aef190814472d19 | 1,271 | zipline | Apache License 2.0 |
app/src/main/java/io/github/takusan23/komadroid/ui/components/CameraControlOverlay.kt | takusan23 | 817,421,552 | false | {"Kotlin": 186890} | package io.github.takusan23.komadroid.ui.components
import android.content.res.Configuration
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundat... | 0 | Kotlin | 0 | 0 | bdaa3da56676432c8a1defbe32944403c254df81 | 12,425 | KomaDroid | Apache License 2.0 |
app/src/main/java/com/ricardaparicio/cryptodemo/features/common/data/datasource/CoinRemoteDataSource.kt | RicardAparicio | 455,742,209 | false | {"Kotlin": 137761} | /*
* Copyright 2022 <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 wri... | 1 | Kotlin | 1 | 2 | d1613dd61f299221f71f0607e65fdb54ff89b6bc | 1,173 | CryptoDemo | Apache License 2.0 |
json/json-symbol-processor/src/main/kotlin/ru/tinkoff/kora/json/ksp/reader/JsonClassReaderMeta.kt | kora-projects | 743,624,836 | false | null | package ru.tinkoff.kora.json.ksp.reader
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.google.devtools.ksp.symbol.KSType
import com.google.devtools.ksp.symbol.KSValueParameter
import com.squareup.kotlinpoet.TypeName
data class JsonClassReaderMeta(val classDeclaration: KSClassDeclaration, val fiel... | 8 | null | 9 | 63 | bb7d906d3af0ae6f8c68f87327f010b66110f34f | 498 | kora | Apache License 2.0 |
app/src/main/java/com/example/animeapp/MainActivity.kt | sahinkaradeniz | 617,395,151 | false | null | package com.example.animeapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.NavigationUI
import com.example.animeapp.databinding.ActivityMainBinding
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoi... | 0 | null | 0 | 2 | bad099567bff40f1cd08976bfa2794d8c358c17c | 910 | AnimeApp | Apache License 2.0 |
app/src/main/java/com/example/mini_projet/models/Calendrys.kt | zahracarthage | 429,762,274 | false | {"Kotlin": 225057} | package com.example.mini_projet.models
import com.google.gson.annotations.SerializedName
import java.io.Serializable
data class Calendrys (
@SerializedName("_id") val id : String,
@SerializedName("nbplaceforday") val nbplaceforday : Int,
@SerializedName("dateforday") var dateforday : String,
@Serializ... | 0 | Kotlin | 0 | 0 | 6f062c59b32bb5f4a7595ffa69e47d1eaa195126 | 377 | mini-projet-android | MIT License |
src/main/java/dev/mikchan/mcnp/motd/commands/manager/acf/ACFCommandManager.kt | MikChanNoPlugins | 723,544,621 | false | {"Kotlin": 22072} | package dev.mikchan.mcnp.motd.commands.manager.acf
import co.aikar.commands.PaperCommandManager
import dev.mikchan.mcnp.motd.MOTDPlugin
import dev.mikchan.mcnp.motd.commands.manager.ICommandManager
import dev.mikchan.mcnp.motd.commands.manager.acf.commands.AdminCommand
internal class ACFCommandManager(private val plu... | 0 | Kotlin | 0 | 0 | d8abc26d9863ecb3c460446301ee3efc7f4bfdf4 | 619 | MOTD | MIT License |
app/src/main/java/github/sachin2dehury/owlmail/repository/DataStoreRepository.kt | owlmail | 391,310,709 | false | null | package github.sachin2dehury.owlmail.repository
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.core.edit
import androidx.datastore.prefe... | 1 | Kotlin | 1 | 1 | 6b4415aafc8d7c3071b0d0e1f3a0cecbee867b12 | 1,603 | OwlMail-Legacy | Apache License 2.0 |
reaktive/src/commonMain/kotlin/com/badoo/reaktive/utils/Time.kt | kpgalligan | 187,674,887 | true | {"Kotlin": 273826, "Swift": 3237, "HTML": 1106} | package com.badoo.reaktive.utils
internal expect val uptimeMillis: Long | 0 | Kotlin | 0 | 1 | 9bb6531930a5d2888ae7baa41900ccb487a9a272 | 72 | Reaktive | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.