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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
test/plugin/scenarios/kotlin-coroutine-scenario/src/main/kotlin/org/apache/skywalking/apm/testcase/kotlin/coroutine/util/Connection.kt | apache | 400,172,901 | false | {"Java": 9673861, "Shell": 200860, "Kotlin": 7757, "Scala": 6067, "Dockerfile": 3510, "Thrift": 2809, "Makefile": 2694, "Python": 2228} | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 0 | Java | 587 | 756 | 615a1b11bb49106ae9b8dc49da53caef2ec038ae | 1,051 | skywalking-java | Apache License 2.0 |
buildSrc/src/main/java/Data.kt | hassan0shaban | 373,620,499 | false | null | object Data {
const val model = ":data:model"
const val REPOSITORY = ":data:repository"
const val localRoom = ":data:local:room"
const val localSqlLight = ":data:local:sql-delight"
const val remoteApi = ":data:remote:api"
const val remoteFirebase = ":data:remote:firebase"
const val REMOTE_SO... | 1 | Kotlin | 1 | 1 | 210e8a704b126a55eaaea7afef7b3272542b501c | 390 | Hayat-EG-Android | MIT License |
idea/testData/codeInsight/overrideImplement/copyKDoc.kt | JakeWharton | 99,388,807 | false | null | // FIR_IDENTICAL
// COPY_DOC
abstract class A {
/**
* @see TEST
*/
abstract fun foo()
}
class B : A() {
<caret>
} | 0 | null | 30 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 136 | kotlin | Apache License 2.0 |
core/src/main/kotlin/org/jetbrains/research/kex/state/predicate/InequalityPredicate.kt | vorpal-research | 204,454,367 | false | null | package org.jetbrains.research.kex.state.predicate
import kotlinx.serialization.ContextualSerialization
import kotlinx.serialization.Required
import kotlinx.serialization.Serializable
import org.jetbrains.research.kex.state.InheritorOf
import org.jetbrains.research.kex.state.term.Term
import org.jetbrains.research.kex... | 5 | null | 11 | 9 | a4fae9fd800a3972434843bf1e06d09c57cf52d4 | 1,097 | kex | Apache License 2.0 |
samples/kotlin/src/test/kotlin/funcatron/sample/kotlin/FuncTest.kt | funcatron | 66,784,101 | false | null | package funcatron.sample.kotlin
import com.fasterxml.jackson.databind.ObjectMapper
import funcatron.intf.MetaResponse
import funcatron.intf.impl.ContextImpl
import io.kotlintest.matchers.be
import io.kotlintest.matchers.have
import io.kotlintest.specs.WordSpec
import java.util.logging.Logger
class FuncTests : WordSpe... | 22 | Java | 6 | 39 | 85af1fdfeff2464bb154edca125a5ef64692b547 | 2,734 | funcatron | Apache License 2.0 |
app/src/main/java/com/mapbox/maps/testapp/examples/LargeGeojsonPerformanceActivity.kt | mapbox | 330,365,289 | false | null | package com.mapbox.maps.testapp.examples
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import androidx.core.graphics.drawable.toBitmap
import androidx.lifecycle.lifecycleScope
import com.mapbox.geojson.Feature
import com.mapbox.geojson.Point
import ... | 216 | null | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 4,607 | mapbox-maps-android | Apache License 2.0 |
src/main/java/org/mtransit/parser/db/SQLUtils.kt | mtransitapps | 24,851,212 | false | null | @file:Suppress("unused")
package org.mtransit.parser.db
import org.apache.commons.text.translate.CharSequenceTranslator
import org.apache.commons.text.translate.LookupTranslator
import org.mtransit.commons.Constants
import org.mtransit.parser.MTLog
import org.sqlite.SQLiteException
import java.sql.Connection
import j... | 1 | null | 3 | 4 | 2d997b9d0eedc80a694f6529e04bdd08b3413837 | 3,216 | parser | Apache License 2.0 |
app/src/main/java/cn/cqautotest/sunnybeach/paging/source/msg/MsgListFactory.kt | anjiemo | 378,095,612 | false | null | package cn.cqautotest.sunnybeach.paging.source.msg
import cn.cqautotest.sunnybeach.paging.source.msg.factory.*
import cn.cqautotest.sunnybeach.paging.source.msg.impl.MsgType
/**
* author : <NAME>
* github : https://github.com/anjiemo/SunnyBeach
* time : 2021/10/27
* desc : 列表消息 PagingSource 工厂
*/
object MsgL... | 0 | null | 18 | 95 | a2402da1cb6af963c829a69d9783053f15d866b5 | 753 | SunnyBeach | Apache License 2.0 |
customcamera/src/main/java/com/talentica/androidkotlin/customcamera/ui/landing/LandingActivityView.kt | Talentica | 92,832,021 | false | null | package com.talentica.androidkotlin.customcamera.ui.landing
import com.talentica.androidkotlin.customcamera.adapter.landing.LandingGalleryAdapter
interface LandingActivityView {
open fun closeDrawer()
fun setAdapter(adapter:LandingGalleryAdapter)
} | 0 | Kotlin | 126 | 521 | 08d3d5d396aa9263030d37eea5a323a39b04c80c | 258 | AndroidWithKotlin | Apache License 2.0 |
feature_audiobook_enhance_details/src/main/java/com/allsoftdroid/audiobook/feature/feature_audiobook_enhance_details/utils/BestBookDetailsParser.kt | pravinyo | 209,936,085 | false | null | package com.allsoftdroid.audiobook.feature.feature_audiobook_enhance_details.utils
import com.allsoftdroid.audiobook.feature.feature_audiobook_enhance_details.data.model.WebDocument
import org.jsoup.Jsoup
import timber.log.Timber
import java.lang.IllegalArgumentException
import java.util.*
class BestBookDetailsParser... | 3 | Kotlin | 4 | 12 | 8358f69c0cf8dbde18904b0c3a304ec89b518c9b | 3,902 | AudioBook | MIT License |
app/src/test/java/org/stepic/droid/model/code/CodeLimitTest.kt | OwaisKhatri | 141,885,133 | true | {"Java": 1896222, "Kotlin": 1348517, "CSS": 3790, "Shell": 618, "Prolog": 98} | package org.stepic.droid.model.code
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.stepic.droid.testUtils.assertThatObjectParcelable
@RunWith(RobolectricTestRunner::class)
class CodeLimitTest {
@Test
fun simpleLimit_success() {
val limit ... | 0 | Java | 0 | 0 | 9418c42535ef5c5ff472d9d21b78ec2a8a8cb602 | 402 | stepik-android | Apache License 2.0 |
js/js.translator/testData/reservedWords/cases/delegatedVarInterface.kt | staltz | 38,581,975 | true | {"Markdown": 34, "XML": 687, "Ant Build System": 40, "Ignore List": 8, "Git Attributes": 1, "Kotlin": 18510, "Java": 4307, "Protocol Buffer": 4, "Text": 4085, "JavaScript": 63, "JAR Manifest": 3, "Roff": 30, "Roff Manpage": 10, "INI": 7, "HTML": 135, "Groovy": 20, "Maven POM": 50, "Gradle": 71, "Java Properties": 10, "... | package foo
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
interface Trait {
var `interface`: Int
}
class TraitImpl : Trait {
override var `interface`: Int = 0
}
class TestDelegate : Trait by TraitImpl() {
fun test() {
testNotRenamed("interface", { `... | 0 | Java | 0 | 1 | ff00bde607d605c4eba2d98fbc9e99af932accb6 | 407 | kotlin | Apache License 2.0 |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package90/Foo09029.kt | yamamotoj | 163,851,411 | false | null | package com.github.yamamotoj.singlemoduleapp.package90
class Foo09029 {
fun method0() {
Foo09028().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun met... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 355 | android_multi_module_experiment | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt | ingokegel | 72,937,917 | true | null | // WITH_STDLIB
// FIX: Convert to 'let'
val x = "".<caret>run {
this.length
length
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 94 | intellij-community | Apache License 2.0 |
sunflower/src/main/java/com/jetpack/sunflower/viewmodels/PlantDetailViewModel.kt | pengmeng5678 | 214,829,839 | false | {"Java": 3015842, "Kotlin": 172652, "C++": 7561, "Shell": 2978, "Python": 1992} | package com.jetpack.sunflower.viewmodels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.jetpack.sunflower.data.GardenPlantingRepository
import com.jetpack.sunflower.data.PlantRepository
import kotlinx.coroutines.launch
class PlantDetailViewModel(
plantRepository: Plant... | 1 | Java | 1 | 3 | 3c3aa93c449b3ffc4ff2d713bf3c17a622eeff3a | 723 | JetpackStuding | Apache License 2.0 |
runtime/jvmMain/src/kotlinx/serialization/JvmResolving.kt | robinkanters | 204,015,265 | false | null | /*
* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization
import kotlinx.serialization.internal.*
import kotlinx.serialization.builtins.*
import java.lang.reflect.*
import kotlin.reflect.*
@PublishedApi
internal open class TypeBase<T>
... | 1 | null | 1 | 1 | 72d082cec6c1c8570ebb2673bf94339ba695cca5 | 4,107 | kotlinx.serialization | Apache License 2.0 |
app/src/main/java/com/lukasanda/aismobile/ui/main/people/PeopleFragment.kt | LukasAnda | 190,038,327 | false | {"Java": 546002, "Kotlin": 312655} | /*
* Copyright 2020 <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 agreed... | 1 | Java | 1 | 1 | ab6bcce5b23ebf99ca34fd25ab76983938baae90 | 2,829 | ais-mobile | Apache License 2.0 |
app/src/test/java/com/iliaberlana/myrecipepuppy/framework/remote/RecipeRepositoryTest.kt | siayerestaba | 197,544,269 | false | null | package com.iliaberlana.myrecipepuppy.framework.remote
import com.iliaberlana.myrecipepuppy.domain.entities.Recipe
import com.iliaberlana.myrecipepuppy.domain.exception.DomainError
import com.iliaberlana.myrecipepuppy.framework.RecipeRepositoryImpl
import com.iliaberlana.myrecipepuppy.framework.remote.RecipeRemoteData... | 1 | null | 1 | 1 | 93ebe11e2ff5218fdc4700b5ef7876fe950606a1 | 2,732 | myrecipespuppy | MIT License |
medeia-validator-core/src/main/kotlin/com/worldturner/medeia/api/ValidationFailedException.kt | crunchyroll | 193,698,964 | true | {"Kotlin": 359249, "Java": 18810} | package com.worldturner.medeia.api
class ValidationFailedException(val failures: List<FailedValidationResult>) :
RuntimeException(failures.toString()) {
constructor(vararg failures: FailedValidationResult) : this(failures.toList())
}
| 1 | Kotlin | 0 | 0 | 9f435c57f5a31cc5f7fbde6cdae747c38a2ed9ec | 244 | medeia-validator | Apache License 2.0 |
plugins/evaluation-plugin/core/src/com/intellij/cce/metric/MetricInfo.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.cce.metric
class MetricInfo(
name: String,
val description: String,
val value: Double,
val confidenceInterval: Pair<Double, Double>?,
evaluationType: String,
val val... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 500 | intellij-community | Apache License 2.0 |
src/main/java/com/start/chateze/NewMessageActivity.kt | yyprince334 | 261,374,996 | false | null | package com.start.chateze
import android.app.Activity
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Parcelable
import android.provider.MediaStore
import android.util.Log
import android.widget.Toast
import com.google.fireb... | 1 | Kotlin | 0 | 1 | 5dbb1f0d06d6716bf15875a020afe19e370d966e | 2,863 | Comunicador | Apache License 2.0 |
sdks/kotlin/issuer_api/v1/GetLimitsResponseKt.kt | knox-networks | 595,429,463 | false | {"Rust": 17246636, "C++": 6138133, "C#": 3083132, "JavaScript": 2183132, "TypeScript": 1665259, "Kotlin": 1249671} | // Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: issuer_api/v1/issuer.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package issuer_api.v1;
@kotlin.jvm.JvmName("-initializegetLimitsResponse")
public inline fun getLimitsR... | 0 | Rust | 1 | 0 | 16af58a5dc1e9e51859be4a6e0f6791b7adcb2f2 | 4,640 | grpc-sdks | Apache License 2.0 |
plot-core/src/commonMain/kotlin/org/jetbrains/letsPlot/core/plot/base/stat/math3/AbstractRealDistribution.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2023. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.core.plot.base.stat.math3
import kotlin.math.sqrt
/**
* Base class for probability distributions on the reals.
* Default implementations are ... | 93 | Kotlin | 47 | 889 | 2fb1fe8e812ed0b84cd32954331a76775e75d4d2 | 5,536 | lets-plot | MIT License |
data/src/main/java/com/example/data/mappers/BookThatReadDataMapper.kt | yusuf0405 | 484,801,816 | false | null | package com.example.data.mappers
import com.example.data.models.BookThatReadData
import com.example.domain.Mapper
import com.example.domain.models.BookThatReadDomain
import com.example.domain.models.BookThatReadPosterDomain
class BookThatReadDataMapper : Mapper<BookThatReadData, BookThatReadDomain> {
override fun... | 1 | null | 1 | 3 | e1ecdb14efbf7a25643ded1319841712f5e12a3b | 953 | BookLoverFinalApp | Apache License 1.1 |
doctor-plugin/src/main/java/com/osacky/doctor/JavaAnnotationTime.kt | runningcode | 200,733,919 | false | null | package com.osacky.doctor
import com.osacky.tagger.ScanApi
import io.reactivex.rxjava3.disposables.CompositeDisposable
import io.reactivex.rxjava3.disposables.Disposable
import org.gradle.api.artifacts.ConfigurationContainer
import org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationType
import org.gradle.i... | 23 | null | 23 | 436 | f2ff04b358535ba5630398e83d671749e8397d13 | 2,919 | gradle-doctor | Apache License 2.0 |
app/src/main/java/com/rynkbit/coffeestore/export/ExportDataRunnable.kt | meik99 | 172,049,712 | false | null | package com.rynkbit.coffeestore.export
class ExportDataRunnable: Runnable{
override fun run() {
}
} | 0 | Kotlin | 0 | 0 | faea6cd8174355c8f4b0bdd8288205a9dbf98748 | 109 | CoffeeStore | MIT License |
src/commonMain/kotlin/baaahs/gl/result/ColorResultType.kt | baaahs | 174,897,412 | false | null | package baaahs.gl.result
import baaahs.Color
import baaahs.device.PixelArrayDevice
import baaahs.fixtures.Fixture
import baaahs.gl.GlContext
import baaahs.io.ByteArrayWriter
import baaahs.sm.brain.proto.Pixels
import baaahs.visualizer.remote.RemoteVisualizers
import com.danielgergely.kgl.ByteBuffer
import com.danielge... | 99 | null | 12 | 40 | acdd13a4d34ebdcea0b7452bee6e187954db3fd0 | 5,189 | sparklemotion | MIT License |
foryouandme/src/main/java/com/foryouandme/ui/studyinfo/StudyInfoData.kt | 4YouandMeData | 610,425,317 | false | null | package com.foryouandme.ui.studyinfo
import com.foryouandme.core.arch.LazyData
import com.foryouandme.core.arch.toData
import com.foryouandme.domain.error.ForYouAndMeException
import com.foryouandme.entity.configuration.Configuration
import com.foryouandme.entity.study.StudyInfo
import com.foryouandme.entity.user.User... | 0 | Kotlin | 0 | 0 | bc82972689db5052344365ac07c8f6711f5ad7fa | 1,036 | 4YouandMeAndroid | MIT License |
android/app/src/main/java/rocks/poopjournal/fucksgiven/presentation/widget/WidgetTheme.kt | Crazy-Marvin | 88,270,317 | false | {"Kotlin": 163243} | package rocks.poopjournal.fucksgiven.presentation.widget
import android.R
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dynamicDarkColorScheme
import androidx.compose.material3.dynamicLightColorScheme
i... | 3 | Kotlin | 9 | 98 | 9f39580a8bb8cd01f92262360a1c6d1d4c353b66 | 1,746 | FucksGiven | Apache License 2.0 |
ImagePickerDemo/src/main/java/com/paniclabs/imagepickerdemo/ImageController.kt | panicDev | 554,733,880 | false | null | package com.paniclabs.imagepickerdemo
import android.net.Uri
import android.widget.ImageView
import com.bumptech.glide.Glide
import com.bumptech.glide.load.DecodeFormat
import com.bumptech.glide.request.RequestOptions
class ImageController(private val imgMain: ImageView) {
fun setImgMain(path: Uri) {
val... | 0 | Kotlin | 0 | 0 | 66aa2c5484e787da1a1f2d85f8b9c28fdd0a9e2d | 591 | ip | Apache License 2.0 |
model-provider/src/main/kotlin/com/flixclusive/model/provider/ProviderManifest.kt | flixclusiveorg | 878,786,303 | false | {"Kotlin": 153000} | package com.boooplay.model.provider
import kotlinx.serialization.Serializable
/**
* Represents the manifest information of a provider.
*
* @property providerClassName The fully qualified class name of the provider.
* @property name The name of the provider.
* @property versionName The version name of the provide... | 0 | Kotlin | 1 | 0 | 57fb0d117de780f7b8ddc40e80b9c60b76298ccb | 796 | core-stubs | MIT License |
src/test/kotlin/dev/twelveoclock/lang/crescent/CrescentLexerTests.kt | camdenorrb | 261,362,729 | false | {"Kotlin": 242071, "Moocode": 2616, "Cap'n Proto": 1594, "Mercury": 270} | package dev.twelveoclock.lang.crescent
import dev.twelveoclock.lang.crescent.data.TestCode
import dev.twelveoclock.lang.crescent.language.token.CrescentToken.*
import dev.twelveoclock.lang.crescent.language.token.CrescentToken.Operator.*
import dev.twelveoclock.lang.crescent.language.token.CrescentToken.Statement.*
im... | 10 | Kotlin | 0 | 8 | 9f1371fd93e8818c1ebb27b1b482818353ccc5ed | 20,005 | CrescentLang | MIT License |
src/net/sheltem/aoc/y2022/Day07.kt | jtheegarten-iits | 572,901,679 | false | {"Kotlin": 144552} | package net.sheltem.aoc.y2022
const val maxSpace: Long = 70_000_000
const val spaceNeeded: Long = 30_000_000
fun main() {
Day07().run()
}
class Day07 : Day<Long>(95437, 24933642) {
override fun part1(input: List<String>): Long = input.buildTree().getAllFolders().map { it.size }.filter { it <= 100_000 }.sum(... | 0 | Kotlin | 0 | 0 | 6053db1a69eb48b9119fa771ca67741edaca53d8 | 1,803 | aoc-2022 | Apache License 2.0 |
app/src/main/java/com/example/job_seeker/domain/usecase/user_jobs/AddUserJobUseCase.kt | Lasha-Ilashvili | 783,891,258 | false | {"Kotlin": 68837} | package com.example.job_seeker.domain.usecase.user_jobs
import com.example.job_seeker.domain.model.user_jobs.GetUserJob
import com.example.job_seeker.domain.repository.user_jobs.UserJobsRepository
import javax.inject.Inject
class AddUserJobUseCase @Inject constructor(
private val userJobsRepository: UserJobsRepo... | 0 | Kotlin | 0 | 0 | ad7fef56994ccc367e1ab47305f6f8085bd9d9a6 | 444 | Job_Seeker | The Unlicense |
src/main/kotlin/com/github/redfoos/logstash/highlighting/LogstashSyntaxHighlighterFactory.kt | ikorennoy | 184,783,429 | false | null | package com.github.redfoos.logstash.highlighting
import com.intellij.openapi.fileTypes.SyntaxHighlighter
import com.intellij.openapi.fileTypes.SyntaxHighlighterFactory
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile
class LogstashSyntaxHighlighterFactory: SyntaxHighlighterFacto... | 1 | Kotlin | 14 | 18 | a6a57c1bf60fa76f71e2fc4c9f44781cd5b69e76 | 483 | logstash-intellij-plugin | MIT License |
composeApp/src/commonMain/kotlin/com/rwmobi/kunigami/data/source/local/database/interfaces/DatabaseDataSource.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 1440473, "Ruby": 2466, "Swift": 693} | /*
* Copyright (c) 2024. RW MobiMedia UK Limited
*
* Contributions made by other developers remain the property of their respective authors but are licensed
* to RW MobiMedia UK Limited and others under the same licence terms as the main project, as outlined in
* the LICENSE file.
*
* RW MobiMedia UK Limited res... | 16 | Kotlin | 10 | 145 | 7f278204448e9c59ca028e520e9e5aca97fa1e13 | 1,801 | OctoMeter | Creative Commons Attribution 4.0 International |
kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/runAsUser.kt | MaTriXy | 129,299,660 | true | {"Kotlin": 237663} | // GENERATED
package com.fkorotkov.kubernetes
import io.fabric8.kubernetes.api.model.extensions.KubernetesRunAsUserStrategyOptions
import io.fabric8.kubernetes.api.model.extensions.PodSecurityPolicySpec
fun PodSecurityPolicySpec.`runAsUser`(block: KubernetesRunAsUserStrategyOptions.() -> Unit = {}) {
if(this.`run... | 0 | Kotlin | 0 | 0 | 6446f7995b9fdf012ba72b380fe7b5ebe11649e2 | 434 | k8s-kotlin-dsl | MIT License |
platform/lib/domain/src/main/kotlin/io/hamal/lib/domain/GenerateDomainId.kt | hamal-io | 622,870,037 | false | {"Kotlin": 1678862, "C": 1398401, "TypeScript": 47224, "Lua": 41508, "C++": 40651, "Makefile": 11728, "Java": 7564, "CMake": 2881, "JavaScript": 1532, "HTML": 694, "Shell": 449, "CSS": 118} | package io.hamal.lib.domain
import io.hamal.lib.common.KeyedOnce
import io.hamal.lib.common.Partition
import io.hamal.lib.common.domain.DomainId
import io.hamal.lib.common.snowflake.PartitionSourceImpl
import io.hamal.lib.common.snowflake.SnowflakeGenerator
import io.hamal.lib.common.snowflake.SnowflakeId
interface G... | 6 | Kotlin | 0 | 0 | fd06bf799f18db2d425b7084abf15b741fa9878e | 852 | hamal | Creative Commons Zero v1.0 Universal |
platform/lib/domain/src/main/kotlin/io/hamal/lib/domain/GenerateDomainId.kt | hamal-io | 622,870,037 | false | {"Kotlin": 1678862, "C": 1398401, "TypeScript": 47224, "Lua": 41508, "C++": 40651, "Makefile": 11728, "Java": 7564, "CMake": 2881, "JavaScript": 1532, "HTML": 694, "Shell": 449, "CSS": 118} | package io.hamal.lib.domain
import io.hamal.lib.common.KeyedOnce
import io.hamal.lib.common.Partition
import io.hamal.lib.common.domain.DomainId
import io.hamal.lib.common.snowflake.PartitionSourceImpl
import io.hamal.lib.common.snowflake.SnowflakeGenerator
import io.hamal.lib.common.snowflake.SnowflakeId
interface G... | 6 | Kotlin | 0 | 0 | fd06bf799f18db2d425b7084abf15b741fa9878e | 852 | hamal | Creative Commons Zero v1.0 Universal |
mobile-common-lib/src/commonMain/kotlin/fi/riista/common/domain/shootingTest/dto/ShootingTestPersonDTO.kt | suomenriistakeskus | 78,840,058 | false | null | package fi.riista.common.domain.shootingTest.dto
import fi.riista.common.domain.shootingTest.model.CommonShootingTestPerson
import fi.riista.common.dto.LocalDateDTO
import fi.riista.common.dto.toLocalDate
import fi.riista.common.model.toBackendEnum
import kotlinx.serialization.Serializable
@Serializable
data class Sh... | 0 | Kotlin | 0 | 3 | 23645d1abe61c68d649b6d0ca1d16556aa8ffa16 | 1,030 | oma-riista-android | MIT License |
libraries/voicerecorder/impl/src/test/kotlin/io/element/android/libraries/voicerecorder/test/FakeFileSystem.kt | element-hq | 546,522,002 | false | null | /*
* Copyright (c) 2023 New Vector Ltd
*
* 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 agr... | 263 | null | 65 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 1,241 | element-x-android | Apache License 2.0 |
gamedex-api/src/main/kotlin/com/gitlab/ykrasik/gamedex/Library.kt | ykrasik | 177,211,746 | false | null | /****************************************************************************
* Copyright (C) 2016-2023 <NAME> *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not u... | 0 | null | 1 | 14 | 6c63cb16032f9c9e230afc808bb8498760477464 | 2,591 | gamedex | Apache License 2.0 |
src/test/kotlin/tech/relaycorp/veraid/utils/CryptoUtils.kt | relaycorp | 598,082,603 | false | {"Kotlin": 313518} | package tech.relaycorp.veraid.utils
import org.bouncycastle.cert.X509CertificateHolder
import org.bouncycastle.cms.CMSProcessableByteArray
import org.bouncycastle.cms.CMSSignedData
import org.bouncycastle.cms.CMSSignedDataGenerator
import org.bouncycastle.cms.SignerInfoGenerator
import org.bouncycastle.cms.jcajce.JcaS... | 4 | Kotlin | 0 | 2 | 9a42b70bfbf31fd95b3f071adc6f0073abea84e1 | 1,856 | veraid-jvm | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/FeatherPointed.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,334 | icons | MIT License |
app/src/main/java/com/dluvian/voyage/core/viewModel/EditListViewModel.kt | dluvian | 766,355,809 | false | null | package com.dluvian.voyage.core.viewModel
import androidx.compose.material3.SnackbarHostState
import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.ui.text.input.TextFieldValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScop... | 45 | null | 4 | 40 | e117d2d00f1e92bc0d5117055169b03906feb479 | 5,475 | voyage | MIT License |
slpwallet/src/main/java/com/bitcoin/slpwallet/persistence/WalletDatabaseImpl.kt | Bitcoin-com | 178,391,446 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 69, "JSON": 9, "XML": 2, "Java": 3} | package com.bitcoin.slpwallet.persistence
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.bitcoin.slpwallet.slp.*
import com.bitcoin.slpwallet.tx.Utxo
import com.bitcoin.slpwallet.tx.UtxoDao
import c... | 1 | Kotlin | 11 | 11 | 5049603074cf22e90e9f69b3ccb98f47bc1362ea | 1,990 | slp-wallet-sdk-android | MIT License |
inference/inference-core/src/commonTest/kotlin/io/kinference/operators/math/MatMulIntegerTest.kt | JetBrains-Research | 244,400,016 | false | null | package io.kinference.operators.math
import io.kinference.KITestEngine.KIAccuracyRunner
import io.kinference.utils.TestRunner
import kotlin.test.Test
class MatMulIntegerTest {
private fun getTargetPath(dirName: String) = "/matmul_integer/$dirName/"
@Test
fun test_matmul_integer() = TestRunner.runTest {
... | 4 | Kotlin | 5 | 95 | e47129b6f1e2a60bf12404d8126701ce7ef4db3a | 561 | kinference | Apache License 2.0 |
src/main/kotlin/org/artempopov/serverFirst/handler/NoSuchClientException.kt | ArtemPopof | 135,083,699 | false | {"Gradle": 2, "Shell": 1, "Text": 2, "Ignore List": 1, "XML": 2, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 50, "Java": 3, "Protocol Buffer": 3} | package org.artempopov.serverFirst.handler
class NoSuchClientException: Exception() | 2 | null | 1 | 1 | 2f57454c432ff611a29de9ffcae54431467ffc0e | 84 | AlphaServer | MIT License |
src/main/kotlin/us/whodag/acquire/obj/bank/BaseBank.kt | Odoh | 111,036,546 | false | null | package us.whodag.acquire.obj.bank
import us.whodag.acquire.obj.hotel.HotelId
import us.whodag.acquire.obj.tile.TileId
/**
* Base implementation of a bank in Acquire.
*
* @property totalStocksPerHotel the total number of stocks in the game for each hotel.
* @property shuffleSeed the seed used to shuffle the draw ... | 0 | Kotlin | 0 | 2 | 4be3b11c1141e2e9d28135c203531c75eafdd2f0 | 1,984 | acquire | MIT License |
libnavui-dropin/src/main/java/com/mapbox/navigation/dropin/MapboxNavigationViewModel.kt | k4anubhav | 439,334,238 | true | {"Kotlin": 4189704, "Java": 26254, "Python": 11580, "Makefile": 6163, "Shell": 5704} | package com.mapbox.navigation.dropin
import android.annotation.SuppressLint
import android.content.Context
import android.location.Location
import androidx.annotation.VisibleForTesting
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.mapbox.api.directions.v5.models.BannerInstruct... | 0 | null | 1 | 1 | 3751b1323b3e585976a5476176810049061ca1ec | 10,652 | mapbox-navigation-android | Apache License 2.0 |
kotest-assertions/kotest-assertions-core/src/jvmTest/kotlin/io/kotest/matchers/string/StringPartialMatchesTest.kt | kotest | 47,071,082 | false | {"Kotlin": 4736924, "CSS": 352, "Java": 145} | package io.kotest.matchers.string
import io.kotest.core.annotation.EnabledIf
import io.kotest.core.annotation.enabledif.LinuxCondition
import io.kotest.core.spec.style.WordSpec
import io.kotest.matchers.shouldBe
import io.kotest.submatching.PartialMatchesInCollectionDescription
import io.kotest.submatching.describePar... | 141 | Kotlin | 648 | 4,435 | 2ce83d0f79e189c90e2d7bb3d16bd4f75dec9c2f | 6,433 | kotest | Apache License 2.0 |
swing-extensions/src/main/kotlin/com/github/funczz/kotlin/extensions/swing/painter/TileBgImagePainter.kt | funczz | 449,975,359 | false | null | package com.github.funczz.kotlin.extensions.swing.painter
import java.awt.Component
import java.awt.Graphics
import java.awt.Image
import java.awt.Rectangle
/**
* タイル表示
*/
object TileBgImagePainter : IBgImagePainter {
override fun getName(): String = "tile"
override fun getInstance(): IBgImagePainter = th... | 0 | Kotlin | 0 | 0 | 8e21b8d4190615878aad8d1ec88217629aac0406 | 1,035 | kotlin-swing-extensions | Apache License 2.0 |
src/test/kotlin/no/nav/syfo/sykmelding/user/api/SykmeldingApiV2IntegrationTest.kt | navikt | 147,519,013 | false | null | package no.nav.syfo.sykmelding.user.api
import com.auth0.jwk.JwkProviderBuilder
import io.kotest.core.spec.style.FunSpec
import io.ktor.http.HttpHeaders
import io.ktor.http.HttpMethod
import io.ktor.http.HttpStatusCode
import io.ktor.server.auth.authenticate
import io.ktor.server.routing.route
import io.ktor.server.ro... | 0 | Kotlin | 0 | 0 | 12d141a90cfe6515ff6d6595d6ed6e220e07d104 | 4,641 | syfosmregister | MIT License |
src/test/kotlin/io/realworld/app/web/controllers/UserControllerTest.kt | Rudge | 177,908,216 | false | null | package io.realworld.app.web.controllers
import io.realworld.app.domain.models.User
import io.realworld.app.domain.models.UserDTO
import io.realworld.app.web.rules.AppRule
import org.apache.http.HttpStatus
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Ignore
import org.jun... | 1 | null | 18 | 98 | 60a2c4fdb2f04f47d1085a6c49f699a3d50fa949 | 3,094 | kotlin-ktor-realworld-example-app | MIT License |
src/test/kotlin/SegmentPointerTest.kt | amollberg | 267,279,072 | false | null | import coordinates.System.Companion.root
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import org.openrndr.math.Vector2
class SegmentPointerTest {
companion object {
val system = root()
}
@Test
fun overl... | 0 | Kotlin | 0 | 0 | d08f85dbbb0537b386fb1810a1e2f1b86a92c925 | 996 | ArtisanTrace | Apache License 2.0 |
src/main/kotlin/nlperceptron/Network.kt | tvaganyan | 215,854,740 | false | null | package nlperceptron
import kotlin.math.pow
class Network() {
private val iDim: Int = 2
private val epsilon = 0.01
private val n = 10000
private var layer: MutableList<Perceptron> = MutableList(1) { Perceptron(iDim, epsilon) }
private val input = listOf(listOf(0.0, 0.0), listOf(1.0, 0.0), lis... | 0 | Kotlin | 0 | 0 | dbc7f1cf477e68febe05bb73356cfa2cf8ed4844 | 2,331 | NLPerceptron | MIT License |
app/src/main/java/com/syntia/local_alarm_sample/domain/usecase/interactor/GetMovieInteractor.kt | syntialai | 408,345,014 | false | {"Kotlin": 18137} | package com.syntia.local_alarm_sample.domain.usecase.interactor
import com.syntia.local_alarm_sample.data.repository.MovieRepository
import com.syntia.local_alarm_sample.domain.usecase.GetMovieUseCase
import io.reactivex.Single
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Sch... | 0 | Kotlin | 0 | 0 | 89df13bb0236114892252b6c55f3e429542d3932 | 672 | local-alarm-sample | Apache License 2.0 |
android/apollo/src/main/java/io/muun/apollo/domain/selector/LatestOperationSelector.kt | wiz | 357,703,300 | true | {"Java Properties": 2, "Gradle": 12, "Shell": 3, "Markdown": 1, "Batchfile": 1, "Text": 10, "Ignore List": 5, "Java": 708, "Kotlin": 420, "JSON": 12, "XML": 208, "Proguard": 32, "INI": 1, "Python": 2, "Go": 81, "Protocol Buffer": 1, "Go Checksums": 1, "Go Module": 1} | package io.muun.apollo.domain.selector
import io.muun.apollo.data.db.operation.OperationDao
import io.muun.apollo.domain.model.Operation
import io.muun.common.Optional
import rx.Observable
import javax.inject.Inject
class LatestOperationSelector
@Inject constructor(
private val operationDao: OperationDao
) {
... | 0 | null | 0 | 0 | bddcb5fc5b9cc714b61565bddba07f45c18335ad | 514 | apollo | MIT License |
src/main/kotlin/com/dvalvezon/kotlinktorexample/framework/Validation.kt | dvalvezon | 188,503,340 | false | null | package com.dvalvezon.kotlinktorexample.framework
interface ValidateAble<T : ValidateAble<T, R, S>, R : Any, S : Any> {
val validations: List<(T) -> R?>
val myself: T
fun validationError(errorCauses: List<R>): Throwable
fun toValidatedType(): S
suspend fun <X> validate(function: suspend (S) -> ... | 0 | Kotlin | 0 | 1 | d6ed4ef80881bb03b4767b85704e3b1b4ec2581c | 551 | kotlin-ktor-example | Apache License 2.0 |
src/main/java/wiresegal/cmdctrl/common/commands/misc/CommandMan.kt | yrsegal | 75,490,184 | false | null | package wiresegal.cmdctrl.common.commands.misc
import net.minecraft.command.CommandBase
import net.minecraft.command.ICommandSender
import net.minecraft.command.PlayerNotFoundException
import net.minecraft.entity.player.EntityPlayerMP
import net.minecraft.server.MinecraftServer
import net.minecraft.util.math.BlockPos
... | 1 | null | 1 | 3 | 8809ae94cade9366f07739752f49512318a98607 | 2,711 | CommandControl | MIT License |
wear/src/main/java/com/thewizrd/simplewear/controls/AppItem.kt | SimpleAppProjects | 197,253,270 | false | {"Kotlin": 866108, "Java": 80962} | package com.thewizrd.simplewear.controls
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.LinearLayout
import com.thewizrd.simplewear.R
import com.thewizrd.simplewear.databinding.AppItemBinding
class AppItem : LinearLayout {
private lateinit ... | 7 | Kotlin | 32 | 83 | 679ed408d3342e932389cda755035fef2fc4b09a | 1,622 | SimpleWear | Apache License 2.0 |
app/src/main/java/com/tranquilrock/androidscript/activity/ManageActivity.kt | TranquilRock | 382,979,388 | false | null | package com.tranquilrock.androidscript.activity
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.ImageDecoder
import android.net.Uri
import android.os.Bundle
import android.widget.Button
import androidx.activity.result.ActivityResult
import androidx.activity.result.contract.Activity... | 1 | Java | 3 | 11 | 619c354100388c7fcd104453663d1b4beecdbedb | 1,730 | AndroidScript | MIT License |
src/test/kotlin/org/rust/ide/intentions/ChopParameterListIntentionTest.kt | intellij-rust | 42,619,487 | false | null | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.intentions
class ChopParameterListIntentionTest : RsIntentionTestBase(ChopParameterListIntention()) {
fun `test one parameter`() = doUnavailableTest("""
fn foo(/*caret*/p1: i32) ... | 1,841 | null | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 2,552 | intellij-rust | MIT License |
s3-transitions-and-value-animations/final-project/ComposeMotions/app/src/main/java/com/droidcon/composemotions/ui/components/animations/UpdateTransitionSheet.kt | droidcon-academy | 562,000,389 | false | null | @file:OptIn(ExperimentalTransitionApi::class)
package com.droidcon.composemotions.ui.components.animations
import androidx.compose.animation.animateColor
import androidx.compose.animation.core.ExperimentalTransitionApi
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.MutableT... | 0 | null | 0 | 2 | 3782a420c495e565960c1e1df9ec7f8999f38d13 | 8,114 | android-animations-transitions-compose-course-materials | Apache License 2.0 |
app/src/main/java/net/pside/androidthings/example/event/CloudMessageEvent.kt | keima | 82,932,240 | false | {"Gradle": 3, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "XML": 3, "Kotlin": 10, "Java": 1} | package net.pside.androidthings.example.event
class CloudMessageEvent(val message: String) | 1 | null | 1 | 1 | d847c95a18c1d199a5a831d0cb4147270af14e1c | 91 | iot-example | Apache License 2.0 |
io/cryptography/src/test/kotlin/io/bluetape4k/cryptography/encrypt/EncryptorsTest.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.cryptography.encrypt
import io.bluetape4k.cryptography.registBouncCastleProvider
import io.bluetape4k.logging.KLogging
import io.bluetape4k.logging.info
import io.bluetape4k.support.LINE_SEPARATOR
import org.amshove.kluent.shouldContain
import org.junit.jupiter.api.BeforeAll
import org.junit.jupi... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 1,307 | bluetape4k | MIT License |
feature_converter/converter_data/src/main/java/tech/ericwathome/converter_data/model/ExchangeRate.kt | ericwafula | 514,323,986 | false | null | package tech.ericwathome.converter_data.model
data class ExchangeRate(
val timeLastUpdateUnix: String,
val timeLastUpdateUtc: String,
val timeNextUpdateUnix: String,
val timeNextUpdateUtc: String,
val baseCode: String,
val conversionRates: Map<String, Double>
) | 0 | Kotlin | 1 | 5 | 26b67ec6532411653402de461ab09931b6475df4 | 287 | CurrencyBudy | MIT License |
libraries/rib-base/src/androidTest/java/com/badoo/ribs/test/util/ribs/child/TestChildView.kt | badoo | 170,855,556 | false | null | package com.badoo.ribs.test.util.ribs.child
import android.content.Context
import android.util.AttributeSet
import android.view.ViewGroup
import android.widget.EditText
import android.widget.FrameLayout
import com.badoo.ribs.core.view.AndroidRibView
import com.badoo.ribs.core.view.RibView
interface TestChildView : Ri... | 34 | null | 50 | 162 | cec2ca936ed17ddd7720b4b7f8fca4ce12033a89 | 1,026 | RIBs | Apache License 2.0 |
yetutil/src/main/java/yet/ui/page/SwipeCheckListPageX.kt | yangentao | 127,633,295 | false | null | package yet.ui.page
import android.content.Context
import android.view.View
import android.widget.LinearLayout
import yet.ui.widget.Action
import yet.ui.widget.listview.swipe.SwipeHandlerX
import yet.ui.widget.listview.swipe.XSwipeItemView
import yet.util.log.xlog
/**
* 支持多选和侧滑的ListView Fragment
* @param
*/
abstr... | 0 | Kotlin | 0 | 1 | c2e1330ab9cd2c57c069970628863d6a4778ed4d | 3,219 | ble | Apache License 2.0 |
app/src/main/java/com/omk/MainScreen/ui/dashboard/home/Home.kt | Omarmasudkalam | 581,336,636 | false | {"Kotlin": 116898} | package com.omk.MainScreen.ui.dashboard.home
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.fo... | 0 | Kotlin | 0 | 0 | 317ba76eebfdbd9737a73e4eaec4935ad72f8def | 7,178 | MovieApp | Apache License 2.0 |
mvi-core/src/main/java/com/rk/mvi/common/ActivityExtension.kt | rajkanna7 | 638,239,263 | false | null | package com.rk.mvi.common
import androidx.activity.ComponentActivity
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.lifecycleScope
import com.rk.mvi.EffectProcessor
import com.rk.mvi.StateEffectProcessor
import com.rk.mvi.StateProcessor
import com.rk.mvi.internal.util.consume
import kotlinx.... | 0 | Kotlin | 0 | 0 | 3899d4ae52ea013401098f9d79e1c8ef03bd6e0d | 2,257 | MVI | MIT License |
nebulosa-fits/src/test/kotlin/FitsHeaderCardParserTest.kt | tiagohm | 568,578,345 | false | {"Kotlin": 2712371, "TypeScript": 513759, "HTML": 249483, "JavaScript": 120539, "SCSS": 11332, "Python": 2817, "Makefile": 445} | import io.kotest.matchers.shouldBe
import nebulosa.fits.FitsHeaderCardParser
import nebulosa.fits.FitsHeaderCardType
import org.junit.jupiter.api.Test
class FitsHeaderCardParserTest {
@Test
fun shouldParseBooleanValue() {
val parsed = FitsHeaderCardParser("SIMPLE = T / Boolean Type... | 29 | Kotlin | 2 | 4 | 723ede857d8fbf608562e93030719ae26dd0aad1 | 1,713 | nebulosa | MIT License |
modules/effects/arrow-effects/src/main/kotlin/arrow/effects/Async.kt | benfleis | 119,547,943 | true | {"Kotlin": 1371767, "CSS": 115818, "HTML": 9227, "JavaScript": 7275, "Java": 4423, "Shell": 3057} | package arrow.effects
import arrow.HK
import arrow.TC
import arrow.core.Either
import arrow.typeclass
/** An asynchronous computation that might fail. **/
typealias Proc<A> = ((Either<Throwable, A>) -> Unit) -> Unit
/** The context required to run an asynchronous computation that may fail. **/
@typeclass
int... | 0 | Kotlin | 0 | 0 | d81270f65dc98d1b1e6d3217850a5a12768f4ce6 | 458 | kategory | Apache License 2.0 |
app/src/main/java/jp/hazuki/yuzubrowser/download2/ui/fragment/OnRecyclerMenuListener.kt | smoochiee | 148,745,114 | true | {"Kotlin": 1396741, "Java": 908334, "HTML": 113710, "CSS": 4346} | /*
* Copyright (C) 2017 Hazuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 0 | 0 | a759fe16312e0ea6c5ecbf8399206d66af3b74b8 | 908 | YuzuBrowser | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Ticket2.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.broken
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,131 | VuesaxIcons | MIT License |
src/main/kotlin/com/mineinabyss/idofront/serialization/recipes/ShapedRecipeIngredients.kt | MineInAbyss | 234,201,953 | false | null | package com.mineinabyss.idofront.serialization.recipes
import com.mineinabyss.idofront.serialization.SerializableItemStack
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.bukkit.Bukkit
import org.bukkit.Material
import org.bukkit.NamespacedKey
import org.bukkit.Tag
import o... | 8 | null | 6 | 8 | 9d990f6fa6fdd23230995c5861d05686a69e7862 | 1,555 | Idofront | MIT License |
app/src/main/java/com/b_lam/resplash/ui/autowallpaper/collections/DiscoverAutoWallpaperCollectionFragment.kt | ankit1057 | 333,372,421 | true | {"Kotlin": 448885} | package com.b_lam.resplash.ui.autowallpaper.collections
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.lifecycle.observe
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import c... | 0 | null | 0 | 0 | 86a5a79465c40c000f7522f8e9b0f5af775951b1 | 3,547 | Resplash | The Unlicense |
src/test/kotlin/no/nav/syfo/syfoservice/TestData.kt | navikt | 250,083,046 | false | null | package no.nav.syfo.syfoservice
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.SerializationFeature
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.registerKotli... | 0 | Kotlin | 0 | 0 | a4e6ea6a2665e8573fbbb9679444eae128514f73 | 4,147 | syfoservice-mq-producer | MIT License |
modules/apod/ui/single/src/main/kotlin/nasa/apod/ui/single/ApodSingleScreen.kt | jonapoul | 794,260,725 | false | {"Kotlin": 558516} | package nasa.apod.ui.single
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.hilt.n... | 1 | Kotlin | 0 | 1 | c1e163f2a7212200280d0d613a478543020c9278 | 4,435 | nasa-android | Apache License 2.0 |
grovlin-compiler/src/main/kotlin/io/gitlab/arturbosch/grovlin/compiler/backend/builtins/ToStringToJava.kt | arturbosch | 80,819,243 | false | null | package io.gitlab.arturbosch.grovlin.compiler.backend.builtins
import com.github.javaparser.ast.NodeList
import com.github.javaparser.ast.expr.MethodCallExpr
import com.github.javaparser.ast.expr.NameExpr
import io.gitlab.arturbosch.grovlin.ast.BoolType
import io.gitlab.arturbosch.grovlin.ast.DecimalType
import io.git... | 8 | null | 1 | 6 | 3bfd23cc6fd91864611e785cf2c990b3a9d83e63 | 1,170 | grovlin | Apache License 2.0 |
src/main/kotlin/agent/LocalAgent.kt | iBims1JFK | 362,778,827 | true | {"Kotlin": 740423, "JavaScript": 110197, "SCSS": 22319, "Shell": 1821, "Dockerfile": 1253} | package agent
import AddressConstants.LOCAL_AGENT_ADDRESS_PREFIX
import AddressConstants.PROCESSCHAIN_PROGRESS_CHANGED
import ConfigConstants
import com.google.common.cache.CacheBuilder
import db.PluginRegistryFactory
import helper.DefaultOutputCollector
import helper.FileSystemUtils.readRecursive
import helper.Loggin... | 0 | null | 0 | 0 | c0109396d59b12264fbc0757bc620795d999b09c | 11,071 | steep | Apache License 2.0 |
app/src/main/java/com/ibrahimcanerdogan/turkishairlinesassistant/model/timetable/response/ExtendedOTAAirScheduleRS.kt | icanerdogan | 727,407,042 | false | {"Kotlin": 412038, "HTML": 7398} | package com.ibrahimcanerdogan.turkishairlinesassistant.model.timetable.response
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class ExtendedOTAAirScheduleRS(
val OTA_AirScheduleRS: OTAAirScheduleRS,
val extraOTAAirScheduleRS: ExtraOTAAirScheduleRS
) : Parcelable | 0 | Kotlin | 0 | 1 | 6564a9cf8589028e9ced03a855a6b7eb07f7a5de | 306 | TurkishAirlinesAssistantApp | MIT License |
Browser/src/jvmTest/kotlin/io/nacular/doodle/image/impl/ImageLoaderImplTests.kt | nacular | 108,631,782 | false | {"Kotlin": 2979553} | package io.nacular.doodle.image.impl
import JsName
import io.mockk.every
import io.mockk.mockk
import io.mockk.slot
import io.nacular.doodle.HTMLImageElement
import io.nacular.doodle.dom.Event
import io.nacular.doodle.dom.HtmlFactory
import kotlinx.coroutines.runBlocking
import org.junit.Test
import kotlin.test.expect... | 5 | Kotlin | 19 | 523 | d48ba7fc8c0a8cd0c5bfb24b22286676bc26319e | 1,666 | doodle | MIT License |
sample/src/main/java/info/hasanaga/flexiblealertdialogexample/MainActivity.kt | hasanaga | 498,416,823 | false | {"Kotlin": 10341} | package info.hasanaga.flexiblealertdialogexample
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
import androidx.viewpager2.widget.ViewPager2
import com.g... | 0 | Kotlin | 0 | 5 | ea8a1a6f29b5ee0264b4cdbf1b40c0960d3fabed | 1,531 | FlexibleAlertDialog | Apache License 2.0 |
app/src/main/java/org/acmvit/gitpositive/datasource/RepositorySource.kt | ACM-VIT | 411,568,043 | false | null | package org.acmvit.gitpositive.datasource
import androidx.paging.PagingSource
import androidx.paging.PagingState
import org.acmvit.gitpositive.remote.ApiInterface
import org.acmvit.gitpositive.remote.model.RepositoryResponseItem
import retrofit2.HttpException
import java.io.IOException
class RepositorySource(
pri... | 8 | Kotlin | 19 | 14 | 2c319feb3f425647d350f9cb6440b9982f80fd90 | 1,263 | gitpositive | MIT License |
libs/lib_threading/src/main/java/com/bael/kirin/lib/threading/util/Util.kt | ErickSumargo | 282,614,741 | false | null | package com.bael.kirin.lib.threading.util
import kotlinx.coroutines.Dispatchers.Default
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.Dispatchers.Main
import kotlinx.coroutines.SupervisorJob
import kotlin.coroutines.CoroutineContext
/**
* Created by ErickSumargo on 15/06/20.
*/
object Util {
... | 0 | Kotlin | 4 | 20 | 2b3703036ce17d3e46c81bdf66986d83b4ac2517 | 553 | Kirin | MIT License |
adaptive-ui/src/commonMain/kotlin/fun/adaptive/ui/render/model/InputRenderData.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 2431816, "Java": 25628, "HTML": 8024, "JavaScript": 3880, "Shell": 687} | /*
* Copyright © 2020-2024, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package `fun`.adaptive.ui.render.model
import `fun`.adaptive.ui.AbstractAuiAdapter
import `fun`.adaptive.ui.fragment.layout.RawTrack
import `fun`.adaptive.ui.instruction.layout.Alignment
import `fu... | 34 | Kotlin | 0 | 3 | 590e01b857c9c759a69ece62f11ed8822fa4ee59 | 474 | adaptive | Apache License 2.0 |
jdk_8_maven/cs/graphql/graphql-scs/src/main/kotlin/org/graphqlscs/type/Ordered4.kt | WebFuzzing | 94,008,854 | false | {"Java": 22427324, "Kotlin": 8594997, "JavaScript": 4556501, "HTML": 2139000, "TypeScript": 701370, "CSS": 427693, "Gherkin": 416527, "C#": 314846, "Handlebars": 199012, "Python": 134818, "Jupyter Notebook": 94581, "Perl": 82062, "Shell": 53769, "Less": 29035, "Starlark": 23296, "XSLT": 18724, "Awk": 17751, "EJS": 1319... | package org.graphqlscs.type
import org.springframework.stereotype.Component
@Component
class Ordered4 {
fun subject(w: String, x: String, z: String, y: String): String {
var result = "unordered"
if (w.length >= 5 && w.length <= 6 && //LIMIT LENGTH TO LIMIT PROB OF RANDOM SATISFACTION
... | 2 | Java | 16 | 26 | 1777aafb22c6fc7c1bc7db96c86b6ea70e38a36e | 731 | EMB | Apache License 2.0 |
scenariorun/src/main/kotlin/com/cosmotech/scenariorun/ContainerFactory.kt | Cosmo-Tech | 351,730,782 | false | {"Kotlin": 2456549, "Shell": 70952, "Mustache": 6267, "Smarty": 5420} | // Copyright (c) Cosmo Tech.
// Licensed under the MIT license.
package com.cosmotech.scenariorun
import com.cosmotech.api.azure.sanitizeForAzureStorage
import com.cosmotech.api.config.CsmPlatformProperties
import com.cosmotech.api.config.CsmPlatformProperties.CsmPlatformAzure.CsmPlatformAzureEventBus.Authentication.S... | 20 | Kotlin | 1 | 3 | e71c84211ec779ad0e4477e95b622321fbf14fff | 65,032 | cosmotech-api | The Unlicense |
04-services/order-service/src/main/kotlin/com/example/orderservice/service/MetricService.kt | ysavchen | 423,993,264 | false | {"Kotlin": 99911, "Java": 9206, "Smarty": 1822, "PLpgSQL": 1675} | package com.example.orderservice.service
import com.example.orderservice.api.rest.model.Status
import com.example.orderservice.api.rest.model.TotalPrice
import io.micrometer.core.instrument.DistributionSummary
import io.micrometer.core.instrument.MeterRegistry
import io.micrometer.core.instrument.Tag
import org.spring... | 0 | Kotlin | 0 | 0 | c767ce5141c1541e0592bdbd6e9bedf4c8b822ce | 1,431 | online-shop-demo | MIT License |
app/src/main/java/com/slava/taboolatest/network/TaboolaApiServices.kt | haythama | 328,953,165 | true | {"Kotlin": 28067} | package com.slava.taboolatest.network
import com.slava.taboolatest.network.entities.ArticleServerModel
import retrofit2.Call
import retrofit2.http.*
interface TaboolaApiServices {
@GET("taboola-mobile-sdk/public/home_assignment/data.json")
fun getData(): Call<ArrayList<ArticleServerModel>>
} | 0 | null | 0 | 0 | df6bd891b556633649cda7d3460d78aae5c8bd48 | 303 | TaboolaTestApp | Apache License 2.0 |
domain/src/main/java/com/mkdev/domain/model/VenueUIModel.kt | msddev | 429,870,024 | false | {"Kotlin": 120256} | package com.mkdev.domain.model
sealed class VenueUIModel : UiAwareModel() {
object Loading : VenueUIModel()
data class Success(val data: List<Venue>) : VenueUIModel()
data class Error(var error: String) : VenueUIModel()
}
| 0 | Kotlin | 0 | 0 | 5637051acfbe3f9c65da23b3ca57f6adbac2810e | 235 | Android-Assesment-FourSquare-2 | Apache License 2.0 |
app/src/main/java/com/bejussi/shopply/data/data_source/CategoryDao.kt | Bejussi | 526,253,133 | false | null | package com.bejussi.shopply.data.data_source
import androidx.room.*
import com.bejussi.shopply.domain.model.Category
import kotlinx.coroutines.flow.Flow
@Dao
interface CategoryDao {
@Query("SELECT * FROM category")
fun getCategoryList(): Flow<List<Category>>
@Query("SELECT * FROM category WHERE name = :... | 0 | Kotlin | 0 | 0 | ee684a52787ae6e695fb73f783a9d2a2ee831fce | 767 | Shopply | MIT License |
neuvi/src/main/kotlin/com/github/jnexil/neuvi/internal/providers/JMemoryProvider.kt | JNexil | 76,639,857 | false | null | package com.github.jnexil.neuvi.internal.providers
import com.github.jnexil.neuvi.api.providers.*
import com.github.jnexil.neuvi.internal.linalg.*
internal object JMemoryProvider: MemoryProvider {
override fun matrix(rows: Int, columns: Int) = JMatrix(rows, columns)
override fun vector(size: Int) = JVector(si... | 0 | Kotlin | 0 | 0 | 100081be16f921e39e8bfb7b6cccae0785d51f04 | 327 | Neurio | Apache License 2.0 |
duckplayer/duckplayer-impl/src/main/java/com/duckduckgo/duckplayer/impl/DuckPlayerLocalFilesPath.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 13999503, "HTML": 63593, "Ruby": 17139, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2024 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 84 | Kotlin | 896 | 3,792 | e7c193af58c77ba144df1eb5c001778a75d45c5d | 1,698 | Android | Apache License 2.0 |
kmongo-coroutine-core-tests/src/main/kotlin/org/litote/kmongo/coroutine/ReactiveStreamsIndexTest.kt | Litote | 58,964,537 | false | null | /*
* Copyright (C) 2016/2020 Litote
*
* 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 ... | 42 | null | 74 | 797 | 4ee6939272ca54a342955130ae6d98eb947ace01 | 2,869 | kmongo | Apache License 2.0 |
kmongo-coroutine-core-tests/src/main/kotlin/org/litote/kmongo/coroutine/ReactiveStreamsIndexTest.kt | Litote | 58,964,537 | false | null | /*
* Copyright (C) 2016/2020 Litote
*
* 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 ... | 42 | null | 74 | 797 | 4ee6939272ca54a342955130ae6d98eb947ace01 | 2,869 | kmongo | Apache License 2.0 |
app/src/main/java/com/dinhlam/sharebox/base/BaseListAdapter.kt | dinhlamvn | 532,200,939 | false | null | package com.dinhlam.sharebox.base
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import androidx.viewbi... | 0 | Kotlin | 0 | 0 | 6d3899d4b7220951d247c35d7c95248b196a30b2 | 5,459 | sharebox | MIT License |
src/main/kotlin/language/LangKotlin.kt | isyscore | 701,704,015 | false | {"Kotlin": 30790, "Java": 2050} | package com.isyscore.kotlin.scrpting.language
import javax.script.ScriptEngine
import javax.script.ScriptEngineManager
object LangKotlin: LanguageIntf {
override fun getScriptEngine(mgr: ScriptEngineManager): ScriptEngine =
mgr.getEngineByExtension("kts")
} | 0 | Kotlin | 0 | 0 | 1df3a283d2d28d09df6b91e3d298ca00c5cb73f0 | 271 | common-script | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/InsightAlt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
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.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,017 | icons | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.