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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
web/buildSrc/src/main/kotlin/SeleniumDriverPlugin.kt | JetBrains | 293,498,508 | false | null | package jetbrains.compose.web.gradle
import org.gradle.api.*
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
import java.io.File
import java.net.URL
private val CHROME_DRIVER_VERSION = "114.0.5735.90"
private val GECKO_DRIVER_VERSION = "0.31.0"
private fun download(url: String, file: File) {
... | 934 | Kotlin | 933 | 9,090 | 97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c | 3,776 | compose-jb | Apache License 2.0 |
app/src/main/java/com/dmbaryshev/bd/model/dto/VkPhoto.kt | DmBard | 57,616,046 | false | null | package com.dmbaryshev.bd.model.dto
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
open class VkPhoto(
@SerializedName("id")
@Expose
@PrimaryKey
open var id: Int = 0,
... | 0 | Kotlin | 0 | 7 | 7c554d784a45097001a2af7505e00bddc594fecb | 1,412 | bd | Apache License 2.0 |
domain/src/main/java/com/thelazybattley/domain/di/RepositoryModule.kt | dellosaneil | 720,658,411 | false | {"Kotlin": 180336} | package com.thelazybattley.domain.di
import com.thelazybattley.domain.repository.WeatherRepository
import com.thelazybattley.domain.repository.impl.WeatherRepositoryImpl
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
@Module
@InstallIn(SingletonC... | 0 | Kotlin | 0 | 0 | adb7ffc205a27b95b8c847ee3af6dcca373b80ca | 474 | weather-app | Apache License 2.0 |
filesystem/src/jvmMain/kotlin/nio/NioReadFd.kt | illarionov | 848,247,126 | false | {"Kotlin": 1163678, "ANTLR": 6038, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89} | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package at.released.weh.filesystem.nio
import arr... | 1 | Kotlin | 0 | 3 | 8960e9ee5feb1ef319446725f4ca60e55d5b1c83 | 1,131 | wasi-emscripten-host | Apache License 2.0 |
modules/graph/sources-jvm/assembly/RaptorGraphsComponent.kt | fluidsonic | 246,018,343 | false | null | package io.fluidsonic.raptor.graph
import io.fluidsonic.raptor.*
public class RaptorGraphsComponent internal constructor() :
RaptorComponent.Base<RaptorGraphsComponent>(RaptorGraphPlugin),
RaptorComponentSet<RaptorGraphComponent> {
@RaptorDsl
override val all: RaptorAssemblyQuery<RaptorGraphComponent>
get() =... | 0 | Kotlin | 1 | 6 | aa106d096b700d6eadbcf9ef5df8ec102f7a3fac | 936 | raptor | Apache License 2.0 |
frogosdk/src/main/java/com/frogobox/sdk/ext/FrogoRxJavaExt.kt | frogobox | 463,917,159 | false | null | package com.frogobox.sdk.ext
import androidx.lifecycle.MutableLiveData
import com.frogobox.coresdk.observer.FrogoApiObserver
import com.frogobox.coresdk.observer.FrogoLocalObserver
import com.frogobox.coresdk.response.FrogoDataResponse
import com.frogobox.coresdk.response.FrogoStateResponse
import com.frogobox.coresdk... | 0 | Kotlin | 4 | 12 | 7c7f694d6a74cbbdd902a0fdc9548d41371217a2 | 5,837 | frogo-sdk | Apache License 2.0 |
shared/src/main/kotlin/bz/stewart/bracken/shared/data/VisibleType.kt | abigpotostew | 92,021,572 | false | null | package bz.stewart.bracken.shared.data
/**
* For enum classes with an ordinal per instance. To help with selecting the item with both an integer and a nice visible name
* Created by stew on 1/25/17.
*/
interface VisibleType {
fun lowercaseName(): String
fun capitalizedName(): String
fun niceFormat(): S... | 0 | Kotlin | 0 | 0 | edd326981cc23168d7bf23852e638767dbac3547 | 383 | easypolitics | Apache License 2.0 |
save-cloud-common/src/commonMain/kotlin/com/saveourtool/save/entities/vulnerability/VulnerabilityStatus.kt | saveourtool | 300,279,336 | false | {"Kotlin": 3416213, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366} | package com.saveourtool.common.entities.vulnerability
import kotlin.js.JsExport
import kotlinx.serialization.Serializable
/**
* A value for vulnerability statuses.
*
* @property value
*/
@Serializable
@JsExport
@Suppress("IDENTIFIER_LENGTH")
enum class VulnerabilityStatus(val value: String) {
/**
* Appro... | 201 | Kotlin | 3 | 38 | 8f62e13ee6618a36ad2df7ff15ecfb8019ec19d5 | 661 | save-cloud | MIT License |
kmdc/kmdc-radio/src/jsMain/kotlin/MDCRadio.kt | mpetuska | 430,798,310 | false | null | package dev.petuska.kmdc.radio
import androidx.compose.runtime.Composable
import dev.petuska.kmdc.core.Builder
import dev.petuska.kmdc.core.MDCDsl
import dev.petuska.kmdc.core.initialiseMDC
import dev.petuska.kmdc.core.mdc
import dev.petuska.kmdc.core.rememberUniqueDomElementId
import dev.petuska.kmdc.form.field.MDCFo... | 22 | Kotlin | 8 | 29 | 67b31502b5f76b64f7571821fdd0b78a3df0a68c | 2,707 | kmdc | Apache License 2.0 |
app/src/main/java/com/ilaps/androidtest/common/auth/BaseAuthPresenter.kt | ricardoAntolin | 96,248,010 | false | null | package com.ilaps.androidtest.common.auth
import com.google.firebase.auth.FirebaseAuth
/**
* Created by ricar on 5/7/17.
*/
abstract class BaseAuthPresenter<T : BaseAuthView > : FirebaseAuth.AuthStateListener {
var view: T? = null
var auth = FirebaseAuth.getInstance()!!
fun onStart(view: T) {
... | 0 | Kotlin | 0 | 0 | cdcc78769ad8948b039791bf6e6da31aa7a53642 | 599 | AndroidBluetoothDeviceListExample | Apache License 2.0 |
utbot-java-fuzzing/src/main/kotlin/org/utbot/fuzzing/spring/valid/ValidEntity.kt | UnitTestBot | 480,810,501 | false | null | package org.utbot.fuzzing.spring.valid
import org.utbot.common.toDynamicProperties
import org.utbot.common.withValue
import org.utbot.framework.plugin.api.ClassId
import org.utbot.framework.plugin.api.FieldId
import org.utbot.framework.plugin.api.MethodId
import org.utbot.framework.plugin.api.UtAssembleModel
import or... | 415 | null | 38 | 91 | abb62682c70d7d2ecc4ad610851d304f7ad716e4 | 7,996 | UTBotJava | Apache License 2.0 |
src/test/kotlin/dev/shtanko/algorithms/leetcode/LargestIslandTest.kt | ashtanko | 203,993,092 | false | {"Kotlin": 7135393, "Shell": 1168, "Makefile": 1135} | /*
* 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... | 4 | Kotlin | 0 | 19 | 354dd5fb65ab0ec96c42b7772c2cb1d292a96db0 | 2,399 | kotlab | Apache License 2.0 |
plugins/git4idea/tests/git4idea/cherrypick/GitCherryPickAutoCommitTest.kt | androidports | 115,100,208 | false | null | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 6 | null | 1 | 4 | 6e4f7135c5843ed93c15a9782f29e4400df8b068 | 6,000 | intellij-community | Apache License 2.0 |
app/src/main/java/com/simplepeople/watcha/ui/auth/signin/SignInScreen.kt | hbjosemaria | 786,895,118 | false | {"Kotlin": 425852} | package com.simplepeople.watcha.ui.auth.signin
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundatio... | 0 | Kotlin | 0 | 3 | 05cd1a2abc9fd5b19c5d4273d99dc4b7bd2c97e3 | 5,388 | Watcha | Apache License 2.0 |
src/main/kotlin/com/sharparam/klox/LoxClass.kt | Sharparam | 101,596,196 | false | null | /*
* Copyright (c) 2017 by <NAME>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish,... | 0 | Kotlin | 0 | 2 | 88d17293d65ac03f5cd78ecd47605b8abda8edf5 | 1,894 | klox | MIT License |
app/src/main/java/com/herry/test/app/nestedfragments/overlay/main1/NestedNavFragmentsOverlayMain1Sub1Fragment.kt | HerryPark | 273,154,769 | false | null | package com.herry.test.app.nestedfragments.overlay.main1
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.herry.libs.app.nav.NavBundleUtil
import com.herry.libs.widget.extension.popToNavHost
import com.herry.test.app.base.nav.BaseNavFragment
... | 0 | Kotlin | 1 | 3 | d30435c01387614ec24a79ffd5afcdb89edf5298 | 1,190 | HerryApiDemo | Apache License 2.0 |
src/commonTest/kotlin/org/treeWare/metaModel/validation/PackageValidationTests.kt | tree-ware | 214,941,384 | false | {"Kotlin": 953717} | package org.treeWare.metaModel.validation
import org.treeWare.metaModel.assertJsonStringValidationErrors
import org.treeWare.metaModel.newTestMetaModelJson
import org.treeWare.metaModel.testMetaModelCommonPackageJson
import org.treeWare.metaModel.testMetaModelCommonRootJson
import kotlin.test.Test
class PackageValida... | 35 | Kotlin | 0 | 1 | 3f5b7ee679c838515d07ba1e1abedfc09da21dde | 3,682 | tree-ware-kotlin-core | Apache License 2.0 |
app/src/main/java/rafamatias/com/boilerplate/AppApplication.kt | rafamatias | 74,966,219 | false | null | package rafamatias.com.boilerplate
class AppApplication { } | 0 | Kotlin | 4 | 19 | 8d3f4d97f81b8e2035d783c361b2ea9f3daf0227 | 60 | android-boilerplate | The Unlicense |
pupilidlib/src/commonMain/kotlin/at/asitplus/wallet/pupilid/HttpClientBuilder.kt | a-sit-plus | 738,128,206 | false | {"Kotlin": 149407, "Batchfile": 2673} | package at.asitplus.wallet.pupilid
import io.github.aakira.napier.Napier
import io.ktor.client.HttpClient
import io.ktor.client.HttpClientConfig
import io.ktor.client.engine.HttpClientEngine
import io.ktor.client.plugins.HttpTimeout
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation
import io.ktor.cli... | 0 | Kotlin | 0 | 1 | a49a0c2ee159c30bbf52d1b214c4ae825c9723d3 | 2,625 | pupilidlib | Apache License 2.0 |
features/business/src/main/java/com/mecheka/feature/business/BusinessScreenState.kt | Mecheka | 628,698,363 | false | null | @file:OptIn(ExperimentalContracts::class)
package com.mecheka.feature.business
import com.mecheka.data.model.ArticleResponse
import kotlin.contracts.ExperimentalContracts
sealed interface BusinessScreenState
object Loading : BusinessScreenState
object Error : BusinessScreenState
data class Success(val data: List<Ar... | 0 | Kotlin | 0 | 0 | 90d23c97e7970b4cbd7c0f4b9653ef1684b1d700 | 357 | Compose-news | Apache License 2.0 |
AndroidLint-7.4.2/lint-plugin/app/src/main/java/com/easelint/gradle/KotlinPrint.kt | Western-parotia | 642,632,046 | false | null | package com.easelint.gradle
class KotlinPrint {
fun log() {
//报告中,println 没检测出来
println("this is foo log")
}
} | 0 | Kotlin | 2 | 14 | a9e3988f1b0d3399a8343bb72fecc14fd71db4fe | 135 | EaseLint | MIT License |
app/src/main/java/com/aditprayogo/samana_user/presentation/change_profile/ChangePasswordViewModel.kt | SAMANA-JABAR | 365,926,412 | false | null | package com.aditprayogo.samana_user.presentation.change_profile
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.aditprayogo.core.domain.model.PasswordData
import com.aditprayogo.core.domain.usecase.auth.AuthUseCase
import com.aditprayogo... | 0 | Kotlin | 0 | 3 | 37cf6340acf60165721770802c51e552be44d673 | 2,094 | SAMANA-USER | Apache License 2.0 |
src/main/kotlin/com/appstats/appstatisticsinfo/model/AppStatisticsModel.kt | siavashtf | 291,537,112 | false | null | package com.appstats.appstatisticsinfo.model
class AppStatisticsModel (val weekNum: Int,
val year: Int,
val requests: Int = 0,
val clicks: Int = 0,
val installs: Int = 0) | 0 | Kotlin | 0 | 0 | 3d3cc4c54c2c4172c4197c614ac1f806b0d4ed8f | 275 | app-statics-info | Apache License 2.0 |
app/src/main/java/com/bnsantos/view/skeleton/di/modules/AppModule.kt | bnsantos | 93,883,250 | false | null | package com.bnsantos.view.skeleton.di.modules
import android.app.Application
import android.arch.persistence.room.Room
import com.bnsantos.view.skeleton.api.ApiResponse
import com.bnsantos.view.skeleton.api.ApiResponseDeserializer
import com.bnsantos.view.skeleton.api.PeopleService
import com.bnsantos.view.skeleton.db... | 0 | Kotlin | 0 | 0 | 48bcadd1f936247cb9e5fc51b1d2b09e48a4a5c6 | 1,578 | android-skeleton-view | Apache License 2.0 |
app/src/main/kotlin/de/ljz/questify/ui/components/DismissBackground.kt | LJZApps | 806,522,161 | false | {"Kotlin": 229922} | package de.ljz.questify.ui.components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundati... | 0 | Kotlin | 0 | 0 | dc04f195c507b4385b8df3cb034a410c253d6603 | 1,950 | Questify-Android | MIT License |
feature/hidden-notes-dialog/data/src/main/kotlin/ru/maksonic/beresta/feature/hidden_notes_dialog/data/PinFailManagerCore.kt | maksonic | 580,058,579 | false | {"Kotlin": 1587340, "Assembly": 374} | package ru.maksonic.beresta.feature.hidden_notes_dialog.data
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.core.edit
import androidx.datastore.preferences.core.intPreferencesKey
import androidx.datastore.preferences.core.longPreferencesKey
import kotlinx.corouti... | 0 | Kotlin | 0 | 0 | 863585ab17882e444060e5535401c728f9fc335d | 1,856 | Beresta | MIT License |
layout-inspector/testSrc/com/android/tools/idea/layoutinspector/metrics/AppInspectionInspectorMetricsTest.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* Copyright (C) 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 app... | 5 | Kotlin | 230 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 11,399 | android | Apache License 2.0 |
shared/src/commonMain/kotlin/com/presta/customer/ui/components/processLoanDisbursement/ProcessLoanDisbursementComponent.kt | morgan4080 | 678,697,424 | false | null | package com.presta.customer.ui.components.processLoanDisbursement
import com.presta.customer.ui.components.auth.store.AuthStore
import com.presta.customer.ui.components.processLoanDisbursement.store.ProcessingLoanDisbursementStore
import kotlinx.coroutines.flow.StateFlow
interface ProcessLoanDisbursementComponent {
... | 0 | Kotlin | 0 | 0 | d26cc0013c5bedf29d2f349b86e90052a0aca64e | 776 | kotlin-multiplatform | Apache License 2.0 |
app/src/main/java/com/boolder/boolder/view/detail/LineVectorView.kt | boolder-org | 566,723,758 | false | null | package com.boolder.boolder.view.detail
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.util.Log
import android.util.TypedValue
import android.view.View
import androidx.annotation.ColorRes
class LineVectorView @JvmOverloads constructor(
context: Context?,
... | 14 | Kotlin | 5 | 9 | 0a322e4bbde8e05cef50d092c1ac2e94d919f310 | 3,094 | boolder-android | MIT License |
app/src/main/java/com/androidstudy/mpesa/common/DarajaLiveData.kt | kiptechie | 196,429,964 | true | {"Java Properties": 2, "Gradle": 5, "Shell": 1, "Markdown": 4, "Batchfile": 1, "Text": 1, "Ignore List": 3, "Proguard": 2, "Java": 38, "XML": 17, "YAML": 1, "Kotlin": 7} | package com.androidstudy.mpesa.common
import android.arch.lifecycle.LiveData
import com.androidstudy.daraja.callback.DarajaException
import com.androidstudy.daraja.callback.DarajaListener
class DarajaLiveData<T> : LiveData<Resource<T>>(), DarajaListener<T> {
init {
value = Resource(Status.LOADING)
}
... | 1 | Java | 0 | 1 | 130017d0e11c8ec9f72d02aa4c7853121ef96e80 | 529 | AndroidMPesaAPI | MIT License |
src/main/kotlin/net/dontdrinkandroot/fixtures/Fixture.kt | dontdrinkandroot | 87,098,098 | false | null | package net.dontdrinkandroot.fixtures
import net.dontdrinkandroot.fixtures.referencerepository.ReferenceRepository
import javax.persistence.EntityManager
import kotlin.reflect.KClass
/**
* A [Fixture] is responsible for storing one or many objects in the database.
*/
interface Fixture {
/**
* Specifies fi... | 1 | Kotlin | 0 | 2 | c9cb40f2e11654d719066d399e99356693a7d7e8 | 1,010 | fixtures.java | Apache License 2.0 |
src/main/kotlin/dk/cachet/carp/webservices/deployment/serdes/StudyDeploymentStatusSerializer.kt | cph-cachet | 674,650,033 | false | {"Kotlin": 671905, "TypeScript": 111037, "HTML": 14219, "Shell": 4202, "CSS": 1656, "Dockerfile": 1264, "JavaScript": 706} | package dk.cachet.carp.webservices.deployment.serdes
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.databind.JsonSerializer
import com.fasterxml.jackson.databind.SerializerProvider
import dk.cachet.carp.deployments.application.StudyDeploymentStatus
import dk.cachet.carp.webservices.common... | 27 | Kotlin | 1 | 3 | 6f16c3c5f1b5b8bdd7abc30fd312c0cad973473c | 2,619 | carp-webservices-spring | MIT License |
device-explorer-monitor/src/com/android/tools/idea/device/explorer/monitor/ui/DeviceMonitorViewImpl.kt | JetBrains | 60,701,247 | false | {"Kotlin": 43855938, "Java": 36698280, "HTML": 1216565, "Starlark": 735324, "C++": 216476, "Python": 101594, "C": 71515, "Lex": 66026, "NSIS": 58516, "AIDL": 32502, "Shell": 28591, "CMake": 21034, "JavaScript": 18437, "Batchfile": 7774, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18} | /*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 2 | Kotlin | 230 | 876 | 9c0a89784cca3c01ab99cf251b71a26cdb87cc47 | 4,054 | android | Apache License 2.0 |
Flashcards/task/src/flashcards/MainNoOOP.kt | redstrike | 281,227,598 | false | null | package flashcards
import java.io.File
import kotlin.random.Random
fun main(args: Array<String>) {
Flashcards().start(args)
}
class Flashcards {
private val cards = mutableMapOf<String, String>()
private val stats = mutableMapOf<String, Int>()
private val logs = mutableListOf<String>()
fun start... | 0 | HTML | 0 | 0 | b02ef280def789f03fbf0941f745b64356a93b85 | 6,225 | flashcards | MIT License |
Instagram-Gallery-Animation/Android/app/src/main/java/app/nikhil/instagramgalleryanimation/utils/ImagesData.kt | nikhilbansal97 | 270,763,824 | false | {"Kotlin": 25919} | package app.nikhil.instagramgalleryanimation.utils
val TEST_IMAGES_SQUARE = listOf(
"https://images.unsplash.com/photo-1582885745933-e43bee4517ae?ixlib=rb-1.2.1&fit=crop&w=1000&h=1000&q=80",
"https://images.unsplash.com/photo-1491438590914-bc09fcaaf77a?ixlib=rb-1.2.1&fit=crop&w=1000&h=1000&q=80",
"https://images... | 0 | Kotlin | 0 | 3 | 01a469640001a50fba4a4640d4e16bf0b662b8d3 | 2,118 | Mobile-UI-Samples | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/personrecord/service/MatchService.kt | ministryofjustice | 608,040,205 | false | {"Kotlin": 278212, "PLpgSQL": 8836, "Shell": 2601, "Dockerfile": 1145} | package uk.gov.justice.digital.hmpps.personrecord.service
import kotlinx.coroutines.runBlocking
import org.springframework.beans.factory.annotation.Value
import org.springframework.stereotype.Service
import uk.gov.justice.digital.hmpps.personrecord.client.MatchRequest
import uk.gov.justice.digital.hmpps.personrecord.c... | 8 | Kotlin | 2 | 1 | b25adf2f2b28fd4f7e17158e33528688205aee3e | 2,755 | hmpps-person-record | MIT License |
src/main/kotlin/me/senseiwells/arucas/interpreter/Interpreter.kt | senseiwells | 410,678,534 | false | null | package me.senseiwells.arucas.interpreter
import me.senseiwells.arucas.api.ArucasAPI
import me.senseiwells.arucas.api.ArucasErrorHandler
import me.senseiwells.arucas.api.docs.visitor.ArucasDocParser
import me.senseiwells.arucas.builtin.*
import me.senseiwells.arucas.classes.*
import me.senseiwells.arucas.classes.insta... | 0 | null | 4 | 17 | 239610d1ce529ab087125dab4c592f28cc963ca7 | 53,759 | Arucas | MIT License |
app/src/main/java/io/github/drumber/kitsune/data/mapper/MediaUnitMapper.kt | Drumber | 406,471,554 | false | {"Kotlin": 993796, "Ruby": 2109} | package io.github.drumber.kitsune.data.mapper
import io.github.drumber.kitsune.data.presentation.model.media.unit.Chapter
import io.github.drumber.kitsune.data.presentation.model.media.unit.Episode
import io.github.drumber.kitsune.data.source.network.media.model.unit.NetworkChapter
import io.github.drumber.kitsune.dat... | 6 | Kotlin | 4 | 92 | ba6f2a69cb71a9fd71d4825921ff6d9b6300471e | 1,322 | Kitsune | Apache License 2.0 |
plugins/graphql-kotlin-plugin-core/src/test/kotlin/com/expediagroup/graphql/plugin/generator/types/GenerateGraphQLUnionTypeSpecIT.kt | wpK | 271,208,040 | true | {"Kotlin": 1086808, "HTML": 6411, "JavaScript": 5387, "CSS": 297} | /*
* Copyright 2020 Expedia, Inc
*
* 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 t... | 1 | null | 0 | 0 | 67a1158416fa5baab05f8832af39d807a4120476 | 11,870 | graphql-kotlin | Apache License 2.0 |
ktor-http/test/io/ktor/tests/http/CodecTest.kt | hallefy | 112,228,070 | true | {"Kotlin": 1507570, "Java": 62081, "HTML": 30993, "FreeMarker": 6484, "CSS": 5444, "JavaScript": 3408} | package io.ktor.tests.http
import io.ktor.http.*
import org.junit.Test
import java.net.*
import java.util.*
import kotlin.test.*
class CodecTest {
private val swissAndGerman = "\u0047\u0072\u00fc\u0065\u007a\u0069\u005f\u007a\u00e4\u006d\u00e4"
private val russian = "\u0412\u0441\u0435\u043c\u005f\u043f\u044... | 0 | Kotlin | 0 | 1 | b5dcbe5b740c2d25c7704104e01e0a01bf53d675 | 3,609 | ktor | Apache License 2.0 |
payjp-android-core/src/main/kotlin/jp/pay/android/model/Card.kt | payjp | 111,647,224 | false | {"Kotlin": 648511, "Java": 12719, "Ruby": 6109, "Shell": 1151} | /*
*
* Copyright (c) 2021 PAY, 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, copy, modify, merge, publis... | 1 | Kotlin | 2 | 6 | 6f3cb6184c3def6cae1244fdbdeb8351fb086cf1 | 2,762 | payjp-android | MIT License |
src/nativeMain/kotlin/me/zzp/linsp/interpreter/Bindings.kt | redraiment | 12,399,146 | false | {"Kotlin": 41992, "NewLisp": 2789} | package me.zzp.linsp.interpreter
import me.zzp.linsp.interpreter.Expression.Atom.Companion.nil
import me.zzp.linsp.interpreter.Expression.Atom.Companion.t
/**
* Represents a scope of variable bindings within the environment.
*/
data class Bindings(
/**
* The enclosing (parent) scope from which this scope ... | 0 | Kotlin | 1 | 7 | 24c106209289bf5d9c965a75eed2fb7c7173addd | 1,853 | linsp | MIT License |
reaktive/src/commonTest/kotlin/com/badoo/reaktive/single/TimerTest.kt | badoo | 174,194,386 | false | null | package com.badoo.reaktive.single
import com.badoo.reaktive.scheduler.Scheduler
import com.badoo.reaktive.test.base.assertDisposed
import com.badoo.reaktive.test.base.assertNotError
import com.badoo.reaktive.test.base.assertSubscribed
import com.badoo.reaktive.test.scheduler.TestScheduler
import com.badoo.reaktive.tes... | 8 | Kotlin | 57 | 956 | c712c70be2493956e7057f0f30199994571b3670 | 2,481 | Reaktive | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/ssmcontacts/_ssmcontacts.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION")
package cloudshift.awscdk.dsl.services.ssmcontacts
import software.amazon.awscdk.services.ssmcontacts.CfnContact
import software.amazon... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 26,593 | awscdk-dsl-kotlin | Apache License 2.0 |
Examples/src/main/kotlin/examples/ComponentSignalSystem.kt | nflsilva | 521,306,727 | false | {"Kotlin": 72548, "GLSL": 3784} | package examples
import core.BaseEntity
import core.CoreEngine
import core.CoreEngineDelegate
import core.component.BaseComponent
import core.component.ComponentSignal
import core.component.ComponentSignalDataField
import core.component.render.ShapeComponent
import core.dto.UpdateContext
import org.joml.Random
import ... | 0 | Kotlin | 0 | 0 | 5047a234767efda80c0afec990bf27aec5b8effd | 4,570 | 2DGT | MIT License |
wgpu4k/src/commonMain/kotlin/io.ygdrasil.wgpu/ShaderModule.kt | wgpu4k | 773,068,055 | false | {"Kotlin": 1933246, "TypeScript": 1001930, "HTML": 93097, "WGSL": 70068, "JavaScript": 8101, "CSS": 5773, "Shell": 253} |
package io.ygdrasil.wgpu
expect class ShaderModule : AutoCloseable {
}
data class ShaderModuleDescriptor(
var code: String,
var label: String? = null,
var sourceMap: Any? = null,
var compilationHints: Array<CompilationHint>? = null
) {
data class CompilationHint(
var entryPoint: String,
// TODO
//var lay... | 0 | Kotlin | 1 | 0 | f4cd0a7e3512b9cdc122ffac5bfe6ccc611398da | 371 | wgpu4k | MIT License |
app/src/main/java/com/aleahim/listee/TodoListViewHolder.kt | mihaelamj | 331,379,409 | false | null | package com.aleahim.listee
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
class TodoListViewHolder(itemView: View): RecyclerView.ViewHolder(itemView) {
var listPositionTextView = itemView.findViewById<TextView>(R.id.itemN... | 0 | Kotlin | 0 | 0 | b5b4f840b42a53ca82829d0ade2dc8d6ed0f3f30 | 406 | AndroidToDo | MIT License |
uxmobile/src/main/java/sk/uxtweak/uxmobile/ui/DebugActivity.kt | macro39 | 389,744,953 | false | null | package sk.uxtweak.uxmobile.ui
import android.os.Bundle
import android.text.method.ScrollingMovementMethod
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.Window
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import android... | 0 | Kotlin | 0 | 0 | 9dc1d26c95c42f739c7aa9610da815a01ea7f5d2 | 1,212 | UxMobile | Apache License 2.0 |
Labs/app/src/main/java/top/chilfish/labs/sms/SMSActivity.kt | Chilfish | 610,771,353 | false | null | package top.chilfish.labs.sms
import android.Manifest
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.R... | 0 | Kotlin | 0 | 0 | e5b88162f8d3d305a3b8c144653e0bf062e70ae1 | 2,205 | Android-demo | MIT License |
src/commonMain/kotlin/org.angproj.aux/utf/blk/TamilSupplement.kt | angelos-project | 677,039,667 | false | {"Kotlin": 986392, "Python": 196308} | /**
* Copyright (c) 2024 by Kristoffer Paulsson <kristoffer.paulsson@talenten.se>.
*
* 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... | 0 | Kotlin | 0 | 0 | f9142bec995ef434cc7cdc02f01a7ed9ac3cd00b | 1,112 | angelos-project-aux | MIT License |
idea/src/org/jetbrains/kotlin/idea/intentions/AddAccessorIntentions.kt | cr8tpro | 189,964,139 | true | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 1 | 2 | dca23f871cc22acee9258c3d58b40d71e3693858 | 5,288 | kotlin | Apache License 2.0 |
src/main/kotlin/win/rushmi0/jungmha/database/service/DogWalkerReviewService.kt | rushmi0 | 729,413,199 | false | {"Kotlin": 215402, "PLpgSQL": 11138, "HTML": 3377, "Dockerfile": 102} | package org.jungmha.database.service
import io.micronaut.context.annotation.Bean
import io.micronaut.runtime.http.scope.RequestScope
import io.micronaut.scheduling.TaskExecutors
import io.micronaut.scheduling.annotation.ExecuteOn
import org.jungmha.database.field.DogWalkerReviewField
import org.jungmha.database.form.D... | 0 | Kotlin | 0 | 1 | d0a3f53ea7c04e4b9f0ba18f737974bee712b6c8 | 1,797 | Jungmha | MIT License |
src/jvmMain/kotlin/com/sdercolin/vlabeler/ui/dialog/CustomFileDialog.kt | sdercolin | 503,365,242 | false | null | package com.sdercolin.vlabeler.ui.dialog
import androidx.compose.foundation.VerticalScrollbar
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation... | 8 | null | 22 | 147 | f4e47b6c386e1446f9e311549156a6d29aa8d3da | 19,718 | vlabeler | Apache License 2.0 |
plugin-bazel-event-service/src/main/kotlin/bazel/bazel/events/TestSummary.kt | JetBrains | 143,697,750 | false | {"Kotlin": 450284, "Java": 15926, "Starlark": 4160, "Gherkin": 3553, "ANTLR": 1773, "Batchfile": 968, "CSS": 636} | /*
* Copyright 2000-2023 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 7 | Kotlin | 10 | 13 | 47f69a5fd7f6f7e851f3373890067d31183330c6 | 1,305 | teamcity-bazel-plugin | Apache License 2.0 |
samples/demoapp/src/main/java/com/joaquimverges/demoapp/ListFragment.kt | joaquim-verges | 126,538,789 | false | null | package com.joaquimverges.demoapp
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.joaquimverges.demoapp.logic.MyListLogic
import com.joaquimverges.demoapp.ui.MyListItem
import com.joaquimverges.helium.co... | 3 | Kotlin | 18 | 345 | f2e2166fcd802696982da00ea785cbb1c473cdeb | 908 | Helium | Apache License 2.0 |
app/src/main/java/org/unifiedpush/example/utils/WebPush.kt | UnifiedPush | 324,809,670 | false | {"Kotlin": 26453} | @file:Suppress("ktlint:standard:no-wildcard-imports")
package org.unifiedpush.example.utils
import android.util.Base64
import com.google.crypto.tink.subtle.EllipticCurves
import java.security.*
import java.security.interfaces.ECPublicKey
import java.security.spec.ECGenParameterSpec
import java.security.spec.PKCS8Enco... | 1 | Kotlin | 9 | 17 | d0142b4dc32782f5709a80f22d1a7f8d1de9cb81 | 2,401 | android-example | Apache License 2.0 |
eth/wallet/src/commonMain/kotlin/kosh/eth/wallet/Secp256k1.kt | niallkh | 855,100,709 | false | {"Kotlin": 1813876, "Swift": 594} | package kosh.eth.wallet
import okio.ByteString
import okio.ByteString.Companion.toByteString
import fr.acinq.secp256k1.Secp256k1 as LibSecp256k1
internal object Secp256k1 {
fun sign(
messageHash: ByteString,
privateKey: ByteString,
): ByteString = LibSecp256k1.sign(
message = messageHa... | 0 | Kotlin | 0 | 3 | f48555a563dfee5b07184771a6c94c065765d570 | 1,130 | kosh | MIT License |
app/src/main/java/com/example/ctut_student/fragments/loginRegister/LoginFragment.kt | seven1106 | 701,369,145 | false | {"Kotlin": 19932} | package com.example.ctut_student.fragments.loginRegister
//import com.example.ctut_student.activities.ShoppingActivity
//import com.example.ctut_student.databinding.ResetPassowrdDialogBinding
//import com.example.ctut_student.dialog.setupBottomSheetDialog
import android.content.Intent
import android.os.Bundle
import an... | 0 | Kotlin | 0 | 0 | 8041bfcc08ee73bf8f470d179c5fe44e674b1df9 | 3,923 | CTUT-Student | MIT License |
src/main/kotlin/com/cycode/plugin/components/toolWindow/components/treeView/utils.kt | cycodehq | 661,784,325 | false | {"Kotlin": 119058} | package com.cycode.plugin.components.toolWindow.components.treeView
import com.cycode.plugin.components.toolWindow.components.treeView.nodes.ScaDetectionNode
import com.cycode.plugin.components.toolWindow.components.treeView.nodes.SecretDetectionNode
import com.intellij.openapi.fileEditor.FileEditorManager
import com.... | 0 | Kotlin | 0 | 1 | 2653ec6d8a3b541c8d6f08a295b8527c552d2b7d | 1,380 | intellij-platform-plugin | MIT License |
sample/src/testSpec/java/com/freeletics/rxredux/PopularRepositoriesSpec.kt | freeletics | 138,705,451 | false | null | package com.freeletics.coredux
import com.freeletics.coredux.businesslogic.pagination.PaginationStateMachine
import io.reactivex.Observable
import okhttp3.mockwebserver.MockWebServer
import org.junit.Assert
import timber.log.Timber
import java.util.concurrent.TimeUnit
/**
* Abstraction layer that shows what a user ... | 24 | null | 6 | 572 | 1560f7ae9bd29b7be11f7a2f2d14e308af07c578 | 6,938 | RxRedux | Apache License 2.0 |
app/src/main/java/com/example/flixsterpart1/CurrentMovieRecyclerViewAdapter.kt | MattPanda4 | 541,942,620 | false | {"Kotlin": 6446} | package com.example.flixsterpart1
import android.content.Context
import android.content.Intent
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import android.widget.Toast
import androidx.rec... | 2 | Kotlin | 0 | 0 | 52ae5f5b53093fe5fe30ac49c18c51b14eedf892 | 2,277 | Flixster_Part_1 | Apache License 2.0 |
app/src/main/kotlin/com/numero/itube/repository/VideoRepository.kt | NUmeroAndDev | 130,776,366 | false | null | package com.numero.itube.repository
import androidx.lifecycle.LiveData
import com.numero.itube.api.request.ChannelVideoRequest
import com.numero.itube.api.request.SearchVideoRequest
import com.numero.itube.api.response.Result
import com.numero.itube.model.*
interface VideoRepository {
fun fetchVideoDetail(videoI... | 2 | Kotlin | 0 | 3 | f1ed07fd0efb98239563c8940f69d498ba6f2602 | 571 | iTube-android | MIT License |
domain/src/main/java/ru/rznnike/eyehealthmanager/domain/gateway/UserGateway.kt | RznNike | 207,148,781 | false | {"Kotlin": 903281} | package ru.rznnike.eyehealthmanager.domain.gateway
import ru.rznnike.eyehealthmanager.domain.model.AcuityTestingSettings
import ru.rznnike.eyehealthmanager.domain.model.TestingSettings
import ru.rznnike.eyehealthmanager.domain.model.enums.AppTheme
interface UserGateway {
suspend fun getWelcomeDialogShowed(): Bool... | 0 | Kotlin | 1 | 5 | ea21e191ea3d6797be32f7f5e66e8e0ebae30ab6 | 967 | EyeHealthManager | MIT License |
RadioButtonMenuItemIcon/src/main/kotlin/example/App.kt | aterai | 158,348,575 | false | null | package example
import java.awt.*
import java.io.Serializable
import javax.swing.*
import javax.swing.plaf.UIResource
fun makeUI() = JPanel(BorderLayout()).also {
EventQueue.invokeLater { it.rootPane.jMenuBar = createMenuBar() }
it.add(JScrollPane(JTextArea()))
it.preferredSize = Dimension(320, 240)
}
private ... | 0 | Kotlin | 6 | 9 | 47a0c684f64c3db2c8b631b2c20c6c7f9205bcab | 2,481 | kotlin-swing-tips | MIT License |
graphite/src/main/kotlin/io/qalipsis/plugins/graphite/GraphiteSpecificationNamespace.kt | qalipsis | 453,136,595 | false | {"Kotlin": 237352} | /*
* Copyright 2022 AERIS IT Solutions GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 0 | Kotlin | 0 | 0 | a832bb4761c139f9e8f7474f39d7a7345f2cda74 | 1,984 | qalipsis-plugin-graphite | Apache License 2.0 |
src/lib/kotlin/slatekit-tests/src/test/kotlin/test/meta/SuspendTests.kt | slatekit | 55,942,000 | false | {"Text": 42, "Ignore List": 42, "YAML": 3, "Markdown": 22, "Gradle": 79, "Shell": 46, "Batchfile": 40, "Java Properties": 25, "Kotlin": 884, "JSON": 12, "INI": 9, "EditorConfig": 26, "Java": 13, "SQL": 1, "XML": 4, "Swift": 3} | package test.meta
import kotlinx.coroutines.runBlocking
import org.junit.Assert
import org.junit.Test
import kiit.apis.executor.Executor
import kiit.meta.Reflector
class SuspendTests {
@Test
fun callSuspend(){
val sample = ReflectSample()
runBlocking {
val member = Reflector.getMe... | 3 | Kotlin | 13 | 112 | d17b592aeb28c5eb837d894e98492c69c4697862 | 1,001 | slatekit | Apache License 2.0 |
pumpkin-protocol-modern/src/main/kotlin/pumpkin/protocol/modern/ModernProtocolState.kt | ItsDoot | 224,063,495 | false | null | package pumpkin.protocol.modern
import pumpkin.protocol.core.Direction
import pumpkin.protocol.core.ProtocolRegistry
import pumpkin.protocol.core.ProtocolState
import pumpkin.protocol.modern.ModernProtocolVersion.Minecraft_1_14_4
import pumpkin.protocol.modern.packet.handshake.SBHandshakePacket
import pumpkin.protocol... | 0 | Kotlin | 1 | 1 | afa6c39fc722f616ee8410b325a402b92994082f | 13,534 | pumpkin | MIT License |
mqtt/src/main/kotlin/com/oneliang/ktx/frame/mqtt/MqttSender.kt | tongxiaoyi | 379,480,354 | false | null | package com.oneliang.ktx.frame.mqtt
import com.oneliang.ktx.frame.handler.SendHandler
import com.oneliang.ktx.util.logging.LoggerManager
import org.fusesource.mqtt.client.BlockingConnection
import org.fusesource.mqtt.client.QoS
class MqttSender(host: String, username: String, password: String, threadCount: Int = 2) {... | 1 | null | 2 | 1 | 1a4cbe107b7adc8941691911f75c3fc2aa383ca1 | 861 | frame-kotlin | Apache License 2.0 |
android/app/src/main/kotlin/com/example/movies_streaming/MainActivity.kt | asnan23 | 372,857,935 | false | {"Dart": 25267, "HTML": 1521, "Swift": 404, "Kotlin": 133, "Objective-C": 38} | package com.example.movies_streaming
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 7c7f9f080d8dee124538fa7814dea0a7ebc7eca4 | 133 | flutter_submission1 | MIT License |
AvataryugKotlinSDK/app/src/main/java/Avataryug/Client/Api/AvatarManagementApi.kt | avataryug | 676,819,707 | false | {"Kotlin": 702219} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.Avataryug.client.Apis
import Avatar... | 0 | Kotlin | 0 | 1 | e340350f2c70e1020d2f3330229ac74d9b59fda2 | 47,017 | avataryug-sdk-for-kotlin | Apache License 2.0 |
desktop/ConstraintLayoutInspector/app/src/androidx/constraintLayout/desktop/link/LayoutView.kt | zhaopengpeng025 | 385,005,083 | true | {"Java": 4619891, "Kotlin": 368933, "Shell": 1512} | /*
* 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 | 0 | 582b571b14b2fb549a891f28edfe8a93d39ce82a | 6,412 | constraintlayout | Apache License 2.0 |
app/src/main/java/com/kylecorry/trail_sense/tools/weather/ui/fields/PressureWeatherField.kt | kylecorry31 | 215,154,276 | false | null | package com.kylecorry.trail_sense.tools.weather.ui.fields
import android.content.Context
import com.kylecorry.andromeda.core.system.Resources
import com.kylecorry.andromeda.views.list.ListItem
import com.kylecorry.andromeda.views.list.ResourceListIcon
import com.kylecorry.sol.units.Pressure
import com.kylecorry.trail_... | 456 | null | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 1,184 | Trail-Sense | MIT License |
src/main/kotlin/io/newm/kogmios/protocols/messages/MsgSubmitTxResponse.kt | projectNEWM | 469,781,993 | false | {"Kotlin": 341920, "Shell": 26} | package io.newm.kogmios.protocols.messages
import io.newm.kogmios.protocols.model.result.SubmitTxResult
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* Response that comes back from Ogmios after a submitTx message is sent.
*/
@Serializable
@SerialName(MsgSubmitTx.METHOD_SUBMI... | 0 | Kotlin | 1 | 4 | 74366f8b75ba73db5341df34389eb90b5d2d6ba9 | 505 | kogmios | Apache License 2.0 |
orbit-core/src/commonMain/kotlin/org/orbitmvi/orbit/ContainerDecorator.kt | orbit-mvi | 323,600,732 | false | null | /*
* Copyright 2021 <NAME> & Appmattus Limited
* Copyright 2020 Babylon Partners Limited
*
* 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... | 31 | null | 55 | 865 | 0d7a4aedb1044d9c422a25e76ad8e6a84ae3fa50 | 2,045 | orbit-mvi | Apache License 2.0 |
src/main/kotlin/com/tiquionophist/ui/ApplicationPreferences.kt | tiquionophist | 405,590,882 | false | {"Kotlin": 283918} | package com.tiquionophist.ui
import androidx.compose.runtime.mutableStateOf
import java.io.File
import java.util.prefs.Preferences
import kotlin.reflect.KProperty
/**
* Stores application-wide preferences which should be persisted between runs of the application.
*/
object ApplicationPreferences {
private val p... | 1 | Kotlin | 0 | 5 | 18fa40446c0828d3251f89777292a2f8c4f8f3b9 | 2,275 | hhs-scheduler | MIT License |
solar/src/main/java/com/chiksmedina/solar/boldduotone/security/Incognito.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.boldduotone.security
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,846 | SolarIconSetAndroid | MIT License |
src/main/kotlin/com/github/hooll/commands/subCommands/CommandSell.kt | hooll | 504,188,789 | false | {"Kotlin": 28676} | package com.github.hooll.commands.subCommands
import com.github.hooll.api.ZheFishApi
import com.github.hooll.info
import org.bukkit.entity.Player
import org.bukkit.inventory.ItemStack
import taboolib.common.platform.command.subCommand
import taboolib.platform.compat.VaultService
import taboolib.platform.util.isAir
ob... | 0 | Kotlin | 0 | 1 | 343ccdb14e340a85ad162270c6135b22a86d19d9 | 1,297 | ZheFish | Creative Commons Zero v1.0 Universal |
bukkit/rpk-economy-bukkit/src/main/kotlin/com/rpkit/economy/bukkit/database/table/MoneyHiddenTable.kt | Nyrheim | 269,929,653 | true | {"Gradle": 71, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "INI": 1, "YAML": 103, "Kotlin": 1043, "Java": 291, "HTML": 23, "CSS": 2, "JavaScript": 1} | /*
* 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | null | 0 | 0 | f2196a76e0822b2c60e4a551de317ed717bbdc7e | 6,088 | RPKit | Apache License 2.0 |
src/main/kotlin/br/com/jiratorio/aspect/BenchMarkAspect.kt | andrelugomes | 230,294,644 | true | {"Kotlin": 541514, "PLSQL": 366, "Dockerfile": 315, "TSQL": 269} | package br.com.jiratorio.aspect
import br.com.jiratorio.extension.log
import org.aspectj.lang.ProceedingJoinPoint
import org.aspectj.lang.annotation.Around
import org.aspectj.lang.annotation.Aspect
import org.springframework.stereotype.Component
import org.springframework.util.StopWatch
@Aspect
@Component
class Bench... | 0 | null | 0 | 1 | 168de10e5e53f31734937816811ac9dae6940202 | 959 | jirareport | MIT License |
src/main/kotlin/br/com/jiratorio/aspect/BenchMarkAspect.kt | andrelugomes | 230,294,644 | true | {"Kotlin": 541514, "PLSQL": 366, "Dockerfile": 315, "TSQL": 269} | package br.com.jiratorio.aspect
import br.com.jiratorio.extension.log
import org.aspectj.lang.ProceedingJoinPoint
import org.aspectj.lang.annotation.Around
import org.aspectj.lang.annotation.Aspect
import org.springframework.stereotype.Component
import org.springframework.util.StopWatch
@Aspect
@Component
class Bench... | 0 | null | 0 | 1 | 168de10e5e53f31734937816811ac9dae6940202 | 959 | jirareport | MIT License |
core/filters/src/main/java/ru/tech/imageresizershrinker/core/filters/domain/model/WaterParams.kt | T8RIN | 478,710,402 | false | {"Kotlin": 6498864} | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (Malik Mukhametzyanov)
*
* 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
* dist... | 10 | Kotlin | 176 | 3,817 | 486410d4a9ea3c832fc5aa63eb5bdc7b1fab871d | 972 | ImageToolbox | Apache License 2.0 |
data/sqldelight/src/nonAndroidMain/kotlin/com/taetae98/codelab/data/sqldelight/MemoLocalDataSourceImpl.kt | taetae98coding | 708,459,882 | false | {"Kotlin": 140653, "Swift": 1267, "HTML": 233, "Ruby": 109} | package com.taetae98.codelab.data.sqldelight
import app.cash.paging.PagingSource
import app.cash.sqldelight.paging3.QueryPagingSource
import com.taetae98.codelab.data.dto.MemoDto
import com.taetae98.codelab.data.local.MemoLocalDataSource
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.withConte... | 0 | Kotlin | 0 | 0 | ff8c88d02ca19066fe0373aa15e27167674dc3ab | 1,513 | CodeLab | Apache License 2.0 |
app/src/main/java/com/mollie/checkout/feature/payments/create/CreatePaymentViewModel.kt | mollie | 431,494,734 | false | {"Kotlin": 74081} | package com.mollie.checkout.feature.payments.create
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.mollie.checkout.R
import com.mollie.checkout.data.PaymentsRepository
import com.mollie.checkout.data.model.Payment
import com.mollie.checkout.feature.base.... | 1 | Kotlin | 2 | 2 | fa2ea1801b6ffc11246fa55fc779bc44427b2bba | 2,650 | demo-checkout-android | MIT License |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/appmesh/CfnRouteHttpPathMatchPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.appmesh
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,403 | awscdk-dsl-kotlin | Apache License 2.0 |
src/commonMain/kotlin/character/classes/priest/specs/Shadow.kt | marisa-ashkandi | 332,658,265 | false | null | package character.classes.priest.specs
import character.Spec
import character.SpecEpDelta
class Shadow : Spec() {
override val name: String = "Shadow"
override val epBaseStat: SpecEpDelta = spellPowerBase
override val epStatDeltas: List<SpecEpDelta> = defaultCasterDeltas
// All sockets are a flat 12 ... | 21 | Kotlin | 11 | 25 | 9cb6a0e51a650b5d04c63883cb9bf3f64057ce73 | 623 | tbcsim | MIT License |
shared/src/commonMain/kotlin/ui/matches/model/MatchesScreenParams.kt | Markable97 | 658,889,189 | false | null | package ui.matches.model
sealed class MatchesScreenParams(
val title: String,
) {
class TeamMatches(
val teamName: String,
val teamId: Int
) : MatchesScreenParams(teamName)
class TournamentMatches(
val tournamentName: String,
val tournamentId: Int
) : MatchesScreen... | 0 | Kotlin | 0 | 1 | 01b18bf170eb206ffdf27bf71e7bcf6f62ab1e78 | 622 | SportCommunityKMM | Apache License 2.0 |
bindings/core/gio/src/nativeMain/kotlin/org/gtkkn/bindings/gio/StaticResource.kt | gtk-kn | 609,191,895 | false | {"Kotlin": 10448515, "Shell": 2740} | // This is a generated file. Do not modify.
package org.gtkkn.bindings.gio
import kotlinx.cinterop.CPointed
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.reinterpret
import org.gtkkn.extensions.glib.Record
import org.gtkkn.extensions.glib.RecordCompanion
import org.gtkkn.native.gio.GStaticResource
import or... | 0 | Kotlin | 0 | 13 | c033c245f1501134c5b9b46212cd153c61f7efea | 2,542 | gtk-kn | Creative Commons Attribution 4.0 International |
library/src/main/java/fr/baiget/simplenumberpicker/decimal/DecimalPickerDialog.kt | StephaneBg | 84,314,738 | false | null | /*
* Copyright 2017 <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 writin... | 1 | null | 25 | 182 | 28a5f88c85521bee2f4b57f49e067f2974963332 | 10,023 | SimpleNumberPicker | Apache License 2.0 |
shared/core/kotlin/com/github/salomonbrys/kodein/internal/CMap.kt | suclike | 123,946,819 | true | {"Kotlin": 367343, "Java": 15376, "Shell": 723, "HTML": 718} | package com.github.salomonbrys.kodein.internal
import com.github.salomonbrys.kodein.bindings.Binding
import com.github.salomonbrys.kodein.Kodein
/**
* Behaves like a `Map<Kodein.Key, Binding<*, Any>>`, but with some extra caching.
*
* Each time a new entry is added, the entry is put as-is in the [_map].
* If the ... | 0 | Kotlin | 0 | 0 | b82605d7b3750f9a98c3a4aad91a9fd6f0de7818 | 3,782 | Kodein | MIT License |
subprojects/gradle/build-metrics/src/main/kotlin/com/avito/android/plugin/build_metrics/CollectTeamcityMetricsAction.kt | matzuk | 257,593,222 | true | {"Kotlin": 2509850, "Shell": 16022, "Python": 14063, "Dockerfile": 7151, "Makefile": 2131} | package com.avito.android.plugin.build_metrics
import com.avito.android.graphite.GraphiteMetric
import com.avito.android.graphite.GraphiteSender
import com.avito.android.stats.graphiteSeries
import com.avito.android.stats.graphiteSeriesElement
import com.avito.teamcity.TeamcityApi
import org.jetbrains.teamcity.rest.Bu... | 0 | null | 1 | 0 | 796288a25a3a418ff09fe18239b60941e76e4d19 | 1,413 | avito-android | Apache License 2.0 |
src/main/kotlin/apollointhehouse/betterwithweed/BetterWithWeed.kt | Apollointhehouse | 704,758,442 | false | {"Kotlin": 9398} | package apollointhehouse.betterwithweed
import apollointhehouse.betterwithweed.block.ModBlocks
import apollointhehouse.betterwithweed.item.ModItems
import net.fabricmc.api.ModInitializer
import org.slf4j.Logger
import org.slf4j.LoggerFactory
object BetterWithWeed: ModInitializer {
const val MOD_ID: String = "betterw... | 0 | Kotlin | 0 | 0 | f9c57e389fdc5032c28e403f2b2cadc58e45600b | 523 | BetterWithWeed | Creative Commons Zero v1.0 Universal |
android/app/src/main/java/com/kaelesty/audionautica/presentation/composables/access/AccessScreen.kt | Kaelesty | 698,507,418 | false | {"Kotlin": 62935, "Python": 14431} | package com.kaelesty.audionautica.presentation.composables.access
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.... | 0 | Kotlin | 1 | 1 | aeceff48eab5e90608cd30aaa22213e7b0684657 | 3,115 | project-fullstack-audionautica | The Unlicense |
api/cache/src/main/kotlin/org/rsmod/api/cache/Js5Archives.kt | rsmod | 293,875,986 | false | {"Kotlin": 1817705} | package org.alter.api.cache
public object Js5Archives {
public const val TOTAL_ARCHIVES: Int = 22
public const val ANIMS: Int = 0
public const val BASES: Int = 1
public const val CONFIG: Int = 2
public const val INTERFACES: Int = 3
public const val SYNTHS: Int = 4
public const val MAPS: I... | 8 | Kotlin | 64 | 95 | 3ba446ed70bcde0870ef431e1a8527efc6837d6c | 1,003 | rsmod | ISC License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Pyramid.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,429 | icons | MIT License |
untitled/src/main/kotlin/ativ_pratica/L1/q06.kt | leticiasaraivafontenele | 765,887,801 | false | {"Kotlin": 38029, "Java": 9595} | fun reais(){
println("os reais contem os racionais...")
racionais()
}
fun racionais(){
println("os racionais contem os inteiros...")
inteiros()
}
fun inteiros(){
println("os inteiros contem os naturais...")
naturais()
}
fun naturais(){
println("e os naturais contem o 0.")
}
fun main() {
... | 0 | Kotlin | 0 | 0 | e10945a21ac5a61ff3a0d570715bb118e32fa277 | 330 | CursoIntroducao-Dev-Android | MIT License |
platform/src/test/kotlin/uk/gov/gdx/datashare/integration/repository/AcquirerSubscriptionEnrichmentFieldRepositoryTest.kt | alphagov | 549,031,617 | false | null | package uk.gov.gdx.datashare.integration.repository
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import uk.gov.gdx.datashare.helpers.builders.AcquirerBuilder
import uk.gov.gdx.datashare.helpers.builders.AcquirerSubscri... | 16 | Kotlin | 4 | 14 | 1cb74b085dfe446438bf9a24df5655d589b8432e | 3,750 | di-data-life-events-platform | MIT License |
Algorithm/src/main/kotlin/baekjoon/silver/2178.kt | getupminaaa | 740,836,169 | false | {"Kotlin": 41552} | package baekjoon.silver
import java.io.BufferedReader
import java.io.InputStreamReader
import java.util.*
private var n = 0
private var m = 0
private lateinit var mazeInfo: MutableList<MutableList<Int>>
private lateinit var visitInfo: MutableList<MutableList<Int>>
private val dx = intArrayOf(-1, 0, 1, 0)
private val... | 0 | Kotlin | 0 | 0 | 7f75e681085eb31303cd67f2c888979bf8142788 | 1,364 | Algorithm | MIT License |
data/src/main/java/com/anangkur/budgetku/data/model/budget/ProjectEntity.kt | anangkur | 270,303,728 | false | {"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 11, "Batchfile": 1, "Markdown": 1, "INI": 6, "Proguard": 6, "XML": 72, "Kotlin": 188, "JSON": 1, "Java": 8, "Gradle Kotlin DSL": 1, "JAR Manifest": 1, "SQL": 1} | package com.anangkur.budgetku.data.model.budget
data class ProjectEntity(
val id: String,
val title: String,
val startDate: String,
val endDate: String,
val listCategory: List<CategoryProjectEntity>
) | 10 | Kotlin | 0 | 3 | 82dc439d0df25cc894de5fc8d2604f1670c6cf31 | 221 | Budget-Ku | MIT License |
app/src/main/java/com/zaurh/bober/data/tenor/TenorResponse.kt | zaurh | 853,441,625 | false | {"Kotlin": 483608} | package com.zaurh.bober.data.tenor
data class TenorResponse(
val results: List<GifResult>?
)
data class GifResult(
val media: List<MediaFormat>?
)
data class MediaFormat(
val gif: GifFormat?
)
data class GifFormat(
val url: String?
) | 0 | Kotlin | 0 | 1 | 94b466d2af0556f50990d8effb3ac65c8e62f278 | 253 | Bober | MIT License |
ui-lib/src/androidTest/java/co/electriccoin/zcash/ui/fixture/MockSynchronizer.kt | Electric-Coin-Company | 390,808,594 | false | null | package co.electriccoin.zcash.ui.fixture
import android.content.Context
import cash.z.ecc.android.sdk.CloseableSynchronizer
import cash.z.ecc.android.sdk.Synchronizer
import cash.z.ecc.android.sdk.block.processor.CompactBlockProcessor
import cash.z.ecc.android.sdk.model.Account
import cash.z.ecc.android.sdk.model.Bloc... | 185 | null | 15 | 25 | 359d4a5eea03dfb3c1ffbc5df1baca1c6f7917a7 | 7,399 | zashi-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.