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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/me/glaremasters/guilds/guis/InfoGUI.kt | guilds-plugin | 93,349,217 | false | null | /*
* MIT License
*
* Copyright (c) 2019 Glare
*
* 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, modify, me... | 62 | null | 58 | 91 | b1656cebb5e31448ce73ba9ae0fc9980fa7b76c2 | 9,292 | Guilds | MIT License |
integration-tests/hibernate-orm-panache-kotlin/src/main/kotlin/io/quarkus/it/panache/kotlin/DogDao.kt | patrox | 377,393,180 | true | {"Batchfile": 8, "Shell": 22, "Markdown": 93, "Java": 17456, "Java Properties": 363, "HTML": 123, "INI": 756, "Kotlin": 347, "Scala": 38, "SQL": 95, "Gradle Kotlin DSL": 35, "Dockerfile": 2, "JavaScript": 112, "Python": 1, "CSS": 6, "PLpgSQL": 1} | package io.quarkus.it.panache.kotlin
import io.quarkus.hibernate.orm.panache.kotlin.PanacheRepositoryBase
import jakarta.enterprise.context.ApplicationScoped
@ApplicationScoped open class DogDao : PanacheRepositoryBase<Dog, Int>
| 20 | Java | 0 | 3 | 4b7e8c29de35541bb6a7b668391f31083abd1415 | 231 | quarkus | Apache License 2.0 |
rabbit/src/main/java/com/susion/rabbit/Rabbit.kt | SusionSuc | 210,506,798 | false | null | package com.susion.rabbit
import android.app.Activity
import android.app.Application
import android.view.View
import com.susion.rabbit.base.RabbitLog
import com.susion.rabbit.base.RabbitMonitorProtocol
import com.susion.rabbit.base.RabbitProtocol
import com.susion.rabbit.base.RabbitSettings
import com.susion.rabbit.ba... | 9 | null | 146 | 998 | f1d1faf9f69b4ec162ae2215e9338dd1d7bdc893 | 7,138 | rabbit-client | MIT License |
src/app/src/main/kotlin/org/vaccineimpact/orderlyweb/controllers/api/DataController.kt | vimc | 173,126,600 | false | null | package org.vaccineimpact.orderlyweb.controllers.api
import org.vaccineimpact.orderlyweb.*
import org.vaccineimpact.orderlyweb.models.Scope
import org.vaccineimpact.orderlyweb.models.permissions.ReifiedPermission
import org.vaccineimpact.orderlyweb.controllers.Controller
import org.vaccineimpact.orderlyweb.db.AppConfi... | 6 | Kotlin | 4 | 4 | 4c18736db6263fe8115699f036ab2469081bfb97 | 2,311 | orderly-web | MIT License |
AnnZone-Android/app/src/main/java/cn/anline/annzone/ui/project/ProjectAddActivity.kt | jiankian | 120,399,839 | false | null | package cn.anline.annzone.ui.project
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import cn.anline.annzone.R
/**
* 项目添加界面
*/
class ProjectAddActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setCo... | 25 | null | 69 | 210 | 2e9246d0e83e6e6b7bb7bcbb74ca12f114e25a13 | 369 | AnnZone | MIT License |
app/src/main/java/com/cryart/sabbathschool/initializer/TimberInitializer.kt | Adventech | 65,243,816 | false | null | package com.cryart.sabbathschool.initializer
import android.content.Context
import androidx.startup.Initializer
import com.cryart.sabbathschool.BuildConfig
import timber.log.Timber
class TimberInitializer : Initializer<Unit> {
override fun create(context: Context) {
if (BuildConfig.DEBUG) {
Ti... | 7 | null | 29 | 80 | e7bab11541edea65864616c7e8c72569dc8b810a | 449 | sabbath-school-android | MIT License |
app/src/main/java/com/hack/antisurveillance/presentation/screens/MainActivity.kt | AntiSurveillanceApp | 298,106,272 | false | null | package com.hack.antisurveillance.presentation.screens
import com.hack.antisurveillance.R
import java.util.*
class MainActivity : BaseActivity(R.layout.activity_main), OnLocaleChangeListener {
override fun onLocaleChanged(locale: Locale) {
setLanguage(locale)
}
} | 0 | Kotlin | 0 | 0 | 5f519b074c601308d2db6fb18cb27529575a620e | 282 | Android | Apache License 2.0 |
app/src/main/java/corp/wmsoft/manim/animation/transform.kt | westman2000 | 783,369,254 | false | {"Kotlin": 454674} | package corp.wmsoft.manim.animation
import corp.wmsoft.manim.mobject.Mobject
//"""Animations transforming one mobject into another."""
open class Transform(mobject: Mobject) : Animation(mobject)
// """A Transform transforms a Mobject into a target Mobject.
//
// Parameters
// ----------
// mobject
// ... | 0 | Kotlin | 0 | 0 | c9343f77896014a3099817449fca27cb9d250b75 | 17,525 | compose | Apache License 2.0 |
idea/testData/refactoring/move/java/moveMethod/moveMethodToTopLevelClassOfAnotherPackage/before/k/onDemandImportOfClassMembers.kt | JakeWharton | 99,388,807 | true | null | package k
import j.A.*
fun bar(s: String) {
foo(s)
} | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 58 | kotlin | Apache License 2.0 |
src/main/kotlin/no/nav/tms/ekstern/varsling/bestilling/repository.kt | navikt | 813,038,696 | false | {"Kotlin": 79174, "Dockerfile": 151} | package no.nav.tms.ekstern.varsling.bestilling
import kotliquery.queryOf
import no.nav.tms.ekstern.varsling.setup.Database
import no.nav.tms.ekstern.varsling.setup.defaultObjectMapper
import no.nav.tms.ekstern.varsling.setup.json
import no.nav.tms.ekstern.varsling.setup.toJsonb
import java.time.ZonedDateTime
class Ek... | 0 | Kotlin | 0 | 0 | ccc960f840366351a52eeebf2715f4eb1ab71270 | 8,549 | tms-ekstern-varsling | MIT License |
app/src/main/java/com/pengxh/secretkey/ui/fragment/SecretListFragment.kt | AndroidCoderPeng | 282,096,502 | false | null | package com.pengxh.secretkey.ui.fragment
import android.os.CountDownTimer
import android.os.Environment
import android.os.Handler
import android.os.Message
import android.util.Log
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget... | 0 | Kotlin | 0 | 0 | d17b1bf0de88d41619b408665e3c30bd45029971 | 11,963 | SecretKey | Apache License 2.0 |
android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt | gocal | 306,602,618 | false | null | package io.agora.agorartm
import android.content.Context
import android.os.Handler
import android.os.Looper
import io.agora.rtm.*
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.MethodChannel.MethodCallHandler
import io.flutter.plugin.common.Meth... | 1 | null | 2 | 2 | 59482ed93375cbf4844a0258abaffcd8c782b238 | 32,892 | Flutter-RTM | MIT License |
app/src/main/java/com/android/uniassist/auth/LoginActivity.kt | AnshadV | 469,390,090 | false | {"Kotlin": 50324} | package com.android.uniassist.auth
import android.content.ContentValues
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.TextUtils
import android.util.Log
import android.widget.Toast
import com.android.uniassist.MainActivity
import com.android.u... | 0 | Kotlin | 0 | 0 | 3e0add3e9d39621a665a43952c37528b0e4afaa8 | 4,158 | UniAssist_Android | MIT License |
src/main/kotlin/com/awen/spring/controller/ESUserController.kt | awenblue | 141,681,187 | false | null | /*
*
* Copyright 2018 The awen_blue 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 requ... | 0 | Kotlin | 1 | 8 | 0a744fee7d565664c3569cdc2fbdb55e18b28af3 | 1,468 | spring-kotlin-jpa | Apache License 2.0 |
platform/collaboration-tools/src/com/intellij/collaboration/ui/codereview/details/data/CodeReviewCIJobState.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.collaboration.ui.codereview.details.data
enum class CodeReviewCIJobState {
PENDING,
FAILED,
SUCCESS
} | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 250 | intellij-community | Apache License 2.0 |
Lists_2/app/src/main/java/com/ybr_system/mylists/dataFiles/ListOfBeers.kt | Flight552 | 353,632,256 | false | null | package com.ybr_system.mylists
internal var beers: MutableList<Beer> = mutableListOf(
Beer.Lager(
name = "<NAME>",
image = "https://52brews.com/wp-content/uploads/2018/08/Beer-Mug-Foam-768x901.webp",
type = "LAGER",
country = "Philippines"
),
Beer.Porter(
name = "<NA... | 1 | null | 1 | 1 | ad68645b3c4acd5f0fa8c008457259553ebf859c | 1,203 | SkillBoxLessons | MIT License |
src/main/kotlin/org/wfanet/measurement/duchy/deploy/common/daemon/mill/shareshuffle/ForwardedStorageHonestMajorityShareShuffleDaemon.kt | world-federation-of-advertisers | 349,561,061 | false | {"Kotlin": 9528593, "Starlark": 908739, "C++": 624137, "CUE": 164605, "HCL": 156622, "TypeScript": 101485, "Shell": 20877, "CSS": 9620, "Go": 8063, "JavaScript": 5305, "HTML": 2489} | // Copyright 2024 The Cross-Media Measurement Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 127 | Kotlin | 11 | 33 | 24a8b93f7c536411e08355b766fd991fdc45aebc | 1,491 | cross-media-measurement | Apache License 2.0 |
formats/protobuf/commonTest/src/kotlinx/serialization/protobuf/ProtobufAbsenceTest.kt | Kotlin | 97,827,246 | false | {"Kotlin": 2262082, "Java": 1343} | package kotlinx.serialization.protobuf
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerializationException
import kotlinx.serialization.decodeFromByteArray
import kotlinx.serialization.encodeToByteArray
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith... | 407 | Kotlin | 621 | 5,396 | d4d066d72a9f92f06c640be5a36a22f75d0d7659 | 4,925 | kotlinx.serialization | Apache License 2.0 |
platform/lang-api/src/com/intellij/execution/stateExecutionWidget/StateWidgetRunProcess.kt | sshyran | 342,958,565 | false | {"Text": 4190, "XML": 4971, "YAML": 402, "Ant Build System": 13, "Shell": 552, "Markdown": 454, "Ignore List": 91, "Git Attributes": 9, "EditorConfig": 224, "Batchfile": 28, "SVG": 2294, "Java": 69162, "C++": 34, "HTML": 2370, "Kotlin": 7521, "DTrace": 1, "Gradle": 77, "Java Properties": 192, "INI": 298, "JFlex": 30, "... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.execution.stateExecutionWidget
import com.intellij.execution.ExecutionBundle
import com.intellij.openapi.wm.ToolWindowId
class StateWidgetRunProcess : State... | 1 | null | 1 | 1 | e02b50d4fa76237182b1564d3d72576d421abf71 | 859 | intellij-community | Apache License 2.0 |
feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/presentation/validators/change/custom/review/ReviewCustomValidatorsViewModel.kt | novasamatech | 415,834,480 | false | null | package io.novafoundation.nova.feature_staking_impl.presentation.validators.change.custom.review
import androidx.lifecycle.viewModelScope
import io.novafoundation.nova.common.address.AddressIconGenerator
import io.novafoundation.nova.common.base.BaseViewModel
import io.novafoundation.nova.common.resources.ResourceMana... | 17 | null | 6 | 9 | 67cd6fd77aae24728a27b81eb7f26ac586463aaa | 5,243 | nova-wallet-android | Apache License 2.0 |
testData/misc/stringType.d.kt | hakanerp | 89,503,300 | true | {"Kotlin": 1320761, "JavaScript": 7628} | package stringType
external fun foo(s: Any /* "number" */): Number = definedExternally
external fun foo(s: Any /* "string" */): String = definedExternally
external interface I {
fun bar(s: Any /* "number" */): Number
fun bar(s: Any /* "string" */): String
}
external open class C {
open fun baz(s: Any /* "n... | 0 | Kotlin | 0 | 0 | 9edfd6a05d757265c6d20eea7f862762f59d15e4 | 429 | ts2kt | Apache License 2.0 |
kt-extensions/src/main/java/com/mindera/skeletoid/kt/extensions/views/TextView.kt | Mindera | 85,591,428 | false | {"Gradle": 12, "XML": 18, "CODEOWNERS": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "YAML": 1, "Markdown": 10, "Proguard": 8, "Kotlin": 160, "Java": 5} | @file:Suppress("NOTHING_TO_INLINE")
package com.mindera.skeletoid.kt.extensions.views
import android.graphics.drawable.Drawable
import android.text.Spannable
import android.text.SpannableString
import android.text.style.ImageSpan
import android.widget.TextView
fun TextView.getLeftCompoundDrawable(): Drawable? {
... | 7 | Kotlin | 3 | 24 | 881de796fbbe835c74f69f36ccf327bdcb0029f3 | 1,115 | skeletoid | MIT License |
app/src/main/java/com/gcode/vastutils/IntentActivity.kt | SakurajimaMaii | 353,212,367 | false | null | package com.gcode.vastutils
import android.Manifest
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import androidx.activity.result.contract.ActivityResultContracts
import androidx.core.app.ActivityCompat
import com.gcode.vasttools.utils.IntentUtils
import com.gcod... | 9 | Kotlin | 3 | 17 | 6b71798933563b277848c55900f8fef74138fac2 | 2,733 | Utils | MIT License |
objects/src/commonMain/kotlin/ru/krindra/vkkt/objects/messages/MessagesTemplateActionTypeNames.kt | krindra | 780,080,411 | false | {"Kotlin": 1336107} | package ru.krindra.vkkt.objects.messages
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
*
* Template action type names
*
*/
@Serializable
enum class MessagesTemplateActionTypeNames(val value: String){
@SerialName("text") TEXT("text"),
@SerialName("start") START("sta... | 0 | Kotlin | 0 | 1 | 58407ea02fc9d971f86702f3b822b33df65dd3be | 853 | VKKT | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/HTTPRequest.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1649742, "GDScript": 536482, "C++": 487057, "C": 13191, "C#": 10278, "Shell": 7888, "Python": 3941, "Java": 3219, "CMake": 941} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 64 | Kotlin | 45 | 634 | ac2a1bd5ea931725e2ed19eb5093dea171962e3f | 22,597 | godot-kotlin-jvm | MIT License |
app/src/main/java/com/kodedynamic/recipeoracle/features/categoriesscreen/presentation/viewmodel/CategoriesViewModel.kt | kushal2011 | 836,607,411 | false | {"Kotlin": 238994} | package com.kodedynamic.recipeoracle.features.categoriesscreen.presentation.viewmodel
import android.os.Bundle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.firebase.analytics.FirebaseAnalytics
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.kodedy... | 0 | Kotlin | 0 | 0 | 98b4bdcd58d59fae9a8d3103b831cbecddacd886 | 3,958 | Recipe-Oracle | MIT License |
vgo/src/main/kotlin/com/jzbrooks/vgo/svg/ScalableVectorGraphicCommandPrinter.kt | jzbrooks | 204,362,893 | false | null | package com.jzbrooks.vgo.svg
import com.jzbrooks.vgo.core.graphic.command.ClosePath
import com.jzbrooks.vgo.core.graphic.command.Command
import com.jzbrooks.vgo.core.graphic.command.CommandPrinter
import com.jzbrooks.vgo.core.graphic.command.CommandVariant
import com.jzbrooks.vgo.core.graphic.command.CubicBezierCurve
... | 9 | null | 1 | 41 | b953f7aa593e1437783e961ed7357ba9d43f4909 | 9,257 | vgo | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/BellRinging.kt | walter-juan | 868,046,028 | false | null | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
im... | 0 | null | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,274 | compose-icon-collections | MIT License |
src/main/kotlin/com/github/hotm/items/AuraTunerItem.kt | Heart-of-the-Machine | 271,669,718 | false | null | package com.github.hotm.items
import com.github.hotm.HotMConstants.message
import com.github.hotm.HotMConstants.str
import com.github.hotm.auranet.DependableAuraNode
import com.github.hotm.auranet.DependantAuraNode
import com.github.hotm.auranet.DependencyAuraNodeUtils
import com.github.hotm.blocks.AuraNodeBlock
impor... | 7 | Kotlin | 0 | 5 | de148c50f9c8ea1d1a3bd4f4dfb035c4614d70a1 | 4,497 | heart-of-the-machine | MIT License |
bindableradiobuttons/src/main/java/com/nilsenlabs/bindableradiobuttons/buttons/ButtonViewModel.kt | Nilzor | 366,955,391 | false | null | package com.nilsenlabs.bindableradiobuttons.buttons
interface ButtonViewModelInterface {
val title: String
val isEnabled: Boolean
val onClick: BindableButtonList.ClickListener?
}
open class ButtonViewModel @JvmOverloads constructor(
override val title: String,
override val isEnabled: Boolean = tr... | 1 | Kotlin | 0 | 0 | 9db18616ff2e94cb4962399e36650f024c8be9c1 | 484 | bindable-radiobuttons | Apache License 2.0 |
libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/companions/companions.kt | JakeWharton | 99,388,807 | false | null | package cases.companions
object PublicClasses {
class PublicCompanion {
companion object
}
class ProtectedCompanion {
protected companion object
}
abstract class AbstractProtectedCompanion {
protected companion object
}
class InternalCompanion {
internal ... | 67 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,814 | kotlin | Apache License 2.0 |
locationServices/src/hms/java/com/computerrock/location/core/LocationResult.kt | pedjacr | 376,753,907 | false | null | package com.computerrock.location.core
import android.content.Intent
import android.location.Location
import com.huawei.hms.location.LocationResult
class LocationResult internal constructor(private val hmsLocationResult: LocationResult) {
val lastLocation: Location
get() = hmsLocationResult.lastLocation
... | 1 | null | 1 | 1 | 5226db0cbf94fe20dcd1ba877b334899b6c877df | 668 | gms-hms-wrapper | Apache License 2.0 |
kotlin-source/src/main/kotlin/com/example/api/ExampleApi.kt | soulpapa | 80,889,319 | false | null | package com.example.api
import com.example.contract.IOUContract
import com.example.flow.ExampleFlow.Initiator
import com.example.flow.ExampleFlowResult
import com.example.model.IOU
import com.example.state.IOUState
import net.corda.core.messaging.CordaRPCOps
import net.corda.core.messaging.startFlow
import javax.ws.rs... | 1 | null | 1 | 1 | 9581a9c0a09ef32d7604b287a509b6c1e7d3bac8 | 3,242 | cordapp-tutorial | Apache License 2.0 |
app/src/main/java/com/stocksexchange/android/ui/currencymarketpreview/CurrencyMarketPreviewPresenter.kt | libertaria-project | 183,030,087 | true | {"Kotlin": 2210140} | package com.stocksexchange.android.ui.currencymarketpreview
import com.stocksexchange.android.R
import com.stocksexchange.android.api.model.*
import com.stocksexchange.android.database.tables.exceptions.NotFoundException
import com.stocksexchange.android.events.*
import com.stocksexchange.android.events.utils.handleCu... | 0 | Kotlin | 0 | 0 | 35a7f9a61f52f68ab3267da24da3c1d77d84e9c3 | 15,895 | Android-app | MIT License |
app/src/main/java/com/uday/android/toolkit/ui/DialogUtils.kt | meudayhegde | 124,922,470 | false | {"Kotlin": 218668} | package com.uday.android.toolkit.ui
import android.annotation.SuppressLint
import android.content.Context
import android.content.DialogInterface
import android.text.Spanned
import android.view.View
import android.widget.*
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import ... | 1 | Kotlin | 3 | 4 | ebc03d0effc24672b9eb1e6261fefeef03794266 | 7,432 | Android-Toolkit-ROOT- | Apache License 2.0 |
app-alpha/src/main/java/com/github/uragiristereo/mejiboard/data/model/remote/provider/safebooruorg/posts/SafebooruOrgPost.kt | uragiristereo | 406,362,024 | false | {"Kotlin": 395562} | package com.github.uragiristereo.mejiboard.data.model.remote.provider.safebooruorg.posts
import com.squareup.moshi.Json
data class SafebooruOrgPost(
val directory: String,
val hash: String,
val height: Int,
val id: Int,
val image: String,
val change: Int,
val owner: String,
@field:Jso... | 2 | Kotlin | 3 | 72 | 6f23178dddf36ed4e9382aeef7bb56114903f443 | 615 | Mejiboard | Apache License 2.0 |
src/test/kotlin/no/nav/arbeidsgiver/sykefravarsstatistikk/api/statistikk/StatistikkUtilsTest.kt | navikt | 201,881,144 | false | {"Kotlin": 796531, "Shell": 1600, "Dockerfile": 213} | package no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.aggregertOgKvartalsvisSykefraværsstatistikk
import no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.utils.StatistikkUtils.kalkulerSykefraværsprosent
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Test
import java.math.BigDe... | 0 | Kotlin | 2 | 0 | fd3e4795c206dd0565fb8fc968504f0df5acae09 | 4,102 | sykefravarsstatistikk-api | MIT License |
kotlin-micronaut/src/test/kotlin/x/domainpersistencemodeling/AtTest.kt | binkley | 227,846,529 | false | {"Markdown": 2, "CODEOWNERS": 1, "Batchfile": 3, "Shell": 7, "Maven POM": 3, "Dockerfile": 1, "YAML": 6, "Ignore List": 3, "Git Attributes": 3, "INI": 6, "Java": 42, "Java Properties": 1, "Kotlin": 73, "XML": 3, "SQL": 2, "PLpgSQL": 4} | package x.domainpersistencemodeling
import ch.tutteli.atrium.api.cc.en_GB.toBe
import ch.tutteli.atrium.api.cc.en_GB.toThrow
import ch.tutteli.atrium.verbs.expect
import org.junit.jupiter.api.Test
import x.domainpersistencemodeling.KnownState.ENABLED
import x.domainpersistencemodeling.child.AssignedChild
import x.doma... | 1 | null | 1 | 1 | 22dc7763ef1cffb63ffb0f18f7bbe5f6fb975b4e | 3,171 | domain-persistence-modeling | The Unlicense |
app/src/main/java/com/patriq/kronicles/notifications/MyResponse.kt | patriqjr | 705,860,100 | false | {"Kotlin": 54968} | package com.patriq.kronicles.notifications
class MyResponse {
var success : Int = 0
} | 0 | Kotlin | 0 | 0 | 66e9dab7251d0a7e41f4ef3b6817b8821a7da8f7 | 90 | Kritik | Apache License 2.0 |
tests/src/test/kotlin/se/ansman/kotshi/TestTransientAdapters.kt | ansman | 95,685,398 | false | null | package se.ansman.kotshi
import com.squareup.moshi.JsonWriter
import com.squareup.moshi.Moshi
import okio.Buffer
import org.junit.Before
import org.junit.Test
import kotlin.test.assertEquals
class TestTransientAdapters {
private lateinit var moshi: Moshi
@Before
fun setup() {
moshi = Moshi.Builde... | 3 | Kotlin | 42 | 730 | ce79cc26064a1c0b292e942535b54cbbeda7aa29 | 1,572 | kotshi | Apache License 2.0 |
app/src/main/java/com/liuxing/daily/data/SpecialThanksData.kt | LiuXing0327 | 866,029,430 | false | {"Kotlin": 169365} | package com.liuxing.daily.data
/**
* Author:流星
* DateTime:2024/10/17 上午9:27
* Description:
*/
data class SpecialThanksData(
val name: String? = null,
val remark: String? = null,
val intIndex: Int?
) | 0 | Kotlin | 0 | 8 | 21f1d6af69d0fa79f729b3b08f09146cbc4b6a6a | 215 | LiuXingDaily | Apache License 2.0 |
app/src/main/java/in/developingdeveloper/timeline/modify/event/ui/components/OccurredOnDatePickerDialog.kt | 5AbhishekSaxena | 624,931,376 | false | null | package `in`.developingdeveloper.timeline.add.event.ui.components
import androidx.compose.material3.DatePicker
import androidx.compose.material3.DatePickerDialog
import androidx.compose.material3.DatePickerState
import androidx.compose.material3.Text
import androidx.compose.material3.TextButton
import androidx.compose... | 9 | Kotlin | 3 | 18 | 44cbc20a430e0d012d982b4adb11ae626af1c404 | 1,665 | Timeline | Apache License 2.0 |
src/jvmMain/kotlin/jp/kaleidot725/adbpad/domain/model/log/Event.kt | kaleidot725 | 522,136,982 | false | {"Kotlin": 215218, "Ruby": 364} | package jp.kaleidot725.adbpad.domain.model.log
import jp.kaleidot725.adbpad.domain.model.language.Language
interface Event {
val message: String
val level: Level
data class StartCommand(val commandName: String) : Event {
override val message: String
get() = String.format(Language.COMM... | 1 | Kotlin | 3 | 60 | f6b46a32730738a22cec0038f76dd80f5267b1c7 | 3,269 | AdbPad | MIT License |
app/src/main/java/com/sano/reddito/presentation/model/mapper/LinkMapper.kt | alexevdo | 159,793,782 | false | null | package com.sano.reddito.presentation.model.mapper
import com.sano.reddito.domain.entity.LinkEntity
import com.sano.reddito.presentation.model.LinkModel
fun LinkEntity.toLinkModel() =
LinkModel(
id = id,
title = title,
author = author,
subreddit = subreddit,
postDate = post... | 0 | Kotlin | 0 | 1 | 4b3096e8654e394876535716e0ee91c681a947a5 | 440 | Reddito | MIT License |
src/commonTest/kotlin/io/github/optimumcode/json/pointer/JsonPointerTest.kt | OptimumCode | 665,024,908 | false | {"Kotlin": 494076} | package io.github.optimumcode.json.pointer
import io.kotest.assertions.asClue
import io.kotest.assertions.assertSoftly
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.should
import io.kotest.matchers.s... | 9 | Kotlin | 3 | 9 | 61e36f29adaf6538fd38307296cc5dd1339e1ffa | 3,590 | json-schema-validator | MIT License |
spoonacular-kotlin/src/main/java/com/beetlestance/spoonacular_kotlin/models/response/recipe/RecipeInformation.kt | beetlestance | 290,930,920 | false | null | /*
* Copyright 2020 BeetleStance
*
* 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... | 22 | Kotlin | 0 | 3 | ab274a73035142024929b9b8d87903b0949c1660 | 6,034 | Aphid | Apache License 2.0 |
src/main/kotlin/jp/live/ugai/genomemask/Main.kt | takanori-ugai | 719,871,301 | false | {"Kotlin": 3852} | package jp.live.ugai.genomemask
import org.apache.jena.query.QueryExecutionFactory
import org.apache.jena.rdf.model.Model
import org.apache.jena.rdf.model.ModelFactory
import org.apache.jena.riot.RDFDataMgr
import java.io.InputStream
/**
* The main entry point of the application.
*
* @param args Command line argum... | 0 | Kotlin | 0 | 0 | 97b43b1249609e961d31fbd77416a7532dce420d | 3,852 | genomeMask | Apache License 2.0 |
kediatr-core/src/main/kotlin/com/trendyol/kediatr/PublishStrategy.kt | Trendyol | 207,607,885 | false | null | package com.trendyol.kediatr
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
interface PublishStrategy {
suspend fun <T : Notification> publish(
notification: T,
notificationHandlers: Collection<NotificationHandler<T>>,
dispatcher: CoroutineDispatcher =... | 5 | null | 23 | 90 | 698b6ce424c653ce9f0c15f53409e76190569833 | 345 | kediatR | MIT License |
spring-kotlin/src/test/kotlin/spring/hello/ControllerTest.kt | msch0304 | 137,726,296 | true | {"Kotlin": 30943} | package spring.hello
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.context.Sp... | 0 | Kotlin | 0 | 0 | 4010ea00f42766e7a3a8fb236a827cef95103bf3 | 1,014 | kotlin-workshop | MIT License |
app/src/main/java/com/afauzi/bangungkota/data/repository/post/PostPagingSource.kt | A-fauzi | 687,105,360 | false | {"Kotlin": 105462} | package com.afauzi.bangungkota.data.repository.post
import android.util.Log
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.afauzi.bangungkota.domain.model.Post
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.firestore.QuerySnapshot
import kotlinx.cor... | 0 | Kotlin | 0 | 1 | ac498b2dbebb595d6db77738bfa89399196042b8 | 1,672 | NewBangungKota | MIT License |
src/main/kotlin/tech/zone84/examples/extensionfunctions/domain/ArticleQuery.kt | zone84-examples | 479,925,575 | false | null | package tech.zone84.examples.extensionfunctions.domain
data class ArticleQuery(
val category: String
)
| 0 | Kotlin | 0 | 0 | 5c4b26c9817e4616f408a48ad3b332348097abbb | 108 | kotlin-extension-functions | MIT License |
src/backend/ci/ext/tencent/worker/worker-agent/src/main/kotlin/com/tencent/devops/agent/MacAgentEnv.kt | terlinhe | 281,661,499 | true | {"Kotlin": 45598476, "Vue": 6397657, "Java": 5707849, "Go": 3274290, "JavaScript": 1968867, "Lua": 856156, "HTML": 649832, "Dart": 551043, "TypeScript": 411134, "SCSS": 405673, "Shell": 403216, "C++": 149772, "CSS": 95042, "Python": 79300, "Mustache": 65146, "Smarty": 46819, "C": 33502, "Less": 24714, "Dockerfile": 229... | package com.tencent.devops.agent
import com.tencent.devops.worker.common.env.AgentEnv
import org.slf4j.LoggerFactory
object MacAgentEnv {
private val logger = LoggerFactory.getLogger(AgentEnv::class.java)
private const val MACOS_WORKSPACE = "DEVOPS_MACOS_DIR"
private var macOSWorkspace: String? = null
... | 0 | Kotlin | 0 | 0 | dccbcb9f44260f80ebfa1c2dad0c401222f7f93c | 994 | bk-ci | MIT License |
data-healthconnect/src/main/kotlin/com/purewowstudio/bodystats/data/healthconnect/di/HealthConnectDataModule.kt | phillwiggins | 497,633,079 | false | {"Kotlin": 263828, "Shell": 443} | package com.purewowstudio.bodystats.data.healthconnect.di
import com.purewowstudio.bodystats.data.healthconnect.data.HealthDataCaloriesImpl
import com.purewowstudio.bodystats.data.healthconnect.data.HealthDataSleepImpl
import com.purewowstudio.bodystats.data.healthconnect.data.HealthDataStepsImpl
import com.purewowstu... | 0 | Kotlin | 1 | 8 | 41a56fb6a7f4fade0806b8fda3cf20a8f6b5a306 | 1,476 | bodystats | Apache License 2.0 |
app/src/main/java/com/jnj/vaccinetracker/common/data/models/api/response/LocalizationMapDto.kt | johnsonandjohnson | 503,902,626 | false | {"Kotlin": 1690434} | package com.jnj.vaccinetracker.common.data.models.api.response
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class LocalizationMapDto(val localization: LanguageMap)
private typealias LanguageMap = Map<String, TranslationMap>
private typealias TranslationMap = Map<String, String> | 3 | Kotlin | 1 | 1 | 8ea37ee80c98574f3d480582b756df15990f497d | 312 | vxnaid | Apache License 2.0 |
src/main/kotlin/io/github/alexandrepiveteau/datalog/core/rule/Literal.kt | alexandrepiveteau | 607,114,441 | false | null | package io.github.alexandrepiveteau.datalog.core.rule
/** A [Literal] is a [Predicate] with some atoms. */
interface Literal<out T> {
/** The [Predicate] of the [Literal]. */
val predicate: Predicate
/** The projection of the [Literal] as a [List] of [Atom]s. */
val atoms: List<Atom<T>>
/** Returns the [I... | 3 | Kotlin | 0 | 2 | 68f3e2d43c866d2057a0231188175c31b2f26940 | 393 | epfl-datalog-kotlin | MIT License |
app/src/main/kotlin/com/nido/weatherlogger/ServiceLocator.kt | naveedahmad99 | 245,104,141 | false | null | package com.nido.weatherlogger
import android.content.Context
import androidx.annotation.VisibleForTesting
import com.nido.weatherlogger.data.ForecastsRepository
import com.nido.weatherlogger.data.IForecastsRepository
import com.nido.weatherlogger.data.source.local.ForecastsLocalDataSource
import com.nido.weatherlogge... | 0 | Kotlin | 0 | 1 | 5b9e243a9549d147b994c71b1ef08bbf3f0cee5d | 2,553 | WeatherLogger | Apache License 2.0 |
arrow-libs/fx/arrow-fx-coroutines/src/test/kotlin/arrow/fx/coroutines/RaceNTest.kt | tiarebalbi | 111,073,383 | false | null | package arrow.fx.coroutines
import arrow.core.Either
import arrow.core.identity
import arrow.core.merge
import io.kotest.matchers.should
import io.kotest.matchers.shouldBe
import io.kotest.matchers.types.shouldBeInstanceOf
import io.kotest.property.Arb
import io.kotest.property.arbitrary.bool
import io.kotest.property... | 2 | null | 1 | 1 | 12f047b4a7d267e622933bc991f57a05ecf63add | 9,412 | kategory | Apache License 2.0 |
app/src/main/java/com/rockstreamer/adsadapterwrapper/view/FacebookNativeIntoAdapter.kt | pavelsust | 456,933,053 | false | {"Java": 58851, "Kotlin": 16126} | package com.rockstreamer.adsadapterwrapper.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import com.rockstreamer.adsadapterwrapper.ListAdapter
import c... | 1 | null | 1 | 1 | a0262b0ad888d2b2361e715e7e84ebdcdde65b7d | 1,650 | AdsAdapterWrapper | MIT License |
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/intrinsics/NewArray.kt | arrow-kt | 109,678,056 | false | null | /*
* Copyright 2010-2018 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.backend.jvm.intrinsics
import org.jetbrains.kotlin.backend.jvm.codegen.BlockInfo... | 12 | null | 1 | 43 | d2a24985b602e5f708e199aa58ece652a4b0ea48 | 1,450 | kotlin | Apache License 2.0 |
src/main/kotlin/dev/usbharu/hideout/application/config/JobQueueRunner.kt | usbharu | 627,026,893 | false | {"Kotlin": 1337734, "Mustache": 111614, "Gherkin": 21440, "JavaScript": 1112, "HTML": 341} | /*
* Copyright (C) 2024 usbharu
*
* 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... | 38 | Kotlin | 0 | 9 | 5512c43ffacf0480f652465ccf5f71b559387592 | 1,893 | Hideout | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Chair.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,232 | icons | MIT License |
app/src/main/java/es/uam/eps/tfg/menuPlanner/userProfile/SavedRecipesFragment.kt | moliverac8 | 381,427,467 | false | null | package es.uam.eps.tfg.menuPlanner.userProfile
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.... | 0 | Kotlin | 0 | 0 | cd0a233af55e94512697a70e96127f1cc534d732 | 2,066 | Menu-Planner | Apache License 2.0 |
grpc-mp-test/src/jvmTest/kotlin/io/github/timortel/kotlin_multiplatform_grpc_plugin/test/JVMSerializationTest.kt | TimOrtel | 503,391,702 | false | null | package io.github.timortel.kotlin_multiplatform_grpc_plugin.test
import io.github.timortel.kotlin_multiplatform_grpc_lib.message.KMMessage
import io.github.timortel.kotlin_multiplatform_grpc_lib.message.MessageDeserializer
import io.github.timortel.kotlin_multiplatform_grpc_plugin.test.basic_messages.*
import platform... | 6 | null | 14 | 62 | c2ab8b52c36cade78ba8cc5be1123ff006f715a2 | 1,532 | GRPC-Kotlin-Multiplatform | Apache License 2.0 |
src/main/kotlin/com/github/tsonglew/etcdhelper/common/ThreadPoolManager.kt | tsonglew | 524,446,154 | false | {"Kotlin": 197687, "Makefile": 1360} | /*
* MIT License
*
* Copyright (c) 2022 Tsonglew
*
* 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, modify,... | 12 | Kotlin | 3 | 25 | 9e5c1cd3a66b0075490c46d2c0a466e1de6eadd0 | 1,769 | intellij-etcdhelper | MIT License |
app/src/main/java/com/czterysery/MVPWithFirebase/util/mvp/IBaseFragment.kt | tmaxxdd | 181,837,510 | false | null | package com.czterysery.MVPWithFirebase.util.mvp
/*
Definition of completely basic methods for
all fragments in the app.
*/
interface IBaseFragment {
fun showToast(message: String)
fun setProgressBar(visible: Boolean)
} | 0 | Kotlin | 0 | 0 | c1080faf82dfd179e940f599ba53e4622150caf0 | 239 | MVPWithFirebase | Apache License 2.0 |
app/src/main/java/com/kenkeremath/mtgcounter/view/LockableRecyclerView.kt | seanKenkeremath | 518,183,637 | false | null | package com.kenkeremath.mtgcounter.view
import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import androidx.recyclerview.widget.RecyclerView
class LockableRecyclerView @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = ... | 4 | Kotlin | 2 | 5 | 1d7c39e39a424435b822315f4c7af30605278b99 | 843 | SpellCounter | MIT License |
app/src/main/java/com/sai/fabula/di/FabulaDbModule.kt | semani2 | 250,035,002 | false | null | package com.sai.fabula.di
import com.sai.fabula.FabulaApp
import com.sai.fabula.database.FabulaNewsDatabase
class FabulaDbModule(private val application: FabulaApp) {
fun getNewsDatabase() = FabulaNewsDatabase.getInstance(application)
}
| 1 | Kotlin | 4 | 20 | 93df90ceb3a0aaf1b1a7432749e225e5f3a2645a | 244 | Fabula | MIT License |
api/src/main/kotlin/com/nebrija/pushit/api/security/domain/exception/JwtTokenExpiredException.kt | n01rdev | 729,900,246 | false | {"Kotlin": 53053, "Dockerfile": 365} | package com.nebrija.pushit.api.security.domain.exception
class JwtTokenExpiredException : RuntimeException("JWT token is expired") | 0 | Kotlin | 1 | 0 | dbafb47675b317be9e8c6ce65944451f99b60cc1 | 131 | push-it-api | MIT License |
app/src/main/java/uk/co/sentinelweb/cuer/app/util/chromecast/listener/YoutubeCastConnectionListener.kt | sentinelweb | 220,796,368 | false | {"Kotlin": 2627509, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170} | package uk.co.sentinelweb.cuer.app.util.chromecast.listener
import com.pierfrancescosoffritti.androidyoutubeplayer.chromecast.chromecastsender.ChromecastYouTubePlayerContext
import com.pierfrancescosoffritti.androidyoutubeplayer.chromecast.chromecastsender.io.infrastructure.ChromecastConnectionListener
import kotlinx.... | 95 | Kotlin | 0 | 2 | 1e3522bffa43f75f0e030f7ead3ce1b6873f5bd6 | 5,034 | cuer | Apache License 2.0 |
src/main/kotlin/app/urbanflo/urbanflosumoserver/model/network/SumoRoute.kt | igloo-4002 | 653,652,398 | false | {"Kotlin": 115216, "Dockerfile": 1894} | package app.urbanflo.urbanflosumoserver.model.network
import app.urbanflo.urbanflosumoserver.model.SumoEntityId
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty
/**
* SUMO [route.](https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#routes)
*/
data class Sumo... | 0 | Kotlin | 0 | 0 | 37da4da871637f4d053ac4757bb2726fea111525 | 483 | urbanflo-sumo-server | MIT License |
sdk/src/main/kotlin/com/crobox/sdk/domain/PromotionContext.kt | crobox | 803,830,903 | false | {"Kotlin": 69805} | package com.crobox.sdk.domain
import com.google.gson.annotations.SerializedName
import java.util.UUID
/**
* The context about campaigns
*/
data class PromotionContext(
/**
* The list of ongoing campaigns
*/
@SerializedName("experiments")
val campaigns: List<Campaign>,
/**
* Session I... | 0 | Kotlin | 0 | 0 | 7121bdb91bf99cd8f674b10249c2930f22f8411e | 604 | crobox-sdk-android | MIT License |
src/main/kotlin/icu/windea/pls/lang/codeInsight/completion/_accessors.kt | DragonKnightOfBreeze | 328,104,626 | false | {"Kotlin": 3443954, "Java": 164903, "Lex": 42127, "HTML": 23760, "Shell": 2822} | package icu.windea.pls.lang.codeInsight.completion
import com.intellij.codeInsight.completion.*
import com.intellij.codeInsight.lookup.*
import com.intellij.psi.*
import com.intellij.util.*
import icu.windea.pls.config.config.*
import icu.windea.pls.config.configGroup.*
import icu.windea.pls.core.*
import icu.windea.p... | 12 | Kotlin | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 3,800 | Paradox-Language-Support | MIT License |
src/en/edytjedhgmdhm/src/eu/kanade/tachiyomi/animeextension/en/edytjedhgmdhm/Edytjedhgmdhm.kt | almightyhak | 817,607,446 | false | {"Kotlin": 4066862} | package eu.kanade.tachiyomi.animeextension.en.edytjedhgmdhm
import eu.kanade.tachiyomi.animesource.model.AnimeFilter
import eu.kanade.tachiyomi.animesource.model.AnimeFilterList
import eu.kanade.tachiyomi.animesource.model.AnimesPage
import eu.kanade.tachiyomi.animesource.model.SAnime
import eu.kanade.tachiyomi.animes... | 55 | Kotlin | 28 | 93 | 507dddff536702999357b17577edc48353eab5ad | 10,250 | aniyomi-extensions | Apache License 2.0 |
feature/onboarding/core/src/main/kotlin/ru/maksonic/beresta/feature/onboarding/core/widget/MultipleModalBottomSheetContent.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.feature.onboarding.core.widget
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.runtime.State
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import org.koin... | 0 | Kotlin | 0 | 0 | 2fd89325a8ccf45c52a256e1f11a2fa5a16bee49 | 1,569 | Beresta | MIT License |
app/src/main/java/com/mobiquity/arnab/weather/database/dao/CityDao.kt | arnab-kundu | 402,242,019 | false | null | package com.mobiquity.arnab.weather.database.dao
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.room.*
import com.mobiquity.arnab.weather.database.entity.CityEntity
/**
* All the required database quires related to `City` table is declared in this Interface
*/
@Dao
inte... | 1 | null | 1 | 1 | 1c0f62b7f62ca86e3ecb8f9148c17bd03f37166b | 1,088 | Weather | MIT License |
neat-form-core/src/test/java/com/nerdstone/neatformcore/robolectric/handlers/ViewDispatcherTest.kt | kakavi | 265,782,204 | true | {"Kotlin": 252355} | package com.nerdstone.neatformcore.robolectric.handlers
import com.nerdstone.neatformcore.TestNeatFormApp
import com.nerdstone.neatformcore.domain.model.NFormViewProperty
import com.nerdstone.neatformcore.robolectric.builders.BaseJsonViewBuilderTest
import com.nerdstone.neatformcore.rules.RulesFactory
import com.nerds... | 0 | null | 0 | 0 | c820144e15325572bba9a570066082ac5be61c33 | 1,902 | neat-form | Apache License 2.0 |
vector/src/main/java/im/vector/riotx/features/settings/troubleshoot/TestSystemSettings.kt | saad100104006 | 212,864,777 | true | {"Gradle": 5, "Markdown": 7, "Java Properties": 2, "Shell": 15, "Text": 3, "Ignore List": 4, "Batchfile": 1, "YAML": 2, "Proguard": 3, "Java": 6, "XML": 454, "Kotlin": 1122, "JSON": 5, "HTML": 1} | /*
* Copyright 2018 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 2 | null | 1 | 2 | 588e5d6e63ecfee9d93ef3da5987b8deb59f412f | 2,107 | NovaChat | Apache License 2.0 |
app/src/main/java/fail/toepic/android/study/compose/diveincompose/ui/mainlist/MainListScreen.kt | windwishers | 420,618,007 | false | {"Kotlin": 26683} | package fail.toepic.android.study.compose.diveincompose.ui.mainlist
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.Divider
import androidx.compose.... | 0 | Kotlin | 0 | 0 | 32d909c61137360256bcfc798a960823c9335796 | 1,547 | DiveInCompose | MIT License |
service/src/main/java/fr/nihilus/music/service/browser/provider/ArtistChildrenProvider.kt | thibseisel | 80,150,620 | false | null | /*
* Copyright 2020 <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 wr... | 14 | Kotlin | 8 | 50 | d2abd7a0a83ea25e00cf1ad52ec1004478775157 | 3,461 | android-odeon | Apache License 2.0 |
app/src/test/kotlin/net/pot8os/kotlintestsample/CalculatorTest.kt | crkubiak | 211,348,000 | true | {"Kotlin": 9946} | package net.pot8os.kotlintestsample
import com.google.common.truth.Truth.assertThat
import org.junit.Test
import java.math.BigDecimal
/**
* @author <NAME>, 2015-Dec-19
*/
class CalculatorTest {
@Test
fun figureTest() {
assertThat(Figure.ADD.calc(BigDecimal(100), BigDecimal(200)))
.isEqualTo(BigDeci... | 0 | null | 0 | 0 | 101534d5fad1a0f1e8a880f608fbc04ff72d5516 | 647 | Kotlin-Espresso-sample | MIT License |
CryptoSuite/src/main/java/com/sjaindl/cryptosuite/KeyStoreWrapper.kt | sjaindl | 726,593,349 | false | {"Kotlin": 44348} | package com.sjaindl.cryptosuite
import android.content.Context
import android.content.pm.PackageManager
import android.security.keystore.KeyProperties
import android.security.keystore.KeyProtection
import java.security.Key
import java.security.KeyStore
import java.util.Date
import javax.crypto.SecretKey
class KeyStor... | 0 | Kotlin | 0 | 0 | a73c9e3df4a1d2e856a08fe4b094555cf0b05970 | 2,741 | AndroidCryptoSuite | MIT License |
rss-reader/feedContent/fetcher/src/main/java/com/github/jonforshort/rssreader/feedcontentfetcher/RssParser.kt | JonForShort | 375,776,464 | false | null | //
// MIT License
//
// Copyright (c) 2021
//
// 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, modify, merge, p... | 0 | Kotlin | 0 | 3 | dcb91d6916509f550deebfe82a3217a9f4a18546 | 3,311 | android-rss-reader | MIT License |
ComposePdfViewer/app/src/main/java/dev/seabat/android/composepdfviewer/di/HiltModule.kt | seabat | 685,948,686 | false | {"Kotlin": 65504} | package dev.seabat.android.composepdfviewer.di
import android.content.Context
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ActivityComponent
import dagger.hilt.android.qualifiers.ActivityContext
import dagger.hilt.android.scopes.Acti... | 0 | Kotlin | 0 | 0 | 9ccd74d4024d1b729f1cfba75ab512ad3389ff6a | 2,319 | pdf_viewer | Apache License 2.0 |
app/src/androidTest/java/com/training/scoreboard/MainActivityTest.kt | irmansyah | 146,840,025 | false | null | package com.training.scoreboard
import android.support.test.espresso.Espresso.onView
import android.support.test.espresso.Espresso.pressBack
import android.support.test.espresso.IdlingRegistry
import android.support.test.espresso.action.ViewActions.click
import android.support.test.espresso.assertion.ViewAssertions.ma... | 0 | Kotlin | 0 | 0 | 3456f01c534253af6f59e78914aa3c3f54f52e4c | 2,231 | EPL-Schedule | Apache License 2.0 |
subprojects/simyukkuri/src/main/kotlin/simyukkuri/render/MyGraphicsContext.kt | orauyeu | 106,583,114 | false | null | package simyukkuri.render
import javafx.scene.canvas.GraphicsContext
import javafx.scene.image.Image
import simyukkuri.geometry.RectangleXY
/** [GraphicsContext]に機能を追加するラッパークラス. */
class MyGraphicsContext(val gc: GraphicsContext) {
fun drawImage(img: Image, rect: RectangleXY) {
gc.drawImage(img, rect.min... | 1 | Kotlin | 1 | 2 | 787eafc3825aad31178879927cd6eefc991858b2 | 672 | SimYukkuri | Apache License 2.0 |
library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/models/data.commonHtml.kt | lightningkite | 778,386,343 | false | {"Kotlin": 2224994, "Swift": 7449, "Ruby": 4925, "CSS": 4562, "HTML": 4084, "HCL": 880, "JavaScript": 302, "Objective-C": 142, "C": 104, "Shell": 49} | @file:Suppress("NOTHING_TO_INLINE")
package com.lightningkite.kiteui.models
import com.lightningkite.kiteui.encodeURIComponent
actual typealias DimensionRaw = String
actual val Int.px: Dimension
get() = Dimension("${this}px")
actual val Int.rem: Dimension
get() = Dimension("${this}rem")
actual val Double.r... | 3 | Kotlin | 0 | 2 | 58ee76ab3e8e7cab71e65a18c302367c6a641da5 | 8,314 | kiteui | Apache License 2.0 |
app/src/main/java/id/uinjkt/salaamustadz/utils/recyclerview/NestedScrollableHost.kt | Teguhmr | 848,863,621 | false | {"Kotlin": 556881, "Java": 799, "JavaScript": 174} | package id.uinjkt.salaamustadz.utils.recyclerview
import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import android.view.View
import android.view.ViewConfiguration
import android.widget.FrameLayout
import androidx.viewpager2.widget.ViewPager2
import androidx.viewpager2.widg... | 0 | Kotlin | 0 | 0 | 305c5c91e2d065342778ac556dbbdcb957e1f71e | 3,817 | Salaam-Ustadz | Apache License 2.0 |
app/src/main/kotlin/org/andstatus/app/actor/ActorsOfNoteLoader.kt | andstatus | 3,040,264 | false | null | /*
* Copyright (c) 2016 yvolk (<NAME>), http://yurivolkov.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 86 | null | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 2,439 | andstatus | Apache License 2.0 |
BaseModule/src/main/java/com/chen/basemodule/mlist/BaseHeaderViewDelegate.kt | chen397254698 | 268,411,455 | false | null | package com.chen.basemodule.mlist
import android.content.Context
import com.chen.basemodule.allroot.RootBean
/**
* Created by chen on 2018/11/13
*/
abstract class BaseHeaderViewDelegate(context: Context) : BaseItemViewDelegate<RootBean>(context) {
override fun isThisDelegate(data: RootBean, position: Int, re... | 1 | Kotlin | 14 | 47 | 85ffc5e307c6171767e14bbfaf992b8d62ec1cc6 | 340 | EasyAndroid | Apache License 2.0 |
app/src/main/java/com/zipdabang/zipdabang_android/module/my/data/remote/SignOutResult.kt | zipdabang | 666,457,004 | false | {"Kotlin": 1689597} | package com.zipdabang.zipdabang_android.module.my.data.remote
import kotlinx.serialization.Serializable
@Serializable
data class SignOutResult(
val calledAt: String,
val memberId: Int,
val status: String
) | 6 | Kotlin | 1 | 2 | 64ee7ffe6a6d3ee12c3e2a93a598465e65ac583d | 219 | android | The Unlicense |
kt/godot-library/src/main/kotlin/godot/gen/godot/VisualShaderNodeFloatParameter.kt | utopia-rise | 289,462,532 | 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", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 64 | null | 39 | 580 | fd1af79075e7b918200aba3302496b70c76a2028 | 6,650 | godot-kotlin-jvm | MIT License |
src/main/kotlin/de/bergwerklabs/buycraft4j/wrapper/listing/SaleInfo.kt | bergwerkLABS | 117,170,315 | false | null | package de.bergwerklabs.buycraft4j.wrapper.listing
data class SaleInfo(val active: Boolean, val discount: String) | 0 | Kotlin | 0 | 0 | 427d7d73d894358b759f9259b8af0624fa93c798 | 114 | Buycraft4j | MIT License |
composeApp/src/commonMain/kotlin/apps/currency_converter_udemy/presentation/screens/HomeScreen.kt | vengateshm | 818,708,913 | false | {"Kotlin": 136686, "Swift": 1088, "HTML": 353, "CSS": 102} | package apps.currency_converter_udemy.presentation.screens
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.run... | 0 | Kotlin | 0 | 0 | 7a9cb5f525586ee81842db4d3b2870c6f13dbe81 | 3,442 | ComposeMultiplatformSamples | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/incidentreporting/jpa/PrisonerOutcome.kt | ministryofjustice | 725,638,590 | false | {"Kotlin": 174766, "Dockerfile": 1365} | package uk.gov.justice.digital.hmpps.incidentreporting.jpa
import jakarta.validation.ValidationException
enum class PrisonerOutcome(
val description: String,
) {
ACCT("ACCT"),
CHARGED_BY_POLICE("Charged by Police"),
CONVICTED("Convicted"),
CORONER_INFORMED("Coroner Informed"),
DEATH("Death"),
SEEN_DUTY_... | 2 | Kotlin | 0 | 0 | c51f79bbbd179e93d82afb221543546acbe5ac7a | 1,586 | hmpps-incident-reporting-api | MIT License |
module/bookmark/src/main/java/com/onevn/browser/bookmark/repository/HideMenuRepository.kt | 1-vn | 186,006,245 | true | {"Kotlin": 2104535, "Java": 697833, "HTML": 44658, "CSS": 4743, "JavaScript": 3209} | /*
* Copyright (C) 2017-2019 DiepDT
*
* 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... | 0 | Kotlin | 0 | 0 | 50d5221a959da6b35c492db02ec4d46d3dd6850a | 930 | OneVNBrowser | Apache License 2.0 |
lib/src/main/java/com/herb2sy/lib/net/HRequest.kt | HerbLee | 192,110,217 | false | {"Gradle": 3, "Java Properties": 3, "XML": 57, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 2, "Proguard": 1, "Java": 7, "Kotlin": 17} | package com.herb2sy.lib.net
class HRequest {
val _params: MutableMap<String, String> = mutableMapOf() // used for a POST or PUT request.
val _fileParams: MutableMap<String, String> = mutableMapOf() // used for a POST or PUT request.
val _headers: MutableMap<String, String> = mutableMapOf()
var params... | 1 | null | 1 | 1 | fb64658ddce19219236e2177e9d6da46fe6d65a3 | 1,132 | kotlin_android | Apache License 2.0 |
extensions/core-kotlin-dsl/src/main/kotlin/com/jashmore/sqs/core/kotlin/dsl/processor/CoreMessageProcessorDslBuilder.kt | JaidenAshmore | 143,943,773 | false | {"Java": 1352339, "Kotlin": 189362, "Shell": 69} | package com.jashmore.sqs.core.kotlin.dsl.processor
import com.fasterxml.jackson.databind.ObjectMapper
import com.jashmore.sqs.QueueProperties
import com.jashmore.sqs.argument.ArgumentResolverService
import com.jashmore.sqs.argument.CoreArgumentResolverService
import com.jashmore.sqs.core.kotlin.dsl.ArgumentResolverSer... | 28 | Java | 12 | 46 | 87d6e9e3dae674d8434bfe9bef8666b0429ad8bf | 2,866 | java-dynamic-sqs-listener | MIT License |
jooq-postgresql-json/src/main/kotlin/com/github/t9t/jooq/json/jsonb/JsonbDSL.kt | t9t | 196,727,538 | false | {"Markdown": 2, "Shell": 2, "Maven POM": 3, "Text": 1, "Ignore List": 1, "Java": 27, "Kotlin": 5, "SQL": 1} | /**
* Operators (such as `objectAtPath`) are defined as extension functions, while PostgreSQL functions (such as
* `arrayLength`) are defined as "normal" functions with the goal to make it looks like "actual" SQL).
*/
package com.github.t9t.jooq.json.jsonb
import com.github.t9t.jooq.json.JsonbDSL
import org.jetbrai... | 6 | Java | 10 | 56 | 01b8f36599e23524236e938c8be55669af074a04 | 4,701 | jooq-postgresql-json | Apache License 2.0 |
addressbook-tabulator/src/jsMain/kotlin/com/example/ListPanel.kt | rjaros | 120,836,416 | false | {"Kotlin": 598816, "JavaScript": 48811, "HTML": 16559, "CSS": 5251, "Procfile": 3775, "Handlebars": 402} | package com.example
import io.kvision.core.AlignItems
import io.kvision.core.Container
import io.kvision.core.FlexWrap
import io.kvision.core.JustifyContent
import io.kvision.core.onEvent
import io.kvision.form.check.radioGroup
import io.kvision.form.text.TextInputType
import io.kvision.form.text.text
import io.kvisio... | 1 | Kotlin | 39 | 170 | e7c17726e359528cc91698232e92891d1eb71227 | 4,044 | kvision-examples | MIT License |
app/src/main/kotlin/com/madness/collision/main/UnitBarPage.kt | cliuff | 231,891,447 | false | null | /*
* 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 wr... | 25 | null | 8 | 183 | f867bdc8a51f5f119b9fe77070bda756b049cc28 | 8,989 | boundo | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.