path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/commonMain/kotlin/data/items/LightbringerWristguards.kt | marisa-ashkandi | 332,658,265 | false | null | package `data`.items
import `data`.Constants
import `data`.buffs.Buffs
import `data`.itemsets.ItemSets
import `data`.model.Color
import `data`.model.Item
import `data`.model.ItemSet
import `data`.model.Socket
import `data`.model.SocketBonus
import `data`.socketbonus.SocketBonuses
import character.Buff
import character... | 21 | null | 11 | 25 | 9cb6a0e51a650b5d04c63883cb9bf3f64057ce73 | 1,917 | tbcsim | MIT License |
library/src/test/java/com/friendoye/recyclerxray/RecyclerXRayTest.kt | friendoye | 266,419,873 | false | {"Kotlin": 194671, "Shell": 819} | package com.friendoye.recyclerxray
import com.friendoye.recyclerxray.internal.RecyclerXRayApi
import io.mockk.Called
import io.mockk.mockk
import io.mockk.verify
import org.junit.After
import org.junit.Assert
import org.junit.Test
class RecyclerXRayTest {
@After
fun teardown() {
XRayInitializer.reset... | 15 | Kotlin | 1 | 13 | dfac034f9a2e728a2f2d055a0cf105737a95f678 | 1,311 | RecyclerXRay | MIT License |
libraries/tools/kotlin-gradle-plugin/src/functionalTest/kotlin/org/jetbrains/kotlin/gradle/dependencyResolutionTests/SourceSetDependenciesResolution.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | /*
* Copyright 2010-2024 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.gradle.dependencyResolutionTests
import org.gradle.api.Project
import org.gradle... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 4,304 | kotlin | Apache License 2.0 |
app/src/main/java/edumate/app/navigation/ClassDetailsNavHost.kt | mubashirpa | 605,945,315 | false | {"Kotlin": 833094} | package edumate.app.navigation
import androidx.compose.material3.SnackbarHostState
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavHostController
import androidx.navigation.NavType
import androidx.navigat... | 0 | Kotlin | 0 | 0 | 1bc4506163dc73821d790822de66460b603836f8 | 11,843 | Edumate | Apache License 2.0 |
kotlin/ktor/pokedex/src/main/kotlin/com/pradyotprkshpokedex/domain/modal/Platinum.kt | pradyotprksh | 385,586,594 | false | null | package com.example.myapplication.data.remote.dto
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Platinum(
@SerialName("back_default") val backDefault: String?,
@SerialName("back_female") val backFemale: String?,
@SerialName("back_shiny") val bac... | 0 | null | 11 | 24 | da2054de505260bdfa5ffa6d67674f0fa5ba8d3c | 647 | development_learning | MIT License |
android/app/src/main/java/hu/sztomek/wheresmybuddy/presentation/common/ListData.kt | sztomek | 126,842,323 | false | {"Markdown": 4, "Ignore List": 4, "Gradle": 3, "XML": 82, "Java Properties": 1, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Kotlin": 224, "Java": 1, "JSON with Comments": 2, "JSON": 2, "JavaScript": 1} | package hu.sztomek.wheresmybuddy.presentation.common
interface ListData<out T: Any> {
val results: List<T>
} | 0 | Kotlin | 0 | 1 | 9cf2842a4ad380c9b5d1f6524cf7893c6eb27946 | 115 | buddyfinder | Apache License 2.0 |
src/main/kotlin/dev/voqal/assistant/tool/text/BackspaceTool.kt | voqal | 716,228,492 | false | {"Kotlin": 1209055, "Java": 493485, "JavaScript": 13007, "Go": 10765, "Python": 9638, "TypeScript": 828, "Groovy": 568, "PHP": 315, "Rust": 308} | package dev.voqal.assistant.tool.text
import com.aallam.openai.api.chat.Tool
import com.aallam.openai.api.core.Parameters
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
import dev.voqal.assistant.VoqalDirective
import dev.voqal.assistant.focus.DetectedIntent
import dev.voqal... | 1 | Kotlin | 8 | 90 | 1a4eac0c4907c44a88288d6af6a686b97b003583 | 1,881 | coder | Apache License 2.0 |
plugins/kotlinx-serialization/kotlinx-serialization.k2/src/org/jetbrains/kotlinx/serialization/compiler/fir/services/FirSerializablePropertiesProvider.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 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.kotlinx.serialization.compiler.fir.services
import org.jetbrains.kotlin.descriptors.Vis... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 5,327 | kotlin | Apache License 2.0 |
src/main/kotlin/com/levels/kafka/Producer.kt | karlazzampersonal | 456,272,157 | false | {"Kotlin": 9291} | package com.levels.kafka
import org.apache.kafka.clients.producer.KafkaProducer
import java.util.*
class Producer {
fun <K, V> createProducer(props: Properties): KafkaProducer<K, V> {
return KafkaProducer(props)
}
}
| 0 | Kotlin | 0 | 0 | 1cc018d936b894d94dce480424c94d3404e35772 | 234 | ktor-kafka | Apache License 2.0 |
jvm-common/src/main/kotlin/org/digma/intellij/plugin/idea/execution/handlers/OpenLibertyServerRunConfigurationInstrumentationHandler.kt | digma-ai | 472,408,329 | false | {"Kotlin": 1290991, "Java": 542977, "C#": 115880, "HTML": 15494, "FreeMarker": 13547, "Shell": 6494} | package org.digma.intellij.plugin.idea.execution.handlers
import com.intellij.openapi.components.service
import org.digma.intellij.plugin.execution.RunConfigurationInstrumentationService
import org.digma.intellij.plugin.idea.execution.services.OpenLibertyRunConfigurationInstrumentationService
class OpenLibertyServerR... | 427 | Kotlin | 7 | 22 | 8995a81e2ede5d60ec5979319a876a1a9026b922 | 625 | digma-intellij-plugin | MIT License |
src/client/kotlin/z3roco01/meowclient/module/modules/LeftStatusEffectsModule.kt | z3roco01 | 782,233,287 | false | {"Kotlin": 13825, "Java": 9891} | package z3roco01.meowclient.module.modules
import z3roco01.meowclient.module.Module
// Moves status effect overlay to the left
class LeftStatusEffectsModule : Module("l_effect") | 0 | Kotlin | 0 | 0 | 26761a7d1bb253284904b5d576ce36b91a6ff2f9 | 179 | meow-client | The Unlicense |
plugin/src/main/kotlin/io/ktor/plugin/features/Docker.kt | ktorio | 478,869,199 | false | null | package io.ktor.plugin.features
import com.google.cloud.tools.jib.gradle.JibExtension
import com.google.cloud.tools.jib.gradle.JibPlugin
import com.google.cloud.tools.jib.gradle.JibTask
import com.google.cloud.tools.jib.gradle.TargetImageParameters
import org.gradle.api.*
import org.gradle.api.provider.ListProperty
im... | 9 | null | 8 | 58 | a0c22edecc8d430842b0534b123ad5231f32d4a1 | 10,324 | ktor-build-plugins | Apache License 2.0 |
app/src/main/java/com/manoj/dlt/ui/TutorialUtil.kt | ManojMadanmohan | 52,667,086 | false | null | package com.manoj.dlt.ui
import android.app.Activity
import android.view.View
import com.getkeepsafe.taptargetview.TapTarget
import com.getkeepsafe.taptargetview.TapTargetSequence
import com.manoj.dlt.R
object TutorialUtil{
@JvmStatic
fun showTutorial(activity: Activity, onboardingInput: View, onboardingLaun... | 2 | null | 1 | 19 | d8688cdb280290fa0c8e32ba6eb1164c020563fb | 1,598 | dlt | MIT License |
src/main/kotlin/com/dzirbel/kotify/network/model/SpotifyTimeInterval.kt | dzirbel | 211,595,180 | false | null | package com.dzirbel.kotify.network.model
import kotlinx.serialization.Serializable
@Serializable
data class SpotifyTimeInterval(
/** The starting point (in seconds) of the time interval. */
val start: Float,
/** The duration (in seconds) of the time interval. */
val duration: Float,
/** The conf... | 0 | null | 0 | 9 | 2f8879a43f5741d42811ef90cf12f07581599ed9 | 412 | kotify | MIT License |
server/src/main/kotlin/org/reckful/archive/twitter/server/dto/MediaDTO.kt | ReckfulArchive | 632,190,129 | false | null | package org.reckful.archive.twitter.server.dto
import io.swagger.v3.oas.annotations.media.Schema
@Schema(
name = "Media",
description = "Media file information."
)
class MediaDTO(
@Schema(description = "Pre-defined type of media.", allowableValues = ["photo", "gif", "video"])
val type: String,
@S... | 8 | Kotlin | 0 | 0 | 10e5ab61116a0864b47c37f2e3ff9860d22976e4 | 858 | twitter-server | MIT License |
app/src/main/java/io/kotlinthree/extension/KThread.kt | KotlinThree | 48,309,064 | false | null | package io.kotlinthree.extension
/**
* Created by jameson on 12/19/15.
*/
import android.os.Handler
import android.os.Looper
fun runAsync(action: () -> Unit) {
Thread(Runnable(action)).start()
}
fun runOnUiThread(action: () -> Unit) {
Handler(Looper.getMainLooper()).post(Runnable(action))
}
fun runDelaye... | 1 | null | 1 | 6 | 506d4a1782e506fa3adc4f1bc31560c6b0f128b9 | 569 | kotlin_zhihu | Apache License 2.0 |
app/src/main/java/com/ruben/epicworld/data/repository/GamesRepositoryImpl.kt | rubenquadros | 391,401,374 | false | null | package com.ruben.epicworld.data.repository
import com.ruben.epicworld.data.DataSource
import com.ruben.epicworld.data.mapper.ErrorMapper
import com.ruben.epicworld.data.mapper.GamesMapper
import com.ruben.epicworld.domain.entity.base.Record
import com.ruben.epicworld.domain.entity.gamedetails.GameDetailsEntity
import... | 1 | Kotlin | 9 | 81 | 215317852936a0c0849b6434e030d0ecb9be8546 | 2,505 | Jetpack-Compose-Video-Games-Example | Apache License 2.0 |
device-server/src/main/kotlin/com/badoo/automation/deviceserver/controllers/DevicesController.kt | badoo | 133,063,088 | false | null | package com.badoo.automation.deviceserver.controllers
import com.badoo.automation.deviceserver.EmptyMap
import com.badoo.automation.deviceserver.JsonMapper
import com.badoo.automation.deviceserver.data.*
import com.badoo.automation.deviceserver.host.management.DeviceManager
import com.fasterxml.jackson.databind.JsonNo... | 2 | null | 11 | 39 | 2569119e7d074356a320f5440470f74e1f41e4f3 | 4,956 | ios-device-server | MIT License |
mobilesecurity/src/main/java/android/thakur/com/mobilesecurity/services/jobs/JobsReciever.kt | ankitthakur | 150,006,488 | false | null | @file:Suppress("NAME_SHADOWING")
package android.thakur.com.mobilesecurity.services.jobs
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.thakur.com.mobilesecurity.loggerUtil.Logger
import android.thakur.com.mobilesecurity.services.MSServices
intern... | 0 | Kotlin | 1 | 0 | 7e6f09d6dc867dab7cc0e88557ed65db5ba74497 | 768 | MobileSecurity-Android | MIT License |
platform/lang-impl/src/com/intellij/platform/backend/documentation/impl/DocumentationRequest.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.backend.documentation.impl
import com.intellij.model.Pointer
import com.intellij.platform.backend.documentation.DocumentationTarget
import com.intellij.platform.backend... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 479 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/taskmangamentapp/MainActivity.kt | ravinduiddamalgoda | 799,694,674 | false | {"Kotlin": 10416} | package me.sunera.taskSet
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines... | 0 | Kotlin | 0 | 0 | 092861e03c7c5874be7291d721f9e43c4eddbfe7 | 1,822 | MAD_IT22925336 | MIT License |
statistics/src/main/java/com/duckduckgo/app/statistics/AtbInitializer.kt | duckduckgo | 78,869,127 | false | null | /*
* Copyright (c) 2019 DuckDuckGo
*
* 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 ... | 62 | null | 870 | 3,310 | 5dd3f5de3013e80ddf045ff2d539773bb73cdeee | 2,235 | Android | Apache License 2.0 |
clevertap-core/src/main/java/com/clevertap/android/sdk/db/CtDatabase.kt | CleverTap | 42,078,482 | false | {"Java": 1804916, "Kotlin": 1661309, "HTML": 10233} | package com.clevertap.android.sdk.db
import android.annotation.SuppressLint
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
import com.clevertap.android.sdk.CleverTapInstanceConfig
import com.clevertap.android.sdk.Constants
import com.clevert... | 6 | Java | 74 | 80 | 4b1ea7577e14f9abb68492ad09b36cf01c3b7c48 | 12,508 | clevertap-android-sdk | MIT License |
increase-kotlin-core/src/main/kotlin/com/increase/api/services/async/simulations/PhysicalCardServiceAsync.kt | Increase | 614,596,742 | false | null | @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.increase.api.services.async.simulations
import com.increase.api.core.RequestOptions
import com.increase.api.models.PhysicalCard
import com.increase.api.models.SimulationPhysicalCardShipmentAdvanceParams
interface P... | 1 | null | 0 | 5 | dc1361d08cb41ff45817c2e7638f53356f15cf8e | 730 | increase-kotlin | Apache License 2.0 |
plugins/space/src/main/kotlin/com/intellij/space/vcs/review/SpaceReviewToolwindowEmptyComponent.kt | Ret-Mode | 346,431,027 | false | null | // Copyright 2000-2021 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.space.vcs.review
import com.intellij.openapi.project.Project
import com.intellij.space.components.SpaceWorkspaceComponent
import com.intellij.space.messages.... | 1 | null | 1 | 1 | 8dc0867bcc8101279cba2f54f6c009e1cfa2eb50 | 2,587 | intellij-community | Apache License 2.0 |
spring-bukkit-serialization/src/main/kotlin/kr/summitsystems/springbukkit/serialization/ConfigurationSerializableRegistry.kt | summit-systems | 728,399,361 | false | {"Kotlin": 150498} | package kr.summitsystems.springbukkit.serialization
import org.bukkit.configuration.serialization.ConfigurationSerializable
interface ConfigurationSerializableRegistry {
fun <T : ConfigurationSerializable> register(clazz: Class<T>, alias: String)
fun findRegisteredAll(): Map<String, Class<out ConfigurationSe... | 0 | Kotlin | 0 | 12 | fc7b86e7842b1378b67f9bf069cfa46f317a21ce | 334 | spring-bukkit | Apache License 2.0 |
app/src/main/kotlin/com/babelia/fansyn/navigation/AlbumsScreenType.kt | Babelia13 | 551,891,953 | false | {"Kotlin": 309398, "Shell": 3830} | /*
* Copyright 2022 Babelia
*
* 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... | 0 | Kotlin | 0 | 0 | 0fe3a5c9c84a6bad85a1c999b6fb66d4c2cbb478 | 2,189 | FancySynologyAudioPlayer | Apache License 2.0 |
app/src/main/java/com/ali_sajjadi/daneshjooyarapp/mvp/view/ViewVideosFragment.kt | alisajjadi751 | 847,226,122 | false | {"Kotlin": 62083} | package com.ali_sajjadi.daneshjooyarapp.mvp.view
import DataListVideo
import android.content.Context
import android.view.LayoutInflater
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.ali_sajjadi.daneshjooyarapp.adapter.recycler.CourseVideosRecyclerA... | 0 | Kotlin | 0 | 0 | 9516991e9bd9527c7ad940a21c48e0deb8e3b154 | 826 | daneshjooyar-App | MIT License |
jcv-db-mongo/src/main/kotlin/com/ekino/oss/jcv/db/mongo/config/DBMongoValidators.kt | ekino | 217,051,634 | false | null | package com.ekino.oss.jcv.db.mongo.config
import com.ekino.oss.jcv.core.comparator.RegexComparator
import com.ekino.oss.jcv.core.validator.validators
import com.ekino.oss.jcv.db.config.DBValidators
object DBMongoValidators {
private const val mongoDefaultIdRegex = "^[a-f\\d]{24}$"
@JvmStatic
fun default... | 6 | null | 1 | 6 | 6723320f89d28781f92f652ea25e51d30c495870 | 502 | jcv-db | MIT License |
jvm/jvm-analysis-tests/src/com/intellij/codeInspection/tests/test/junit/JUnitMixedFrameworkInspectionTestBase.kt | ingokegel | 72,937,917 | false | null | package com.intellij.codeInspection.tests.test.junit
import com.intellij.codeInspection.test.junit.JUnitMixedFrameworkInspection
import com.intellij.codeInspection.tests.UastInspectionTestBase
import com.intellij.openapi.module.Module
import com.intellij.openapi.roots.ContentEntry
import com.intellij.openapi.roots.Mod... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,060 | intellij-community | Apache License 2.0 |
app/src/main/java/com/alex/morgan/bearlist/BearListFragment.kt | axemorgan | 115,024,266 | false | {"Gradle": 5, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 4, "XML": 21, "Kotlin": 28, "Java Properties": 1} | package com.alex.morgan.bearlist
import android.content.Context
import android.os.Bundle
import android.view.*
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.swiperefreshlayout.widget.SwipeRefreshLa... | 0 | Kotlin | 0 | 0 | b506d2417f192e02bf460fa66cdcbdc960230661 | 3,539 | UnBearable | Apache License 2.0 |
FishBun/src/main/java/com/sangcomz/fishbun/ui/picker/model/PickerMenuViewData.kt | sangcomz | 45,672,765 | false | null | package com.sangcomz.fishbun.ui.picker.model
import android.graphics.drawable.Drawable
data class PickerMenuViewData(
val drawableDoneButton: Drawable?,
val drawableAllDoneButton: Drawable?,
val strDoneMenu: String?,
val colorTextMenu: Int,
val strAllDoneMenu:String?,
val isUseAllDoneButton: B... | 49 | null | 2 | 644 | 128187b62072720f5ec46e0824cb642fec488aac | 329 | FishBun | Apache License 2.0 |
presentation/src/main/java/org/lotka/xenon/presentation/screen/auth/login/LoginScreen.kt | armanqanih | 860,856,530 | false | {"Kotlin": 281646} | package org.lotka.xenon.presentation.screen.auth.login
import android.content.Context
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.lay... | 0 | Kotlin | 0 | 0 | 894b4ba5b113d951ee4975c66cbbe3115f3239b2 | 9,324 | ModernNews | Apache License 2.0 |
bin/main/com/jahnelgroup/controller/GlobalModelAttributes.kt | JahnelGroup | 168,455,772 | false | {"HTML": 130381, "Kotlin": 99201, "JavaScript": 23425, "TSQL": 17712, "CSS": 5254, "Dockerfile": 544} | package com.jahnelgroup.controller
import com.jahnelgroup.domain.context.UserContextService
import org.springframework.web.bind.annotation.ControllerAdvice
import org.springframework.web.bind.annotation.ModelAttribute
@ControllerAdvice
class ModelControllerAdvice(var userContextService: UserContextService){
@Mod... | 0 | HTML | 2 | 1 | d97822fd4a348d83a984c031a55b2b0b523f2f04 | 499 | thymeleaf-starter | MIT License |
samples/kotlin-sample/src/main/java/com/apollographql/apollo/kotlinsample/data/ApolloWatcherService.kt | zhuhaow | 256,031,598 | true | {"Java": 1935643, "Kotlin": 1244793, "ANTLR": 3780, "Shell": 868} | package com.apollographql.apollo.kotlinsample.data
import android.util.Log
import com.apollographql.apollo.ApolloCall
import com.apollographql.apollo.ApolloClient
import com.apollographql.apollo.api.Operation
import com.apollographql.apollo.api.Response
import com.apollographql.apollo.exception.ApolloException
import ... | 5 | null | 0 | 0 | 2c1870bf0186064e50ad5f676aee05f53f12b85f | 3,317 | apollo-android | MIT License |
app/src/main/java/com/nivs/all/viewmodeleg/MainViewModelmodel.kt | niva-cu | 715,053,095 | false | {"Kotlin": 178887, "Java": 2596} | package com.nivs.all.viewmodeleg
import androidx.lifecycle.ViewModel
class MainViewModelmodel: ViewModel() {
var count : Int = 0
fun changeData(){
count++
}
} | 0 | Kotlin | 0 | 0 | 7cef99bf38c66469ff21deca686c7ca9018e08fd | 181 | alltopics | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Edit2.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 4,333 | VuesaxIcons | MIT License |
app/src/main/java/com/kcteam/features/stockAddCurrentStock/interface/ShowStockOnClick.kt | DebashisINT | 558,234,039 | false | {"Kotlin": 11332958, "Java": 966929} | package com.kcteam.features.stockAddCurrentStock.`interface`
interface ShowStockOnClick {
fun stockListOnClick(stockID:String)
} | 0 | Kotlin | 1 | 1 | a9aabcf48662c76db18bcece75cae9ac961da1ed | 133 | KidCity | Apache License 2.0 |
data/src/main/java/cat/helm/basearchitecture/data/entity/TvShowDataEntity.kt | jstr14 | 158,037,824 | false | null | package cat.helm.basearchitecture.data.entity
import cat.helm.basearchitecture.data.repository.datasource.Identifiable
/**
* Created by Borja on 1/6/17.
*/
data class TvShowDataEntity(val popularity: Float, val id: Int, val name: String, val backdrop_path: String, val overview: String) : Identifiable<Int> {
ove... | 0 | Kotlin | 0 | 0 | 63c7035dfb077c6585a274be7469be9685ea1cc2 | 351 | SuperDragonBallHeroes | Apache License 2.0 |
app/src/main/java/com/zj/play/profile/rank/user/UserRankActivity.kt | zhangjing123 | 319,567,001 | true | {"Kotlin": 298820} | package com.zj.play.profile.rank.user
import android.content.Context
import android.content.Intent
import androidx.lifecycle.ViewModelProvider
import com.zj.play.R
import com.zj.play.base.BaseListActivity
import kotlinx.android.synthetic.main.activity_base_list.*
class UserRankActivity : BaseListActivity() {
pri... | 0 | null | 0 | 0 | fe7a4cf901e69648875b0e76586bfaee3c6ab561 | 1,466 | PlayAndroid | MIT License |
app/src/main/java/ss/team16/nthulostfound/domain/usecase/DeleteItemUseCase.kt | NTHULostFound | 503,250,151 | false | null | package ss.team16.nthulostfound.domain.usecase
import ss.team16.nthulostfound.domain.model.ItemData
import ss.team16.nthulostfound.domain.repository.ItemRepository
class DeleteItemUseCase(
private val itemRepository: ItemRepository
) {
suspend operator fun invoke(item: ItemData): Result<ItemData> {
re... | 0 | Kotlin | 0 | 2 | 5b4b880abb320e5ebd2b03c3cc1da4a94012abcc | 364 | NTHULostFound | MIT License |
src/main/kotlin/com/networkedassets/gherkin/runner/report/data/LogEntry.kt | NetworkedAssets | 120,890,153 | false | null | package com.networkedassets.gherkin.runner.report.data
data class LogEntry(val message: String, val indent: Int) | 3 | null | 4 | 7 | b57d6f90acd5183511aa988040d4f33ddcba5bdb | 113 | gherkin-runner | Apache License 2.0 |
src/commonMain/kotlin/dev/zxilly/notify/sdk/entity/MessageOption.kt | ZNotify | 500,846,735 | false | {"Kotlin": 17115, "JavaScript": 425} | package dev.zxilly.notify.sdk.entity
data class MessageOption(
val content: String,
val title: String = "Notification",
val long: String = "",
val priority: Priority = Priority.Normal
) | 3 | Kotlin | 1 | 0 | d5284403ab2daddd38f83be267760b502fb3d17e | 202 | kt-sdk | Apache License 2.0 |
src/main/kotlin/xyz/hetula/viola/ViolaMusicPlayer.kt | hetula | 105,060,567 | false | null | /*
* MIT License
*
* Copyright (c) 2017 <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, m... | 0 | Kotlin | 0 | 0 | eceaef948c49cd47afbc91967f1bb458fad6a8e6 | 4,533 | viola-core | MIT License |
buildSrc/src/main/kotlin/dependencies.kt | ohyooo | 449,932,064 | false | null | object Ext {
const val applicationId = "com.ohyooo.qrscan"
const val compileSdk = 32
const val buildToolsVersion = "32.0.0"
const val minSdk = 21
const val targetSdk = 32
const val versionCode = 5
const val versionName = "2.3"
}
object Libs {
private const val kotlin_version = "1.6.10"
... | 0 | Kotlin | 0 | 0 | 883a51a16db6594efbc0ef6fdfe4a29ace4f5388 | 3,859 | QRScan | Apache License 2.0 |
kotlin-eclipse-ui/src/org/jetbrains/kotlin/ui/refactorings/rename/KotlinRenameParticipant.kt | bvfalcon | 263,980,575 | false | null | /*******************************************************************************
* Copyright 2000-2015 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.a... | 6 | null | 7 | 43 | e6360b023e1e377325f1d10bda5755e3fc3af591 | 5,544 | kotlin-eclipse | Apache License 2.0 |
fns-hl7-pipeline/fn-structure-validator/src/test/kotlin/gov/cdc/dex/ValidatorFunction.kt | CDCgov | 510,836,864 | false | null | package gov.cdc.dex.validation.structure
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import com.microsoft.azure.functions.*
import com.microsoft.azure.functions.annotation.*
import gov.cdc.dex.azure.EventHubMetadata
import gov.cdc.d... | 119 | Kotlin | 14 | 9 | f164d66658c54e145c7fa932c3151857fcf2b7d0 | 1,174 | data-exchange-hl7 | Apache License 2.0 |
core/src/commonMain/kotlin/maryk/core/processors/datastore/writeMapToStorage.kt | marykdb | 290,454,412 | false | {"Kotlin": 3292459, "JavaScript": 1004} | package maryk.core.processors.datastore
import maryk.core.extensions.bytes.calculateVarByteLength
import maryk.core.extensions.bytes.writeVarBytes
import maryk.core.processors.datastore.StorageTypeEnum.MapSize
import maryk.core.properties.definitions.IsMapDefinition
import maryk.core.properties.definitions.IsPropertyD... | 1 | Kotlin | 1 | 8 | a1e2e988c61067d3fecc952e417e80b4a775ad9c | 1,784 | maryk | Apache License 2.0 |
Compose/BasicswithCompose/PracticeComposeBasics/WaterMe/src/main/java/com/example/waterme/data/AppContainer.kt | pherasymchuk | 723,622,473 | false | null | /*
* Copyright (C) 2023 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 requi... | 0 | null | 0 | 1 | ce3c4db10bbd40adf4bc2aa5d455608a69f02727 | 917 | GoogleCodelabsApps | MIT License |
browser-kotlin/src/jsMain/kotlin/web/animations/CompositeOperation.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6149909} | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package web.animations
// language=JavaScript
@JsName("""(/*union*/{accumulate: 'accumulate', add: 'add', replace: 'replace'}/*union*/)""")
sealed external interface CompositeOpe... | 0 | Kotlin | 6 | 26 | 3fcfd2c61da8774151cf121596e656cc123b37db | 479 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/example/jikgong/history_bottom_sheet_dialogFragment.kt | KT-Beak-Ho | 738,021,615 | false | {"Kotlin": 10475} | package com.example.jikgong
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
class history_bottom_sheet_dialogFragment : BottomSheetDialogFra... | 0 | Kotlin | 3 | 0 | 2cb1f9051eba23ebfe1b3aea49c2cdaa76dcefe0 | 764 | JikGong_co. | MIT License |
src/main/kotlin/io/github/isning/gradle/plugins/cmake/targets/HostTarget.kt | ISNing | 743,468,322 | false | {"Kotlin": 243373} | /*
* Copyright 2024 ISNing
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 1 | f78bd444798d3f33fb2a6259c1e89be298881835 | 1,643 | CMakePlugin | Apache License 1.1 |
UnicornFilePicker/src/main/java/abhishekti7/unicorn/filepicker/FilePicker.kt | ditacristianionut | 330,927,875 | true | {"Java": 23509, "Kotlin": 15648} | package abhishekti7.unicorn.filepicker
import abhishekti7.unicorn.filepicker.models.Config
import abhishekti7.unicorn.filepicker.ui.FilePickerActivity
import android.app.Activity
import android.content.Intent
import androidx.fragment.app.Fragment
import java.lang.ref.WeakReference
class FilePicker private constructor... | 0 | Java | 0 | 1 | cbe9d5864486efdebb9dba76f455de9f823a0875 | 1,879 | UnicornFilePicker | Apache License 2.0 |
app/src/jvmMain/kotlin/ru/ivk1800/diff/feature/repositoryview/domain/CommitsRepository.kt | ivk1800 | 577,871,072 | false | {"Kotlin": 377020} | package ru.ivk1800.diff.feature.repositoryview.domain
import ru.ivk1800.vcs.api.Vcs
import ru.ivk1800.vcs.api.VcsChangeType
import ru.ivk1800.vcs.api.VcsCommit
import ru.ivk1800.vcs.api.command.GetCommitCommand
import ru.ivk1800.vcs.api.command.GetCommitFilesCommand
import ru.ivk1800.vcs.api.command.GetCommitsCommand
... | 0 | Kotlin | 1 | 0 | c4721d7f90b4eaed9634d7855847cdd42a58be3d | 2,341 | diff-compose | MIT License |
app/src/main/java/com/example/take_my_money/presentation/interfaces/IOnClickFavorite.kt | ozielguimaraes | 494,566,896 | false | {"Kotlin": 47595} | package com.example.take_my_money.presentation.interfaces
import com.example.take_my_money.data.dao.CoinEntity
interface IOnClickFavorite {
fun onClickFavorite(coinFavorite: CoinEntity)
}
| 2 | Kotlin | 2 | 1 | a09df3749ac565e30721a3c80b8000c90afd701c | 195 | take-my-money | MIT License |
user/src/main/java/org/the_chance/honeymart/ui/feature/authentication/signup/authentication/AuthScreen.kt | TheChance101 | 647,400,117 | false | {"Kotlin": 1218713} | package org.the_chance.honeymart.ui.feature.authentication.signup.authentication
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMa... | 3 | Kotlin | 7 | 21 | 50200e0ec0802cdadc282b09074a19c96df3220c | 4,614 | Honey-Mart-Android-Client | Apache License 2.0 |
src/main/kotlin/no/nav/brukerdialog/ytelse/pleiepengersyktbarn/søknad/api/domene/arbeid/Arbeidsforhold.kt | navikt | 585,578,757 | false | {"Kotlin": 1442549, "Handlebars": 126943, "Dockerfile": 98} | package no.nav.brukerdialog.ytelse.pleiepengersyktbarn.søknad.api.domene.arbeid
import jakarta.validation.Valid
import no.nav.k9.søknad.felles.type.Periode
import no.nav.k9.søknad.ytelse.psb.v1.arbeidstid.ArbeidstidInfo
import no.nav.k9.søknad.ytelse.psb.v1.arbeidstid.ArbeidstidPeriodeInfo
import no.nav.brukerdialog.u... | 4 | Kotlin | 0 | 0 | 402a0658544afc0f238f3a3c7babd0addad556b0 | 7,096 | k9-brukerdialog-prosessering | MIT License |
src/main/kotlin/no/nav/brukerdialog/ytelse/pleiepengersyktbarn/søknad/api/domene/arbeid/Arbeidsforhold.kt | navikt | 585,578,757 | false | {"Kotlin": 1442549, "Handlebars": 126943, "Dockerfile": 98} | package no.nav.brukerdialog.ytelse.pleiepengersyktbarn.søknad.api.domene.arbeid
import jakarta.validation.Valid
import no.nav.k9.søknad.felles.type.Periode
import no.nav.k9.søknad.ytelse.psb.v1.arbeidstid.ArbeidstidInfo
import no.nav.k9.søknad.ytelse.psb.v1.arbeidstid.ArbeidstidPeriodeInfo
import no.nav.brukerdialog.u... | 4 | Kotlin | 0 | 0 | 402a0658544afc0f238f3a3c7babd0addad556b0 | 7,096 | k9-brukerdialog-prosessering | MIT License |
src/commonTest/kotlin/fr/acinq/lightning/channel/states/SyncingTestsCommon.kt | ACINQ | 243,326,972 | false | null | package fr.acinq.lightning.channel.states
import fr.acinq.bitcoin.ByteVector
import fr.acinq.bitcoin.ScriptFlags
import fr.acinq.bitcoin.Transaction
import fr.acinq.lightning.Feature
import fr.acinq.lightning.blockchain.BITCOIN_FUNDING_SPENT
import fr.acinq.lightning.blockchain.WatchConfirmed
import fr.acinq.lightning... | 18 | Kotlin | 3 | 38 | 57af9b447df16b7a0b537d054bf6112e6d9c13c5 | 4,877 | lightning-kmp | Apache License 2.0 |
src/main/kotlin/io/github/dockyardmc/extentions/ExtendedByteBuf.kt | DockyardMC | 650,731,309 | false | null | package io.github.dockyardmc.extentions
import io.github.dockyardmc.item.ItemStack
import io.github.dockyardmc.item.writeItemStack
import io.github.dockyardmc.scroll.Component
import io.github.dockyardmc.scroll.extensions.toComponent
import io.github.dockyardmc.utils.MathUtils
import io.netty.buffer.ByteBuf
import io.... | 9 | null | 7 | 55 | 9a0eb8f3184123b79b835356ddde526d9eb6df65 | 8,203 | Dockyard | MIT License |
Edu-Cpp/testSrc/com/jetbrains/edu/cpp/CppUtilTest.kt | kirillSenchov | 283,726,841 | true | {"Kotlin": 2674430, "Java": 578303, "HTML": 132288, "CSS": 12844, "Python": 3994, "JavaScript": 315} | package com.jetbrains.edu.cpp
import com.jetbrains.cmake.CMakeListsFileType
import com.jetbrains.edu.learning.EduTestCase
import org.hamcrest.Description
import org.hamcrest.TypeSafeMatcher
import org.junit.Assert.assertThat
class CppUtilTest : EduTestCase() {
fun `test find CMake command - project`() = checkCMake... | 0 | null | 0 | 0 | 1fd0576070c07a273dbc25ec0ab3f72fac5caebd | 1,807 | educational-plugin | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/NoteSharp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/NoteSharp")
package mui.icons.material
@JsName("default")
external val NoteSharp: SvgIconComponent
| 12 | Kotlin | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 182 | kotlin-wrappers | Apache License 2.0 |
androidx-fetcher/src/main/kotlin/land/sungbin/androidx/fetcher/Logger.kt | jisungbin | 829,412,179 | false | {"Kotlin": 71964} | /*
* Developed by <NAME> 2024.
*
* Licensed under the MIT.
* Please see full license: https://github.com/jisungbin/androidx-aosp-viewer/blob/trunk/LICENSE
*/
package land.sungbin.androidx.fetcher
import java.util.logging.Level
import java.util.logging.Logger as JavaLogger
// Timber is an Android library, so we ... | 1 | Kotlin | 0 | 3 | 5242291f54d8d11e44ab85cb1d8a0eec7117b070 | 1,040 | androidx-aosp-viewer | MIT License |
src/main/kotlin/com/grubhub/kotlin/Main.kt | wakingrufus | 107,727,970 | false | {"Gradle": 1, "Text": 1, "Ignore List": 1, "Java": 4, "Kotlin": 23} | package com.grubhub.kotlin
fun main(args: Array<String>) {
System.out.println("OOP: ")
val runner = FizzBuzzRunnerOop(System.out)
runner.fizzBuzz(limit = 15)
System.out.println("Functional: ")
fizzBuzzFunctional(limit = 15)
System.out.println("Functional (isolated): ")
fizzBuzzFunctionIso... | 0 | Kotlin | 0 | 0 | b79169c095b570e20df63affd4dd25caed8fe40b | 340 | writing-testable-functional-kotlin | MIT License |
gdownload/src/main/java/com/tanodxyz/gdownload/CallbacksHandler.kt | tanoDxyz | 490,427,660 | false | null | package com.tanodxyz.gdownload
import android.os.Handler
import android.os.Looper
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import com.tanodxyz.gdownload.executors.BackgroundExecutor
import java.util.*
/**
*The [CallbacksHandler] i... | 0 | Kotlin | 0 | 8 | 35fccc0fafb63c26639a30ab9bc4199e5dfe53e6 | 2,808 | GDownload | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/CameraSpark.kt | walter-juan | 868,046,028 | false | null | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
im... | 0 | null | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,356 | compose-icon-collections | MIT License |
core/src/main/java/se/ltu/emapal/compute/ComputeLogEntry.kt | emanuelpalm | 57,034,203 | false | null | package se.ltu.emapal.compute
import se.ltu.emapal.compute.util.Result
import se.ltu.emapal.compute.util.time.UnixTime
import se.ltu.emapal.compute.util.media.MediaDecoder
import se.ltu.emapal.compute.util.media.MediaEncodable
import se.ltu.emapal.compute.util.media.MediaEncoder
import se.ltu.emapal.compute.util.media... | 1 | null | 1 | 1 | 5a8903ef4fd96867dbb6a8d4bdf5f6c54d5a6827 | 2,414 | palm-compute | MIT License |
seouling/src/main/java/mobile/seouling/com/application/add_spot/SearchByTagResultFragment.kt | seouling | 202,506,383 | false | null | package mobile.seouling.com.application.add_spot
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.ViewModelProviders
import kotlinx.android.synthetic.main.frag_search_by_tag.*
import mobile.seouli... | 0 | Kotlin | 2 | 0 | 2b87bc5949b66f584b5e66919d09fca11d0c7b92 | 3,940 | seouling-android | Apache License 2.0 |
features/obfuscationregionselection/src/main/java/com/kape/obfuscationregionselection/ui/ShadowsocksRegionSelectionScreen.kt | pia-foss | 808,533,574 | false | {"Kotlin": 1249493} | package com.kape.obfuscationregionselection.ui
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.widthIn
import androidx.compos... | 3 | Kotlin | 0 | 4 | 151ea781036e280fcbfecfcb5716c7881fc802c1 | 4,830 | mobile-android | MIT License |
src/main/kotlin/other/mvvm/activity/src/app_package/mvvmAcitivityKt.kt | funaihui | 531,447,396 | false | {"Kotlin": 19854} | package other.mvvm.activity.src.app_package
import other.mvvm.util.layoutName2Binding
/**
* Copyright (c) 2022, Lollitech
* All rights reserved
* author: <EMAIL>
* describe: 生成Activity模板代码
**/
fun mvvmActivityKt(activityClass: String, packageName: String, layoutName: String) = """
package $packageName
import and... | 0 | Kotlin | 0 | 0 | 3e9ec4564101d8df10d9f102e3891790d973ffed | 508 | lollitech-android | Apache License 2.0 |
app/src/main/java/com/skydoves/waterdays/ui/activities/settings/NFCActivity.kt | skydoves | 100,711,724 | false | null | /*
* Copyright (C) 2016 skydoves
*
* 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 ... | 1 | null | 23 | 75 | 0196d34d71e11d0466e8e08e5ceab788e9d7fbbb | 4,364 | WaterDrink | Apache License 2.0 |
src/test/kotlin/com/codeperfection/shipit/controller/TransporterControllerTest.kt | codeperfection | 730,719,882 | false | {"Kotlin": 50566, "Dockerfile": 567} | package com.codeperfection.shipit.controller
import com.codeperfection.shipit.dto.PageDto
import com.codeperfection.shipit.dto.PaginationFilterDto
import com.codeperfection.shipit.exception.clienterror.NotFoundException
import com.codeperfection.shipit.exception.dto.ErrorType
import com.codeperfection.shipit.fixture.*... | 0 | Kotlin | 0 | 0 | fbc1dc3aed31cf83d40fff3f988ca53b4033e0ac | 6,680 | ship-it | MIT License |
core/ui/src/main/kotlin/com/t8rin/imagetoolboxlite/core/ui/utils/helper/ActivityUtils.kt | T8RIN | 767,600,774 | false | null | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under ... | 5 | null | 84 | 8 | f8fe322c2bde32544e207b49a01cfeac92c187ce | 3,893 | ImageToolboxLite | Apache License 2.0 |
compose/src/main/java/de/jensklingenberg/jetpackcomposeplayground/ui/samples/common/Vectors.kt | ravishankarsingh1996 | 223,398,680 | true | {"Kotlin": 274603, "Shell": 5712, "Java": 1172} | /*
* Copyright 2019 Google, 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 agreed to... | 1 | null | 1 | 4 | 2d87fa9dbdd7f89b0d0e3e97f143910e5a3a9e54 | 1,528 | Jetpack-Compose-Playground | MIT License |
common-server/src/commonMain/kotlin/com/toxicbakery/game/dungeon/machine/authentication/AuthenticationMachine.kt | ToxicBakery | 224,311,645 | false | null | package com.toxicbakery.game.dungeon.machine.authentication
import com.toxicbakery.game.dungeon.exception.AuthenticationException
import com.toxicbakery.game.dungeon.exception.NoPlayerWithUsernameException
import com.toxicbakery.game.dungeon.machine.Machine
import com.toxicbakery.game.dungeon.machine.command.CommandMa... | 0 | Kotlin | 0 | 0 | 6d796493fb7674d58b5a6029417618b609f972bd | 4,415 | dungeon | Apache License 2.0 |
src/main/kotlin/thealexhoar/longjoke/HelloWorldIntentHandler.kt | thealexhoar | 138,489,700 | false | {"Kotlin": 69704} | package thealexhoar.longjoke
import com.amazon.ask.dispatcher.request.handler.HandlerInput
import com.amazon.ask.dispatcher.request.handler.RequestHandler
import com.amazon.ask.model.Response
import com.amazon.ask.request.Predicates.intentName
import java.util.*
class HelloWorldIntentHandler : RequestHandler {
o... | 0 | Kotlin | 0 | 0 | 6613f6fc1de00277be09fe5bc06a965e41f0a3ad | 954 | longjoke | MIT License |
FragmentDemo/app/src/main/java/com/renyu/fragmentdemo/fragment/MainFragment1.kt | r17171709 | 23,950,456 | false | null | package com.renyu.fragmentdemo.fragment
import android.util.Log
import androidx.annotation.LayoutRes
import androidx.fragment.app.Fragment
class MainFragment1(@LayoutRes layoutId: Int): Fragment(layoutId) {
override fun onResume() {
super.onResume()
check()
}
override fun onPause() {
... | 8 | null | 333 | 612 | ee75780c1187355d81bab329e62ecaad985d6832 | 672 | StudyDemo | Apache License 2.0 |
simplified-viewer-audiobook/src/main/java/org/nypl/simplified/viewer/audiobook/AudioBookViewer.kt | jonathangreen | 292,624,474 | true | {"Kotlin": 2602716, "Java": 665605, "JavaScript": 10239, "Shell": 5927, "HTML": 557, "CSS": 159} | package org.nypl.simplified.viewer.audiobook
import android.app.Activity
import org.nypl.simplified.books.api.Book
import org.nypl.simplified.books.api.BookFormat
import org.nypl.simplified.http.core.HTTP
import org.nypl.simplified.viewer.spi.ViewerPreferences
import org.nypl.simplified.viewer.spi.ViewerProviderType
i... | 0 | Kotlin | 0 | 0 | d832b391188c86858158ef702f308c6b507ddb61 | 1,638 | Simplified-Android-Core | Apache License 2.0 |
app/src/main/java/com/ltu/m7019e/v23/themoviedb/database/Platforms.kt | Jovali99 | 639,393,965 | false | null | package com.ltu.m7019e.v23.themoviedb.database
import com.ltu.m7019e.v23.themoviedb.model.Platform
import com.ltu.m7019e.v23.themoviedb.model.SpecificPlatform
class Platforms {
var list = mutableListOf<Platform>()
init {
list.add(Platform(SpecificPlatform(name = "PC")))
list.add(Platform(Spe... | 0 | Kotlin | 0 | 1 | c6b7108fe7b912947894ad49043d3ac141e6be26 | 838 | GameDB | MIT License |
scanner/src/main/kotlin/ru/inforion/lab403/common/scanner/scanner.kt | inforion | 175,944,783 | false | {"Kotlin": 551792, "Java": 1271} | @file:Suppress("unused")
package ru.inforion.lab403.common.scanner
import org.reflections.Reflections
import org.reflections.scanners.SubTypesScanner
import org.reflections.util.ClasspathHelper
import org.reflections.util.ConfigurationBuilder
import ru.inforion.lab403.common.extensions.packageName
import kotlin.refle... | 1 | Kotlin | 1 | 1 | e42ce78aa5d230025f197b044db4a698736d1630 | 922 | kotlin-extensions | MIT License |
app/src/main/java/com/oriplastbreezefsm/features/SearchLocation/EditTextAddressTypeModel.kt | DebashisINT | 630,052,678 | false | {"Kotlin": 13742367, "Java": 997699} | package com.oriplastbreezefsm.features.SearchLocation
/**
* Created by bipradip on 28-11-2016.
*/
class EditTextAddressTypeModel {
var value = ""
}
| 0 | Kotlin | 0 | 0 | 01878e357b293a1a67cfa0c2bdd387870736fca9 | 157 | Oriplast | Apache License 2.0 |
common/src/main/kotlin/io/pilgrimdb/common/migrations/operations/Migration.kt | pilgrimdbio | 188,329,665 | false | null | package io.pilgrimdb.common.migrations.operations
import io.pilgrimdb.common.model.ProjectState
data class Migration(
val packageName: String,
val migrationName: String,
val operations: MutableList<Operation> = mutableListOf()
) {
fun mutateState(state: ProjectState): ProjectState {
operation... | 0 | Kotlin | 0 | 3 | ff815a73eef0a3b83db5c8a50b3f8813f30667cc | 387 | pilgrimdb | Apache License 2.0 |
components/src/main/java/com/mercadolibre/android/andesui/message/hierarchy/AndesMessageHierarchy.kt | jorGonzalez291292 | 296,400,886 | false | null | package com.mercadolibre.android.andesui.message.hierarchy
import com.mercadolibre.android.andesui.message.AndesMessage
/**
* Utility class that does two things: Defines the possible styles an [AndesMessage] can take because it's an enum, as you can see.
* But as a bonus it gives you the proper implementation so yo... | 0 | null | 0 | 1 | 5b1d7b395cb60073c044365fef9d0c205c8b68cb | 997 | fury_andesui-android | MIT License |
app/src/main/java/edu/uwp/appfactory/rusd/data/model/RealmString.kt | dakotajd | 120,720,631 | false | null | package edu.uwp.appfactory.rusd.data.model
import io.realm.RealmObject
/**
* Created by dakota on 8/19/17.
*/
open class RealmString() : RealmObject() {
constructor(string: String) : this() {
this.string = string
}
private var string: String = ""
override fun toString(): String {
... | 0 | Kotlin | 0 | 0 | 36fa5a7cf85ab9c6a7a005440f17bec2ec904550 | 342 | Racine-Unified-School-District | MIT License |
network/core/src/main/java/com/yigitozgumus/core/di/ServiceModule.kt | yigitozgumus | 475,998,040 | false | {"Kotlin": 49621} | /*
* Created by yigitozgumus on 4/2/22, 11:44 AM
* Copyright (c) 2022 . All rights reserved.
* Last modified 4/2/22, 11:44 AM
*/
package com.yigitozgumus.core.di
import com.yigitozgumus.api.services.AllCurrenciesService
import com.yigitozgumus.api.services.MarketSearchService
import com.yigitozgumus.core.service.... | 0 | Kotlin | 0 | 0 | ca3ff32aaab6fd96fcee9f7c69098f99d10300ed | 1,238 | DemoCurrencyApplication | MIT License |
app/src/main/kotlin/dev/soupslurpr/beautyxt/Utils.kt | soupslurpr | 647,066,717 | false | {"Kotlin": 341145, "Rust": 40004, "Handlebars": 3740, "AIDL": 1071} | package dev.soupslurpr.beautyxt
import java.security.MessageDigest
fun returnHashSha256(byteArray: ByteArray): String {
return MessageDigest
.getInstance("SHA-256")
.digest(byteArray)
.joinToString("") {
"%02x".format(it)
}
}
| 33 | Kotlin | 7 | 90 | 58d6e0b0af365ce9f5b964107c1d030be0d7b378 | 276 | BeauTyXT | ISC License |
src/main/kotlin/no/nav/syfo/util/VeilederAPIAccessPipeline.kt | navikt | 424,518,784 | false | null | package no.nav.syfo.behandler.api.access
import io.ktor.application.*
import io.ktor.util.pipeline.*
import no.nav.syfo.client.veiledertilgang.VeilederTilgangskontrollClient
import no.nav.syfo.domain.PersonIdentNumber
import no.nav.syfo.util.getBearerHeader
import no.nav.syfo.util.getCallId
suspend fun PipelineContex... | 7 | Kotlin | 3 | 0 | dd12b992684acda2da79c73c5364ece6d58f3dbd | 1,236 | isoppfolgingstilfelle | MIT License |
app/src/main/java/com/qhy040404/libraryonetap/utils/tools/GPAUtils.kt | qhy040404 | 484,416,715 | false | null | package com.qhy040404.libraryonetap.utils.tools
import com.qhy040404.libraryonetap.constant.enums.GPAAlgorithm
import com.qhy040404.libraryonetap.data.tools.Grade
import com.qhy040404.libraryonetap.utils.extensions.to2Decimal
object GPAUtils {
fun calculateGPA(grades: List<Grade>, algorithm: GPAAlgorithm): Double... | 4 | Kotlin | 0 | 9 | db5d2cf858f05a03273c5fe1e06944a713842c71 | 2,098 | Library-One-Tap-Android | Apache License 2.0 |
layout-inspector/testSrc/com/android/tools/idea/layoutinspector/snapshots/LegacySnapshotLoaderTest.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 230 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 4,401 | android | Apache License 2.0 |
vector/src/main/java/im/vector/app/features/analytics/plan/Signup.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright (c) 2021 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... | 86 | Kotlin | 8 | 9 | 8781b6bc4c7298ee137571bb574226ff75bd7519 | 2,217 | tchap-android | Apache License 2.0 |
app/src/main/kotlin/dev/katanagari7c1/wolverine/presentation/base/DialogActivity.kt | katanagari7c1 | 92,713,057 | false | null | package dev.katanagari7c1.wolverine.presentation.base
import android.app.ProgressDialog
import android.content.Context
import android.view.inputmethod.InputMethodManager
import org.jetbrains.anko.indeterminateProgressDialog
abstract class DialogActivity: ToolbarActivity() {
var activeDialog: ProgressDialog? = null... | 1 | null | 1 | 1 | f7298ad8b7ec7fe326a17ca421e21e3ddd652694 | 601 | wolverine-comics-kotlin | MIT License |
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/outlined/DocBadgePlus.kt | alexzhirkevich | 636,411,288 | false | null | /*
* Copyright (c) 2023-2024. Compose Cupertino project and open source contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | 18 | null | 31 | 848 | 54bfbb58f6b36248c5947de343567903298ee308 | 5,347 | compose-cupertino | Apache License 2.0 |
app/src/main/java/moe/feng/danmaqua/ui/settings/list/LicenseItemViewDelegate.kt | danmaqua | 237,640,502 | false | null | package moe.feng.danmaqua.ui.settings.list
import android.view.View
import androidx.content.launchViewUrl
import moe.feng.danmaqua.R
import moe.feng.danmaqua.databinding.LicensesItemLayoutBinding
import moe.feng.danmaqua.model.LicenseItem
import moe.feng.danmaqua.ui.common.list.*
class LicenseItemViewDelegate
: I... | 1 | Kotlin | 9 | 137 | 68694b9f1e575af8541680afe96e2a3108338828 | 788 | danmaqua-android | Apache License 2.0 |
app/src/main/java/ro/alexmamo/firestorecleanarchitecture/presentation/books/components/BooksContent.kt | alexmamo | 413,736,186 | false | null | package eif.viko.books_feature.presentation.books.components
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
i... | 0 | null | 31 | 98 | 354d33ad5811aae9d3b791386111c47452b4207b | 959 | FirestoreCleanArchitectureApp | Apache License 2.0 |
src/test/kotlin/dev/shtanko/algorithms/leetcode/PacificAtlanticWaterFlowTest.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2021 Oleksii Shtanko
*
* 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... | 4 | null | 0 | 19 | 5bfa4b0dd30d515117d112b5d061e9235e444d13 | 2,351 | kotlab | Apache License 2.0 |
app/src/main/java/cn/cqautotest/sunnybeach/app/AppApplication.kt | anjiemo | 378,095,612 | false | null | package cn.cqautotest.sunnybeach.app
import android.app.Activity
import android.app.Application
import android.content.Context
import android.content.res.Resources
import android.net.ConnectivityManager
import android.net.Network
import android.os.Build
import androidx.core.content.ContextCompat
import androidx.lifecy... | 1 | null | 26 | 95 | a2402da1cb6af963c829a69d9783053f15d866b5 | 9,105 | SunnyBeach | Apache License 2.0 |
core/src/main/java/com/aidventory/core/common/designsystem/component/dialogs/AppDialog.kt | yuriikonovalov | 615,443,609 | false | null | package com.aidventory.core.common.designsystem.component.dialogs
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import and... | 0 | Kotlin | 0 | 0 | f6605489ce47b35b75e0628e6be64372eb5518e6 | 7,032 | aidventory | MIT License |
src/main/kotlin/com/exactpro/th2/codec/util/DebugUtil.kt | th2-net | 315,864,047 | false | null | /*
* Copyright 2020-2020 Exactpro (Exactpro Systems Limited)
*
* 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 requi... | 1 | Kotlin | 2 | 0 | a263ee3f95e4bd98fc79df0c368311e17fbc6764 | 920 | th2-codec | Apache License 2.0 |
feature/welcome/src/main/java/org/expenny/feature/welcome/WelcomeViewModel.kt | expenny-application | 712,607,222 | false | {"Kotlin": 1159524} | package org.expenny.feature.welcome
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.SharedFlow
import kotlinx.coroutines.flow.asSharedFlow
import kotlinx.coroutines.launch
import org.expenny.core... | 0 | Kotlin | 3 | 42 | 7e4b8e1a5dfacf5799d5ace2e72cd21f002d6311 | 1,022 | expenny-android | Apache License 2.0 |
app/src/main/java/com/krygodev/singlesplanet/profile/ProfileEvent.kt | krygo-dev | 419,788,067 | false | {"Kotlin": 155940} | package com.krygodev.singlesplanet.profile
import android.net.Uri
sealed class ProfileEvent {
data class UpdateInterestedGender(val value: String): ProfileEvent()
data class UpdateBio(val value: String): ProfileEvent()
data class UpdatePhoto(val value: Uri): ProfileEvent()
data class UpdateSearchDista... | 0 | Kotlin | 0 | 0 | 7c4383045a9cf6f6b13aeaa5f016ae714d5dcf1c | 547 | Singles-Planet-Dating-Mobile-App | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.