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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/dev/pinaki/desipe/common/base/BaseFragment.kt | Pinaki93 | 276,979,416 | false | null | /*
* MIT License
*
* Copyright (c) 2020 <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 | 4 | 25 | c62e337d8bfacdc9a7e2a26b7fbdbbe320c43f60 | 3,244 | Desipe | MIT License |
kiradk-ktor-client/src/main/kotlin/tls/TLSSocket.kt | ywnkm | 757,868,389 | false | {"Kotlin": 23121} | package kiradk.client.tls
import io.ktor.network.sockets.*
import io.ktor.utils.io.*
@Suppress("Deprecation")
internal class TLSSocket(
private val socket: Socket
) : Socket by socket {
override fun attachForReading(channel: ByteChannel): WriterJob {
TODO("Not yet implemented")
}
override fu... | 0 | Kotlin | 1 | 1 | 8470f5d2785e1384d582b2dca1034066ea25f4b8 | 478 | kiradk | Apache License 2.0 |
app/src/main/java/com/panasetskaia/charactersudoku/presentation/fragments/dialogFragments/ConfirmRefreshFragment.kt | panasetskaya | 534,075,128 | false | null | package com.panasetskaia.charactersudoku.presentation.fragments.dialogFragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.addCallback
import androidx.fragment.app.Fragment
import androidx.fragment.app.add
import androidx.... | 0 | Kotlin | 0 | 0 | fe566e21630bda06fd0e0906d2fe5831c846d2ef | 2,566 | mandarin_doku | MIT License |
z2-core/src/jsMain/kotlin/hu/simplexion/z2/util/handle.js.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1768633, "CSS": 171914, "Java": 18941, "JavaScript": 1950, "HTML": 1854} | package hu.simplexion.z2.util
private var lastIssuedHandle = 0L
actual fun nextHandle() : Z2Handle {
if (lastIssuedHandle == Long.MAX_VALUE) throw RuntimeException("out of handles")
return ++ lastIssuedHandle
} | 5 | Kotlin | 0 | 1 | cc13a72fb54d89dffb91e3edf499ae5152bca0d9 | 220 | z2 | Apache License 2.0 |
app/src/main/java/tipz/viola/settings/MaterialDialogPreference.kt | TipzRickyCheung | 287,279,448 | false | {"Kotlin": 212586} | /*
* Copyright (c) 2023-2024 Tipz Team
*
* 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 ag... | 0 | Kotlin | 3 | 14 | fac4f2d92fb0faf4a616ac9d8c2514e095b4cd7e | 1,114 | viola | Apache License 2.0 |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/stories/methods/StoriesGetViewersMethodExtended.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.stories.methods
import com.fasterxml.jackson.core.type.TypeReference
import name.alatushkin.api.vk.VkMethod
import name.alatushkin.api.vk.api.VkList
import name.alatushkin.api.vk.api.VkSuccess
import name.alatushkin.api.vk.generated.users.UserFull
/**
* Returns a list of sto... | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 1,804 | kotlin-vk-api | MIT License |
src/main/kotlin/br/com/jiratorio/client/ProjectClient.kt | andrelugomes | 230,294,644 | false | null | package br.com.jiratorio.client
import br.com.jiratorio.client.config.JiraClientConfiguration
import br.com.jiratorio.domain.jira.BoardStatusList
import br.com.jiratorio.domain.jira.JiraProjectDetails
import br.com.jiratorio.domain.jira.JiraProject
import org.springframework.cloud.openfeign.FeignClient
import org.spri... | 0 | null | 0 | 1 | 168de10e5e53f31734937816811ac9dae6940202 | 1,017 | jirareport | MIT License |
app/src/main/java/com/example/chatgpttest/data/repository/ChatGPTRepositoryImpl.kt | DaedricKnight | 629,326,747 | false | null | package com.example.chatgpttest.data.repository
import com.example.chatgpttest.constants.*
import com.example.chatgpttest.data.api.ChatGPTApi
import com.example.chatgpttest.model.*
import com.google.gson.Gson
import com.google.gson.JsonObject
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.Flow
im... | 0 | Kotlin | 0 | 0 | 4b4857dfdb355ac0702fc329070850770a531866 | 4,895 | ChatGPTTest | MIT License |
domain/src/main/java/org/kafka/domain/interactors/recommendation/PostRecommendationEvent.kt | vipulyaara | 612,950,214 | false | {"Kotlin": 635130, "JavaScript": 440999, "HTML": 11959, "CSS": 7888, "Shell": 2974} | package org.kafka.domain.interactors.recommendation
import com.kafka.data.feature.auth.AccountRepository
import com.kafka.data.feature.recommendation.RecommendationObject
import com.kafka.data.feature.recommendation.RecommendationRelationship
import com.kafka.data.feature.recommendation.RecommendationRepository
import... | 5 | Kotlin | 10 | 86 | fa64a43602eecac8b93ae9e8b713f6d29ba90727 | 2,953 | Kafka | Apache License 2.0 |
plugin/src/main/kotlin/ca/ewert/notarytool/gradle/tasks/NotaryToolTask.kt | Ewert-Technologies | 709,918,182 | false | {"Kotlin": 27186} | package ca.ewert.notarytool.gradle.tasks
import ca.ewert.notarytool.gradle.TASK_GROUP_NAME
import ca.ewert.notarytool.gradle.extensions.NotaryToolGradlePluginExtension
import ca.ewert.notarytoolkotlin.NotaryToolClient
import org.gradle.api.DefaultTask
import org.gradle.api.internal.provider.MissingValueException
impor... | 0 | Kotlin | 0 | 3 | 65123f5d7910e45a2d2eaca5e3cf6d26ffafc6cf | 1,536 | notarytool-gradle | MIT License |
TruckRoute/src/main/java/com/truckroute/ecoway/ui/CountdownActivity.kt | ramakrishna-sunkara | 451,323,154 | false | {"Kotlin": 69982, "Java": 23367} | package com.truckroute.ecoway.ui
import android.app.AlertDialog
import android.app.Dialog
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.os.CountDownTimer
import android.os.Handler
import android.text.format.DateFormat
import android.view.Vie... | 0 | Kotlin | 1 | 0 | edb6fa01598a11f8e9b66039aa01a827cd7b2694 | 28,165 | TruckRoute | MIT License |
twitch-chat-client-core/src/test/kotlin/io/github/sykq/tcc/TmiClientTest.kt | sndpg | 386,014,673 | false | {"Kotlin": 110423} | package io.github.sykq.tcc
import io.github.sykq.tcc.action.OnCommandAction
import io.github.sykq.tcc.test.TestContext
import io.github.sykq.tcc.test.TestHttpServerDecorator
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.springframework.web.reactive.socket.WebSocketHandl... | 0 | Kotlin | 0 | 1 | 387dbdb77c06184079dba26dac307c41ba530f87 | 9,348 | twitch-chat-client | MIT License |
sample/src/main/java/com/link184/sample/ViewPagerActivity.kt | Link184 | 160,670,698 | false | null | package com.link184.sample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.link184.kidadapter.setUp
import kotlinx.android.synthetic.main.activity_view_pager.*
import kotlinx.android.synthetic.main.view_tab.view.*
class ViewPagerActivity: AppCompatActivity() {
override fun onCr... | 0 | Kotlin | 6 | 56 | c3166f79c2a1cc4419ee24340b6680272d8b3338 | 647 | KidAdapter | Apache License 2.0 |
src/test/kotlin/com/github/caay2000/ttk/integration/AppIntegrationTest.kt | caay2000 | 489,137,393 | false | {"Kotlin": 177204, "Python": 1616} | package com.github.caay2000.ttk.integration
import com.github.caay2000.ttk.App
import com.github.caay2000.ttk.context.shared.domain.VehicleTypeEnum
import com.github.caay2000.ttk.context.vehicle.configuration.domain.VehicleConfiguration
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Tes... | 0 | Kotlin | 0 | 0 | 7691e2c8922aab61374b40481b945886401a77b9 | 2,192 | transport-tycoon-kata | MIT License |
vire-stdlib/src/main/kotlin/net/voxelpi/vire/stdlib/VireStandardLibrary.kt | VoxelPi | 700,036,011 | false | {"Kotlin": 323891} | package net.voxelpi.vire.stdlib
import net.voxelpi.vire.engine.environment.library.KotlinLibrary
import net.voxelpi.vire.stdlib.kernel.AndGate
import net.voxelpi.vire.stdlib.kernel.BufferGate
import net.voxelpi.vire.stdlib.kernel.Clock
import net.voxelpi.vire.stdlib.kernel.Demultiplexer
import net.voxelpi.vire.stdlib.... | 1 | Kotlin | 0 | 0 | bd4bdfb1eebfc9e645f7b3ec799d37028c3eeec2 | 1,612 | Vire | MIT License |
kotlin-electron/src/jsMain/generated/electron/core/MouseInputEventType.kt | JetBrains | 93,250,841 | false | null | // Generated by Karakum - do not modify it manually!
package electron.core
sealed external interface MouseInputEventType {
companion object {
@seskar.js.JsValue("mouseDown")
val mouseDown: MouseInputEventType
@seskar.js.JsValue("mouseUp")
val mouseUp: MouseInputEventType
... | 40 | null | 165 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 749 | kotlin-wrappers | Apache License 2.0 |
domain/src/main/java/akio/apps/myrun/domain/user/GetUserProfileUsecase.kt | khoi-nguyen-2359 | 297,064,437 | false | {"Kotlin": 818596, "Java": 37377} | package akio.apps.myrun.domain.user
import akio.apps.myrun.data.authentication.api.UserAuthenticationState
import akio.apps.myrun.data.common.Resource
import akio.apps.myrun.data.user.api.UserProfileRepository
import akio.apps.myrun.data.user.api.model.UserProfile
import javax.inject.Inject
import kotlinx.coroutines.f... | 0 | Kotlin | 3 | 7 | c864c2972b1db8146d3c2553130bfe9e78a27c42 | 1,187 | myrun | MIT License |
android/app/src/main/kotlin/com/example/ice_cream_shop/MainActivity.kt | karascr | 457,940,608 | false | {"Dart": 28696, "Swift": 404, "Kotlin": 131, "Objective-C": 38} | package com.example.ice_cream_shop
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 1 | 8ad664cd17b3a08b5f3ada501d10b92373ae8a2e | 131 | flutter_ice_cream_shop_ui | MIT License |
taxi/ui/src/test/java/com/vlad1m1r/bltaxi/taxi/ui/adapter/TaxiViewHolderShould.kt | VladimirWrites | 192,170,187 | false | {"Kotlin": 150749, "HTML": 15579} | package com.vlad1m1r.bltaxi.taxi.ui.adapter
import android.app.Application
import android.os.Build
import android.view.LayoutInflater
import android.view.View
import androidx.test.platform.app.InstrumentationRegistry
import com.google.common.truth.Truth.assertThat
import com.vlad1m1r.bltaxi.taxi.R
import org.junit.Tes... | 0 | Kotlin | 39 | 350 | 33b03dbdf4f7c2b7384ffa6259de52a813673c77 | 1,110 | BLTaxi | Apache License 2.0 |
src/main/kotlin/gg/obsidian/discordbridge/EventListener.kt | RebeccaRedstone | 56,179,590 | true | {"Kotlin": 14149} | package gg.obsidian.discordbridge
import org.bukkit.ChatColor
import org.bukkit.event.EventHandler
import org.bukkit.event.EventPriority
import org.bukkit.event.Listener
import org.bukkit.event.entity.PlayerDeathEvent
import org.bukkit.event.player.AsyncPlayerChatEvent
import org.bukkit.event.player.PlayerJoinEvent
im... | 0 | Kotlin | 0 | 0 | 1321f947da9563978ec74e0fd6313e9c89f52aaf | 4,308 | DiscordBridge | MIT License |
feature/topic/src/main/java/cn/jaylong/nias/feature/topic/TopicViewModel.kt | jay1ong | 604,902,379 | false | null | package cn.jaylong.nias.feature.topic
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import cn.jaylong.nias.core.data.repository.TopicsRepository
import cn.jaylong.nias.core.data.repository.UserDataRepository
import cn.jaylong.nias.core.decoder.S... | 0 | Kotlin | 0 | 0 | 2ecc2766e84e95e33a49736477a51ab72994608a | 5,131 | Nias | Apache License 2.0 |
utbot-framework/src/main/kotlin/org/utbot/framework/util/EngineUtils.kt | UnitTestBot | 480,810,501 | false | null | package org.utbot.framework.util
import mu.KotlinLogging
import org.utbot.common.logException
import org.utbot.framework.plugin.api.util.constructor.ValueConstructor
import org.utbot.framework.plugin.api.ExecutableId
import org.utbot.framework.plugin.api.MissingState
import org.utbot.framework.plugin.api.UtSymbolicExe... | 378 | null | 30 | 88 | 1cb8c004413d00361ac3c7497d226bbcdd60982a | 2,397 | UTBotJava | Apache License 2.0 |
app/src/main/java/bruhcollective/itaysonlab/cobalt/CobaltScreen.kt | iTaysonLab | 529,265,880 | false | {"Kotlin": 451014} | package bruhcollective.itaysonlab.cobalt
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import bruhcollective.itaysonlab.cobalt.navigation.RootNavigationScreen
import bruhcollective.itaysonlab.cobalt.signin.SignInScreen
... | 1 | Kotlin | 5 | 97 | 78a9d963893e0b675cb0e3b1a2b6b936c0be3d19 | 964 | jetisteam | Apache License 2.0 |
dispatcher/src/main/kotlin/com/robotpajamas/dispatcher/SerialDispatcher.kt | RobotPajamas | 135,966,970 | false | {"Kotlin": 25199} | package com.robotpajamas.dispatcher
import android.os.Handler
import android.os.Looper
import java.util.*
import java.util.concurrent.ConcurrentLinkedQueue
import java.util.concurrent.Executor
class SerialDispatcher(
private val executionHandler: Handler = Handler(Looper.getMainLooper()),
private val ... | 1 | Kotlin | 1 | 0 | 90f42c47a5f213e7dc1aee685cb950438a720928 | 3,076 | Dispatcher | Apache License 2.0 |
core/model/impl/src/main/kotlin/com/yandex/yatagan/core/model/impl/bindingModelsImpl.kt | yandex | 570,094,802 | false | null | /*
* Copyright 2022 Yandex 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 wr... | 17 | null | 9 | 231 | d0d7b823711c7f5a48cfd76d673ad348407fd904 | 11,604 | yatagan | Apache License 2.0 |
core/model/impl/src/main/kotlin/com/yandex/yatagan/core/model/impl/bindingModelsImpl.kt | yandex | 570,094,802 | false | null | /*
* Copyright 2022 Yandex 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 wr... | 17 | null | 9 | 231 | d0d7b823711c7f5a48cfd76d673ad348407fd904 | 11,604 | yatagan | Apache License 2.0 |
jeorg-kotlin-utilities/kotlin-number-operations/src/main/kotlin/Main.kt | jesperancinha | 345,062,636 | false | {"Kotlin": 314964, "Java": 11949, "Makefile": 3426, "Shell": 304, "HTML": 180} | package org.jesperancinha
fun main() {
} | 0 | Kotlin | 0 | 2 | 10dbe895092eb20c27851e56832fbb6ae96e2c9f | 41 | jeorg-kotlin-test-drives | Apache License 2.0 |
test/com/star/AntTest.kt | xingstarx | 101,245,923 | false | null | package com.star
var user: User? = null
var banner: Banner? = null
var item: Item? = null
fun main(args: Array<String>) {
user = User().apply {
id = "9088"
name = "xingxing"
}
banner = Banner()
ifAllNotNull(user, banner) {
user, banner ->
println("user.id == " + user.... | 0 | Kotlin | 0 | 1 | a25e7c41f14d93b2e34d4b1f0e26f928260028d7 | 811 | KotlinUtils | Apache License 2.0 |
Chart/src/main/java/io/github/ameeramjed/chart/theme/Theme.kt | AmeerAmjed | 748,388,495 | false | {"Kotlin": 17163} | package com.github.ameeramjed.chart.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dynamicDarkColorScheme
import androidx... | 0 | Kotlin | 0 | 0 | f9b8bbc19ad251a98c0af5660866df0400b8d05b | 2,273 | DountChart | MIT License |
core/src/main/kotlin/cn/netdiscovery/http/core/preconnetion/PreConnectRunnable.kt | fengzhizi715 | 294,738,243 | false | null | package cn.netdiscovery.http.core.preconnetion
import cn.netdiscovery.http.core.exception.PreConnectionException
import okhttp3.*
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
import okhttp3.internal.connection.RealConnection
import okhttp3.internal.connection.RealConnectionPool
import okhttp3.internal.connection.R... | 0 | Kotlin | 0 | 8 | 1fb2cfb2008f67f93fdf76bd30207700a994d2e0 | 7,250 | okhttp-extension | Apache License 2.0 |
feature/note-detail/src/main/java/com/hellguy39/hellnotes/feature/note_detail/NoteDetailViewModel.kt | HellGuy39 | 572,830,054 | false | null | package com.hellguy39.hellnotes.feature.note_detail
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.hellguy39.hellnotes.core.domain.repository.LabelRepository
import com.hellguy39.hellnotes.core.domain.repository.NoteRepository
import c... | 0 | null | 0 | 5 | 0086c5185b19d2e33aa699554a6f9231e0ca1419 | 7,843 | HellNotes | Apache License 2.0 |
fileavengers/src/main/java/com/eduardo/lima/fileavengers/unzip/Unzip.kt | eduardoflclima | 340,427,960 | false | null | package com.eduardo.lima.fileavengers.unzip
import java.io.*
import java.util.zip.ZipEntry
import java.util.zip.ZipInputStream
class Unzip(private val listener: UnzipListener) {
class Builder {
fun build(listener: UnzipListener) = Unzip(listener = listener)
}
fun execute(path: String, fileName:... | 0 | Kotlin | 0 | 0 | 49072939b059eea825bcb691b94feef10cb289fc | 2,186 | FileAvengers | Apache License 2.0 |
src/main/kotlin/com/zscaler/settings/ApplicationSettings.kt | dibyah | 562,179,204 | false | null | package com.zscaler.settings
import com.intellij.openapi.application.ApplicationManager
import com.zscaler.listeners.SettingsListener
import java.util.Objects
class ApplicationSettings {
var apiKey: String? = null
fun setApiKeyNotifying(apiKey:String) {
var changed = !Objects.equals(this.apiKey, apiK... | 0 | Kotlin | 0 | 0 | efd4622cbb57f9602f2e269adbff970c9281ffde | 638 | Zscaler-IaC-JetBrains-Plugin | Apache License 2.0 |
lib/http/src/main/kotlin/kafkasnoop/http/InstantJsonSerialiser.kt | driessamyn | 453,928,677 | false | {"Kotlin": 93606} | package kafkasnoop.http
import com.google.gson.JsonElement
import com.google.gson.JsonPrimitive
import com.google.gson.JsonSerializationContext
import com.google.gson.JsonSerializer
import java.lang.reflect.Type
import java.time.Instant
import java.time.ZoneId
import java.time.ZoneOffset
import java.time.format.DateTi... | 0 | Kotlin | 1 | 0 | fc2d4b346b01db3ab02e91c5c65342bc2039dbb9 | 670 | kafkasnoop | MIT License |
app/src/main/java/io/ak1/nytimes/ui/screens/components/Placeholder.kt | akshay2211 | 312,810,091 | false | null | package io.ak1.nytimes.ui.screens.components
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.material.Card
import androidx.compose.material.MaterialTheme
import androidx.compose.mate... | 1 | Kotlin | 15 | 98 | 1b20fe9ce009d03b4352eb9d63761036081bb678 | 3,590 | NYTimes-Compose | Apache License 2.0 |
compiler/src/main/kotlin/edu/cornell/cs/apl/viaduct/selection/ProtocolFactory.kt | s-ren | 386,161,765 | true | {"Kotlin": 878757, "Java": 43761, "C++": 13898, "Python": 11991, "Lex": 6620, "Dockerfile": 1844, "Makefile": 1785, "SWIG": 1212, "Shell": 698} | package edu.cornell.cs.apl.viaduct.selection
import edu.cornell.cs.apl.viaduct.syntax.Protocol
import edu.cornell.cs.apl.viaduct.syntax.ProtocolName
import edu.cornell.cs.apl.viaduct.syntax.SpecializedProtocol
import edu.cornell.cs.apl.viaduct.syntax.intermediate.DeclarationNode
import edu.cornell.cs.apl.viaduct.synta... | 0 | null | 0 | 0 | 337b3873e10f642706b195b10f939e9c1c7832ef | 4,187 | viaduct | MIT License |
api/src/main/kotlin/com/mattmx/ktgui/event/ContinuousEventCallback.kt | Matt-MX | 530,062,987 | false | {"Kotlin": 255573, "Java": 8369} | package com.mattmx.ktgui.event
import org.bukkit.event.Cancellable
class ContinuousEventCallback<T : Cancellable> : EventCallback<T>() {
override operator fun invoke(value: T) : Boolean {
for (cb in callbacks) {
cb.invoke(value)
if (value.isCancelled) {
return fal... | 3 | Kotlin | 3 | 24 | fdc34fce5eeb41f177f890040a58d6c174168434 | 528 | KtPaperGui | Apache License 2.0 |
idea/testData/findUsages/kotlin/findPropertyUsages/kotlinPrivatePropertyInClassObjectUsages.0.kt | anothem | 32,282,897 | true | {"Markdown": 33, "XML": 646, "Ant Build System": 32, "Ignore List": 8, "Maven POM": 48, "Kotlin": 16461, "Java": 4172, "CSS": 10, "Shell": 7, "Batchfile": 7, "Java Properties": 9, "Gradle": 68, "HTML": 114, "INI": 7, "Groovy": 19, "JavaScript": 66, "Text": 3438, "JFlex": 3, "JAR Manifest": 2, "Roff": 30, "Roff Manpage"... | // PSI_ELEMENT: org.jetbrains.kotlin.psi.JetProperty
// OPTIONS: usages
class Outer {
val x = Outer.t
default object {
private val <caret>t = 1
}
}
| 0 | Java | 0 | 0 | b44dbe6ca2e1519a4ccf548758714ce9726b77c7 | 170 | kotlin | Apache License 2.0 |
compiler/frontend.java/src/org/jetbrains/kotlin/fileClasses/JvmFileClassUtils.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-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fileClasses
import org.jetbrains.kotlin.descriptors.DeclarationDescriptor
import... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,224 | kotlin | Apache License 2.0 |
app/src/main/java/com/andor/watchit/core/di/application/ActivityBindingModule.kt | andor201995 | 233,206,385 | false | null | package com.andor.watchit.core.di.application
import android.app.Activity
import com.andor.watchit.core.di.activity.MainActivityComponent
import com.andor.watchit.core.di.utils.ActivityKey
import com.andor.watchit.screens.common.controller.main.MainActivity
import dagger.Binds
import dagger.Module
import dagger.androi... | 10 | Kotlin | 0 | 0 | 873829cd486d7756bd2a94b1bd1b06a89bfc94be | 807 | WatchIt | Apache License 2.0 |
src/main/kotlin/io/newm/kogmios/protocols/model/fault/InvalidProtocolParametersUpdateFault.kt | projectNEWM | 469,781,993 | false | {"Kotlin": 342834, "Shell": 26} | package io.newm.kogmios.protocols.model.fault
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* The transaction contains an invalid or unauthorized protocol parameters update. This operation is reserved to genesis key holders.
*/
@Serializable
@SerialName("3139")
data class Inv... | 0 | Kotlin | 1 | 4 | 35905d19fe75d280b374623c3692361a07212dcb | 545 | kogmios | Apache License 2.0 |
cqrs-simple-core/src/test/kotlin/com/tgirard12/cqrssimple/stub/AgregaStub.kt | tgirard12 | 123,339,745 | false | null | package com.tgirard12.cqrssimple.stub
import com.tgirard12.cqrssimple.Agrega
import com.tgirard12.cqrssimple.AgregaHandler
import com.tgirard12.cqrssimple.Event
/**
* Agrega
*/
data class AAgrega(
val name: String,
val email: String
) : Agrega
/**
* Events
*/
sealed class AAgregaEvent : Event {
data ... | 0 | Kotlin | 1 | 1 | 8102d1ca6224cdcfc811bf9ffbb536db9061b533 | 811 | cqrs-simple | Apache License 2.0 |
src/main/kotlin/no/nav/hjelpemidler/oebs/listener/Application.kt | navikt | 341,469,142 | false | {"Kotlin": 63455, "Dockerfile": 135} | package no.nav.hjelpemidler.oebs.listener
import io.github.oshai.kotlinlogging.KotlinLogging
import io.ktor.http.ContentType
import io.ktor.serialization.jackson.JacksonConverter
import io.ktor.server.application.install
import io.ktor.server.auth.Authentication
import io.ktor.server.auth.authenticate
import io.ktor.s... | 0 | Kotlin | 0 | 0 | 708e547296ba4e032ccf461a613eb2324415d755 | 2,383 | hm-oebs-listener | MIT License |
app/src/main/java/com/example/wasfaty/viewmodel/RecipeViewModel.kt | imadmah | 850,087,196 | false | {"Kotlin": 93654} | package com.example.wasfaty.viewmodel
class RecipeViewModel {
} | 0 | Kotlin | 0 | 0 | fb2ff816dca60a2694e5f7d79b101457965722bd | 64 | Wasfaty | Apache License 2.0 |
TestingCodelab/app/src/androidTest/java/com/example/compose/rally/ui/components/TopAppBarTest.kt | PaulinaSadowska | 448,604,363 | true | {"Kotlin": 598770, "Shell": 2341} | package com.example.compose.rally.ui.components
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.test.junit4.createComposeRule
import com.example.compose.... | 0 | Kotlin | 0 | 0 | b3a4236be829a47bb025364e467df4d61f775113 | 3,040 | android-compose-codelabs | Apache License 2.0 |
app/src/main/java/com/example/marvel/utils/Extensions.kt | andreicampigotto | 492,653,552 | false | {"Kotlin": 32265} | package com.example.marvel.utils
import android.net.ConnectivityManager
import androidx.appcompat.app.AppCompatActivity
import java.math.BigInteger
import java.security.MessageDigest
fun md5(input:String): String {
val md = MessageDigest.getInstance("MD5")
return BigInteger(1, md.digest(input.toByteArray())).... | 0 | Kotlin | 0 | 1 | 899bf9d60392827ee7f771ffb038be673143517b | 1,022 | Marvel-2.0 | MIT License |
app/src/main/kotlin/maxeem/america/devbytes/ui/AboutFragment.kt | maxeema | 202,910,303 | true | {"Kotlin": 49444} | package maxeem.america.devbytes.ui
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.net.toUri
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import maxeem.america.devbytes.R
import m... | 0 | Kotlin | 0 | 0 | 3a6193468585c1cd982cd4927f371d74317f8123 | 2,260 | andfun-kotlin-dev-bytes | Apache License 2.0 |
domain/src/main/java/com/movingmaker/domain/usecase/SignUpUseCase.kt | Comment-Diary | 458,682,004 | false | null | package com.movingmaker.domain.usecase
import com.movingmaker.domain.model.UiState
import com.movingmaker.domain.model.mapUiState
import com.movingmaker.domain.model.request.SignUpModel
import com.movingmaker.domain.model.toUiState
import com.movingmaker.domain.repository.ForSignUpRepository
import javax.inject.Inject... | 7 | Kotlin | 1 | 2 | cf9f329970d83181c41a6cfc0470cd2712301f6f | 588 | CommentDiary-AOS | MIT License |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/annotator/intentions/ReplaceDotFix.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.groovy.annotator.intentions
import com.intellij.codeInspection.util.IntentionFamilyName
import com.intellij.lang.ASTFactory
import com.intellij.modcommand.ModPsiUpdater... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 1,249 | intellij-community | Apache License 2.0 |
app/src/main/java/com/oscarsalguero/android/firekotlinx/fragments/NotificationsFragment.kt | RacZo | 262,670,743 | false | null | /***
* Copyright (c) 2020 <NAME> www.oscarsalguero.dev
* 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... | 0 | Kotlin | 0 | 1 | d0a8bc4bf4a50ebcbf9614e7780b2f9ab1fde0db | 4,195 | AndroidFirebaseKTX | Apache License 2.0 |
demo/Movieous/app/src/main/java/com/movieous/media/mvp/model/entity/VideoListItem.kt | movieous-team | 174,439,175 | false | null | package com.movieous.media.mvp.model.entity
import java.io.Serializable
class VideoListItem : Serializable {
var avatarRes: Int = 0
var videoUrl: String? = null
var userName: String? = null
var content: String? = null
var coverUrl: String? = null
var avatarUrl: String? = null
var videoWid... | 1 | null | 8 | 20 | 7c24e5da1c2966e67cabab98e5824cc2b68e0c45 | 1,199 | MovieousShortVideo-Android-Release | MIT License |
sharing-service/src/de/faweizz/topicservice/service/transformation/step/DropTransformationStep.kt | faweizz | 390,689,980 | false | null | package de.faweizz.topicservice.service.transformation.step
import org.apache.avro.Schema
import org.apache.avro.SchemaBuilder
import org.apache.avro.generic.GenericRecord
import org.apache.avro.generic.GenericRecordBuilder
class DropTransformationStep(
data: Map<String, String>
) : TransformationStep(data) {
... | 0 | Kotlin | 0 | 0 | b5b494e81e6643c86d51f884309497bc78715f36 | 1,691 | florescence | Apache License 2.0 |
kotlin-4-devs-java/src/main/kotlin/br/com/erudio/section05/_0504/Vehicle.kt | leandrocgsi | 463,957,505 | false | null | package br.com.erudio.section05._0504
interface Vehicle {
val automakerName: String
fun start() {
println("Vruuuuuuuuuummmmmmm")
}
fun stop() {
println("Brake noise")
}
fun getKmPerLiter() : Int {
return 17
}
fun getDoors(): Int
} | 0 | Kotlin | 1 | 2 | fed429722c6590867027c18464cc642b8a42135a | 292 | kotlin-4-devs-java | Apache License 2.0 |
fuzzer/fuzzing_output/crashing_tests/verified/noSynAccessorToSuper.kt-1935600457.kt | ItsLastDay | 102,885,402 | false | null | inline fun call(s: (() -> Unit)): Unit {
(s)!!()
}
open class Base {
protected open fun method() {}
protected open val prop = 1
}
class A: Base() {
override fun method() {}
override val prop = 1
fun test1() {
call {
super.method()
super.prop
}
}
fun test2() {
call {
call {
super.method()
super.... | 2 | Kotlin | 1 | 6 | 56f50fc307709443bb0c53972d0c239e709ce8f2 | 336 | KotlinFuzzer | MIT License |
app/src/main/java/com/example/streaming/App.kt | PauloSzT | 653,339,689 | false | null | package com.example.streaming
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.graphics.Color
import android.os.Build
import com.example.streaming.ui.notification.NotificationMediaService
import dagger.hilt.andro... | 0 | Kotlin | 0 | 0 | 6ad91102acdb46a13a327bc93a9cf1e3b98685f9 | 1,210 | StreamingApp | MIT License |
analysis/low-level-api-fir/testData/getOrBuildFir/annotations/superCallAnnotation.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... | // LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
@Target(AnnotationTarget.TYPE)
annotation class Anno
open class A
class B : <expr>@Anno</expr> A() | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 176 | kotlin | Apache License 2.0 |
app/src/test/java/org/simple/clinic/security/pin/PinEntryUpdateTest.kt | zhukofff | 378,200,443 | true | {"Kotlin": 4636507, "Shell": 3719, "Python": 3162, "HTML": 545} | package org.simple.clinic.security.pin
import com.spotify.mobius.test.NextMatchers.hasEffects
import com.spotify.mobius.test.NextMatchers.hasNoModel
import com.spotify.mobius.test.NextMatchers.hasNothing
import com.spotify.mobius.test.UpdateSpec
import com.spotify.mobius.test.UpdateSpec.assertThatNext
import org.junit... | 0 | null | 0 | 1 | 7eab5bfef38869c305b5446e4c0da877ecd4c269 | 2,228 | simple-android | MIT License |
src/main/kotlin/dev/priporov/ideanotes/action/tree/SaveCurrentFileToNotesAction.kt | epm-dev-priporov | 555,880,395 | false | null | package dev.priporov.ideanotes.action.tree
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.CommonDataKeys
import com.intellij.psi.PsiManager
import dev.priporov.ideanotes.dto.NodeCreationInfo
import dev.priporov.ideanotes... | 6 | null | 6 | 15 | 249b2b0bf0cb111b16a2e53c200e92ce5f2caa25 | 1,006 | idea-notes | Apache License 2.0 |
radixdlt-kotlin/src/main/kotlin/com/radixdlt/client/core/ledger/InMemoryAtomStore.kt | radixdlt | 144,838,647 | false | null | package com.radixdlt.client.core.ledger
import com.radixdlt.client.application.translate.TransactionAtoms
import com.radixdlt.client.assets.Asset
import com.radixdlt.client.core.address.RadixAddress
import com.radixdlt.client.core.atoms.Atom
import io.reactivex.Observable
import io.reactivex.subjects.ReplaySubject
imp... | 1 | Kotlin | 1 | 5 | 37d86b43bd5e9e5c24c85a8f2d7865b51cd24a7b | 1,945 | radixdlt-kotlin | MIT License |
feature/home/src/main/java/com/zeroillusion/shopapp/feature/home/presentation/HomeViewModel.kt | victorsklyarov | 615,861,722 | false | null | package com.zeroillusion.shopapp.feature.home.presentation
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.zeroillusi... | 0 | Kotlin | 0 | 0 | 84b0b1797e4f7c0b1756a13ed073f3e381184786 | 5,186 | ShopApp | Apache License 2.0 |
src/main/kotlin/com/github/aszecsei/crowtech/CrowTech.kt | crow-maki | 730,847,703 | false | {"Kotlin": 102455} | package com.github.aszecsei.crowtech
import com.github.aszecsei.crowtech.common.config.CTConfig
import com.github.aszecsei.crowtech.common.registries.*
import net.minecraft.client.Minecraft
import net.minecraft.resources.ResourceLocation
import net.minecraftforge.fml.common.Mod
import net.minecraftforge.fml.event.life... | 0 | Kotlin | 0 | 0 | f80c0fab4283761835464c599dded3134b0bde7c | 2,494 | crowtech | MIT License |
tmp/arrays/kotlinAndJava/562.kt | mandelshtamd | 249,374,670 | true | {"Kotlin": 7965847} | //File Bar.java
import kotlin.Metadata;
public final class Bar extends Foo {
}
//File Foo.java
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
public abstract class Foo {
@NotNull
public final String hello(Object id) {
return "" + 'O' + id;
}
}
//File Main.kt
fun box() = Bar().h... | 1 | Kotlin | 1 | 1 | da010bdc91c159492ae74456ad14d93bdb5fdd0a | 331 | bbfgradle | Apache License 2.0 |
app/src/main/java/ru/mrfrozzen/cookbook/presentation/edit/CategorySpinnerAdapter.kt | MrFrozzen | 222,162,272 | false | null | package ru.mrfrozzen.cookbook.presentation.edit
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ArrayAdapter
import android.widget.TextView
import ru.mrfrozzen.cookbook.R
import ru.mrfrozzen.cookbook.data.db.entity.Category... | 0 | Kotlin | 0 | 0 | 0d417a0beb30d3b9628372f67395ae7afbb0e715 | 2,006 | Cookbook | Apache License 2.0 |
sample-spring-boot-echo/src/main/java/com/example/bot/spring/echo/LoadDataController.kt | trapongx | 264,898,976 | false | {"Java": 981838, "Kotlin": 25201, "Shell": 451, "HTML": 158} | package com.example.bot.spring.echo
import com.google.api.client.auth.oauth2.Credential
import com.google.api.client.auth.oauth2.TokenResponse
import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow
import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets
import com.google.api.cl... | 1 | null | 1 | 1 | c7e66df43236f9b3c76f1377d9790027a89c5688 | 7,509 | champ-line-poc | Apache License 2.0 |
app/src/main/java/com/web0zz/givemeamovie/view/ui/explore/ExploreViewModel.kt | Web0zz | 342,710,542 | false | {"Kotlin": 73925} | package com.web0zz.givemeamovie.view.ui.explore
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.web0zz.givemeamovie.data.remote.Resource
import com.web0zz.givemeamovie.model.entity.Movie
import com.web0... | 0 | Kotlin | 0 | 0 | 3f56fc7a68d12a293d3a34f05a9aa487bc2c6164 | 4,723 | Give-Me-A-Movie | Apache License 2.0 |
src/main/kotlin/p1nkun1c0rns/statusmetrics/Config.kt | heubeck | 279,695,011 | false | null | package p1nkun1c0rns.statusmetrics
import io.smallrye.mutiny.Multi
import io.vertx.core.json.JsonObject
import io.vertx.mutiny.core.Vertx
import org.eclipse.microprofile.config.inject.ConfigProperty
import javax.enterprise.context.ApplicationScoped
@ApplicationScoped
class Config(private val vertx: Vertx, @ConfigProp... | 0 | Kotlin | 0 | 0 | 35e8b5f992659df37e4d3b730179299b8c64afff | 862 | statuspage-prometheus-exporter | Apache License 2.0 |
app/src/test/java/com/gan/breakingbad/domain/RetrofitBreakingBadCharacterRepositoryTest.kt | Raghuramchowdary-tech | 313,477,929 | false | null | package com.gan.breakingbad.domain
import com.gan.breakingbad.characters.data.BreakingBadCharacter
import com.gan.breakingbad.characters.data.BreakingBadCharacterResponse
import com.gan.breakingbad.characters.data.RetrofitBreakingBadRepository
import com.gan.breakingbad.utils.toJson
import junit.framework.Assert.asser... | 0 | Kotlin | 0 | 0 | 16b2cdb270dda49f057f058f1e93e51261ed73fb | 3,881 | BreakingBadTask | Apache License 2.0 |
screen/clone-compose-codelabs/compose-state/src/main/java/com/potatomeme/screen/clone_compose_codelabs/compose_state/WaterCounter.kt | PotatoMeme | 848,553,898 | false | {"Kotlin": 360357} | package com.potatomeme.screen.clone_compose_codelabs.compose_state
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.run... | 4 | Kotlin | 0 | 0 | 8dc8cc7407803e1d15ee046f88270faadffe4ce6 | 1,335 | Android-UI-Test | Apache License 2.0 |
injective-core/src/jvmMain/kotlin/injective/ocr/v1beta1/genesis.converter.jvm.kt | jdekim43 | 759,720,689 | false | {"Kotlin": 8940168, "Java": 3242559} | // Transform from injective/ocr/v1beta1/genesis.proto
@file:GeneratorVersion(version = "0.3.1")
package injective.ocr.v1beta1
import com.google.protobuf.Descriptors
import com.google.protobuf.Parser
import cosmos.base.v1beta1.CoinJvmConverter
import kr.jadekim.protobuf.`annotation`.GeneratorVersion
import kr.jadekim.... | 0 | Kotlin | 0 | 0 | eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc | 8,334 | chameleon.proto | Apache License 2.0 |
backend/widgets-dsl/src/main/kotlin/br/com/zup/beagle/pager/PageIndicatorBuilder.kt | tyagi2141 | 375,508,215 | false | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 1 | null | 0 | 1 | d64c69511dbf7c8f6198ed14cc07c1fa15bf080e | 2,145 | beagle | Apache License 2.0 |
app/src/main/java/com/example/aihack/activities/TestActivity.kt | X-Foundation | 435,812,937 | false | {"Kotlin": 39953} | package com.example.aihack.activities
import android.view.MenuItem
import androidx.fragment.app.Fragment
import com.example.aihack.fragments.TestFragment
class TestActivity : SingleFragmentActivity() {
override fun createFragment(): Fragment {
return TestFragment()
}
override fun onOptionsItemSel... | 0 | Kotlin | 0 | 0 | 650f3cd13b5d3df60a7b70c723b408e9f6099bbb | 488 | aihack2 | Apache License 2.0 |
wow-core/src/test/kotlin/me/ahoo/wow/jackson/JacksonTest.kt | Ahoo-Wang | 628,167,080 | false | {"Kotlin": 1902621, "Java": 34050, "TypeScript": 31834, "HTML": 11619, "Lua": 3978, "JavaScript": 2288, "Dockerfile": 820, "SCSS": 500, "Less": 342} | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 6 | Kotlin | 10 | 98 | eed438bab2ae009edf3a1db03396de402885c681 | 2,624 | Wow | Apache License 2.0 |
jwt-rs/src/jvmMain/kotlin/tz/co/asoft/PublicKey.kt | aSoft-Ltd | 320,982,927 | false | null | package tz.co.asoft
import java.security.KeyFactory
import java.security.interfaces.RSAPublicKey
import java.security.spec.X509EncodedKeySpec
fun SecurityKey.toRSAPublicKey() = KeyFactory.getInstance("RSA").generatePublic(X509EncodedKeySpec(Base64.decode(value))) as RSAPublicKey | 0 | Kotlin | 1 | 1 | ae27cc251d42c913a252541ec93253416219974f | 281 | jwt | MIT License |
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/KtTypeParameterRendererFilter.kt | JetBrains | 3,432,266 | false | {"Kotlin": 78346118, "Java": 6692370, "Swift": 4062767, "C": 2609482, "C++": 1962762, "Objective-C++": 169966, "JavaScript": 138328, "Python": 59488, "Shell": 35024, "TypeScript": 22800, "Lex": 18369, "Groovy": 17400, "Objective-C": 15578, "Batchfile": 11746, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9857, "EJS": 5241... | /*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.renderer.declarations.renderers
import org.jetbrains.kotlin.analysi... | 182 | Kotlin | 5617 | 47,637 | d257153a50bdaa761d54bbc9fd1c5d78a3769f0f | 1,778 | kotlin | Apache License 2.0 |
provider/gamedex-provider-opencritic/src/main/kotlin/com/gitlab/ykrasik/gamedex/provider/opencritic/OpenCriticConfig.kt | ykrasik | 177,211,746 | false | null | /****************************************************************************
* Copyright (C) 2016-2023 <NAME> *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not u... | 0 | Kotlin | 1 | 14 | 6c63cb16032f9c9e230afc808bb8498760477464 | 1,894 | gamedex | Apache License 2.0 |
src/main/kotlin/week5/players/WinningMovePlayer.kt | doertscho | 305,730,136 | false | null | package week5.players
import week5.*
class WinningMovePlayer : Player {
override fun nextMove(state: State): Move {
val winningMove = winningMove(state)
if (winningMove != null) {
return winningMove
}
val fallback = ValidMovePlayer()
return fallback.nextMove(... | 0 | Kotlin | 0 | 0 | c84e8b0341fae1b5384fce52fcedf660e54b11f5 | 874 | software-ag-kks | MIT License |
src/main/kotlin/com/foxentry/foxentrysdk/models/CompanySearchResults.kt | Foxentry | 830,077,226 | false | {"Kotlin": 442689} | /**
* Foxentry API reference
*
* The version of the OpenAPI document: 2.0 Contact: <EMAIL>
*
* NOTE: This file is auto generated. Do not edit the file manually.
*/
package com.foxentry.foxentrysdk.models
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.foxentry.foxentrysdk.core.*
@Jso... | 0 | Kotlin | 0 | 0 | 8b215f6df68bd39c86ca0d44689e55704cc39457 | 651 | kotlin-sdk | MIT License |
app/src/main/java/com/ms/playstop/ui/completeAccount/CompleteAccountViewModel.kt | mshohrat | 554,137,640 | false | null | package com.ms.playstop.ui.completeAccount
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.ms.playstop.R
import com.ms.playstop.extension.getErrorHttpModel
import com.ms.playstop.extension.getFirstMessage
import com.ms.playstop.extension.isValidEmail
import com.ms.playstop.mode... | 0 | Kotlin | 0 | 1 | 5afa8a4ebe2f63acb724dfea55b1b846194592d3 | 2,773 | PlayStop | MIT License |
kingmc-platform-common/src/main/kotlin/kingmc/platform/Direction.kt | Kingsthere | 599,960,106 | false | {"Kotlin": 1080096} | package kingmc.platform
import kotlin.math.cos
import kotlin.math.sin
/**
* A Direction, describe using **pitch** to **yaw**, direction
* is a part of component in [Location]
*
* @since 0.0.1
* @author kingsthere
*/
data class Direction(
/**
* The pitch of this direction
*
* @since 0.0.1
... | 0 | Kotlin | 0 | 1 | 9a010ff50677c7effbb941320108d2f25b2a154d | 873 | kingmc-platform | MIT License |
src/day7/Day7.kt | ZsemberiDaniel | 159,921,870 | false | null | package day7
import RunnablePuzzleSolver
import java.lang.StringBuilder
import java.util.*
import kotlin.collections.HashMap
class Day7 : RunnablePuzzleSolver {
private val instructions: HashMap<Char, Instruction> = hashMapOf()
private val workerCount = 5
override fun readInput1(lines: Array<String>) {
... | 0 | Kotlin | 0 | 0 | bf34b93aff7f2561f25fa6bd60b7c2c2356b16ed | 5,980 | adventOfCode2018 | MIT License |
api/src/main/kotlin/com/lowcostcustoms/plyaground/spring/jooq/models/PetStatus.kt | LowCostCustoms | 521,392,533 | false | {"Kotlin": 29608, "Shell": 66} | package com.lowcostcustoms.plyaground.spring.jooq.models
import com.fasterxml.jackson.annotation.JsonValue
enum class PetStatus(@get:JsonValue val value: String) {
AVAILABLE("Available"),
PENDING("Pending"),
SOLD("Sold");
companion object {
fun fromString(status: String): PetStatus = values()... | 0 | Kotlin | 0 | 1 | cc45fbc9d53b6267580b2a2305daeccff2dc16d6 | 358 | spring-boot-jooq-kt | MIT License |
src/test/kotlin/biz/koziolek/adventofcode/year2023/day12/Day12Test.kt | pkoziol | 434,913,366 | false | {"Kotlin": 583366, "Shell": 1892} | package biz.koziolek.adventofcode.year2023.day12
import biz.koziolek.adventofcode.findInput
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.Test
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.Arguments
import org.junit.... | 0 | Kotlin | 0 | 0 | 92dec160c8ed0141cfa8b545bdfd9e4827545ca9 | 7,741 | advent-of-code | MIT License |
basal_o_mat/app/src/main/java/com/hofstadtchristopher/basal_o_mat/viewModel/FProtocolViewModel.kt | CHFSTDT | 231,420,882 | false | null | package com.hofstadtchristopher.basal_o_mat.viewModel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.hofstadtchristopher.basal_o_mat.recyclerView.ListItem
import com.hof... | 0 | Kotlin | 0 | 0 | 0b82acfdd9cad38c2bb9839608beaf85f5532dca | 1,473 | BOM | MIT License |
common/src/commonMain/kotlin/com/oztechan/ccc/common/service/backend/BackendApiService.kt | CurrencyConverterCalculator | 102,633,334 | false | null | package com.oztechan.ccc.common.service.backend
import com.oztechan.ccc.common.model.CurrencyResponse
interface BackendApiService {
suspend fun getRates(base: String): CurrencyResponse
}
| 25 | Kotlin | 22 | 193 | 375828be4dcca3c99d0b0d084fa125cff1ad9895 | 193 | CCC | Apache License 2.0 |
src/test/kotlin/uk/gov/dwp/dataworks/egress/services/impl/DbServiceImplTest.kt | DanielChicot | 375,612,150 | false | null | package uk.gov.dwp.dataworks.egress.services.impl
import com.nhaarman.mockitokotlin2.*
import io.kotest.core.spec.style.WordSpec
import io.kotest.matchers.collections.shouldContainExactly
import software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient
import software.amazon.awssdk.services.dynamodb.model.Attribute... | 0 | Kotlin | 0 | 0 | 657c5cf5f2413600505f51df5cd0d14719dd2d69 | 4,828 | dataworks-data-egress | ISC License |
shared/src/androidMain/kotlin/com/calvin/box/movie/player/extractor/Youtube.kt | lhzheng880828 | 834,021,637 | false | {"Kotlin": 1016902, "Java": 712396, "JavaScript": 198922, "Shell": 3042, "Ruby": 2141, "Batchfile": 1261, "Swift": 1155, "HTML": 334, "CSS": 102} | package com.calvin.box.movie.player.extractor
import android.net.Uri
import android.util.Base64
import com.calvin.box.movie.bean.Episode
import com.calvin.box.movie.bean.Episode.Companion.create
import com.calvin.box.movie.player.Extractor
import com.github.catvod.net.HostOkHttp
import com.github.kiulian.downloader.Yo... | 0 | Kotlin | 1 | 2 | 141f3d5fabc79b57c4c313711dc7e0bbd6a921aa | 6,277 | MovieBox | Apache License 2.0 |
application/src/test/kotlin/org/gxf/crestdeviceservice/service/MessageProducerServiceTest.kt | OSGP | 700,328,489 | false | {"Kotlin": 66870, "Shell": 1238} | // SPDX-FileCopyrightText: Contributors to the GXF project
//
// SPDX-License-Identifier: Apache-2.0
package org.gxf.crestdeviceservice.service
import com.fasterxml.jackson.databind.ObjectMapper
import org.apache.avro.specific.SpecificRecordBase
import org.assertj.core.api.Assertions.assertThat
import org.gxf.crestdev... | 1 | Kotlin | 2 | 0 | e9887acfea48c549aad3e157f16404a923ee96f8 | 1,533 | sng-crest-device-service | Apache License 2.0 |
app/src/main/java/com/dscoding/takenoteapp/presentation/search_notes/SearchNotesEvent.kt | diogosantos41 | 507,406,921 | false | {"Kotlin": 172730, "HTML": 8360} | package com.dscoding.takenoteapp.presentation.search_notes
sealed interface SearchNotesEvent {
data class EnteredSearchText(val value: String) : SearchNotesEvent
object CleanSearchText : SearchNotesEvent
} | 0 | Kotlin | 0 | 0 | c1deb908c32772841aaabedfcbe630a646ed54ce | 214 | takenote-android | MIT License |
core/hymnal-content/impl/src/main/kotlin/hymnal/content/impl/model/JsonHymn.kt | TinasheMzondiwa | 272,096,849 | false | null | package hymnal.content.impl.model
import com.squareup.moshi.JsonClass
import hymnal.storage.entity.HymnEntity
@JsonClass(generateAdapter = true)
internal data class JsonHymn(
val title: String,
val number: Int,
val content: String
) {
fun toHymnEntity(book: String): HymnEntity = HymnEntity(
h... | 4 | Kotlin | 14 | 33 | 14581888c14a0f302bef9abcf24a812c157031e9 | 547 | cis-android | Apache License 2.0 |
kotest-runner/kotest-runner-junit5/src/jvmMain/kotlin/io/kotest/runner/junit/platform/JUnitTestEngineListener.kt | kotest | 47,071,082 | false | null | package io.kotest.runner.junit.platform
import io.kotest.core.Logger
import io.kotest.core.descriptors.Descriptor
import io.kotest.core.descriptors.DescriptorId
import io.kotest.core.descriptors.toDescriptor
import io.kotest.core.names.UniqueNames
import io.kotest.core.test.TestCase
import io.kotest.core.test.TestResu... | 145 | null | 648 | 4,435 | 2ce83d0f79e189c90e2d7bb3d16bd4f75dec9c2f | 16,240 | kotest | Apache License 2.0 |
app/src/main/java/com/breezefsmpriyankaenterprises/features/addAttendence/model/ReimbListOnClick.kt | DebashisINT | 650,050,446 | false | {"Kotlin": 13730372, "Java": 997354} | package com.breezefsmpriyankaenterprises.features.addAttendence.model
import com.breezefsmpriyankaenterprises.app.domain.NewOrderProductEntity
interface ReimbListOnClick {
fun reimbOnClick(product: ReimbListModel)
} | 0 | Kotlin | 0 | 0 | 8375e7d02b960de5b663130a5f743f3afc3122e7 | 221 | PriyankaEnterprises | Apache License 2.0 |
example/fixture/src/main/kotlin/io/holunda/camunda/worker/example/adapter/out/storage/OrderEntity.kt | holunda-io | 546,829,233 | false | {"Kotlin": 66984} | package io.holunda.camunda.worker.example.adapter.out.storage
import java.util.*
/**
* Order entity used for persistence.
*/
class OrderEntity(
/**
* Order id.
*/
val orderId: String,
/**
* Order create date.
*/
val created: Date,
/**
* List of order positions.
*/
val positions: List<... | 4 | Kotlin | 0 | 3 | 97d75e88f87f9ee8a32089b1e768deec1f13f7a9 | 359 | camunda-bpm-worker | Apache License 2.0 |
app/src/main/java/com/test/todolist/ui/theme/Color.kt | AlirezaGoshayesh | 563,379,165 | false | {"Kotlin": 89760} | package com.test.todolist.ui.theme
import androidx.compose.ui.graphics.Color
val Blue100 = Color(0XFFF4F6FD)
val Blue200 = Color(0XFF6AB7FF)
val Blue500 = Color(0XFF1E88E5)
val Blue700 = Color(0xFF1467B4)
val Purple = Color(0XFFAB47BC)
val Blue800 = Color(0XFF3D47AF)
val Blue900 = Color(0XFF0A155A) | 0 | Kotlin | 0 | 5 | 2ea16fbd0feefbbf714b0ab92b15536440fdedc4 | 301 | ToDo-Compose | Apache License 2.0 |
ui/src/test/kotlin/com/aptopayments/sdk/features/passcode/CreatePasscodeViewModelTest.kt | AptoPayments | 197,800,853 | false | null | package com.aptopayments.sdk.features.passcode
import com.aptopayments.sdk.InstantExecutorExtension
import com.aptopayments.sdk.features.analytics.Event
import com.aptopayments.sdk.features.analytics.AnalyticsManager
import org.mockito.kotlin.mock
import org.mockito.kotlin.verify
import org.mockito.kotlin.verifyNoMore... | 0 | Kotlin | 0 | 0 | 6f8e2f66730c987195d020aabea4e993a8114dca | 931 | apto-ui-sdk-android | MIT License |
app/src/main/java/tuver/movies/domain/GetMovieUseCase.kt | cemtuver | 611,461,467 | false | null | package tuver.movies.domain
import tuver.movies.model.MovieModel
interface GetMovieUseCase {
suspend fun getMovieUseCase(movieId: Int): Result<MovieModel>
} | 0 | Kotlin | 0 | 0 | 657f26f39607f47634e97708281426bdb9652a48 | 164 | android-movies | MIT License |
presentation/src/main/java/io/photopixels/presentation/screens/settings/SettingsScreenState.kt | scalefocus | 800,965,364 | false | {"Kotlin": 318358, "Shell": 1723} | package io.photopixels.presentation.screens.settings
import androidx.annotation.StringRes
import io.photopixels.domain.model.AppInfoData
import io.photopixels.domain.model.UserSettings
data class SettingsScreenState(
val appInfoData: AppInfoData? = null,
@StringRes val messageId: Int? = null,
val userSett... | 1 | Kotlin | 0 | 1 | 9220a0c95d022cf12c1d3e4b355c89f3717324ea | 394 | photopixels-android | Apache License 2.0 |
app/src/main/java/com/example/trackme/processing/DeadReckoningEngine.kt | unitatem | 306,978,983 | false | null | package com.example.trackme.processing
import com.example.trackme.DeadReckoningActivity
import com.example.trackme.sensor.Vector3
import com.example.trackme.sensor.Vector3f
class DeadReckoningEngine {
private val TAG: String = DeadReckoningActivity::class.qualifiedName.toString()
private val mKinematicsEquat... | 0 | Kotlin | 0 | 0 | 6f82450f5aae391f989a99c198d8cca5d99adf59 | 1,659 | track_me | MIT License |
injective-core/src/commonMain/kotlin/cosmwasm/wasm/v1/types.converter.kt | jdekim43 | 759,720,689 | false | {"Kotlin": 8940168, "Java": 3242559} | // Transform from cosmwasm/wasm/v1/types.proto
@file:GeneratorVersion(version = "0.3.1")
package cosmwasm.wasm.v1
import google.protobuf.Any
import java.lang.IllegalStateException
import kr.jadekim.protobuf.`annotation`.GeneratorVersion
import kr.jadekim.protobuf.converter.ProtobufConverter
import kr.jadekim.protobuf... | 0 | Kotlin | 0 | 0 | eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc | 3,717 | chameleon.proto | Apache License 2.0 |
fileboxlib/src/main/java/com/lyrebirdstudio/fileboxlib/filesystem/fileprovider/CacheRootFileProvider.kt | lyrebirdstudio | 238,207,373 | false | null | package com.lyrebirdstudio.fileboxlib.filesystem.fileprovider
import android.content.Context
import java.io.File
internal class CacheRootFileProvider(private val appContext: Context) :
RootFileProvider {
override fun getRootFile(folderName: String): File {
val folder = File(appContext.cacheDir, folde... | 3 | null | 24 | 312 | 0cfaa0d0b05ed5d25d87eed88de224f630ba91e6 | 431 | filebox | Apache License 2.0 |
buildSrc/src/main/kotlin/Versions.kt | brakhin | 342,307,417 | false | null | @Suppress("ObjectPropertyName")
object Versions {
const val kotlin = "1.3.70"
const val scalaBinary = "2.13"
const val lagom = "1.6.1" // "1.4.13"
const val ktlint = "0.32.0"
const val `ktlint-plugin` = "8.0.0"
const val `kotlin-logging` = "1.6.10"
const val swagger = "2.0.7"
const val j... | 1 | null | 1 | 1 | 87918cd681279cf7abf0abcdf17a6925039da863 | 657 | lagom-openapi | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.