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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ospf-kotlin-core-plugin/ospf-kotlin-core-plugin-heuristic/src/main/fuookami/ospf/kotlin/core/backend/plugins/heuristic/ga/MutationOperation.kt | fuookami | 359,831,793 | false | {"Kotlin": 2440181, "Python": 6629} | package fuookami.ospf.kotlin.core.backend.plugins.heuristic.ga
import fuookami.ospf.kotlin.utils.math.*
import fuookami.ospf.kotlin.utils.math.ordinary.*
import fuookami.ospf.kotlin.utils.operator.*
import fuookami.ospf.kotlin.utils.functional.*
import fuookami.ospf.kotlin.core.frontend.model.callback.*
import kotlin.... | 0 | Kotlin | 0 | 4 | b34cda509b31884e6a15d77f00a6134d001868de | 3,070 | ospf-kotlin | Apache License 2.0 |
src/test/kotlin/com/flash/interview/messaging/sensitive_words_service/adapters/in/controllers/MessagingControllerTest.kt | Ntuks | 877,815,476 | false | {"Kotlin": 42553, "Dockerfile": 757, "Shell": 725} | package com.flash.interview.messaging.sensitive_words_service.adapters.`in`.controllers
import com.fasterxml.jackson.databind.ObjectMapper
import com.flash.interview.messaging.sensitive_words_service.adapters.`in`.dtos.*
import com.flash.interview.messaging.sensitive_words_service.domain.application.SensitiveWordServ... | 0 | Kotlin | 0 | 0 | a5056f18d50739bbeaa063c6f08a2a10edf543b2 | 6,500 | sensitive-words-service | MIT License |
java-agent/src/nativeMain/kotlin/com/epam/drill/agent/Config.kt | Drill4J | 240,284,351 | false | null | /**
* Copyright 2020 - 2022 EPAM Systems
*
* 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 agree... | 1 | Kotlin | 1 | 6 | 09e64956d74fece85c7ff33470ed3b138e0721b2 | 1,295 | java-agent | Apache License 2.0 |
kotlin-common/src/main/java/com/zhouhaoo/common/extensions/ActivityExt.kt | zhouhaoo | 110,637,983 | false | null | /*
* Copyright (c) 2018 zhouhaoo
*
* 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 ... | 1 | null | 1 | 10 | 73c95dd5032c0d7b91a9bacd9db03cebf5afc118 | 2,087 | kotlin-common | Apache License 2.0 |
lib/src/test/java/com/what3words/androidwrapper/VoiceBuilderWithCoordinatesTests.kt | what3words | 201,899,599 | false | null | package com.what3words.androidwrapper
import android.media.AudioFormat
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.core.util.Consumer
import com.google.common.truth.Truth.assertThat
import com.google.gson.Gson
import com.what3words.androidwrapper.voice.Microphone
import com.what3... | 1 | Kotlin | 2 | 1 | 95ab9c58149bff97acb4ae2aa7900489e245b133 | 13,156 | w3w-android-wrapper | MIT License |
src/main/kotlin/Utils.kt | fscarponi | 578,734,253 | false | {"Kotlin": 28665} | import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import org.litote.kmongo.util.KMongoUtil
import java.math.BigInteger
import java.security.MessageDigest
import java.util.regex.Pattern
fun String.prependIfMissing(prep: String) = if (startsWith(prep)) this else prep + this
fun environ... | 0 | Kotlin | 0 | 0 | 13f91b08bf419582ce06b8347020862cc0f7a4d0 | 1,448 | bepractice | MIT License |
app/src/main/java/com/maskjs/korona_zakupy/ui/register/part2/RegisterPart2Fragment.kt | Vek0n | 253,303,463 | false | null | package com.maskjs.korona_zakupy.ui.register.part2
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.addCallback
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.Observer
import... | 0 | Kotlin | 0 | 0 | 732c1cdb41a86ad33f5c61485a38cf4efa7a0f91 | 3,648 | Korona-Zakupy-Android-App | MIT License |
app/src/main/java/cn/kaicity/app/iguangke/view/HeaderTitleView.kt | wukaicheng | 282,888,775 | false | null | package cn.kaicity.app.iguangke.view
| 0 | Kotlin | 0 | 0 | 9edd1742d38d56458556b9e10a20616c367b9fba | 38 | iguanke | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFS.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.datasync
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.CfnTag
import io.c... | 1 | Kotlin | 0 | 4 | eb3eef728b34da593a3e55dc423d4f5fa3668e9c | 30,413 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/com/smd/surmaiya/ManagerClasses/FirebaseAuthManager.kt | AhmadHassan71 | 786,394,928 | false | {"Kotlin": 408430, "Java": 347} | package com.smd.surmaiya.ManagerClasses
import android.content.ContentValues
import android.content.Intent
import android.util.Log
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.database.DataSnapshot
import com.google.... | 0 | Kotlin | 0 | 4 | 53bff924bffca89674c39c8ede66b62fb8318f00 | 5,835 | Surmaiya | MIT License |
app/src/main/java/com/dreamsoftware/fitflextv/data/remote/exception/RemoteDataSourceException.kt | sergio11 | 534,529,261 | false | {"Kotlin": 615931} | package com.dreamsoftware.fitflextv.data.remote.exception
open class RemoteDataSourceException(message: String? = null, cause: Throwable? = null): Exception(message, cause)
// Auth Data Source
class AuthRemoteException(message: String? = null, cause: Throwable? = null): RemoteDataSourceException(message, cause)
class... | 0 | Kotlin | 3 | 40 | 4452dcbcf3d4388144a949c65c216de5547c82a6 | 4,705 | fitflextv_android | Apache License 2.0 |
data/src/main/java/com/gamapp/data/data_source/media_store/MediaStoreFetchDataSource.kt | aliHosseinNezhad | 507,626,994 | false | null | package com.gamapp.data.data_source.media_store
import com.gamapp.domain.models.AlbumModel
import com.gamapp.domain.models.ArtistModel
import com.gamapp.domain.models.TrackModel
import kotlinx.coroutines.flow.Flow
interface MediaStoreFetchDataSource {
fun getAllTracks(): Flow<List<TrackModel>>
fun getAllAl... | 0 | Kotlin | 0 | 2 | 8eddbdbcd5706072262ed7bd2cf6b2d0a6df6ada | 684 | DMPlayer_public | MIT License |
server/src/main/kotlin/com/kazakago/cueue/database/entity/WorkspaceEntity.kt | KazaKago | 329,953,173 | false | {"Kotlin": 112293, "Dockerfile": 338} | package com.kazakago.cueue.database.entity
import com.kazakago.cueue.database.table.MenusTable
import com.kazakago.cueue.database.table.RecipesTable
import com.kazakago.cueue.database.table.TagsTable
import com.kazakago.cueue.database.table.UsersTable
import com.kazakago.cueue.database.table.WorkspacesTable
import org... | 7 | Kotlin | 0 | 1 | da6516826ec9d35ac046249bf146b2f8b23c9be7 | 935 | cueue_server | Apache License 2.0 |
app/src/main/java/net/lll0/app/util/SingletonDemo.kt | aalj | 152,862,620 | false | null | package net.lll0.app.util
/**
* Created by liangjun on 2018/11/5
*
*/
class SingletonDemo private constructor() {
companion object {
// var instance: SingletonDemo? = null
// get() {
// if (field == null) {
// field = SingletonDemo()
// }
// ... | 1 | null | 1 | 1 | b09dc08534390b6609dadf73ebe76f8dcd03ad5c | 607 | ApplicationModel | Apache License 2.0 |
app/src/main/java/com/raheemjnr/jr_music/media/MediaPlaybackPreparer.kt | RaheemJnr | 489,742,823 | false | {"Kotlin": 153287} | package com.raheemjnr.jr_music.media
import android.net.Uri
import android.os.Bundle
import android.os.ResultReceiver
import android.support.v4.media.MediaMetadataCompat
import android.support.v4.media.session.PlaybackStateCompat
import android.util.Log
import com.google.android.exoplayer2.Player
import com.google.and... | 0 | Kotlin | 0 | 0 | 43a64f07137c6b3be5b5a381c31ee9a6a57a7be5 | 3,603 | Jr-Music-Player | MIT License |
core/src/jvmMain/kotlin/zakadabar/stack/backend/data/builtin/account/AccountPrivateDao.kt | kondorj | 355,137,640 | true | {"Kotlin": 577495, "HTML": 828, "JavaScript": 820, "Shell": 253} | /*
* Copyright © 2020, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package zakadabar.stack.backend.data.builtin.account
import org.jetbrains.exposed.dao.LongEntity
import org.jetbrains.exposed.dao.LongEntityClass
import org.jetbrains.exposed.dao.id.EntityID
import zakad... | 0 | null | 0 | 0 | 2379c0fb031f04a230e753a9afad6bd260f6a0b2 | 1,865 | zakadabar-stack | Apache License 2.0 |
modules/kilua-bootstrap/src/commonMain/kotlin/dev/kilua/panel/Accordion.kt | rjaros | 706,876,956 | false | null | /*
* Copyright (c) 2023 <NAME>
*
* 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, publish, dis... | 3 | null | 5 | 97 | 524a35c898fe84fa1773b53bf97e701cdc00155b | 5,899 | kilua | MIT License |
app/src/main/java/com/example/gifter_single_module/profile/profile_add_edit/use_case/validation/ValidateNamedayDateUseCase.kt | chrming | 490,583,267 | false | null | package com.example.gifter_single_module.profile.profile_add_edit.use_case.validation
import com.example.gifter_single_module.profile.util.MaxChars
import com.example.gifter_single_module.util.TextError
class ValidateNamedayDateUseCase {
operator fun invoke(date: String): TextError {
if (date.isBlank()) {... | 0 | Kotlin | 0 | 0 | 1937d14a8eb35df1e750ed9fee128879dfd80781 | 925 | GifterSingleModule | BSD Source Code Attribution |
src/main/kotlin/dev/shtanko/algorithms/leetcode/AllPossibleFullBinaryTrees.kt | ashtanko | 203,993,092 | false | {"Kotlin": 5931500, "Shell": 1168, "Makefile": 917} | /*
* Copyright 2023 <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... | 6 | Kotlin | 0 | 19 | 63877ed36cb5395797d4aad5e2d282b7c91a4174 | 4,126 | kotlab | Apache License 2.0 |
mobile/src/main/java/com/podcreep/app/service/MediaServiceClient.kt | podcreep | 131,102,789 | false | null | package com.podcreep.app.service
import android.content.ComponentName
import android.content.Context
import android.support.v4.media.MediaBrowserCompat
import android.support.v4.media.MediaMetadataCompat
import android.support.v4.media.session.MediaControllerCompat
import android.support.v4.media.session.PlaybackState... | 0 | Kotlin | 0 | 0 | a8e48d95500091a5b3a5a4b3877149567d9a53d9 | 4,523 | android | Apache License 2.0 |
kandy-lets-plot/src/main/kotlin/org/jetbrains/kotlinx/kandy/letsplot/layers/context/aes/WithHeight.kt | Kotlin | 502,039,936 | false | {"Kotlin": 1556423} | /*
* Copyright 2020-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.kotlinx.kandy.letsplot.layers.context.aes
import org.jetbrains.kotlinx.dataframe.DataColumn
import org.jetbrains.kotlinx.dataframe.columns.ColumnReference
import org.jetbrains.kotlinx.kand... | 123 | Kotlin | 11 | 522 | 2764bce7e9eec4888fdce71b306631cd4e0a208c | 3,148 | kandy | Apache License 2.0 |
test-suite-kotlin/src/test/kotlin/io/micronaut/docs/inject/intro/Engine.kt | patrickfav | 227,128,310 | true | {"Gradle": 47, "Shell": 6, "AsciiDoc": 212, "Java Properties": 3, "Markdown": 11, "Text": 3, "Ignore List": 1, "Batchfile": 1, "YAML": 6, "XML": 15, "Groovy": 980, "Java": 2496, "INI": 12, "JSON": 7, "Kotlin": 121, "HTML": 6, "SVG": 2, "CSS": 81, "JavaScript": 3} | package io.micronaut.docs.config.builder
// tag::class[]
internal interface Engine { // <1>
val cylinders: Int
fun start(): String
}
// end::class[] | 0 | Java | 0 | 1 | f80cbdd9250bf27fe96003c5360aef09c439ff3f | 157 | micronaut-core | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/SearchLocation.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,015 | icons | MIT License |
app/src/main/java/com/example/gamebuddy/presentation/main/community/CommunityEvent.kt | GameBuddyDevs | 609,491,782 | false | null | package com.example.gamebuddy.presentation.main.community
sealed class CommunityEvent {
object GetPosts: CommunityEvent()
data class LikePost(val postId: String): CommunityEvent()
object OnRemoveHeadFromQueue : CommunityEvent()
}
| 0 | Kotlin | 1 | 3 | 0a767229f5505e6a68e167aece41c10abb282e1b | 247 | GameBuddy-Android | MIT License |
app/src/main/java/br/com/movieapp/search_movie_feature/data/source/MovieSearchRemoteDataSourceImpl.kt | MoisesPJr | 720,060,791 | false | {"Kotlin": 84462} | package br.com.movieapp.search_movie_feature.data.source
import br.com.movieapp.core.paging.MovieSearchPagingSource
import br.com.movieapp.core.remote.MovieService
import br.com.movieapp.core.remote.response.SearchResponse
import br.com.movieapp.search_movie_feature.domain.source.MovieSearchRemoteDataSource
import jav... | 0 | Kotlin | 0 | 0 | 63653720cde369fb8bfe6c5f92a25135de68a885 | 773 | MovieApp | MIT License |
web/src/main/kotlin/no/nav/su/se/bakover/web/routes/person/PersonRoutes.kt | navikt | 227,366,088 | false | {"Kotlin": 8922060, "Shell": 3838, "TSQL": 1233, "Dockerfile": 800} | package no.nav.su.se.bakover.web.routes.person
import arrow.core.Either
import io.ktor.http.HttpStatusCode
import io.ktor.server.application.call
import io.ktor.server.routing.Route
import io.ktor.server.routing.post
import no.nav.su.se.bakover.common.objectMapper
import no.nav.su.se.bakover.domain.Fnr
import no.nav.s... | 9 | Kotlin | 1 | 1 | d7157394e11b5b3c714a420a96211abb0a53ea45 | 6,213 | su-se-bakover | MIT License |
ok-marketplace-api-v2-kmp/src/commonTest/kotlin/SerializationRequestTest.kt | otuskotlin | 462,372,364 | false | null | package ru.otus.otuskotlin.marketplace.api.v1
import ru.otus.otuskotlin.marketplace.api.v1.models.*
import kotlin.test.Test
import kotlin.test.assertContains
import kotlin.test.assertEquals
class SerializationRequestTest {
val createRequest = AdCreateRequest(
ad = AdCreateObject(
title = "Titl... | 0 | Kotlin | 5 | 1 | f0af66ea368c6d0908dc7dc8cd7a22bf6bb73228 | 1,624 | 202202-ok-marketplace | MIT License |
JetStreamCompose/jetstream/src/main/java/com/google/jetstream/presentation/screens/home/HomeScreen.kt | android | 192,011,831 | 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 36 | null | 300 | 826 | 60cbe1b98554e111a5339b1a177f79bf27254c27 | 4,450 | tv-samples | Apache License 2.0 |
designer/src/com/android/tools/idea/uibuilder/property/inspector/ConstraintLayoutFlowInspectorBuilder.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 9,788 | android | Apache License 2.0 |
app/src/main/java/org/phcbest/neteasymusic/base/PAGE_STATE.kt | phcbest | 471,621,513 | false | null | package org.phcbest.neteasymusic.base
enum class PAGE_STATE {
SUCCESS, FAIL
} | 0 | Kotlin | 1 | 2 | d94a834216d24f81ee5e2e35b0c54ef6da8b50af | 82 | KotlinNetEasyMusic | MIT License |
src/main/kotlin/org/jetbrains/advocates/rider/plugins/dotnetwatch/run/DotNetWatchRunConfigurationOptions.kt | maartenba | 418,503,336 | false | {"Kotlin": 36559} | @file:Suppress("UnstableApiUsage")
package org.jetbrains.advocates.rider.plugins.dotnetwatch.run
import com.intellij.execution.configurations.RunConfigurationOptions
import com.intellij.openapi.project.Project
import com.intellij.workspaceModel.ide.WorkspaceModel
import com.jetbrains.rider.projectView.workspace.getPr... | 1 | Kotlin | 4 | 27 | 693c326753a6141bae07dbaf7fe5016727fa1240 | 4,985 | DotNetWatch | MIT License |
src/test/kotlin/com/yaroslavzghoba/utils/UserAuthentication.kt | papagei-service | 855,958,312 | false | {"Kotlin": 137594} | package com.yaroslavzghoba.utils
import com.yaroslavzghoba.model.InputCredentials
import io.ktor.client.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
object AuthUtils {
suspend fun registerUser(
client: HttpClient,
inputCredentials: InputCredentials,
... | 0 | Kotlin | 0 | 0 | fda4a418997b25be36cca73038bad72d7afd09c0 | 862 | backend | MIT License |
libBottomDialog/src/main/java/com/tobery/libbottomdialog/BottomAlertDialog.kt | Tobeyr1 | 520,495,625 | false | null | package com.tobery.libbottomdialog
import android.app.Dialog
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.text.TextUtils
import android.view.*
import android.widget.TextView
import androidx.annotation.StyleRes
import androidx.constraintlayout.widg... | 0 | Kotlin | 0 | 0 | b78ca811b259f6106813ea98d5a35c308c4661a2 | 11,425 | libBottomDialog | Apache License 2.0 |
app/src/main/java/com/example/viewmodel/ui/MainActivity.kt | marosc | 303,947,987 | false | null | package com.example.viewmodel.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.Navigation
import androidx.navigation.ui.NavigationUI
import com.example.viewmodel.R
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
... | 0 | Kotlin | 2 | 1 | bbe58d8974a442a5af53b4e6b60dc35a02216cf0 | 801 | mobv2020.4 | Apache License 2.0 |
src/test/enhetstester/kotlin/no/nav/familie/ks/sak/kjerne/behandling/steg/vedtak/vedtaksperiode/VedtaksperiodeUtilTest.kt | navikt | 533,308,075 | false | {"Kotlin": 2805873, "Shell": 1039, "Dockerfile": 141} | package no.nav.familie.ks.sak.kjerne.behandling.steg.vedtak.vedtaksperiode
import io.mockk.every
import io.mockk.junit5.MockKExtension
import io.mockk.mockk
import no.nav.familie.ks.sak.common.exception.FunksjonellFeil
import no.nav.familie.ks.sak.kjerne.behandling.domene.Behandlingsresultat
import no.nav.familie.ks.s... | 4 | Kotlin | 1 | 2 | f798d3ec05f042b5648ffe04eae645866ca0e24b | 2,692 | familie-ks-sak | MIT License |
app/src/main/java/com/example/android/politicalpreparedness/utils/BindingUtils.kt | tktschool | 369,096,861 | false | {"Java": 299595, "Kotlin": 64025} | package com.example.android.politicalpreparedness.utils
import android.view.View
import android.widget.Button
import android.widget.ImageView
import android.widget.TextView
import androidx.databinding.BindingAdapter
import com.example.android.politicalpreparedness.network.models.Election
import java.text.SimpleDateFor... | 0 | Java | 0 | 0 | 9039035da57c6841b954d60539946b50e46d7a99 | 1,108 | Android-Political-Preparedness | Apache License 2.0 |
executor/invoker/src/commonMain/kotlin/io/github/charlietap/chasm/executor/invoker/instruction/table/TableSetExecutor.kt | CharlieTap | 743,980,037 | false | {"Kotlin": 2039170, "WebAssembly": 45714} | package io.github.charlietap.chasm.executor.invoker.instruction.table
import com.github.michaelbull.result.Result
import io.github.charlietap.chasm.ast.instruction.TableInstruction
import io.github.charlietap.chasm.executor.runtime.Stack
import io.github.charlietap.chasm.executor.runtime.error.InvocationError
import i... | 5 | Kotlin | 3 | 58 | dbb72d7459491e15c2cc61ef6dc346e67eb371f5 | 492 | chasm | Apache License 2.0 |
app/src/main/java/com/example/bookloverfinalapp/app/ui/admin_screens/screen_main_root/FragmentAdminMainRoot.kt | yusuf0405 | 484,801,816 | false | {"Kotlin": 1421124} | package com.example.bookloverfinalapp.app.ui.admin_screens.screen_main_root
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.example.bookloverfinalapp.R
import com.example.bookloverfinalapp.app.utils.exte... | 1 | Kotlin | 1 | 3 | e1ecdb14efbf7a25643ded1319841712f5e12a3b | 1,644 | BookLoverFinalApp | Apache License 1.1 |
ktor-utils/posix/src/io/ktor/util/StackFramesNative.kt | LloydFinch | 166,520,021 | true | {"Kotlin": 2419371, "Lua": 280, "HTML": 112} | package io.ktor.util
@Suppress("UNUSED")
internal actual interface CoroutineStackFrame {
public actual val callerFrame: CoroutineStackFrame?
public actual fun getStackTraceElement(): StackTraceElement?
}
@Suppress("ACTUAL_WITHOUT_EXPECT")
internal actual typealias StackTraceElement = Any
| 0 | Kotlin | 0 | 2 | 9b9fc6c3b853c929a806c65cf6bf7c104b4c07fc | 299 | ktor | Apache License 2.0 |
domain/src/desktopMain/kotlin/ireader/domain/utils/extensions/withUIContext.kt | kazemcodes | 540,829,865 | true | {"Kotlin": 2179459} | package ireader.domain.utils.extensions
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
actual suspend fun <T> withUIContext(block: suspend CoroutineScope.() -> T){
withContext(Dispatchers.Default, block)
}
| 0 | Kotlin | 0 | 6 | b6b2414fa002cec2aa0d199871fcfb4c2e190a8f | 282 | IReader | Apache License 2.0 |
sdk/src/integrationTest/kotlin/com/kss/zoom/sdk/UsersTest.kt | Kotlin-server-squad | 710,163,911 | false | {"Kotlin": 92527} | package com.kss.zoom.sdk
import com.kss.zoom.sdk.users.IUsers
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
class UsersTest : ZoomTestBase() {
private lateinit var users: IUsers
@BeforeEach
fun setUp() {
users = users()
}
@Test
fun `should load`() {
... | 6 | Kotlin | 0 | 1 | d9e9d8680448da04d6679f0b63dd31fe918f1806 | 323 | zoomsdk | MIT License |
scalechain-proto-codec/src/main/kotlin/io/scalechain/blockchain/proto/codec/primitive/FixedByteBufCodec.kt | ScaleChain | 45,332,311 | false | null | package io.scalechain.blockchain.proto.codec.primitive
import io.netty.buffer.ByteBuf
import io.scalechain.blockchain.proto.codec.Codec
import io.scalechain.blockchain.proto.codec.CodecInputOutputStream
import io.scalechain.io.InputOutputStream
class FixedByteBufCodec(val length : Int) : Codec<ByteBuf> {
override... | 11 | Kotlin | 67 | 234 | e39b789928256b75c18acee847ccc2c2dc2dec5a | 443 | scalechain | Intel Open Source License |
kohii-core/src/main/java/kohii/v1/core/Playback.kt | loicsiret | 232,360,662 | true | {"Kotlin": 565036, "Java": 28428, "Prolog": 2839} | /*
* Copyright (c) 2019 <NAME>, <EMAIL>
*
* 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... | 0 | null | 0 | 0 | 96bfe46afb739302403fdbf4922d47ba12481e07 | 15,689 | kohii | Apache License 2.0 |
src/main/java/com/tang/intellij/lua/editor/completion/LuaStringArgHistoryProvider.kt | Benjamin-Dobell | 231,814,734 | false | null | /*
* Copyright (c) 2017. tangzx(<EMAIL>)
*
* 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 agree... | 61 | Kotlin | 9 | 83 | 68b0a63d3ddd5bc7be9ed304534b601fedcc8319 | 2,283 | IntelliJ-Luanalysis | Apache License 2.0 |
src/main/kotlin/me/chill/embed/types/InputEventEmbeds.kt | woojiahao | 145,920,296 | false | null | package me.chill.embed.types
import me.chill.framework.Command
import me.chill.json.help.findCommand
import me.chill.json.help.syntax
import me.chill.settings.red
import me.chill.settings.shock
import me.chill.utility.embed
fun invalidArgumentsEmbed(serverPrefix: String, command: Command, errMsg: String) =
embed {
... | 10 | null | 12 | 19 | f55e6dc4897096b40c77580b5a4f3417ca563b34 | 1,386 | Taiga | MIT License |
library/src/main/java/io/github/mayconcardoso/boilerplate/generator/templates/presentation/manifest/AndroidManifestTemplate.kt | MayconCardoso | 224,556,754 | false | null | package io.github.mayconcardoso.boilerplate.generator.templates.presentation.manifest
import io.github.mayconcardoso.boilerplate.generator.generators.feature.context.FeatureContext
import io.github.mayconcardoso.boilerplate.generator.core.generator.blankLine
import io.github.mayconcardoso.boilerplate.generator.core.ge... | 1 | Kotlin | 2 | 19 | 9c2b2ad6b34892d1c0b349ccd63a69fe935f57dd | 1,907 | ArchitectureBoilerplateGenerator | Apache License 2.0 |
library/springboot/springboot/src/test/kotlin/de/lise/fluxflow/springboot/activation/parameter/ValueTestBeanConfiguration.kt | lisegmbh | 740,936,659 | false | {"Kotlin": 732955} | package de.lise.fluxflow.springboot.activation.parameter
import org.mockito.kotlin.doReturn
import org.mockito.kotlin.mock
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import java.time.Clock
import java.time.Instant
import java.time.LocalDate
import jav... | 20 | Kotlin | 0 | 7 | 03a99c536434660fc2cde3df9e220991ff487599 | 677 | fluxflow | Apache License 2.0 |
app/src/main/java/com/example/friendupp/MainActivity.kt | adampalkowski | 650,671,766 | false | null | package com.example.friendupp
import android.content.ContentValues
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import android.os.Looper
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.re... | 0 | Kotlin | 0 | 0 | 21a401dd1845a4a6ba83508ab13311a368c75f22 | 9,401 | FriendUpp | MIT License |
src/main/kotlin/io/github/guttenbase/mapping/ColumnTypeResolver.kt | guttenbase | 644,774,036 | false | null | package io.github.guttenbase.mapping
import io.github.guttenbase.meta.ColumnMetaData
import io.github.guttenbase.meta.ColumnType
/**
* Map column types to Java types. Every data base has its own special types which have to be mapped to standard types somehow.
*
* © 2012-2034 akquinet tech@spree
*
*
* @aut... | 0 | null | 0 | 1 | 48219dbf4e970248a5467f5b52988fea34c6b4e4 | 489 | guttenbase | Apache License 2.0 |
feature/search/src/main/java/st/slex/csplashscreen/feature/search/ui/SearchViewModel.kt | stslex | 413,161,718 | false | null | package st.slex.csplashscreen.feature.search.ui
import androidx.lifecycle.viewModelScope
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import st.slex.csplashscreen.core.navigation.navigator.Navigator
import st.slex.csplashscreen.core.navigation.AppArguments
import s... | 2 | Kotlin | 0 | 3 | 60a9a26b597d8d8a3a7749b1506bd7230f04cb06 | 2,564 | CSplashScreen | Apache License 2.0 |
app/src/main/java/com/md/demo/MyApplication.kt | mohitdholakia | 351,308,121 | false | null | package com.md.demo
import android.app.Application
import com.md.demo.injection.module.localDataSourceModule
import com.md.demo.injection.module.remoteDatasourceModule
import com.md.demo.injection.module.repositoryModule
import com.md.demo.injection.module.viewModelModule
import org.koin.android.ext.android.startKoin
... | 0 | Kotlin | 0 | 0 | a0dd141a353c49e2dae785c2ccd941155d52f1d1 | 745 | MVVM-Kotlin | Apache License 2.0 |
katarina-statistics/src/main/kotlin/com/hubtwork/katarina/statistics/matcherapi/service/SoloRankService.kt | adsad100 | 339,934,054 | false | null | package com.hubtwork.katarina.statistics.matcherapi.service
import com.hubtwork.katarina.statistics.matcherapi.domain.SoloRank
import com.hubtwork.katarina.statistics.matcherapi.repository.SoloRankRepository
import org.hibernate.mapping.Map
import org.springframework.data.repository.findByIdOrNull
import org.springfra... | 0 | Kotlin | 0 | 0 | 0db5e7d5c1b681a562392ded6182bffc72b91f7b | 850 | Katarina | MIT License |
screen/hidden-notes/src/main/kotlin/ru/maksonic/beresta/screen/hidden_notes/core/HiddenNotesSandbox.kt | maksonic | 580,058,579 | false | {"Kotlin": 1587340, "Assembly": 374} | package ru.maksonic.beresta.screen.hidden_notes.core
import ru.maksonic.beresta.feature.notes_list.ui.api.NoteUi
import ru.maksonic.beresta.feature.ui.edit_note.api.EditNoteFabState
import ru.maksonic.beresta.feature.ui.edit_note.api.isExpanded
import ru.maksonic.beresta.feature.ui.search_bar.api.SearchBarState
import... | 0 | Kotlin | 0 | 0 | 863585ab17882e444060e5535401c728f9fc335d | 13,456 | Beresta | MIT License |
sessionkotlin/lib/src/test/kotlin/dsl/enabled/EnabledBasicTest.kt | sessionkotlin | 467,159,660 | false | {"Kotlin": 365663, "Makefile": 1801} | package dsl.enabled
import com.github.sessionkotlin.lib.dsl.SKRole
import com.github.sessionkotlin.lib.dsl.exception.RoleNotEnabledException
import com.github.sessionkotlin.lib.dsl.exception.UnfinishedRolesException
import com.github.sessionkotlin.lib.dsl.globalProtocol
import com.github.sessionkotlin.lib.dsl.globalPr... | 0 | Kotlin | 0 | 1 | 558837e9525987c9196e00f796489c041928a50d | 7,747 | sessionkotlin | MIT License |
src/commonMain/kotlin/com/adyen/model/checkout/DokuDetails.kt | tjerkw | 733,432,442 | false | {"Kotlin": 5043126, "Makefile": 6356} | /**
* Adyen Checkout API
*
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides in... | 0 | Kotlin | 0 | 0 | 2da5aea5519b2dfa84454fe1665e9699edc87507 | 4,229 | adyen-kotlin-multiplatform-api-library | MIT License |
domain/src/test/java/com/gauvain/seigneur/domain/mock/OutComeModelMock.kt | GauvainSeigneur | 252,719,373 | false | null | package com.gauvain.seigneur.domain.mock
import com.gauvain.seigneur.domain.model.*
import com.gauvain.seigneur.domain.utils.SERVER_DATE_FORMAT
import com.gauvain.seigneur.domain.utils.SERVER_TIME_FORMAT
import com.gauvain.seigneur.domain.utils.toDate
object OutComeModelMock {
fun createStatisticsModelListWithou... | 3 | Kotlin | 0 | 0 | e983a2674d1729d2d6f8d7e0a34cee5a7354f27a | 3,580 | CovidUpdate | Apache License 2.0 |
framework/src/main/kotlin/br/com/zup/beagle/serialization/jackson/BeagleModule.kt | ZupIT | 391,145,988 | false | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 5 | null | 11 | 5 | e3f33bae4e209b3852c9a24182a109676166c3d9 | 2,098 | beagle-backend-kotlin | Apache License 2.0 |
app/src/main/java/com/hillpark/hillpark/model/CameraUrl.kt | 0adik0 | 437,355,255 | false | {"Kotlin": 201941, "Java": 22343} | package com.hillpark.hillpark.model
data class CameraUrl(
var name: String,
var url: String
) | 0 | Kotlin | 0 | 0 | fb5519d9169a5d1185439df79a5da802e727fc87 | 102 | Hillpark | Apache License 2.0 |
app/src/main/java/com/example/hiltdemo/MainActivity.kt | von-mon | 315,506,144 | false | null | package com.example.hiltdemo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
@AndroidEntryPoint
class MainActivity : AppCompatActivity() {
@Inject
lateinit var truck: Truck //不可以声明成private
override fun onCrea... | 0 | Kotlin | 0 | 0 | c4d07766cd50a732bdecdda295c8eeb88f444a52 | 475 | HiltDemo | Apache License 2.0 |
src/main/kotlin/com/amazon/opendistroforelasticsearch/indexmanagement/rollup/model/RollupFieldMapping.kt | opendistro-for-elasticsearch | 174,581,847 | false | null | /*
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the ... | 51 | null | 46 | 117 | cda0eda35fc5da3816c407ad7a929d746edaf179 | 1,839 | index-management | Apache License 2.0 |
app/src/main/java/com/vladgba/keyb/KeybView.kt | vladgba | 508,309,235 | false | null | package com.vladgba.keyb
import kotlin.collections.*
import android.annotation.SuppressLint
import android.content.Context
import android.content.res.Resources
import android.graphics.*
import android.util.AttributeSet
import android.view.*
import java.lang.*
import java.util.*
import kotlin.math.*
class KeybView : V... | 0 | Kotlin | 0 | 0 | acb5d2cbb8758722522f55fdc1c93db0f9d67c3e | 12,547 | VKeyboard | MIT License |
app/src/main/java/com/wa2c/android/medoly/plugin/action/tweet/activity/component/PreferenceExt.kt | wa2c | 134,158,949 | false | {"Kotlin": 74063} | package com.wa2c.android.medoly.plugin.action.tweet.activity.component
import androidx.annotation.StringRes
import androidx.preference.*
import com.wa2c.android.medoly.plugin.action.tweet.R
fun PreferenceFragmentCompat.setListener(@StringRes prefKeyRes: Int, listener: (() -> Unit)) {
(findPreference(getString(pr... | 1 | Kotlin | 0 | 0 | bd3b6591f0a427a8b327e18091a905e7b644e888 | 3,595 | medoly-twitter-plugin | MIT License |
src/test/kotlin/com/mattmik/rapira/console/ConsoleWriterTest.kt | rapira-book | 519,693,099 | true | {"Kotlin": 226030, "ANTLR": 7912} | package com.mattmik.rapira.console
import com.mattmik.rapira.objects.Empty
import com.mattmik.rapira.objects.Function
import com.mattmik.rapira.objects.Logical
import com.mattmik.rapira.objects.Procedure
import com.mattmik.rapira.objects.RInteger
import com.mattmik.rapira.objects.Real
import com.mattmik.rapira.objects... | 0 | null | 0 | 0 | 46f294e59c67747e1c00b5acf32b3cbe44281831 | 1,430 | rapture | Apache License 2.0 |
vector/src/main/java/varta/cdac/app/features/call/webrtc/PeerConnectionObserverAdapter.kt | ginnyTheCat | 484,447,678 | false | {"Gradle": 8, "Markdown": 16, "Java Properties": 2, "Shell": 19, "Text": 43, "Ignore List": 7, "Batchfile": 1, "EditorConfig": 1, "YAML": 2, "INI": 2, "Proguard": 5, "XML": 768, "Kotlin": 2184, "Java": 12, "JavaScript": 4, "JSON": 5, "HTML": 2, "Python": 2, "FreeMarker": 2, "Fluent": 7} | /*
* Copyright (c) 2020 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 56 | null | 1 | 1 | ef17804af2f134cfbeca5645579f2fbb4b685944 | 2,271 | new_chat | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/CSGCombiner.kt | ShalokShalom | 343,354,086 | true | {"Kotlin": 516486, "GDScript": 294955, "C++": 262753, "C#": 11670, "CMake": 2060, "Shell": 1628, "C": 959, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName")
package godot
import godot.annotation.GodotBaseType
import god... | 0 | null | 0 | 1 | 7b9b195de5be4a0b88b9831c3a02f9ca06aa399c | 542 | godot-jvm | MIT License |
plugin/contract-models/src/main/java/studio/opends/OpenDesignSystem.kt | open-design-systems | 810,431,148 | false | {"Kotlin": 42547, "Shell": 2799, "Makefile": 121} | package studio.opends
import kotlinx.serialization.Serializable
@Serializable
data class OpenDesignSystem(
val meta: MetaInformation,
val colors: Map<String, OpenColor>,
val spacing: Map<String, Spacing>,
// val surface: Map<String, Surface>,
val typography: Map<String, Typography>,
val shadow... | 1 | Kotlin | 0 | 0 | 7f969b713beb7d472504c68520e0482243f593a1 | 346 | OpenDSAndroid | Creative Commons Zero v1.0 Universal |
vapi4k-core/src/main/kotlin/com/vapi4k/dsl/model/PerplexityAIModelImpl.kt | vapi4k | 867,257,277 | false | {"Kotlin": 923800, "JavaScript": 12815, "CSS": 8320, "Mermaid": 1873, "Makefile": 623, "HTML": 51} | /*
* Copyright © 2024 Matthew Ambrose
*
* 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 t... | 0 | Kotlin | 0 | 0 | da2eb5c23a0ad87a55d973e0610f4f8c4ccd6e7b | 913 | vapi4k | Apache License 2.0 |
sources/ui/src/main/kotlin/com/sedsoftware/blinktracker/ui/camera/core/VisionImageProcessor.kt | djkovrik | 647,371,944 | false | null | package com.sedsoftware.blinktracker.ui.camera.core
import androidx.camera.core.ExperimentalGetImage
import androidx.camera.core.ImageProxy
import com.google.android.gms.tasks.TaskExecutors
import com.google.mlkit.vision.common.InputImage
import com.google.mlkit.vision.face.Face
import com.google.mlkit.vision.face.Fac... | 0 | Kotlin | 0 | 2 | e21432314401f04c9c427af4178924b953653ddb | 2,917 | BlinkTracker | MIT License |
sources/ui/src/main/kotlin/com/sedsoftware/blinktracker/ui/camera/core/VisionImageProcessor.kt | djkovrik | 647,371,944 | false | null | package com.sedsoftware.blinktracker.ui.camera.core
import androidx.camera.core.ExperimentalGetImage
import androidx.camera.core.ImageProxy
import com.google.android.gms.tasks.TaskExecutors
import com.google.mlkit.vision.common.InputImage
import com.google.mlkit.vision.face.Face
import com.google.mlkit.vision.face.Fac... | 0 | Kotlin | 0 | 2 | e21432314401f04c9c427af4178924b953653ddb | 2,917 | BlinkTracker | MIT License |
app/src/main/java/com/fridaytech/dex/data/zrx/IZrxKitManager.kt | 5daytech | 198,758,400 | false | null | package com.fridaytech.dex.data.zrx
import com.fridaytech.dex.data.zrx.model.*
import com.fridaytech.dex.presentation.orders.model.EOrderSide
import com.fridaytech.zrxkit.ZrxKit
import com.fridaytech.zrxkit.model.AssetItem
import com.fridaytech.zrxkit.model.OrderInfo
import com.fridaytech.zrxkit.model.SignedOrder
impo... | 0 | Kotlin | 13 | 21 | 50200c97a9a7a456b588cf132fdb901141efb1d1 | 2,543 | udex-app-android | MIT License |
mage/src/main/java/mil/nga/giat/mage/cache/CacheUtils.kt | ngageoint | 42,333,816 | false | null | package mil.nga.giat.mage.cache
import android.content.Context
import android.net.Uri
import android.os.Environment
import mil.nga.geopackage.GeoPackageConstants
import mil.nga.geopackage.io.GeoPackageIOUtils
import mil.nga.geopackage.validate.GeoPackageValidate
import mil.nga.giat.mage.map.cache.CacheProvider
import ... | 5 | null | 21 | 39 | 81f71093b498692d99d350c702ea35a583930c68 | 2,941 | mage-android | Apache License 2.0 |
ksmt-runner/src/main/kotlin/org/ksmt/solver/runner/KSolverState.kt | UnitTestBot | 501,947,851 | false | null | package org.ksmt.solver.runner
import org.ksmt.decl.KConstDecl
import org.ksmt.expr.KExpr
import org.ksmt.runner.generated.models.SolverConfigurationParam
import org.ksmt.sort.KBoolSort
import java.util.concurrent.ConcurrentLinkedDeque
import java.util.concurrent.ConcurrentLinkedQueue
/**
* State of an SMT solver.
... | 9 | Kotlin | 9 | 14 | aa3c7b2c5db4588f774921e8f32eae25fd5baa3f | 2,631 | ksmt | Apache License 2.0 |
features/launches/src/main/java/com/sample/application/features/launches/FiltersInteractionObjects.kt | Raghuramchowdary-tech | 363,732,877 | false | null | package com.sample.application.features.launches
import com.sample.application.base.ControllerEvent
import com.sample.application.base.Navigation
import com.sample.application.base.UiEvent
import com.sample.application.base.UiState
import com.sample.application.components.repository.launches.SortOrder
import com.sampl... | 0 | Kotlin | 0 | 0 | 76910ece9b3e3ec8627052d20f4c0b93514bbd1e | 1,015 | Task | Apache License 2.0 |
app/src/main/java/com/ramanie/rickmorty/presentation/components/CharacterListItem.kt | kennjr | 808,172,016 | false | {"Kotlin": 51887} | package com.ramanie.rickmorty.presentation.components
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.found... | 0 | Kotlin | 0 | 0 | 54ed8ac6c0ca9a121891777690e4c4c7aeaa7085 | 3,153 | rick-morty | MIT License |
les/src/test/kotlin/org/apache/tuweni/les/LESSubProtocolHandlerTest.kt | apache | 178,461,625 | false | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 6 | null | 78 | 171 | 0852e0b01ad126b47edae51b26e808cb73e294b1 | 13,890 | incubator-tuweni | Apache License 2.0 |
features/feature_search_photo_shared/src/commonMain/kotlin/com/hoc081098/compose_multiplatform_kmpviewmodel_sample/search_photo/presentation/SearchPhotoUiState.kt | hoc081098 | 675,918,221 | false | null | package com.hoc081098.compose_multiplatform_kmpviewmodel_sample.search_photo.presentation
import androidx.compose.runtime.Immutable
import com.hoc081098.compose_multiplatform_kmpviewmodel_sample.search_photo.domain.SearchPhotoError
import com.hoc081098.compose_multiplatform_kmpviewmodel_sample.stable_wrappers.Immutabl... | 11 | null | 4 | 8 | b5ab12979e96f40ade3b64324e3f8f9f18ea806a | 1,147 | Compose-Multiplatform-KmpViewModel-Unsplash-Sample | Apache License 2.0 |
app/src/main/java/com/ilgiz/kitsu/presentation/models/manga/ReviewsLinksUI.kt | ilgiz05 | 493,248,856 | false | null | package com.ilgiz.kitsu.presentation.models.manga
import com.ilgiz.kitsu.domain.models.manga.LinksXXXXXXModel
data class LinksXXXXXXUI(
val self: String,
val related: String
)
fun LinksXXXXXXModel.toUI() = LinksXXXXXXUI(self, related)
| 0 | Kotlin | 0 | 0 | f9d4b4b9899bc2faa3fc992233c3187774d3d8d8 | 246 | kitsuApi | MIT License |
sample-compose/app/src/main/java/co/nimblehq/sample/compose/ui/AppDestination.kt | nimblehq | 101,353,301 | false | {"Kotlin": 379333, "Ruby": 5344, "XSLT": 1824} | package co.nimblehq.sample.compose.ui
import androidx.navigation.NamedNavArgument
import androidx.navigation.NavType
import androidx.navigation.navArgument
import co.nimblehq.sample.compose.ui.models.UiModel
const val KeyId = "id"
const val KeyModel = "model"
sealed class AppDestination(val route: String = "") {
... | 33 | Kotlin | 21 | 81 | df2fc0bbea2112f2aa8e23c625410e241644b57f | 998 | android-templates | MIT License |
src/en/rizzcomic/src/eu/kanade/tachiyomi/extension/en/rizzcomic/RizzComic.kt | keiyoushi | 740,710,728 | false | null | package eu.kanade.tachiyomi.extension.en.rizzcomic
import android.app.Application
import androidx.preference.PreferenceScreen
import eu.kanade.tachiyomi.lib.randomua.addRandomUAPreferenceToScreen
import eu.kanade.tachiyomi.lib.randomua.getPrefCustomUA
import eu.kanade.tachiyomi.lib.randomua.getPrefUAType
import eu.kan... | 178 | null | 245 | 1,027 | 19ae01034fea0874e76e4e266a040ab57d2af5d4 | 10,523 | extensions-source | Apache License 2.0 |
data/remote/src/test/java/com/developersancho/remote/service/character/CharacterServiceTest.kt | developersancho | 454,045,719 | false | null | package com.example.remote.service.character
import com.example.remote.service.mock.MockResponses
import com.example.model.remote.base.Status
import com.example.remote.service.CharacterService
import com.example.testutils.BaseServiceTest
import com.example.testutils.BuildConfig
import kotlinx.coroutines.test.runTest
i... | 3 | null | 33 | 236 | 53d96f038e70712387f26a0099949c26a2aa2311 | 4,696 | JetRorty.Android | Apache License 2.0 |
app/src/main/java/com/masterplus/mesnevi/features/list/data/repo/ListRepoImpl.kt | Ramazan713 | 615,289,510 | false | {"Kotlin": 443947} | package com.masterplus.mesnevi.features.list.data.repo
import com.masterplus.mesnevi.features.list.data.mapper.toListEntity
import com.masterplus.mesnevi.features.list.data.mapper.toListModel
import com.masterplus.mesnevi.features.list.data.services.ListDao
import com.masterplus.mesnevi.features.list.domain.model.List... | 0 | Kotlin | 0 | 0 | 7e29fcb261f1d4b3dc2d23d8ae27f7797da1a2c3 | 1,093 | Mesnevi | Apache License 2.0 |
mulighetsrommet-api/src/main/kotlin/no/nav/mulighetsrommet/api/domain/dto/TiltaksgjennomforingAdminDto.kt | navikt | 435,813,834 | false | {"Kotlin": 1190339, "TypeScript": 1006342, "SCSS": 39876, "JavaScript": 24814, "PLpgSQL": 10327, "HTML": 1504, "Dockerfile": 683, "CSS": 437, "Shell": 95} | package no.nav.mulighetsrommet.api.domain.dto
import kotlinx.serialization.Serializable
import no.nav.mulighetsrommet.domain.constants.ArenaMigrering
import no.nav.mulighetsrommet.domain.dbo.TiltaksgjennomforingOppstartstype
import no.nav.mulighetsrommet.domain.dto.Faneinnhold
import no.nav.mulighetsrommet.domain.dto.... | 6 | Kotlin | 1 | 6 | fe8bff93ee98f28ac3f5027aa818cdd1d8093949 | 2,936 | mulighetsrommet | MIT License |
appcues/src/main/java/com/appcues/statemachine/states/EndingStepState.kt | appcues | 413,524,565 | false | {"Kotlin": 1152397, "Shell": 17991, "Ruby": 1503} | package com.appcues.statemachine.states
import com.appcues.data.model.Experience
import com.appcues.statemachine.Action
import com.appcues.statemachine.Action.EndExperience
import com.appcues.statemachine.Action.Reset
import com.appcues.statemachine.Action.StartStep
import com.appcues.statemachine.State
import com.app... | 16 | Kotlin | 3 | 9 | 53f1cc2c6c6d27085a39c50510783c1c32c62e58 | 2,323 | appcues-android-sdk | MIT License |
src/test/kotlin/g1301_1400/s1382_balance_a_binary_search_tree/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4901773, "TypeScript": 50437, "Python": 3646, "Shell": 994} | package g1301_1400.s1382_balance_a_binary_search_tree
import com_github_leetcode.TreeNode
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun balanceBST() {
assertThat(
Solution()
... | 0 | Kotlin | 20 | 43 | 471d45c60f669ea1a2e103e6b4d8d54da55711df | 728 | LeetCode-in-Kotlin | MIT License |
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/ir/JvmIrBuilder.kt | krzema12 | 312,049,057 | false | null | /*
* Copyright 2010-2021 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.ir
import org.jetbrains.kotlin.backend.jvm.JvmBackendContext
import ... | 34 | null | 2 | 24 | af0c7cfbacc9fa1cc9bec5c8e68847b3946dc33a | 1,278 | kotlin-python | Apache License 2.0 |
markdown/src/test/kotlin/com/appmattus/markdown/filter/SinglePathFilterTest.kt | appmattus | 172,489,287 | false | {"Kotlin": 248958, "XSLT": 7533} | package com.appmattus.markdown.filter
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.gherkin.Feature
import java.nio.file.Path
import java.nio.file.Paths
object SingleP... | 9 | Kotlin | 3 | 16 | 18e5bee66b7f38d1df18484e2f8f23a1f9190cf6 | 6,631 | markdown-lint | Apache License 2.0 |
src/main/kotlin/com/vauthenticator/server/VAuthenticatorApplication.kt | VAuthenticator | 191,632,792 | false | null | package com.vauthenticator.server
import com.vauthenticator.server.events.EventConsumerConfig
import com.vauthenticator.server.mail.NoReplyMailConfiguration
import com.vauthenticator.server.mfa.OtpConfigurationProperties
import org.springframework.beans.factory.annotation.Value
import org.springframework.boot.autoconf... | 21 | Kotlin | 1 | 8 | 8847b3b0ed3d9530a85aa1124a8b2fdb634eba2b | 1,132 | vauthenticator | Apache License 2.0 |
app/src/main/kotlin/ru/sandello/binaryconverter/model/NumberSystem.kt | jedi1150 | 153,152,563 | false | {"Kotlin": 195067, "Ruby": 3060} | package ru.sandello.binaryconverter.model
import ru.sandello.binaryconverter.numsys.NumSys
import ru.sandello.binaryconverter.numsys.model.Radix
import ru.sandello.binaryconverter.numsys.model.groupLength
data class NumberSystem(
var value: String,
var radix: Radix,
var isError: Boolean = false,
)
fun ru... | 5 | Kotlin | 3 | 14 | f51857af84ddd2ecd2d36ebc5e2300fb55c88dff | 846 | number-systems | MIT License |
src/main/java/org/github/otanikotani/workflow/GitHubWorkflowRunComponentFactory.kt | Otanikotani | 235,634,673 | false | null | package org.github.otanikotani.workflow
import com.intellij.execution.impl.ConsoleViewImpl
import com.intellij.ide.DataManager
import com.intellij.ide.actions.RefreshAction
import com.intellij.openapi.Disposable
import com.intellij.openapi.actionSystem.*
import com.intellij.openapi.application.ApplicationManager
impor... | 12 | Kotlin | 7 | 23 | f4383b6338eb6487355b4cc4951cafa8165af2ad | 16,156 | view-github-actions-idea-plugin | MIT License |
app/src/main/java/com/lianshang/mvvm/ext/ViewKtx.kt | tangweihong | 420,050,275 | false | null | package com.lianshang.mvvm.ext
import android.animation.Animator
import android.animation.IntEvaluator
import android.animation.ValueAnimator
import android.annotation.SuppressLint
import android.content.res.Resources
import android.os.Build
import android.text.method.HideReturnsTransformationMethod
import android.tex... | 0 | null | 0 | 1 | 3f259a2b8fe183a7578c626418edd0dc8025fe74 | 5,758 | BaseKotlinMVVM | Apache License 2.0 |
Base/src/main/java/xy/xy/base/widget/voice/VoiceImageView.kt | xiuone | 291,512,847 | false | {"Kotlin": 696966, "Java": 245782} | package xy.xy.base.widget.voice
import android.content.Context
import android.graphics.drawable.AnimationDrawable
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatImageView
import xy.xy.base.utils.audio.OnPlayListener
class VoiceImageView@JvmOverloads constructor(context: Context, attrs: At... | 0 | Kotlin | 1 | 2 | dc9f035dae4c876c6acb3e2e96742d5eb5cebe18 | 1,039 | ajinlib | Apache License 2.0 |
src/test/kotlin/OneOf.kt | papsign | 186,148,881 | false | null | import TestServer.setupBaseTestServer
import com.fasterxml.jackson.annotation.JsonTypeInfo
import com.fasterxml.jackson.annotation.JsonTypeName
import com.papsign.ktor.openapigen.annotations.type.`object`.example.ExampleProvider
import com.papsign.ktor.openapigen.annotations.type.`object`.example.WithExample
import com... | 24 | null | 35 | 172 | 8362dafa8a8b701983ad7d0119a15a12b863953f | 3,448 | Ktor-OpenAPI-Generator | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsciagcareersinductionapi/entity/AchievedFunctionalLevel.kt | ministryofjustice | 620,258,376 | false | null | package uk.gov.justice.digital.hmpps.hmppsciagcareersinductionapi.entity
import uk.gov.justice.digital.hmpps.hmppsciagcareersinductionapi.data.common.FunctionalAssessment
import uk.gov.justice.digital.hmpps.hmppsciagcareersinductionapi.data.common.FunctionalAssessmentLevel
import java.time.LocalDateTime
import javax.p... | 0 | Kotlin | 0 | 0 | b42545a6d27e61a51525d266e3ccc91f39afb2e7 | 541 | hmpps-ciag-careers-induction-api | MIT License |
modules/feature/bars/impl/src/main/kotlin/kekmech/ru/feature_bars_impl/launcher/BarsFeatureLauncherImpl.kt | tonykolomeytsev | 203,239,594 | false | {"Kotlin": 972736, "JavaScript": 9100, "Python": 2365, "Shell": 46} | package kekmech.ru.feature_bars_impl.launcher
import kekmech.ru.feature_bars_api.BarsFeatureLauncher
import kekmech.ru.feature_bars_impl.presentation.screen.main.BarsFragment
internal class BarsFeatureLauncherImpl : BarsFeatureLauncher {
override fun launchMain() = BarsFragment()
}
| 19 | Kotlin | 4 | 41 | 15c3c17e33d0ffffc0e269ad0cd6fe47b0bc971a | 290 | mpeiapp | MIT License |
src/test/kotlin/no/skatteetaten/aurora/boober/feature/BuildFeatureTest.kt | furode | 395,321,155 | true | {"Kotlin": 1004371, "Shell": 424} | package no.skatteetaten.aurora.boober.feature
import org.apache.commons.lang3.RandomStringUtils
import org.junit.jupiter.api.Test
import assertk.assertThat
import assertk.assertions.isEqualTo
import assertk.assertions.isNull
import io.fabric8.openshift.api.model.DeploymentConfig
import io.fabric8.openshift.api.model.I... | 0 | null | 0 | 0 | ccd89bc227d44f2fe3ad8a64224ac8dd19175289 | 3,341 | boober | Apache License 2.0 |
tmp/results/JVM-Xnew-inference/BACKEND_csrbf.kt | mandelshtamd | 346,008,310 | false | {"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M... | interface T
val t = object : T {
val foo by foo
} | 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 67 | kotlinWithFuzzer | Apache License 2.0 |
analysis/analysis-test-framework/tests/org/jetbrains/kotlin/analysis/test/framework/project/structure/KtModuleFactory.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 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.analysis.test.framework.project.structure
import com.intellij.openapi.project.Pr... | 162 | null | 5729 | 46,436 | c902e5f56504e8572f9bc13f424de8bfb7f86d39 | 825 | kotlin | Apache License 2.0 |
game/core/src/com/lyeeedar/AI/Tasks/TaskInterrupt.kt | Lyeeedar | 257,323,195 | false | null | package com.lyeeedar.AI.Tasks
import com.badlogic.gdx.math.Vector2
import com.badlogic.gdx.utils.Pool
import com.lyeeedar.Components.*
import com.lyeeedar.Systems.World
import com.lyeeedar.Util.AssetManager
import com.lyeeedar.Util.Colour
import com.lyeeedar.Util.Localisation
import squidpony.squidmath.LightRNG
class... | 0 | Kotlin | 0 | 0 | 5068af2489fa6ff52a99016bceafca5690864754 | 1,733 | PortalClosers | Apache License 2.0 |
app/src/main/java/com/ukuapps/comidastati/presentation/login/signIn/SignInPresenter.kt | joansilva86 | 221,337,054 | false | null | package com.ukuapps.comidastati.presentation.login.signIn
import com.ukuapps.comidastati.domain.login.LoginInteractorI
import com.ukuapps.comidastati.domain.login.SignInException
import com.ukuapps.comidastati.presentation.base.BasePresenter
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatcher... | 0 | Kotlin | 0 | 0 | 880f43773c18471c670d835c149e409a850b7905 | 1,723 | comidasTati | MIT License |
app/src/main/java/com/qingmei2/sample/common/loadings/CommonLoadingViewModel.kt | msdgwzhy6 | 157,537,516 | true | {"Kotlin": 112168} | package com.qingmei2.sample.common.loadings
import android.arch.lifecycle.LifecycleOwner
import android.arch.lifecycle.MutableLiveData
import com.qingmei2.rhine.ext.viewmodel.addLifecycle
import com.qingmei2.sample.base.BaseViewModel
@Suppress("WHEN_ENUM_CAN_BE_NULL_IN_JAVA")
class CommonLoadingViewModel private cons... | 0 | Kotlin | 0 | 1 | ac829cbef19a105ce34589cda89c6c397386b60d | 829 | MVVM-Rhine | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.