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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kotlin-gradle-extensions/src/main/kotlin/com/rickbusarow/kgx/kgp.kt | rickbusarow | 684,172,148 | false | {"Kotlin": 314329, "Shell": 4127} | /*
* Copyright (C) 2024 <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 ... | 12 | Kotlin | 0 | 6 | f7fdf973ef95828c19810d9f311575d8d77133db | 6,102 | kotlin-gradle-extensions | Apache License 2.0 |
app/src/main/java/com/example/notifyme/MainActivity.kt | Scottchiang90 | 310,649,943 | false | null | package com.example.notifyme
import android.app.AlarmManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.method.ScrollingMovementMethod
import android.vi... | 0 | Kotlin | 0 | 0 | 832638eb4ea3ca323fbd6bbbc0a36a2339f3e8fe | 4,335 | NotifyMe | MIT License |
src/commonMain/kotlin/common/helpers/PathBuilder.kt | Rinat-Suleimanov | 649,406,285 | false | null | package common.helpers
abstract class PathBuilder(val parent: PathBuilder? = null, val relativePath: String) {
fun Path(relPath: String) = object: PathBuilder(this, relPath) {
}
override fun toString(): String {
val sb = StringBuilder()
if (parent != null) {
sb.append(parent)
... | 0 | Kotlin | 0 | 0 | 376a0c95f0caea87075d119095a0eaae0c9e39ee | 427 | game-assets | Apache License 2.0 |
app/src/main/java/project/dheeraj/showtime/ui/SplashScreenActivity.kt | akp2609 | 551,974,640 | false | {"Kotlin": 87659} | package project.dheeraj.showtime.ui
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import project.dheeraj.showtime.R
import project.dheeraj.showtime.ui.... | 0 | Kotlin | 0 | 0 | e932433dfb15cb44b657fa14964ac9acfbc37109 | 713 | ShowTime | MIT License |
app/src/main/java/de/stefanmedack/ccctv/ui/details/VideoDetailsFragment.kt | cfirmo33 | 98,419,053 | true | {"Kotlin": 94946} | /*
* Copyright (C) 2017 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 applicable ... | 0 | Kotlin | 0 | 0 | 2f00a7c36b61972a3aa6c866dbeffe9c3b0e1a4b | 7,532 | cccTV | Apache License 2.0 |
base/src/main/java/com/fastaac/base/pagestate/EmptyCallback.kt | Borninthesun | 266,958,012 | true | {"Kotlin": 24456} | package com.fastaac.base.pagestate
import com.fastaac.base.R
import com.kingja.loadsir.callback.Callback
/**
* author : wutao
* e-mail : 670831931@qq.com
* time : 2019/05/17
* desc :
* version: 1.0
*/
class EmptyCallback : Callback() {
override fun onCreateView(): Int {
return R.layout.layout_em... | 0 | null | 0 | 0 | c5320b278adfb1cd0186857e934b7200d6722231 | 331 | FastAAC | Apache License 2.0 |
src/main/kotlin/com/zenasoft/ami/controller/model/InfoExtractorRequest.kt | czyczk | 695,836,956 | false | {"Kotlin": 73106} | package com.zenasoft.ami.controller.model
import kotlinx.serialization.Serializable
@Serializable
class InfoExtractorRequest {
lateinit var url: String
lateinit var query: String
} | 0 | Kotlin | 0 | 1 | d63ba96858cdc27dea1e9fd49baa5cb0a086fb04 | 193 | auto-music-info-server | Apache License 2.0 |
app/src/main/java/com/example/graduation/base/ParentDialogFragment.kt | PanicLess-2023 | 628,118,517 | false | null | package com.example.graduation.base
import android.content.DialogInterface
import android.os.Bundle
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.Window
import androidx.core.content.res.ResourcesCompat
import androidx.fragment.... | 0 | Kotlin | 0 | 0 | c6c8e69421f441e48b5869e98dea804ffe31183a | 2,969 | Panicless | MIT License |
feature/auth/src/androidMain/kotlin/org/michaelbel/movies/auth/AuthNavigation.kt | michaelbel | 115,437,864 | false | {"Kotlin": 789552, "Java": 9757, "Swift": 342, "Shell": 235} | package org.michaelbel.movies.auth
import androidx.compose.ui.window.DialogProperties
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.dialog
import org.michaelbel.movies.auth.ui.AuthRoute
fun NavController.navigateToAuth() {
navigate(AuthDesti... | 11 | Kotlin | 34 | 225 | dbe7a15efd0394207ef90b267ae4316dcd3cb58c | 634 | movies | Apache License 2.0 |
gd-map-compose/src/main/java/com/melody/map/gd_compose/adapter/ComposeInfoWindowAdapter.kt | TheMelody | 543,049,561 | false | {"Kotlin": 1503767} | // MIT License
//
// Copyright (c) 2022 被风吹过的夏天
//
// 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, mer... | 2 | Kotlin | 5 | 60 | 8a867728136bdb97f156ce57381437864c196382 | 5,001 | OmniMap-Compose | MIT License |
src/test/java/no/nav/fo/veilarbregistrering/bruker/krr/KrrClientTest.kt | navikt | 131,013,336 | false | null | package no.nav.fo.veilarbregistrering.bruker.krr
import no.nav.fo.veilarbregistrering.FileToJson.toJson
import org.assertj.core.api.Assertions.*
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.Test
import java.lang.RuntimeException
import kotlin.test.assertNotNull
class KrrClientTest... | 13 | Kotlin | 4 | 4 | a103f2b269a494d99f5f61fbc5b8505221c8f1f0 | 1,155 | veilarbregistrering | MIT License |
src/maia/ml/dataset/primitive/error/UnsupportedRepresentationError.kt | waikato-maia | 387,326,639 | false | null | package maia.ml.dataset.primitive.error
import maia.ml.dataset.type.DataRepresentation
/**
* TODO
*/
class UnsupportedRepresentationError(
representation: DataRepresentation<*, *, *>
): Exception(
"Primitive datasets don't support the $representation representational type"
)
| 0 | Kotlin | 0 | 0 | b1faa44a06ce10fe4a73d42885966607649b2134 | 288 | maia-primitive | Apache License 2.0 |
save-demo/src/main/kotlin/com/saveourtool/save/demo/runners/command/CommandBuilder.kt | saveourtool | 300,279,336 | false | {"Kotlin": 3416213, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366} | package com.saveourtool.save.demo.runners.command
import org.apache.commons.text.StringSubstitutor
import org.springframework.stereotype.Component
/**
* Component to build a command line
*/
@Component
class CommandBuilder {
/**
* @param templateCommand
* @param commandContext
* @return command li... | 198 | Kotlin | 3 | 38 | 7501e3ebe799cb0471d9b2e66df7e5089cba199b | 867 | save-cloud | MIT License |
tasks/src/jvmMain/kotlin/app/tivi/tasks/TasksPlatformComponent.kt | ra0926 | 646,050,051 | false | null | /*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 0 | 4 | e780a4c48545d5198290e4f79e5b0fda28f30d40 | 991 | CelebrationMessage | Apache License 2.0 |
Retail-app/android/app/src/main/java/com/wekanmdb/storeinventory/model/product/Products.kt | realm | 422,284,529 | false | {"Kotlin": 966534, "Swift": 867269, "Objective-C": 232478, "TypeScript": 75527, "JavaScript": 32651, "HTML": 2365, "Ruby": 2276, "Less": 31} | package com.wekanmdb.storeinventory.model.product
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
import org.bson.types.ObjectId
open class Products(
@PrimaryKey var _id: ObjectId = ObjectId(),
var _partition: String = "",
var description: String? = null,
var brand: ... | 0 | Kotlin | 1 | 8 | e57077e2c26a75db4e80dd40909f12dca4a431e0 | 548 | realm-sync-demos | Apache License 2.0 |
src/main/kotlin/com/yangga/kopringrestapiboilerplate/common/error/exception/ApiException.kt | yangga | 692,578,157 | false | {"Kotlin": 63382, "Shell": 273} | package com.yangga.kopringrestapiboilerplate.common.error.exception
import com.yangga.kopringrestapiboilerplate.common.error.enums.ErrorCode
open class ApiException(val code: ErrorCode, message: String?, val data: Any?) : Throwable(message) {
companion object {
fun of(code: ErrorCode, message: String? = ... | 0 | Kotlin | 0 | 0 | 52f95908f0da71c33b05f1a27362d2c519c9cb14 | 550 | kopring-restapi-boilerplate | MIT License |
src/main/kotlin/io/imulab/connect/Request.kt | imulab | 181,234,721 | false | null | package io.imulab.connect
import io.imulab.connect.client.Client
import io.imulab.connect.client.GrantType
import io.imulab.connect.client.NothingClient
import io.imulab.connect.client.ResponseType
import java.time.LocalDateTime
import java.util.*
/**
* Common interface for authorize request and token request.
*/
i... | 1 | Kotlin | 0 | 0 | 8983abc537212b822abe6565cc92f0a4f3678b81 | 16,361 | connect-sdk | MIT License |
comvvmhelper/src/main/java/com/kk/android/comvvmhelper/extension/ActivityExtensions.kt | chenlong0525 | 309,290,111 | true | {"Kotlin": 132728} | package com.kk.android.comvvmhelper.extension
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import androidx.fragment.app.FragmentActivity
/**
* @author kuky.
* @description
*/
fun FragmentActivity.normalWindow() {
window?.decorView?.systemUiV... | 0 | null | 0 | 0 | 0c545b11bb8ffb15d17616855f1846a8969b804f | 1,891 | CoMvvmHelper | MIT License |
common-jvm/src/main/java/org/ergoplatform/utils/UiUtils.kt | ergoplatform | 376,102,125 | false | null | package org.ergoplatform.utils
import org.ergoplatform.TokenAmount
import org.ergoplatform.WalletStateSyncManager
import org.ergoplatform.uilogic.STRING_FORMAT_FIAT
import org.ergoplatform.uilogic.STRING_LABEL_ERG_AMOUNT
import org.ergoplatform.uilogic.StringProvider
import java.math.BigDecimal
import java.math.Roundi... | 20 | null | 35 | 94 | b5f6e5176cf780a7437eb3c8447820bd9409c8ac | 2,132 | ergo-wallet-app | Apache License 2.0 |
app/src/main/java/co/tami/basketball/team/data/source/LoginDataSourceImpl.kt | Hydratant | 747,542,242 | false | {"Kotlin": 21076} | package co.tami.basketball.team.data
import com.google.firebase.auth.AuthResult
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
import kotlinx.coroutines.CancellableContinuation
import kotlinx.coroutines.suspendCancellableCoroutine
import timber.log.Timber
import kotlin.corout... | 2 | Kotlin | 0 | 0 | 208427a81756a91f634b6440c00a35f791d0d83a | 1,285 | team | Apache License 2.0 |
service/src/main/kotlin/io/provenance/explorer/grpc/v1/MarkerGrpcClient.kt | provenance-io | 332,035,574 | false | null | package io.provenance.explorer.grpc.v1
import io.grpc.ManagedChannelBuilder
import io.provenance.explorer.config.interceptor.GrpcLoggingInterceptor
import io.provenance.explorer.grpc.extensions.getPagination
import io.provenance.explorer.grpc.extensions.toMarker
import io.provenance.marker.v1.Balance
import io.provena... | 16 | null | 2 | 4 | f90c3b406561965b8ce08359d703a9ad5a54a928 | 3,316 | explorer-service | Apache License 2.0 |
src/main/kotlin/gg/scala/aware/conversation/ConversationContinuation.kt | GrowlyX | 467,297,067 | false | {"Kotlin": 36771} | package gg.scala.aware.conversation
/**
* Continuation context
* for a conversation.
*
* @author GrowlyX
* @since 3/9/2022
*/
enum class ConversationContinuation
{
CONTINUE, END
}
| 0 | Kotlin | 1 | 8 | c41894537db8f7a56f80060150405f5da806fe26 | 191 | aware | MIT License |
vico/core/src/main/java/com/patrykandpatrick/vico/core/common/MutableMeasuringContext.kt | patrykandpatrick | 338,848,755 | false | {"Kotlin": 680666, "CSS": 166} | /*
* Copyright 2024 by Patryk Goworowski and Patrick Michalik.
*
* 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 ... | 12 | Kotlin | 130 | 2,132 | 7066e4bf88cdd1e4c57e1ab03d10354e5f640928 | 1,271 | vico | Apache License 2.0 |
demo/desktop/src/jvmMain/kotlin/main.kt | Qawaz | 605,951,742 | false | null | import androidx.compose.material.MaterialTheme
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import com.wakaztahir.common.DisplayWebView
fun main() = application {
Window(onCloseRequest = ::exitApplication) {
MaterialTheme {
DisplayWebView()
}
... | 0 | Kotlin | 0 | 0 | 46568363ff182771c31ee7e8ffb9de7684028af1 | 326 | webview-compose | MIT License |
src/main/kotlin/com/vladonemo/tools/dependencycollector/input/maven/MavenDependency.kt | vladonemo | 326,962,329 | false | null | package com.vladonemo.tools.dependencycollector.input.maven
import com.vladonemo.tools.dependencycollector.input.Dependency
class MavenDependency() : Dependency() {
lateinit var scope: String
companion object {
infix fun fromString(id: String): MavenDependency {
val splits = id.trimStart... | 0 | Kotlin | 1 | 1 | cb2c3063916d2f4e1146ee34b869d57fb7db1730 | 550 | dependency-list | MIT License |
ZMain/ImkGithubApp/src/main/java/net/imknown/imkgithub/mvp/BaseMvpPresenterActivity.kt | imknown | 98,404,658 | false | null | package net.imknown.imkgithub.mvp
import android.widget.Toast
import net.imknown.imkgithub.global.BaseActivity
import javax.inject.Inject
abstract class BaseMvpPresenterActivity<MvpView : IMvpView, MvpPresenter : IMvpPresenter<MvpView>> :
BaseActivity(),
IMvpView {
@Inject
protected lateinit var mPre... | 0 | Kotlin | 0 | 3 | 4c6b88eaf7b3cc3cfb68bed6a952a284fdae1ac0 | 656 | ImkGithub | Apache License 2.0 |
data/core/src/main/java/com/gnoemes/shimori/data/core/entities/titles/ranobe/RanobeWithTrack.kt | gnoemes | 213,210,354 | false | {"Kotlin": 788446, "Shell": 2974} | package com.gnoemes.shimori.data.core.entities.titles.ranobe
import com.gnoemes.shimori.data.core.entities.PaginatedEntity
import com.gnoemes.shimori.data.core.entities.TitleWithTrack
import com.gnoemes.shimori.data.core.entities.track.Track
import com.gnoemes.shimori.data.core.entities.track.TrackTargetType
@kotlinx... | 0 | Kotlin | 1 | 31 | 7bf5caccb92d3c789ecd3f1c8a6d3a7eeb4d408b | 612 | Shimori | Apache License 2.0 |
test-common/src/main/kotlin/ArrowTestEx.kt | navikt | 227,366,088 | false | {"Kotlin": 9808901, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209} | package no.nav.su.se.bakover.test
import arrow.core.Either
import arrow.core.getOrElse
import io.kotest.assertions.fail
import org.checkerframework.checker.units.qual.C
fun <A, B> Either<A, B>.getOrFail(msg: String): B {
return getOrElse { fail("Message: $msg, Error: $it") }
}
fun <A, B> Either<A, B>.getOrFail()... | 2 | Kotlin | 1 | 1 | 1fad47d00b8bf746c7770652fdbb21b91ab0766e | 494 | su-se-bakover | MIT License |
packages/core/src/main/java/com/openmobilehub/android/maps/core/utils/location/ContinuousLocationService.kt | openmobilehub | 742,498,878 | false | {"Kotlin": 1027038, "Java": 38535, "Shell": 1124} | package com.openmobilehub.android.maps.core.utils.location
import android.Manifest
import android.location.Location
import android.location.LocationListener
import android.location.LocationManager
import androidx.annotation.RequiresPermission
import com.openmobilehub.android.maps.core.presentation.models.OmhCoordinate... | 0 | Kotlin | 0 | 1 | 922578f1166e8e49de891107848287df8be96787 | 4,020 | android-omh-maps | Apache License 2.0 |
app/src/main/java/vn/loitp/app/activity/demo/fragmentflow/FrmFlow1.kt | tplloi | 126,578,283 | false | null | package vn.loitp.app.activity.demo.fragmentflow
import android.os.Bundle
import android.view.View
import com.annotation.LogTag
import kotlinx.android.synthetic.main.frm_demo_flow_1.*
import vn.loitp.app.R
@LogTag("FrmFlow1")
class FrmFlow1 : FrmFlowBase() {
override fun setLayoutResourceId(): Int {
retur... | 0 | Kotlin | 0 | 6 | 4fe4c945e89819d77aaf6cb76f1de6bbff7868a5 | 974 | basemaster | Apache License 2.0 |
application/src/main/kotlin/dev/hypest/pis/restaurants/adapter/out/event/OrderRejectedEventProducer.kt | PIS22Z | 557,250,063 | false | {"Kotlin": 118874, "Groovy": 79090, "Dockerfile": 145} | package dev.hypest.pis.restaurants.adapter.out.event
import dev.hypest.pis.common.eventaggregator.DomainEvent
import dev.hypest.pis.common.eventaggregator.EventProducer
import dev.hypest.pis.configuration.RabbitmqConfig.Companion.ORDER_REJECTED
import io.micronaut.rabbitmq.annotation.Binding
import io.micronaut.rabbit... | 0 | Kotlin | 0 | 0 | a5eab87108f49a6355362682b94b7c49d5dd421b | 495 | backend | MIT License |
vclib-openid/src/commonMain/kotlin/at/asitplus/wallet/lib/oidc/AuthenticationRequest.kt | a-sit-plus | 602,578,639 | false | null | package at.asitplus.wallet.lib.oidc
import at.asitplus.wallet.lib.oidvci.decodeFromUrlQuery
import at.asitplus.wallet.lib.oidvci.encodeToParameters
import io.ktor.http.URLBuilder
import io.ktor.http.Url
import io.ktor.util.flattenEntries
/**
* Container for a OIDC Authentication Request
*/
data class Authentication... | 2 | Kotlin | 0 | 2 | 4c445138f0921740777467c90ec35acad351c791 | 1,260 | kmm-vc-library | Apache License 2.0 |
src/main/kotlin/com/imoonday/skill/DoubleJumpSkill.kt | iMoonDay | 759,188,611 | false | {"Kotlin": 382822, "Java": 57048} | package com.imoonday.skill
import com.imoonday.util.SkillType
import com.imoonday.util.UseResult
import com.imoonday.util.send
import com.imoonday.util.spawnParticles
import net.minecraft.network.packet.s2c.play.EntityVelocityUpdateS2CPacket
import net.minecraft.particle.ParticleTypes
import net.minecraft.server.netwo... | 0 | Kotlin | 0 | 0 | bdccadd1cdfaeaf551ce38cb82b5ec536eff30f9 | 1,021 | AdvancedSkills | Creative Commons Zero v1.0 Universal |
backend/src/main/kotlin/ntnu/idatt2105/core/exception/handler/MethodArgumentInvalidHandler.kt | olros | 366,615,349 | false | null | package ntnu.idatt2105.core.exception.handler
import ntnu.idatt2105.core.response.ResponseError
import org.springframework.core.annotation.Order
import org.springframework.http.HttpStatus
import org.springframework.web.bind.MethodArgumentNotValidException
import org.springframework.web.bind.annotation.ExceptionHandler... | 0 | Kotlin | 3 | 2 | a2fa5bbca5a9db67f12733301b952807d66e673f | 2,649 | Rombestilling | MIT License |
app/src/main/java/com/concordium/wallet/ui/airdrop/AirdropActivity.kt | Concordium | 750,205,274 | false | {"Kotlin": 1674268, "Java": 68714, "HTML": 53707, "CSS": 256} | package com.concordium.wallet.ui.airdrop
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.text.*
import android.text.method.LinkMovementMethod
import android.text.style.ClickableSpan
import android.util.Base64
import android.view.View
import android.widget.TextView
import an... | 20 | Kotlin | 0 | 1 | 8f6c0019e2edf22900fbe480b3fa39996fefa2dc | 8,763 | cryptox-android | Apache License 2.0 |
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/abstracts/ReplyingMarkupSendMessageRequest.kt | InsanusMokrassar | 163,152,024 | false | null | package dev.inmo.tgbotapi.requests.send.abstracts
import dev.inmo.tgbotapi.CommonAbstracts.types.ReplyMarkup
interface ReplyingMarkupSendMessageRequest<T: Any>: SendMessageRequest<T>, ReplyMarkup | 9 | Kotlin | 10 | 99 | 8206aefbb661db936d4078a8ef7cc9cecb5384e4 | 197 | TelegramBotAPI | Apache License 2.0 |
src/main/kotlin/com/blog/configurationproperties/ConfigurationPropertiesApplication.kt | BalazsAtWork | 160,158,772 | false | null | package com.blog.configurationproperties
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class ConfigurationPropertiesApplication
fun main(args: Array<String>) {
runApplication<ConfigurationPropertiesApplication>(*args)
}
| 0 | Kotlin | 0 | 0 | 673a8f834ce67afd9fb62cb6d10031bda91a5efb | 319 | blog-springboot-confprop-cglibproxy-kotlin | Apache License 2.0 |
presentation/src/main/java/com/easycashwallet/tasks/ec/config/PresentationModule.kt | ibrahimelgales | 725,755,251 | false | {"Kotlin": 80151} | package com.easycashwallet.tasks.ec.config
import com.easycashwallet.tasks.ec.di.ManagersModule
import com.easycashwallet.tasks.ec.di.MappersModule
import com.easycashwallet.tasks.ec.di.ViewModelsModule
import com.easycashwallet.tasks.utils.extention.lazyModule
import org.koin.dsl.module
val PresentationModule by laz... | 0 | Kotlin | 0 | 0 | 56fc753814377c998263617c039493e450fb2b18 | 393 | EC | Apache License 2.0 |
stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/composer/attachment/picker/factory/system/internal/AttachmentsPickerSystemFragment.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2024 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-chat-android/blob/main/LICENSE
*
* Unless required by a... | 28 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 8,782 | stream-chat-android | FSF All Permissive License |
src/main/kotlin/no/nav/syfo/dinesykmeldte/model/Pasient.kt | navikt | 322,575,632 | false | {"Kotlin": 108227, "Dockerfile": 277} | package no.nav.syfo.dinesykmeldte.model
data class Pasient(
val fnr: String,
val navn: String?,
)
| 0 | Kotlin | 0 | 0 | c244d8d60d126a95e34be5859caf13a7b8e2291e | 107 | sykmeldinger-arbeidsgiver | MIT License |
app/src/main/java/teka/android/organiks_platform_android/domain/authentication/models/AuthResponse.kt | samAricha | 649,253,035 | false | {"Kotlin": 593778} | package teka.android.organiks_platform_android.domain.authentication.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class AuthResponse(
val isSuccessful: Boolean,
val message: String?,
val data: AuthData
)
@Serializable
data class AuthData(
... | 0 | Kotlin | 0 | 4 | 16d6c6787ebf18046b6ee8ef2c4ac3692d5e73e4 | 637 | Organiks-Platform-Android | MIT License |
app/src/main/java/com/kyagamy/step/room/repos/LevelRepository.kt | rovivi | 262,239,890 | false | {"Kotlin": 187381, "Java": 97322, "Lua": 26067} | package com.kyagamy.step.room.repos
import androidx.lifecycle.LiveData
import com.kyagamy.step.room.entities.Level
import com.kyagamy.step.room.entities.LevelDao
class LevelRepository(private val levelDao: LevelDao) {
// Room executes all queries on a separate thread.
// Observed LiveData will notify the obse... | 0 | Kotlin | 0 | 0 | 18e200d2f7f58349455a35b819b921c32adab853 | 671 | Stepdroid2 | MIT License |
src/main/kotlin/com/rutilicus/uisetlist/controller/MovieController.kt | rutilicus | 231,705,129 | false | null | package com.rutilicus.uisetlist.controller
import com.rutilicus.uisetlist.Commons
import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.util.UriComponentsBuilder
@Controlle... | 4 | Kotlin | 1 | 1 | d3a8e7ea33baaed77003448b1a10090f597e0a80 | 531 | uisetlist | Apache License 2.0 |
pandora/src/main/java/com/lodz/android/pandora/utils/coroutines/CoroutinesAction.kt | LZ9 | 137,967,291 | false | {"Kotlin": 2174504} | package com.lodz.android.pandora.utils.coroutines
import android.content.Context
import androidx.appcompat.app.AlertDialog
import com.lodz.android.corekt.anko.getMetaData
import com.lodz.android.corekt.anko.runOnMainCatch
import com.lodz.android.corekt.log.PrintLog
import com.lodz.android.pandora.action.ApiAction
impo... | 0 | Kotlin | 3 | 11 | adc8471785a694ac7b49565465419f8f3b0664f3 | 5,136 | AgileDevKt | Apache License 2.0 |
android/src/com/wvv/spinebrowser/AndroidLauncher.kt | WVVxm | 741,269,283 | false | {"Kotlin": 22347} | package com.wvv.spinebrowser
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.os.Environment
import android.p... | 0 | Kotlin | 0 | 0 | 2e689f36ddf31e4a536c9b5907c5046049ea3a35 | 4,736 | SpineBrowser | Apache License 2.0 |
currencyconverter/src/main/java/com/skillsoft/currencyconverter/HelpPage.kt | dellius-alexander | 538,427,626 | false | null | package com.skillsoft.currencyconverter
import android.os.Bundle
import androidx.drawerlayout.widget.DrawerLayout
import kotlinx.android.synthetic.main.activity_help_page.*
class HelpPage : NavigationPane() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | 13a9a2b5f0163d1ac412aa5dfd483907d79f32bb | 615 | android_projects | MIT License |
currencyconverter/src/main/java/com/skillsoft/currencyconverter/HelpPage.kt | dellius-alexander | 538,427,626 | false | null | package com.skillsoft.currencyconverter
import android.os.Bundle
import androidx.drawerlayout.widget.DrawerLayout
import kotlinx.android.synthetic.main.activity_help_page.*
class HelpPage : NavigationPane() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | 13a9a2b5f0163d1ac412aa5dfd483907d79f32bb | 615 | android_projects | MIT License |
src/main/kotlin/jp/assasans/araumi/tx/server/ecs/components/item/MountedItemComponent.kt | AraumiTX | 604,259,602 | false | null | package jp.assasans.araumi.tx.server.ecs.components.item
import jp.assasans.araumi.tx.server.ecs.components.IComponent
import jp.assasans.araumi.tx.server.protocol.ProtocolId
@ProtocolId(1434531840401)
class MountedItemComponent : IComponent | 0 | Kotlin | 2 | 3 | 6adc36adc5f7d83c965143f5d3108f6d6ceaf186 | 243 | game-server | MIT License |
runtime/src/main/java/com/instana/android/core/util/RateLimiter.kt | instana | 81,942,955 | false | {"Kotlin": 551437, "Shell": 184} | /*
* (c) Copyright IBM Corp. 2021
* (c) Copyright Instana Inc. and contributors 2021
*/
package com.instana.android.core.util
internal class RateLimiter(
private val maxPerFiveMinutes: Int,
private val maxPerTenSeconds: Int
) {
private var lastFiveMinuteCount = 0
private var lastTenSecondsCount = 0... | 0 | Kotlin | 4 | 19 | 97970b54be5e496cf2448f81db7d369ac7f40a12 | 1,052 | android-agent | MIT License |
database/src/main/kotlin/com/lightteam/modpeide/database/utils/Tables.kt | VickyBOSS | 268,764,088 | true | {"Kotlin": 572011, "HTML": 11571} | /*
* Licensed to the Light Team Software (Light Team) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The Light Team licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... | 0 | null | 0 | 0 | 16c12bed2d116ec7ba8bb6ece8bf2a62dee03d32 | 1,083 | ModPE-IDE | Apache License 2.0 |
sms/src/main/java/com/beeper/sms/database/models/ChatThread.kt | raymand211092 | 610,818,444 | false | null | package com.beeper.sms.database.models
import com.beeper.sms.BuildConfig
import com.beeper.sms.commands.TimeMillis
import com.beeper.sms.provider.ContactRow
data class ChatThread(
var threadId: String,
var recipientIds: String,
var snippet: String,
var members: Map<String,ContactRow>,
var timestam... | 0 | Kotlin | 0 | 0 | d667c9c4376ab1e4564ccdfd5d579124f14d5cf7 | 1,019 | android-sms | Apache License 2.0 |
app/src/main/java/com/mgpersia/androidbox/adapter/CategoryItemAdapter.kt | mahsak01 | 596,924,815 | false | null | package com.mgpersia.androidbox.adapter
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.GradientDrawable
import android.os.Build
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widge... | 0 | Kotlin | 0 | 0 | 1fb772d72e14e9e05a72f9988c0c42b14773f608 | 4,749 | ArianaFilm | The Unlicense |
src/org/frice/game/obj/effects/Effects.kt | Ggz91 | 68,453,376 | true | {"Kotlin": 75598, "HTML": 6189, "Java": 656, "Batchfile": 141} | package org.frice.game.obj.effects
import org.frice.game.obj.AbstractObject
import org.frice.game.obj.sub.ImageObject
import org.frice.game.resource.graphics.ColorResource
import org.frice.game.resource.graphics.FunctionResource
import org.frice.game.resource.graphics.ParticleResource
import org.frice.game.resource.im... | 0 | Kotlin | 0 | 0 | 0f5df0de7de70f51e3d0b46a477440e3a155242d | 2,645 | FriceEngine | Apache License 2.0 |
app/src/main/java/com/example/e_commerce/ui/viewmodels/main/ChangePasswordViewModel.kt | elvinhuseynli | 796,391,504 | false | {"Kotlin": 149716, "HTML": 14038, "Java": 7013} | package com.example.e_commerce.ui.viewmodels.main
import android.app.Activity
import androidx.lifecycle.viewModelScope
import com.example.e_commerce.R
import com.example.e_commerce.core_utils.MviViewModel
import com.example.e_commerce.domain.usecases.main.UpdatePasswordUseCase
import com.example.e_commerce.ui.intents.... | 0 | Kotlin | 0 | 0 | 91f9bb7dcf113867547a317c2adb09c1d96af3e1 | 2,976 | Ecommerce | MIT License |
app/src/main/java/com/rokoblak/chatbackup/domain/usecases/RetrieveContactUseCase.kt | oblakr24 | 598,672,859 | false | {"Kotlin": 257266} | package com.rokoblak.chatbackup.domain.usecases
import com.rokoblak.chatbackup.AppConstants
import com.rokoblak.chatbackup.ui.commonui.PreviewDataUtils.obfuscate
import com.rokoblak.chatbackup.data.model.Contact
import com.rokoblak.chatbackup.data.repo.ContactsRepository
import javax.inject.Inject
class RetrieveConta... | 0 | Kotlin | 0 | 2 | 60828f3173fdc0cd6b5f9e8b797f5e08c50dea24 | 983 | chat-backup-app | Apache License 2.0 |
src/test/kotlin/net/dinkla/raytracer/colors/ColorTest.kt | jdinkla | 38,753,756 | false | null | package net.dinkla.raytracer.colors
import net.dinkla.raytracer.colors.Color.Companion.fromInt
import net.dinkla.raytracer.colors.Color.Companion.fromString
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.*
internal class ColorTest {
@Test
fun plus() {
assertEquals(Color(0.... | 0 | Kotlin | 0 | 3 | a765bcf12251e6f1d9b85c3b7e9bbc730902a2e7 | 2,523 | from-the-ground-up-ray-tracer | Apache License 2.0 |
core-parent/core/src/main/java/love/forte/simbot/core/SimbotApp.kt | wdcodecn | 369,478,140 | true | {"Kotlin": 1111734, "Java": 206366} | /*
*
* * Copyright (c) 2020. ForteScarlet All rights reserved.
* * Project simple-robot
* * File MiraiAvatar.kt
* *
* * You can contact the author through the following channels:
* * github https://github.com/ForteScarlet
* * gitee https://gitee.com/ForteScarlet
* * email <EMAIL>
* * QQ 11... | 0 | null | 0 | 0 | a88b601a757367427321ca8df91d66bbbaafbe37 | 20,107 | simpler-robot | Apache License 2.0 |
src/main/kotlin/kr/heartpattern/spikot/config/TransformConfigProperty.kt | Spikot | 129,165,327 | false | null | /*
* Copyright 2020 Spikot project 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 ... | 0 | Kotlin | 3 | 11 | a44e2c9ad3203f3ea1bbf65ae9ef53f6f6283d77 | 1,658 | SpikotLegacy | Apache License 2.0 |
app/src/androidTest/java/com/gmail/uia059466/liska/screen/ListsScreen.kt | serhiq | 374,399,892 | false | null | package com.gmail.uia059466.liska.screen
import androidx.annotation.StringRes
import androidx.recyclerview.widget.RecyclerView
import androidx.test.espresso.Espresso
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.Espresso.openActionBarOverflowOrOptionsMenu
import androidx.test.espresso.act... | 0 | Kotlin | 0 | 0 | 5f830c9bd3aea467ac31449f383506e56990400a | 3,836 | LiskaDev | Apache License 2.0 |
src/main/kotlin/miragefairy2024/mod/placeditem/PlacedItemModule.kt | MirageFairy | 721,291,232 | false | {"Kotlin": 662780, "Java": 13872, "Shell": 751} | package miragefairy2024.mod.placeditem
import miragefairy2024.ModContext
context(ModContext)
fun initPlacedItemModule() {
initPlacedItemBlock()
}
| 0 | Kotlin | 1 | 1 | 2802dfd7285ca4eac558f2e8cb3cbe52a0dc8abc | 152 | MirageFairy2024 | Apache License 2.0 |
src/main/kotlin/typical90/032.kt | kirimin | 197,707,422 | false | null | package typical90
import java.util.*
fun main(args: Array<String>) {
val sc = Scanner(System.`in`)
val n = sc.nextInt()
val a = (0 until n).map { (0 until n).map { sc.next().toInt() } }
val m = sc.nextInt()
val xy = (0 until m).map { sc.next().toInt() to sc.next().toInt() }
println(problem032(... | 0 | Kotlin | 1 | 5 | c6e31eb2fb5b73456bdfac07b2528d401c6c884a | 1,843 | AtCoderLog | The Unlicense |
core/theme/src/main/kotlin/xyz/stylianosgakis/shape/android/core/theme/Color.kt | StylianosGakis | 600,573,917 | false | null | package xyz.stylianosgakis.shape.android.core.theme
import androidx.compose.ui.graphics.Color
// https://www.canva.com/colors/color-wheel/ with #6C947F and 2 Analogous colors, #7F6C94 and #947F6C.
// https://m3.material.io/theme-builder#/custom with #0080FF, #0000FF, #00FFFF, the colors gotten from canva
@Suppress("u... | 0 | Kotlin | 0 | 0 | b7542a43a1107ecefa265695f6c673218c133cd3 | 2,797 | shape | Apache License 2.0 |
src/main/kotlin/io/github/nocomment1105/bedtime/database/Database.kt | NoComment1105 | 525,183,635 | false | {"Kotlin": 29426} | /*
* Copyright (c) 2022 NoComment1105 <<EMAIL>>
*
* This file is part of Bedtime.
*
* Licensed under the MIT license. For more information,
* please see the LICENSE file
*/
package io.github.nocomment1105.bedtime.database
import com.mongodb.ConnectionString
import com.mongodb.MongoClientSettings
import io.gith... | 0 | Kotlin | 0 | 2 | 7db4434f059a48d34edab18e591836e553d13c78 | 1,057 | Bedtime | MIT License |
2024/FireShell/ContainerM/src/jsMain/kotlin/HtmlUtils.kt | kyoya-p | 253,926,918 | false | {"Kotlin": 936789, "JavaScript": 85088, "HTML": 66635, "TypeScript": 55667, "Java": 30207, "C++": 29172, "CMake": 20891, "Dart": 14886, "Shell": 7841, "Batchfile": 6227, "CSS": 6205, "Dockerfile": 4906, "C": 3042, "Swift": 1622, "PowerShell": 234, "Objective-C": 78} | import kotlinx.browser.document
import kotlinx.html.INPUT
import kotlinx.html.TagConsumer
import kotlinx.html.id
import kotlinx.html.input
import kotlinx.html.js.onChangeFunction
import org.w3c.dom.Element
import kotlin.reflect.KProperty
class Cookie(val key: String, val default: String) {
fun cookies() = document... | 16 | Kotlin | 0 | 2 | 1b0c90f02ecf5907eabbdd2e4f5f49e6d27d204e | 1,163 | samples | Apache License 2.0 |
lib/src/main/kotlin/discord/kt/annotations/InstallCommands.kt | stijndcl | 369,295,782 | false | null | package discord.kt.annotations
import discord.kt.commands.Command
import kotlin.reflect.KClass
@Target(AnnotationTarget.CLASS)
@Repeatable
annotation class InstallCommands(vararg val commands: KClass<out Command>) | 4 | Kotlin | 0 | 0 | bde60351060264d239123b376e9593635c8ce2d6 | 215 | discord-kt | MIT License |
common-ui/src/main/java/com/drawiin/common_ui/composables/DrawerLayout.kt | Drawiin | 404,929,005 | false | null | package com.drawiin.common_ui.composables
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layo... | 1 | Kotlin | 0 | 0 | 62b6a87276bb517b43f8aa4c6e4f103aebf0e2a8 | 3,239 | FunFit | MIT License |
app/src/main/java/com/srg/citibox/common/di/dagger_activity/ActivityComponent.kt | sebrodgar | 233,223,889 | false | null | package com.srg.citibox.common.di.dagger_activity
import com.srg.citibox.post_detail.ui.PostDetailActivity
import com.srg.citibox.post_list.ui.PostListActivity
import dagger.Subcomponent
/**
* Created by Sebastián Rodríguez on 13,January,2020
*/
@Subcomponent(modules = [ActivityModule::class])
interface ActivityCo... | 0 | Kotlin | 0 | 0 | d5e4c74d9564a8dae7e3406775687f42acaecb81 | 439 | candidate-test-citibox | Apache License 2.0 |
app/src/main/java/com/dreamsoftware/melodiqtv/ui/validation/SignUpValidationMessagesResolverImpl.kt | sergio11 | 201,446,449 | false | {"Kotlin": 556766} | package com.dreamsoftware.melodiqtv.ui.validation
import android.content.Context
import com.dreamsoftware.melodiqtv.R
import com.dreamsoftware.melodiqtv.domain.validation.ISignUpValidationMessagesResolver
class SignUpValidationMessagesResolverImpl(private val context: Context) :
ISignUpValidationMessagesResolver ... | 0 | Kotlin | 0 | 1 | ad82e5cf46929cfb1c30608c89e717929939a8d2 | 698 | melodiqtv_android | MIT License |
feature/samples/file-browser/src/main/kotlin/top/chengdongqing/weui/feature/samples/filebrowser/filelist/FileListItem.kt | chengdongqing | 782,566,304 | false | {"Kotlin": 894390} | package top.chengdongqing.weui.feature.samples.filebrowser.filelist
import android.graphics.BitmapFactory
import android.net.Uri
import androidx.compose.foundation.Image
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout... | 0 | Kotlin | 3 | 8 | eb773e75aacb801cb24adb41db9fe17224eb883a | 8,142 | WeUI | Apache License 2.0 |
app/src/main/java/com/example/digimoncards/ui/notifications/NotificationsFragment.kt | rcdavis | 626,141,621 | false | null | package com.example.digimoncards.ui.notifications
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.example.digimoncards.databinding.FragmentNotificationsBinding
import org.koin.androidx.viewmodel.ext.andr... | 0 | Kotlin | 0 | 0 | 3f030e6424712ba0812335edfca82f0236de113a | 885 | DigimonCards-Android | MIT License |
compiler/frontend/src/org/jetbrains/kotlin/resolve/diagnostics/PrecomputedSuppressCache.kt | google | 219,902,853 | true | null | /*
* 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.resolve.diagnostics
import com.intellij.psi.PsiElement
import org.jetbrains.kotl... | 0 | Kotlin | 46 | 124 | 445156f2fc18640d8f7f26068d08bbb9e03c4290 | 4,643 | kotlin | Apache License 2.0 |
frontend/statemachine/src/main/kotlin/statemachine/States.kt | 85vmh | 543,628,296 | false | {"Kotlin": 956103, "C++": 75148, "Java": 7157, "Makefile": 2742, "HTML": 419, "Shell": 398, "CSS": 108} | package statemachine
import ru.nsk.kstatemachine.DefaultState
object States {
object MachineStarted : DefaultState("Green")
object MachineInEStop : DefaultState("Green")
object MachineNotOn : DefaultState("Green")
object MachineNotHomed : DefaultState("Green")
object MachineHoming : DefaultState("... | 0 | Kotlin | 1 | 3 | 5cf42426895ba8691c9b53ba1b97c274bbdabc07 | 536 | mindovercnclathe | Apache License 2.0 |
app/src/main/java/com/hercan/harrypotterinfoapp/network/datasource/potterdb/PotterDBDataSource.kt | hanifeercan | 678,372,571 | false | {"Kotlin": 85260} | package com.hercan.harrypotterinfoapp.network.datasource.potterdb
import com.hercan.harrypotterinfoapp.network.model.potion.PotionDetailModel
import com.hercan.harrypotterinfoapp.network.model.potion.PotionModel
import com.hercan.harrypotterinfoapp.network.model.spell.SpellDetailModel
import com.hercan.harrypotterinfo... | 0 | Kotlin | 0 | 1 | 3b57a21492b5ca9d94d8b441d931febe9aa7a4b5 | 674 | HarryPotterInfoApp | MIT License |
src/test/kotlin/generator/model/utils/DataClassWithNotRequiredStringParameterWithMinMaxLen.kt | OKGenTool | 766,121,849 | false | {"Kotlin": 122205} | package generator.model.utils
import datamodel.Component
import datamodel.ComponentProperty
import datamodel.DataType
val dataClassWithNotRequiredStringParameterWithMinMaxLen = Component(
schemaName = "#/components/schemas/DataClassWithNotRequiredStringParameterWithMinMaxLen",
parameters = listOf(
Com... | 25 | Kotlin | 0 | 2 | a50ca78edfb22cb5e88a5251a62611f4f9fbaad9 | 788 | okgentool | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/HeaderAlignment.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: HeaderAlignment
*
* Full name: System`HeaderAlignment
*
* Usage: HeaderAlignment is an option ... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,091 | mathemagika | Apache License 2.0 |
app/src/main/java/com/mohfahmi/moneytracker/ui/on_boarding/screen_two/ScreenTwoFragment.kt | MohFahmi27 | 474,054,024 | false | null | package com.mohfahmi.moneytracker.ui.on_boarding.screen_two
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.mohfahmi.moneytracker.R
class ScreenTwoFragment : Fragment() {
override fun onCreateView(... | 1 | Kotlin | 0 | 4 | ed1517544a5e30167da22220819bab99a42b52fe | 516 | anak-kost-money-tracker | MIT License |
Common/src/main/java/at/petrak/hexcasting/common/casting/operators/math/OpFloor.kt | floatonfire | 566,158,079 | true | {"Java Properties": 2, "Groovy": 1, "Text": 3, "Gradle": 5, "Shell": 1, "Markdown": 2, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 1, "Kotlin": 183, "Java": 293, "JSON": 988, "GLSL": 1, "YAML": 1, "HTML": 1, "Python": 1, "INI": 3, "TOML": 1} | package at.petrak.hexcasting.common.casting.operators.math
import at.petrak.hexcasting.api.spell.ConstMediaAction
import at.petrak.hexcasting.api.spell.aplKinnie
import at.petrak.hexcasting.api.spell.casting.CastingContext
import at.petrak.hexcasting.api.spell.getNumOrVec
import at.petrak.hexcasting.api.spell.iota.Iot... | 0 | null | 0 | 0 | 03dd09c6decefd357bc206666f0eb49b107c619f | 611 | hexmod-fork | MIT License |
plugins/kotlin/refactorings/kotlin.refactorings.introduce.k2/src/org/jetbrains/kotlin/idea/k2/refactoring/introduce/introduceVariable/KotlinIntroduceVariableServiceK2Impl.kt | sprigogin | 93,194,179 | false | {"Text": 9376, "INI": 516, "YAML": 419, "Ant Build System": 11, "Batchfile": 33, "Dockerfile": 10, "Shell": 633, "Markdown": 744, "Ignore List": 143, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7826, "SVG": 4416, "Kotlin": 58363, "Java": 83686, "HTML": 3782, "Java Properties": 220, "Gradle... | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.k2.refactoring.introduce.introduceVariable
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
... | 1 | null | 1 | 1 | f1b733c79fd134e6646f28d1dc99af144c942785 | 4,411 | intellij-community | Apache License 2.0 |
app/src/main/java/com/abh80/smartedge/flashalert/db/AppSelectorDao.kt | atifkhandeveloper | 665,493,042 | false | {"Java": 323075, "Kotlin": 68101, "JavaScript": 3143} | package com.abh80.smartedge.flashalert.db
import androidx.room.*
import com.abh80.smartedge.flashalert.poko.AppItem
@Dao
interface AppSelectorDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insertApp(item: AppItem)
// @Update
// fun updateApp(item: AppItem)
// @Query("UPDATE appitem SET... | 1 | null | 1 | 1 | 99b9e8945c03bd357fc2f4b6ee2679e9768ee692 | 812 | Edge-Notification | MIT License |
android/common-ui/src/main/java/any/ui/common/lazy/ScrollToTopFab.kt | dokar3 | 572,488,513 | false | null | package any.ui.common.lazy
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.ExitTransition
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.scaleIn
import androidx.compose.animation.scale... | 11 | Kotlin | 0 | 9 | ca38d70740515c699ed5f79daced8b0d7687ae12 | 3,786 | any | Apache License 2.0 |
app/src/main/java/dev/vladimirj/login/di/AppModule.kt | VladimirWrites | 393,602,658 | false | null | package dev.vladimirj.login.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import dev.vladimirj.base.ui.CoroutineDispatcherProvider
import dev.vladimirj.login.LoginNavigatorImpl
import dev.vladimirj.login.ui.LoginNavigator
import kotlinx.cor... | 0 | Kotlin | 0 | 3 | b363e2965e18c182136e59e24de4da285ce17e7b | 748 | LoginExample | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/modules/algosdk/domain/model/dto/AssetConfigParametersDTO.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 1,079 | pera-wallet | Apache License 2.0 |
android/src/main/kotlin/uk/co/objectivity/beacon_monitoring/plugin/receiver/BluetoothStateReceiver.kt | VinniciusJesus | 442,466,273 | false | {"Swift": 77863, "Kotlin": 76055, "Dart": 13707, "Ruby": 2323, "Objective-C": 38} | // Copyright (c) 2020 Objectivity. All rights reserved.
// Use of this source code is governed by The MIT License (MIT) that can be
// found in the LICENSE file.
package uk.co.objectivity.beacon_monitoring.plugin.receiver
import android.bluetooth.BluetoothAdapter
import android.content.BroadcastReceiver
import androi... | 0 | Swift | 0 | 0 | 361b91e4084851dc015663788a21051e9eb3a314 | 1,300 | beacon_monitoring | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/CongruentTo.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | 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 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,353 | compose-icon-collections | MIT License |
Android/BLUR/presentation/src/main/java/com/blur/blur/presentation/main/RegisterProduct/RegisterProductScreen.kt | kim-do-hyeon | 752,461,840 | false | {"Kotlin": 365399, "Swift": 75215, "Python": 66512, "JavaScript": 41759, "CSS": 6957, "HTML": 2674, "Shell": 176} | package com.blur.blur.presentation.Main.RegisterProduct
import android.content.Intent
import android.widget.Toast
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize... | 0 | Kotlin | 2 | 6 | f350b6d1bc1a7630cb787107713ed47f50a7e84b | 5,816 | 2024-jj-capstone-design | MIT License |
base/src/main/java/com/wsg/base/common/CommonExt.kt | wushaoge | 299,235,402 | false | null | package com.wsg.base.common
import com.google.gson.Gson
/**
* ================================================
* 作 者:wushaoge
* 版 本:1.0
* 创建日期:2020-07-14 14:38
* 描 述:扩展类
* 修订历史:
* ================================================
*/
/**
* 转换String
*/
fun Any?.toJsonString(): String {
return Gs... | 0 | Kotlin | 16 | 53 | d5c8722ecc013f17ae8a7d0419abb6daec8c7def | 457 | WsgMvvm | Apache License 2.0 |
cola-worker/src/native-test/kotlin/io/colability/ExampleResourceIT.kt | colability | 668,018,364 | false | null | /*
* Copyright 2023 Colability
*
* 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... | 0 | Kotlin | 0 | 0 | be9f6590b1a5b8a4c89eb3dfe97c5ae15f8046a6 | 739 | cola-server | Apache License 2.0 |
example-speech-recognition/src/main/java/com/dailystudio/tflite/example/speech/recognition/fragment/SpeechRecognitionFragment.kt | dailystudio | 267,263,865 | false | null | package com.dailystudio.tflite.example.speech.recognition.fragment
import android.content.res.AssetManager
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.dailystudio.devbricksx.audio.AudioConfig
import com.dailystudio.devbricksx.audio.Audio... | 1 | Kotlin | 6 | 17 | 62910b05ff88b6817d75082a5b93d26c2289c43e | 7,253 | tensorflow-lite-examples-android | Apache License 2.0 |
replica-core/src/jvmTest/kotlin/me/aartikov/replica/single/settings/StaleTimeTest.kt | aartikov | 438,253,231 | false | {"HTML": 3233987, "Kotlin": 685239, "CSS": 29063, "JavaScript": 19875} | package me.aartikov.replica.single.settings
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.delay
import kotlinx.coroutines.test.runCurrent
import kotlinx.coroutines.test.runTest
import me.aartikov.replica.single.ReplicaSettings
import me.aartikov.replica.single.currentState
import me.aar... | 0 | HTML | 1 | 33 | dc55d0cb727b6854224ceb8b1a1d0d87c7faaddf | 3,019 | Replica | MIT License |
app/src/main/java/com/elhady/movies/ui/seeAll/SeeAllMediaUiEvent.kt | islamelhady | 301,591,032 | false | {"Kotlin": 400229} | package com.elhady.movies.ui.seeAll
sealed interface SeeAllMediaUiEvent {
data class ClickMovieEvent(val mediaId: Int): SeeAllMediaUiEvent
data class ClickSeriesEvent(val mediaId: Int): SeeAllMediaUiEvent
data class ShowSnackBar(val message: String): SeeAllMediaUiEvent
} | 1 | Kotlin | 0 | 0 | 9c732fa8b96c2b4f618bc425e968ac56d0e5529e | 284 | movie-night-v2 | Apache License 2.0 |
src/main/kotlin/org/madisonbikes/bikeweek/LocationWriter.kt | madisonbikes | 291,119,897 | false | {"HTML": 34218, "Kotlin": 23583} | package org.madisonbikes.bikeweek
import okio.BufferedSink
import org.supercsv.io.CsvMapWriter
import org.supercsv.prefs.CsvPreference
import java.io.OutputStreamWriter
class LocationWriter(
private val locationsSink: BufferedSink,
private val events: List<Event>,
private val day: EventDay,
private va... | 0 | HTML | 0 | 0 | 04150c3d1392846c31c622c11d30d933c667a840 | 1,831 | bikeweek2020 | Apache License 2.0 |
library/src/test/java/kwasm/format/binary/module/MemorySectionTest.kt | jasonwyatt | 226,777,898 | false | null | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 4 | WebAssembly | 3 | 25 | 3c17988daaa8f37d654ee29428a37b330b3532ad | 1,679 | KWasm | Apache License 2.0 |
backend/rest-api/src/test/kotlin/at/sensatech/openfastlane/api/EntitlementsApiTest.kt | sensatech | 724,093,399 | false | {"Kotlin": 442921, "Dart": 408727, "HTML": 5563, "FreeMarker": 2659, "Dockerfile": 946, "Shell": 554} | package at.sensatech.openfastlane.api
import at.sensatech.openfastlane.api.entitlements.EntitlementsApi
import at.sensatech.openfastlane.api.testcommons.field
import at.sensatech.openfastlane.common.newId
import at.sensatech.openfastlane.documents.FileResult
import at.sensatech.openfastlane.domain.cosumptions.Consumpt... | 0 | Kotlin | 1 | 1 | f80421a9db7a2b3b4fee71ebc9724789623d74bd | 18,754 | openfastlane | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Arrowright.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.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
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,346 | VuesaxIcons | MIT License |
app/src/androidTest/java/com/guru/cocktails/di/component/ApplicationMockComponent.kt | morristech | 143,734,527 | false | null | package com.guru.cocktails.di.component
import com.guru.cocktails.di.module.ApplicationMockModule
import com.guru.cocktails.di.module.InteractorMockModule
import dagger.Component
import javax.inject.Singleton
@Singleton
@Component(
modules = arrayOf(
ApplicationMockModule::class,
InteractorMockMod... | 0 | Kotlin | 0 | 0 | f3feac05ebb51a7a30c2d37ccf76f4269da92f07 | 401 | client-android | MIT License |
feature/main/src/main/java/kr/pe/ssun/template/feature/main/search/SearchPagingDataAdapter.kt | SunChulBaek | 799,219,689 | false | {"Kotlin": 62209} | package kr.pe.ssun.template.feature.main.search
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.findViewTreeLifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.DiffUtil
i... | 0 | Kotlin | 0 | 0 | 3876154aad7a585bbab08f6e420cdb8d478a806f | 4,060 | KakaoBank | Apache License 2.0 |
api/src/main/java/dev/doubledot/doki/api/remote/DokiApiService.kt | doubledotlabs | 174,850,580 | false | null | package dev.doubledot.doki.api.remote
import dev.doubledot.doki.api.extensions.DONT_KILL_MY_APP_BASE_ENDPOINT
import dev.doubledot.doki.api.models.DokiManufacturer
import io.reactivex.Observable
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonCon... | 11 | null | 15 | 161 | 4bed979c7db295af263f0f97f75d0d3a429513ff | 965 | doki | MIT License |
Framework/src/main/kotlin/net/milosvasic/factory/security/Permissions.kt | Server-Factory | 326,063,014 | true | {"Kotlin": 470923, "Shell": 188} | package net.milosvasic.factory.security
import net.milosvasic.factory.common.obtain.Obtain
data class Permissions(
var user: Permission,
var group: Permission,
var others: Permission
) : Obtain<String> {
@Throws(IllegalArgumentException::class)
override fun obtain(): String {
... | 0 | Kotlin | 0 | 1 | 7c9a48ac22541c01d56cb7ed404348f9dbcf6d6d | 517 | Core-Framework | Apache License 2.0 |
src/main/kotlin/algorithms/DeBruijnGraphFromKmers.kt | jimandreas | 377,843,697 | false | null | @file:Suppress("unused")
package algorithms
/**
* from a [d] list of kmer strings,
* produce a map of kmer to kmer connections
*
* Example:
val input = listOf(
"GAGG",
"CAGG",
"GGGG",
"GGGA",
"CAGG",
"AGGG",
"GGAG"
)
output: (as a map of string to list of strings)
AGG -> GGG
CAG -> AGG,AGG
GAG -> AGG
GGA -> ... | 0 | Kotlin | 0 | 0 | fa92b10ceca125dbe47e8961fa50242d33b2bb34 | 1,780 | stepikBioinformaticsCourse | Apache License 2.0 |
notifications/src/test/java/io/karte/android/notifications/integration/TokenEventTest.kt | plaidev | 208,185,127 | false | null | //
// Copyright 2020 PLAID, 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 1 | Kotlin | 4 | 2 | 649b5eda74c47c6d8209a37cef5f6a2a9bef176b | 3,854 | karte-android-sdk | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.