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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
plugins/ide-startup/importSettings/src/com/intellij/ide/startup/importSettings/chooser/testActions/ImportSettingDialogAction.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.startup.importSettings.chooser.testActions
import com.intellij.ide.startup.importSettings.chooser.ui.OnboardingController
import com.intellij.openapi.actionSystem.AnActionEv... | 251 | null | 5079 | 16,158 | 831d1a4524048aebf64173c1f0b26e04b61c6880 | 555 | intellij-community | Apache License 2.0 |
paymentsheet/src/main/java/com/stripe/android/paymentsheet/ui/MandateText.kt | stripe | 6,926,049 | false | {"Kotlin": 13814299, "Java": 102588, "Ruby": 45779, "HTML": 42045, "Shell": 23905, "Python": 21891} | package com.stripe.android.paymentsheet.ui
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import an... | 91 | Kotlin | 644 | 1,277 | 174b27b5a70f75a7bc66fdcce3142f1e51d809c8 | 1,459 | stripe-android | MIT License |
native/swift/sir-passes/src/org/jetbrains/sir/passes/utility/SirValidator.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.sir.passes.utility
import org.jetbrains.kotlin.sir.*
import org.jetbrains.kotlin.sir.vi... | 166 | null | 5771 | 46,772 | bef0946ab7e5acd5b24b971eca532c43c8eba750 | 3,502 | kotlin | Apache License 2.0 |
zlauncher/src/main/java/com/inz/z/zlauncher/view/activity/adapter/LauncherIconAdapter.kt | Memory-Z | 141,771,340 | false | {"Java": 1063423, "Kotlin": 584610} | package com.inz.z.zlauncher.view.activity.adapter
import android.content.Context
import android.content.pm.ResolveInfo
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
i... | 1 | null | 1 | 1 | feff01057cf308fcbf9f1ebf880b9a114badf970 | 2,323 | Z_inz | Apache License 2.0 |
app/src/main/java/com/fengyongge/wanandroidclient/bean/UserInforBean.kt | fengyongge | 304,286,660 | false | null | package com.fengyongge.wanandroidclient.bean
data class UserInforBean(
val coinCount: Int,
val level: Int,
val rank: String,
val userId: Int,
val username: String
) | 1 | Kotlin | 6 | 14 | 7ebd614ab0e3d65f2b5137175c51d3b61c23c25b | 185 | WanAndroidClient | Apache License 2.0 |
data/src/main/java/com/example/trackme/data/mapper/WorkoutRecordMapper.kt | hungan1409 | 300,535,172 | false | {"Gradle": 4, "Gradle Kotlin DSL": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Kotlin": 92, "JSON": 3, "Proguard": 2, "Java": 2, "XML": 30} | package com.example.trackme.data.mapper
import com.example.trackme.data.base.EntityMapper
import com.example.trackme.data.model.WorkoutRecordEntity
import com.example.trackme.domain.model.WorkoutRecord
import javax.inject.Inject
class WorkoutRecordMapper @Inject constructor(
private val trackLocationEntityMapper:... | 0 | Kotlin | 0 | 0 | 9da598ce32b0572cd32d67abda643b12a7d3d81f | 1,177 | TrackMe | Apache License 2.0 |
WorkManagerNotifications/app/src/main/java/com/lazypotato/workmanager_notifications/ui/notification/SampleActivity.kt | eishon | 346,190,149 | false | null | package com.lazypotato.workmanager_notifications.ui.notification
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
import workmanager_notifications.R
class SampleActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
supe... | 1 | Kotlin | 1 | 1 | 5bb1c98644ee46c9ce108c9e8af7f3b4ba55fdcf | 649 | Android-Samples | MIT License |
compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/test/TestActivity.kt | cmguo | 373,241,135 | true | {"Java Properties": 49, "Shell": 65, "Markdown": 96, "Java": 5536, "HTML": 17, "Kotlin": 5079, "Python": 33, "Proguard": 44, "CMake": 3, "C++": 5, "Batchfile": 13, "JavaScript": 1, "CSS": 1, "TypeScript": 6, "Gradle Kotlin DSL": 2, "INI": 2} | /*
* Copyright 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 applica... | 0 | null | 0 | 1 | 4013127ff3bc1f0e7723c99c1223ba82eccb4bf9 | 1,792 | androidx | Apache License 2.0 |
src/main/kotlin/frc/team5333/stronghold/core/control/GyroPID.kt | FRC5333 | 56,080,762 | false | null | package frc.team5333.stronghold.core.control
import edu.wpi.first.wpilibj.PIDSource
import edu.wpi.first.wpilibj.PIDSourceType
class GyroPID : PIDSource {
var pidSource: PIDSourceType? = PIDSourceType.kDisplacement
override fun getPIDSourceType(): PIDSourceType? = pidSource
override fun setPIDSourceType... | 1 | null | 1 | 2 | f3824486a5a640a95fa99cd9de3ecca7c150571d | 448 | 2016-Champs | MIT License |
component-acgschedule/src/main/java/com/rabtman/acgschedule/mvp/model/entity/ScheduleTimeItem.kt | Rabtman | 129,618,096 | false | null | package com.rabtman.acgschedule.mvp.model.entity
import com.chad.library.adapter.base.entity.JSectionEntity
import com.rabtman.acgschedule.mvp.model.jsoup.ScheduleWeek.ScheduleItem
/**
* @author Rabtman
*/
class ScheduleTimeItem : JSectionEntity {
override var isHeader = false
@JvmField
var header: Str... | 2 | null | 120 | 840 | 9150f3abe50e046afd83cc97cb4415a39b1f1bd1 | 709 | AcgClub | Apache License 2.0 |
breeze-serialization/src/main/kotlin/serialization/csv/CsvWriter.kt | DragonKnightOfBreeze | 205,561,109 | false | null | // Copyright (c) 2020-2021 DragonKnightOfBreeze Windea
// Breeze is blowing...
package icu.windea.breezeframework.serialization.csv
import icu.windea.breezeframework.serialization.*
/**
* Csv数据的写入器。
*/
internal class CsvWriter @PublishedApi internal constructor(
override val config: CsvConfig = CsvConfig()
) : Da... | 1 | null | 1 | 8 | e067f9e676fbb2fe2d4b5076e522edea63ce5a0f | 389 | Breeze-Framework | MIT License |
lib/src/main/java/com/drew/metadata/heif/HeifPictureHandler.kt | baelec | 231,688,360 | false | {"Git Config": 1, "Gradle": 4, "Markdown": 4, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "YAML": 1, "Java Properties": 1, "CSS": 1, "SVG": 2, "Java": 60, "Kotlin": 362, "DIGITAL Command Language": 3} | /*
* Copyright 2002-2019 <NAME> and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 1 | null | 1 | 1 | 2df8efc24efa24aca040bc4f392d9b9285d23369 | 3,722 | metadata-extractor | Apache License 2.0 |
core/kotlinx-coroutines-core/src/internal/LockFreeMPMCQueue.kt | vadymhimself | 153,842,724 | true | {"Kotlin": 1737425, "CSS": 8215, "Shell": 3104, "JavaScript": 2505, "Ruby": 1927, "HTML": 1675, "Java": 356, "Prolog": 299} | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.experimental.internal
import kotlinx.atomicfu.*
internal open class LockFreeMPMCQueueNode<T> {
val next = atomic<T?>(null)
// internal declarations for inline functions
... | 0 | Kotlin | 0 | 1 | 3a8342d23ca565fecbd96b3a7df8cac6f1c1b51a | 3,194 | kotlinx.coroutines | Apache License 2.0 |
app/src/main/java/com/breadwallet/tools/manager/RatesFetcher.kt | breadwallet | 37,503,422 | false | null | /**
* BreadWallet
*
* Created by Mihail Gutan <mihail@breadwallet.com> on 7/22/15.
* Copyright (c) 2016 breadwallet LLC
*
* 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 restr... | 5 | null | 450 | 385 | dfbbfbfc92dae054e47f245e1ce2ac8a39e65e57 | 13,119 | breadwallet-android | MIT License |
src/main/kotlin/groupnet/euler/dual/Abstr.kt | AlmasB | 174,802,362 | false | null | package groupnet.euler.dual
import groupnet.euler.AbstractZone
/**
*
* @author Almas Baimagambetov (almaslvl@gmail.com)
*/
data class Vertex(val az: AbstractZone)
data class Edge(val v1: Vertex, val v2: Vertex)
class Cycle(val vertices: List<Vertex>, val edges: List<Edge>) {
override fun toString(): Strin... | 2 | null | 1 | 1 | 4aaa9de60ecdba5b9402b809e1e6e62489a1d790 | 388 | D2020 | Apache License 2.0 |
app/src/main/java/org/stepic/droid/core/StepikLogoutManager.kt | StepicOrg | 42,045,161 | false | null | package org.stepic.droid.core
import org.stepic.droid.concurrency.MainHandler
import org.stepic.droid.di.AppSingleton
import org.stepic.droid.notifications.badges.NotificationsBadgesLogoutPoster
import org.stepic.droid.persistence.downloads.interactor.RemovalDownloadsInteractor
import org.stepic.droid.preferences.Shar... | 13 | null | 54 | 189 | dd12cb96811a6fc2a7addcd969381570e335aca7 | 1,706 | stepik-android | Apache License 2.0 |
app/src/androidTest/java/com/hasegawa/diapp/StepDetailScreenTest.kt | AranHase | 55,708,682 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 1, "Kotlin": 152, "SVG": 5, "Text": 1, "XML": 72, "Proguard": 4, "Java": 3} | /*******************************************************************************
* Copyright 2016 <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/licen... | 6 | Kotlin | 1 | 8 | 80e2c6d345a63ce75a1383f52f08bfb1f0a1535b | 3,053 | PassosDoImpeachment-app | Apache License 2.0 |
headless-demo/src/jsMain/kotlin/dev/fritz2/headlessdemo/switch.kt | jwstegemann | 230,732,344 | false | null | package dev.fritz2.headlessdemo
import dev.fritz2.core.RenderContext
import dev.fritz2.core.storeOf
import dev.fritz2.headless.components.switch
import dev.fritz2.headless.components.switchWithLabel
import dev.fritz2.headless.foundation.Aria
import kotlinx.coroutines.flow.map
fun RenderContext.switchDemo() {
va... | 64 | Kotlin | 19 | 432 | 72787c1c00663b65c20ef494991a45ca2f3a8c5f | 2,599 | fritz2 | MIT License |
app/src/main/java/com/capstone/pet2home/customview/MyButtonPrimary.kt | ferdian-arjun | 491,776,086 | false | {"Kotlin": 220059} | package com.capstone.pet2home.customview
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.util.AttributeSet
import androidx.core.graphics.drawable.DrawableCompat
import com.capstone.pet2home.R
import com.google.android.... | 0 | Kotlin | 3 | 5 | 86498e1a10e49955bfbfef32393cc0bdbffc98ff | 1,136 | pet2home | MIT License |
backend/src/main/java/space/davids_digital/sweetie/orm/entity/VkMessageEntityId.kt | david-d25 | 631,104,765 | false | {"Kotlin": 244319, "TypeScript": 50176, "SCSS": 13625, "JavaScript": 2582, "Java": 704, "HTML": 576, "Dockerfile": 542} | package space.davids_digital.sweetie.orm.entity
import java.io.Serializable
data class VkMessageEntityId(
var conversationMessageId: Long = 0,
var peerId: Long = 0
): Serializable {
constructor(): this(0, 0)
}
| 0 | Kotlin | 0 | 1 | caf5e544bad9158ed19ce5de2590862f1de7546d | 224 | sweetie-ai | MIT License |
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/interopWithProguarded/src/test/kotlin/InteropWithProguardedTest.kt | JetBrains | 3,432,266 | false | null | import org.junit.Assert
import kotlin.reflect.full.valueParameters
import kotlin.reflect.KClass
class InteropWithProguardedTest {
@org.junit.Test
fun parametersInInnerJavaClassConstructor() {
val inner = iclass.JInnerClass().Inner("123")
testAnnotationsInConstructor(inner::class)
}
@o... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,317 | kotlin | Apache License 2.0 |
src/main/kotlin/parsers/parsers/CommaSeparatedParser.kt | nybble16 | 733,939,836 | false | {"Kotlin": 10068} | package com.tomaszz.parsers.parsers
import com.tomaszz.parsers.expressionparts.UnparsableExpressionException
fun isCommaSeparatedExpression(input: String): Boolean {
val regex = Regex("""\d[\d,]*""")
return regex.matches(input)
}
fun parseCommaSeparated(input: String, lowerBound: Int, upperBound: Int): List<... | 0 | Kotlin | 0 | 0 | db59008652ed4d47a7ff65dd285aa08315fe2fab | 653 | olx-cron-expression | MIT License |
testLib/src/main/java/me/ycdev/android/lib/test/log/AndroidLogHelper.kt | yongce | 12,662,755 | false | null | package me.ycdev.android.lib.test.log
@Suppress("MemberVisibilityCanBePrivate")
object AndroidLogHelper {
// Copy the priority constants from android.util.Log
const val VERBOSE = 2
const val DEBUG = 3
const val INFO = 4
const val WARN = 5
const val ERROR = 6
const val ASSERT = 7
fun ge... | 0 | Kotlin | 6 | 19 | 5ffb4444b1e285a5f31138bbb98a39f869342c15 | 585 | AndroidLib | Apache License 2.0 |
librococoa/src/main/kotlin/darwin/NSScreen.kt | wgpu4k | 773,068,055 | false | {"Kotlin": 1819399, "Java": 1651224, "C": 1136043, "TypeScript": 966071, "HTML": 87125, "WGSL": 68238, "JavaScript": 8101, "CSS": 5773, "Shell": 253} | package darwin
import org.rococoa.ObjCClass
import org.rococoa.cocoa.CGFloat
import org.rococoa.cocoa.foundation.NSRect
/**
* This file was autogenerated by [JNAerator](http://jnaerator.googlecode.com/),<br></br>
* a tool written by [<NAME>](http://ochafik.free.fr/) that [uses a few opensource projects.](http://co... | 1 | Kotlin | 2 | 25 | a7f0d7ffcd720e6c1a5da511655434627baff91e | 3,358 | wgpu4k | MIT License |
shared/src/androidMain/kotlin/de/xorg/gsapp/ui/components/PlatformAlertDialog.kt | libf-de | 689,474,523 | false | {"Kotlin": 372877, "Swift": 743, "Ruby": 406, "Shell": 228} | package de.xorg.gsapp.ui.components
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.runtime.Composable
import androidx.compose.ui.window.DialogProperties
@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun PlatformAlertDialog() {
... | 6 | Kotlin | 0 | 1 | f9bba225649a71636f407c2a47e877d828fcfe73 | 409 | GSApp3-MP | Apache License 2.0 |
common-ui-list/file-system/src/main/java/com/storyteller_f/file_system/instance/local/fake/FakeDirectoryLocalFileInstance.kt | storytellerF | 576,917,592 | false | null | package com.storyteller_f.file_system.instance.local.fake
import android.annotation.SuppressLint
import android.content.Context
import android.os.Build
import androidx.annotation.WorkerThread
import com.storyteller_f.file_system.instance.FileInstance
import com.storyteller_f.file_system.model.DirectoryItemModel
import... | 1 | Kotlin | 0 | 1 | 2b46cd3f304859823a6f2a73e28e05f808d7b48e | 3,997 | common-ui-list-structure | MIT License |
lib/src/androidTest/java/br/com/helpdev/chronometerlib/ExampleInstrumentedTest.kt | FelipeReiss | 199,701,358 | true | {"Kotlin": 13408} | package br.com.helpdev.chronometerlib
import android.os.SystemClock
import androidx.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tool... | 0 | Kotlin | 0 | 0 | 2403eb6eb363edbb16149ff4bf4c4be3efb99412 | 2,299 | chronometer-library | MIT License |
src/test/kotlin/com/github/simiacryptus/aicoder/proxy/ImageTest.kt | SimiaCryptus | 580,649,146 | false | null | package com.github.simiacryptus.aicoder.proxy
import org.junit.Test
import java.io.File
class ImageTest: GenerationReportBase() {
@Test
fun imageGenerationTest() {
val image = proxy.api.render("Hello World")[0]
// Write the image to a file
val file = File.createTempFile("image", ".png... | 4 | null | 7 | 26 | 4727a5ca13928ac65a4bef1c77c5b2638e7c5a75 | 460 | intellij-aicoder | Apache License 2.0 |
src/main/java/com/cuupa/dms/ui/AdressesOverview.kt | Cuupa | 237,699,088 | false | null | package com.cuupa.dms.ui
import com.cuupa.dms.ui.MainView
import com.vaadin.flow.component.orderedlayout.HorizontalLayout
import com.vaadin.flow.router.BeforeEvent
import com.vaadin.flow.router.HasUrlParameter
import com.vaadin.flow.router.OptionalParameter
import com.vaadin.flow.router.Route
@Route(value = "adresses... | 27 | Kotlin | 0 | 0 | e09d126c6b114cca47e950c4e27843218dacdd55 | 586 | dms | MIT License |
app/src/core/java/com/sample/landmarkremark/core/ui/activity/AppActivity.kt | tuanho10 | 811,265,379 | false | {"Kotlin": 76808} | package com.sample.landmarkremark.core.ui.activity
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
import com.sample.landmarkremark.R
import com.sample.landmarkremark.c... | 0 | Kotlin | 0 | 0 | 96a05d03006a192f2a41d393c27694b8387273af | 2,341 | LandmarkRemark | MIT License |
compiler/src/main/kotlin/se/ansman/kotshi/AdapterKey.kt | madisp | 298,662,563 | true | {"Kotlin": 146802, "Shell": 1005} | package se.ansman.kotshi
import com.squareup.kotlinpoet.ANY
import com.squareup.kotlinpoet.ARRAY
import com.squareup.kotlinpoet.AnnotationSpec
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.CodeBlock
import com.squareup.kotlinpoet.Dynamic
import com.squareup.kotlinpoet.LambdaTypeName
import co... | 0 | null | 0 | 0 | 2aefd4800fac0f5e6545591a15bacfc58ba48d52 | 3,190 | kotshi | Apache License 2.0 |
src/test/kotlin/de/bringmeister/dozer/ports/rest/UserControllerTest.kt | bringmeister | 161,471,939 | false | null | package de.bringmeister.dozer.ports.rest
import de.bringmeister.dozer.application.UserService
import de.bringmeister.dozer.domain.User
import de.bringmeister.dozer.domain.UserRepository
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.doReturn
import org.mockito.Mockito.verify
import or... | 0 | Kotlin | 1 | 4 | 48b12d9eecb2be1f6d5ca63c42cd65c2670bf6eb | 3,320 | dozer-with-kotlin | MIT License |
src/main/kotlin/ru/kuchanov/gp/controller/auth/UsersController.kt | mohaxspb | 216,237,285 | false | null | package ru.kuchanov.gp.controller.auth
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.core.annotation.AuthenticationPrincipal
import org.springframework.web.bind.annotation.*
import ru.kuchanov.gp.GpConstants
import ru.kuchanov.gp.bean.auth.*
import ru.kuchanov.gp.bea... | 0 | null | 0 | 3 | 6df7464d1721bc98da5cd7bedf4ec042ae863210 | 2,603 | dont-play-with-gp-api | MIT License |
src/main/kotlin/no/nav/syfo/cronjob/CronjobModule.kt | navikt | 189,998,720 | false | null | package no.nav.syfo.cronjob
import no.nav.syfo.application.ApplicationState
import no.nav.syfo.application.Environment
import no.nav.syfo.application.backgroundtask.launchBackgroundTask
import no.nav.syfo.application.cache.RedisStore
import no.nav.syfo.application.database.DatabaseInterface
import no.nav.syfo.client.a... | 0 | Kotlin | 0 | 0 | e5bf6ed6f4efdfd3bb9f5ad94ae41490b03cf1c4 | 3,467 | syfooversiktsrv | MIT License |
poaro/src/main/java/cab/snapp/blackBox/poaro/Helpers.kt | snapp-incubator | 670,599,580 | false | null | package cab.snapp.blackBox.poaro
fun Logger.e(label: String, message: String, selectedStreams: List<String> = listOf()) {
log(LogLevel.Error, label, message, selectedStreams)
}
fun Logger.w(label: String, message: String, selectedStreams: List<String> = listOf()) {
log(LogLevel.Warning, label, message, select... | 0 | Kotlin | 2 | 6 | 4d13f5d586799ca8490b72905d11bd9c3c43ebcd | 789 | BlackBox | Apache License 2.0 |
src/main/kotlin/ninja/javafx/smartcsv/fx/converter/Converter.kt | frosch95 | 70,516,379 | false | null | /*
The MIT License (MIT)
-----------------------------------------------------------------------------
Copyright (c) 2016 javafx.ninja <<EMAIL>>
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... | 0 | Kotlin | 1 | 0 | 265e3f7f70606c8f87f0561357dc638fccf60967 | 4,245 | SmartCSV.fx.Converter | MIT License |
src/main/java/org/sert2521/bunnybots/util/Telemetry.kt | SouthEugeneRoboticsTeam | 147,020,404 | false | null | package org.sert2521.bunnybots.util
import edu.wpi.first.networktables.NetworkTable
import edu.wpi.first.networktables.NetworkTableInstance
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import org.team2471.frc.lib.coroutines.periodic
import org.team2471... | 1 | Kotlin | 1 | 4 | ec879e3ddae83d1348c30b30dd229ed14d7550b2 | 2,196 | BunnyBots-2018 | MIT License |
app/src/main/java/com/github/zharovvv/open/source/weather/app/domain/location/LocationViewModel.kt | ZharovVV | 398,004,967 | false | null | package com.github.zharovvv.open.source.weather.app.domain.location
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.github.zharovvv.open.source.weather.app.models.presentation.LocationModel
import io.reactivex.android.schedulers.AndroidSchedul... | 0 | Kotlin | 0 | 4 | 839fd24980661a030f22ade782face98432409c3 | 1,228 | OpenSourceWeatherApp | Apache License 2.0 |
artist-data/src/main/java/com/muryno/data/model/ArtistDataModel.kt | muryno | 557,522,285 | false | null | package com.muryno.data.model
import java.io.Serializable
data class ArtistDataModel(
val id: String,
val name: String,
val gender: String,
val type: String,
val state: String,
val disambiguation: String,
val score: Int
): Serializable | 0 | null | 10 | 80 | 234d61043893bf451a6c71029fef59d48fb705b1 | 266 | CleanArchitecture_Modularization | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/Article.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Article")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val Article: SvgIconComponent
| 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 196 | kotlin-wrappers | Apache License 2.0 |
papajbot-server-core/src/main/kotlin/io/github/multicatch/papajbot/Webhook.kt | multicatch | 321,687,835 | false | null | package io.github.multicatch.papajbot
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.fasterxml.jackson.module.kotlin.readValue
import i... | 0 | Kotlin | 0 | 0 | 086fd0daafced29266ec7971b836860c9c6c70fa | 3,845 | Papajbot-messenger | MIT License |
design/src/commonMain/kotlin/angu.labs.ds/components/artwork/Artwork.kt | AnguLabs | 717,800,194 | false | {"Kotlin": 182246, "Swift": 594} | package angu.labs.ds.components.artwork
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.sha... | 0 | Kotlin | 0 | 0 | 989366be46b8789b11a2be209e7bcfd716690a8d | 6,076 | ds | MIT License |
shared/src/main/java/de/loosetie/k8s/dsl/impls/MetricTarget.kt | loosetie | 283,145,621 | false | null | package de.loosetie.k8s.dsl.impls
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasParent
import de.loosetie.k8s.dsl.manifests.*
@JsonPropertyOrder("averageUtilization", "averageValue", "ty... | 0 | Kotlin | 0 | 1 | aaf63cb956f15863ad37ebe3532cb604f9b9506c | 1,224 | k8s-dsl | Apache License 2.0 |
ide-diff-builder/src/test/java/org/jetbrains/ide/diff/builder/api/IdeDiffBuilderTest.kt | JetBrains | 3,686,654 | false | null | package org.jetbrains.ide.diff.builder.api
import com.jetbrains.plugin.structure.intellij.version.IdeVersion
import org.jetbrains.ide.diff.builder.persistence.externalAnnotations.externalPresentation
import org.junit.Test
class IdeDiffBuilderTest : BaseOldNewIdesTest() {
private val accessOpenedClasses = listOf(
... | 6 | null | 38 | 178 | 4deec2e4e08c9ee4ce087697ef80b8b327703548 | 5,527 | intellij-plugin-verifier | Apache License 2.0 |
bgw-gui/src/test/kotlin/tools/aqua/bgw/util/stack/SortShuffleTest.kt | tudo-aqua | 377,420,862 | false | {"Kotlin": 1198455, "TypeScript": 2013, "JavaScript": 1242, "HTML": 507, "CSS": 359, "Ruby": 131} | /*
* Copyright 2021-2022 The BoardGameWork Authors
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 31 | Kotlin | 16 | 24 | 266db439e4443d10bc1ec7eb7d9032f29daf6981 | 1,843 | bgw | Apache License 2.0 |
app/src/main/java/ru/ustimov/weather/content/impl/local/RoomExceptionFactory.kt | dmitryustimov | 104,711,604 | false | null | package ru.ustimov.weather.content.impl.local
import android.database.SQLException
import io.reactivex.Flowable
import io.reactivex.Single
import ru.ustimov.weather.content.DatabaseException
import ru.ustimov.weather.content.UnknownErrorException
internal class RoomExceptionFactory private constructor() {
compan... | 0 | null | 0 | 1 | cca480ccb9b507f78fb3ab3c1d7e16f71b1bdcf9 | 734 | weather-kotlin | Apache License 2.0 |
app/src/main/java/br/com/stone/emeraldcomponentsandroid/activities/DateActivity.kt | renanrbs | 154,877,033 | true | {"Kotlin": 161140} | package br.com.stone.emeraldcomponentsandroid.activities
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.widget.Toast
import br.com.stone.emeraldcomponents.extension.format
import br.com.stone.emeraldcomponentsandroid.R
import kotlinx.android.synthetic.main.activity_date.*
clas... | 0 | Kotlin | 0 | 0 | fb9e5e52016f40cfa4528645a54b2accb9fddab0 | 1,144 | emerald-components-android | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/person/api/domain/OppfolgingstilfellePersonDTO.kt | navikt | 160,816,361 | false | null | package no.nav.syfo.person.api.domain
import java.time.LocalDate
data class OppfolgingstilfellePersonDTO(
val fom: LocalDate? = null,
val tom: LocalDate? = null,
)
| 0 | Kotlin | 0 | 0 | 20e4e3553e3108173daebead7d8f3b40b8fb3fa5 | 174 | syfoperson | MIT License |
app/src/main/java/tech/central/showcase/base/model/PostInfor.kt | shinichi495 | 275,622,044 | false | null | package tech.central.showcase.base.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class PostInfor(
val id : Int,
val title: String,
val body: String,
val name: String,
val email: String
) : Parcelable | 0 | Kotlin | 0 | 0 | edffd54ea1e3eeb6f1e29e0b98dcff28545cd6e2 | 286 | mvvm-clean-arc-android | MIT License |
service-storage/src/main/kotlin/com/vnapnic/storage/repositories/FilesRepository.kt | alphaNumericEntity | 763,513,563 | false | {"Kotlin": 397164, "Java": 8775, "HTML": 6673, "Dockerfile": 224} | package com.vnapnic.storage.repositories
import com.vnapnic.database.entities.files.FileInfoEntity
import org.springframework.data.mongodb.repository.MongoRepository
import org.springframework.stereotype.Repository
@Repository
interface FilesRepository : MongoRepository<FileInfoEntity, String>{
fun findByFileName... | 0 | Kotlin | 0 | 0 | 495581ca09d1c4a03e2643ce8601886009b39665 | 357 | kotlin-spring-boot-microservices | Apache License 2.0 |
app/src/main/java/kotin/demo/com/myapplication/AndroidResources.kt | Tvede-dk | 98,571,216 | false | null | package kotin.demo.com.myapplication
import android.support.annotation.DrawableRes
import android.support.annotation.StringRes
import android.widget.TextView
/**
* Created by <NAME> on 27-07-2017.
*/
@DrawableRes
fun getDrawable(): Int {
return R.drawable.abc_ab_share_pack_mtrl_alpha
}
fun useDrawable() {
... | 0 | Kotlin | 0 | 0 | 7d92dcaaa22ab1b2c96be72ae579d16838ece421 | 1,321 | as-kotlin-bad-annotations | MIT License |
src/main/kotlin/com/jetbrains/handson/httpapi/Application.kt | Ripley-426 | 448,103,654 | true | {"Kotlin": 4323} | package com.jetbrains.handson.httpapi
import io.ktor.application.*
import io.ktor.features.*
import io.ktor.serialization.*
import com.jetbrains.handson.models.*
fun main(args: Array<String>): Unit = io.ktor.server.netty.EngineMain.main(args)
fun Application.module() {
install(ContentNegotiation) {
json(... | 0 | Kotlin | 0 | 0 | d1eb325037b993aa0f59022e05819d349f4544eb | 409 | ktor-http-api-sample | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Jug.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,559 | icons | MIT License |
theme/src/main/kotlin/earth/groundctrl/fluent/views/FluentSpinner.kt | Eroica | 692,002,413 | false | {"SCSS": 35286, "Kotlin": 8488, "C++": 8137, "C": 712} | package earth.groundctrl.fluent.views
import javafx.scene.control.Spinner
import javafx.scene.control.skin.SpinnerSkin
class FluentSpinnerSkin<T>(control: Spinner<T>) : SpinnerSkin<T>(control) {
init {
/* Always make the Spinner have split arrows on the right */
skinnable.styleClass.add("arrows-on... | 1 | SCSS | 1 | 22 | dfc9b5ab8b8e0ed733146574239ff74f730d1fef | 348 | javafx-fluent-theme | zlib License |
ground/src/main/java/com/google/android/ground/MainViewModel.kt | google | 127,777,820 | false | null | /*
* Copyright 2018 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 235 | null | 116 | 245 | bb5229149eb3687923a8391f30f7279e477562a8 | 5,241 | ground-android | Apache License 2.0 |
app/src/main/java/com/bsuir/bsuirschedule/domain/manager/schedule/ScheduleUIBuilder.kt | Saydullin | 526,953,048 | false | {"Kotlin": 634026, "HTML": 7301} | package com.bsuir.bsuirschedule.domain.manager.schedule
import com.bsuir.bsuirschedule.domain.models.Schedule
import com.bsuir.bsuirschedule.domain.models.ScheduleDay
import com.bsuir.bsuirschedule.domain.models.scheduleSettings.ScheduleSettings
class ScheduleUIBuilder {
private var scheduleFromDB: Schedule? = n... | 0 | Kotlin | 0 | 4 | edb67f1ec3602227f4a4a757bc89a6ec587160c3 | 2,292 | BSUIR_Schedule | Creative Commons Zero v1.0 Universal |
src/main/kotlin/cn/inrhor/imipetcore/api/manager/PetManager.kt | inrhor | 518,004,091 | false | null | package cn.inrhor.imipetcore.api.manager
import cn.inrhor.imipetcore.api.data.DataContainer
import cn.inrhor.imipetcore.api.data.DataContainer.getData
import cn.inrhor.imipetcore.api.entity.PetEntity
import cn.inrhor.imipetcore.api.event.*
import cn.inrhor.imipetcore.api.manager.MetaManager.setMeta
import cn.inrhor.im... | 6 | Kotlin | 2 | 7 | d549a2aa7ac8882a2586e451f584a65bce5c4b60 | 8,659 | imipetCore | MIT License |
feature/bytes-resize/src/main/java/ru/tech/imageresizershrinker/feature/bytes_resize/data/AndroidBytesImageScaler.kt | T8RIN | 478,710,402 | false | {"Kotlin": 4738669, "Java": 671517, "C++": 7631, "C": 5410, "CMake": 3443} | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under ... | 9 | Kotlin | 68 | 1,166 | fad6911bdb3b5e618d88a394180132b8e81dd7b2 | 5,193 | ImageToolbox | Apache License 2.0 |
app/src/main/java/com/mospolytech/mospolyhelper/features/ui/account/messaging/MessagingViewModel.kt | tonykolomeytsev | 341,524,793 | true | {"Kotlin": 646693} | package com.mospolytech.mospolyhelper.features.ui.account.messaging
import androidx.lifecycle.viewModelScope
import androidx.paging.cachedIn
import com.mospolytech.mospolyhelper.domain.account.classmates.model.Classmate
import com.mospolytech.mospolyhelper.domain.account.classmates.usecase.ClassmatesUseCase
import com... | 0 | null | 0 | 0 | 379c9bb22913da1854f536bf33e348a459db48b9 | 2,036 | mospolyhelper-android | MIT License |
src/src/main/java/com/online/course/presenterImpl/ForumOptionsPresenterImpl.kt | dimske-sys | 631,084,721 | false | null | package com.online.course.presenterImpl
import com.online.course.manager.net.ApiService
import com.online.course.manager.net.CustomCallback
import com.online.course.manager.net.RetryListener
import com.online.course.model.BaseResponse
import com.online.course.model.Follow
import com.online.course.presenter.Presenter
i... | 0 | Kotlin | 0 | 0 | fcec541f3d95355d7dd0d559ffedb150727325b4 | 2,615 | eduwise | Apache License 2.0 |
src/main/kotlin/com/yoavst/jeb/utils/renaming/RenameStats.kt | yoavst | 340,691,766 | false | null | package com.yoavst.jeb.utils.renaming
import com.pnfsoftware.jeb.core.units.code.android.dex.IDexClass
import com.pnfsoftware.jeb.core.units.code.android.dex.IDexMethod
import com.pnfsoftware.jeb.core.units.code.java.IJavaField
import com.pnfsoftware.jeb.core.units.code.java.IJavaIdentifier
class RenameStats {
va... | 1 | null | 8 | 62 | 69ec2fc941fa9637bcd353920554816862ee3624 | 1,419 | JebOps | MIT License |
ui/src/main/kotlin/com/aptopayments/sdk/features/transactiondetails/MapConfiguration.kt | AptoPayments | 197,800,853 | false | null | package com.aptopayments.sdk.features.transactiondetails
internal data class MapConfiguration(val latitude: Double, val longitude: Double, val iconResource: Int)
| 1 | Kotlin | 0 | 0 | 257af71aa439b3e90c150ae258c78eaa1a6ae817 | 163 | apto-ui-sdk-android | MIT License |
godot-kotlin/godot-library/src/nativeGen/kotlin/godot/Particles2D.kt | utopia-rise | 238,721,773 | false | {"Kotlin": 655494, "Shell": 171} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! ALL CHANGES TO IT WILL BE OVERWRITTEN ON EACH BUILD
package godot
import godot.Particles2D
import godot.core.Rect2
import godot.icalls._icall_Boolean
import godot.icalls._icall_Double
import godot.icalls._icall_Long
import godot.icalls._icall_Material
import godot.ic... | 17 | Kotlin | 17 | 286 | 8d51f614df62a97f16e800e6635ea39e7eb1fd62 | 11,018 | godot-kotlin-native | MIT License |
app/src/main/java/io/github/gmathi/novellibrary/network/NovelApi.kt | TechnoJo4 | 249,806,029 | true | {"Kotlin": 649350, "Java": 33921} | package io.github.gmathi.novellibrary.network
import android.net.Uri
import io.github.gmathi.novellibrary.cleaner.ProxyHelper
import io.github.gmathi.novellibrary.dataCenter
import org.jsoup.Connection
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
import java.io.IOException
import java.net.URL
import java.uti... | 0 | Kotlin | 0 | 1 | 343f1afd469f4556668c785b2df8e5356fee6f28 | 4,439 | NovelLibrary | Apache License 2.0 |
app/src/main/java/com/divyanshu/androiddraw/ImageActivity.kt | kiddom | 351,882,046 | true | {"Kotlin": 40580, "Java": 1090} | package com.divyanshu.androiddraw
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.bumptech.glide.Glide
import kotlinx.android.synthetic.main.activity_image.*
class ImageActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(... | 0 | Kotlin | 0 | 0 | d4797f9febe4974594a023a4e45cfc02c0c74db8 | 503 | AndroidDraw | Apache License 2.0 |
livingdoc-tests/src/test/kotlin/org/livingdoc/example/CalculatorDocumentHtmlEmptyCell.kt | LivingDoc | 85,412,044 | false | null | package org.livingdoc.example
import org.assertj.core.api.Assertions.assertThat
import org.livingdoc.api.documents.ExecutableDocument
import org.livingdoc.api.fixtures.decisiontables.BeforeRow
import org.livingdoc.api.fixtures.decisiontables.Check
import org.livingdoc.api.fixtures.decisiontables.DecisionTableFixture
i... | 34 | null | 16 | 14 | f3d52b8bacbdf81905e4b4a753d75f584329b297 | 2,906 | livingdoc | Apache License 2.0 |
modules/logging-api/src/main/java/uk/gov/logging/api/analytics/parameters/RequiredParameters.kt | govuk-one-login | 784,723,752 | false | {"Kotlin": 128828, "Shell": 1822, "Ruby": 1232} | package uk.gov.logging.api.analytics.parameters
import androidx.annotation.CallSuper
import java.util.Locale
import uk.gov.logging.api.analytics.logging.DIGITAL_IDENTITY_ID
import uk.gov.logging.api.analytics.logging.DIGITAL_IDENTITY_ID_VALUE
import uk.gov.logging.api.analytics.logging.DIGITAL_IDENTITY_JOURNEY
import ... | 3 | Kotlin | 0 | 2 | dd1fccefe4f48fed029941c0c7f4500b75796a8b | 1,858 | mobile-android-logging | MIT License |
src/main/kotlin/com/y9san9/b0mb3r/controller/Bomber.kt | y9san9 | 275,688,996 | false | null | package com.y9san9.b0mb3r.controller
import com.github.kittinunf.fuel.core.FuelManager
import com.github.kittinunf.fuel.core.interceptors.LogRequestAsCurlInterceptor
import com.github.kittinunf.fuel.core.interceptors.LogResponseInterceptor
import com.y9san9.b0mb3r.phone.Phone
import com.y9san9.b0mb3r.service.services
... | 0 | Kotlin | 1 | 12 | 23576a7ec22bec0daf4879852d13b329ff8d852a | 2,065 | kb0mb3r | MIT License |
src/main/kotlin/org/snd/metadata/providers/yenpress/model/YenPressSearchResult.kt | Snd-R | 463,859,568 | false | null | package org.snd.metadata.providers.yenpress.model
import com.squareup.moshi.JsonClass
import org.snd.metadata.model.Provider
import org.snd.metadata.model.SeriesSearchResult
data class YenPressSearchResult(
val id: YenPressSeriesId,
val title: String,
val imageUrl: String?,
)
fun YenPressSearchResult.toS... | 11 | Kotlin | 9 | 99 | 0584078f460c5d8c7b740bbe77905fab1c0ad105 | 1,028 | komf | MIT License |
app/src/main/java/com/covidapp/di/NetworkModule.kt | memishood | 346,084,295 | false | null | package com.covidapp.di
import com.covidapp.api.CovidAPI
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.util.concurrent.TimeU... | 0 | Kotlin | 0 | 7 | 4614292fe9a410aebe521cb6c7b1db03f2868f8d | 1,786 | covid-app-android | The Unlicense |
app/src/main/java/com/example/mangacollect/MainActivity.kt | volonter08 | 579,188,111 | false | null | package com.example.mangacollect
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Rect
import android.graphics.pdf.PdfDocument
import android.net.Uri
import android.os.Build
import android.os.Bundle
impor... | 0 | Kotlin | 0 | 0 | 4308baba52bb9406d10aee60ae2a88ffdce7495b | 7,949 | MangaCollect | MIT License |
fontawesome/src/de/msrd0/fontawesome/icons/FA_ATOM.kt | msrd0 | 363,665,023 | false | {"Kotlin": 3912511, "Jinja": 2214} | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | ee6a62d201fd5df2555859271cb0c6a7ee887e7a | 2,713 | fontawesome-kt | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_ATOM.kt | msrd0 | 363,665,023 | false | {"Kotlin": 3912511, "Jinja": 2214} | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | ee6a62d201fd5df2555859271cb0c6a7ee887e7a | 2,713 | fontawesome-kt | Apache License 2.0 |
app/src/main/java/foundation/algorand/demo/ui/ConnectFragment.kt | PhearZero | 690,143,304 | false | {"Kotlin": 79374, "HTML": 2682} | package foundation.algorand.demo.ui
import android.app.Activity
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import android.widget.Toast
import androidx.act... | 0 | Kotlin | 0 | 0 | 24bbec0a677a5e8c2b05c4994971082212776dda | 5,719 | foundation.algorand.demo | Apache License 2.0 |
data/src/main/kotlin/pl/stosik/paygrind/data/port/driven/CustomerFinder.kt | stosik | 743,314,052 | false | {"Kotlin": 119093, "Dockerfile": 467, "Shell": 401} | package pl.stosik.paygrind.data.port.driven
import pl.stosik.paygrind.models.domain.Customer
import pl.stosik.paygrind.models.domain.CustomerId
interface CustomerFinder {
fun fetchAll(): List<Customer>
fun fetch(id: CustomerId): Customer?
} | 0 | Kotlin | 0 | 0 | 311bb2c445df55f7e6a334542bad9e783c11a6e6 | 250 | paygrind | Creative Commons Zero v1.0 Universal |
aoc_2023/src/test/kotlin/problems/day24/Day24Test.kt | Cavitedev | 725,682,393 | false | {"Kotlin": 228779} | package problems.day24
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import problems.utils.readInput
class Day24Test {
@Test
fun part1() {
val hail = HailSimulator(readInput("day24/input"))
Assertions.assertEquals(
24627,
hail.intersections... | 0 | Kotlin | 0 | 1 | aa7af2d5aa0eb30df4563c513956ed41f18791d5 | 636 | advent-of-code-2023 | MIT License |
src/main/kotlin/org/meatball/quiz/core/service/UserCountryInfoStateService.kt | mainmeatball | 782,892,110 | false | {"Kotlin": 63376} | package org.meatball.quiz.core.service
import org.meatball.quiz.core.entity.CountryInfo
import org.meatball.quiz.country.entity.Country
import java.util.concurrent.ConcurrentHashMap
private val userSentCountry = ConcurrentHashMap<String, CountryInfo>()
fun updateUserCountry(userId: String, country: CountryInfo) {
... | 0 | Kotlin | 0 | 0 | 602c084c91251b75fe4541adb87c8e7c61147b3f | 437 | quiz-bot | MIT License |
android/src/main/kotlin/io/storecamera/storecamera_photo/storecamera_plugin_camera/data/PluginToMap.kt | storecamera | 588,521,763 | false | null | package io.storecamera.storecamera_photo.storecamera_plugin_camera.data
interface PluginToMap {
fun pluginToMap(): Map<String, *>
}
| 0 | Kotlin | 0 | 0 | 3bb76cf404e58581ae228d77956b46a4be9c95da | 138 | storecamera_photo | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Direct.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.twotone
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,572 | VuesaxIcons | MIT License |
sample/src/main/java/com/xingray/sample/page/list/StudentViewHolder.kt | XingRay | 196,392,587 | false | null | package com.xingray.sample.page.list
import android.view.View
import android.widget.TextView
import com.xingray.recycleradapter.LayoutId
import com.xingray.recycleradapter.ViewHolder
import com.xingray.sample.R
import com.xingray.sample.data.Student
/**
* xxx
*
* @author : leixing
* @version : 1.0.0
* mail : <EM... | 0 | Kotlin | 1 | 1 | f0c87739ef929c824eea6188fa373b56532cd6a6 | 637 | MVP | Apache License 2.0 |
identity/src/iosMain/kotlin/com/android/identity/securearea/SecureEnclaveKeyInfo.kt | openwallet-foundation-labs | 248,844,077 | false | null | package com.android.identity.securearea
import com.android.identity.crypto.EcPublicKey
import com.android.identity.securearea.KeyInfo
import com.android.identity.securearea.KeyPurpose
import kotlinx.datetime.Instant
/**
* Secure Enclave specific class for information about a key.
*/
class SecureEnclaveKeyInfo inter... | 99 | null | 83 | 163 | e6bf25766985521b9a39d4ed7999f22d57064db5 | 747 | identity-credential | Apache License 2.0 |
src/main/kotlin/ru/coding4fun/intellij/database/model/common/ServerPermission.kt | scrappyCoco | 201,919,288 | false | null | package ru.coding4fun.intellij.database.model.common
data class ServerPermission(
val classDesc: String,
val majorId: String,
val minorId: String,
val granteeName: String,
val granteeId: String,
val grantorName: String,
val grantorId: String,
val type: String,
val stateDesc: String
) | 0 | Kotlin | 2 | 1 | 1408f2a9229dbdf9ad99966faa5e7a5b74786270 | 294 | SQL-Server-Administration-Tool | Apache License 2.0 |
starwarp-server/src/main/kotlin/io/dotcipher/starwarp/utils/Utilities.kt | dotCipher | 91,196,934 | false | null | package io.dotcipher.starwarp.utils
import java.io.File
import java.util.*
class Utilities {
companion object Files {
fun find(directory: java.io.File, fileName: String) : Optional<File> {
if (directory.isDirectory.not()) {
throw IllegalArgumentException("$directory must be a d... | 0 | Kotlin | 0 | 0 | 614da554113f8a077e6d8f921832c3ee2d061505 | 564 | starwarp | Apache License 2.0 |
compiler/testData/diagnostics/tests/when/patternMatching/uselessConditions.kt | HackerMadCat | 107,582,672 | true | {"Kotlin": 27812051, "Java": 9959754, "JavaScript": 157318, "HTML": 58583, "Lex": 18174, "Groovy": 14207, "ANTLR": 9797, "IDL": 8626, "Shell": 5436, "CSS": 4679, "Batchfile": 4437} |
data class Base<T>(val a: Int, val b: T)
typealias A = Base<Int>
data class B(val a: Any, val b: Any)
fun foo1(a: A) = when (a) {
<!USELESS_IS_CHECK!>is like val _<!> -> 0
}
fun foo2(a: A) = when (a) {
<!USELESS_IS_CHECK!>is like _<!> -> 0
}
fun foo3(a: A) = <!NO_ELSE_IN_WHEN!>when<!> (a) {
<!USELESS_... | 0 | Kotlin | 0 | 0 | 4ecfac30bf5e91cdeea05543efc073b3e054b895 | 2,415 | kotlin | Apache License 2.0 |
app/src/main/java/com/hotmail/or_dvir/dxadapterv2/stickyheader/AdapterStickyHeader.kt | or-dvir | 252,538,443 | false | {"Gradle": 11, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Git Attributes": 1, "Markdown": 8, "INI": 8, "Proguard": 9, "XML": 39, "Kotlin": 79, "Java": 1} | package com.hotmail.or_dvir.dxadapterv2.stickyheader
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.annotation.LayoutRes
import androidx.recyclerview.widget.RecyclerView
import com.hotmail.or_dvir.dxadapterv2.BaseItem
import com.... | 1 | null | 1 | 1 | 4a2c146c400b917b0aaa7a4c9b54a150ff7f4426 | 2,071 | DxAdapterV2 | Apache License 2.0 |
automotive/src/main/java/org/obd/graphs/aa/renderer/DrawingManager.kt | tzebrowski | 326,375,780 | false | null | package org.obd.graphs.aa.renderer
import android.graphics.*
import androidx.car.app.CarContext
import org.obd.graphs.ValueScaler
import org.obd.graphs.aa.CarMetric
import org.obd.graphs.aa.R
import org.obd.graphs.aa.carSettings
import org.obd.graphs.bl.datalogger.dataLogger
import org.obd.graphs.preferences.Prefs
imp... | 0 | Kotlin | 2 | 7 | 5d1cf0530aaebb60bfe846e51d804bea58541c6d | 8,652 | ObdGraphs | Apache License 2.0 |
server/src/main/kotlin/vr/network/rest/TextureRestService.kt | tlaukkan | 62,936,064 | false | {"JavaScript": 1161731, "Kotlin": 205431, "Java": 23232, "HTML": 1540} | package vr.network.rest
import logger
import vr.network.NetworkServer
import vr.network.model.Node
import java.io.File
import java.util.*
import javax.ws.rs.*
import javax.ws.rs.core.Context
import javax.ws.rs.core.MediaType
import javax.ws.rs.core.Response
import javax.ws.rs.core.UriInfo
@Produces(MediaType.APPLICAT... | 0 | JavaScript | 0 | 1 | 4067f653eef50e93aeaa7a5171709e6eb9dee005 | 908 | kotlin-web-vr | MIT License |
tumblr-ui-core/src/main/java/com/ternaryop/photoshelf/tumblr/ui/core/adapter/photo/OnPhotoSwitchView.kt | dafi | 11,529,505 | false | null | package com.ternaryop.photoshelf.tumblr.ui.core.adapter.photo
import androidx.preference.PreferenceManager
import androidx.recyclerview.widget.RecyclerView
import com.ternaryop.photoshelf.tumblr.ui.core.adapter.ViewType
import com.ternaryop.photoshelf.tumblr.ui.core.adapter.switcher.AdapterSwitcher
import com.ternaryo... | 0 | Kotlin | 2 | 1 | 3cc81232143d9adabb2c5c3c4ec34b4595dc32a2 | 870 | photoshelf | MIT License |
src/test/kotlin/no/nav/personbruker/dittnav/api/oppgave/OppgaveTest.kt | navikt | 202,547,457 | false | null | package no.nav.personbruker.dittnav.api.oppgave
import io.kotest.matchers.shouldBe
import no.nav.personbruker.dittnav.api.assert
import org.junit.jupiter.api.Test
class OppgaveTest {
@Test
fun `should not mask events with security level equal to the current use`() {
val externalOppgave = createOppgav... | 0 | Kotlin | 0 | 2 | c63de5469d6828e684c1d7e4e117540ec316c37a | 2,821 | dittnav-api | MIT License |
buildSrc/src/main/kotlin/Constants.kt | hongque-pro | 309,874,586 | false | {"Kotlin": 900124, "Java": 72766} | /**
*
* @Author: <NAME>
* @Date: 2021/12/13
* @Description:
*/
object Versions {
const val kotlin = "1.9.21"
const val springBoot = "3.2.0"
const val mybatisSpringBootTest = "2.2.0"
const val antisamy="1.7.4"
const val springDoc="2.2.0"
const val apachePOI = "5.1.0"
const val uberH3 = "... | 0 | Kotlin | 0 | 7 | aa99ec094abdeef9d5c7afd1c61f9161d82fc983 | 899 | application-framework | Apache License 2.0 |
XClipper.Android/modules/feature-home/src/main/java/com/kpstv/xclipper/extension/enumeration/SpecialTagFilter.kt | KaustubhPatange | 253,389,289 | false | null | package com.kpstv.xclipper.extension.enumeration
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import com.kpstv.xclipper.feature_home.R
/**
* Each tag has some effects on the behavior of how lists of clips are shown.
*/
enum class SpecialTagFilter(@StringRes val stringRes: Int, @Drawab... | 1 | Kotlin | 10 | 69 | 20ef7cbc970702a2d2135064c374a1d2c2c92087 | 501 | XClipper | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/jpa/repository/CancellationReasonRepository.kt | ministryofjustice | 312,544,431 | false | {"Kotlin": 1722539, "Mustache": 3350, "Shell": 2684, "PLpgSQL": 2362, "Dockerfile": 1980} | package uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.repository
import org.springframework.data.jpa.repository.JpaRepository
import uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.entity.CancellationReason
interface CancellationReasonRepository : JpaRepository<CancellationReason, String>
| 10 | Kotlin | 1 | 2 | f0e4790355ea1c5aa6befa95c457e42ac95339a6 | 316 | hmpps-interventions-service | MIT License |
app/src/main/java/com/videoengager/demoapp/Globals.kt | VideoEngager | 367,585,600 | false | null | //
// DemoPureCloud
//
// Copyright © 2021 VideoEngager. All rights reserved.
//
package com.videoengager.demoapp
import com.videoengager.sdk.VideoEngager
class Globals {
companion object {
var params:Params?=null
var agentName=""
}
} | 0 | Kotlin | 0 | 0 | 436baf5181e6e5ef8d225c56ad7c187bfe0245a1 | 260 | SmartVideo-Android-SDK-Demo-App | MIT License |
framework/src/main/kotlin/com/eigengraph/egf2/framework/IEGF2MapTypesFactory.kt | EGF2 | 75,690,960 | false | null | package com.eigengraph.egf2.framework
import java.lang.reflect.Type
import java.util.*
interface IEGF2MapTypesFactory {
fun create(): HashMap<String, Type>
} | 0 | Kotlin | 0 | 1 | 2de78c04a8f2aaf1ec3332c79e5e26c1f084fc18 | 160 | android-client | MIT License |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/sealamp_v3/LanV3ShadowFinishLevelReq.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.activity.sealamp_v3
import org.anime_game_servers.core.base.Version.GI_3_4_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.proto.P... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 469 | anime-game-multi-proto | MIT License |
service/src/main/kotlin/fr/nihilus/music/service/PaginationOptions.kt | thibseisel | 80,150,620 | false | {"Kotlin": 970500} | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 23 | Kotlin | 8 | 67 | f097bcda052665dc791bd3c26880adb0545514dc | 1,862 | android-odeon | Apache License 2.0 |
hosted-fields/src/main/java/com/paysafe/android/hostedfields/valid/CardNumberChecks.kt | paysafegroup | 768,755,663 | false | {"Kotlin": 913640, "Shell": 912} | /*
* Copyright (c) 2024 Paysafe Group
*/
package com.paysafe.android.hostedfields.valid
import com.paysafe.android.hostedfields.domain.model.PSCardFieldInputEvent
import com.paysafe.android.paymentmethods.domain.model.PSCreditCardType
internal class CardNumberChecks {
companion object {
private const ... | 0 | Kotlin | 0 | 0 | ed2ed1de90636bd495fdb2e85ba667bac55adecf | 4,032 | paysafe_sdk_android_payments_api | MIT License |
src/main/kotlin/pubgradar/struct/CMD/DroppedItemInteractionComponentCMD.kt | flyrealmoon | 129,063,003 | false | null | package leonbentre.structt.CMDd
import com.badlogic.gdx.math.Vector2
import leonbentre.deserializerr.channell.ActorChannel.Companion.droppedItemCompToItem
import leonbentre.deserializerr.channell.ActorChannel.Companion.droppedItemLocation
import leonbentre.structt.Actor
import leonbentre.structt.Bunch
import leonbentr... | 0 | null | 67 | 3 | 6450f742622be6df2e5a7c538522e23ee35c87c7 | 3,609 | RadarProject | The Unlicense |
app/src/main/java/com/gatheringhallstudios/mhworlddatabase/features/tools/detail/ToolDetailFragment.kt | gatheringhallstudios | 109,581,966 | false | {"Gemfile.lock": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 3, "Text": 12, "Ruby": 2, "Proguard": 1, "JSON": 4, "Kotlin": 229, "XML": 404, "Java": 25, "YAML": 1} | package com.gatheringhallstudios.mhworlddatabase.features.tools.detail
import android.app.Application
import android.os.Bundle
import android.view.*
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import com.g... | 5 | Kotlin | 22 | 54 | 7a81b4ccd9e5f898bf9373d7c60f85c6c8f85781 | 4,694 | MHWorldDatabase | MIT License |
app/src/main/java/com/gatheringhallstudios/mhworlddatabase/features/tools/detail/ToolDetailFragment.kt | gatheringhallstudios | 109,581,966 | false | {"Gemfile.lock": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 3, "Text": 12, "Ruby": 2, "Proguard": 1, "JSON": 4, "Kotlin": 229, "XML": 404, "Java": 25, "YAML": 1} | package com.gatheringhallstudios.mhworlddatabase.features.tools.detail
import android.app.Application
import android.os.Bundle
import android.view.*
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import com.g... | 5 | Kotlin | 22 | 54 | 7a81b4ccd9e5f898bf9373d7c60f85c6c8f85781 | 4,694 | MHWorldDatabase | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.