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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/aoc22/Day18.kt | mihassan | 575,356,150 | false | {"Kotlin": 123343} | @file:Suppress("PackageDirectoryMismatch")
package aoc22.day18
import lib.Solution
data class Cube(val x: Int, val y: Int, val z: Int) {
fun adjacentCubes(): Set<Cube> = setOf(
Cube(x - 1, y, z),
Cube(x + 1, y, z),
Cube(x, y - 1, z),
Cube(x, y + 1, z),
Cube(x, y, z - 1),
Cube(x, y, z + 1)
... | 0 | Kotlin | 0 | 0 | 698316da8c38311366ee6990dd5b3e68b486b62d | 2,751 | aoc-kotlin | Apache License 2.0 |
feature-staking-impl/src/main/java/com/edgeverse/wallet/feature_staking_impl/presentation/confirm/nominations/di/ConfirmNominationsComponent.kt | finn-exchange | 512,140,809 | false | {"Kotlin": 2956205, "Java": 14536, "JavaScript": 399} | package com.edgeverse.wallet.feature_staking_impl.presentation.confirm.nominations.di
import androidx.fragment.app.Fragment
import dagger.BindsInstance
import dagger.Subcomponent
import com.edgeverse.wallet.common.di.scope.ScreenScope
import com.edgeverse.wallet.feature_staking_impl.presentation.confirm.nominations.Co... | 0 | Kotlin | 1 | 0 | 03229c4188cb56b0fb0340e60d60184c7afa2c75 | 675 | edgeverse-wallet | Apache License 2.0 |
simplified-main/src/main/java/org/nypl/simplified/main/MainHTTP.kt | NYPL-Simplified | 30,199,881 | false | {"Kotlin": 2986168, "Java": 384210, "HTML": 109577, "Shell": 3481, "Ruby": 356} | package org.nypl.simplified.main
import android.content.Context
import android.content.pm.PackageManager
import org.librarysimplified.http.api.LSHTTPClientConfiguration
import org.librarysimplified.http.api.LSHTTPClientType
import org.librarysimplified.http.vanilla.LSHTTPClients
object MainHTTP {
fun create(
c... | 109 | Kotlin | 21 | 32 | 781e4e2122f1528253a6cf17931083944f91ceba | 876 | Simplified-Android-Core | Apache License 2.0 |
app/src/main/java/com/philsoft/metrotripper/utils/map/RxLocation.kt | polson | 29,316,612 | false | null | package com.philsoft.metrotripper.utils.map
import android.Manifest.permission.ACCESS_FINE_LOCATION
import android.annotation.SuppressLint
import android.os.Looper
import com.google.android.gms.location.FusedLocationProviderClient
import com.google.android.gms.location.LocationCallback
import com.google.android.gms.lo... | 2 | Kotlin | 0 | 0 | 7ec1b14304e001a6c7653f7b2775245cadb43d01 | 1,492 | MetroTripper | Apache License 2.0 |
city-service/src/main/kotlin/de/clines/cityservice/configuration/SecurityConfiguration.kt | d-stoll | 239,963,269 | false | null | package de.clines.cityservice.configuration
import com.okta.spring.boot.oauth.Okta
import org.springframework.context.annotation.Configuration
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAda... | 0 | Kotlin | 0 | 2 | 4fff166b17c2b7fd0adf3117fded94d6ecc58af5 | 898 | citymatch | Apache License 2.0 |
AndroidClient/app/src/main/java/androidtechingdemo/billsmart/ui/activity/ActivityFragment.kt | YuanRuQian | 784,760,855 | false | {"Kotlin": 16134, "TypeScript": 655, "JavaScript": 649} | package androidtechingdemo.billsmart.ui.activity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidtechingdemo.billsmart.R
import androidx.fragment.app.Fragment
class ActivityFragment : Fragment() {
override fun onCreateView(
inflate... | 0 | Kotlin | 0 | 0 | 55d95c562bd94e6efb6460e5d56d2bc78a238376 | 536 | bill-smart | MIT License |
app/src/main/java/com/elementary/tasks/core/arch/BindingActivity.kt | naz013 | 165,067,747 | false | null | package com.elementary.tasks.core.arch
import android.os.Bundle
import androidx.viewbinding.ViewBinding
abstract class BindingActivity<B : ViewBinding> : ThemedActivity() {
protected val binding: B by lazy { inflateBinding() }
abstract fun inflateBinding(): B
override fun onCreate(savedInstanceState: Bundle?... | 0 | Kotlin | 2 | 0 | a4c2a2bca3afd76e33b3e45bfdde8dbe8e052568 | 402 | reminder-kotlin | Apache License 2.0 |
vmtools/src/main/java/com/vmloft/develop/library/tools/widget/voice/VMVoiceRecorder.kt | lzan13 | 78,939,095 | false | {"Kotlin": 638470, "Java": 43903, "HTML": 2434} | package com.vmloft.develop.library.tools.widget.record
import android.media.MediaRecorder
import android.media.MediaRecorder.AudioEncoder
import android.media.MediaRecorder.AudioSource
import android.media.MediaRecorder.OutputFormat
import com.vmloft.develop.library.tools.utils.VMDate
import com.vmloft.develop.library... | 0 | Kotlin | 14 | 31 | ae08a4ed89b84ffa8673ee2d12b638a68f3873d6 | 6,181 | VMLibrary | MIT License |
data/RF00831/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF00831"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
10 to ... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 2,531 | Rfam-for-RNArtist | MIT License |
untitled/src/main/kotlin/Day2.kt | jlacar | 572,845,298 | false | null | class Day2(private val fileName: String) : AocSolution {
override val description: String get() = "Day 2 - Rock Paper Scissors ($fileName)"
private val input = InputReader(fileName).lines
override fun part1() = input.sumOf { rpsScore(it) }
override fun part2() = input.sumOf { rpsStrategicScore(it) }
}
... | 0 | Kotlin | 0 | 2 | dbdefda9a354589de31bc27e0690f7c61c1dc7c9 | 1,990 | adventofcode2022-kotlin | The Unlicense |
app/src/main/java/com/github/renfrow/republic/route/domain/Route.kt | cren90 | 813,235,130 | false | {"Kotlin": 29306} | package com.github.renfrow.republic.route.domain
data class Route(
val id: Int,
val name: String,
val type: String
)
| 0 | Kotlin | 0 | 0 | 438e466761054ed825e605db6fa0cc1ed52944ff | 130 | republic-services-interview | Apache License 2.0 |
app/src/main/java/com/beomjo/whitenoise/ui/main/track/TrackListViewModel.kt | beomjo | 341,792,497 | false | null | /*
* Designed and developed by 2021 beomjo
*
* 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... | 6 | Kotlin | 0 | 7 | bd0906f72c92431a66cb365fe85062ba0d3d700a | 1,349 | white-noise-player | Apache License 2.0 |
dataforge-data/src/commonMain/kotlin/space/kscience/dataforge/data/dataTransform.kt | SciProgCentre | 148,831,678 | false | {"Kotlin": 408470} | package space.kscience.dataforge.data
import space.kscience.dataforge.meta.Meta
import space.kscience.dataforge.meta.MutableMeta
import space.kscience.dataforge.meta.seal
import space.kscience.dataforge.meta.toMutableMeta
import space.kscience.dataforge.misc.DFInternal
import space.kscience.dataforge.names.Name
import... | 15 | Kotlin | 3 | 24 | ce0d3bb584e9e54d43de8119bd070982c0e0946d | 7,419 | dataforge-core | Apache License 2.0 |
android/app/src/main/kotlin/com/example/wol/MainActivity.kt | CodeGlitch | 467,298,517 | false | {"Dart": 53847, "C++": 21316, "CMake": 15787, "HTML": 3938, "Ruby": 2685, "C": 1425, "Swift": 1407, "Kotlin": 130, "Objective-C": 38} | package com.codeglitch.wakeupdash
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 1 | Dart | 0 | 4 | 0d7269e6ae050d958efba065551b7c1c617b24cb | 130 | WakeUpDash | MIT License |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/request/TLRequestAccountUnregisterDevice.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api.request
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT32
import com.github.badoualy.telegram.tl.TLObjectUtils.computeTLStringSerializedSize
import com.github.badoualy.telegram.tl.core.TLB... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 2,386 | kotlogram-resurrected | MIT License |
legacy/src/main/java/jp/hazuki/yuzubrowser/legacy/action/item/PasteGoSingleAction.kt | hazuki0x0 | 84,384,224 | false | null | /*
* Copyright (C) 2017-2019 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... | 115 | null | 95 | 301 | 6a867f406b7fc6b29f1899c7ca622e7ce75fafa0 | 3,696 | YuzuBrowser | Apache License 2.0 |
feature/classnavigator/src/main/java/com/muammarahlnn/learnyscape/feature/classnavigator/navigation/ClassNavHost.kt | muammarahlnn | 663,132,195 | false | {"Kotlin": 1073986} | package com.muammarahlnn.learnyscape.feature.classnavigator.navigation
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.navigation.compose.NavHost
import com.muammarahlnn.learnyscape.feature.aclass.navigation.CLASS_ROUTE
import com.muammarahlnn.learnyscape.feature.aclass.n... | 0 | Kotlin | 0 | 0 | 0b85fadb7bd6b51c4c1189732e646df364c84d81 | 2,521 | Learnyscape | Apache License 2.0 |
imx-core-sdk-kotlin-jvm/generated/src/main/kotlin/com/immutable/sdk/api/model/FeeToken.kt | immutable | 467,767,205 | false | {"Kotlin": 668106, "Java": 131024, "Mustache": 29745, "Solidity": 10068} | /**
* Immutable X API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1
* Contact: support@immutable.com
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech... | 2 | Kotlin | 2 | 5 | 4a823d30db92356c325140874f5ba708547585ca | 1,100 | imx-core-sdk-kotlin-jvm | Apache License 2.0 |
ok-marketplace-be-app-ktor/src/test/kotlin/ru/otus/otuskotlin/marketplace/Utils.kt | otuskotlin | 375,767,209 | false | null | package ru.otus.otuskotlin.marketplace
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import ru.otus.otuskotlin.marketplace.stubs.Bolt
import ru.otus.otuskotlin.marketplace.openapi.models.*
import kotlin.test.assertEquals
import kotlin.test.assertTrue
object Utils {
val mapper = jacksonObjectMappe... | 0 | Kotlin | 5 | 9 | f7b000e861fb35b5e0a641782fb7fe746814da31 | 1,958 | 202105-otuskotlin-marketplace | MIT License |
src/test/kotlin/no/nav/syfo/dialogmelding/converter/FellesformatConverterSpek.kt | navikt | 378,118,189 | false | null | package no.nav.syfo.dialogmelding.converter
import no.nav.syfo.behandler.domain.DialogmeldingToBehandlerBestilling
import no.nav.syfo.behandler.kafka.dialogmeldingtobehandlerbestilling.toDialogmeldingToBehandlerBestilling
import no.nav.syfo.domain.PartnerId
import no.nav.syfo.domain.Personident
import no.nav.syfo.fell... | 2 | Kotlin | 1 | 0 | ac0942c5fde21a82e3f4bbe1c3500fa03264c051 | 2,197 | isdialogmelding | MIT License |
domain/auth/src/main/kotlin/io/github/siyual_park/auth/domain/authentication/TypeMatchAuthenticateFilter.kt | siyul-park | 403,557,925 | false | {"Kotlin": 711198, "TypeScript": 44640, "JavaScript": 1125, "Dockerfile": 292, "Shell": 195} | package io.github.siyual_park.auth.domain.authentication
import kotlin.reflect.KClass
class TypeMatchAuthenticateFilter<T : Any>(
private val clazz: KClass<T>
) : AuthenticateFilter {
override fun isSubscribe(payload: Any): Boolean {
return clazz.isInstance(payload)
}
}
| 12 | Kotlin | 0 | 18 | 8ba61c438582901ea277c920803e42071adf3727 | 293 | spring-webflux-multi-module-boilerplate | MIT License |
bukkit/src/main/java/pl/kakuszcode/discordreward/bukkit/listener/WebSocketListener.kt | kakuszCode | 567,027,556 | false | {"Kotlin": 32703} | package pl.kakuszcode.discordreward.bukkit.listener
import me.clip.placeholderapi.PlaceholderAPI
import pl.kakuszcode.discordreward.bukkit.DiscordReward
import pl.kakuszcode.discordreward.bukkit.bot.Bot
import pl.kakuszcode.discordreward.bukkit.config.Configuration
import pl.kakuszcode.discordreward.bukkit.extension.f... | 11 | Kotlin | 0 | 5 | 5a24314034df4347f1c273016a42aa513d584439 | 3,336 | KakuszDiscordRewardPlugin | Apache License 2.0 |
app/src/main/java/com/yelai/wearable/ui/discovery/DiscoveryFragment.kt | xlhlivy | 160,482,414 | false | null | package com.yelai.wearable.ui.discovery
import android.content.Context
import android.os.Bundle
import android.support.v7.widget.RecyclerView
import android.view.View
import cn.droidlover.xdroidmvp.base.SimpleRecAdapter
import cn.droidlover.xdroidmvp.imageloader.ILFactory
import cn.droidlover.xdroidmvp.mvp.KLazyFragme... | 1 | null | 1 | 1 | d2cef9124533751d577f9dc518359fc9a7317a9e | 4,876 | AiSportsTeacher | MIT License |
src/main/kotlin/es/urjc/realfood/restaurants/domain/orders/OrderStatus.kt | MasterCloudApps-Projects | 391,102,931 | false | null | package es.urjc.realfood.restaurants.domain.orders
enum class OrderStatus(val id: Int, val next: OrderStatus) {
SENT(3, SENT),
PREPARED(2, SENT),
PENDING(1, PREPARED);
companion object {
fun fromId(id: Int): OrderStatus? {
return OrderStatus.values().firstOrNull { it.id == id }
... | 0 | Kotlin | 0 | 1 | a727933b9dad4871fcac795f3dc7c230f19f452c | 334 | realfood-restaurants | Apache License 2.0 |
library/src/test/java/com/wultra/android/sslpinning/TestPA2ECPublicKey.kt | wultra | 146,754,177 | false | {"Gradle Kotlin DSL": 4, "Java Properties": 4, "Shell": 6, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "INI": 2, "YAML": 1, "Kotlin": 50, "Gradle": 1, "Proguard": 1, "Java": 8, "XML": 1} | /*
* Copyright 2023 Wultra 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 agreed to in... | 0 | Kotlin | 8 | 57 | 16a67a0a13ec5f20ad2b0d98946897e0c91b1cae | 845 | ssl-pinning-android | Apache License 2.0 |
demo/src/desktopMain/kotlin/org/pushingpixels/aurora/demo/svg/filetypes/ext_tmp.kt | kirill-grouchnikov | 297,981,405 | false | {"Kotlin": 2202922, "Shell": 7752, "templ": 4389, "Batchfile": 191} | package org.pushingpixels.aurora.demo.svg.filetypes
import androidx.compose.ui.geometry.*
import androidx.compose.ui.graphics.*
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.graphics.drawscope.Fill
import androidx.compose.ui.graphics.drawscope.Stroke
import androidx.compose.ui.grap... | 8 | Kotlin | 19 | 570 | c9aa4a852fa2843a72473e710f3cf9a4ebd63f6d | 16,847 | aurora | Apache License 2.0 |
subprojects/gradle/namespaced-resources-fixer/src/main/kotlin/com/avito/android/plugin/internal/ElementsFactory.kt | sundetova | 287,793,131 | true | {"Kotlin": 2381272, "Shell": 16491, "Python": 14168, "Dockerfile": 7088, "Makefile": 2410} | package com.avito.android.plugin.internal
import io.github.detekt.parser.createKotlinCoreEnvironment
import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment
import org.jetbrains.kotlin.com.intellij.psi.PsiElement
import org.jetbrains.kotlin.name.FqName
import org.jetbrains.kotlin.name.Name
import org.jetbra... | 0 | Kotlin | 0 | 0 | 2f65d3005671248068fe734d7fd48ced92192418 | 1,178 | avito-android | MIT License |
redwood-lazylayout-compose/src/commonMain/kotlin/app/cash/redwood/lazylayout/compose/layout/LazyLayoutIntervalContent.kt | cashapp | 305,409,146 | false | {"Kotlin": 2089205, "Swift": 20649, "Objective-C": 4497, "Java": 1583, "Shell": 253, "HTML": 235, "C": 129} | /*
* Copyright 2023 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... | 108 | Kotlin | 73 | 1,648 | 3f14e622c2900ec7e0dfaff5bd850c95a7f29937 | 1,855 | redwood | Apache License 2.0 |
app/src/main/java/xyz/bboylin/dailyandroid/helper/util/WebUtil.kt | bboylin | 120,625,830 | false | {"Gradle": 3, "Markdown": 1, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Text": 1, "Proguard": 1, "Kotlin": 71, "XML": 42, "Java": 1} | package xyz.bboylin.dailyandroid.helper.util
import android.content.Context
import com.thefinestartist.finestwebview.FinestWebView
/**
* Created by lin on 2018/3/2.
*/
object WebUtil {
private lateinit var context: Context
fun initContext(context: Context) {
this.context = context
}
fun sh... | 0 | Kotlin | 0 | 5 | ec9dca120b5ef89c2d8851c4d9c9f86437556696 | 597 | DailyAndroid | Apache License 2.0 |
test/org/jetbrains/r/console/RExecuteSelectionAndEditTest.kt | JetBrains | 214,212,060 | false | {"Kotlin": 2657599, "Java": 558927, "R": 37082, "Lex": 14307, "HTML": 10063, "Rez": 70, "Rebol": 47} | /*
* Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package org.jetbrains.r.console
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.application.invokeLater
import com.intellij.openapi.app... | 2 | Kotlin | 13 | 62 | 8b4f3aac10693cbfb5841f0afff46338bffbc50e | 2,665 | Rplugin | Apache License 2.0 |
app/src/main/java/com/oguzdogdu/wallieshd/presentation/authenticateduser/ProfileMenu.kt | oguzsout | 616,912,430 | false | null | package com.oguzdogdu.wallieshd.presentation.authenticateduser
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
data class ProfileMenu(
@DrawableRes val iconRes: Int? = null,
@StringRes val titleRes: Int? = null
)
| 0 | null | 0 | 8 | f4dfeea21aabb253dd4aff4001c91138d5af88e4 | 251 | Wallies | MIT License |
app/src/main/java/com/wenjian/wanandroid/net/RetrofitManager.kt | wenjiangit | 147,815,372 | false | {"Java": 173354, "Kotlin": 161112} | package com.wenjian.wanandroid.net
import com.wenjian.wanandroid.BuildConfig
import com.wenjian.wanandroid.WanAndroidApp
import com.zyj.retrofit.adapter.FlowCallAdapterFactory
import okhttp3.Cache
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retr... | 1 | Java | 1 | 1 | 7ddd7f6577bee9841c7e2951e4da8d0c93ac4857 | 2,486 | WanAndroid | MIT License |
kotlin-react-core/src/jsMain/kotlin/react/TransitionStartFunction.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | package react
typealias TransitionStartFunction = (
callback: TransitionFunction,
) -> Unit
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 97 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/example/wetterbericht/data/local/dao/weather/WeatherDao.kt | Alstonargodi | 481,945,403 | false | {"Kotlin": 176326} | package com.example.wetterbericht.data.local.dao.weather
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.wetterbericht.data.local.entity.weather.WeatherLocal
@Dao
abstract class WeatherDao {
... | 0 | Kotlin | 0 | 0 | f5c72c30fab903dc206632f665a14774d43ca8fa | 870 | Plan | Apache License 2.0 |
src/main/services/challenge/RedeemChallengeService.kt | ncent | 249,572,160 | false | null | package main.services.challenge
//import framework.models.idValue
//import kotlinserverless.framework.services.SOAResult
//import kotlinserverless.framework.services.SOAResultType
//import main.daos.*
//import main.services.completion_criteria.ValidateCompletionCriteriaService
//import main.services.reward.DistributeR... | 3 | Kotlin | 0 | 0 | 84fe98c686cece217752a9dd513071f5015db8ff | 3,475 | core-api | MIT License |
src/main/kotlin/waffle/web/form/webreg/CreateForm.kt | tmyksj | 571,796,959 | false | null | package waffle.web.form.webreg
import jakarta.validation.constraints.Pattern
import waffle.web.controller.WebRegController
/**
* Form for [WebRegController.create].
*/
data class CreateForm(
/**
* WebCheckpoint A.
*/
@field:Pattern(regexp = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-... | 0 | Kotlin | 0 | 0 | d998f28a4b534493d662a1656979ffb27c378b86 | 540 | waffle | Apache License 2.0 |
packages/datadog_flutter_plugin/android/src/test/kotlin/com/datadoghq/flutter/ReflectUtils.kt | DataDog | 436,020,465 | false | {"Dart": 878478, "Swift": 190940, "Kotlin": 164453, "Ruby": 13595, "HTML": 6676, "Shell": 4786, "C++": 789, "Java": 670, "Objective-C": 228, "CMake": 112} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadoghq.flutter
import java.lang.reflect.InvocationTarg... | 8 | Dart | 43 | 45 | 9856d3ccdd5701e19ba9e0eedcea9dd4c1ba1410 | 3,478 | dd-sdk-flutter | Apache License 2.0 |
spesialist-api/src/main/kotlin/no/nav/helse/spesialist/api/graphql/schema/Behandlingsstatistikk.kt | navikt | 244,907,980 | false | null | package no.nav.helse.spesialist.api.graphql.schema
import no.nav.helse.spesialist.api.behandlingsstatistikk.Statistikk
import no.nav.helse.spesialist.api.behandlingsstatistikk.BehandlingsstatistikkResponse
data class Antall(
val automatisk: Int,
val manuelt: Int,
val tilgjengelig: Int,
)
@Suppress("unuse... | 9 | Kotlin | 3 | 1 | 9d4136c645cc48337f246413c4b0beb906839ffd | 1,928 | helse-spesialist | MIT License |
tmp/arrays/kotlinAndJava/288.kt | mandelshtamd | 346,008,310 | true | {"Kotlin": 7965847} | //File A.java
import kotlin.Metadata;
public interface A {
int f();
public static final class DefaultImpls {
public static int f(A $this) {
return 239;
}
}
}
//File B.java
import kotlin.Metadata;
public final class B implements A {
public int f() {
return A.DefaultImpls.f(thi... | 1 | Kotlin | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 422 | kotlinWithFuzzer | Apache License 2.0 |
booking/src/main/kotlin/io/axoniq/demo/hotel/booking/query/api/valueobjects.kt | AxonIQ | 300,247,947 | false | null | /*
* Copyright (c) 2020-2020. AxonIQ
*
* 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... | 12 | Java | 36 | 97 | 9818b6d7ee0c6f7ddb73c252312f235851caee88 | 1,535 | hotel-demo | Apache License 2.0 |
canvas2/src/main/java/com/angcyo/canvas/render/state/RendererState.kt | angcyo | 229,037,615 | false | {"Kotlin": 6714795, "JavaScript": 5194} | package com.angcyo.canvas.render.state
import com.angcyo.canvas.render.core.component.CanvasRenderProperty
import com.angcyo.canvas.render.renderer.BaseRenderer
/**
* 渲染器的状态, 保存[com.angcyo.canvas.render.renderer.BaseRenderer]的状态, 用于恢复
* @author <a href="mailto:angcyo@126.com">angcyo</a>
* @since 2023/02/25
*/
dat... | 0 | Kotlin | 6 | 5 | e1aeea2a677b585561879f3cdb0be6b1c6d1d458 | 629 | UICore | MIT License |
networklibrary/src/main/java/com/lkl/networklibrary/https/exception/NullDataException.kt | Songzengqiang1 | 146,403,500 | false | null | package com.lkl.demo.https.exception
class NullDataException internal constructor(message: String) : RuntimeException(message) | 0 | Kotlin | 0 | 0 | 7ad5226edc4b22a3b74a8fa12d6ffbee529c097b | 127 | KotlinDemo | Apache License 2.0 |
app/src/test/java/com/artemchep/config/common/TestEmptyConfig.kt | AChep | 139,670,954 | false | {"Kotlin": 36627} | package com.artemchep.config.common
/**
* @author <NAME>
*/
class TestEmptyConfig : EmptyConfig<String>() {
var intParameter by configDelegate(KEY_INT_PROP, VALUE_INT_PROP)
var stringParameter by configDelegate(KEY_STRING_PROP, VALUE_STRING_PROP)
}
| 0 | Kotlin | 1 | 4 | 0dfb2771e0c64f18e17d7f830dac02b90974ce9d | 263 | config | Apache License 2.0 |
src/main/kotlin/io/servock/Servock.kt | ctruchi | 417,414,198 | false | {"Kotlin": 15926, "Dockerfile": 195, "Shell": 59} | package io.servock
import mu.KLogger
import mu.KotlinLogging
import org.http4k.core.Filter
import org.http4k.core.HttpMessage
import org.http4k.core.MemoryBody
import org.http4k.core.then
import org.http4k.filter.RequestFilters
import org.http4k.server.Netty
import org.http4k.server.asServer
import java.nio.file.Path
... | 0 | Kotlin | 0 | 0 | 85e908d77129c5128fcbf90f3268b3a6d2cae2d3 | 2,273 | servock | Apache License 2.0 |
Android_Client/app/src/main/java/com/singhtwenty2/konix/feature_order_placing/data/remote/dto/response/LatestStockPriceResponseDTO.kt | singhtwenty2 | 809,094,089 | false | {"Kotlin": 369846, "Dockerfile": 414} | package com.singhtwenty2.konix.feature_order_placing.data.remote.dto.response
data class LatestStockPriceResponseDTO(
val price: Double
)
| 0 | Kotlin | 0 | 1 | b744b0797548d2c1dbec21ba684b4691471dbfc4 | 143 | konix-TEP | MIT License |
domain/src/test/java/com/shamlou/domain/SearchInCitiesByPrefixTest.kt | keivanshamlu | 453,712,116 | false | null | package com.shamlou.domain
import com.shamlou.bases.useCase.Resource
import com.shamlou.data_local.utility.MainCoroutineRule
import com.shamlou.domain.model.cities.ResponseCityDomain
import com.shamlou.domain.repository.CitiesRepository
import com.shamlou.domain.useCases.SearchInCitiesByPrefix
import com.shamlou.domai... | 0 | Kotlin | 0 | 0 | 631b1d7bd0997d985866f42e25db4f1cc4e11297 | 2,327 | All-cities | Apache License 2.0 |
sources/frontend/schema/test/org/jetbrains/amper/frontend/schema/helper/TestTraceValidationVisitor.kt | JetBrains | 709,379,874 | false | {"Kotlin": 1917051, "Java": 288926, "Shell": 107894, "Batchfile": 66223, "Lex": 16216, "Swift": 14457, "Ruby": 4736, "Dockerfile": 1327} | /*
* Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.amper.frontend.schema.helper
import org.jetbrains.amper.core.messages.ProblemReporterContext
import org.jetbrains.amper.frontend.api.SchemaNode
import org.jetbrains.amp... | 0 | Kotlin | 30 | 988 | 6a2c7f0b86b36c85e9034f3de9bfe416516b323b | 1,519 | amper | Apache License 2.0 |
sources/frontend/schema/test/org/jetbrains/amper/frontend/schema/helper/TestTraceValidationVisitor.kt | JetBrains | 709,379,874 | false | {"Kotlin": 1917051, "Java": 288926, "Shell": 107894, "Batchfile": 66223, "Lex": 16216, "Swift": 14457, "Ruby": 4736, "Dockerfile": 1327} | /*
* Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.amper.frontend.schema.helper
import org.jetbrains.amper.core.messages.ProblemReporterContext
import org.jetbrains.amper.frontend.api.SchemaNode
import org.jetbrains.amp... | 0 | Kotlin | 30 | 988 | 6a2c7f0b86b36c85e9034f3de9bfe416516b323b | 1,519 | amper | Apache License 2.0 |
gaia/src/main/kotlin/fyi/pauli/ichor/gaia/networking/packet/outgoing/login/LoginSuccess.kt | ichor-dev | 676,285,724 | false | null | package fyi.pauli.ichor.gaia.networking.packet.outgoing.login
import fyi.pauli.ichor.gaia.entity.player.UserProfile
import fyi.pauli.ichor.gaia.extensions.bytes.buffer
import fyi.pauli.ichor.gaia.extensions.bytes.buffer.userProfile
import fyi.pauli.ichor.gaia.networking.packet.State
import fyi.pauli.ichor.gaia.network... | 5 | Kotlin | 0 | 0 | abd5e76b79ee6062faad5b11ef39f58735be37e2 | 777 | ichor | Apache License 2.0 |
backend/use-cases/src/main/kotlin/com/y9vad9/pomodoro/backend/usecases/timers/CreateTimerUseCase.kt | y9vad9 | 544,125,678 | false | null | package com.y9vad9.pomodoro.backend.usecases.timers
import com.y9vad9.pomodoro.backend.domain.TimerName
import com.y9vad9.pomodoro.backend.providers.CurrentTimeProvider
import com.y9vad9.pomodoro.backend.repositories.TimersRepository
import com.y9vad9.pomodoro.backend.repositories.UsersRepository
class CreateTimerUse... | 4 | Kotlin | 0 | 8 | a4c13b7d8bb71139c4b61e9d26d61acc9743f6a3 | 801 | pomodoro | MIT License |
api/net/src/main/kotlin/org/rsmod/api/net/rsprot/handlers/OpLocHandler.kt | rsmod | 293,875,986 | false | null | package org.rsmod.api.net.rsprot.handlers
import com.github.michaelbull.logging.InlineLogger
import jakarta.inject.Inject
import net.rsprot.protocol.game.incoming.locs.OpLoc
import org.rsmod.api.interactions.LocInteractions
import org.rsmod.api.player.protect.clearPendingAction
import org.rsmod.api.player.vars.ctrlMov... | 0 | null | 64 | 95 | 3ba446ed70bcde0870ef431e1a8527efc6837d6c | 2,421 | rsmod | ISC License |
baseKit/src/main/java/me/shetj/base/base/BaseService.kt | SheTieJun | 137,007,462 | false | null | package me.shetj.base.base
import android.app.Service
import android.content.Context
import android.content.Intent
import android.os.IBinder
import androidx.annotation.Keep
import kotlinx.coroutines.cancel
import kotlinx.coroutines.launch
/**
* ================================================
* 基类 [Service]
* @aut... | 1 | null | 1 | 7 | a3eb3bd80926cd008d7a02d0eff772ce6497f7b7 | 1,366 | BaseKit | MIT License |
codebase/android/feature/home/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/home/home/event/HomeScreenUIEvent.kt | Abhimanyu14 | 429,663,688 | false | {"Kotlin": 1876553} | package com.makeappssimple.abhimanyu.financemanager.android.feature.home.home.event
import androidx.compose.runtime.Immutable
import com.makeappssimple.abhimanyu.financemanager.android.core.ui.base.ScreenUIEvent
import com.makeappssimple.abhimanyu.financemanager.android.core.ui.component.overview_card.OverviewCardActi... | 11 | Kotlin | 0 | 3 | 7e080a68bc038bd64d2d406b75a49e8f1ea2a791 | 1,254 | finance-manager | Apache License 2.0 |
Android_Client/app/src/main/java/com/singhtwenty2/konix/feature_order_placing/presentation/screen/order_detail_screen/OrderDetailState.kt | singhtwenty2 | 809,094,089 | false | {"Kotlin": 369846, "Dockerfile": 414} | package com.singhtwenty2.konix.feature_order_placing.presentation.screen.order_detail_screen
import com.singhtwenty2.konix.feature_order_placing.domain.model.OrderResponse
data class OrderDetailState(
val order: List<OrderResponse> = emptyList(),
val isLoading: Boolean = false,
val isRefreshing: Boolean =... | 0 | Kotlin | 0 | 1 | b744b0797548d2c1dbec21ba684b4691471dbfc4 | 394 | konix-TEP | MIT License |
app/src/main/java/com/yigitalasoy/stylestreetapp/ui/fragment/main/CategoryAdapter.kt | yigitalasoy | 773,178,241 | false | {"Kotlin": 250817} | package com.yigitalasoy.stylestreetapp.ui.fragment.main
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.yigitalasoy.stylestreetapp.R
import com.yigitalasoy.stylestreetapp.databinding.CategoryRowBinding
import com.yigi... | 0 | Kotlin | 0 | 0 | 7182fe8f78dc3798c9773283665eaa62a2b08e3a | 1,812 | StyleStreet | Apache License 2.0 |
app/src/main/java/com/aastudio/sarollahi/moviebox/KoinModule.kt | sarollahi | 327,908,585 | false | {"Kotlin": 450483} | /*
* Copyright (C) 2021 <NAME>
* All rights reserved.
*/
package com.aastudio.sarollahi.moviebox
import com.aastudio.sarollahi.moviebox.ui.movie.viewModel.MovieViewModel
import com.aastudio.sarollahi.moviebox.ui.movie.viewModel.NowPlayingMoviesViewModel
import com.aastudio.sarollahi.moviebox.ui.movie.viewModel.Pop... | 0 | Kotlin | 0 | 0 | 17acb53f4ab51e40126fa3136f851eb8895074c2 | 2,569 | MovieBox-Kotlin | Apache License 2.0 |
data/src/main/java/ca/bc/gov/data/datasource/remote/model/base/patientdata/DiagnosticImagingData.kt | bcgov | 414,797,174 | false | null | package ca.bc.gov.data.datasource.remote.model.base.patientdata
/**
* @author <NAME>
*/
data class DiagnosticImagingData(
val id: String? = null,
val examDate: String?,
val fileId: String?,
val examStatus: String?,
val healthAuthority: String?,
val organization: String?,
val modality: Str... | 3 | Kotlin | 4 | 4 | c5b1da2ca6d20062c95c734f06ba4ca5b0b70624 | 448 | myhealthBC-android | Apache License 2.0 |
data/src/main/java/ca/bc/gov/data/datasource/remote/model/base/patientdata/DiagnosticImagingData.kt | bcgov | 414,797,174 | false | null | package ca.bc.gov.data.datasource.remote.model.base.patientdata
/**
* @author <NAME>
*/
data class DiagnosticImagingData(
val id: String? = null,
val examDate: String?,
val fileId: String?,
val examStatus: String?,
val healthAuthority: String?,
val organization: String?,
val modality: Str... | 3 | Kotlin | 4 | 4 | c5b1da2ca6d20062c95c734f06ba4ca5b0b70624 | 448 | myhealthBC-android | Apache License 2.0 |
app/src/main/kotlin/ru/subtlefox/mvi/cookbook/screens/sample4/mvi/entity/RaceConditionState.kt | Subtle-fox | 518,114,574 | false | {"Kotlin": 96952, "Java": 47} | package ru.subtlefox.mvi.cookbook.screens.sample4.mvi.entity
data class RaceConditionState(
val likeAmount: String,
val likeShare: String,
val progress: String?
) {
companion object {
val INITIAL = RaceConditionState("0", "", null)
}
}
| 0 | Kotlin | 0 | 4 | cbd0d60a002b72688647345c3415b06c5bb39fac | 266 | MVI-on-Flow | Apache License 2.0 |
apollo-ast/src/main/kotlin/com/apollographql/apollo3/ast/gqldocument.kt | apollographql | 69,469,299 | false | null | package com.apollographql.apollo3.ast
import okio.buffer
import okio.source
fun GQLDocument.withBuiltinDefinitions(): GQLDocument {
return withDefinitions(builtinDefinitions())
}
fun GQLDocument.withoutBuiltinDefinitions(): GQLDocument {
return withoutDefinitions(builtinDefinitions())
}
fun GQLDocument.withBuil... | 129 | Kotlin | 559 | 3,046 | 7a1a291d5edc7d66d088c06b47975ef8a79fc439 | 2,588 | apollo-android | MIT License |
combined/src/main/kotlin/com/github/jan222ik/ui/uml/DemoCanvasElement.kt | jan222ik | 462,289,211 | false | {"Kotlin": 852617, "Java": 17948} | package com.github.jan222ik.ui.uml
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.material.Button
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import ... | 0 | Kotlin | 0 | 0 | e67597e41b47ec7676aa0e879062d8356f1b4672 | 3,684 | MSc-Master-Composite | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ivs/CfnPublicKeyPropsDsl.kt | F43nd1r | 643,016,506 | false | {"Kotlin": 5482239} | package com.faendir.awscdkkt.generated.services.ivs
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.ivs.CfnPublicKeyProps
@Generated
public fun buildCfnPublicKeyProps(initializer: @AwsCdkDsl CfnPublicKeyProps.Builder.() -> Unit =
... | 1 | Kotlin | 0 | 4 | f1542b808f0e2cf4fcdd0d84d025a8fbaf09e90d | 400 | aws-cdk-kt | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/test/java/com/android/build/gradle/internal/testing/utp/worker/RunUtpWorkActionTest.kt | jomof | 502,039,754 | true | {"Markdown": 63, "Java Properties": 56, "Shell": 31, "Batchfile": 12, "Proguard": 30, "CMake": 10, "Kotlin": 3443, "C++": 594, "Java": 4446, "HTML": 34, "Makefile": 14, "RenderScript": 22, "C": 30, "JavaScript": 2, "CSS": 3, "INI": 11, "Filterscript": 11, "Prolog": 1, "GLSL": 1, "Gradle Kotlin DSL": 5, "Python": 12, "D... | /*
* 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... | 1 | null | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 3,591 | CppBuildCacheWorkInProgress | Apache License 2.0 |
src/main/kotlin/com/github/mrbean355/admiralbulldog/triggers/SoundTrigger.kt | MrBean355 | 181,222,587 | false | null | /*
* 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 wri... | 7 | Kotlin | 5 | 31 | 24f2f5de5c8d8397c9aec94795f6da3bfaac3611 | 1,262 | admiralbulldog-sounds | Apache License 2.0 |
src/main/kotlin/com/oguzhanaslann/dataSource/network/dto/Rating.kt | oguzhanaslann | 470,751,180 | false | {"Kotlin": 29640} | package com.oguzhanaslann.dataSource.network.dto
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Rating(
@SerialName("Source")
val source: String? = null,
@SerialName("Value")
val value: String? = null
) | 0 | Kotlin | 0 | 0 | 51d01039c809b4658ba9620738f554d25a3ea99e | 281 | moviez-ktor | Apache License 2.0 |
client-web/src/sk/csirt/viruschecker/client/web/routing/ReportsBy.kt | CSIRT-SK | 214,125,983 | false | null | package sk.csirt.viruschecker.client.web.routing
import io.ktor.application.call
import io.ktor.locations.KtorExperimentalLocationsAPI
import io.ktor.locations.get
import io.ktor.routing.Route
import kotlinx.html.*
import sk.csirt.viruschecker.client.service.GatewayReportService
import sk.csirt.viruschecker.client.web... | 0 | Kotlin | 5 | 6 | f9269787d5c30fccb15f416f451113bba4e7cde9 | 1,295 | viruschecker | MIT License |
app/src/main/java/tech/jorgecastro/jsonapi/example/MainActivity.kt | devjorgecastro | 249,588,529 | false | null | package tech.jorgecastro.jsonapi.example
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.dispos... | 7 | Kotlin | 0 | 10 | 6d940502123a9b0a87b743dc8125df891a860495 | 8,853 | retrofit-jsonapi-converter | Apache License 2.0 |
app/src/sharedTest/java/org/fnives/test/showcase/testutils/MockServerScenarioSetupTestRule.kt | fknives | 356,982,481 | false | null | package org.fnives.test.showcase.testutils
import org.fnives.test.showcase.network.mockserver.MockServerScenarioSetup
import org.fnives.test.showcase.testutils.configuration.ServerTypeConfiguration
import org.fnives.test.showcase.testutils.configuration.SpecificTestConfigurationsFactory
import org.junit.rules.TestRule... | 15 | Kotlin | 0 | 2 | b35467fcba52f5ac6896b316ca27d3d0b1f2bbf0 | 1,252 | AndroidTest-ShowCase | Apache License 2.0 |
igdbclient-core/src/jvmMain/kotlin/internal/parser/TwitchTokenParser.jvm.kt | illarionov | 660,855,100 | false | null | /*
* Copyright (c) 2023, the Igdbclient 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.
*/
package ru.pixnews.igdbclient.internal.parser
import okio.BufferedSource
import org.json.JSONO... | 1 | null | 0 | 5 | ecadd5e98afb6b93acb101a951197bb367f521aa | 1,080 | igdbclient | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/payment/PaymentDetailsInit.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6214094} | // Automatically generated - do not modify!
package web.payment
import kotlinx.js.JsPlainObject
@JsPlainObject
external interface PaymentDetailsInit :
PaymentDetailsBase {
var id: String?
var total: PaymentItem
}
| 0 | Kotlin | 7 | 35 | ac6d96e24eb8d07539990dc2d88cbe85aa811312 | 228 | types-kotlin | Apache License 2.0 |
app/src/main/java/dev/sergiobelda/samples/materialmotion/planets/PlanetsActivity.kt | serbelga | 260,502,864 | false | null | /*
* Copyright 2021 <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... | 5 | null | 33 | 208 | 1e832b8ad0656c528ae024a5dcddf801618ce35a | 3,184 | Material-Motion-Samples | Apache License 2.0 |
src/jvmMain/kotlin/ess/PluginInfo.kt | jfmherokiller | 366,592,978 | false | null | /*
* 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 ... | 0 | Kotlin | 0 | 0 | cff93de2d16b33afc4cc046347d856cb6281795a | 6,296 | ResaverResaved | Apache License 2.0 |
konsistTest/src/test/kotlin/dev/kolibrium/KDocTest.kt | attila-fazekas | 660,962,965 | false | null | /*
* Copyright 2024 <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... | 3 | null | 2 | 4 | a21df3984550e725a716e5b74e7f952dde656aa5 | 3,187 | kolibrium | Apache License 2.0 |
konsistTest/src/test/kotlin/dev/kolibrium/KDocTest.kt | attila-fazekas | 660,962,965 | false | null | /*
* Copyright 2024 <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... | 3 | null | 2 | 4 | a21df3984550e725a716e5b74e7f952dde656aa5 | 3,187 | kolibrium | Apache License 2.0 |
shared/src/commonMain/kotlin/com/lightningkite/lightningserver/typed/BulkRequest.kt | lightningkite | 512,032,499 | false | null | package com.lightningkite.lightningserver.typed
import com.lightningkite.lightningdb.Description
import com.lightningkite.lightningserver.LSError
import kotlinx.serialization.Serializable
@Serializable
data class BulkRequest(
val path: String,
val method: String,
@Description("JSON")
val body: String?... | 3 | null | 1 | 5 | dcd047669ef0d26aeb8dceb9c94fcb0615334562 | 491 | lightning-server | MIT License |
kotlinextensions/src/main/java/com/crazylegend/kotlinextensions/AdaptersExtensions.kt | FunkyMuse | 168,687,007 | false | {"Kotlin": 1666612} | package com.crazylegend.kotlinextensions
import android.widget.ArrayAdapter
/**
* Created by hristijan on 8/5/19 to long live and prosper !
*/
operator fun <T> ArrayAdapter<T>.get(position: Int): T? = getItem(position)
| 0 | Kotlin | 92 | 759 | b38417f2b0791f42d5857b1e0f61785fcb840226 | 225 | KAHelpers | MIT License |
modules/graphql/sources-jvm/definitions/RaptorScalarGraphDefinitionBuilder.kt | fluidsonic | 246,018,343 | false | null | package io.fluidsonic.raptor
import io.fluidsonic.raptor.graphql.internal.*
import kotlin.reflect.*
@RaptorDsl
public class RaptorScalarGraphDefinitionBuilder<Type : Any> internal constructor(
kotlinType: KotlinType,
name: String,
private val stackTrace: List<StackTraceElement>,
) : RaptorNamedGraphTypeDefinition... | 0 | Kotlin | 1 | 6 | aa106d096b700d6eadbcf9ef5df8ec102f7a3fac | 3,204 | raptor | Apache License 2.0 |
app/src/main/java/com/lobo/myjourney/presentation/mappers/JourneyModelToJourneyUiModelMapper.kt | viniciuslobo21 | 456,291,174 | false | {"Kotlin": 68883} | package com.lobo.myjourney.presentation.mappers
import com.lobo.myjourney.R
import com.lobo.myjourney.common.base.BaseMapper
import com.lobo.myjourney.common.utils.NumbersToDescribedNumbers.convertNumberToWord
import com.lobo.myjourney.common.utils.StringResourceProvider
import com.lobo.myjourney.domain.model.JourneyM... | 0 | Kotlin | 0 | 0 | 39c002f20c7716f12ada4786e2f5f8671dbb0fd9 | 1,123 | myJourney | MIT License |
src/testIntegration/kotlin/uk/gov/justice/digital/hmpps/prisontoprobation/services/health/QueueHealthCheckNegativeTest.kt | ministryofjustice | 336,004,219 | false | {"Kotlin": 300535, "Mustache": 1803, "Shell": 1713} | package uk.gov.justice.digital.hmpps.courtregister.services.health
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.TestConfiguration
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Import
import software.amazon.awssdk.auth.credentials.Anon... | 3 | Kotlin | 2 | 2 | 5187271415beea3236588f15aa22292c4c823694 | 1,871 | prison-to-probation-update | MIT License |
src/main/kotlin/il/co/sysbind/moodledev/util/MoodleCorePathUtil.kt | SysBind | 296,470,214 | false | null | package il.co.sysbind.moodledev.util
import com.intellij.openapi.vfs.LocalFileSystem
import com.intellij.openapi.vfs.VfsUtil
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.psi.PsiDirectory
import il.co.sysbind.moodledev.moodle.Component
import java.nio.file.FileSystems
import java.nio.file.Files
obje... | 3 | null | 0 | 4 | 4f824215c0687890e1bf7179fca6db1d4838c71c | 4,136 | moodle-dev | Apache License 2.0 |
app/src/main/java/com/unicornio/happyinseat/screens/MoveScreen.kt | mylesieong | 518,587,737 | false | {"Kotlin": 100217, "Java": 9052, "JavaScript": 515} | package com.unicornio.happyinseat.screens
import android.content.Context
import android.content.res.Configuration
import android.graphics.drawable.AnimationDrawable
import android.widget.ImageView
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.... | 42 | Kotlin | 0 | 2 | a51550c358607117544dec3eed1ff9c4b1b065df | 8,376 | Seated-Exercises-in-Vehicles | MIT License |
kgl-vulkan/src/jvmMain/kotlin/com/kgl/vulkan/handles/DescriptorSet.kt | BrunoSilvaFreire | 223,607,080 | true | {"Kotlin": 1880529, "C": 10037} | /**
* Copyright [2019] [<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 w... | 0 | null | 0 | 0 | 74de23862c29404e7751490331cbafbef310bd63 | 1,471 | kgl | Apache License 2.0 |
wow-core/src/test/kotlin/me/ahoo/wow/modeling/annotation/AggregateMetadataParserTest.kt | Ahoo-Wang | 628,167,080 | false | null | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 8 | null | 23 | 98 | eed438bab2ae009edf3a1db03396de402885c681 | 2,960 | Wow | Apache License 2.0 |
src/main/kotlin/io/github/paulgriffith/kindling/log/SystemLogsEvent.kt | paul-griffith | 444,600,204 | false | {"Kotlin": 240123, "Java": 37769} | package io.github.paulgriffith.kindling.log
import java.time.Instant
sealed interface LogEvent {
val timestamp: Instant
val message: String
val logger: String
}
data class WrapperLogEvent(
override val timestamp: Instant,
override val message: String,
override val logger: String = STDOUT,
... | 0 | Kotlin | 8 | 31 | bf963b2d7bab04414ed418059f94825e039d33ce | 1,039 | kindling | MIT License |
pandora/src/main/java/com/lodz/android/pandora/photopicker/preview/PicturePreviewActivity.kt | helloliuyf | 395,169,959 | true | {"Kotlin": 1758439} | package com.lodz.android.pandora.photopicker.preview
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.util.TypedValue
import android.view.View
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.... | 0 | null | 0 | 0 | e538f5cd6afeb0799e8a7f8ff68db833cd5a1e07 | 5,155 | AgileDevKt | Apache License 2.0 |
bluetape4k/core/src/main/kotlin/io/bluetape4k/io/serializer/KryoSupport.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.io.serializer
import com.esotericsoftware.kryo.Kryo
import com.esotericsoftware.kryo.io.Input
import com.esotericsoftware.kryo.io.Output
import com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
import com.esotericsoftware.kryo.serializers.EnumNameSerializer
import com.esotericsoftwa... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 4,505 | bluetape4k | MIT License |
arrow-libs/core/arrow-core/src/jvmTest/kotlin/examples/example-sequence-01.kt | lukaszkalnik | 427,116,886 | true | {"Kotlin": 1928099, "SCSS": 99659, "JavaScript": 83153, "HTML": 25306, "Java": 7691, "Ruby": 917, "Shell": 98} | // This file was automatically generated from Sequence.kt by Knit tool. Do not edit.
package arrow.core.examples.exampleSequence01
import arrow.core.align
fun main(args: Array<String>) {
//sampleStart
val result =
sequenceOf("A", "B").align(sequenceOf(1, 2, 3)) {
"$it"
}
//sampleEnd
println(result.... | 0 | Kotlin | 0 | 1 | 73fa3847df1f04e634a02bba527917389b59d7df | 332 | arrow | Apache License 2.0 |
app/src/main/java/com/example/kernel/presentation/welcome/WelcomeScreenViewModel.kt | BENJAHJP | 592,411,726 | false | null | package com.example.kernel.presentation.welcome
class WelcomeScreenViewModel {
} | 0 | Kotlin | 0 | 1 | 9930fb6d6873d82fc941605b642f77369cdd1b8c | 81 | Yum | MIT License |
org.librarysimplified.drm.core/src/main/java/org/nypl/drm/core/AdobeAdeptFileAsset.kt | NYPL-Simplified | 42,663,893 | false | null | package org.nypl.drm.core
import org.readium.r2.shared.publication.asset.FileAsset
import org.readium.r2.shared.publication.asset.PublicationAsset
import java.io.File
/**
* A Readium2 Adept-protected asset.
*/
class AdobeAdeptFileAsset(
/**
* The actual EPUB file.
*/
val fileAsset: FileAsset,
... | 3 | null | 1 | 1 | d0fd9aed6167682c4575c565a790551d91e3e1ff | 457 | DRM-Android-Core | Apache License 2.0 |
app/src/main/java/com/kernacs/scooterhunter/newtwork/ScooterApi.kt | kerjani | 421,311,962 | false | null | package com.kernacs.scooterhunter.newtwork
import com.kernacs.scooterhunter.data.dto.ScooterResponseDto
import com.kernacs.scooterhunter.util.Constants
import io.ktor.client.*
import io.ktor.client.request.*
import javax.inject.Inject
class ScooterApi @Inject constructor(private val httpClient: HttpClient) {
sus... | 0 | Kotlin | 0 | 1 | 3b112582b1eb160d9d31ff7701d441e96fa3afde | 414 | ScooterHunter | The Unlicense |
StatusBarSpeedometer/app/src/main/kotlin/ch/rmy/android/statusbar_tacho/activities/MainScreen.kt | Waboodoo | 34,319,175 | false | {"Kotlin": 78785} | package ch.rmy.android.statusbar_tacho.activities
import android.content.res.Configuration
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import... | 5 | Kotlin | 7 | 40 | 94afbd992d43fd4dc2191a313974445e0dd17ba5 | 6,574 | Status-Bar-Tachometer | MIT License |
camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/impl/UseCaseCameraRequestControl.kt | halilozercan | 397,539,894 | true | {"Shell": 71, "Gradle": 600, "Java Properties": 53, "Markdown": 100, "INI": 3, "Ignore List": 35, "Text": 5129, "XML": 14791, "Java": 5789, "Protocol Buffer": 38, "Kotlin": 5438, "AIDL": 143, "Proguard": 51, "Batchfile": 15, "Python": 33, "TOML": 1, "YAML": 7, "Protocol Buffer Text Format": 54, "CMake": 4, "C++": 6, "L... | /*
* 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 | 1 | 6e0babb781aaeeda405c73d1257c085a88737569 | 9,488 | androidx | Apache License 2.0 |
app/src/main/java/com/ardakazanci/weatherapp/domain/mapper/ForecastDataMapper.kt | ardakazanci | 226,705,095 | false | {"Java": 283339, "Kotlin": 6318} | package com.ardakazanci.weatherapp.domain.mapper
import com.ardakazanci.weatherapp.data.Forecast
import com.ardakazanci.weatherapp.data.ForecastResult
import com.ardakazanci.weatherapp.domain.model.ForecastList
import java.text.DateFormat
import java.util.*
import java.util.concurrent.TimeUnit
import com.ardakazanci.w... | 1 | null | 1 | 1 | f5da890cdab37b562afa6992ceaa87f90a0deda2 | 1,312 | KotlinForForecast | Apache License 2.0 |
app/src/main/java/pt/rvcoding/cvnotes/data/source/SectionDatabase.kt | revs87 | 587,101,198 | false | {"Kotlin": 215238} | package pt.rvcoding.cvnotes.data.source
import androidx.room.Database
import androidx.room.RoomDatabase
import pt.rvcoding.cvnotes.domain.model.Section
@Database(
entities = [Section::class],
version = 1
)
abstract class SectionDatabase : RoomDatabase() {
abstract val sectionDao: SectionDao
companio... | 0 | Kotlin | 0 | 1 | 51c13021ee93d962d04da0200ee84e95dc0227a5 | 386 | cvnotes-and | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/service/CalendarService.kt | ministryofjustice | 515,276,548 | false | null | package uk.gov.justice.digital.hmpps.approvedpremisesapi.service
import org.springframework.stereotype.Service
import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.UserEntity
import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.UserQualification
import uk.gov.justice.digital.hmpps.approvedp... | 9 | Kotlin | 1 | 2 | 9840b1f094ad311c0bf37e9e81f7d22d86f3bd59 | 1,761 | hmpps-approved-premises-api | MIT License |
app/src/main/java/com/example/starwarschallenge/ui/details/DetailsView.kt | PauloSzT | 602,363,835 | false | null | package com.example.starwarschallenge.ui.details
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
im... | 0 | Kotlin | 0 | 0 | 835f441af6168e244b78768dd814b3a7d6bbc6de | 1,622 | Ravn-Challenge-V3-PauloSanchez | MIT License |
compiler/testData/klibABI/removeInlinedFunction/lib1/l1.kt | JetBrains | 3,432,266 | false | null | fun foo() = "FAIL1"
| 157 | Kotlin | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 20 | kotlin | Apache License 2.0 |
buildSrc/src/main/kotlin/szewek/mcgen/util/JsonFileWriter.kt | EleC0TroN | 274,423,912 | false | null | package szewek.mcgen.util
import com.google.gson.stream.JsonWriter
import java.io.File
import java.io.FileWriter
import java.io.IOException
class JsonFileWriter(private val dir: File, val namespace: String) {
@Throws(IOException::class)
fun create(name: String): JsonWriter {
val file = File(dir, "$na... | 1 | null | 1 | 1 | 4af04d513c2256da1eec567a337ca5997b20bc18 | 623 | Flux | MIT License |
server-app/core/src/main/kotlin/com/github/akraskovski/fes/core/domain/config/AuthServerProperties.kt | akraskovski | 154,889,543 | false | null | package com.github.akraskovski.fes.web.config
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration
/**
* Auth Server configuration properties container.
*/
@Configuration
@ConfigurationProperties(prefix = "auth.server")
class AuthServ... | 1 | Kotlin | 1 | 3 | b4d99ea9aa462110c024eaafb804030bd5186ea8 | 646 | freight-exchange-system | Apache License 2.0 |
src/main/java/com/vladsch/md/nav/editor/text/TextHtmlPanel.kt | vsch | 32,095,357 | false | {"Kotlin": 2420465, "Java": 2294749, "HTML": 131988, "JavaScript": 68307, "CSS": 64158, "Python": 486} | // Copyright (c) 2015-2023 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.vladsch.md.nav.editor.text
import com.intellij.lang.Language
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
imp... | 134 | Kotlin | 131 | 809 | ec413c0e1b784ff7309ef073ddb4907d04345073 | 6,552 | idea-multimarkdown | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.