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/main/kotlin/de/agiledojo/kata/checkoutservice/CheckoutApplication.kt | cfisch3r | 766,937,865 | false | {"Kotlin": 12032} | package de.agiledojo.kata.checkoutservice
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class CheckoutApplication
fun main(args: Array<String>) {
runApplication<CheckoutApplication>(*args)
}
| 0 | Kotlin | 0 | 0 | abfe9f7c0de756a86fdd09cbf5bcb531c7a189bc | 287 | potter-service | The Unlicense |
tokisaki-server/src/main/kotlin/io/micro/server/robot/infra/po/RobotEntity.kt | spcookie | 730,690,607 | false | {"Kotlin": 232855, "Java": 24191} | package io.micro.server.robot.infra.po
import io.micro.core.base.BaseEnum
import io.micro.core.persistence.BaseEntity
import io.micro.server.auth.infra.po.UserEntity
import jakarta.persistence.*
import org.hibernate.annotations.Fetch
import org.hibernate.annotations.FetchMode
import org.hibernate.proxy.HibernateProxy
... | 0 | Kotlin | 0 | 0 | eedb3574eb0c5c7f35c479447a7b6eac4c390cb0 | 2,533 | Tokisaki | Apache License 2.0 |
app/src/main/kotlin/com/fibelatti/pinboard/features/posts/domain/usecase/AddPost.kt | fibelatti | 165,537,939 | false | null | package com.fibelatti.pinboard.features.posts.domain.usecase
import com.fibelatti.core.functional.Result
import com.fibelatti.core.functional.UseCaseWithParams
import com.fibelatti.core.functional.map
import com.fibelatti.pinboard.features.posts.domain.PostsRepository
import com.fibelatti.pinboard.features.posts.domai... | 5 | Kotlin | 8 | 89 | 374976944d5ff5063e4281f8307ff259afd0731c | 1,862 | pinboard-kotlin | Apache License 2.0 |
app/src/main/java/org/stepic/droid/ui/fragments/NewCommentFragment.kt | abhirocks1211 | 205,717,847 | true | {"Java": 1818802, "Kotlin": 1403557, "CSS": 3790, "Shell": 618, "Prolog": 98} | package org.stepic.droid.ui.fragments
import android.app.Activity
import android.app.ProgressDialog
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.*
import android.view.inputmethod.InputMethodManager
import android.widget... | 1 | Java | 1 | 1 | 8a2ead7334b6b26a281b3a7842e6502fd96b2cc5 | 7,567 | stepik-android | Apache License 2.0 |
app/src/main/java/com/example/habit/data/Mapper/SocialMapper/FollowMapper.kt | vickatGit | 663,121,210 | false | {"Kotlin": 482474, "Java": 4691} | package com.example.habit.data.Mapper.SocialMapper
import com.example.habit.data.Mapper.SocialMapper.UserMapper.toUser
import com.example.habit.data.network.model.FollowModel.FollowerModel
import com.example.habit.data.network.model.FollowModel.FollowingModel
import com.example.habit.domain.models.Follow.Follow
import... | 0 | Kotlin | 0 | 0 | 67559162f6501881b4fbd9ff807e6e13023fc087 | 866 | HB | MIT License |
app-android/src/main/java/dev/sergiobelda/todometer/app/android/ui/navhost/TodometerNavHost.kt | serbelga | 301,817,067 | false | {"Kotlin": 616474, "Swift": 767} | /*
* Copyright 2022 Sergio Belda
*
* 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... | 9 | Kotlin | 31 | 488 | 517c9161ec1ef53d223993e66d50895fda7f4959 | 5,918 | Todometer-KMP | Apache License 2.0 |
app/src/main/kotlin/com/boscatov/schedulercw/view/adapter/project/ProjectDiffUtil.kt | 23alot | 160,862,563 | false | null | package com.boscatov.schedulercw.view.adapter.add_project
import androidx.recyclerview.widget.DiffUtil
import com.boscatov.schedulercw.data.entity.Project
/**
* Created by boscatov on 14.04.2019.
*/
class AddProjectDiffUtil(
private val oldList: List<Project>,
private val newList: List<Project>
): DiffUtil.... | 0 | Kotlin | 0 | 0 | 28ef14d8134a8555b1f2dee62bce9bef5ad6f607 | 910 | scheduler-cw | Apache License 2.0 |
app/src/main/java/com/bytedance/ttgame/dagger2application/dagger/ActivitySubcomponent.kt | CreateChance | 725,986,477 | false | {"Kotlin": 23567} | package com.bytedance.ttgame.dagger2application.dagger
import com.bytedance.ttgame.dagger2application.MainActivity
import com.bytedance.ttgame.dagger2application.SecondActivity
import dagger.Subcomponent
/**
*
*
* @author 高超(gaochao.cc)
* @since 2023/12/1
*/
@Subcomponent(modules = [ActivityMutableDataModule::cl... | 0 | Kotlin | 0 | 0 | 507abee830e8028a14ca96b39e2c15bec8b9c380 | 538 | Dagger2Application | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/inspectionsLocal/unnecessaryOptInAnnotation/typeAlias.kt | ingokegel | 72,937,917 | false | null | // WITH_STDLIB
// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
@RequiresOptIn
@Target(AnnotationTarget.TYPEALIAS)
annotation class Marker
class A {
fun foo() {}
}
@Marker
typealias B = A
@OptIn(Marker::class<caret>)
fun bar() {
val x = A()
x.foo()
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 271 | intellij-community | Apache License 2.0 |
demo/src/main/kotlin/com/otaliastudios/cameraview/demo/PicturePreviewActivity.kt | natario1 | 97,580,115 | false | {"Gradle Kotlin DSL": 4, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 34, "YAML": 7, "Proguard": 2, "Java": 242, "XML": 33, "Kotlin": 6, "Ruby": 1, "HTML": 9, "SVG": 2, "CSS": 7} | package com.otaliastudios.cameraview.demo
import android.content.Intent
import android.graphics.BitmapFactory
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.util.Log
import android.view.Menu
import android.view.MenuItem
import android.widget.ImageVi... | 117 | Java | 917 | 4,876 | b279ffaf57919b7dffccc8879a0cb1eeb542c1ca | 4,306 | CameraView | MIT License |
src/main/kotlin/org/arend/codeInsight/completion/Constants.kt | JetBrains | 96,068,447 | false | {"Kotlin": 2644104, "Lex": 16187, "Java": 5894, "HTML": 2144, "CSS": 1108, "JavaScript": 713} | package org.arend.codeInsight.completion
import org.arend.psi.ArendElementTypes.*
val FIXITY_KWS = listOf(INFIX_LEFT_KW, INFIX_RIGHT_KW, INFIX_NON_KW, NON_ASSOC_KW, LEFT_ASSOC_KW, RIGHT_ASSOC_KW).map { it.toString() }
val STATEMENT_WT_KWS = listOf(FUNC_KW, SFUNC_KW, LEMMA_KW, TYPE_KW, CONS_KW, DATA_KW, CLASS_KW, REC... | 73 | Kotlin | 15 | 90 | b11d0906f9a0d9680675a418cdc50b98e2d33c92 | 2,916 | intellij-arend | Apache License 2.0 |
cbordata/src/main/java/com/ul/ims/gmdl/cbordata/request/DataElements.kt | prashantkspatil | 377,765,486 | true | {"Kotlin": 1392515, "Java": 421643} | /*
* Copyright (C) 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | null | 0 | 0 | a6c3a6077ef5e7774ff70929ae4f33968ce6f598 | 2,948 | mdl-ref-apps | Apache License 2.0 |
core/src/main/java/com/mobilepqi/core/data/source/remote/response/profil/PutProfilResponse.kt | acalapatih | 708,105,917 | false | {"Kotlin": 524790} | package com.mobilepqi.core.data.source.remote.response.profil
import com.google.gson.annotations.SerializedName
data class PutProfilResponse(
@field:SerializedName("data")
val data: Data? = null,
@field:SerializedName("message")
val message: String? = null,
@field:SerializedName("status")
val status: Int? = ... | 0 | Kotlin | 0 | 0 | e4c7c4a93d1c2b1632a45c827b9df76652b0d0f7 | 1,246 | MobilePQI_mobileApps | MIT License |
compiler/testData/diagnostics/tests/Constants.fir.kt | JetBrains | 3,432,266 | false | null | // !CHECK_TYPE
fun varargByte(vararg v: Byte) = v
fun varargShort(vararg v: Short) = v
fun varargInt(vararg v: Int) = v
fun varargLong(vararg v: Long) = v
fun varargFloat(vararg v: Float) = v
fun varargDouble(vararg v: Double) = v
fun <T> testFun(p: T) {}
fun test() {
checkSubtype<Byte>(1)
checkSubtype<... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,639 | kotlin | Apache License 2.0 |
domain/src/main/kotlin/io/exflo/domain/ContractEvents.kt | freight-trust | 244,709,841 | true | {"Java": 472760, "Kotlin": 463936, "JavaScript": 49927, "Dockerfile": 5903, "Shell": 2278} | /*
* Copyright (c) 2020 41North.
*
* 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 | 1 | ec2c7cabd905343cd0d0252482624d537d39c962 | 13,190 | exflo | Apache License 2.0 |
app/src/main/java/com/musical/instrument/simulator/app/database/AppDatabase.kt | daovu97 | 813,488,266 | false | {"Kotlin": 224082, "Java": 149657} | package com.musical.instrument.simulator.app.database
import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.RoomDatabase
import com.musical.instrument.simulator.app.model.AudioFile
@Database(
entities = [AudioFile::class],
version = 2,
autoMigrations = [AutoMigration(from =... | 0 | Kotlin | 0 | 0 | 714fbd3f48c359e4dfa16a6455a44d6617028d93 | 421 | MusicInstrument | MIT License |
src/main/kotlin/ok/work/etoroapi/controller/PositionsController.kt | ok24601 | 240,984,198 | false | null | package ok.work.etoroapi.controller
import ok.work.etoroapi.client.EtoroHttpClient
import ok.work.etoroapi.client.EtoroPosition
import ok.work.etoroapi.client.EtoroPositionForUpdate
import ok.work.etoroapi.model.Position
import ok.work.etoroapi.model.ofString
import ok.work.etoroapi.transactions.Transaction
import org... | 31 | null | 46 | 94 | b5044cb62dcd5f32b5677c316a37a46355891ef6 | 1,824 | etoro-api | ISC License |
app/src/test/java/com/github/forrest321/util/DefaultConfig.kt | forrest321 | 185,419,848 | false | null | package com.github.forrest321.util
object DefaultConfig {
//The api level that Roboelectric will use to run the unit tests
val EMULATE_SDK = 24
} | 0 | Kotlin | 0 | 1 | 04cd52d6a8ec778f29a7e0c6fada71e20e662433 | 154 | QLT | The Unlicense |
komapper-core/src/main/kotlin/org/komapper/core/Dialect.kt | komapper | 349,909,214 | false | null | package org.komapper.core
import org.komapper.core.dsl.builder.DryRunSchemaStatementBuilder
import org.komapper.core.dsl.builder.EntityUpsertStatementBuilder
import org.komapper.core.dsl.builder.OffsetLimitStatementBuilder
import org.komapper.core.dsl.builder.OffsetLimitStatementBuilderImpl
import org.komapper.core.ds... | 6 | Kotlin | 0 | 16 | 7092a2bd24b609a1816bf05c89730259ff45178d | 3,257 | komapper | Apache License 2.0 |
app/src/main/kotlin/com/mr3y/podcaster/service/ServiceMediaPlayer.kt | mr3y-the-programmer | 720,570,256 | false | {"Kotlin": 944363, "HTML": 196} | package com.mr3y.podcaster.service
import androidx.annotation.OptIn
import androidx.annotation.VisibleForTesting
import androidx.media3.common.C
import androidx.media3.common.ForwardingPlayer
import androidx.media3.common.MediaItem
import androidx.media3.common.PlaybackException
import androidx.media3.common.Player
im... | 9 | Kotlin | 3 | 68 | 5113b7c03c5d8df6e3a0a74260912460cace5fbf | 6,883 | Podcaster | Apache License 2.0 |
app/src/main/java/ru/spb/dair/roadmovie/MainActivity.kt | dair | 146,125,648 | false | null | package ru.spb.dair.roadmovie
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.content.Context.ACTIVITY_SERVICE
import android.app.ActivityManager
import android.content.Context
import android.content.Intent
import android.widget.TextView
import andro... | 0 | Kotlin | 0 | 0 | cdbf9e99987e44a2041c8c9ba27309a20bc225ed | 6,392 | roadmovie-android | Apache License 2.0 |
projects/vocabulary/worder/src/main/kotlin/com/example/worder/starter/Application.kt | roskenet | 295,683,964 | false | {"HTML": 708028, "Jupyter Notebook": 571597, "TeX": 547996, "Java": 447619, "Makefile": 214272, "JavaScript": 204557, "CMake": 113090, "Kotlin": 88563, "TypeScript": 61333, "Clojure": 36776, "CSS": 25303, "C++": 19374, "Red": 13104, "Python": 12901, "Shell": 12248, "SCSS": 5588, "Go": 4797, "Dockerfile": 2073, "C": 168... | package com.example.worder.starter
import org.springframework.boot.CommandLineRunner
class Application : CommandLineRunner {
override fun run(vararg args: String?) {
println("Hello World!")
}
} | 0 | HTML | 1 | 0 | 39975a0248f2e390f799bdafde1170322267761b | 211 | playground | MIT License |
src/main/java/cn/origin/cube/event/EventManager.kt | jiyun233 | 535,282,475 | false | {"Kotlin": 97032, "Java": 81332} | package cn.origin.cube.event
import cn.origin.cube.Cube
import cn.origin.cube.event.events.world.Render3DEvent
import cn.origin.cube.utils.Utils
import net.minecraft.client.Minecraft
import net.minecraft.client.renderer.GlStateManager
import net.minecraftforge.client.event.ClientChatEvent
import net.minecraftforge.cli... | 4 | Kotlin | 1 | 16 | d0ba15713b92f517a4c9894c08d31cca6f71db5b | 3,465 | CubeBase | MIT License |
trixnity-client/src/commonMain/kotlin/net/folivo/trixnity/client/MatrixClientConfiguration.kt | benkuly | 330,904,570 | false | null | package net.folivo.trixnity.client
import io.ktor.client.*
import kotlinx.coroutines.CoroutineName
import net.folivo.trixnity.api.client.defaultTrixnityHttpClientFactory
import net.folivo.trixnity.client.store.Room
import net.folivo.trixnity.client.store.TimelineEvent
import net.folivo.trixnity.core.model.events.Clien... | 0 | null | 3 | 30 | 96c656e1c20d60518b61884efe88ceaa9e899d75 | 4,757 | trixnity | Apache License 2.0 |
sample-todo/src/main/java/com/airbnb/mvrx/todomvrx/views/HorizontalLoader.kt | airbnb | 139,500,036 | false | null | package com.airbnb.mvrx.todomvrx.views
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.widget.FrameLayout
import android.widget.ProgressBar
import com.airbnb.epoxy.ModelProp
import com.airbnb.epoxy.ModelView
import com.airbnb.mvrx.todomvrx.todoapp.R
@ModelView(a... | 61 | null | 498 | 5,816 | e920c4b0fe73183a3bb51e648066ebd5f7be3e8c | 1,030 | mavericks | Apache License 2.0 |
android/src/ti/airship/events/PushReceivedEvent.kt | urbanairship | 56,192,548 | false | {"Swift": 56947, "Kotlin": 52710, "JavaScript": 6487, "Shell": 3263, "Objective-C": 1883, "Ruby": 678, "Makefile": 627} | /* Copyright Airship and Contributors */
package ti.airship.events
import com.urbanairship.push.NotificationInfo
import com.urbanairship.push.PushMessage
import ti.airship.TiAirshipModule
class PushReceivedEvent : Event {
override val data: Map<String, Any>
override val name: String = TiAirshipModule.eventPu... | 1 | Swift | 9 | 9 | 40cc52a9629d75f467012097839b6c67841bd33d | 533 | titanium-module | Apache License 2.0 |
app/src/main/java/codeguru/gocapture/ImageFragment.kt | codeguru42 | 555,696,471 | false | null | package codeguru.gocapture
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.navArgs
import codeguru.gocapture.databinding.FragmentImageBinding
import kotlin... | 8 | Kotlin | 0 | 1 | b9706d859436f937e2d13146a2651c51a7021ea7 | 1,571 | go-capture-android | MIT License |
app/src/main/java/app/grapheneos/camera/ui/seekbar/ZoomBar.kt | GrapheneOS | 397,136,540 | false | null | package com.google.android.GoogleCamera.ui.seekbar
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.drawable.BitmapDrawable
import android.os.Handler
import android.os.Looper
import android.util.AttributeSet
impo... | 7 | null | 86 | 849 | 3c8bfd2f0cd1a5044890c85908dfb073879deaef | 4,832 | Camera | MIT License |
src/main/java/net/eduard/api/server/MineSystem.kt | EduardMaster | 103,982,025 | false | null | package net.eduard.api.server
import org.bukkit.Location
import org.bukkit.entity.Player
import org.bukkit.inventory.ItemStack
import org.bukkit.material.MaterialData
interface MineSystem : PluginSystem{
fun hasMine(name : String) : Boolean
fun getMine(name: String) : MineModule?
fun getMine(location: Loc... | 0 | null | 5 | 7 | bb778365ce76fabbdbc516b918b4feedee7edf12 | 724 | MineToolkit | MIT License |
src/main/kotlin/io/github/jsonmockr/configuration/model/GeneratorConfig.kt | json-mockr | 608,903,747 | false | null | package io.github.jsonmockr.configuration.model
data class GeneratorConfig(val name: String, val quantity: Int)
| 3 | Kotlin | 0 | 6 | 1f82378676182e78ca9aa5d52084205091a1f13c | 113 | json-mockr | MIT License |
app/src/main/java/com/example/anidea/howmuchgrams.kt | Wodjess | 673,471,308 | false | null | package com.example.anidea
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.core.net.toUri
import com.example.anidea.databinding.ActivityHowmuchgramsBinding
c... | 0 | Kotlin | 0 | 0 | 413218abdce872298ba11ceada528d8c1c70f784 | 2,134 | AnIdea | MIT License |
leetcode2/src/leetcode/odd-even-linked-list.kt | hewking | 68,515,222 | false | {"Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 104, "Java": 88, "JSON": 1, "XML": 5} | package leetcode
import leetcode.structure.ListNode
/**
* 328. 奇偶链表
* https://leetcode-cn.com/problems/odd-even-linked-list/
* @program: leetcode
* @description: ${description}
* @author: hewking
* @create: 2019-10-18 21:09
* 给定一个单链表,把所有的奇数节点和偶数节点分别排在一起。请注意,这里的奇数节点和偶数节点指的是节点编号的奇偶性,而不是节点的值的奇偶性。
请尝试使用原地算法完成。你的算... | 0 | Kotlin | 0 | 0 | a00a7aeff74e6beb67483d9a8ece9c1deae0267d | 1,205 | leetcode | MIT License |
bookcase-web/src/main/kotlin/com/github/vhromada/bookcase/web/BookcaseWebConfiguration.kt | vhromada | 127,519,826 | false | null | package com.github.vhromada.bookcase.web
import com.github.vhromada.bookcase.BookcaseConfiguration
import com.github.vhromada.common.entity.Account
import com.github.vhromada.common.provider.AccountProvider
import com.github.vhromada.common.provider.TimeProvider
import com.github.vhromada.common.provider.UuidProvider
... | 0 | Kotlin | 0 | 0 | c3b6da21b0be7cdc5a13ceb3f04937316207bf77 | 1,825 | Bookcase | MIT License |
app/src/main/java/com/edricchan/studybuddy/utils/UiUtils.kt | EdricChan03 | 100,260,817 | false | {"Kotlin": 710001, "Ruby": 202} | package com.edricchan.studybuddy.utils
import android.content.Context
import com.edricchan.studybuddy.R
import com.edricchan.studybuddy.ui.modules.main.MainActivity
import com.google.android.material.bottomappbar.BottomAppBar
import com.google.android.material.floatingactionbutton.FloatingActionButton
/**
* Utilitie... | 30 | Kotlin | 11 | 8 | 2d54a64c4dcd1808cc5fe487f2ce49f3e6f1e796 | 1,127 | studybuddy-android | MIT License |
plugin/src/org/jetbrains/haskell/sdk/HaskellSdkAdditionalData.kt | riazanovskiy | 54,122,929 | false | null | package org.jetbrains.haskell.sdk
import com.intellij.openapi.options.ConfigurationException
import com.intellij.openapi.projectRoots.SdkAdditionalData
import com.intellij.openapi.projectRoots.SdkModel
import org.jdom.Element
import org.jetbrains.haskell.util.OSUtil
public class HaskellSdkAdditionalData(cabalPath: S... | 1 | null | 1 | 1 | 51de5fa74691f12e25dde7b51047b9210013aec5 | 1,919 | haskell-idea-plugin | Apache License 2.0 |
src/main/kotlin/simulation/BGPAdvertisementInitializer.kt | FAWC438 | 443,940,908 | false | {"Kotlin": 185867} | package simulation
import bgp.BGP
import bgp.BGPRoute
import core.routing.NodeID
import core.routing.Topology
import core.simulator.Advertisement
import core.simulator.RandomDelayGenerator
import core.simulator.Time
import io.InterdomainAdvertisementReader
import io.InterdomainTopologyReader
import io.ParseException
i... | 0 | Kotlin | 0 | 3 | 8a1f75ee37535ba87d98c3e0fe93d79e5fb83c38 | 8,412 | BGP-ASPA | MIT License |
kafkistry-record-structure/src/main/kotlin/com/infobip/kafkistry/recordstructure/MergingContext.kt | infobip | 456,885,171 | false | null | package com.infobip.kafkistry.recordstructure
import com.infobip.kafkistry.model.*
import com.infobip.kafkistry.model.PayloadType
import com.infobip.kafkistry.model.RecordFieldType
import kotlin.math.absoluteValue
open class MergingContext(
properties: RecordAnalyzerProperties,
now: Long = generateTimestamp()... | 1 | null | 6 | 42 | 62403993a76fdf60b4cae3a87c5be0abe4fb3a88 | 8,811 | kafkistry | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/pullrequest/data/GHPRDataContextRepository.kt | hieuprogrammer | 284,920,751 | 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 org.jetbrains.plugins.github.pullrequest.data
import com.intellij.openapi.components.Service
import com.intellij.openapi.components.service
import com.intellij.openapi.di... | 191 | null | 4372 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 9,406 | intellij-community | Apache License 2.0 |
core/src/main/java/com/dtb/core/common/cache/PreferenceCacheImpl.kt | DaoBillTang | 109,212,518 | false | null | package com.dtb.core.common.cache
import android.content.Context
import android.content.SharedPreferences
import com.dtb.core.common.cache.contract.ICache
/**
* Project com.daotangbill.exlib.commons.utils
* Created by DaoTangBill on 2020/2/23/023.
* Email:<EMAIL>
*
* @author bill
* @version 1.0
* @description... | 1 | null | 4 | 4 | 2ae19a8c7986cd49fece58475ef0080e1ccc2204 | 1,816 | MLib | Apache License 2.0 |
src/commonMain/kotlin/KisOpenApi.kt | devngho | 565,833,597 | false | {"Kotlin": 268528} | package io.github.devngho.kisopenapi
import io.github.devngho.kisopenapi.requests.*
import io.github.devngho.kisopenapi.requests.response.CorporationRequest
import io.github.devngho.kisopenapi.requests.response.LiveResponse
import io.github.devngho.kisopenapi.requests.util.createHttpClient
import io.github.devngho.kis... | 0 | Kotlin | 1 | 2 | bba61df1301f0d75f9051e5f423773faadb0a333 | 8,244 | kt_kisopenapi | MIT License |
app/src/main/java/com/guhungry/photomanipulator/demo/ImageUtils.kt | guhungry | 175,389,166 | false | null | package com.guhungry.rnphotomanipulator.utils
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.net.Uri
import com.guhungry.photomanipulator.*
import java.io.InputStream
import java.util.*
object ImageUtils {
/**
* Get Bitmap from Image Uri
... | 7 | null | 38 | 7 | 48496059f28a902465b381b33b37923b37c2262b | 3,458 | android-photo-manipulator | MIT License |
richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/parser/markdown/MarkdownUtils.kt | MohamedRejeb | 630,584,174 | false | {"Kotlin": 550169} | package com.yiyitec.richeditor.parser.markdown
import com.yiyitec.richeditor.utils.fastForEach
import org.intellij.markdown.IElementType
import org.intellij.markdown.MarkdownElementTypes
import org.intellij.markdown.MarkdownTokenTypes
import org.intellij.markdown.ast.ASTNode
import org.intellij.markdown.ast.findChildO... | 56 | Kotlin | 61 | 995 | d07edeb20bbfddc7834618cca630d1326c4c6668 | 4,727 | compose-rich-editor | Apache License 2.0 |
app/src/main/java/com/nyi/game/tictactoe/TicTacToeViewModel.kt | NyiNyiLin | 262,045,830 | false | null | package com.nyi.game.tictactoe
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.nyi.game.tictactoe.PlayerState.DRAW
import com.nyi.game.tictactoe.PlayerState.O_WIN
import com.nyi.game.tictactoe.PlayerState.USER_TURN
import com.nyi.game.tictactoe.PlayerSta... | 0 | Kotlin | 0 | 0 | c7f74fd15c1c5e0a1b81527e325b60ba18e9ad67 | 2,992 | Alpha-Game | Apache License 2.0 |
Base/src/main/java/xy/xy/base/listener/LoadViewListener.kt | xiuone | 291,512,847 | false | null | package com.xy.base.listener
import android.view.View
interface LoadViewListener : LoadEmptyView, LoadErrorView {
fun createContentView(): View?
fun createLoadView():View?
fun createUnNetView(): View?
fun createErrorReLoadView(): View?
fun createUnNetReLoadView(): View?
} | 0 | Kotlin | 1 | 2 | a91666c064e6843511094727503687a1ade12f3f | 294 | ajinlib | Apache License 2.0 |
src/main/kotlin/com/joshlong/twitter/api/Entities.kt | this-week-in | 251,168,523 | false | null | package com.joshlong.twitter.api
import java.net.URL
data class Entities(
val hashtags: List<Hashtag>,
val userMentions: List<UserMention>,
val urls: List<URL>
) | 0 | Kotlin | 0 | 0 | a4bd63e86939c8d7443b62c8807e773b9728dbbd | 169 | twitter-client | Apache License 2.0 |
notification-infrastructure/src/main/kotlin/io/github/v1servicenotification/domain/notification/presentation/dto/Group.kt | team-xquare | 443,712,278 | false | {"Kotlin": 98727, "Dockerfile": 448} | package io.github.v1servicenotification.domain.notification.presentation.dto
import com.fasterxml.jackson.annotation.JsonProperty
data class Group(
val topic: String,
val content: String,
@JsonProperty("thread_id")
val threadId: String,
)
| 2 | Kotlin | 0 | 9 | cc9c622d781b49607eec0f03386723832a65ac7d | 259 | v1-service-notification | MIT License |
api/src/main/java/com/nspu/riotapi/models/LeagueList.kt | nspu | 127,918,560 | false | null | package fr.nspu.riot_api.models
import android.os.Parcel
import android.os.Parcelable
data class LeagueList(
var leagueId: String? = null,
var tier: String? = null,
var entries: List<LeagueItem>? = null,
var queue: String? = null,
var name: String? = null
) : Parcelable {
... | 0 | null | 0 | 1 | 75fa318a2a936438edc9eb45056cd1b27bcc0f3d | 1,147 | riot-api-android | MIT License |
android/SwiftKotlination/features/topstories/src/test/kotlin/fr/jhandguy/topstories/model/mocks/TopStoriesManagerMock.kt | jhandguy | 130,410,529 | false | null | package fr.jhandguy.topstories.model.mocks
import fr.jhandguy.network.model.observer.Disposable
import fr.jhandguy.network.model.observer.Observer
import fr.jhandguy.network.model.observer.Result
import fr.jhandguy.topstories.model.TopStories
import fr.jhandguy.topstories.model.TopStoriesManagerInterface
class TopSto... | 0 | Swift | 7 | 24 | 56c44db2ca9e7c5196f8ce108d73157d417a56cf | 678 | SwiftKotlination | MIT License |
relive-simulator-core/src/jvmMain/kotlin/xyz/qwewqa/relive/simulator/core/gen/valuesGenRemakeSkill.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.gen
actual val valuesGenRemakeSkill: Map<Int, GenRemakeSkill> by lazy {
loadMasterData<GenRemakeSkill>(dataGenRemakeSkill)
}
| 0 | Kotlin | 11 | 7 | e32dab696f56ead176e35fca40add33ad1e7f742 | 169 | relight | MIT License |
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/visitors/IrElementVisitorVoid.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 183 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 17,322 | kotlin | Apache License 2.0 |
src/main/kotlin/io/kjson/JSONDecimal.kt | pwall567 | 390,720,614 | false | null | /*
* @(#) JSONDecimal.kt
*
* kjson-core JSON Kotlin core functionality
* Copyright (c) 2021, 2022 <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, includ... | 0 | null | 0 | 1 | 61fb20ee49ac5b83667c35b301337e66673f6e8e | 5,117 | kjson-core | MIT License |
src/main/kotlin/com/aemtools/index/search/AemComponentSearch.kt | iannovic | 107,144,305 | true | {"Kotlin": 574047, "HTML": 14948, "Java": 4019, "Lex": 3652} | package com.aemtools.index.search
import com.aemtools.index.AemComponentClassicDialogIndex
import com.aemtools.index.AemComponentDeclarationIndex
import com.aemtools.index.AemComponentTouchUIDialogIndex
import com.aemtools.index.model.AemComponentClassicDialogDefinition
import com.aemtools.index.model.AemComponentDefi... | 0 | Kotlin | 0 | 0 | d9c1558872fd5e32f18e0bab0afa8f4495da95b0 | 3,941 | aemtools | MIT License |
http4k-server/jetty11/src/main/kotlin/org/http4k/server/jetty11.kt | http4k | 86,003,479 | false | null | package org.http4k.server
import org.eclipse.jetty.server.Server
import org.http4k.core.HttpHandler
import org.http4k.server.ServerConfig.StopMode
import org.http4k.server.ServerConfig.StopMode.Graceful
import org.http4k.server.ServerConfig.StopMode.Immediate
import org.http4k.server.ServerConfig.UnsupportedStopMode
i... | 34 | null | 249 | 2,615 | 7ad276aa9c48552a115a59178839477f34d486b1 | 1,866 | http4k | Apache License 2.0 |
net.akehurst.language/agl-processor/src/commonTest/kotlin/agl/parser/scannerless/leftAndRightRecursive/test_bodmas2_WS.kt | dhakehurst | 197,245,665 | false | null | /**
* Copyright (C) 2018 Dr. <NAME> (http://dr.david.h.akehurst.net)
*
* 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... | 2 | null | 5 | 36 | c4a404149d165ea57220f978c5f2bde3ac6f14f3 | 9,808 | net.akehurst.language | Apache License 2.0 |
compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/utils/NameTables.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ir.backend.js.utils
import org.jetbrains.kotlin.descriptors.DescriptorVisibiliti... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 10,825 | kotlin | Apache License 2.0 |
whetstone/compiler/src/main/kotlin/com/freeletics/mad/whetstone/codegen/common/ComposeGenerator.kt | freeletics | 375,363,637 | false | null | package com.freeletics.mad.whetstone.codegen.common
import com.freeletics.mad.whetstone.BaseData
import com.freeletics.mad.whetstone.ComposeData
import com.freeletics.mad.whetstone.codegen.Generator
import com.freeletics.mad.whetstone.codegen.util.asComposeState
import com.freeletics.mad.whetstone.codegen.util.composa... | 5 | Kotlin | 5 | 43 | 102987a931cebb7d2352a46f7b86c6a32b23982d | 2,072 | mad | Apache License 2.0 |
operator/src/main/kotlin/eu/glasskube/operator/apps/gitlab/dependent/GitlabIngress.kt | glasskube | 528,301,150 | false | null | package eu.glasskube.operator.apps.gitlab.dependent
import eu.glasskube.kubernetes.api.model.extensions.ingress
import eu.glasskube.kubernetes.api.model.extensions.ingressBackend
import eu.glasskube.kubernetes.api.model.extensions.ingressPath
import eu.glasskube.kubernetes.api.model.extensions.ingressRule
import eu.gl... | 23 | Kotlin | 4 | 57 | 0cb51187275bfc1f17d7386a790645604532c052 | 2,050 | operator | MIT License |
module/test/src/test/kotlin/com/github/jameshnsears/chance/data/repository/settings/RepositorySettingsUnitTest.kt | jameshnsears | 725,514,594 | false | {"Kotlin": 348231, "Shell": 678} | package com.github.jameshnsears.chance.data.repository.settings
import com.github.jameshnsears.chance.data.repository.settings.mock.RepositorySettingsTestDouble
import com.github.jameshnsears.chance.data.sample.settings.SampleSettingsStartup
import com.github.jameshnsears.chance.utility.android.UtilityAndroidHelper
im... | 1 | Kotlin | 0 | 0 | a3ceaa3329de9f329ced7b2e02a8177890a8cc73 | 1,593 | Chance | Apache License 2.0 |
xprl-efactura-model/src/main/kotlin/uk/co/xprl/efactura/IdentificationType.kt | xprl-gjf | 534,729,919 | false | {"Kotlin": 364167} | package ec.com.xprl.efactura
/**
* Valores por el campo <tt>tipoIdentificaciónComprador</tt>.
*
*
* Según [SRI Ficha técnica v2.21](https://www.sri.gob.ec/o/sri-portlet-biblioteca-alfresco-internet/descargar/435ca226-b48d-4080-bb12-bf03a54527fd/FICHA%20TE%cc%81CNICA%20COMPROBANTES%20ELECTRO%cc%81NICOS%20ESQUEMA%20... | 0 | Kotlin | 0 | 1 | 58d75bd3bfb96e05ef919aebcec3336c3397c2fb | 1,042 | xprl-efactura | Apache License 2.0 |
app/src/main/java/org/covidwatch/android/data/positivediagnosis/PositiveDiagnosisRemoteSource.kt | covidwatchorg | 261,834,815 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 2, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "PlantUML": 2, "YAML": 3, "Proguard": 1, "Kotlin": 162, "INI": 1, "XML": 185, "Java": 2, "Protocol Buffer": 1} | package org.covidwatch.android.data.positivediagnosis
import androidx.annotation.WorkerThread
import com.google.common.io.BaseEncoding
import com.google.gson.*
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Compani... | 11 | Kotlin | 7 | 11 | a9d6fe16427f131fb8e5a5044db34cedb760c56e | 4,152 | covidwatch-android-en | Apache License 2.0 |
src/main/kotlin/pl/wendigo/chrome/api/io/Domain.kt | wendigo | 83,794,841 | false | null | package pl.wendigo.chrome.api.io
import kotlinx.serialization.json.Json
/**
* Input/Output operations for streams produced by DevTools.
*
* @link Protocol [IO](https://chromedevtools.github.io/devtools-protocol/tot/IO) domain documentation.
*/
class IODomain internal constructor(connection: pl.wendigo.chrome.pro... | 3 | Kotlin | 11 | 76 | 29b51e37ed509938e986d1ada8cc2b0c8461cb73 | 4,986 | chrome-reactive-kotlin | Apache License 2.0 |
AUTH_SERVICE/src/main/kotlin/example/com/data/dto/response/ClusterDTO.kt | singhtwenty2 | 842,083,119 | false | {"Kotlin": 95128, "JavaScript": 77547, "Java": 16073, "CSS": 2715, "HTML": 344} | package example.com.data.dto.response
import kotlinx.serialization.Serializable
@Serializable
data class ClusterDTO(
val clusterId: String,
val clusterName: String,
val description: String?,
val isActive: String,
val createdAt: String,
val updatedAt: String
)
| 0 | Kotlin | 0 | 1 | c4c9ff211a61fe1a6f3d532cf9cd3e25e279a5c5 | 286 | MetricX | MIT License |
src/main/kotlin/com/cultureshock/madeleine/auth/client/kakao/KakaoClient.kt | DDD-Community | 401,593,410 | false | null | package com.cultureshock.madeleine.auth.client.kakao
import com.cultureshock.madeleine.auth.client.AbstractClient
import com.cultureshock.madeleine.auth.client.kakao.dto.response.KakaoUserLogout
import com.cultureshock.madeleine.auth.client.kakao.dto.response.KakaoUserResponse
import org.slf4j.LoggerFactory
import org... | 2 | Kotlin | 1 | 4 | fc07b03adafd42f7c9c11c8e135c197f24182df8 | 1,669 | CultureShock-Server | MIT License |
app/src/main/java/com/z3tecx/catinfo/api/ApiCat.kt | zildrs | 185,106,034 | false | {"Kotlin": 4342} | package com.z3tecx.catinfo.api
import com.google.gson.annotations.SerializedName
data class ApiCat (
@SerializedName("name") val name: String,
@SerializedName("origin") val origin: String
) | 0 | Kotlin | 0 | 0 | 2b8e175356a25d00c347191b02386f1cd5639461 | 200 | CatInfo | MIT License |
app/src/test/java/hu/mostoha/mobile/android/huki/extensions/DurationExtensionsTest.kt | RolandMostoha | 386,949,428 | false | {"Kotlin": 1025137, "Java": 38751, "Shell": 308} | package hu.mostoha.mobile.android.huki.extensions
import com.google.common.truth.Truth.assertThat
import org.junit.Test
import kotlin.time.Duration.Companion.milliseconds
class DurationExtensionsTest {
@Test
fun `Given duration, when formatHoursAndMinutes, then formatted string returns`() {
val durat... | 0 | Kotlin | 1 | 9 | 92587e6dcc68d89b5ffb2afd8cdd3c0cc47fb7d4 | 464 | HuKi-Android | The Unlicense |
app/src/main/java/top/kengtion/dsaudiojetpack/ui/state/Song.kt | kengtion | 615,635,048 | false | null | package top.kengtion.dsaudiojetpack.ui.state
data class Song(
val path:String,
val name:String,
val artist:String,
val albumId:Long,
val albumName:String,
val rate:Int,
val type:String?,
) | 0 | Kotlin | 0 | 0 | 391fbbfb22bd3de2323313ee442540be3b2a2ed2 | 217 | DSAudio-Jetpack | MIT License |
adoptopenjdk-api-v3-updater/src/main/kotlin/net/adoptopenjdk/api/v3/mapping/upstream/UpstreamBinaryMapper.kt | johnoliver | 196,358,547 | true | {"Kotlin": 184956, "CSS": 992, "HTML": 988, "Shell": 734} | package net.adoptopenjdk.api.v3.mapping.upstream
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import net.adoptopenjdk.api.v3.dataSources.github.graphql.models.GHAsset
import net.adoptopenjdk.api.v3.mapping.BinaryMapper
import net.adoptopenjdk.api.v3.mapping.a... | 0 | Kotlin | 0 | 0 | 18f573a92cda1587e947cca5d78ed9ce09986974 | 2,373 | openjdk-api-v3 | Apache License 2.0 |
app/src/main/java/com/github/wanderwise_inc/app/MainActivity.kt | WanderWise-Inc | 775,382,316 | false | {"Kotlin": 366771} | package com.github.wanderwise_inc.app
import android.Manifest
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.layout.fillMaxSize
im... | 8 | Kotlin | 0 | 1 | 418cd2e0015df86246be33742ab85e7f5bb86431 | 5,508 | app | MIT License |
app/src/main/java/com/github/wanderwise_inc/app/MainActivity.kt | WanderWise-Inc | 775,382,316 | false | {"Kotlin": 366771} | package com.github.wanderwise_inc.app
import android.Manifest
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.layout.fillMaxSize
im... | 8 | Kotlin | 0 | 1 | 418cd2e0015df86246be33742ab85e7f5bb86431 | 5,508 | app | MIT License |
gto-support-db/src/main/java/org/ccci/gto/android/common/db/Table.kt | CruGlobal | 30,609,844 | false | null | package org.ccci.gto.android.common.db
import android.annotation.SuppressLint
import android.os.Parcelable
import androidx.annotation.RestrictTo
import kotlinx.parcelize.IgnoredOnParcel
import kotlinx.parcelize.Parcelize
@Parcelize
@SuppressLint("SupportAnnotationUsage")
data class Table<T : Any> internal constructor... | 4 | null | 2 | 9 | e29637677cfa12aa1996c73e87431a2f7d84a026 | 1,409 | android-gto-support | MIT License |
compiler/testData/codegen/boxInline/anonymousObject/sam/kt17091.kt | JakeWharton | 99,388,807 | false | null | // FILE: 1.kt
// FULL_JDK
package test
inline fun foo(value: String, crossinline s: () -> String): String {
val x = { value }
return java.util.concurrent.Callable(x).call() + { s() }()
}
// FILE: 2.kt
import test.*
fun box(): String {
return foo("O") { "K" }
}
| 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 279 | kotlin | Apache License 2.0 |
ktor-samples/you-kube/src/you/kube/Page.kt | cbeust | 64,515,203 | false | null | package you.kube
import kotlinx.html.*
import kotlinx.html.stream.*
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.content.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.locations.*
import org.jetbrains.ktor.sessions.*
import java.io.*
fun ApplicationCall.respondHtml(versions: List<Ve... | 0 | null | 0 | 1 | 8dc7ac666a336cba0f23a72cc31b8c0b14ad4f09 | 3,119 | ktor | Apache License 2.0 |
aragog-common/src/main/kotlin/com/gongshw/aragog/common/configuration/AragogConstant.kt | gongshw | 50,728,732 | false | {"Java": 15467, "Kotlin": 7353, "Groovy": 2796} | /*
* Copyright (C) 2016 Baidu, Inc. All Rights Reserved.
*/
package com.gongshw.aragog.common.configuration;
/**
* @author gongshiwei
*/
object AragogConstant {
const val LIST_PAGE_URL_DESTINATION_NAME = "ListPageUrl";
const val ARAGOG_BROKER_NAME = "AragogBroker";
}
| 1 | Java | 1 | 1 | fe89456fefcd6d40c932b3554fa160fd46e86752 | 281 | aragog | Apache License 2.0 |
game/ui/src/main/kotlin/de/gleex/pltcmd/game/ui/fragments/ElementUnitsFragment.kt | Baret | 227,677,538 | false | null | package de.gleex.pltcmd.game.ui.fragments
import de.gleex.pltcmd.game.ui.strings.Format
import de.gleex.pltcmd.game.ui.strings.FrontendString
import de.gleex.pltcmd.game.ui.strings.extensions.toFrontendString
import de.gleex.pltcmd.game.ui.strings.extensions.withFrontendString
import de.gleex.pltcmd.model.elements.blu... | 48 | Kotlin | 0 | 4 | a76de4af242b5c1dd3b578d1797cbb753c3fc160 | 3,870 | pltcmd | MIT License |
ceplin/src/main/java/br/ufpe/cin/jonas/ceplin/ComplexEvent.kt | RxCEP | 140,175,602 | false | {"Kotlin": 31725} | package br.ufpe.cin.jonas.ceplin
import io.reactivex.Observable
import java.util.concurrent.TimeUnit
class ComplexEvent(val observable: Observable<Pair<Any?, Int>>,
val numberOfEvents: Int,
val timespan: Long = 5,
val timeUnit: TimeUnit = TimeUnit.SECONDS) {
... | 0 | Kotlin | 1 | 1 | 404dc3cf3f3a038bb7a1211e516fca71a5bf7ea2 | 1,095 | CEPlin | MIT License |
app/src/main/java/ru/hse/miem/miemapp/domain/repositories/IProjectRepository.kt | LostImagin4tion | 495,338,532 | false | {"Kotlin": 213783} | package ru.hse.miem.miemapp.domain.repositories
import ru.hse.miem.miemapp.domain.entities.ProjectExtended
interface IProjectRepository {
suspend fun getProjectById(id: Long): ProjectExtended
suspend fun applyForVacancy(vacancyId: Long, aboutMe: String)
} | 0 | Kotlin | 0 | 1 | b5ca63de13926338a99be254f1df4c4adb7a262f | 265 | MiemApp_android | Apache License 2.0 |
kPermission/src/iosMain/kotlin/io/github/kpermissions/handler/permissions/requestBlueToothPermission.kt | the-best-is-best | 825,391,801 | false | {"Kotlin": 45262, "HTML": 715, "Swift": 522} | package io.github.kpermissions.handler.permissions
import platform.CoreBluetooth.CBCentralManager
import platform.CoreBluetooth.CBCentralManagerDelegateProtocol
import platform.CoreBluetooth.CBCentralManagerStatePoweredOn
import platform.darwin.NSObject
fun requestBlueToothPermission(onPermissionResult: (Boolean) -> ... | 0 | Kotlin | 0 | 0 | 83ff778f3acdaa9e51d8bca880972a1e9503ca8a | 1,175 | kPermissions | Apache License 2.0 |
library/library-common/src/main/java/com/fm/library/common/constants/module/FaceMsg.kt | Luo-DH | 425,160,566 | false | {"C++": 4599833, "C": 412084, "Java": 132679, "CMake": 95927, "Kotlin": 89758} | package com.fm.library.common.constants.module
data class FaceMsg(
val name: String,
val imgUrl: String
)
| 0 | C++ | 0 | 2 | 343f948b68eabffb3ba05bb5b8488ecc5ac09caf | 115 | HelloFace-Android | Apache License 2.0 |
src/main/kotlin/mycorda/app/clock/PlatformTimer.kt | mycordaapp | 466,482,462 | false | null | package mycorda.app.clock
/**
* Some basic timer primitives that behave appropriately
* depending on the OS / hardware
*/
object PlatformTimer {
/**
* Should match the granularity of the underlying
* clock "tick" on the platform. The idea is to be able to tune
* sleeps in tests efficiently. For ... | 0 | Kotlin | 0 | 0 | d0a2508060090b6b69a8dbb6bec07d6f5186a44e | 1,618 | helpers | MIT License |
compiler/testData/codegen/box/functions/invoke/invoke.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... | package invoke
fun test1(predicate: (Int) -> Int, i: Int) = predicate(i)
fun test2(predicate: (Int) -> Int, i: Int) = predicate.invoke(i)
class Method {
operator fun invoke(i: Int) = i
}
fun test3(method: Method, i: Int) = method.invoke(i)
fun test4(method: Method, i: Int) = method(i)
class Method2 {}
operat... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 854 | kotlin | Apache License 2.0 |
plugin-build/src/main/kotlin/io/sentry/android/gradle/instrumentation/ChainedInstrumentable.kt | getsentry | 241,145,606 | false | null | @file:Suppress("UnstableApiUsage")
package io.sentry.android.gradle.instrumentation
import com.android.build.api.instrumentation.ClassContext
import java.util.LinkedList
import org.objectweb.asm.ClassVisitor
class ChainedInstrumentable(
private val instrumentables: List<ClassInstrumentable> = emptyList()
) : Cla... | 39 | Kotlin | 32 | 99 | 054a2aa8c8da13553c8fad034b2cebb05e733092 | 1,600 | sentry-android-gradle-plugin | MIT License |
include-build/roborazzi-core/src/commonJvmMain/kotlin/com/github/takahirom/roborazzi/CaptureResults.kt | takahirom | 594,307,070 | false | {"Kotlin": 348437} | package com.github.takahirom.roborazzi
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.google.gson.JsonDeserializationContext
import com.google.gson.JsonDeserializer
import com.google.gson.JsonElement
import com.google.gson.JsonNull
import com.google.gson.JsonObject
import com.google.gson.Jso... | 38 | Kotlin | 19 | 583 | 96e6bbe3c6265ce7c1da733a8c07ae50f63f3c83 | 6,918 | roborazzi | Apache License 2.0 |
javascript/js-type-analysis/src/org/jetbrains/dukat/js/type/analysis/expression.kt | Kotlin | 159,510,660 | false | null | package org.jetbrains.dukat.js.type.analysis
import org.jetbrains.dukat.astCommon.IdentifierEntity
import org.jetbrains.dukat.js.type.constraint.Constraint
import org.jetbrains.dukat.js.type.constraint.reference.ReferenceConstraint
import org.jetbrains.dukat.js.type.constraint.composite.CompositeConstraint
import org.... | 244 | null | 42 | 535 | d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e | 11,451 | dukat | Apache License 2.0 |
app/src/main/java/org/metabrainz/android/data/sources/api/entities/Track.kt | metabrainz | 166,439,000 | false | null | package org.metabrainz.android.model.entities
import com.google.gson.annotations.SerializedName
import org.metabrainz.android.model.mbentity.Recording
class Track {
@SerializedName("id")
var mbid: String? = null
var title: String? = null
var position = 0
var recording: Recording? = null
var le... | 20 | null | 32 | 98 | 89b89bf6c7df14bc4fd35240f05cfb6b87f91030 | 706 | musicbrainz-android | Apache License 2.0 |
feature/video-thumbnail-grid-genre/src/main/java/io/filmtime/feature/video/thumbnail/grid/genre/VideoGridGenreNavigation.kt | moallemi | 633,160,161 | false | {"Kotlin": 522936, "Shell": 3102} | package io.filmtime.feature.video.thumbnail.grid.genre
import androidx.lifecycle.SavedStateHandle
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavType
import androidx.navigation.navArgument
import io.filmtime.core.ui.navigation.DestinationRoute
import i... | 21 | Kotlin | 14 | 87 | ad3eeed30bed20216a9fa12e34f06e43b70a74cc | 2,111 | Film-Time | MIT License |
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/transformers/LLFirDesignatedExpectActualMatcherTransformer.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.low.level.api.fir.transformers
import org.jetbrains.kotlin.analysis.low... | 157 | Kotlin | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 3,436 | kotlin | Apache License 2.0 |
subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/serialization/codecs/transform/TransformedExternalArtifactSetCodec.kt | blindarcheology | 294,432,244 | false | null | /*
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 1 | 609634026935ea5d499204469da271b4ef057d43 | 6,826 | gradle | Apache License 2.0 |
app/src/main/java/com/example/incode/viewmodel/DirectionsViewModel.kt | CharlesMuvaka | 641,490,688 | false | null | package com.example.incode.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.incode.models.Resource
import com.example.incode.models.RouteDirections
import com.example.incode.repository.DirectionsRepo
import kotlinx.corou... | 0 | Kotlin | 0 | 0 | 735847f6204830cc2a31ea7fabbdaf29f1615a67 | 1,270 | inDrive | MIT License |
suas-lib/src/test/java/zendesk/suas/SuasStoreDispatchTest.kt | tmtron | 129,727,450 | true | {"Java": 125491, "Kotlin": 89155, "Shell": 2983} | package zendesk.suas
import org.junit.Test
class SuasStoreDispatchTest : Helper {
@Test(expected = RuntimeException::class)
fun `dispatch from reducer should crash`() {
val store = store(reducer = BadReducer())
store.dispatch(DispatcherAction(store))
}
class DispatcherAction(val disp... | 0 | Java | 0 | 0 | e322f5592157be0bbf16f907e949ecd04aa04353 | 777 | Suas-Android | Apache License 2.0 |
presentation/src/main/java/com/anytypeio/anytype/presentation/sets/filter/CreateFilterView.kt | anyproto | 647,371,233 | false | {"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334} | package com.anytypeio.anytype.presentation.sets.filter
import com.anytypeio.anytype.core_models.DVFilterCondition
import com.anytypeio.anytype.core_models.DVFilterQuickOption
import com.anytypeio.anytype.core_models.Id
import com.anytypeio.anytype.presentation.objects.ObjectIcon
sealed class CreateFilterView {
a... | 45 | Kotlin | 43 | 528 | c708958dcb96201ab7bb064c838ffa8272d5f326 | 1,696 | anytype-kotlin | RSA Message-Digest License |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/messages/objects/SearchExtendedResponse.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.messages.objects
import name.anton3.vkapi.generated.groups.objects.GroupFull
import name.anton3.vkapi.generated.users.objects.UserFull
/**
* No description
*
* @property count Total number
* @property items No description
* ... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 556 | kotlin-vk-api | MIT License |
app/src/test/kotlin/io/eugenethedev/taigamobile/repositories/UsersRepositoryTest.kt | EugeneTheDev | 345,475,827 | false | null | package io.eugenethedev.taigamobile.repositories
import io.eugenethedev.taigamobile.data.repositories.UsersRepository
import io.eugenethedev.taigamobile.domain.repositories.IUsersRepository
import io.eugenethedev.taigamobile.testdata.TestData
import kotlinx.coroutines.runBlocking
import kotlin.test.BeforeTest
import o... | 1 | null | 9 | 86 | 410bd4a8efd781280e8038f92b77a2babd120fef | 2,867 | TaigaMobile | Apache License 2.0 |
src/main/kotlin/dev/koifysh/randomizer/data/ArchipelagoWorldData.kt | KonoTyran | 833,936,250 | false | {"Kotlin": 175196, "Java": 12527} | package dev.koifysh.randomizer.data
import com.google.common.collect.ImmutableList
import com.google.common.collect.ImmutableSet
import dev.koifysh.randomizer.ArchipelagoRandomizer
import dev.koifysh.randomizer.ArchipelagoRandomizer.apClient
import dev.koifysh.randomizer.ArchipelagoRandomizer.logger
import net.minecra... | 0 | Kotlin | 0 | 0 | 6f6c8a585154d8cce094365b989e995df3357119 | 4,432 | archipelago-randomizer-fabric | Creative Commons Zero v1.0 Universal |
build-logic/convention/src/main/kotlin/plugins/AndroidLibComposeConventionPlugin.kt | JohannesPtaszyk | 695,929,733 | false | {"Kotlin": 511937} | package plugins
import com.android.build.gradle.LibraryExtension
import configurations.configureAndroidCompose
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.getByType
@Suppress("unused")
class AndroidLibComposeConventionPlugin : Plugin<Project> {
override fun apply(target... | 7 | Kotlin | 0 | 2 | acf73a7da4e08f105feeca72ea11a1205b3226b1 | 665 | Abonity | Apache License 2.0 |
src/cds/src/main/kotlin/org/icpclive/api/RunInfo.kt | icpc | 447,849,919 | false | {"Kotlin": 499270, "JavaScript": 246403, "HTML": 76741, "TypeScript": 31428, "Python": 2450, "SCSS": 1034, "CSS": 466, "Dockerfile": 406, "Shell": 344, "Batchfile": 222} | package org.icpclive.api
import kotlinx.serialization.*
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import org.icpclive.util.DurationInMillisecondsSerializer
import kotlin.time.Duration
@Serializable
public data class RunInfo(
val id: Int,
val result: RunResult?... | 17 | Kotlin | 11 | 36 | 5668fba15a5db31f51d5c2209c1adedade229f89 | 4,743 | live-v3 | MIT License |
kotlin/rest-simple/src/main/kotlin/com/example/restsimple/repository/StudentRepository.kt | PatrickKoss | 394,726,625 | false | null | package com.example.restsimple.repository
import com.example.restsimple.model.Student
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Modifying
import org.springframework.data.jpa.repository.Query
import org.springframework.data.repository.query.Param
import ... | 1 | null | 4 | 3 | 625532c641ac592ec36344617556e4af79e49b74 | 641 | lecture-ws-development-of-a-db-app | MIT License |
app/src/main/java/org/simple/clinic/login/applock/AppLockScreenKey.kt | zhukofff | 378,200,443 | true | {"Kotlin": 4636507, "Shell": 3719, "Python": 3162, "HTML": 545} | package org.simple.clinic.login.applock
import android.os.Parcelable
import kotlinx.android.parcel.IgnoredOnParcel
import kotlinx.parcelize.Parcelize
import org.simple.clinic.navigation.v2.ScreenKey
@Parcelize
object AppLockScreenKey : ScreenKey(), Parcelable {
@IgnoredOnParcel
override val analyticsName = "App ... | 0 | null | 0 | 1 | 7eab5bfef38869c305b5446e4c0da877ecd4c269 | 384 | simple-android | MIT License |
web-backend/src/main/java/com/github/aivanovski/testswithme/web/presentation/controller/LoginController.kt | aivanovski | 815,197,496 | false | {"Kotlin": 800559, "Clojure": 8104, "Shell": 1883, "Dockerfile": 375} | package com.github.aivanovski.testswithme.web.presentation.controller
import arrow.core.Either
import arrow.core.raise.either
import com.github.aivanovski.testswithme.utils.StringUtils.SPACE
import com.github.aivanovski.testswithme.web.api.ApiHeaders.X_REQUEST_SET_COOKIE
import com.github.aivanovski.testswithme.web.ap... | 0 | Kotlin | 0 | 0 | a447f89bab54e76467259dba246c015964d1fc14 | 2,498 | tests-with-me | Apache License 2.0 |
common/src/main/kotlin/org/valkyrienskies/military/MilBlocks.kt | FateOfWar | 729,506,610 | false | {"Kotlin": 22032, "Java": 13416} | package org.valkyrienskies.military
import net.minecraft.core.Registry
import net.minecraft.world.item.BlockItem
import net.minecraft.world.item.Item
import org.valkyrienskies.military.registry.DeferredRegister
import org.valkyrienskies.mod.common.hooks.VSGameEvents
@Suppress("unused")
object MilBlocks {
private ... | 0 | Kotlin | 0 | 0 | 10039942733ef94e62c4611fd40296cf6a4d8ce4 | 892 | MilitaryMod | Apache License 2.0 |
src/main/kotlin/org/teamvoided/dusk_autumn/init/blocks/DnDWoodBlocks.kt | TeamVoided | 737,359,498 | false | {"Kotlin": 871908, "Java": 13546} | package org.teamvoided.dusk_autumn.init.blocks
import net.fabricmc.fabric.api.registry.StrippableBlockRegistry
import net.minecraft.block.*
import net.minecraft.block.AbstractBlock.Settings
import net.minecraft.block.AbstractBlock.Settings.copy
import net.minecraft.block.enums.NoteBlockInstrument
import net.minecraft.... | 0 | Kotlin | 0 | 0 | 4ab44eed538724732107f1c05bb489279cca731b | 23,452 | DusksAndDungeons | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.