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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
api/src/main/kotlin/com/example/api/books/BooksController.kt | linurio | 834,800,710 | false | {"Kotlin": 59121, "Dockerfile": 225} | package com.example.api.books
class BooksController {
} | 0 | Kotlin | 0 | 0 | 19db141afbef21bf5994de838a506b00ca8cfea9 | 56 | bookstore | MIT License |
st_fft_amplitude/src/main/java/com/st/fft_amplitude/FFTAmplitudeDataStatsFragment.kt | STMicroelectronics | 81,465,478 | false | {"Kotlin": 2509194, "Java": 42437, "Shell": 13927, "HTML": 3291, "GLSL": 1461} | package com.st.fft_amplitude
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.TextView
import androidx.fragment.app.DialogFragment
import androidx.hilt.navigation.fragment.hiltNavGraphViewModels
i... | 12 | Kotlin | 57 | 111 | 472dcb98a7f65fa81fb45bd347351180bb4a3fe7 | 4,791 | STBLESensor_Android | The Unlicense |
src/main/kotlin/AST/ASTListNode.kt | Ten-James | 696,690,413 | false | {"Kotlin": 50603} | package AST
class ASTListNode : ASTNode {
val nodes: List<ASTTypedNode>
constructor(nodes: List<ASTTypedNode>) {
this.nodes = nodes
}
fun getType():String {
val types = nodes.map { it.getType() }
val type = types[0]
for (t in types) {
if (t != type)
... | 0 | Kotlin | 0 | 2 | 34b3afd0f271811d43e8b2a15e2b6ae0b563081d | 585 | czechtina | MIT License |
app/src/main/java/com/cursoandroid/youflix/navigationBar/videosScreen/view/VideosScreenFragment.kt | velosobr | 254,397,545 | false | null | package com.cursoandroid.youflix.navigationBar.videosScreen.view
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import com.cur... | 4 | Kotlin | 0 | 0 | 468594a0d00556c611298d3d4a7b3bbbf933f78f | 4,032 | youflix | MIT License |
swan-android-lib/src/main/java/com/bomber/swan/plugin/Plugin.kt | YoungTr | 469,053,611 | false | {"C++": 866022, "Kotlin": 767975, "Java": 322150, "C": 302325, "CMake": 18112, "Shell": 389} | package com.bomber.swan.plugin
import android.app.Application
import com.bomber.swan.listeners.IAppForeground
import com.bomber.swan.report.Issue
import com.bomber.swan.report.OnIssueDetectListener
/**
* @author youngtr
* @data 2022/4/9
*/
abstract class Plugin : IPlugin, IAppForeground, OnIssueDetectListener {
... | 0 | C++ | 1 | 8 | 65169f46a5af9af3ce097d2cbb67b8f34e9df3f1 | 2,365 | Swan | Apache License 2.0 |
mine/src/main/java/com/kotlin/android/mine/ui/datacenter/fragment/EarthFragment.kt | R-Gang-H | 538,443,254 | false | null | package com.kotlin.android.mine.ui.datacenter.fragment
import android.graphics.Color
import android.graphics.Outline
import android.graphics.Rect
import android.os.Build
import android.view.View
import android.view.ViewOutlineProvider
import androidx.fragment.app.viewModels
import androidx.recyclerview.widget.GridLayo... | 0 | Kotlin | 0 | 1 | e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28 | 19,588 | Mtime | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/ChartMixedUpCircleCurrency.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,013 | icons | MIT License |
drestaurant-apps/drestaurant-microservices/drestaurant-microservices-command-order/src/main/kotlin/com/drestaurant/MicroservicesCommandOrderApplication.kt | idugalic | 135,263,722 | false | null | package com.drestaurant
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
import org.springframework.boot.runApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
@EnableDiscoveryCl... | 0 | Kotlin | 83 | 284 | 920248e62c5b7d9b8d3c365b2f911355aa19c7db | 537 | digital-restaurant | Apache License 2.0 |
core/src/commonMain/kotlin/work/socialhub/kslack/entity/block/ContextBlockElement.kt | uakihir0 | 794,979,552 | false | {"Kotlin": 1320977, "Java": 9455, "Ruby": 2164, "Shell": 2095, "Makefile": 316} | package work.socialhub.kslack.entity.block
import com.github.seratch.jslack.api.model.block.composition.TextObject
import com.github.seratch.jslack.api.model.block.element.ImageElement
/**
* Specific interface to make context layout blocks' [ elements][ContextBlock] type-safe, because ContextBlock can only contain
... | 0 | Kotlin | 0 | 0 | 4d1299164adc8b8e638b02e0ca7e46afb10709f8 | 523 | kslack | MIT License |
jitsi-utils-kotlin/src/test/kotlin/org/jitsi/utils/config/strategy/ConfigPropertyTest.kt | jofrantoba | 276,020,653 | true | {"Java": 359023, "Kotlin": 43986} | /*
* Copyright @ 2018 - present 8x8, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 0 | Java | 0 | 0 | 8535a5308592416852b5f5a974d92a7ef9d463d0 | 7,900 | jitsi-utils | Apache License 2.0 |
app/src/main/java/com/enons/kitchhapp/ui/screens/home_page_screen/HomePageScreen.kt | yildirimenes | 718,766,810 | false | {"Kotlin": 64707} | package com.enons.kitchhapp.ui.screens.home_page_screen
import android.annotation.SuppressLint
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.fou... | 0 | Kotlin | 0 | 1 | ae80092f4ab67f414572f1d43067985474381fc8 | 3,561 | KitchhApp | Apache License 2.0 |
libraries/libcrypto3/static/src/commonTest/kotlin/StaticLibCrypto3Test.kt | whyoleg | 549,689,208 | false | {"Kotlin": 27338} | package dev.whyoleg.kcwrapper.libcrypto3.static
import dev.whyoleg.kcwrapper.libcrypto3.test.*
class StaticLibCrypto3Test : LibCrypto3Test()
| 0 | Kotlin | 0 | 0 | a8c1dbb7c4a227475751a16dbba791f83b5f9d1b | 143 | kcwrapper | Apache License 2.0 |
app/src/main/java/com/dubedivine/samples/util/ViewUtil.kt | dubeboy | 102,972,979 | false | null | package com.dubedivine.samples.util
import android.app.Activity
import android.content.Context
import android.content.res.Resources
import android.view.View
import android.view.inputmethod.InputMethodManager
import android.widget.RelativeLayout
object ViewUtil {
fun pxToDp(px: Float): Float {
val density... | 0 | Kotlin | 1 | 1 | 0dccd66d69fc3f1ae7cbecbab397d8de6f29cc5c | 1,035 | Peerlink-mobile | The Unlicense |
app/src/main/java/com/furniconbreeze/features/newcollection/model/NewCollectionListResponseModel.kt | DebashisINT | 811,202,727 | false | {"Kotlin": 14691854, "Java": 1021080} | package com.furniconbreeze.features.newcollection.model
import com.furniconbreeze.app.domain.CollectionDetailsEntity
import com.furniconbreeze.base.BaseResponse
import com.furniconbreeze.features.shopdetail.presentation.model.collectionlist.CollectionListDataModel
/**
* Created by Saikat on 15-02-2019.
*/
class New... | 0 | Kotlin | 0 | 0 | c02d8d092164f1a715f9b98c8a1a3ed7ca177b38 | 506 | UniqueSorterFurnicon | Apache License 2.0 |
platform/testGuiFramework/src/com/intellij/testGuiFramework/fixtures/AsyncProcessIconFixture.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.testGuiFramework.fixtures
import com.intellij.testGuiFramework.impl.GuiTestUtilKt
import com.intellij.util.ui.AsyncProcessIcon
import org.fest.swing.core.Rob... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 720 | intellij-community | Apache License 2.0 |
data/src/main/java/com/thirfir/data/datasource/local/settings/SettingsLocalDataSource.kt | ThirFir | 670,598,007 | false | null | package com.thirfir.data.datasource.local.settings
import com.thirfir.data.SettingsProto
import com.thirfir.domain.model.Settings
import kotlinx.coroutines.flow.Flow
interface SettingsLocalDataSource {
fun getSettings(): Flow<SettingsProto>
fun setSettings(settings: Settings)
} | 0 | Kotlin | 0 | 1 | 5a5cbdc206473da15fc976b5b9e2269934c26a70 | 289 | KReminder | Apache License 2.0 |
src/jvmMain/kotlin/net/swiftzer/semver/SemVerRegex.jvm.kt | swiftzer | 107,759,525 | false | {"Kotlin": 30813} | package net.swiftzer.semver
internal actual val PreReleasePattern: Regex
get() =
Regex("""^(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*$""")
internal actual val BuildMetadataPattern: Regex
get() =
Regex("""^[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*$""")
@Supp... | 6 | Kotlin | 13 | 82 | 59e48eb2f82d7b306334d4cc4c37648dc806f70a | 616 | semver | MIT License |
app/src/main/java/net/juzabel/speedrunapp/data/mapper/RunMapper.kt | juzabel | 142,605,607 | false | null | package net.juzabel.speedrunapp.data.mapper
import net.juzabel.speedrunapp.data.db.entity.RunEntity
import net.juzabel.speedrunapp.domain.model.Run
import javax.inject.Inject
class RunMapper @Inject constructor(){
fun toRun(runEntity: RunEntity) = Run(runEntity.id, runEntity.gameId, runEntity.video, runEntity.pla... | 0 | Kotlin | 0 | 0 | ece4ca06d9a4a3ad85ae5f692bf481f84a2f9c18 | 346 | SpeedrunApp | Apache License 2.0 |
tourcount/src/main/java/com/wmstein/tourcount/EditSpecListActivity.kt | wistein | 60,879,778 | false | {"Kotlin": 262902, "Java": 169711} | package com.wmstein.tourcount
import android.annotation.SuppressLint
import android.app.AlertDialog
import android.content.DialogInterface
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.Color
import android.graphics.Typeface
import android.graphics.drawable.BitmapDrawable
import a... | 0 | Kotlin | 3 | 4 | 448071f36c6cadc5cba50c4064679cf79806ec25 | 19,199 | TourCount | Creative Commons Attribution 4.0 International |
app/src/main/java/hackovid/vens/common/ui/StoreListUi.kt | lotdrops | 254,305,935 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 55, "XML": 85, "Java": 1, "JSON": 2} | package hackovid.vens.common.ui
import android.location.Location
import hackovid.vens.common.data.Store
import hackovid.vens.common.data.StoreSubtype
import hackovid.vens.common.data.StoreType
import kotlin.math.roundToInt
data class StoreListUi(
val id: Long,
val latitude: Double,
val longitude: Double,
... | 1 | null | 1 | 1 | fa543255195d673c8ef905273f686ce59385b275 | 1,360 | vens | Apache License 2.0 |
app/src/main/java/com/seewo/brick/app/component/extra/page/SmartRefreshPage.kt | robin8yeung | 591,142,442 | false | null | package com.seewo.brick.app.component.extra.page
import android.content.Context
import android.graphics.Color
import android.graphics.Typeface
import android.util.AttributeSet
import android.util.TypedValue
import android.view.Gravity
import android.widget.LinearLayout
import com.scwang.smart.refresh.footer.ClassicsFo... | 0 | Kotlin | 2 | 56 | 334face7184dce713adfbdafa169e0d946601dde | 5,361 | BrickUI | Apache License 2.0 |
nebulosa-sbd/src/main/kotlin/nebulosa/sbd/SmallBodyDatabase.kt | tiagohm | 568,578,345 | false | {"Kotlin": 2659703, "TypeScript": 482206, "HTML": 231271, "JavaScript": 120088, "SCSS": 11161, "Python": 2817, "Makefile": 445} | package nebulosa.sbd
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query
internal interface SmallBodyDatabase {
@GET(
"sbdb.api?alt-des=1&alt-orbits=1&ca-data=1" +
"&ca-time=both&ca-tunc=both&cd-epoch=1&cd-tp=1&discovery=1" +
"&full-prec=1&nv-fmt=bo... | 2 | Kotlin | 2 | 4 | a579e15d2a2aa239965bc0f1c75c04eef74dc243 | 1,274 | nebulosa | MIT License |
app/src/main/java/com/programmergabut/solatkuy/data/NetworkBoundResource.kt | jiwomdf | 309,621,857 | true | {"Kotlin": 293155} | package com.programmergabut.solatkuy.data
/* abstract class NetworkBoundResource<ResultType, RequestType> {
private val result = MediatorLiveData<Resource<ResultType>>()
init {
//setValue(Resource.loading(null))
@Suppress("LeakingThis")
val dbSource = loadFromDB()
result.add... | 0 | null | 0 | 0 | f89c5418468c94a79a9843d5ae0a78bb6de0a7b9 | 3,114 | Solat-Kuy-Android-MVVM-with-Coroutine | The Unlicense |
portfolio/src/main/java/com/pyamsoft/tickertape/portfolio/dig/position/PositionScreen.kt | pyamsoft | 371,196,339 | false | null | package com.pyamsoft.tickertape.portfolio.dig.position
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.Surface
... | 1 | Kotlin | 0 | 6 | c5309984f17de290ce2fb82120b4699cc8227b65 | 2,855 | tickertape | Apache License 2.0 |
libraries/libcrypto3/api/src/commonMain/kotlin/err.common.kt | whyoleg | 603,041,596 | false | {"Kotlin": 192727, "C": 15066, "Makefile": 521} | @file:Suppress("PrivatePropertyName", "FunctionName", "ClassName", "SpellCheckingInspection")
package dev.whyoleg.ffi.libcrypto3
import dev.whyoleg.ffi.c.*
expect fun ERR_get_error(): PlatformDependentUInt
expect fun ERR_error_string(
e: PlatformDependentUInt,
buf: CString?,
): CString?
| 2 | Kotlin | 2 | 65 | c3bc926fd2756d6ca0afd1edc0f21c5fce7e3676 | 300 | ffi-kotlin | Apache License 2.0 |
oauth/src/main/java/br/com/braspag/models/ClientResult.kt | Braspag | 272,552,347 | false | null | package br.com.braspag.models
data class ClientResult <T>(
var result: T?,
var statusCode: HttpStatusCode,
var error: ErrorResponse? = null
) | 0 | Kotlin | 0 | 0 | dd028d08673557f053d6cc23a39f742817c10222 | 154 | oauth-android | MIT License |
infrastructure/src/main/kotlin/com/lukinhasssss/admin/catalogo/infrastructure/configuration/AmqpConfig.kt | Lukinhasssss | 551,493,782 | false | null | package com.lukinhasssss.admin.catalogo.infrastructure.configuration
import com.lukinhasssss.admin.catalogo.infrastructure.configuration.annotations.VideoCreatedQueue
import com.lukinhasssss.admin.catalogo.infrastructure.configuration.annotations.VideoEncodedQueue
import com.lukinhasssss.admin.catalogo.infrastructure.... | 0 | Kotlin | 0 | 3 | 6abc1cd12d8394cca709f4d1f99246a3ba35f2ae | 2,353 | admin-catalogo-de-videos-kotlin | MIT License |
src/test/kotlin/dev/mcenv/mcx/pass/LineContext.kt | mcenv | 721,052,595 | false | {"Kotlin": 111596, "JavaScript": 863, "TypeScript": 587} | package dev.mcenv.mcx.pass
import org.eclipse.lsp4j.Position
import org.eclipse.lsp4j.Range
class LineContext private constructor(val line: Int) {
operator fun String.div(content: String): Range {
return Range(Position(line, length), Position(line, length + content.length))
}
fun String.here(): P... | 24 | Kotlin | 0 | 5 | 57063802b79d3ba0756156abe2e0ff6c6ae2c834 | 526 | mcx | MIT License |
ziti-android/src/main/java/org/openziti/android/InfoProviders.kt | openziti | 214,175,575 | false | null | /*
* Copyright (c) 2018-2021 NetFoundry 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... | 9 | Kotlin | 4 | 9 | 4f561799f9d47e209e802ad46e23b308131b949c | 3,202 | ziti-sdk-jvm | Apache License 2.0 |
common/src/main/java/com/bcm/messenger/common/provider/accountmodule/IContactModule.kt | Era-CyberLabs | 576,196,269 | false | {"Java": 6276144, "Kotlin": 5427066, "HTML": 92928, "C": 30870, "Groovy": 12495, "C++": 6551, "CMake": 2728, "Python": 1600, "AIDL": 1267, "Makefile": 472} | package com.bcm.messenger.common.provider.accountmodule
import android.content.Context
import android.graphics.Bitmap
import com.bcm.messenger.common.core.Address
import com.bcm.messenger.common.database.model.ProfileKeyModel
import com.bcm.messenger.common.grouprepository.room.entity.BcmFriendRequest
import com.bcm.m... | 1 | null | 1 | 1 | 65a11e5f009394897ddc08f4252969458454d052 | 3,422 | cyberland-android | Apache License 2.0 |
core/src/main/java/com/aqube/notes/core/presentation/theme/Theme.kt | akhilesh0707 | 412,617,490 | false | {"Kotlin": 80393} | package com.aqube.notes.core.presentation.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
private val LightColorPalette = ligh... | 0 | Kotlin | 4 | 21 | 3fd715e1db3dd77d9a69dcec4dc5dcd1065aa1cc | 935 | Easy-Note | Apache License 2.0 |
src/commonMain/kotlin/org.angproj.aux/buf/ByteBuffer.kt | angelos-project | 677,039,667 | false | {"Kotlin": 986392, "Python": 196308} | /**
* Copyright (c) 2024 by Kristoffer Paulsson <kristoffer.paulsson@talenten.se>.
*
* This software is available under the terms of the MIT license. Parts are licensed
* under different terms if stated. The legal terms are attached to the LICENSE file
* and are made available on:
*
* https://opensource.org... | 0 | Kotlin | 0 | 0 | f9142bec995ef434cc7cdc02f01a7ed9ac3cd00b | 1,497 | angelos-project-aux | MIT License |
test_projects/android/app/src/androidTestSingle/java/com.example.test_app/InstrumentedTest.kt | samtstern | 286,730,731 | true | {"Kotlin": 877333, "Java": 326695, "Swift": 24069, "Objective-C": 9968, "Shell": 9682, "HTML": 8296, "TypeScript": 2717, "JavaScript": 1764, "CSS": 1365, "Ruby": 918, "Go": 159} | package com.example.test_app
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class InstrumentedTest : BaseInstrumentedTest() {
@Test
fun test() = testMethod()
@Test
@Ignore("For testing ... | 0 | null | 0 | 2 | 43c1635497a00bea465f5ff25029448506d46dfe | 539 | flank | Apache License 2.0 |
app/src/main/java/io/vincenzopalazzo/coolcountdown/utils/Utils.kt | vincenzopalazzo | 345,181,581 | false | null | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 1 | f87471aeb5fa3ab51513c070405df662caf61e88 | 2,490 | CoolCountdownTimer | Apache License 2.0 |
KotlinMultiplatform/XFullStack/composeApp/src/commonMain/kotlin/ui/pages/authOptions/composables/LoginComposable.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 2097996, "Dart": 1066884, "Python": 319402, "Rust": 180589, "Swift": 147761, "C++": 113494, "CMake": 94132, "Go": 45704, "HTML": 21392, "Ruby": 12424, "C": 8043, "Shell": 5675, "PowerShell": 3045, "Nix": 2616, "Makefile": 1480, "JavaScript": 781, "CSS": 588, "Objective-C": 380, "Dockerfile": 32} | package ui.pages.authOptions.composables
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.SpanStyle
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.stringR... | 0 | Kotlin | 9 | 18 | 599ee358f6a348959f48d31781fe0f3f96aec87f | 1,753 | development_learning | MIT License |
app/src/main/java/io/access/kotlintraining/Sample.kt | aShihoOmine | 130,138,102 | true | {"Kotlin": 4840} | package io.access.kotlintraining
import java.util.Random
fun welcome() {
println("welcome to ACCESS!")
}
// TODO: declare hello function
fun hello() {
println("Hello World!")
}
fun fizzbuzz(i: Int): String {
if (i % 3 == 0) {
return "Fizz"
} else if (i % 5 == 0) {
return "Buzz"
... | 0 | Kotlin | 0 | 0 | 16244392be649aa0b58704fe6f1e036163bd530f | 981 | KotlinTraining | MIT License |
annotationprocessortesting-kt/src/main/java/com/tickaroo/tikxml/annotationprocessing/element/constructor/ServerConstructor.kt | Tickaroo | 46,920,047 | false | null | /*
* Copyright (C) 2015 <NAME>
* Copyright (C) 2015 Tickaroo, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 47 | null | 46 | 420 | cd5d868cf5988c66755f9ff6da043abc27a0fa6f | 1,584 | tikxml | Apache License 2.0 |
indexer/src/test/kotlin/tech/edgx/prise/indexer/service/classifier/MinswapClassifierIT.kt | Edgxtech | 772,437,133 | false | {"Kotlin": 534875, "Java": 7742, "Dockerfile": 361, "Shell": 220} | package tech.edgx.prise.indexer.service.classifier
import com.bloxbean.cardano.yaci.core.common.Constants
import com.bloxbean.cardano.yaci.core.common.NetworkType
import com.bloxbean.cardano.yaci.core.model.Block
import com.bloxbean.cardano.yaci.core.model.Era
import com.bloxbean.cardano.yaci.core.protocol.chainsync.m... | 0 | Kotlin | 1 | 4 | 5781673699972234a1d78289b1b72d505c6fc38f | 20,442 | prise | MIT License |
app/src/main/java/com/example/tic_tac_toe/presentation/Components/OptionCard.kt | Moohaa | 533,423,537 | false | {"Kotlin": 45904} | package com.example.tic_tac_toe.presentation.Components
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compo... | 0 | Kotlin | 0 | 0 | 121917667ef4736796c70dec594b0a48332f4f71 | 1,241 | Tic-Tac-Toe | MIT License |
yenaly_libs/src/main/java/com/yenaly/yenaly_libs/utils/view/EditTextUtil.kt | YenalyLiew | 524,046,895 | false | {"Kotlin": 723868, "Java": 88900} | @file:JvmName("EditTextUtil")
package com.yenaly.yenaly_libs.utils.view
import android.view.Window
import android.widget.EditText
import com.yenaly.yenaly_libs.utils.showIme
/**
* 在EditText上聚焦并显示软键盘
*
* @param window window
*/
fun EditText.showIme(window: Window) = this.let {
it.isFocusable = true
it.isF... | 21 | Kotlin | 78 | 999 | b0fa1a9e50b1567e4b5a504dcb6579d5f35427fa | 668 | Han1meViewer | Apache License 2.0 |
defitrack-rest/defitrack-protocol-services/defitrack-idex/src/main/java/io/defitrack/IdexApplication.kt | decentri-fi | 426,174,152 | false | null | package io.defitrack
import io.defitrack.protocol.Company
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching
import org.springframework.scheduling.annotation.EnableScheduling
class IdexApplication... | 17 | Kotlin | 6 | 9 | cba6769eaa7a2700ccf5658c3ea9e3db7bdfca36 | 503 | defi-hub | MIT License |
defitrack-rest/defitrack-protocol-services/defitrack-idex/src/main/java/io/defitrack/IdexApplication.kt | decentri-fi | 426,174,152 | false | null | package io.defitrack
import io.defitrack.protocol.Company
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching
import org.springframework.scheduling.annotation.EnableScheduling
class IdexApplication... | 17 | Kotlin | 6 | 9 | cba6769eaa7a2700ccf5658c3ea9e3db7bdfca36 | 503 | defi-hub | MIT License |
app/src/main/java/radiant/nimbus/lexicons/app/bsky/feed/threadgateListRule.kt | Radiant-Industries | 677,522,730 | false | {"Kotlin": 793750} | package app.bsky.feed
import kotlinx.serialization.Serializable
import radiant.nimbus.api.AtUri
/**
* Allow replies from actors on a list.
*/
@Serializable
public data class ThreadgateListRule(
public val list: AtUri,
)
| 20 | Kotlin | 0 | 1 | b2a6a419744b89c0184f44aacd74ee7a88afc23d | 226 | morpho-app | Apache License 2.0 |
app/src/main/java/com/hillpark/hillpark/adapters/ActionsAdapter.kt | 0adik0 | 437,355,255 | false | {"Kotlin": 201941, "Java": 22343} | package com.hillpark.hillpark.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.hillpark.hillparkApp.R
import com.hillpark.hillpark.model.ActionModel
import kotlinx.android.synthetic.main.item_action.view.*
imp... | 0 | Kotlin | 0 | 0 | fb5519d9169a5d1185439df79a5da802e727fc87 | 1,480 | Hillpark | Apache License 2.0 |
app/src/main/java/com/hillpark/hillpark/adapters/ActionsAdapter.kt | 0adik0 | 437,355,255 | false | {"Kotlin": 201941, "Java": 22343} | package com.hillpark.hillpark.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.hillpark.hillparkApp.R
import com.hillpark.hillpark.model.ActionModel
import kotlinx.android.synthetic.main.item_action.view.*
imp... | 0 | Kotlin | 0 | 0 | fb5519d9169a5d1185439df79a5da802e727fc87 | 1,480 | Hillpark | Apache License 2.0 |
bridge/src/test/kotlin/io/kommons/designpatterns/bridge/AppTest.kt | debop | 235,066,649 | false | null | package io.kommons.designpatterns.bridge
import org.junit.jupiter.api.Test
/**
* AppTest
*
* @author debop
*/
class AppTest {
@Test
fun `run main`() {
main()
}
} | 0 | Kotlin | 11 | 53 | c00bcc0542985bbcfc4652d0045f31e5c1304a70 | 188 | kotlin-design-patterns | Apache License 2.0 |
server/src/main/java/com/pyamsoft/tetherfi/server/clients/TetherClient.kt | pyamsoft | 475,225,784 | false | null | /*
* Copyright 2024 pyamsoft
*
* 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... | 11 | null | 31 | 401 | aebdfc88e59a967d2c343d68d5dccb49dfa4ac06 | 5,628 | tetherfi | Apache License 2.0 |
embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/capture/crash/CrashTeardownHandler.kt | embrace-io | 704,537,857 | false | {"Kotlin": 2807710, "C": 190147, "Java": 175321, "C++": 13140, "CMake": 4261} | package io.embrace.android.embracesdk.internal.capture.crash
/**
* Interface for handling crash teardown.
*/
public interface CrashTeardownHandler {
public fun handleCrash(crashId: String)
}
| 19 | Kotlin | 8 | 133 | c3d8b882d91f7200c812d8ffa2dee5b820263c0d | 198 | embrace-android-sdk | Apache License 2.0 |
src/main/kotlin/com/wynnlab/pvp/Duels.kt | WynnLab | 348,821,356 | false | {"Kotlin": 267828, "Python": 40494, "Java": 247} | package com.wynnlab.pvp
import com.wynnlab.COLOR_DARKER_GRAY
import com.wynnlab.api.getLocalizedText
import com.wynnlab.util.InstancedWorld
import com.wynnlab.util.createInstancedWorld
import com.wynnlab.wynnlab
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.NamedTextColor
import org.... | 0 | Kotlin | 4 | 5 | 9950bc1485fa187394c1b1326fa0b5c6b6a1ac96 | 5,197 | WynnLab-Core | MIT License |
data/src/main/kotlin/com/andres/nyuzuk/data/datasource/remote/ArticleRemoteDataSource.kt | andreshj87 | 197,643,093 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Kotlin": 112, "Proguard": 2, "XML": 22, "Java": 1, "YAML": 1} | package com.andres.nyuzuk.data.datasource.remote
import arrow.core.Either
import com.andres.nyuzuk.data.datasource.remote.api.ApiPaginator
import com.andres.nyuzuk.data.datasource.remote.api.ArticleApiService
import com.andres.nyuzuk.data.entity.remote.ArticleRemote
import com.andres.nyuzuk.data.extension.processPagin... | 0 | Kotlin | 0 | 10 | 79654d521d344b0711607b35572e5864c19b414f | 1,634 | Nyuzuk | Apache License 2.0 |
subprojects/gradle/module-types/src/gradleTest/kotlin/com/avito/android/module_type/ConfigurationCacheCompatibilityTest.kt | avito-tech | 230,265,582 | false | {"Kotlin": 3637664, "Java": 67252, "Shell": 27675, "Dockerfile": 12799, "Makefile": 7970} | package com.avito.android.module_type
import FeatureModule
import LibraryModule
import com.avito.android.module_type.ModuleTypesProjectGenerator.Constraint
import com.avito.android.module_type.ModuleTypesProjectGenerator.Dependency
import org.junit.jupiter.api.Test
internal class ConfigurationCacheCompatibilityTest :... | 10 | Kotlin | 48 | 407 | 09f5e0ac44adf72b18983a226911f01f869aca70 | 843 | avito-android | MIT License |
app/src/main/java/com/tomclaw/nimpas/screen/safe/adapter/pass/PasswordItemBlueprint.kt | solkin | 148,905,097 | false | null | package com.tomclaw.nimpas.screen.safe.adapter.pass
import com.avito.konveyor.blueprint.Item
import com.avito.konveyor.blueprint.ItemBlueprint
import com.avito.konveyor.blueprint.ItemPresenter
import com.avito.konveyor.blueprint.ViewHolderBuilder
import com.tomclaw.nimpas.R
class PasswordItemBlueprint(override val pr... | 1 | null | 1 | 2 | 681bd0768d7f23906da62c2e266521c48e58ec01 | 696 | nimpas-android | MIT License |
summer-plugin/src/main/kotlin/top/bettercode/summer/gradle/plugin/project/template/Entity.kt | top-bettercode | 387,652,015 | false | null | package top.bettercode.summer.gradle.plugin.project.template
import top.bettercode.summer.gradle.plugin.project.template.unit.*
import top.bettercode.summer.tools.generator.dom.java.element.Interface
import top.bettercode.summer.tools.generator.dom.java.element.JavaVisibility
import top.bettercode.summer.tools.generat... | 0 | Kotlin | 0 | 2 | 23ba7a8c61b0b7b7eb95926fc45f1f9127e443ea | 1,627 | summer | Apache License 2.0 |
core-mvi-sample/src/main/java/ru/surfstudio/android/core/mvi/sample/ui/screen/list/di/ReactiveListScreenConfigurator.kt | eltray | 200,101,552 | true | {"Kotlin": 1787549, "Java": 826942, "FreeMarker": 54338, "Groovy": 8823, "C++": 1542, "CMake": 285} | package ru.surfstudio.android.core.mvi.sample.ui.screen.list.di
import android.content.Intent
import dagger.Component
import dagger.Module
import dagger.Provides
import ru.surfstudio.android.core.mvi.sample.ui.base.binder.BaseBinder
import ru.surfstudio.android.core.mvi.sample.ui.base.hub.BaseEventHub
import ru.surfst... | 0 | Kotlin | 0 | 0 | 69d435621d90954102af7424b4b309213d9bc95d | 4,191 | SurfAndroidStandard | Apache License 2.0 |
src/test/kotlin/com/ekino/oss/errors/generator/ErrorBodyGeneratorTest.kt | ekino | 197,381,701 | false | {"Kotlin": 78778} | package com.ekino.oss.errors.generator
import assertk.assertThat
import assertk.assertions.hasSize
import assertk.assertions.isEmpty
import assertk.assertions.isEqualTo
import com.ekino.oss.errors.ValidationErrorBody
import org.junit.jupiter.api.Test
import org.springframework.http.HttpStatus
class ErrorBodyGenerator... | 5 | Kotlin | 0 | 9 | 7b003903d7f0332a4d76429f0cd6938dedf731a9 | 6,156 | spring-boot-starter-errors | MIT License |
0898.Bitwise ORs of Subarrays.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | internal class Solution {
fun subarrayBitwiseORs(arr: IntArray): Int {
val ans: Set<Int> = HashSet()
var s: Set<Int> = HashSet()
for (x in arr) {
val t: Set<Int> = HashSet()
for (y in s) {
t.add(x or y)
}
t.add(x)
ans.addAll(t)
s = t
}
return ans.size()
... | 0 | Kotlin | 0 | 0 | 71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48 | 326 | kotlin-leetcode | MIT License |
app/src/main/java/space/taran/arknavigator/di/modules/RepoModule.kt | ARK-Builders | 394,855,699 | false | null | package space.taran.arknavigator.di.modules
import android.util.Log
import dagger.Module
import dagger.Provides
import space.taran.arknavigator.mvp.model.dao.Database
import space.taran.arknavigator.mvp.model.repo.FoldersRepo
import space.taran.arknavigator.mvp.model.repo.index.ResourcesIndexRepo
import space.taran.ar... | 97 | Kotlin | 8 | 3 | cc14cc0382a71e7f7d77c00eff51b244a90759d7 | 1,140 | ARK-Navigator | MIT License |
src/main/kotlin/dev/jbang/idea/completion/sources/JBangKotlinSourcesCompletionContributor.kt | jbangdev | 439,798,570 | false | {"Kotlin": 99272, "Java": 3691} | package dev.jbang.idea.completion.sources
import dev.jbang.idea.kotlinIcon
import org.jetbrains.kotlin.idea.KotlinLanguage
import javax.swing.Icon
class JBangKotlinSourcesCompletionContributor : JBangBaseSourcesCompletionContributor(KotlinLanguage.INSTANCE) {
override fun allowedExtName(): String {
retu... | 27 | Kotlin | 8 | 20 | 4db3b15f18854a2597c52fdd7639ab76cce38ff9 | 410 | jbang-idea | MIT License |
idea/tests/testData/quickfix/modifiers/notAnAnnotationClass.kt | JetBrains | 278,369,660 | false | null | // "Make 'fancy' an annotation class" "true"
class fancy
@fancy<caret> class foo {}
/* IGNORE_FIR */ | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 102 | intellij-kotlin | Apache License 2.0 |
compiler/resolution/src/org/jetbrains/kotlin/resolve/calls/inference/components/KotlinConstraintSystemCompleter.kt | alireza-naghizadeh | 119,830,321 | true | {"Kotlin": 27299517, "Java": 9938286, "JavaScript": 157006, "HTML": 57104, "Lex": 18174, "Groovy": 14207, "ANTLR": 9797, "IDL": 8626, "Shell": 5436, "CSS": 4679, "Batchfile": 4437} | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 0 | 1 | cf2e9c70028199ff2446d7b568983e387fb58ef4 | 7,808 | kotlin | Apache License 2.0 |
av/AsrDemo/app/src/main/java/com/wpf/asrdemo/MainActivity.kt | wangpengfei1992 | 444,720,156 | false | {"C": 15356987, "Kotlin": 1926516, "Java": 1439280, "Makefile": 697532, "Shell": 397449, "C++": 160245, "GLSL": 104693, "CMake": 58126, "M4": 43504, "Assembly": 40776, "CSS": 20448, "Perl": 10762, "Groovy": 9011, "HTML": 2612, "Batchfile": 789} | package com.wpf.asrdemo
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.os.Environment
import android.provider.Settings
import android.util.Log
import android.view.View
import android.w... | 0 | C | 0 | 0 | 2e078f0c510515be47e6713357fa87089af8fdae | 9,006 | TestDemoList | Apache License 2.0 |
src/main/kotlin/com/github/thetric/iliasdownloader/service/webparser/impl/course/CourseSyncServiceImpl.kt | kletobias | 165,543,431 | false | null | package com.github.thetric.iliasdownloader.service.webparser.impl.course
import com.github.thetric.iliasdownloader.service.ContextAwareIliasItemVisitor
import com.github.thetric.iliasdownloader.service.model.Course
import com.github.thetric.iliasdownloader.service.model.IliasItem
import com.github.thetric.iliasdownloa... | 0 | Kotlin | 0 | 0 | 1f944c6dfd9ef64e0b678fb30e541ed197ca3333 | 4,431 | ilias-downloader-connector-domparser | MIT License |
common/src/main/kotlin/com/rafael/common/DotEnvExtensions.kt | RafaelPereiraSantos | 278,705,536 | false | null | package com.rafael.common
import io.github.cdimascio.dotenv.Dotenv
fun Dotenv.getOrThrow(env: String) = this[env]
?: throw IllegalStateException("Can't seem to find '$env' environment variable") | 0 | Kotlin | 0 | 2 | 557e8972f7125fea13ed574b8b9ba692b6b2464a | 200 | signup-service | MIT License |
libraries/stdlib/src/dart/typeddata/ByteData.kt | dotlin-org | 434,960,829 | false | null | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 5 | null | 3 | 30 | 633430bfa0786923bde86d9068323f18eb5c24d5 | 4,053 | dotlin | Apache License 2.0 |
app/src/main/java/com/mynimef/foodmood/data/models/Notification.kt | MYnimef | 637,497,996 | false | {"Kotlin": 239070} | package com.mynimef.foodmood.data.models
data class Notification(
val id: Long,
val time: String,
val message: String,
) | 0 | Kotlin | 1 | 0 | 7e3a34c4053fb6c191989ddc96d6258bd79e08c4 | 133 | FoodMood-Android | MIT License |
places-ktx/src/test/java/com/google/android/libraries/places/ktx/model/OpeningHoursTest.kt | googlemaps | 279,716,514 | false | {"Kotlin": 65782} | // Copyright 2020 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 ... | 9 | Kotlin | 23 | 98 | 712344af5fcf0acd617fab2511f2243c313ce8d3 | 1,834 | android-places-ktx | Apache License 2.0 |
code/LearnIt/app/src/main/java/com/singularitycoder/learnit/helpers/konfetti/core/PartySystem.kt | Singularity-Coder | 468,637,817 | false | {"Kotlin": 219466} | package com.singularitycoder.learnit.helpers.konfetti.core
import com.singularitycoder.learnit.helpers.konfetti.core.Particle
import com.singularitycoder.learnit.helpers.konfetti.core.Party
import com.singularitycoder.learnit.helpers.konfetti.core.emitter.BaseEmitter
import com.singularitycoder.learnit.helpers.konfett... | 0 | Kotlin | 0 | 0 | 0e723b1ae6d0a52c3cc1260205f7960858dca619 | 2,463 | Instant-Script | MIT License |
pokechu/app/src/main/java/fr/amazer/pokechu/data/preferences/LiveListPreference.kt | Tarik-B | 572,524,394 | false | {"Kotlin": 188925, "Python": 91692} | package fr.amazer.pokechu.data.preferences
import android.content.SharedPreferences
import androidx.lifecycle.MutableLiveData
import fr.amazer.pokechu.managers.LIST_SETTING_SEPARATOR
import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
import io.reactivex.rxjava3.core.Observable
import io.reactivex.rxjava3... | 1 | Kotlin | 0 | 1 | 034768c6d702ee55c0faa6d71be8b1f5e555e8ff | 2,032 | pokechu | MIT License |
src/main/kotlin/me/oriharel/playershops/ShopCommands.kt | Heknon | 260,407,503 | false | null | package me.oriharel.playershops
import co.aikar.commands.BaseCommand
import co.aikar.commands.annotation.*
import co.aikar.commands.bukkit.contexts.OnlinePlayer
import me.oriharel.playershops.shops.shop.ShopSetting
import me.oriharel.playershops.shops.shop.ShopType
import me.oriharel.playershops.utilities.Utils.giveIt... | 0 | Kotlin | 0 | 0 | 61711720d33b9c5040de41d0a0e07cb0de739d0a | 1,590 | playershops | MIT License |
lgutilsk/src/main/java/br/com/luan2/lgutilsk/utils/ViewPagerExtension.kt | luangs7 | 130,876,572 | false | null | package br.com.luan2.lgutilsk.utils
import android.support.v4.view.ViewPager
/**
* Created by <NAME> on 06/06/18.
*/
fun ViewPager.back(animate: Boolean = true) = setCurrentItem(currentItem - 1, animate)
fun ViewPager.forward(animate: Boolean = true) = setCurrentItem(currentItem + 1, animate)
fun ViewPager.i... | 0 | Kotlin | 0 | 1 | 657293b6d8f131bfafea5d7fa18c17a01729cbc8 | 446 | LGUtilsK | Apache License 2.0 |
src/main/kotlin/io/github/aedans/katalyst/data/Fix.kt | MaTriXy | 120,173,665 | true | {"Kotlin": 39819} | package io.github.aedans.katalyst.data
import arrow.*
import arrow.typeclasses.Functor
import io.github.aedans.katalyst.typeclasses.*
/**
* Type level combinator for obtaining the fixed point of a type.
* This type is the type level encoding of primitive recursion.
*/
@higherkind
data class Fix<out A>(val unfix: H... | 0 | Kotlin | 0 | 0 | 59254b3a8d5fe96f965bfe8d0e95b0157df6f288 | 963 | Katalyst | MIT License |
plugins/com.gridnine.jtasks.server.core/source/com/gridnine/jtasks/server/core/project/ui/ProjectEditorHandler.kt | gn-avramenko | 387,875,707 | false | null | /*****************************************************************
* Gridnine AB http://www.gridnine.com
* Project: Jasmine
*****************************************************************/
package com.gridnine.jtasks.server.core.project.ui
import com.gridnine.jasmine.common.core.model.TextBoxConfiguration
import... | 0 | Kotlin | 0 | 0 | df8ac4f48788042408397764c55fb6747b10008c | 2,176 | jtasks | MIT License |
plugins/com.gridnine.jtasks.server.core/source/com/gridnine/jtasks/server/core/project/ui/ProjectEditorHandler.kt | gn-avramenko | 387,875,707 | false | null | /*****************************************************************
* Gridnine AB http://www.gridnine.com
* Project: Jasmine
*****************************************************************/
package com.gridnine.jtasks.server.core.project.ui
import com.gridnine.jasmine.common.core.model.TextBoxConfiguration
import... | 0 | Kotlin | 0 | 0 | df8ac4f48788042408397764c55fb6747b10008c | 2,176 | jtasks | MIT License |
app/src/main/java/com/niyaj/popos/features/employee/presentation/add_edit/AddEditEmployeeEvent.kt | skniyajali | 579,613,644 | false | null | package com.niyaj.popos.features.employee.presentation.add_edit
sealed class AddEditEmployeeEvent{
data class EmployeeNameChanged(val employeeName: String) : AddEditEmployeeEvent()
data class EmployeePhoneChanged(val employeePhone: String) : AddEditEmployeeEvent()
data class EmployeeSalaryChanged(val em... | 4 | Kotlin | 0 | 1 | 6e00bd5451336314b99f6ae1f1f43eea0f2079ad | 885 | POS-Application | MIT License |
blog/src/main/java/com/blog/model/BlogTagModel.kt | android-develop-team | 104,902,767 | false | null | package com.blog.model
/**
* by y on 24/11/2017.
*/
class BlogTagModel(var title: String, var littleTitle: String, var detailUrl: String, var type: Int)
| 0 | Kotlin | 0 | 0 | 5bcaa3a94ade134f750b2ebd9e10d472d7ef9772 | 156 | AppK | Apache License 2.0 |
src/main/java/com/everis/everledger/util/Util.kt | earizon | 87,087,422 | false | null | package com.everis.everledger.util
import com.everis.everledger.util.HTTPInterledgerException
import io.vertx.core.AsyncResult
import io.vertx.core.Vertx
import io.vertx.core.VertxOptions
import io.vertx.core.json.Json
import io.vertx.core.json.JsonObject
import org.apache.commons.lang3.math.NumberUtils
import org.int... | 4 | Kotlin | 0 | 0 | 56d87fb2c2469ee217b2b963c6bfd5434db02d54 | 20,770 | java-vertx-ledger | Apache License 2.0 |
build/icons/compose/vitaminicons/line/LoyaltyCard.kt | Decathlon | 511,157,831 | false | {"Kotlin": 4443549, "HTML": 226066, "Swift": 163852, "TypeScript": 60822, "CSS": 53872, "JavaScript": 33103, "Handlebars": 771} | package com.decathlon.vitamin.compose.vitaminicons.line
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.So... | 1 | Kotlin | 5 | 33 | c2c9cfa43128d412b7b2841cabd76952a13db2e1 | 4,235 | vitamin-design | Apache License 2.0 |
SearchBook/app/src/main/java/ec/com/pmyb/searchbook/model/ImageLinks.kt | PaulMarcelo | 571,028,620 | false | {"Kotlin": 230791} | package ec.com.pmyb.searchbook.model
data class ImageLinks(
val smallThumbnail: String,
val thumbnail: String
)
| 0 | Kotlin | 0 | 0 | dc676a7df798d7f8715779d987317abbbafc6a7b | 121 | u-pd-android-jetpack-compose-comprehensive-bootcamp-2022 | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Book1.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.broken
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,466 | VuesaxIcons | MIT License |
app/src/test/java/com/droibit/autoggler/geofences/LoadTaskTest.kt | droibit | 107,518,827 | false | {"Gradle": 3, "YAML": 1, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Markdown": 1, "JSON": 1, "Proguard": 2, "Kotlin": 90, "Java": 1, "XML": 31} | package com.droibit.autoggler.geofences
import com.droibit.autoggler.data.repository.geofence.Geofence
import com.droibit.autoggler.data.repository.geofence.GeofenceRepository
import com.droibit.autoggler.rule.RxSchedulersOverrideRule
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_kotlin.whenever
... | 0 | Kotlin | 0 | 0 | 10981725d9d89bf90aa5a0f46ae6eb7e29a6b922 | 1,279 | autoggler | Apache License 2.0 |
authentication-service/src/main/kotlin/com/saveourtool/save/authservice/utils/SaveUserDetails.kt | saveourtool | 300,279,336 | false | {"Kotlin": 3427815, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366} | package com.saveourtool.save.authservice.utils
import com.saveourtool.common.entities.User
import com.saveourtool.common.utils.*
import com.fasterxml.jackson.annotation.JsonIgnore
import org.springframework.http.HttpHeaders
import org.springframework.security.core.CredentialsContainer
import org.springframework.secur... | 201 | Kotlin | 3 | 38 | 7e126d4fb23f8527c47ca9fa27282379759d154e | 3,680 | save-cloud | MIT License |
src/jsMain/kotlin/baaahs/JsMain.kt | iamh2o | 399,023,966 | true | {"Kotlin": 2404862, "C++": 464973, "JavaScript": 277897, "GLSL": 125865, "C": 114696, "CMake": 25514, "HTML": 12621, "SCSS": 3940, "CSS": 1456, "Shell": 663} | package baaahs
import baaahs.DeadCodeEliminationDefeater.noDCE
import baaahs.client.WebClient
import baaahs.di.JsAdminClientModule
import baaahs.di.JsBeatLinkPluginModule
import baaahs.di.JsPlatformModule
import baaahs.di.JsWebClientModule
import baaahs.jsx.sim.MosaicApp
import baaahs.jsx.sim.MosaicAppProps
import baa... | 0 | null | 0 | 0 | d713a7a0518925065d2953880ad79da5229c4707 | 5,385 | sparklemotion | MIT License |
app/src/main/java/com/zql/travelassistant/bean/Place.kt | zliu80 | 596,862,076 | false | null | package com.zql.travelassistant.bean
/**
* The http response body will be :
*
{
"html_attributions": [],
"results":
[
{
"formatted_address": "Main St, Denver, CO 80238, USA",
"geometry":
{
"location": { "lat": 39.782267, "lng": -104.8919341 },
"viewport":
{
"northeast":
{ "lat": 39.78361682989273, "lng": -104.89058... | 0 | Kotlin | 0 | 0 | f6d0a9b8507e5f3d566f3578cdba231ab74b1042 | 1,574 | 491finalproject | MIT License |
app/src/main/java/com/mooveit/kotlin/kotlintemplateproject/domain/excecutor/PostExecutionThread.kt | gusaaaaa | 90,760,396 | false | null | package com.mooveit.kotlin.kotlintemplateproject.domain.excecutor
import io.reactivex.Scheduler
interface PostExecutionThread {
val scheduler: Scheduler
}
| 0 | Kotlin | 6 | 0 | b3d8e577e995fad4160b6a6efa6953dbd86b5c68 | 162 | android-kotlin-architecture | MIT License |
src/TwentyFour.kt | htueko | 138,871,970 | false | {"Text": 1, "XML": 7, "Markdown": 1, "Kotlin": 31, "Java": 1} | // Data class
fun main(args: Array<String>) {
// userOne object created from User class
val userOne = User("Bob", 34)
// userTwo object created from User class
val userTwo = User("Bob", 34)
println(userOne)
println(userTwo)
// compare userOne and userTwo
// same value but different ... | 0 | Kotlin | 0 | 0 | 04d1243935e34b663d0e98f4ba5a574c0137fbf1 | 1,545 | Simple-Kotlin | MIT License |
uicorektest/src/main/java/com/mozhimen/uicorektest/UicoreKApplication.kt | mozhimen | 353,952,154 | false | {"Kotlin": 2269633, "Java": 246468, "AIDL": 1012} | package com.mozhimen.uicorektest
import com.mozhimen.basick.elemk.android.app.bases.BaseApplication
import com.mozhimen.basick.lintk.optin.OptInApiDeclare_InManifest
import com.mozhimen.basick.lintk.optin.OptInApiInit_InApplication
import com.mozhimen.basick.lintk.optin.OptInApiMultiDex_InApplication
/**
* @ClassNa... | 0 | Kotlin | 6 | 115 | b8fe0041299e5e13c0479fdd92c97614676a6fe6 | 643 | SwiftKit | Apache License 2.0 |
common/src/main/kotlin/io/goooler/demoapp/common/provider/CommonProvider.kt | Goooler | 188,988,687 | false | {"Kotlin": 153021, "Java": 152} | package io.goooler.demoapp.common.provider
import android.annotation.TargetApi
import android.os.Build
import androidx.core.content.FileProvider
/**
* 7.0 以上行为变更,不可直接 Uri.fromFile(),使用 FileProvider 引用文件
*/
@TargetApi(Build.VERSION_CODES.N)
class CommonProvider : FileProvider()
| 6 | Kotlin | 11 | 70 | fa50451d91c7e553b1e302ffa0a3e3c0f1012d02 | 282 | DemoApp | Apache License 2.0 |
extension/src/main/java/com/stanfit/android/extension/library/imageview/ImageView+Color.kt | stanfit | 258,159,175 | false | null | package com.stanfit.android.extension.library.imageview
import android.content.res.ColorStateList
import android.widget.ImageView
import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
import androidx.core.widget.ImageViewCompat
/**
* Set image tint color.
... | 1 | Kotlin | 0 | 1 | d188377ea090777a5d591fc72d19b5b32fddd6e3 | 737 | android-extension | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/common/tasks/TaskImpl.kt | Murray-Bridge-Bunyips | 495,018,266 | false | null | package org.firstinspires.ftc.teamcode.common.tasks
/**
* Implementation of task system, inherit when creating a task.
*/
interface TaskImpl {
fun init()
fun run()
fun isFinished(): Boolean
} | 0 | Kotlin | 0 | 3 | f3de49cd68d4e8e5aea4669437abd9270960556c | 206 | BunyipsFTC | BSD 3-Clause Clear License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Square6.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,289 | icons | MIT License |
src/test/kotlin/ui/settings/reducer/ChangeNameReducerTest.kt | gmatyszczak | 171,290,380 | false | {"Kotlin": 192668} | package ui.settings.reducer
import app.cash.turbine.test
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.test.runBlockingTest
import model.Category
import model.CategoryScreenElements
import model.ScreenElement
import org.amshove.kluent.shouldB... | 6 | Kotlin | 28 | 147 | baf6d12b12c210e835e2513d9e6d6c1e279c8115 | 1,402 | screen-generator-plugin | Apache License 2.0 |
app/src/main/java/com/foxek/simpletimer/domain/workout/WorkoutInteractorImpl.kt | Foxek | 152,570,565 | false | null | package com.foxek.simpletimer.domain.workout
import com.foxek.simpletimer.common.utils.Constants
import com.foxek.simpletimer.data.model.Round
import com.foxek.simpletimer.data.model.Workout
import com.foxek.simpletimer.data.database.TimerDAO
import javax.inject.Inject
import io.reactivex.Completable
import io.reacti... | 0 | Kotlin | 1 | 5 | 74a69a2e4d90d57104271eec0b81baaedb41dad1 | 1,940 | WiseTimer | Apache License 2.0 |
RidesService/src/main/kotlin/infrastructure/database/RideRepository.kt | sceredi | 716,524,848 | false | {"Kotlin": 44542, "Go": 14309, "HTML": 8432, "Java": 1853, "Dockerfile": 1296, "JavaScript": 200} | package it.unibo.sap.infrastructure.database
import it.unibo.sap.domain.Ride
/**
* Repository used to manage rides.
*/
interface RideRepository {
/**
* Saves a ride.
* @param ride the ride to save
* @return the saved ride or an exception if the ride could not be saved
*/
fun saveRide(rid... | 0 | Kotlin | 0 | 0 | 32da1e01f87bb33a6e0b74af58a32eb6a6b45762 | 987 | sap-assignment-5 | MIT License |
RidesService/src/main/kotlin/infrastructure/database/RideRepository.kt | sceredi | 716,524,848 | false | {"Kotlin": 44542, "Go": 14309, "HTML": 8432, "Java": 1853, "Dockerfile": 1296, "JavaScript": 200} | package it.unibo.sap.infrastructure.database
import it.unibo.sap.domain.Ride
/**
* Repository used to manage rides.
*/
interface RideRepository {
/**
* Saves a ride.
* @param ride the ride to save
* @return the saved ride or an exception if the ride could not be saved
*/
fun saveRide(rid... | 0 | Kotlin | 0 | 0 | 32da1e01f87bb33a6e0b74af58a32eb6a6b45762 | 987 | sap-assignment-5 | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/logs/CfnAccountPolicyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.logs
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.logs.CfnAccountPolicy
import software.amazon.awscdk.services.logs.CfnAccountPolicyProps
import software.construct... | 1 | Kotlin | 0 | 0 | a1cf8fbfdfef9550b3936de2f864543edb76348b | 934 | aws-cdk-kt | Apache License 2.0 |
security-3ds/src/main/java/com/airwallex/android/threedsecurity/exception/ThreeDSException.kt | airwallex | 231,053,387 | false | {"Kotlin": 859315} | package com.airwallex.android.threedsecurity.exception
import com.airwallex.android.core.exception.AirwallexException
class ThreeDSException(
message: String
) : AirwallexException(null, null, 0, message)
| 2 | Kotlin | 11 | 7 | 2fdc9577c3f02ef5c4f193ea58e9683793c76415 | 211 | airwallex-payment-android | MIT License |
src/main/java/kr/pe/ecmaxp/thumbsf/signal/ControlPauseSignal.kt | EcmaXp | 126,013,640 | false | null | package kr.pe.ecmaxp.thumbsf.signal
class ControlPauseSignal(value: Any? = null) : ControlSignal(value)
| 3 | Python | 7 | 42 | ddc36c39f119db8d7509d326a7ec0a2e327ffb07 | 105 | OpenPython | MIT License |
app/src/main/java/ar/com/wolox/android/cookbook/recipepicker/RecipePickerPresenter.kt | FedericoSanucciWX | 202,411,186 | true | {"Kotlin": 205998, "Python": 14314, "Shell": 1225, "Ruby": 171} | package ar.com.wolox.android.cookbook.recipepicker
import ar.com.wolox.wolmo.core.presenter.BasePresenter
import javax.inject.Inject
class RecipePickerPresenter @Inject constructor() : BasePresenter<RecipePickerView>() {
override fun onViewAttached() {
super.onViewAttached()
view.showRecipes(Rec... | 0 | Kotlin | 0 | 0 | 4aa2809d75abcecf36279e7d596ffd21fee9dcbe | 1,108 | wolmo-cookbook-android | MIT License |
app/src/main/java/com/jrektor/skripsi/verification/ForgotPinActivity.kt | ichwansh03 | 600,659,408 | false | null | package com.jrektor.skripsi.verification
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.android.volley.Response
import com.android.volley.toolbox.StringRequest
import com.android.volley.toolbox... | 0 | Kotlin | 0 | 3 | 47d3654008b154de124fc80d0801f4c962b928c9 | 2,833 | android-pos | Apache License 2.0 |
backend/src/main/kotlin/com/github/davinkevin/podcastserver/tag/TagHandler.kt | davinkevin | 13,350,152 | false | null | package com.github.davinkevin.podcastserver.tag
import org.springframework.stereotype.Component
import org.springframework.web.reactive.function.server.ServerRequest
import org.springframework.web.reactive.function.server.ServerResponse
import org.springframework.web.reactive.function.server.ServerResponse.notFound
im... | 1 | null | 44 | 187 | 1f855003f8f1490d9e3c63e3e8fc24484a83b1ae | 1,400 | Podcast-Server | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.