path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/test/kotlin/quiz/me/controller/RegistrationControllerTest.kt | cthulhuvhudhu | 784,109,582 | false | {"Kotlin": 88464} | package quiz.me.controller
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.encodeToJsonElement
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.mockito.Mockito.`when`
import org.springframework.beans.fa... | 5 | Kotlin | 0 | 0 | a9c989dee50a7dcd02faec5444012ce73dfdb060 | 3,636 | quiz-me | MIT License |
stater/src/main/kotlin/ru/alexpanchenko/stater/plugin/visitors/OnSavedInstanceStateVisitor.kt | AlexeyPanchenko | 208,916,702 | false | null | package ru.alexpanchenko.stater.plugin.visitors
import org.objectweb.asm.MethodVisitor
import org.objectweb.asm.Opcodes
import ru.alexpanchenko.stater.plugin.StateFieldStorage
import ru.alexpanchenko.stater.plugin.model.MethodDescriptor
import ru.alexpanchenko.stater.plugin.model.StateType
import ru.alexpanchenko.stat... | 1 | null | 1 | 12 | fcc62fa6b45273cc47ed7ced79708ab73e03845e | 1,736 | stater | Apache License 2.0 |
ocr-sdk/src/main/java/ir/ayantech/ocr_sdk/model/GetCardOcrResult.kt | AyanTech | 754,078,135 | false | {"Kotlin": 71214} | package ir.ayantech.ocr_sdk.model
import android.os.Parcel
import android.os.Parcelable
class GetCardOcrResult {
data class Input(
val FileID: String,
)
data class Output(
val Result: List<Result>,
val CardID: String,
val Status: String,
val NextCallInterval: Lo... | 0 | Kotlin | 0 | 0 | f13e6c5f3add745a99ef8b5e1bd97d0a620fcadd | 1,108 | OCR-SDK | Apache License 2.0 |
app/src/main/java/br/unipar/trucoappkotlin/VictoryActivity.kt | DouglasSRM | 860,155,059 | false | {"Kotlin": 7421} | package br.unipar.trucoappkotlin
import android.os.Bundle
import android.widget.Button
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
class VictoryActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | 6e6070f091721c41c7bdb9ea6c777942740fbe82 | 643 | Projeto-truco-app-kotlin | MIT License |
waltid-wallet-api/src/main/kotlin/id/walt/webwallet/web/controllers/ExchangeController.kt | walt-id | 701,058,624 | false | null | package id.walt.webwallet.web.controllers
import id.walt.oid4vc.data.dif.PresentationDefinition
import id.walt.oid4vc.requests.CredentialOfferRequest
import id.walt.webwallet.db.models.WalletCredential
import id.walt.webwallet.db.models.WalletOperationHistory
import id.walt.webwallet.service.SSIKit2WalletService
impor... | 8 | null | 6 | 98 | a86bd0c843d594f6afe6e747d3c4de7d8a4789a8 | 10,211 | waltid-identity | Apache License 2.0 |
NewTabButton/src/main/kotlin/example/CloseTabIcon.kt | aterai | 158,348,575 | false | null | package example
import java.awt.*
import javax.swing.*
class CloseTabIcon(
private val color: Color,
) : Icon {
override fun paintIcon(
c: Component,
g: Graphics,
x: Int,
y: Int,
) {
val g2 = g.create() as? Graphics2D ?: return
g2.translate(x, y)
g2.paint = color
g2.drawLine(2, 2... | 0 | null | 5 | 9 | 47a0c684f64c3db2c8b631b2c20c6c7f9205bcab | 1,308 | kotlin-swing-tips | MIT License |
android/integration/testData/architecture-samples/shared-test/src/main/java/com/example/android/architecture/blueprints/todoapp/data/source/network/FakeNetworkDataSource.kt | JetBrains | 60,701,247 | false | null | /*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 978 | android | Apache License 2.0 |
appcues/src/main/java/com/appcues/data/mapper/step/primitives/EmbedPrimitiveMapper.kt | appcues | 413,524,565 | false | {"Kotlin": 1101664, "Shell": 17991, "Ruby": 1503} | package com.appcues.data.mapper.step.primitives
import com.appcues.data.mapper.styling.mapComponentSize
import com.appcues.data.mapper.styling.mapComponentStyle
import com.appcues.data.model.ExperiencePrimitive.EmbedHtmlPrimitive
import com.appcues.data.remote.response.step.primitive.PrimitiveResponse.EmbedPrimitiveRe... | 5 | Kotlin | 2 | 9 | f89fdadba3e08d161e5d674efa9eb6a46759608b | 533 | appcues-android-sdk | MIT License |
CovidTracerApp/app/src/main/java/com/example/covidtracerapp/geofencing/GeofenceBroadcastReceiver.kt | akezhanmussa | 300,800,109 | false | null | package com.example.covidtracerapp.geofencing
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.os.Build
import... | 1 | Kotlin | 1 | 1 | 1637003262cc32ac5431c71d508339f878513716 | 3,561 | Coronavirus-tracking-system | MIT License |
src/main/kotlin/ink/ptms/chemdah/core/PlayerProfile.kt | TabooLib | 338,114,548 | false | null | package ink.ptms.chemdah.core
import ink.ptms.chemdah.api.ChemdahAPI
import ink.ptms.chemdah.api.event.collect.QuestEvents
import ink.ptms.chemdah.core.database.Database
import ink.ptms.chemdah.core.quest.Quest
import ink.ptms.chemdah.core.quest.QuestDataOperator
import ink.ptms.chemdah.core.quest.Task
import ink.ptms... | 7 | Kotlin | 44 | 55 | b501c2811be1276744af05446d2ca8b8e63c4081 | 5,510 | chemdah | MIT License |
sykepenger-model/src/main/kotlin/no/nav/helse/tournament/Turneringsnøkkel.kt | navikt | 193,907,367 | false | null | package no.nav.helse.tournament
import no.nav.helse.hendelser.Inntektsmelding
import no.nav.helse.hendelser.OverstyrTidslinje
import no.nav.helse.hendelser.Søknad
import no.nav.helse.sykdomstidslinje.Dag
import no.nav.helse.sykdomstidslinje.Dag.Arbeidsdag
import no.nav.helse.sykdomstidslinje.Dag.ArbeidsgiverHelgedag
i... | 2 | null | 7 | 5 | 2f940cad2bc6a756033a4e19edc5236a0648c971 | 3,171 | helse-spleis | MIT License |
plugins/full-line/kotlin/src/org/jetbrains/completion/full/line/kotlin/KotlinIconSet.kt | xGreat | 182,651,778 | false | {"Text": 7190, "INI": 570, "YAML": 416, "Ant Build System": 10, "Batchfile": 28, "Shell": 616, "Markdown": 680, "Ignore List": 125, "Git Revision List": 1, "Git Attributes": 10, "EditorConfig": 244, "XML": 7188, "SVG": 3739, "Kotlin": 48905, "Java": 80666, "HTML": 3312, "Java Properties": 214, "Gradle": 419, "Maven POM... | package org.jetbrains.completion.full.line.kotlin
import com.intellij.ui.IconManager
import org.jetbrains.completion.full.line.language.IconSet
import org.jetbrains.kotlin.idea.KotlinIcons
import javax.swing.Icon
class KotlinIconSet : IconSet {
override val regular: Icon = KotlinIcons.SMALL_LOGO
override val redC... | 1 | null | 1 | 1 | fb5f23167ce9cc53bfa3ee054b445cf4d8f1ce98 | 415 | intellij-community | Apache License 2.0 |
app/src/main/java/divyansh/tech/wallup/home/browse/screens/popularTags/PopularTagsFragment.kt | justdvnsh | 409,287,171 | false | null | package divyansh.tech.wallup.home.browse.screens.popularTags
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.navigation.fragment.findNavController
import android... | 15 | Kotlin | 6 | 7 | b23f982ae5ff7b21adc3af62f38f639e054fef62 | 2,464 | WallUP | The Unlicense |
livedata-ktx/src/main/java/com/shopify/livedataktx/Extension.kt | Shopify | 130,487,409 | false | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2018 Shopify Inc.
*
* 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,... | 5 | null | 30 | 466 | fb45d8b66d8173358017d86d803db141f0533020 | 4,437 | livedata-ktx | MIT License |
bitcoincore/src/main/kotlin/io/horizontalsystems/bitcoincore/transactions/extractors/MyOutputsCache.kt | horizontalsystems | 147,199,533 | false | null | package io.horizontalsystems.bitcoincore.transactions.extractors
import io.horizontalsystems.bitcoincore.core.HashBytes
import io.horizontalsystems.bitcoincore.core.IStorage
import io.horizontalsystems.bitcoincore.models.TransactionInput
import io.horizontalsystems.bitcoincore.models.TransactionOutput
class MyOutputs... | 20 | null | 55 | 96 | 110018d54d82bb4e3c2a1d6b0ddd1bb9eeff9167 | 1,290 | bitcoin-kit-android | MIT License |
src/main/kotlin/net/timafe/letsgo2/config/AsyncConfiguration.kt | tillkuhn | 222,716,226 | false | null | package com.bytetrain.prodinv.config
import io.github.jhipster.async.ExceptionHandlingAsyncTaskExecutor
import java.util.concurrent.Executor
import org.slf4j.LoggerFactory
import org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler
import org.springframework.boot.autoconfigure.task.TaskExecutionProp... | 36 | null | 1 | 1 | 62994d7b25eff595dfa1b4144096d8614b81389a | 1,548 | letsgo2 | Apache License 2.0 |
paho.mqtt.android-kotlin/extendedSample/src/main/java/info/mqtt/android/extsample/StrictApplication.kt | emqx | 297,556,171 | false | {"Kotlin": 350308, "Swift": 292033, "JavaScript": 79242, "Java": 78123, "Python": 69119, "C++": 55298, "C": 40179, "TypeScript": 34116, "HTML": 31666, "Go": 23672, "Vue": 22576, "C#": 15739, "Erlang": 10742, "Dart": 6279, "PHP": 4360, "Objective-C++": 3648, "SCSS": 3091, "Shell": 3008, "Objective-C": 2933, "Ruby": 2882... | package info.mqtt.android.extsample
import android.os.StrictMode
import info.hannes.logcat.LoggingApplication
class StrictApplication : LoggingApplication() {
override fun onCreate() {
super.onCreate()
StrictMode.setThreadPolicy(
StrictMode.ThreadPolicy.Builder()
.det... | 29 | Kotlin | 97 | 803 | d88375ca7e295c2815405420330699feae13963f | 509 | MQTT-Client-Examples | MIT License |
apps/etterlatte-vilkaarsvurdering/src/test/kotlin/no/nav/etterlatte/vilkaarsvurdering/AldersovergangRoutesTest.kt | navikt | 417,041,535 | false | {"Kotlin": 7239242, "TypeScript": 1782732, "Handlebars": 26265, "Shell": 12680, "PLpgSQL": 1891, "HTML": 1734, "CSS": 598, "Dockerfile": 547} | package no.nav.etterlatte.vilkaarsvurdering
import io.kotest.matchers.shouldBe
import io.ktor.client.request.header
import io.ktor.client.request.post
import io.ktor.http.ContentType
import io.ktor.http.HttpHeaders
import io.ktor.http.HttpStatusCode
import io.ktor.server.testing.testApplication
import io.mockk.coEvery... | 11 | Kotlin | 0 | 6 | e715675c319d4a0a826855615749573e45ae7a75 | 2,631 | pensjon-etterlatte-saksbehandling | MIT License |
IBD/app/src/main/java/com/example/mc/model/Markers.kt | ancamiha | 590,185,441 | false | null | package com.example.mc.model
data class Markers(
val markers: List<Marker>
)
data class Marker(
val email: String,
val lat: Double,
val lng: Double,
val name: String,
val time: String
)
| 0 | Kotlin | 0 | 0 | 42ea3607cc6f79ab3a39c394d510a97fff882211 | 212 | Introduction-in-Big-Data-Project | MIT License |
compiler/testData/diagnostics/tests/inference/commonSystem/theSameFunctionInArgs.kt | mikiyakitahara | 43,902,391 | true | {"Java": 15722183, "Kotlin": 10713329, "JavaScript": 176060, "Protocol Buffer": 43034, "HTML": 25327, "Lex": 17330, "ANTLR": 9689, "CSS": 9358, "Groovy": 5199, "Shell": 4638, "Batchfile": 3703, "IDL": 3251} | // !CHECK_TYPE
fun <T> arrayOf(vararg t : T) : Array<T> = t as Array<T>
fun test() {
val array = arrayOf(arrayOf(1))
array checkType { _<Array<Array<Int>>>() }
} | 0 | Java | 0 | 0 | d90585624f631b5b016ff7ce4ceffa0e563596da | 171 | kotlin | Apache License 2.0 |
app/src/main/java/com/foobarust/deliverer/usecases/maps/GetElapsedDistanceUseCase.kt | foobar-UST | 326,433,137 | false | null | package com.foobarust.deliverer.usecases.maps
import com.foobarust.deliverer.data.models.GeolocationPoint
import com.google.android.gms.maps.model.LatLng
import com.google.maps.android.SphericalUtil
import javax.inject.Inject
/**
* Created by kevin on 4/1/21
*/
class GetElapsedDistanceUseCase @Inject constructor()... | 0 | Kotlin | 1 | 0 | 99c8b007436a9b192ca83eebff1bcc6aae1c095a | 766 | foobar-deliverer | MIT License |
app/src/main/java/com/sawyer/component/manage/StartupManager.kt | sawyer-lee | 710,204,764 | false | {"Kotlin": 58356, "Java": 15232} | package com.sawyer.component.manage
import android.content.Context
import android.os.Looper
import com.sawyer.common.utils.Logger
import com.sawyer.component.sort.TopologySort
import com.sawyer.component.startup.*
import java.lang.RuntimeException
import java.util.concurrent.CountDownLatch
import java.util.concurrent.... | 0 | Kotlin | 0 | 0 | 8c82e3daa8d97d1b35f26a7d16fbff7caad48887 | 2,790 | KotlinComponentWanAndroid | Apache License 2.0 |
src/main/kotlin/no/nav/bidrag/vedtak/BidragVedtak.kt | navikt | 331,260,160 | false | null | package no.nav.bidrag.vedtak
import no.nav.security.token.support.spring.api.EnableJwtTokenValidation
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration
... | 2 | Kotlin | 0 | 1 | 253d24239f07192a6a2a832ccafe0dad982f0ee3 | 737 | bidrag-vedtak | MIT License |
core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/DO.kt | acarlsen | 722,319,804 | false | {"Kotlin": 1629077, "Batchfile": 2673, "Swift": 590} | package dev.carlsen.flagkit.flagicons
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.graphics.Brush.Companion.linearGradient
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.Non... | 0 | Kotlin | 1 | 21 | a630a5cdbb9749db3d83ad3b751740da42d84e16 | 7,494 | kmp-flagkit | MIT License |
app/src/main/java/pl/skipcode/basekotlinapp/feature/auth/AuthContract.kt | Michax94 | 152,717,481 | false | null | package pl.skipcode.basekotlinapp.feature.auth
import pl.skipcode.basekotlinapp.feature.commons.BaseContract
interface AuthContract {
interface View : BaseContract.View{
fun showMessage(message: Int)
fun clickLogin()
fun readEtUsername() : String
}
interface Router : BaseContract... | 1 | Kotlin | 0 | 0 | ca757e617063825e3ce3939d0cb96c3c854458a1 | 524 | BaseKotlinApp | Apache License 2.0 |
app/src/main/java/com/capyreader/app/ui/articles/list/ArticleListItem.kt | jocmp | 610,083,236 | false | null | package com.capyreader.app.ui.articles.list
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compo... | 33 | null | 4 | 147 | 196690b776eebdecd4562e357a629277fec9cfe9 | 4,340 | capyreader | MIT License |
app/src/main/java/com/capyreader/app/ui/articles/list/ArticleListItem.kt | jocmp | 610,083,236 | false | null | package com.capyreader.app.ui.articles.list
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compo... | 33 | null | 4 | 147 | 196690b776eebdecd4562e357a629277fec9cfe9 | 4,340 | capyreader | MIT License |
demo/src/main/java/eu/kevin/demo/screens/payment/usecases/GetCreditorsUseCase.kt | getkevin | 375,151,388 | false | null | package eu.kevin.demo.main.usecases
import eu.kevin.demo.data.KevinDataClient
import eu.kevin.demo.data.entities.Creditor
class GetCreditorsUseCase constructor(
private val kevinDataClient: KevinDataClient
) {
suspend fun getCreditors(countryIso: String): List<Creditor> {
return kevinDataClient.getCre... | 0 | Kotlin | 2 | 5 | a3b45fc47badf33fb733c508db7a6563dc69b228 | 416 | kevin-android | MIT License |
src/main/kotlin/team/msg/hiv2/domain/user/application/usecase/SearchStudentByNameKeywordUseCase.kt | GSM-MSG | 634,687,373 | false | {"Kotlin": 212144, "Dockerfile": 177} | package team.msg.hiv2.domain.user.application.usecase
import team.msg.hiv2.domain.user.application.service.UserService
import team.msg.hiv2.domain.user.domain.constant.UserRole
import team.msg.hiv2.domain.user.presentation.data.request.SearchUserKeywordRequest
import team.msg.hiv2.domain.user.presentation.data.respons... | 1 | Kotlin | 0 | 9 | 031f334c00e6beacdb27fe11cff09c117fcb32b0 | 772 | Hi-v2-BackEnd | MIT License |
src/test/kotlin/ru/qiwi/devops/mission/control/platform/kubernetes/KubernetesHelper.kt | qiwi | 329,911,226 | false | null | package ru.qiwi.devops.mission.control.platform.kubernetes
import io.kubernetes.client.openapi.ApiClient
import io.kubernetes.client.openapi.ApiException
import io.kubernetes.client.openapi.apis.AppsV1Api
import io.kubernetes.client.openapi.models.V1Deployment
import ru.qiwi.devops.mission.control.service.health.clust... | 1 | Kotlin | 1 | 1 | a5b4a1dc716841bbf0439fa309e3a2b85bbeb1d3 | 2,803 | k8s-mission-control | MIT License |
app/src/main/java/com/android/tvflix/config/FeatureFlagAnnotations.kt | reactivedroid | 98,877,626 | false | {"Kotlin": 98758} | package com.android.tvflix.config
import javax.inject.Qualifier
@Qualifier
@Target(
AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FIELD
)
annotation class FavoritesFeatureFlag | 0 | Kotlin | 59 | 412 | 3f36749698316000b6dfbe2195f8be9cdf10e155 | 251 | TvFlix | MIT License |
data/src/main/java/com/begines/christian/data/models/WorkerApiModel.kt | christianbegines | 544,189,847 | false | {"Kotlin": 29231} | package com.begines.christian.data.models
import com.google.gson.annotations.SerializedName
data class WorkerApiModel(
@SerializedName("first_name") var firstName: String,
@SerializedName("last_name") var lastName: String,
@SerializedName("favorite") var favoriteApiModel: FavoriteApiModel,
@Serialized... | 0 | Kotlin | 0 | 0 | b5fdbf58c036b83f81c35320c9ab21803e4779bd | 798 | WonkaManagementJetpackComposeMVVMHilt | Apache License 2.0 |
modules/wasm-binary/src/commonMain/kotlin/tree/TableType.kt | wasmium | 761,480,110 | false | {"Kotlin": 661510, "JavaScript": 203} | package org.wasmium.wasm.binary.tree
public class TableType(public val elementType: WasmType, public val limits: Limits)
| 0 | Kotlin | 0 | 3 | f219d7133574e8ea81ce905393991212ca293cf4 | 122 | wasmium-wasm-binary | Apache License 2.0 |
web/src/main/kotlin/com/github/niuhf0452/exile/web/internal/TypeSafeServerHandler.kt | niuhf0452 | 240,633,641 | false | null | package com.github.niuhf0452.exile.web.internal
import com.github.niuhf0452.exile.web.*
import com.github.niuhf0452.exile.web.serialization.VariableTypeConverters
import kotlin.reflect.KClass
import kotlin.reflect.KFunction
import kotlin.reflect.KParameter
import kotlin.reflect.KVisibility
import kotlin.reflect.full.c... | 0 | Kotlin | 1 | 2 | 8020cb1ab799f7b1e75c73f762a9ee1ed493a003 | 9,573 | exile | Apache License 2.0 |
wire-tests/src/jvmKotlinInteropTest/proto-kotlin/com/squareup/wire/protos/custom_options/MyFieldOptionFiveOption.kt | square | 12,274,147 | false | null | // Code generated by Wire protocol buffer compiler, do not edit.
// Source: squareup.protos.custom_options.my_field_option_five in custom_options.proto
@file:Suppress(
"DEPRECATION",
"RUNTIME_ANNOTATION_NOT_SUPPORTED",
)
package com.squareup.wire.protos.custom_options
import kotlin.IntArray
import kotlin.Suppress... | 148 | null | 570 | 4,244 | 74715088d7d2ee1fdd6d3e070c8b413eefc7e5bd | 673 | wire | Apache License 2.0 |
app/src/main/java/com/sjn/stamp/ui/SongAdapter.kt | sjnyag | 81,733,859 | false | null | package com.sjn.stamp.ui
import com.sjn.stamp.ui.item.AbstractItem
import eu.davidea.flexibleadapter.FlexibleAdapter
import eu.davidea.flexibleadapter.items.AbstractFlexibleItem
class SongAdapter(items: List<AbstractFlexibleItem<*>>, listeners: Any) : FlexibleAdapter<AbstractFlexibleItem<*>>(items, listeners, true) {... | 59 | Kotlin | 3 | 9 | cb145824f9e06cd17266502a5e85d8a9fa276bb0 | 1,149 | stamp | Apache License 2.0 |
src/main/java/com/cumulocity/client/model/SystemOption.kt | SoftwareAG | 525,378,320 | false | null | // Copyright (c) 2014-2023 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
// Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Softwa... | 1 | null | 1 | 3 | b9e366de1d8d21fa479a42497d45a4efa4de2268 | 781 | cumulocity-clients-kotlin | Apache License 2.0 |
src/main/java/com/dzen/campfire/server/admin_votes/PAdminVoteAccountPunish.kt | timas130 | 443,572,543 | true | {"Kotlin": 1072092} | package com.dzen.campfire.server.admin_votes
import com.dzen.campfire.api.models.admins.MAdminVoteAccountPunish
import com.dzen.campfire.server.controllers.ControllerAccounts
class PAdminVoteAccountPunish {
fun cancel(m: MAdminVoteAccountPunish, cancelAdminAccountId:Long){
ControllerAccounts.removePunis... | 0 | Kotlin | 0 | 0 | 40a2fbdbbdbe6706ed852f7218cb10fd57e50445 | 413 | CampfireServer | Apache License 2.0 |
lib/src/main/kotlin/controller/WorkbenchMQDispatcher.kt | FHNW-IP5-IP6 | 462,228,811 | false | null | package controller
import MQ_INTERNAL_EDITOR_STATE_UNSAVED
import MQ_INTERNAL_TOPIC_PATH_EDITOR
import model.data.MQClientImpl
import java.util.concurrent.Executors
internal class WorkbenchMQDispatcher(
val onActionRequired: (Action) -> Unit
)
{
private var mqClient: MQClientImpl = MQClientImpl
init {
... | 0 | Kotlin | 0 | 1 | 57e4ecb262807e4dc131b4f0d01d25af787687e4 | 1,014 | ComposeWorkbench | Apache License 2.0 |
example/src/main/java/com/spruceid/mobilesdkexample/verifiersettings/VerificationActivityLogScreen.kt | spruceid | 741,512,330 | false | {"Kotlin": 5118229, "Makefile": 1753} | package com.spruceid.mobilesdkexample.verifiersettings
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import and... | 6 | Kotlin | 0 | 1 | 7e675c4d654bec864c4e276d59c4787c9e92aa44 | 5,511 | mobile-sdk-kt | Apache License 2.0 |
komapper-core/src/test/kotlin/org/komapper/core/template/expression/ExprTokenizerTest.kt | komapper | 349,909,214 | false | {"Kotlin": 2922039, "Java": 57131} | package org.komapper.core.template.expression
import org.komapper.core.template.expression.ExprTokenType.AND
import org.komapper.core.template.expression.ExprTokenType.BIG_DECIMAL
import org.komapper.core.template.expression.ExprTokenType.CLASS_REF
import org.komapper.core.template.expression.ExprTokenType.DOUBLE
impo... | 8 | Kotlin | 14 | 301 | 9fbc0b5652ee732583e977180cdc493e116e1022 | 9,305 | komapper | Apache License 2.0 |
TabLayout/src/main/java/com/angcyo/tablayout/DslTabDivider.kt | angcyo | 223,463,340 | false | null | package com.angcyo.tablayout
import android.content.Context
import android.graphics.Canvas
import android.util.AttributeSet
import android.widget.LinearLayout
/**
* 垂直分割线
* Email:<EMAIL>
* @author angcyo
* @date 2019/11/27
* Copyright (c) 2019 ShenZhen O&M Cloud Co., Ltd. All rights reserved.
*/
open class DslT... | 9 | null | 94 | 949 | 583943afd05c8dee28102518fcb5221291bb4e2d | 4,533 | DslTabLayout | MIT License |
app/src/main/java/com/steleot/jetpackcompose/playground/JetpackComposePlaygroundApplication.kt | pranavjayaraj | 399,202,946 | true | {"Kotlin": 831952} | package com.steleot.jetpackcompose.playground
import android.app.Application
import com.google.firebase.analytics.FirebaseAnalytics
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.steleot.jetpackcompose.playground.datastore.ProtoManager
import com.steleot.jetpackcompose.playground.helpers.InAppRe... | 0 | null | 0 | 0 | e80e7c6670484ebf584986e0b27d5194f9372b66 | 1,585 | Jetpack-Compose-Playground-1 | Apache License 2.0 |
sdk/src/jsMain/kotlin/lib/module/Events.kt | zimoyin | 675,280,596 | false | {"Kotlin": 306501, "JavaScript": 18388, "HTML": 15259} | package lib.module
@JsName("events")
external object Events {
/**
* 按键事件接口
*/
interface KeyEvent {
fun getAction(): dynamic
fun getKeyCode(): Int
fun getEventTime(): Double
fun getDownTime(): Double
fun keyCodeToString(keyCode: Int): String
}
fun emi... | 0 | Kotlin | 5 | 10 | aa85a176280ce3a17a59454fbbe6bddd56044335 | 2,963 | Autojsx.WIFI | Apache License 2.0 |
src/test/kotlin/api/integrationtests/ColorApiIntegrationTests.kt | moritzploss | 225,383,253 | false | null | package api.integrationtests
import api.colors.services.Color
import org.junit.Assert.assertNotNull
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.web.cl... | 0 | Kotlin | 0 | 0 | 4b93ebe786c0f6daec76754b380605edf81f2351 | 1,755 | colorAPI | MIT License |
feature/image/src/main/java/com/uragiristereo/mikansei/feature/image/more/tags/MoreTagItem.kt | uragiristereo | 583,834,091 | false | {"Kotlin": 978568} | package com.uragiristereo.mikansei.feature.image.more.tags
import android.os.Build
import android.widget.Toast
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.layout.Intrin... | 3 | Kotlin | 2 | 62 | 4f136b0479ee7772f3d7ba48927cef9389d5c2be | 3,804 | Mikansei | Apache License 2.0 |
test-impact-gradle-plugin/src/main/kotlin/dev/sunnyday/test/impact/plugin/TestImpactPlugin.kt | SunnyDayDev | 638,632,486 | false | null | package dev.sunnyday.test.impact.plugin
import dev.sunnyday.test.impact.plugin.extension.TestImpactExtension
import dev.sunnyday.test.impact.plugin.domain.graph.ProjectGraphResolver
import dev.sunnyday.test.impact.plugin.task.testimpact.TestImpactTask
import dev.sunnyday.test.impact.plugin.task.testimpact.TestImpactTa... | 0 | Kotlin | 0 | 1 | a5eb97508f021ca67f455d7fb641a00db62ca51e | 5,560 | test-impact-plugin | MIT License |
app/src/main/java/ms/imagine/foodiemate/Presenter/FbDatabasePresenter.kt | egg-bread | 130,767,136 | true | {"Kotlin": 48259} | package ms.imagine.foodiemate.Presenter
import com.google.firebase.database.DatabaseReference
import com.google.firebase.database.FirebaseDatabase
open class FbDatabasePresenter(_uid: String?){
var fbInstance:FirebaseDatabase = FirebaseDatabase.getInstance()
var firebaseDB:DatabaseReference = fbInstance.refer... | 0 | Kotlin | 0 | 0 | fb9f4c7aaa4390d15e4dd829df01be7542ac169e | 339 | hachy-android | MIT License |
android/src/main/java/com/reactnativeapphudsdk/ApphudListenerHandler.kt | apphud | 249,636,120 | false | {"YAML": 4, "JSON with Comments": 1, "JSON": 8, "JavaScript": 7, "Markdown": 2, "Text": 1, "Ignore List": 2, "Git Attributes": 1, "EditorConfig": 1, "Ruby": 2, "TSX": 8, "XML": 10, "INI": 5, "Gradle": 4, "Shell": 2, "Batchfile": 2, "Kotlin": 4, "Java Properties": 1, "Java": 4, "Dotenv": 2, "Swift": 5, "C": 1, "OpenStep... | package com.reactnativeapphudsdk
import android.util.Log
import com.android.billingclient.api.ProductDetails
import com.android.billingclient.api.SkuDetails
import com.apphud.sdk.ApphudListener
import com.apphud.sdk.domain.ApphudPaywall
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react... | 0 | TypeScript | 5 | 8 | 7d2bc5281d53d1e78e6f639797a466959d344863 | 2,622 | ApphudSDK-React-Native | MIT License |
app/src/main/java/com/forcetower/uefs/core/storage/repository/SagresDataRepository.kt | Matoro17 | 171,460,349 | false | null | /*
* Copyright (c) 2019.
* João Paulo Sena <joaopaulo761@gmail.com>
*
* This file is part of the UNES Open Source Project.
*
* UNES is licensed under the MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | 1 | null | 1 | 1 | 000e7aa8b9123959d2704ee5dc9b45b03b46dbb1 | 2,282 | Melon | MIT License |
src/main/java/com/ygpedroso/feedParser/transformers/DateTransformer.kt | ygpedroso | 128,825,955 | false | null | package com.ygpedroso.feedParser.transformers
import com.ygpedroso.feedParser.utils.Constants
import org.simpleframework.xml.transform.Transform
import java.text.SimpleDateFormat
import java.util.*
class DateTransformer: Transform<Date> {
var formatter = SimpleDateFormat(Constants.RFC_822_DATE_STANDARD)
over... | 1 | null | 1 | 1 | 5cf0b099a95ffbb8df8a4a82488a1adbea2ed8d0 | 497 | feedParser | MIT License |
app/src/main/java/com/huanchengfly/tieba/api/models/NewUpdateBean.kt | ShellWen | 286,489,136 | true | {"Gradle": 4, "INI": 1, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "XML": 306, "Java": 323, "Proguard": 1, "Kotlin": 73, "JavaScript": 4, "JSON": 1, "YAML": 1} | package com.huanchengfly.tieba.api.models
import com.google.gson.annotations.SerializedName
class NewUpdateBean {
val isSuccess: Boolean? = null
@SerializedName("has_update")
val isHasUpdate: Boolean? = null
@SerializedName("error_code")
val errorCode: Int? = null
@SerializedName("error_mes... | 26 | Java | 198 | 5 | e4f5961692731145d7a95c6a68b6b459e35545f6 | 943 | TiebaLite | Apache License 2.0 |
src/main/kotlin/pl/kremblewski/expressionevaluator/Token.kt | cregus | 237,510,544 | false | null | package pl.kremblewski.expressionevaluator
import java.math.BigDecimal
sealed class Token {
abstract val value: BigDecimal
data class Number(override val value: BigDecimal) : Token() {
constructor(value: kotlin.Number) : this(value.toBigDecimal())
}
sealed class Unary : Token() {
abs... | 0 | Kotlin | 0 | 0 | fee5f9e8b6ecc13409795ddac22286eb40346c79 | 1,808 | expression-evaluator | MIT License |
kradle-plugin/src/main/kotlin/net/bnb1/kradle/support/tasks/GenerateBuildPropertiesTask.kt | mrkuz | 400,078,467 | false | null | package net.bnb1.kradle.support.tasks
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.TaskAction
open class GenerateBuildPropertiesTask : DefaultTask() {
init {
// Ensure that this task is always executed
outputs.upToDateWhen { false }
}
... | 1 | Kotlin | 1 | 80 | c558342752499ea657167fb6651bdac6b57552f3 | 1,215 | kradle | MIT License |
app/src/main/java/io/appwrite/messagewrite/models/views/Chat.kt | abnegate | 777,669,864 | false | {"Kotlin": 59858} | package io.appwrite.messagewrite.models.views
data class Chat(
val id: String,
val profileImageUrl: String,
val username: String,
val lastMessage: String,
val lastMessageTime: String,
)
| 0 | Kotlin | 0 | 0 | c8a3574c53c211cb98ea445f645865412716a91a | 207 | hackathon-chat | MIT License |
app/src/main/java/kz/nextstep/movify/ui/movieDetailedInfo/ProductionCompanyViewModel.kt | ejeksenov | 203,191,418 | false | null | package kz.nextstep.movify.ui.movieDetailedInfo
import androidx.lifecycle.MutableLiveData
import kz.nextstep.movify.base.BaseViewModel
import kz.nextstep.movify.data.ProductionCompaniesData
class ProductionCompanyViewModel: BaseViewModel() {
private val logo_path = MutableLiveData<String>()
private val name... | 0 | Kotlin | 2 | 6 | 7fbab48a18cb3a7e1a2873ce5276d1cd4a2ce1eb | 685 | Movify | MIT License |
app/src/main/java/dev/news/newsnow/ui/ArticleOpenFragment.kt | sabinmhx | 671,589,676 | false | null | package dev.news.newsnow.ui
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.webkit.WebViewClient
import androidx.navigation.NavController
import androidx.navigation.Navi... | 0 | Kotlin | 0 | 1 | f8840f5677ba711027086e55e71ecc181db8f748 | 2,145 | minimal-news-app | MIT License |
app/src/main/java/com/kickstarter/viewmodels/DiscoveryViewModel.kt | kickstarter | 76,278,501 | false | null | package com.kickstarter.viewmodels
import android.content.Intent
import android.net.Uri
import android.util.Pair
import com.kickstarter.R
import com.kickstarter.libs.ActivityViewModel
import com.kickstarter.libs.Environment
import com.kickstarter.libs.featureflag.FlagKey
import com.kickstarter.libs.rx.transformers.Tra... | 9 | null | 995 | 5,752 | a9187fb484c4d12137c7919a2a53339d67cab0cb | 22,663 | android-oss | Apache License 2.0 |
app/src/main/java/edu/galileo/mvp/LoginModelImp.kt | steve1rm | 96,331,673 | false | null | package edu.galileo.mvp
import android.os.AsyncTask
/**
* Created by steve on 7/5/17.
*/
class LoginModelImp : LoginModel {
private lateinit var listener: LoginModel.OnLoginFinishedListener
private val DUMMY_CREDENTIALS =
arrayOf("<EMAIL>:testtest", "<EMAIL>:testtest")
override
fun lo... | 1 | null | 1 | 1 | 8775100959b44edb7dc8cca75eca7ea99e6c7480 | 1,873 | BusbyChat | MIT License |
data/similar/api/src/commonMain/kotlin/com/thomaskioko/tvmaniac/similar/api/SimilarShowsDao.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.similar.api
import com.thomaskioko.tvmaniac.core.db.SimilarShows
import kotlinx.coroutines.flow.Flow
interface SimilarShowsDao {
fun upsert(showId: Long, similarShowId: Long)
fun observeSimilarShows(traktId: Long): Flow<List<SimilarShows>>
fun delete(id: Long)
fun ... | 9 | Kotlin | 28 | 98 | 8bc3853d84c58520dffe26ddb260a2e7b6482ae9 | 334 | tv-maniac | Apache License 2.0 |
demo-databinding/src/main/java/com/outs/demo_databinding/dialog/DateTimePicker.kt | Outs3 | 424,166,410 | false | null | package com.outs.demo_databinding.dialog
import android.content.Context
import android.view.Gravity
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.FrameLayout
import androidx.lifecycle.MutableLiveData
import com.bigkoo.pickerview.builder.TimePickerBuilder
impo... | 0 | Kotlin | 0 | 2 | 29ba56113bf788782cbefb48e28fca6df3509eda | 2,777 | subahayai | MIT License |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/emr/CfnClusterPlacementTypePropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.emr
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.ser... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,597 | awscdk-dsl-kotlin | Apache License 2.0 |
light/src/main/kotlin/net/kotlinx/aws/lambda/dispatch/AbstractRequestHandler.kt | mypojo | 565,799,715 | false | {"Kotlin": 1234575, "Java": 9531, "Jupyter Notebook": 7080} | package net.kotlinx.aws.lambda.dispatch
import com.amazonaws.services.lambda.runtime.RequestHandler
import mu.KotlinLogging
import net.kotlinx.system.ResourceHolder
import net.kotlinx.time.TimeUtil
import org.crac.Context
import org.crac.Resource
/**
* 람다의 기본 진입점
* 편의상 만들었음
*
* 스냅스타트 적용시
* init 에서 Core.getGlobal... | 0 | Kotlin | 0 | 1 | e99e287495c673bcf4255e2794af0e8477580959 | 1,251 | kx_kotlin_support | MIT License |
buildSrc/src/main/kotlin/karakum/browser/Generator.kt | karakum-team | 393,199,102 | false | null | package karakum.browser
import karakum.common.GENERATOR_COMMENT
import karakum.common.Suppress
import karakum.common.Suppress.*
import karakum.common.fileSuppress
import java.io.File
private val DEFAULT_IMPORTS = """
import kotlin.js.Date
import kotlin.js.Promise
import js.core.ArrayLike
import js.core.BigInt
import ... | 0 | null | 6 | 22 | 00321b7e81352bc3d7243dd6631e1fb178f528c8 | 12,752 | types-kotlin | Apache License 2.0 |
library/src/main/java/com/jiwenjie/basepart/adapters/BaseRecyclerAdapter.kt | jiwenjie | 179,411,368 | false | null | package com.jiwenjie.basepart.adapters
import android.content.Context
import android.support.v7.widget.GridLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.StaggeredGridLayoutManager
import android.util.SparseArray
import android.view.LayoutInflater
import android.view.View
... | 1 | Kotlin | 3 | 9 | a3730f1758f8fe8d13cdd1d53045fa229f7e166d | 8,718 | Graduation_App | Apache License 2.0 |
runtime/src/commonMain/kotlin/space/jetbrains/api/runtime/SpaceAuth.kt | JetBrains | 239,972,147 | false | null | package space.jetbrains.api.runtime
import io.ktor.client.HttpClient
import io.ktor.http.Parameters
import kotlinx.datetime.Instant
public interface SpaceAuth {
public suspend fun token(client: HttpClient, appInstance: SpaceAppInstance): SpaceTokenInfo
public class Token private constructor(
private ... | 1 | Kotlin | 1 | 40 | 3784f0fb21026edcedf70f81cf4030fc74f0a126 | 3,835 | space-kotlin-sdk | Apache License 2.0 |
pensjon-brevbaker-api-model/src/main/kotlin/no/nav/pensjon/brev/api/model/maler/legacy/vedtaksbrev/vedtaksdata/beregningsdata/beregningufore/beregningytelseskomp/BeregningYtelsesKomp.kt | navikt | 375,334,697 | false | {"Kotlin": 3083129, "TypeScript": 433625, "TeX": 12813, "Shell": 8848, "CSS": 7595, "Python": 4661, "JavaScript": 4298, "Dockerfile": 2406, "HTML": 1053} | package no.nav.pensjon.brev.api.model.maler.legacy.vedtaksbrev.vedtaksdata.beregningsdata.beregningufore.beregningytelseskomp
data class BeregningYtelsesKomp(
val uforetrygdordiner: UforetrygdOrdiner?,
val barnetilleggfelles: BarnetilleggFelles?,
val barnetilleggserkull: BarnetilleggSerkull?,
val ektef... | 4 | Kotlin | 3 | 1 | b02455b82f8aa4ffed7ee4ad558dc57f784e9cd6 | 402 | pensjonsbrev | MIT License |
modules/transactions/sources-jvm/RaptorTransactionScope.kt | cybernetics | 323,978,106 | true | {"Kotlin": 350742} | package io.fluidsonic.raptor
interface RaptorTransactionScope : RaptorScope {
@RaptorDsl
override val context: RaptorTransactionContext
}
| 0 | null | 0 | 0 | 19cf33c0c7ecae6ddc2fcef2387830d367ad52be | 143 | raptor | Apache License 2.0 |
influence-maximization/src/main/kotlin/seedcalculation/InputMessage.kt | fpeterek | 432,835,229 | false | null | package org.fpeterek.pa.im.seedcalculation
import org.fpeterek.pa.im.graph.Node
sealed class InputMessage {
object End : InputMessage()
class NodeInfluence(val node: Node) : InputMessage()
}
| 0 | Kotlin | 0 | 0 | 9557c73bd66d58283c3b03a03a4ea024ccdcbd3a | 201 | parallel-algorithms | MIT License |
app/src/main/java/com/example/espressorobot/ProfileActivity.kt | faruktoptas | 115,795,521 | false | null | package com.example.espressorobot
import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.util.Log
import kotlinx.android.synthetic.main.activity_profile.*
/**
* Created by ftoptas on 20/12/17.
*/
class ProfileActivity : AppCompatActivity() {
overri... | 1 | Kotlin | 7 | 40 | b35302df16ec22d28d613b5ee8bd118d5d2ffc74 | 771 | espresso-robot-pattern-sample | Apache License 2.0 |
src/main/java/com/github/shynixn/blockball/enumeration/MenuCommand.kt | Shynixn | 78,865,055 | false | null | package com.github.shynixn.blockball.api.business.enumeration
/**
* Created by Shynixn 2019.
* <p>
* Version 1.2
* <p>
* MIT License
* <p>
* Copyright (c) 2019 by Shynixn
* <p>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files... | 6 | null | 26 | 67 | a79f7a7bb1c58d27607281754b3f6e45466891fc | 14,933 | BlockBall | Apache License 2.0 |
app/src/main/java/com/example/bysj2020/base/BaseFragment.kt | Xingzuo888 | 238,856,307 | false | {"Kotlin": 319568, "Java": 159225} | package com.example.bysj2020.base
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.MotionEvent
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import android.widget.Toast
import androidx.appcompat.ap... | 0 | Kotlin | 0 | 0 | a734212631b74f6a28a98379e4109d28b26d9693 | 5,765 | bysj2020 | Apache License 2.0 |
app/src/main/java/com/spitchenko/pokeapp/feature/list/presentation/model/ProgressUiModel.kt | Onotole1 | 212,967,916 | false | null | package com.spitchenko.pokeapp.feature.list.presentation.model
import androidx.databinding.ViewDataBinding
import com.spitchenko.pokeapp.component.binderadapter.BindingClass
import kotlinx.android.parcel.Parcelize
private const val DEFAULT_ID = 3490343L
@Parcelize
object ProgressUiModel : BindingClass {
@Suppre... | 1 | Kotlin | 0 | 1 | e8576bd4aa9bb91b5ea82d9c79b6f1fc2290e3d2 | 449 | PokeApp | Apache License 2.0 |
app/src/main/java/io/mainframe/hacs/ssh/RunSshAsync.kt | ktt-ol | 75,970,953 | false | {"Kotlin": 111905, "HTML": 4091, "JavaScript": 1200} | package io.mainframe.hacs.ssh
import android.os.AsyncTask
import com.jcraft.jsch.ChannelExec
import com.jcraft.jsch.JSch
import io.mainframe.hacs.common.Constants.DoorServer
import org.pmw.tinylog.Logger
import java.io.ByteArrayOutputStream
import java.util.Locale
import java.util.Properties
/**
* Created by holger ... | 9 | Kotlin | 2 | 24 | 436a68ca87ec2e187811ea002d5d3d7e71116f74 | 3,473 | hacs | MIT License |
app/src/main/java/com/shashank/anywheregpt/data/interceptors/AuthInterceptor.kt | Shashank02051997 | 623,487,054 | false | {"Kotlin": 59143} | package com.shashank.anywheregpt.data.interceptors
import android.content.Context
import com.shashank.anywheregpt.utils.SharedPref
import okhttp3.Interceptor
import okhttp3.Response
import timber.log.Timber
/**
* Interceptor to add auth token to requests
*/
class AuthInterceptor(private val context: Context) : Inte... | 11 | Kotlin | 14 | 92 | f0254ac6768d41724f8a6d71c494243c9ec923ad | 758 | AnywhereGPT-Android | Apache License 2.0 |
lib/src/main/java/com/drew/imaging/png/PngHeader.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 | 2,062 | metadata-extractor | Apache License 2.0 |
rest-api-server/src/main/kotlin/eu/tib/orkg/prototype/statements/adapter/output/neo4j/spring/internal/Neo4jPredicate.kt | TIBHannover | 197,416,205 | false | null | package eu.tib.orkg.prototype.statements.adapter.output.neo4j.spring.internal
import com.fasterxml.jackson.annotation.JsonIgnore
import eu.tib.orkg.prototype.contributions.domain.model.ContributorId
import eu.tib.orkg.prototype.statements.domain.model.Predicate
import eu.tib.orkg.prototype.statements.domain.model.Pred... | 0 | Kotlin | 1 | 3 | 9612eddb54c2427d7d5ae20b25dd5402aec79771 | 2,090 | orkg-backend | MIT License |
app/src/main/java/com/devmanishpatole/githubusers/adapter/UserLoadStateAdapter.kt | devmanishpatole | 310,791,098 | false | null | package com.devmanishpatole.githubusers.adapter
import android.view.ViewGroup
import androidx.paging.LoadState
import androidx.paging.LoadStateAdapter
import com.devmanishpatole.githubusers.viewholder.UserLoadStateViewHolder
/**
* Adapter to handle lazy loading buffering and error.
*/
class UserLoadStateAdapter(pri... | 0 | Kotlin | 0 | 0 | 7984da2938e993508f3bd2bb7003d5cfbdf86a2e | 672 | SearchGitHubUsers | MIT License |
kotest-framework/kotest-framework-engine/src/jvmTest/kotlin/com/sksamuel/kotest/engine/spec/annotation/AnnotationSpecBeforeAfterTest.kt | kotest | 47,071,082 | false | null | package com.sksamuel.kotest.engine.spec.annotation
import io.kotest.core.annotation.AutoScan
import io.kotest.core.listeners.TestListener
import io.kotest.core.spec.IsolationMode
import io.kotest.core.spec.Spec
import io.kotest.core.spec.style.AnnotationSpec
import io.kotest.core.test.TestCase
import io.kotest.core.te... | 51 | null | 648 | 4,435 | 2ce83d0f79e189c90e2d7bb3d16bd4f75dec9c2f | 3,529 | kotest | Apache License 2.0 |
src/commonMain/kotlin/org/angproj/crypt/sec/Sect409Koblitz1.kt | angelos-project | 677,062,617 | false | {"Kotlin": 18071377} | /**
* Copyright (c) 2023 by <NAME> <<EMAIL>>.
*
* This software is available under the terms of the MIT license. Parts are licensed
* under different terms if stated. The legal terms are attached to the LICENSE file
* and are made available on:
*
* https://opensource.org/licenses/MIT
*
* SPDX-License-Iden... | 0 | Kotlin | 0 | 0 | ed191fa0bc60aa5ed01fe8ef63a86c742890d243 | 3,562 | angelos-project-crypt | MIT License |
src/commonMain/kotlin/org/angproj/crypt/sec/Sect409Koblitz1.kt | angelos-project | 677,062,617 | false | {"Kotlin": 18071377} | /**
* Copyright (c) 2023 by <NAME> <<EMAIL>>.
*
* This software is available under the terms of the MIT license. Parts are licensed
* under different terms if stated. The legal terms are attached to the LICENSE file
* and are made available on:
*
* https://opensource.org/licenses/MIT
*
* SPDX-License-Iden... | 0 | Kotlin | 0 | 0 | ed191fa0bc60aa5ed01fe8ef63a86c742890d243 | 3,562 | angelos-project-crypt | MIT License |
src/main/kotlin/com/github/rafaelldi/tyeplugin/settings/TyeSettingsConfigurable.kt | rohan-buechner | 399,365,891 | true | {"Kotlin": 77343, "Java": 6341} | package com.github.rafaelldi.tyeplugin.settings
import com.intellij.openapi.options.Configurable
import com.intellij.openapi.project.Project
import javax.swing.JComponent
class TyeSettingsConfigurable(private val project: Project) : Configurable {
private val component = TyeSettingsComponent()
override fun c... | 0 | Kotlin | 0 | 0 | 6cfe645b1360a700085d17a450e59c80ec654e6e | 1,554 | tye-plugin | MIT License |
app/src/main/java/de/dkutzer/tcgwatcher/settings/presentation/SettingsScreen.kt | HaVonTe1 | 718,649,216 | false | {"Kotlin": 177630, "HTML": 103411} | package de.dkutzer.tcgwatcher.settings.presentation
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.lifecycle.viewm... | 5 | Kotlin | 0 | 0 | e7895889ddec764d8ab13e814f34eddf868a73ff | 2,935 | TCGWatcherApp | MIT License |
src/main/kotlin/graphics/rendertargets/RenderTargetManager.kt | MJARuijs | 238,959,670 | false | null | //package com.blazeit.game.graphics.rendertargets
//
//import com.blazeit.game.graphics.rendertargets.attachments.AttachmentType
//import devices.Window
//
//object RenderTargetManager {
//
// class RenderTargetUsage(val renderTarget: RenderTarget, var unusedFrames: Int)
//
// private var window: Window? = null
/... | 0 | Kotlin | 0 | 0 | ba34391da0b523907d84d71e47b70f4ad3c12173 | 1,794 | Morgan | MIT License |
app/shared/f8e-client/public/src/commonMain/kotlin/build/wallet/f8e/partnerships/GetSaleQuoteListF8eClient.kt | proto-at-block | 761,306,853 | false | {"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.f8e.partnerships
import build.wallet.bitkey.f8e.FullAccountId
import build.wallet.f8e.F8eEnvironment
import build.wallet.ktor.result.NetworkingError
import build.wallet.money.BitcoinMoney
import build.wallet.money.currency.FiatCurrency
import build.wallet.partnerships.SaleQuote
import com.github.m... | 3 | C | 16 | 113 | 694c152387c1fdb2b6be01ba35e0a9c092a81879 | 757 | bitkey | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/TextRotateUpSharp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/TextRotateUpSharp")
package mui.icons.material
@JsName("default")
external val TextRotateUpSharp: SvgIconComponent
| 10 | null | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 198 | kotlin-wrappers | Apache License 2.0 |
play/plugin/src/main/kotlin/com/github/triplet/gradle/play/internal/Plugins.kt | ychescale9 | 294,072,956 | true | {"Kotlin": 455760, "HTML": 390} | package com.github.triplet.gradle.play.internal
import com.android.build.api.variant.ApplicationVariant
import com.android.build.api.variant.ApplicationVariantProperties
import com.github.triplet.gradle.common.utils.PLUGIN_GROUP
import com.github.triplet.gradle.common.utils.nullOrFull
import com.github.triplet.gradle.... | 0 | Kotlin | 0 | 0 | c2c71983f0075eb6cf468c7d449c17ba796ae7fa | 4,040 | gradle-play-publisher-1 | MIT License |
kafkistry-service-logic/src/main/kotlin/com/infobip/kafkistry/service/topic/validation/rules/ValidationRule.kt | infobip | 456,885,171 | false | null | package com.infobip.kafkistry.service.topic.validation.rules
import com.infobip.kafkistry.kafka.ClusterInfo
import com.infobip.kafkistry.kafka.TOPIC_CONFIG_PROPERTIES
import com.infobip.kafkistry.model.*
import com.infobip.kafkistry.model.ClusterRef
import com.infobip.kafkistry.service.Placeholder
import com.infobip.k... | 2 | null | 6 | 42 | 06616ab58ca8bf7708fb8c62d584394f4fa303ab | 3,132 | kafkistry | Apache License 2.0 |
app/src/main/java/com/dnar/dicodingsubmissionbfaa/util/ConstantUtil.kt | dimas-nur | 267,992,206 | false | null | package com.dnar.dicodingsubmissionbfaa.util
// Util for api; Keyword : Util
/* --- Url --- */
const val BASE_URL = "https://api.github.com/"
/* --- Token --- */
const val ACCESS_TOKEN = "429ab84e3da1db8210bb9c6e2474c492f81146b3"
/* --- Bundle --- */
const val ARG_FRAGMENT_KEY = "fragment_key"
const val ARG_FRAGM... | 0 | Kotlin | 19 | 58 | 48bc4fb7209d5b116a0794fd26828699bfbaab14 | 2,473 | dicoding-belajar-fundamental-aplikasi-android | Apache License 2.0 |
debugdrawer-leakcanary/src/main/kotlin/au/com/gridstone/debugdrawer/leakcanary/LeakCanaryModule.kt | Gridstone | 145,801,108 | false | null | package au.com.gridstone.debugdrawer.leakcanary
import android.content.Context
import android.content.Context.MODE_PRIVATE
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.Switch
import au.com.gridstone.debugdrawer.DebugDrawerM... | 3 | Kotlin | 9 | 91 | 2c745c6b3462284340d77c39f0a2d7a3c043d731 | 1,713 | DebugDrawer | Apache License 2.0 |
benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/IdeSummaryString.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 3,122 | androidx | Apache License 2.0 |
ontrack-service/src/main/java/net/nemerosa/ontrack/service/elasticsearch/ElasticSearchIndexService.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.elastic
import com.fasterxml.jackson.databind.JsonNode
import net.nemerosa.ontrack.json.asJson
import net.nemerosa.ontrack.model.search.SearchQuery
import net.nemerosa.ontrack.model.structure.*
import net.nemerosa.ontrack.model.support.OntrackConfigProperties
import org.elasticse... | 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 11,276 | ontrack | MIT License |
src/main/kotlin/nl/jvhaastert/springutils/security/handlers/JsonAuthenticationFailureHandler.kt | jaspervhaastert | 320,839,795 | false | null | package nl.jvhaastert.springutils.security.handlers
import com.fasterxml.jackson.databind.ObjectMapper
import org.springframework.security.core.AuthenticationException
import org.springframework.security.web.authentication.AuthenticationFailureHandler
import java.util.*
import javax.servlet.http.HttpServletRequest
imp... | 0 | Kotlin | 0 | 0 | 675616770b903dc6840298cf5372da39f726bbd9 | 1,076 | spring-utils | MIT License |
cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/graph/edges/collections/EdgeList.kt | Fraunhofer-AISEC | 225,386,107 | false | {"Kotlin": 3497495, "LLVM": 170593, "C++": 49795, "Java": 34147, "C": 34038, "Go": 12206, "TypeScript": 4908, "Python": 4498, "Shell": 3094, "JavaScript": 751, "Ruby": 201} | /*
* Copyright (c) 2024, Fraunhofer AISEC. All rights reserved.
*
* 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 require... | 96 | Kotlin | 60 | 268 | 9562371fd01a98614a1050dbf5927e3b19444067 | 4,389 | cpg | Apache License 2.0 |
app/src/main/java/kanda/lab/rickandmorty/common/DataModule.kt | jcaiqueoliveira | 439,944,782 | false | null | package kanda.lab.rickandmorty.common
import android.app.Application
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kanda.lab.rickandmorty.common.data.BuildRetrofit
import kanda.lab.rickandmorty.common.data.RickAndMortyGateway
import kan... | 5 | Kotlin | 0 | 0 | fd628fbfc6e2bf5e9ebd457794852ce860ffbce9 | 826 | psychic-meme | MIT License |
component/component-kaiheila-parent/kaiheila-core/src/main/java/love/forte/simbot/kaiheila/event/system/guild/UpdatedGuild.kt | simple-robot | 554,852,615 | false | null | package love.forte.simbot.kaiheila.event.system.guild
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* 服务器信息更新
*
* `updated_guild`
*
* @author ForteScarlet
*/
@Serializable
public data class UpdatedGuildExtraBody(
/**
* 服务器id
*/
val id: String,
/**
... | 0 | Kotlin | 0 | 3 | c5d7c9ca8c81b2bddc250090739d7c7d0c110328 | 1,126 | simple-robot-v2 | Apache License 2.0 |
app/src/main/java/com/schedule/domain/model/date/Week.kt | FredNekrasov | 760,139,354 | false | {"Kotlin": 109148} | package com.schedule.domain.model.date
data class Week(
val semester: String,
val weekNumber: Int
) | 0 | Kotlin | 0 | 0 | 73e90ff38e831c6fbfa175f4e4ffe780ed572500 | 108 | Android-app-for-viewing-schedules | MIT License |
app/src/main/java/com/akhris/composeutils/MainActivity.kt | akhris | 448,849,347 | false | null | /*
* Copyright (c) 2022. <NAME>. All rights reserved.
* 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 ... | 0 | Kotlin | 0 | 0 | e82494063147549a0d38fb049a9ab12c1ae7b50a | 6,380 | compose-utils | Apache License 2.0 |
app/src/main/java/com/suihan74/nedge/database/notification/BlackListEntity.kt | suihan74 | 314,771,954 | false | null | package com.suihan74.nedge.database.notification
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.suihan74.nedge.models.KeywordMatchingType
@Entity
data class BlackListEntity(
/** 対象パッケージ名 (com.suihan74.satena など) */
val packageName : String,
/** 追加のキーワード */
val keyword : String... | 0 | Kotlin | 0 | 0 | 8d1569d9ee6c51a803212ae7fdff7e493d02cf41 | 491 | nEdge | MIT License |
intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/normalizedcache/PullFromDevice.kt | apollographql | 69,469,299 | false | {"Kotlin": 3463807, "Java": 198208, "CSS": 34435, "HTML": 5844, "JavaScript": 1191} | package com.apollographql.ijplugin.normalizedcache
import com.android.ddmlib.AndroidDebugBridge
import com.android.ddmlib.IDevice
import com.android.ddmlib.SyncService
import com.android.tools.idea.adb.AdbShellCommandsUtil
import com.apollographql.ijplugin.util.logd
import com.apollographql.ijplugin.util.logw
import j... | 198 | Kotlin | 657 | 3,750 | 174cb227efe76672cf2beac1affc7054f6bb2892 | 3,981 | apollo-kotlin | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.