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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedback.kt | gradle | 302,322 | false | null | /*
* Copyright 2019 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... | 2,095 | Groovy | 3792 | 13,076 | c1b02a85c1d02816ba0c59fd02b656f6187a4472 | 1,164 | gradle | Apache License 2.0 |
lib/src/main/kotlin/tsl/nodes/AbstractNode.kt | spbu-coding-2023 | 771,651,556 | false | {"Kotlin": 86881} | package tsl.nodes
abstract class AbstractNode<K : Comparable<K>, V, N : AbstractNode<K, V, N>>(
var key: K,
var value: V
) {
internal var leftChild: N? = null
internal var rightChild: N? = null
}
| 1 | Kotlin | 0 | 4 | 1293c3b37ba69f8a9edd86f2f3f46641b08c8128 | 213 | trees-2 | MIT License |
lib/src/main/kotlin/tsl/nodes/AbstractNode.kt | spbu-coding-2023 | 771,651,556 | false | {"Kotlin": 86881} | package tsl.nodes
abstract class AbstractNode<K : Comparable<K>, V, N : AbstractNode<K, V, N>>(
var key: K,
var value: V
) {
internal var leftChild: N? = null
internal var rightChild: N? = null
}
| 1 | Kotlin | 0 | 4 | 1293c3b37ba69f8a9edd86f2f3f46641b08c8128 | 213 | trees-2 | MIT License |
src/test/kotlin/skips/SkipLanding.kt | mataframework | 770,318,523 | false | {"Kotlin": 52775} | package skips
import com.github.mataframework.app.App
import com.github.mataframework.junit.AppStartUpListener
import com.github.mataframework.pages.PageObject
import uitests.ui.IntroductionPage
import uitests.ui.PlusAdsPage
object SkipLanding : AppStartUpListener {
override fun onAppStartUp(app: App, pageObject... | 1 | Kotlin | 0 | 0 | f6f5dbcbfa94f568912db599f6a08f8108423e21 | 576 | mataframework | MIT License |
src/main/kotlin/com/swisschain/matching/engine/outgoing/rabbit/impl/services/RabbitMqServiceToLogService.kt | swisschain | 255,464,363 | false | {"Gradle": 2, "Text": 2, "Ignore List": 1, "Markdown": 1, "Kotlin": 578, "XML": 2, "Shell": 2, "Batchfile": 1, "Java": 3, "Protocol Buffer": 14, "Java Properties": 1, "INI": 2, "YAML": 2} | package com.swisschain.matching.engine.outgoing.rabbit.impl.services
import com.google.gson.Gson
import com.swisschain.matching.engine.outgoing.messages.v2.events.Event
import org.slf4j.LoggerFactory
import org.springframework.context.annotation.Profile
import org.springframework.stereotype.Service
@Service("rabbitMq... | 1 | null | 1 | 1 | 5ef23544e9c5b21864ec1de7ad0f3e254044bbaa | 572 | Exchange.MatchingEngine | Apache License 2.0 |
app/src/main/java/com/frogobox/basemusic/ui/lyric/SongLyricActivity.kt | amirisback | 240,663,454 | false | {"Kotlin": 30777} | package com.frogobox.basemusic.ui.lyric
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import com.frogobox.basemusic.R
import com.frogobox.basemusic.core.BaseActivity
import com.frogobox.basemusic.databinding.ActivitySongLyricBinding
import com.frogobox.basemusic.ui.main.AboutUsActivity... | 0 | Kotlin | 0 | 5 | f2f91a6db1140bc5cf2ae09e8a92a2aa3ecafde7 | 1,277 | music-player | Apache License 2.0 |
feature-matchingcards/src/main/java/com/rumosoft/feature_memorygame/domain/repo_interfaces/TimerRepository.kt | Rviewer-Challenges | 492,594,104 | false | {"Kotlin": 72614} | package com.rumosoft.feature_memorygame.domain.repo_interfaces
import kotlinx.coroutines.flow.Flow
interface TimerRepository {
fun countDownFrom(secs: Int): Flow<Long>
} | 0 | Kotlin | 0 | 0 | 9590cbb8cd589ba11ab703e20f0de1448e1186da | 175 | kslH9nF4ZJcayHVA49Vf | MIT License |
src/tasks/Request3Callbacks.kt | Jason-purse | 442,505,771 | true | {"Kotlin": 48948} | package tasks
import contributors.*
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
import java.util.*
import java.util.concurrent.CountDownLatch
import java.util.concurrent.atomic.AtomicInteger
fun loadContributorsCallbacks(service: GitHubService, req: RequestData, updateResults: (List<User... | 0 | Kotlin | 0 | 0 | 88fa6bb34f9dfb77e494ae313b9b4454252abb7c | 2,568 | intro-coroutines | Apache License 2.0 |
lib-swipetoactionlayout/src/main/java/github/com/st235/swipetoactionlayout/behaviour/BehaviourDelegate.kt | st235 | 196,595,936 | false | null | package github.com.st235.swipetoactionlayout.behaviour
import android.view.View
import github.com.st235.swipetoactionlayout.QuickActionsStates
import github.com.st235.swipetoactionlayout.utils.Size
internal interface BehaviourDelegate {
fun layoutAction(view: View, l: Int, r: Int, actionSize: Size)
fun clam... | 3 | null | 6 | 99 | b0f58074648c130cad88a8fdfcb1f5a0dac5135a | 811 | SwipeToActionLayout | MIT License |
connectors/mongo/coroutines/src/main/kotlin/com/coditory/sherlock/mongo/coroutines/MongoDistributedLockConnector.kt | coditory | 195,197,396 | false | {"Java": 280232, "Groovy": 172037, "Kotlin": 84822} | package com.coditory.sherlock.mongo.coroutines
import com.coditory.sherlock.LockRequest
import com.coditory.sherlock.SherlockException
import com.coditory.sherlock.coroutines.SuspendingDistributedLockConnector
import com.coditory.sherlock.mongo.MongoDistributedLock
import com.coditory.sherlock.mongo.MongoDistributedLo... | 4 | Java | 7 | 36 | 18138a8dd64443a54456f7c9a80efa715887de41 | 4,850 | sherlock-distributed-lock | Apache License 2.0 |
src/jvmMain/kotlin/io/dcctech/mafita/backend/persistence/DocumentPa.kt | timoterik | 587,234,059 | false | null | /*
* Copyright © 2022-2023, DCCTech, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.dcctech.mafita.backend.persistence
import io.dcctech.mafita.data.DocumentBo
import io.dcctech.mafita.enums.DocumentType
import kotlinx.datetime.toJavaInstant
import kotlinx.date... | 0 | Kotlin | 0 | 0 | 417bd88d2c1e7faef875df61e082f83445cab3a7 | 1,543 | mafita | Apache License 2.0 |
src/main/kotlin/org/move/ide/intentions/AddAcquiresIntention.kt | WormholeStudio | 386,158,725 | true | {"Kotlin": 522703, "Lex": 7602, "HTML": 131} | package org.move.ide.intentions
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
import org.move.ide.annotator.ACQUIRES_BUILTIN_FUNCTIONS
import org.move.lang.core.psi.MoveCallExpr
import org.move.lang.core.psi.MoveFunctionSignature
import org.mov... | 0 | null | 0 | 0 | eaf3fbfaf7183274cab9d88bb4dc25187eb534ad | 2,827 | intellij-move | MIT License |
src/listnode/LeetCode328.kt | Alex-Linrk | 180,918,573 | false | null | package listnode
class LeetCode328 {
fun oddEvenList(head: ListNode?): ListNode? {
if (head?.next == null) {
return head
}
// head 为奇链表头结点,o 为奇链表尾节点
var o = head
// p 为偶链表头结点
var p = head.next
// e 为偶链表尾节点
var e = p
while (o?.nex... | 0 | Kotlin | 0 | 0 | 59f4ab02819b7782a6af19bc73307b93fdc5bf37 | 606 | LeetCode | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/visitscheduler/dto/sessions/SessionCapacityDto.kt | ministryofjustice | 409,259,375 | false | {"Kotlin": 1492116, "PLpgSQL": 154405, "FreeMarker": 14114, "Dockerfile": 1541, "Shell": 238} | package uk.gov.justice.digital.hmpps.visitscheduler.dto.sessions
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.Min
import uk.gov.justice.digital.hmpps.visitscheduler.model.entity.session.SessionTemplate
@Schema(description = "Session Capacity")
data class SessionCapacityDto(
... | 0 | Kotlin | 2 | 6 | 447ca0111a8f6b3e98b71de471c1f1c129792771 | 1,100 | visit-scheduler | MIT License |
src/test/kotlin/com/viartemev/requestmapper/model/RequestedUserPathSpek.kt | kreiger | 208,247,682 | true | {"Kotlin": 111502} | package com.viartemev.requestmapper.model
import org.amshove.kluent.shouldEqual
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
object RequestedUserPathSpek : Spek({
describe("RequestedUserPath") {
context("toPath on user pattern with one path elements and w... | 0 | null | 0 | 0 | e2787a1f51d114e777b9be40a351f68d12da5f6d | 1,720 | requestmapper | MIT License |
kotlin/src/src/main/java/com/techlabcamp/neuronet/presenterImpl/CourseChapterItemPresenterImpl.kt | dimske-sys | 610,048,630 | false | null | package com.techlabcamp.neuronet.presenterImpl
import com.techlabcamp.neuronet.manager.App
import com.techlabcamp.neuronet.manager.Utils
import com.techlabcamp.neuronet.manager.net.*
import com.techlabcamp.neuronet.model.BaseResponse
import com.techlabcamp.neuronet.model.ChapterFileItem
import com.techlabcamp.neuronet... | 0 | Kotlin | 0 | 0 | 0f4cc0534a3c77a8edfb0fa043fb2ed7e2707250 | 3,658 | neuronet | Apache License 2.0 |
kotlin/src/src/main/java/com/techlabcamp/neuronet/presenterImpl/CourseChapterItemPresenterImpl.kt | dimske-sys | 610,048,630 | false | null | package com.techlabcamp.neuronet.presenterImpl
import com.techlabcamp.neuronet.manager.App
import com.techlabcamp.neuronet.manager.Utils
import com.techlabcamp.neuronet.manager.net.*
import com.techlabcamp.neuronet.model.BaseResponse
import com.techlabcamp.neuronet.model.ChapterFileItem
import com.techlabcamp.neuronet... | 0 | Kotlin | 0 | 0 | 0f4cc0534a3c77a8edfb0fa043fb2ed7e2707250 | 3,658 | neuronet | Apache License 2.0 |
app/src/main/java/com/example/okcredit/ViewModel/CustomerViewModelFactory.kt | lucifernipun22 | 345,898,513 | false | null | package com.example.okcredit.ViewModel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.okcredit.Repository.OkCreditRepo
class CustomerViewModelFactory(val repository: OkCreditRepo) : ViewModelProvider.Factory {
override fun <T : ViewModel?> create(modelClass: Cl... | 0 | Kotlin | 0 | 2 | cc27ed6e6668b25637ea92b0fa039a951426b7af | 391 | okCredit | MIT License |
src/main/kotlin/kr/ac/jbnu/ampm/ampmsiteapi/Entity/MemberEntity.kt | ampm-jbnu | 599,133,979 | false | null | package kr.ac.jbnu.ampm.ampmsiteapi.Entity
import jakarta.persistence.Entity
import jakarta.persistence.GeneratedValue
import jakarta.persistence.GenerationType
import jakarta.persistence.Id
import kr.ac.jbnu.ampm.ampmsiteapi.DTO.MemberDTO
import lombok.Getter
import lombok.Setter
@Entity
@Getter
@Setter
class Member... | 1 | Kotlin | 2 | 2 | 8d21ee326383f97d8113c7fa84798bd29a8956e6 | 642 | ampm-site-api | MIT License |
src/main/kotlin/com/llamalad7/pseudo/utils/ErrorUtils.kt | LlamaLad7 | 289,768,489 | false | {"Markdown": 1, "INI": 1, "Gradle": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Java Properties": 1, "Kotlin": 46, "Java": 1, "ANTLR": 2, "SVG": 1, "Papyrus": 9, "Text": 8} | package com.llamalad7.pseudo.utils
import com.llamalad7.pseudo.runtime.abstraction.BaseObject
object ErrorUtils {
@JvmStatic
fun unsupportedOperation(operator: String, instance: BaseObject, other: BaseObject? = null): Nothing {
if (other == null) error("Unsupported operation '$operator' on type '${ins... | 0 | Kotlin | 1 | 8 | b7abb7cfd99944f4e143a399f10cd7ca2304fd24 | 1,630 | pseudo-kt | Apache License 2.0 |
arrow-inject-compiler-plugin/src/testData/diagnostics/value-arguments/circular_proof_single_cycle_rule.kt | arrow-kt | 471,344,439 | false | null | package foo.bar
import arrow.inject.annotations.Inject
import foo.bar.annotations.Given
@Given internal fun n(@Given n: Int): Int = n
@Inject fun <A> given(@Given a: A): A = a
val result = <!CIRCULAR_CYCLE_ON_GIVEN_PROOF!>given<Int>()<!>
| 13 | Kotlin | 2 | 9 | f2d62a93fa18fc7f2944687642c8ad01a0d23bf5 | 243 | arrow-proofs | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/pecs/jpc/cli/BulkPriceImportCommandTest.kt | ministryofjustice | 292,861,912 | false | null | package uk.gov.justice.digital.hmpps.pecs.jpc.cli
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.verify
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.junit.jupiter.api.Test
import uk.gov.justice.digital.hmpps.pecs.jpc.domain.price.EffectiveYear
import uk.gov.justice.d... | 1 | Kotlin | 2 | 1 | f694144f4c2e67eca265ebdebbf8ff0bc48525d2 | 3,416 | calculate-journey-variable-payments | MIT License |
async-buffer/src/main/kotlin/org/project/async/buffer/config/datasource/BufferDataSourceConfig.kt | leltonborges | 710,551,341 | false | {"Kotlin": 91566} | package org.project.async.buffer.config.datasource
import jakarta.persistence.EntityManagerFactory
import org.springframework.beans.factory.annotation.Qualifier
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
import org.springframework.context.annotation.Bean
import org.springframework.context.... | 0 | Kotlin | 0 | 0 | 8f8b9652ebfbee3a1a6161865a350fd602f9a016 | 2,007 | buffer_async_read_writer | MIT License |
kotlin-electron/src/jsMain/generated/electron/ResizeOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package electron
typealias ResizeOptions = electron.core.ResizeOptions
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 126 | kotlin-wrappers | Apache License 2.0 |
app/src/test/java/com/garymcgowan/postapocalypse/utils/ReplaceMainThreadSchedulerRule.kt | GaryMcGowan | 182,379,305 | false | null | package com.garymcgowan.postapocalypse.utils
import io.reactivex.Scheduler
import io.reactivex.android.plugins.RxAndroidPlugins
import io.reactivex.plugins.RxJavaPlugins
import io.reactivex.schedulers.Schedulers
import org.junit.rules.TestRule
import org.junit.runner.Description
import org.junit.runners.model.Statemen... | 0 | Kotlin | 0 | 0 | 6214f0d6a3f8397625b81f4ac2d6b50fb76612d9 | 795 | Post-Apocalypse | Apache License 2.0 |
app/src/main/java/com/cyrus/languagedemo/BaseActivity.kt | QasimCyrus | 221,484,540 | false | null | package com.cyrus.languagedemo
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import com.cyrus.language.LanguageHelper
/**
* 活动基类
*
* @author Cyrus
*/
abstract class BaseActivity : AppCompatActivity() {
override fun attachBaseContext(newBase: Context) {
super.attachBas... | 0 | Kotlin | 0 | 5 | 8c356e5ab92e1577058c7ce30fb488119e666202 | 537 | MultiLanguage | Apache License 2.0 |
app/src/main/java/io/hungnguyen/nab/assignment/data/mapper/WeatherMapper.kt | pavel-corsaghin | 489,984,562 | false | {"Kotlin": 37425} | package io.hungnguyen.nab.assignment.data.mapper
import io.hungnguyen.nab.assignment.data.model.response.Weather
import io.hungnguyen.nab.assignment.domain.model.WeatherEntity
import javax.inject.Inject
class WeatherMapper @Inject constructor() {
fun mapToEntity(item: Weather): WeatherEntity {
return Wea... | 0 | Kotlin | 0 | 0 | 835a090a2a2a7bcc8a6740cee5842cfa6721d557 | 563 | NABAssignment | MIT License |
app/src/main/java/com/notmiyouji/newsapp/kotlin/recycleviewholder/rss2json/Rss2JsonMultiFeed.kt | 2dgirlismywaifu | 576,986,982 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "YAML": 2, "Proguard": 1, "Java": 31, "XML": 111, "Kotlin": 61, "Makefile": 2} | package com.notmiyouji.newsapp.kotlin.recycleviewholder.rss2json
import android.annotation.SuppressLint
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.notmiyouj... | 5 | Java | 0 | 2 | c60ad14f219891ed77b61df9f14ffcdebbea7997 | 7,202 | NewsApp-Spring-Api | Apache License 2.0 |
src/main/kotlin/sqlbuilder/meta/MethodPropertyResolver.kt | laurentvdl | 27,872,125 | false | null | package sqlbuilder.meta
import sqlbuilder.Configuration
import sqlbuilder.meta.util.findFieldInHierarchy
import java.lang.reflect.Field
import java.lang.reflect.Modifier
import java.util.HashSet
import java.util.LinkedList
open class MethodPropertyResolver : PropertyResolver {
override fun resolvePropertiesForBea... | 1 | null | 2 | 6 | 4efe1dd61f6da45192a1b2741d654269616535d0 | 2,823 | sqlbuilder | Apache License 2.0 |
code/mobile/app/src/main/java/com/iade/streetart/NavRoutes.kt | williansantaana | 468,550,359 | false | {"Jupyter Notebook": 9659469, "Kotlin": 72757, "JavaScript": 24280, "PLpgSQL": 4073, "Shell": 1033, "HTML": 458, "CSS": 111} | package com.iade.streetart
sealed class NavRoutes(val route: String) {
object MapView: NavRoutes("map")
object HomeView: NavRoutes("home")
object LoginView: NavRoutes("login")
object SignUpView: NavRoutes("signUp")
object CameraView: NavRoutes("camera")
object AddImageView: NavRoutes("addImage")
object I... | 0 | Jupyter Notebook | 0 | 0 | 7607bccfd92a39c40d632402388d6efd54c50132 | 534 | street-art-app | MIT License |
jvm-common/src/main/kotlin/org/digma/intellij/plugin/idea/navigation/JvmNavigationDiscoveryStartupActivity.kt | digma-ai | 472,408,329 | false | {"Kotlin": 1686412, "Java": 579281, "C#": 117248, "Shell": 13664, "HTML": 11307, "FreeMarker": 10897} | package org.digma.intellij.plugin.idea.navigation
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
import org.digma.intellij.plugin.log.Log
import org.digma.intellij.plugin.startup.DigmaProjectActivity
internal class JvmNavigationDiscoveryStartupActivity : DigmaProjectActivit... | 477 | Kotlin | 7 | 32 | ce460b0cdc604968d267b98e72bf9dd211cf39b3 | 949 | digma-intellij-plugin | MIT License |
src/main/kotlin/com/app/norutin/service/api/UserService.kt | Lackier | 347,097,828 | false | null | package com.app.norutin.service.api
import com.app.norutin.model.User
interface UserService {
fun findByUid(oid: String): User?
fun save(user: User): User
} | 0 | Kotlin | 0 | 0 | 7f350d3c1c0d08a50a6dc9fab6d2b71fe7c2a736 | 167 | norutin-server | MIT License |
src/jvmMain/kotlin/acidicoala/koalageddon/steam/ui/SteamScreen.kt | acidicoala | 584,899,259 | false | null | package acidicoala.koalageddon.steam.ui
import acidicoala.koalageddon.core.ui.composable.PlatformScreen
import androidx.compose.runtime.Composable
@Composable
fun SteamScreen() {
PlatformScreen(
storeTab = { SteamStoreScreen() },
gameTab = { SteamGameScreen() }
)
} | 1 | Kotlin | 4 | 50 | 9ec09a7ba5cabc7b1be173a9c8e8794c93984a24 | 291 | Koalageddon2 | The Unlicense |
src/main/kotlin/me/earthme/mysm/utils/ysm/MiscUtils.kt | Era4FunMC | 701,306,363 | false | {"Kotlin": 119393, "Java": 31228} | package me.earthme.mysm.utils.ysm
import java.io.*
import java.nio.ByteBuffer
import java.util.*
object MiscUtils {
@Throws(IOException::class)
fun <T> objectToByteArray(input: T): ByteArray {
ByteArrayOutputStream().use { baseStream ->
ObjectOutputStream(baseStream).use { encoder ->
... | 0 | Kotlin | 3 | 7 | b46fbafaf0d9bb4a006e893aa7da7062154cf3cc | 733 | MyYsmNonFull | MIT License |
v1_23/src/main/java/de/loosetie/k8s/dsl/manifests/PersistentVolumeClaimCondition.kt | loosetie | 283,145,621 | false | {"Kotlin": 8925107} | package de.loosetie.k8s.dsl.manifests
import de.loosetie.k8s.dsl.K8sTopLevel
import de.loosetie.k8s.dsl.K8sDslMarker
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasMetadata
@K8sDslMarker
interface PersistentVolumeClaimCondition_core_v1: K8sManifest {
/** Last time we probed the condition. */
... | 0 | Kotlin | 0 | 2 | 57d56ab780bc3134c43377e647e7f0336a5f17de | 1,115 | k8s-dsl | Apache License 2.0 |
service-xmpp/src/main/java/io/github/zohrevand/dialogue/service/xmpp/collector/ContactsCollector.kt | zohrevand | 510,113,579 | false | {"Kotlin": 271495} | package io.github.zohrevand.dialogue.service.xmpp.collector
import io.github.zohrevand.core.model.data.Contact
interface ContactsCollector {
/**
* Collects the changes to contacts stream which should be added
* to roster entries, originated from database
* */
suspend fun collectShouldAddToRoste... | 1 | Kotlin | 2 | 11 | 9607aed6f182d3eb051e5da4cee6ddf82c659690 | 392 | dialogue | Apache License 2.0 |
core/src/main/java/io/snabble/sdk/codes/ScannedCode.kt | snabble | 124,525,499 | false | null | package io.snabble.sdk.codes
import io.snabble.sdk.Project
import io.snabble.sdk.Unit
import java.io.Serializable
import java.math.BigDecimal
import java.util.ArrayList
// TODO: Kotlinify this class more, get rid of the "hasXX" methods and use optionals
/**
* Class representing a scanned code, including its potenti... | 1 | null | 1 | 6 | 8fc301be7512714e127eb12566a905b59e2eed9d | 6,777 | Android-SDK | MIT License |
core/src/main/java/io/snabble/sdk/codes/ScannedCode.kt | snabble | 124,525,499 | false | null | package io.snabble.sdk.codes
import io.snabble.sdk.Project
import io.snabble.sdk.Unit
import java.io.Serializable
import java.math.BigDecimal
import java.util.ArrayList
// TODO: Kotlinify this class more, get rid of the "hasXX" methods and use optionals
/**
* Class representing a scanned code, including its potenti... | 1 | null | 1 | 6 | 8fc301be7512714e127eb12566a905b59e2eed9d | 6,777 | Android-SDK | MIT License |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/ArrayComponents.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: ArrayComponents
*
* Full name: System`ArrayComponents
*
* ArrayComponents[array] gives ... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,341 | mathemagika | Apache License 2.0 |
src/main/kotlin/pcf/crskdev/koonsplash/auth/AuthCodeServer.kt | criske | 297,303,213 | false | null | /*
* 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, merge, publish, ... | 13 | Kotlin | 0 | 0 | 463d9cf9cda3a092a1abf1a3301cdc184eee5c97 | 2,396 | koonsplash | MIT License |
sketch/src/androidTest/java/com/github/panpf/sketch/test/decode/DrawableDecodeResultTest.kt | fltwlulu | 188,455,050 | false | {"Gradle Kotlin DSL": 14, "Markdown": 35, "Java Properties": 2, "Shell": 1, "TOML": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Proguard": 12, "XML": 124, "Kotlin": 587, "Java": 10, "SVG": 2, "INI": 11} | package com.github.panpf.sketch.test.decode
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.github.panpf.sketch.datasource.DataFrom.LOCAL
import com.github.panpf.sketch.decode.DrawableDecodeResult
import com.github.panpf.sketc... | 1 | null | 1 | 1 | c9ff98d80c36d7c4ba5c28bbf358dc8ee53278b1 | 1,428 | sketch | MIT License |
dm-service/src/main/kotlin/service/WorkoutService.kt | otuskotlin | 382,547,521 | false | null | package service
import DataNotAllowedException
import Mapper.setQuery
import Mapper.toCreateResponse
import Mapper.toDeleteResponse
import Mapper.toReadResponse
import Mapper.toSearchResponse
import Mapper.toUpdateResponse
import ModelForRequest.cruds.*
import StubData
import WorkoutCrud
import context.MpContext
clas... | 1 | Kotlin | 1 | 0 | ab962d306cab6512c5cffe61b87e810ddc28f193 | 2,175 | ok-202105-workout-dm | MIT License |
src/main/kotlin/no/nav/aap/api/oppslag/arkiv/ArkivOppslagClientBeanConfig.kt | navikt | 402,698,973 | false | null | package no.nav.aap.api.oppslag.arkiv
import com.fasterxml.jackson.databind.ObjectMapper
import graphql.kickstart.spring.webclient.boot.GraphQLWebClient
import no.nav.aap.api.oppslag.arkiv.ArkivOppslagConfig.Companion.SAF
import no.nav.aap.api.oppslag.arkiv.ArkivOppslagConfig.Companion.SAFQL
import no.nav.aap.health.Ab... | 2 | Kotlin | 1 | 3 | d4456fdd7934f79503123f0d9ce9318c081b45ba | 1,736 | aap-soknad-api | MIT License |
app/src/main/java/com/weathermap/features/main/MainActivity.kt | xuanqh | 507,506,257 | false | null | package com.weathermap.features.main
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.text.Editable
import android.text.TextUtils
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.inputmethod.EditorInfo
import android.wid... | 0 | Kotlin | 0 | 0 | 7e37b70d423694d9355b21843d4d4889d8ced8e7 | 4,826 | weathermap | MIT License |
app/src/main/kotlin/me/sweetll/tucao/model/raw/ShowtimeSection.kt | xiaole0310 | 91,590,492 | false | null | package me.sweetll.tucao.model.raw
import com.chad.library.adapter.base.entity.SectionEntity
import me.sweetll.tucao.model.json.Result
class ShowtimeSection: SectionEntity<Result> {
constructor(header: String, isHeader: Boolean = true): super(isHeader, header)
constructor(result: Result): super(result)
}
| 0 | null | 0 | 2 | f83d75ac9747f2df2ede4b8f3a8c12d701327fb5 | 317 | Tucao | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/GLTFPhysicsBody.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1549917, "GDScript": 535642, "C++": 403741, "C": 13152, "C#": 10278, "Shell": 7406, "Java": 2165, "CMake": 939, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 50 | Kotlin | 38 | 580 | fd1af79075e7b918200aba3302496b70c76a2028 | 16,502 | godot-kotlin-jvm | MIT License |
composeApp/src/commonMain/kotlin/repository/DatabaseRepository.kt | jeffreyliu8 | 722,357,386 | false | {"Kotlin": 21142, "Swift": 594} | package repository
import com.example.database.HockeyPlayer
import kotlinx.coroutines.flow.Flow
interface DatabaseRepository {
fun getPlayers(): Flow<List<HockeyPlayer>>
suspend fun removeAll()
suspend fun addPlayer(player: HockeyPlayer)
} | 0 | Kotlin | 0 | 0 | 81a0cd8b44a29e0c9d49ba94e70d092e1be091ed | 254 | kmmcompose | MIT License |
src/main/kotlin/com/imoonday/skill/ItemAttractionSkill.kt | iMoonDay | 759,188,611 | false | {"Kotlin": 472390, "Java": 57363} | package com.imoonday.skill
import com.imoonday.trigger.GlowingTrigger
import com.imoonday.trigger.UsingRenderTrigger
import com.imoonday.util.SkillType
import com.imoonday.util.UseResult
import net.minecraft.client.network.ClientPlayerEntity
import net.minecraft.entity.Entity
import net.minecraft.entity.ItemEntity
imp... | 0 | Kotlin | 0 | 0 | bdccadd1cdfaeaf551ce38cb82b5ec536eff30f9 | 2,115 | AdvancedSkills | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/five/android/widgetstutorial/di/Modules.kt | lukamijic | 372,011,706 | false | null | package com.five.android.widgetstutorial.di
import com.five.android.widgetstutorial.BuildConfig
import com.five.android.widgetstutorial.data.mapper.ApiMapper
import com.five.android.widgetstutorial.data.mapper.ApiMapperImpl
import com.five.android.widgetstutorial.data.repository.MovieRepository
import com.five.android... | 0 | Kotlin | 0 | 0 | 70d9884f38c0fd13821fcf1beaddb953b5a1888b | 1,553 | android-widgets | MIT License |
app/src/main/java/ru/tech/papricoin/domain/use_case/favorite_coins/get_favorite_coins/GetFavoriteCoinsUseCase.kt | T8RIN | 476,364,479 | false | {"Kotlin": 94271} | package ru.tech.papricoin.domain.use_case.favorite_coins.get_favorite_coins
import kotlinx.coroutines.flow.Flow
import ru.tech.papricoin.domain.model.Coin
import ru.tech.papricoin.domain.repository.PapriCoinRepository
import ru.tech.papricoin.presentation.ui.utils.Action
import javax.inject.Inject
class GetFavoriteCo... | 0 | Kotlin | 1 | 47 | fd513fb72a7bf56e31d0e96d5dae8f39d4dd84a2 | 512 | PapriCoin | Apache License 2.0 |
app/src/main/java/me/tatocaster/letinterview/features/movieslist/presentation/MoviesList.kt | tatocaster | 126,601,486 | false | null | package me.tatocaster.letinterview.features.movieslist.presentation
import android.app.DatePickerDialog
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.GridLayoutManager
import android.support.v7.widget.RecyclerView
import android.view.animation.OvershootInterp... | 0 | Kotlin | 0 | 0 | 3d048923870ae54216894bed31bee4ccea11f3da | 4,995 | TVShowsExplorer | MIT License |
mahua/src/main/java/com/movies/mahua/entities/BodyParams.kt | chenshige | 152,017,908 | false | null | package com.movies.mahua.entities
/**
* @author donnieSky
* @created_at 2018/9/12.
* @description
* @version
*/
data class BodyParams(
val appInfo: AppInfo? = AppInfo(),
val cip: String? = "127.0.0.1",
val ctime: Long? = System.currentTimeMillis() / 1000,
val uid: Long? = 14357495,... | 0 | Kotlin | 1 | 0 | d4d4d898b334aa29a1943728673e5549ddc58766 | 951 | Digging | MIT License |
module_web/src/main/java/com/sunhy/demo/web/TemplateWebViewPool.kt | RDSunhy | 536,120,160 | false | {"Kotlin": 122335, "JavaScript": 10808, "HTML": 8546, "AIDL": 772, "CSS": 763} | package com.sunhy.demo.web
import android.content.Context
import android.content.MutableContextWrapper
import android.util.Log
import com.sunhy.demo.web.core.BaseWebChromeClient
import com.sunhy.demo.web.core.BaseWebViewClient
import java.util.*
class TemplateWebViewPool private constructor() {
companion object ... | 0 | Kotlin | 20 | 84 | 334b89a85eb2ee0e94833a4c50cc086bc85c7335 | 2,603 | WebViewSimpleDemo | Apache License 2.0 |
app/src/main/java/com/patmore/android/core/imageloader/ImageLoader.kt | jawnpaul | 514,394,689 | false | {"Kotlin": 189149} | package com.patmore.android.core.imageloader
import android.content.Context
import android.widget.ImageView
import androidx.core.graphics.drawable.toBitmap
import androidx.palette.graphics.Palette
import coil.imageLoader
import coil.load
import coil.request.ImageRequest
import coil.transform.CircleCropTransformation
i... | 3 | Kotlin | 1 | 11 | 9a36efdd72ea4b7ee51e09de28c863be52cf53fa | 1,327 | patmore-android | MIT License |
base/sdk-common/src/test/java/com/android/ide/common/blame/parser/Aapt2OutputParserTest.kt | qiangxu1996 | 255,410,085 | false | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 1 | 1 | 3411c5436d0d34e6e2b84cbf0e9395ac8c55c9d4 | 5,303 | vmtrace | Apache License 2.0 |
features/cards/src/test/java/pokemontcg/features/cards/ui/MainViewModelTest.kt | jsmontteiro | 248,234,185 | false | null | package pokemontcg.features.cards.ui
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import io.mockk.coEvery
import io.mockk.mockk
import io.mockk.spyk
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import pokemontcg.features.cards.mockCard
i... | 0 | Kotlin | 1 | 1 | 15df26675e92fce4db45bc8f9fda4f6935c7a1fb | 1,668 | kotlin-pokemon-tcg | MIT License |
v8binding/src/main/java/com/github/boybeak/v8x/binding/Key.kt | boybeak | 616,090,715 | false | null | package com.github.boybeak.v8x.binding
import com.eclipsesource.v8.V8
import com.eclipsesource.v8.V8Object
data class Key(val name: String, val typeName: String) {
companion object {
fun from(v8obj: V8Object): Key {
return Key(v8obj.getString("name"), v8obj.getString("typeName"))
}
... | 0 | Kotlin | 0 | 1 | 51b79c523ab50ba10112f0ec10d77b89a1ed9c35 | 484 | v8x | MIT License |
rd-kt/rd-framework/src/test/kotlin/com/jetbrains/rd/framework/test/cases/RdAsyncTaskTest2.kt | JetBrains | 107,686,809 | false | {"C#": 1845849, "Kotlin": 1606295, "C++": 1087156, "CMake": 45400, "Batchfile": 8969, "C": 688, "Shell": 672, "Dockerfile": 152} | package com.jetbrains.rd.framework.test.cases
import com.jetbrains.rd.framework.FrameworkMarshallers
import com.jetbrains.rd.framework.ISerializer
import com.jetbrains.rd.framework.base.static
import com.jetbrains.rd.framework.impl.RdCall
import com.jetbrains.rd.framework.impl.RdList
import com.jetbrains.rd.framework.... | 36 | C# | 53 | 384 | e25603699e1751abfe1beeeec77c89db9d3fda80 | 5,725 | rd | Apache License 2.0 |
domain/src/main/java/com/chun/domain/model/Genre.kt | nchungdev | 398,720,732 | false | null | package com.chun.domain.model
data class Genre(
var id: Int,
var name: String,
var type: String,
var url: String
) | 0 | Kotlin | 0 | 0 | 92a75c4304243f379f168ad4eb786de1028cc727 | 131 | AnimeDi | MIT License |
kot_pool/lib/src/main/kotlin/concurrency/Crawler.kt | bhatti | 309,012,602 | false | {"Go": 38096, "Elixir": 32574, "Erlang": 30277, "Kotlin": 10664, "Rust": 6862, "Swift": 6604, "TypeScript": 5404, "JavaScript": 2103, "Shell": 282} | package concurrency
import concurrency.domain.Response
interface Crawler {
fun crawl(urls: List<String>): Response
} | 0 | Go | 0 | 0 | e235a71d042cf1093544cc7b878a68f27e653747 | 122 | concurency-katas | MIT License |
app/src/main/java/com/github/hailouwang/demosforapi/kotlin/CompanionTest.kt | lichang2464 | 293,675,010 | true | {"Gradle": 37, "Java Properties": 4, "Shell": 2, "Text": 6, "Ignore List": 28, "Batchfile": 2, "Markdown": 27, "Checksums": 6, "XML": 848, "HTML": 11, "Java": 1032, "AIDL": 3, "INI": 17, "Proguard": 17, "Groovy": 2, "YAML": 3, "Dart": 40, "Kotlin": 51, "CMake": 1, "C": 1, "JSON": 4, "Ruby": 2, "OpenStep Property List":... | package com.github.hailouwang.demosforapi.kotlin
class CompanionTest {
companion object{
val a = "6666"
}
}
// 相当于
//public class CompanionTest {
// private static String a = "666";
//
// public static String getA(){
// return a;
// }
//}
/**
public final class com/github/hailouwang/d... | 0 | null | 0 | 1 | cdd5583c6aa34414ae59528357b9b20545b36d4b | 4,215 | AndroidGo | Apache License 2.0 |
zoomimage-compose/src/main/java/com/github/panpf/zoom/Utils.kt | panpf | 647,222,866 | false | null | package com.github.panpf.zoom
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.platform.L... | 0 | Kotlin | 0 | 2 | eed5f12533e86d8f563ec8438df15ed29f80c24a | 3,433 | zoomimage | Apache License 2.0 |
api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/crypt/AESCipherFactory.kt | jnk-cons | 691,762,451 | false | {"Kotlin": 918056} | package de.jnkconsulting.e3dc.easyrscp.api.crypt
/**
* Factory to create [AESCipher] instances
*
* @since 2.0
*/
interface AESCipherFactory {
/**
* Creates a new instance.
*
* According to the E3DC requirements, an array of zeros is (unfortunately) used as IV here.
*
* @return New [AE... | 5 | Kotlin | 0 | 1 | 8627cdddb76e29624ec4d186f063dd05ff9489da | 381 | easy-rscp | MIT License |
compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mk.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 4,890 | compose | Apache License 2.0 |
compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mk.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 4,890 | compose | Apache License 2.0 |
app/src/main/java/com/storyteller_f/fei/service/FeiServer.kt | storytellerF | 612,287,528 | false | null | package com.storyteller_f.fei.service
import android.net.Uri
import android.util.Log
import android.widget.Toast
import androidx.core.net.toFile
import com.storyteller_f.fei.Message
import com.storyteller_f.fei.cacheInvalid
import com.storyteller_f.fei.removeUri
import com.storyteller_f.fei.respondUri
import com.story... | 1 | Kotlin | 0 | 3 | f7fd9ef05b5dcd179783bedaa0bcf92588f8234a | 10,433 | Fei | MIT License |
Base/src/main/java/xy/xy/base/assembly/qr/QrCreateAssemblyView.kt | xiuone | 291,512,847 | false | null | package xy.xy.base.assembly.qr
import android.graphics.Bitmap
import android.view.View
import android.widget.ImageView
import xy.xy.base.assembly.base.BaseAssemblyViewWithContext
interface QrCreateAssemblyView :BaseAssemblyViewWithContext {
fun createSaveView():View?
fun createQrImageViewList():MutableList<Im... | 0 | Kotlin | 1 | 2 | 51bc46fde7d03484241b04cddc77236dbecf4469 | 549 | ajinlib | Apache License 2.0 |
core/src/main/kotlin/kairi/core/entities/UserEntity.kt | AugustArchive | 405,771,313 | false | {"Kotlin": 57852} | /**
* Copyright (c) 2021 Noel
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, dist... | 1 | Kotlin | 0 | 3 | aaba6f40ba5865e9727f1050e507132916acce9e | 1,460 | Kairi | MIT License |
src/main/kotlin/su/gachi/commands/items/ArmorsCommand.kt | Oxygen-Studio-VAX | 577,374,170 | false | {"Kotlin": 57867, "Shell": 188} | package su.gachi.commands.items
import net.dv8tion.jda.api.EmbedBuilder
import net.dv8tion.jda.api.interactions.DiscordLocale
import net.dv8tion.jda.api.interactions.commands.OptionType
import net.dv8tion.jda.api.interactions.commands.build.OptionData
import org.json.JSONObject
import su.gachi.Config
import su.gachi.c... | 0 | Kotlin | 0 | 0 | 08bf5ece5c02acaf2c99265488d0280d21ee25a4 | 4,426 | oxybot-jda | Apache License 2.0 |
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/utils/SequenceUtils.kt | cqfn | 275,879,956 | false | null | /**
* Utility methods to work with sequences
*/
package org.cqfn.diktat.ruleset.utils
/**
* @param pred a predicate
* @return filtered sequence
*/
fun <T> Sequence<T>.takeWhileInclusive(pred: (T) -> Boolean): Sequence<T> {
var shouldContinue = true
return takeWhile {
val result = shouldContinue
... | 93 | null | 23 | 361 | d8c4cea250a651244fb6bad0ecf9bad505ece89b | 376 | diKTat | MIT License |
app/src/main/java/reach52/marketplace/community/fragments/follow_up/FollowUpsFragment.kt | reach52 | 422,514,975 | false | {"Kotlin": 1436380, "Java": 18303} | package reach52.marketplace.community.fragments.follow_up
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import androidx.paging.LivePa... | 0 | Kotlin | 0 | 0 | 629c52368d06f978f19238d0bd865f4ef84c23d8 | 4,601 | Marketplace-Community-Edition | MIT License |
vpn/src/main/java/com/duckduckgo/mobile/android/vpn/processor/tcp/TcpConnectionInitializer.kt | cmonfortep | 252,403,423 | true | {"Kotlin": 6042652, "HTML": 42259, "Java": 35279, "JavaScript": 8281, "Ruby": 7654, "C++": 1820, "CMake": 1298, "Shell": 784} | /*
* Copyright (c) 2020 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 5 | Kotlin | 0 | 3 | 228a1217aad96d19f90750d94664b7a4a5744c9a | 3,963 | Android | Apache License 2.0 |
src/nam/tran/factory/_method/ChicagoStyleClamPizza.kt | NamTranDev | 229,420,809 | false | null | package nam.tran.factory._method
class ChicagoStyleClamPizza : Pizza() | 1 | null | 1 | 3 | 1222d4fadb460012819bd61841f59423eb6e8346 | 71 | DesignPattern | Apache License 2.0 |
app/src/main/java/io/sefu/nuntium/presentation/authentication/SignUpScreen.kt | SefuZeph | 601,832,754 | false | null | package io.sefu.nuntium.presentation.authentication
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import andr... | 0 | Kotlin | 0 | 0 | 0f4db6422dafdff184e53fd8c1d5da06173efd7a | 3,772 | Nuntium | Apache License 2.0 |
app/src/main/java/com/my_1st/fincalc/ui/dep/DepositViewModel.kt | Tigran-Khachikyan | 234,118,867 | false | null | package com.my_1st.fincalc.ui.dep
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.my_1st.fincalc.data.Repository
import com.my_1st.fincalc.data.db.dep.Deposit
import kotlinx.coroutines.launch
class DepositViewModel(application: Application)... | 0 | Kotlin | 0 | 0 | 68480517fc7465d3b4052664e98fba0192a832c5 | 505 | FinCalc | Apache License 2.0 |
app/src/main/java/com/example/note_app/MainActivity.kt | enesulkerr | 651,983,924 | false | null | package com.example.note_app
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.*
lateinit var titleText: EditText
lateinit var detailText: EditText
lateinit var btngotodetail: Button
lateinit var titleli... | 0 | Kotlin | 0 | 0 | fdea31fd19f17a4ba76ad5f8b946ad601bbddc7e | 2,933 | Note-App | MIT License |
domain/src/main/java/ru/rznnike/eyehealthmanager/domain/model/enums/AcuitySymbolLetterEn.kt | RznNike | 207,148,781 | false | null | package ru.rznnike.eyehealthmanager.domain.model.enums
import androidx.annotation.DrawableRes
import ru.rznnike.eyehealthmanager.domain.R
import ru.rznnike.eyehealthmanager.domain.model.IAcuitySymbol
enum class AcuitySymbolLetterEn(
@DrawableRes val iconResId: Int
) : IAcuitySymbol {
E(R.drawable.ic_letters_e... | 0 | null | 0 | 4 | 70c802c797d8d893e9d19952a4ea4269ed33e544 | 694 | EyeHealthManager | MIT License |
fileboxlib/src/main/java/com/lyrebirdstudio/fileboxlib/downloader/DownloadRequest.kt | lyrebirdstudio | 238,207,373 | false | null | package com.lyrebirdstudio.fileboxlib.downloader
import com.lyrebirdstudio.fileboxlib.core.Record
internal data class DownloadRequest(val record: Record) | 3 | Kotlin | 24 | 312 | 0cfaa0d0b05ed5d25d87eed88de224f630ba91e6 | 155 | filebox | Apache License 2.0 |
backstackexample/src/main/java/com/gregorymarkthomas/backstackexample/presenter/ActivityPresenterInterface.kt | gregorymarkthomas | 751,530,531 | false | {"Kotlin": 37484} | package com.gregorymarkthomas.backstackexample.presenter
interface ActivityPresenterInterface {
fun onGoToButtonPress(position: Int)
fun onResumeToButtonPress(position: Int)
fun onClearToButtonPress(position: Int)
fun onGoBackButtonPress()
} | 0 | Kotlin | 0 | 0 | d4207e396820eb20310015c951cd26940fb24337 | 258 | kotlin-backstack | MIT License |
data/communication/src/main/java/io/github/mmolosay/datalayercommunication/data/communication/convertion/encode/CompressingDecorator.kt | mmolosay | 594,482,339 | false | null | package io.github.mmolosay.datalayercommunication.data.communication.convertion.encode
import io.github.mmolosay.datalayercommunication.domain.communication.convertion.Encoder
import io.github.mmolosay.datalayercommunication.domain.communication.model.Data
import io.github.mmolosay.datalayercommunication.domain.commun... | 0 | Kotlin | 0 | 0 | 91656536b5597b91263266c10999759c85a72ff8 | 969 | DataLayerCommunication | Apache License 2.0 |
src/test/kotlin/no/nav/syfo/api/CORSTest.kt | navikt | 208,218,158 | false | null | package no.nav.syfo.api
import io.ktor.application.install
import io.ktor.features.CORS
import io.ktor.http.HttpHeaders
import io.ktor.http.HttpMethod
import io.ktor.http.HttpStatusCode
import io.ktor.routing.routing
import io.ktor.server.testing.TestApplicationEngine
import io.ktor.server.testing.handleRequest
import... | 0 | Kotlin | 0 | 0 | d307b5a6a030cabc547441826bcdc8b2cb3dbd71 | 6,530 | syfosmmanuell-backend | MIT License |
app/src/main/java/be/digitalia/fosdem/db/RoomDatabaseExt.kt | cbeyls | 15,915,146 | false | {"Kotlin": 338620} | package be.digitalia.fosdem.db
import androidx.room.RoomDatabase
import androidx.room.invalidationTrackerFlow
import be.digitalia.fosdem.utils.BackgroundWorkScope
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.filterNotNull
import kotlinx.coroutines.flo... | 14 | Kotlin | 93 | 136 | db1f6b05c59c818a58e673ec9b4b40dc6f694d50 | 714 | fosdem-companion-android | Apache License 2.0 |
dmn-test-cases/standard/tck/1.1/cl3/0021-singleton-list/translator/expected/kotlin/dmn/Decision4.kt | goldmansachs | 118,478,361 | false | {"Java": 10136959, "Kotlin": 1021119, "Python": 419543, "FreeMarker": 229313, "ANTLR": 102014, "Batchfile": 1400, "Shell": 980} |
import java.util.*
import java.util.stream.Collectors
@javax.annotation.Generated(value = ["decision.ftl", "decision4"])
@com.gs.dmn.runtime.annotation.DRGElement(
namespace = "",
name = "decision4",
label = "",
elementKind = com.gs.dmn.runtime.annotation.DRGElementKind.DECISION,
expressionKind = ... | 10 | Java | 41 | 136 | 2f3da498778c8b6ab648cc53353f52991e88ae2c | 3,398 | jdmn | Apache License 2.0 |
src/test/kotlin/com/atlassian/pedagogical/ao/SystemPropertyJdbcConfiguration.kt | atl-mk | 529,135,749 | false | {"Kotlin": 26021, "Java": 4142, "Closure Templates": 351} | package com.atlassian.pedagogical.ao
import net.java.ao.test.jdbc.AbstractJdbcConfiguration
import net.java.ao.test.jdbc.H2Memory
import net.java.ao.test.jdbc.JdbcConfiguration
import org.slf4j.LoggerFactory
class SystemPropertyJdbcConfiguration : JdbcConfiguration {
private val log = LoggerFactory.getLogger(Syst... | 0 | Kotlin | 2 | 2 | 7ff3600d7f3b9b2cdc5a1a088b354624add9fe96 | 4,413 | kotlin-p2 | MIT License |
batch/src/main/kotlin/com/isystk/sample/batch/jobs/solrRegist/SolrRegistDto.kt | isystk | 328,037,305 | false | {"Kotlin": 462354, "TypeScript": 88591, "HTML": 77276, "SCSS": 24557, "FreeMarker": 21801, "JavaScript": 5293, "Shell": 3607, "Dockerfile": 1581, "CSS": 942} | package com.isystk.sample.batch.jobs.solrRegist
import com.isystk.sample.batch.item.ItemPosition
class SolrRegistDto : ItemPosition {
// 取り込み元ファイル
override var sourceName: String? = null
override var position = 0
} | 0 | Kotlin | 0 | 2 | 2e4e0c62af22c05403e5d3452ba08eb09c05a7f1 | 229 | kotlin-springboot-boilerplate | MIT License |
newm-server/src/main/kotlin/io/newm/server/database/migration/V11__SongsUpdates.kt | projectNEWM | 447,979,150 | false | null | package io.newm.server.database.migration
import org.flywaydb.core.api.migration.BaseJavaMigration
import org.flywaydb.core.api.migration.Context
import org.jetbrains.exposed.sql.transactions.transaction
@Suppress("unused")
class V11__SongsUpdates : BaseJavaMigration() {
override fun migrate(context: Context?) {
... | 1 | null | 4 | 9 | b25c5a6d016c232707b6aefad18abec35fc4c167 | 572 | newm-server | Apache License 2.0 |
learning-kotlin-2020/src/ArraysSetsLists.kt | kevin2-cyber | 437,880,493 | false | {"Kotlin": 765037, "CSS": 301626, "SCSS": 287609, "HTML": 208821, "JavaScript": 16612, "Java": 2758, "TypeScript": 366} | /*
* Copyright (c) 2020 UG Short course (Mobile Apps)
* Facilitator: <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required... | 0 | Kotlin | 0 | 1 | 260d0d3bbae9bfaa24df4fb933188e37c82cc8a6 | 1,373 | ug-short-course | MIT License |
app/src/main/java/dev/abhaycloud/fdtracker/presentation/ui/components/FixedDepositItem.kt | Abhay-cloud | 816,359,684 | false | {"Kotlin": 164703} | package dev.abhaycloud.fdtracker.presentation.ui.components
import android.util.Log
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable... | 2 | Kotlin | 4 | 32 | a8ab2db4b600c29ecfffe45c263305bf939a5142 | 6,975 | Fixed-Deposit-Tracker | MIT License |
app/src/test/java/com/example/gourmetsearchercompose/viewmodel/InputKeyWordViewModelTest.kt | 0v0d | 826,241,127 | false | {"Kotlin": 188477, "Shell": 236} | package com.example.gourmetsearchercompose.viewmodel
import com.example.gourmetsearchercompose.usecase.keywordhistory.ClearKeyWordHistoryUseCase
import com.example.gourmetsearchercompose.usecase.keywordhistory.GetKeyWordHistoryUseCase
import com.example.gourmetsearchercompose.usecase.keywordhistory.SaveKeyWordHistoryU... | 2 | Kotlin | 0 | 1 | 9a03b536f8f5334a96659877c9d8bff3436acc79 | 5,980 | GourmetSearcher-Compose | MIT License |
Full Stack App Development/Book App/app/src/main/java/com/example/recyclerview/MainActivity.kt | bread-board-coding | 403,271,695 | false | null | package com.example.recyclerview
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
class MainActivity : AppCompatActivity() {
overri... | 1 | C++ | 116 | 20 | 04aa1e707efb31def25593047768c08ae1660839 | 20,131 | Hacktober_Fest_2021 | MIT License |
app/src/main/java/vinova/henry/com/hotfilm/server/ITheMovieDBService.kt | henryduong26 | 120,248,676 | false | {"Kotlin": 175185, "Java": 1151} | package vinova.henry.com.hotfilm.server
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
import vinova.henry.com.hotfilm.models.MovieResponse
import vinova.henry.com.hotfilm.models.detail.MovieDetail
import vinova.henry.com.hotfilm.models.trailer.TrailerResponse
i... | 0 | Kotlin | 0 | 0 | 97db98daa63c275b69cbb4b8e9887af6f9d16ada | 6,964 | HotFilm | Apache License 2.0 |
app/src/main/java/br/com/movieapp/feature/moviepopular/presentation/components/MovieItem.kt | flaviosfdev | 789,509,918 | false | {"Kotlin": 41319} | package br.com.movieapp.feature.moviepopular.presentation.components
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import and... | 0 | Kotlin | 0 | 0 | 09dcd2d3d7320b5c834772a4b98092cf7ece691b | 2,639 | movie-app | MIT License |
core/src/test/java/com/standup/core/activityMonitor/CheckIsUserSittingTest.kt | kevalpatel2106 | 109,775,416 | false | null | /*
* Copyright 2018 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 18 | Kotlin | 1 | 3 | d4d0313062118521621da5dac90e836f512ddd54 | 8,318 | Stand-Up | Apache License 2.0 |
tulip/libtulip-persistence-api/src/commonMain/kotlin/com/tajmoti/libtulip/repository/UserPlayingProgressRepository.kt | Tajmoti | 391,138,914 | false | null | package com.tajmoti.libtulip.repository
import com.tajmoti.libtulip.model.LastPlayedPosition
import com.tajmoti.libtulip.model.key.EpisodeKey
import com.tajmoti.libtulip.model.key.ItemKey
import com.tajmoti.libtulip.model.key.MovieKey
import com.tajmoti.libtulip.model.key.StreamableKey
import kotlinx.coroutines.flow.F... | 6 | Kotlin | 0 | 0 | 5f1a6a4a5432981535313710f0037726c80118b8 | 2,873 | Tulip | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/external/boundary/ExternalIdService.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.external.boundary
import com.bosch.pt.csm.cloud.proj... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,004 | bosch-pt-refinemysite-backend | Apache License 2.0 |
common/src/main/java/io/novafoundation/nova/common/utils/formatting/duration/WrapDurationFormatter.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7667438, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.common.utils.formatting.duration
import android.content.Context
import androidx.annotation.StringRes
import kotlin.time.Duration
class WrapDurationFormatter(
private val context: Context,
@StringRes private val resId: Int,
private val nestedFormatter: BoundedDurationFormatte... | 13 | Kotlin | 6 | 9 | dea9f1144c1cbba1d876a9bb753f8541da38ebe0 | 784 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/leichui/shortviedeo/activity/QueRenActivity.kt | kknet | 378,407,063 | false | {"Java": 1891463, "Kotlin": 227641} | package com.leichui.shortviedeo.activity
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import com.facebook.drawee.view.SimpleDraweeView
import com.leichui.conghua.utils.T
import com.leichui.shortviedeo.Base.BaseBean
import com.leichui.shortvied... | 0 | Java | 1 | 0 | 8f8f69b200886d4b6671bcc0b2eb11a5343fd7fd | 4,397 | VideoChat | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ui/dsl/builder/components/TabbedPaneHeader.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 com.intellij.ui.dsl.builder.components
import com.intellij.ide.ui.laf.darcula.ui.DarculaTabbedPaneUI
import com.intellij.ui.components.JBTabbedPane
import org.jetbrains.annotations.ApiStatus... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 1,225 | intellij-community | Apache License 2.0 |
app/src/main/java/com/fifteen11/checkappversion/screens/details/DetailScreen.kt | pansuriyasumit | 837,884,509 | false | {"Kotlin": 84957} | package com.fifteen11.checkappversion.screens.details
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Scaffold
import androidx.compose.runtime.Composable
import androidx.compose.ui... | 0 | Kotlin | 0 | 0 | 3b447671a617822068641f0eb8a5cc7a956ea643 | 1,043 | MedicineTestCode | Apache License 2.0 |
subprojects/test-runner/device-provider/model/src/main/kotlin/com/avito/runner/service/worker/device/DeviceCoordinate.kt | avito-tech | 230,265,582 | false | {"Kotlin": 3747948, "Java": 67252, "Shell": 27892, "Dockerfile": 12799, "Makefile": 8086} | package com.avito.runner.service.worker.device
public sealed class DeviceCoordinate {
public abstract val serial: Serial
public data class Kubernetes(
override val serial: Serial.Remote,
val podName: String
) : DeviceCoordinate()
public data class Local(override val serial: Serial.Lo... | 10 | Kotlin | 50 | 414 | bc94abf5cbac32ac249a653457644a83b4b715bb | 389 | avito-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.