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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
compiler/javac-wrapper/src/org/jetbrains/kotlin/javac/wrappers/symbols/SymbolBasedValueParameter.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 5 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,781 | kotlin | Apache License 2.0 |
zoomable/src/main/java/net/engawapg/lib/zoomable/Zoomable.kt | usuiat | 582,659,097 | false | null | /*
* Copyright 2022 usuiat
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 8 | null | 9 | 373 | 995750b59fce6d916e6e2bf6c801d1bdfc389cc7 | 16,392 | Zoomable | Apache License 2.0 |
ChoiceSDK/choicesdk-maps/src/main/java/at/bluesource/choicesdk/maps/hms/HmsMarkerOptions.kt | bluesource | 342,192,341 | false | null | package at.bluesource.choicesdk.maps.hms
import android.os.Parcel
import at.bluesource.choicesdk.maps.common.BitmapDescriptor
import at.bluesource.choicesdk.maps.common.LatLng
import at.bluesource.choicesdk.maps.common.LatLng.Companion.toChoiceLatLng
import at.bluesource.choicesdk.maps.common.LatLng.Companion.toHmsLat... | 11 | null | 19 | 85 | 4c70f2711f9ee71aa7ae73ab4d6eaa5a3fa81274 | 3,865 | ChoiceSDK | Apache License 2.0 |
src/backend/ci/core/repository/api-repository/src/main/kotlin/com/tencent/devops/repository/pojo/AppInstallationResult.kt | TencentBlueKing | 189,153,491 | false | {"Kotlin": 30176725, "Vue": 6739254, "JavaScript": 1256623, "Go": 616850, "Lua": 567159, "TypeScript": 461781, "SCSS": 365654, "Shell": 157561, "Java": 153049, "CSS": 106299, "HTML": 96201, "Python": 39238, "Less": 24714, "Makefile": 10630, "Smarty": 10297, "Dockerfile": 5097, "Batchfile": 4908, "PowerShell": 1626, "VB... | package com.tencent.devops.repository.pojo
import io.swagger.v3.oas.annotations.media.Schema
@Schema(title = "代码库项目app安装结果")
data class AppInstallationResult(
@get:Schema(title = "状态")
val status: Boolean,
@get:Schema(title = "url地址")
val url: String = ""
)
| 719 | Kotlin | 498 | 2,382 | dd483c38bdbe5c17fa0e5e5bc3390cd1cd40757c | 276 | bk-ci | MIT License |
src/main/kotlin/dev/shtanko/algorithms/leetcode/MaxValueBoundedArray.kt | ashtanko | 203,993,092 | false | {"Kotlin": 5878379, "Shell": 1168, "Makefile": 917} | /*
* Copyright 2023 <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... | 4 | Kotlin | 0 | 19 | c3eeb85a0de638ec76f4f18f99224c1569661568 | 2,585 | kotlab | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/authentication/accounts/GHAccountManager.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2020 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.plugins.github.authentication.accounts
import com.intellij.collaboration.auth.AccountManagerBase
import com.intellij.collaboration.auth.AccountsListener
imp... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 2,842 | intellij-community | Apache License 2.0 |
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/tasks/DeleteDeviceTask.kt | matrix-org | 287,466,066 | false | null | /*
* Copyright 2020 The Matrix.org Foundation C.I.C.
*
* 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 ... | 75 | null | 27 | 97 | 55cc7362de34a840c67b4bbb3a14267bc8fd3b9c | 2,597 | matrix-android-sdk2 | Apache License 2.0 |
build-logic/src/main/kotlin/com.example.platform.plugin/SamplePlugin.kt | android | 623,336,962 | false | null | /*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 6 | null | 90 | 977 | 0479d2e8697c5d986d8ac7c135399e408bea78c8 | 5,009 | platform-samples | Apache License 2.0 |
bezier/src/main/java/io/channel/bezier/icon/ArrowHookRightDown.kt | channel-io | 736,533,981 | false | {"Kotlin": 2421787, "Python": 12500} | @file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")
// Auto-generated by script/generate_compose_bezier_icon.py
package io.channel.bezier.icon
import androidx.compose.foundation.layout.size
import androidx.compose.material.Icon
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifie... | 7 | Kotlin | 3 | 6 | 39cd58b0dd4a1543d54f0c1ce7c605f33ce135c6 | 3,176 | bezier-compose | MIT License |
kotlin/services/ecs/src/main/kotlin/com/kotlin/ecs/CreateService.kt | awsdocs | 66,023,605 | false | null | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package com.kotlin.ecs
// snippet-start:[ecs.kotlin.create_service.import]
import aws.sdk.kotlin.services.ecs.EcsClient
import aws.sdk.kotlin.services.ecs.model.AwsVpcConfiguration
import aws.sdk.kotlin.servic... | 248 | null | 5614 | 9,502 | 3d8f94799b9c661cd7092e03d6673efc10720e52 | 2,676 | aws-doc-sdk-examples | Apache License 2.0 |
app/src/main/java/com/allentom/diffusion/ui/screens/setting/Screen.kt | AllenTom | 744,304,887 | false | {"Kotlin": 1228732} | package com.allentom.diffusion.ui.screens.setting
import android.content.Context
import android.widget.Toast
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import android... | 1 | Kotlin | 19 | 187 | 9dcf3f1b466f9fc8f98851cee41aa8bae88f1139 | 5,543 | diffusion-client | MIT License |
cutilslibrary/src/main/java/com/utils/library/http/download/DownloadHandler.kt | EasonHolmes | 390,691,373 | false | {"Java": 270865, "Kotlin": 185892} | package com.utils.library.http.download
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.os.Message
/**
* 用于线程传递ui的
*/
internal class DownloadHandler {
/**
* handle ,处理ui方面的onProgress
*/
private var mHandler: Handler? = null
private var mDownloadListen... | 1 | null | 1 | 1 | e551ff7e3f3bb7345483e09cbef8dcc547ef19e6 | 1,929 | CBaseLibrary | Apache License 2.0 |
library/src/main/java/com/chamber/kotlin/library/listener/OnDataChamberChangeListener.kt | afiqiqmal | 120,424,075 | false | null | package com.zeroone.conceal.listener
/**
* @author : hafiq on 20/04/2017.
*/
interface OnDataChamberChangeListener {
fun onDataChange(key: String, value: String)
} | 0 | Kotlin | 0 | 8 | b0f0e91fdd3003cb85b7174ae65e214e628fb736 | 171 | SharedChamber-Kotlin | MIT License |
game/ui-strings/src/main/kotlin/de/gleex/pltcmd/game/ui/strings/transformations/Blueprint.kt | Baret | 227,677,538 | false | null | package de.gleex.pltcmd.game.ui.strings.transformations
import de.gleex.pltcmd.game.ui.strings.Transformation
import de.gleex.pltcmd.model.elements.Elements
import de.gleex.pltcmd.model.elements.blueprint.AbstractElementBlueprint
import java.util.*
internal val blueprintTransformation: Transformation<AbstractElementB... | 46 | Kotlin | 0 | 4 | e82f7df817cfeec7b9441ecec756865f3f87104e | 668 | pltcmd | MIT License |
app/src/main/java/com/cid/bot/data/message.kt | SWPP | 151,753,633 | false | null | package com.cid.bot.data
import androidx.room.*
import com.cid.bot.*
import io.reactivex.Completable
import io.reactivex.Observable
import javax.inject.Inject
@Entity
data class Message(
@PrimaryKey val id: Int?,
val sender: String?,
val receiver: String?,
val text: String,
val... | 0 | Kotlin | 1 | 0 | 5d92364ca0b054ad4dba1a8a21b03548ea213a98 | 2,929 | cid-frontend | MIT License |
cesium-kotlin/src/jsMain/kotlin/cesium/engine/ShowGeometryInstanceAttribute.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
@file:JsModule("@cesium/engine")
package cesium.engine
import js.typedarrays.Uint8Array
/**
* Value and type information for per-instance geometry attribute that determines if the geometry instance will be shown.
* ```
* const instance = new GeometryInstance({
* geo... | 0 | null | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 3,415 | types-kotlin | Apache License 2.0 |
src/main/kotlin/adventofcode/year2022/Day08TreetopTreeHouse.kt | pfolta | 573,956,675 | false | {"Kotlin": 199554, "Dockerfile": 214} | package adventofcode.year2022
import adventofcode.Puzzle
import adventofcode.PuzzleInput
import adventofcode.common.product
import adventofcode.year2022.Day08TreetopTreeHouse.Companion.Direction.DOWN
import adventofcode.year2022.Day08TreetopTreeHouse.Companion.Direction.LEFT
import adventofcode.year2022.Day08TreetopTr... | 0 | Kotlin | 0 | 0 | c20489304c3ced82a67fc290f5046e631b4bf9c9 | 2,017 | AdventOfCode | MIT License |
src/main/kotlin/dev/sterner/api/rift/SimpleSpiritCharge.kt | mrsterner | 832,295,137 | false | {"Kotlin": 370399, "Java": 8111, "GLSL": 4530} | package dev.sterner.api.rift
import com.sammy.malum.core.systems.spirit.MalumSpiritType
import com.sammy.malum.registry.common.SpiritTypeRegistry
import net.minecraft.nbt.CompoundTag
data class SimpleSpiritCharge(
private val charges: MutableMap<MalumSpiritType, Int> = mutableMapOf(
SpiritTypeRegistry.AQU... | 0 | Kotlin | 0 | 0 | efbe1bc78d343ddb881f571382955b72706e54c5 | 1,883 | voidbound | Creative Commons Zero v1.0 Universal |
app-inspection/inspectors/network/model/src/com/android/tools/idea/appinspection/inspectors/network/model/rules/RuleDataListener.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,207 | android | Apache License 2.0 |
console-framework-client-api/src/main/java/io/axoniq/console/framework/api/notifications/NotificationLevel.kt | AxonIQ | 682,516,729 | false | {"Kotlin": 158963, "Java": 28249} | /*
* Copyright (c) 2022-2024. AxonIQ B.V.
*
* 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 a... | 0 | Kotlin | 0 | 0 | e19a997dfb14348c44be5568611ef32943d32ee0 | 847 | console-framework-client | Apache License 2.0 |
app/src/main/java/com/vitorpamplona/amethyst/model/User.kt | vitorpamplona | 587,850,619 | false | null | package com.vitorpamplona.amethyst.model
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
import androidx.lifecycle.LiveData
import com.vitorpamplona.amethyst.service.Bech32
import com.vitorpamplona.amethyst.service.NostrSingleUserDataSource
import com.vitorpamplona.amethyst.service.che... | 133 | null | 88 | 870 | a23c8c5c044d2eff461f9af9f64a4d8510dbe3e7 | 15,479 | amethyst | MIT License |
src/jvmTest/kotlin/mahjongutils/yaku/TestYaku.kt | ssttkkl | 547,654,890 | false | null | package mahjongutils.yaku
import mahjongutils.models.*
import mahjongutils.models.hand.ChitoiHoraHandPattern
import mahjongutils.models.hand.RegularHandPattern
import mahjongutils.models.hand.RegularHoraHandPattern
import mahjongutils.yaku.Yakus.Chanta
import mahjongutils.yaku.Yakus.Chinitsu
import mahjongutils.yaku.Y... | 1 | Kotlin | 0 | 9 | 571cebf84a5bf04337f162234e2f610954f99e8c | 9,381 | mahjong-utils | MIT License |
src/test/kotlin/StoreTest.kt | Cotel | 121,170,191 | false | null | import com.cotel.duck.*
import io.kotlintest.matchers.shouldBe
import io.kotlintest.specs.StringSpec
import java.time.Duration
import kotlin.concurrent.thread
class StoreTest : StringSpec({
"Store should notify subscriptors on state change" {
var timesCalled = 0
val subscriptor = object : Subscript... | 0 | Kotlin | 0 | 3 | 60cdb1bf883dd3cc1c110288679793208a0a2dfb | 4,056 | Duck | MIT License |
halley-retrofit/src/main/kotlin/com/infinum/halley/retrofit/converters/options/HalleyOptionsFactory.kt | infinum | 515,133,770 | false | {"Kotlin": 133597, "Groovy": 1211} | package com.infinum.halley.retrofit.converters.options
import com.infinum.halley.core.serializers.link.models.templated.params.Arguments
import com.infinum.halley.core.typealiases.HalleyKeyedMap
import com.infinum.halley.core.typealiases.HalleyMap
import com.infinum.halley.retrofit.annotations.HalArgumentEntry
import ... | 0 | Kotlin | 0 | 0 | a00e0c6853779b714c453eaf4e95e964d187ea9c | 1,913 | android-halley | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/localisation/codeInsight/completion/ParadoxLocalisationCompletionContributor.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.localisation.codeInsight.completion
import com.intellij.codeInsight.completion.*
import com.intellij.patterns.PlatformPatterns.*
import icu.windea.pls.*
import icu.windea.pls.core.*
import icu.windea.pls.localisation.psi.*
import icu.windea.pls.localisation.psi.ParadoxLocalisationElementTypes.*
... | 12 | null | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 2,523 | Paradox-Language-Support | MIT License |
app-desktop/src/main/kotlin/com/scurab/kuproxy/desktop/Texts.kt | jbruchanov | 359,263,583 | false | null | package com.scurab.kuproxy.desktop
import androidx.compose.ui.text.AnnotatedString
import com.scurab.kuproxy.desktop.ext.ans
interface Texts {
val domains: AnnotatedString
val port: AnnotatedString
val ok: AnnotatedString
val cancel: AnnotatedString
val proxy: AnnotatedString
val passthrough: ... | 0 | Kotlin | 0 | 1 | 2e10d85e7e318850679be3a21fe4406645f88811 | 1,061 | kuproxy | Apache License 2.0 |
src/main/kotlin/me/nobaboy/nobaaddons/util/data/DungeonFloor.kt | nobaboy | 867,566,026 | false | {"Kotlin": 147079} | package me.nobaboy.nobaaddons.api.data
enum class FloorType(val floor: Int) {
NONE(-1),
E0(0),
F1(1),
M1(1),
F2(2),
M2(2),
F3(3),
M3(3),
F4(4),
M4(4),
F5(5),
M5(5),
F6(6),
M6(6),
F7(7),
M7(7)
} | 1 | Kotlin | 1 | 1 | cebdef91337207fe8289c978e2cc878fc3bfd63f | 266 | NobaAddons-old | The Unlicense |
platform/lang-impl/src/com/intellij/model/presentation/impl/DefaultSymbolPresentation.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-2020 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 com.intellij.model.presentation.impl
import com.intellij.model.presentation.SymbolPresentation
import javax.swing.Icon
internal class DefaultSymbolPresentation(
privat... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 754 | intellij-community | Apache License 2.0 |
stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/components/avatar/ChannelAvatar.kt | GetStream | 177,873,527 | false | null | /*
* Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 37 | null | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 7,669 | stream-chat-android | FSF All Permissive License |
src/me/anno/ecs/systems/Updatable.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 10912545, "C": 236426, "Java": 6754, "Lua": 4496, "C++": 3070, "GLSL": 2698} | package me.anno.ecs.systems
import me.anno.ecs.Component
interface Updatable {
/**
* will be called once per frame, once per instance-class, and shall then iterate over all instances
* */
fun update(instances: Collection<Component>)
} | 0 | Kotlin | 3 | 24 | 013af4d92e0f89a83958008fbe1d1fdd9a10e992 | 254 | RemsEngine | Apache License 2.0 |
SygicStart/src/main/java/com/sygic/sdk/example/dependencyinjection/ViewModelModule.kt | Sygic | 433,540,119 | false | {"Kotlin": 124860} | package com.sygic.sdk.example.dependencyinjection
import com.sygic.sdk.map.data.SimpleCameraDataModel
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ViewModelComponent
import dagger.hilt.android.scopes.ViewModelScoped
@Module
@InstallIn(ViewModelComponen... | 0 | Kotlin | 0 | 1 | 9f079fb20a106f756d3bbd01dba09468a4a0965d | 502 | sygic-sdk-examples-android | MIT License |
platform/vcs-tests/testSrc/com/intellij/openapi/vcs/BasePartiallyExcludedChangesTest.kt | ingokegel | 284,920,751 | false | null | // Copyright 2000-2020 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 com.intellij.openapi.vcs
import com.intellij.openapi.util.Disposer
import com.intellij.openapi.vcs.changes.ui.PartiallyExcludedFilesStateHolder
import com.intellij.openap... | 284 | null | 5162 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 3,814 | intellij-community | Apache License 2.0 |
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/internal/utils/SdkUtils.kt | RivanParmar | 526,653,590 | false | null | /*
* 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... | 0 | null | 2 | 17 | 8fb2bb1433e734aa9901184b76bc4089a02d76ca | 2,934 | androlabs | Apache License 2.0 |
src/main/kotlin/com/github/durun/nitron/app/metrics/MetricsCommand.kt | Durun | 212,494,212 | false | null | package com.github.durun.nitron.app.metrics
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.clikt.parameters.arguments.multiple
import com.github.ajalt.clikt.parameters.types.path
import com.github.durun.nitron.core.MD5
import com.gith... | 7 | Kotlin | 0 | 0 | 0e2f522025e156d74ce2345b1004d6bc684a7763 | 7,271 | nitron | MIT License |
basick/src/main/java/com/mozhimen/basick/utilk/java/util/UtilKTimeUnit.kt | mozhimen | 353,952,154 | false | {"Kotlin": 1551026, "Java": 3916, "AIDL": 964} | package com.mozhimen.kotlin.utilk.java.util
import java.util.concurrent.TimeUnit
/**
* @ClassName UtilKTimeUnit
* @Description TODO
* @Author Mozhimen & <NAME>
* @Date 2023/8/11 15:43
* @Version 1.0
*/
fun Long.longSecond2longMillis(): Long =
UtilKTimeUnit.longSecond2longMillis(this)
fun Long.longMinute2l... | 1 | Kotlin | 15 | 118 | 3e9cda57ac87f84134e768cc3756411d5bbd143f | 820 | SwiftKit | Apache License 2.0 |
finch-java-core/src/main/kotlin/com/tryfinch/api/services/blocking/WebhookServiceImpl.kt | Finch-API | 581,317,330 | false | null | // File generated from our OpenAPI spec by Stainless.
package com.tryfinch.api.services.blocking
import com.fasterxml.jackson.core.JsonProcessingException
import com.google.common.collect.ListMultimap
import com.tryfinch.api.core.ClientOptions
import com.tryfinch.api.core.JsonValue
import com.tryfinch.api.core.http.H... | 1 | null | 0 | 4 | 871e0af8cccfd083c138202408e461a5036160b5 | 3,718 | finch-api-java | Apache License 2.0 |
kotest-assertions/kotest-assertions-core/src/jvmMain/kotlin/io/kotest/matchers/future/matchers.kt | ca-r0-l | 258,232,982 | true | {"Kotlin": 2272378, "HTML": 423, "Java": 153} | package io.kotest.matchers.future
import io.kotest.matchers.Matcher
import io.kotest.matchers.MatcherResult
import io.kotest.matchers.should
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNot
import io.kotest.matchers.shouldNotBe
import java.util.concurrent.CompletableFuture
fun <T> CompletableFut... | 0 | null | 0 | 1 | e176cc3e14364d74ee593533b50eb9b08df1f5d1 | 1,716 | kotest | Apache License 2.0 |
src/main/kotlin/net/jp/vss/sample/controller/tasks/CreateTaskApiParameter.kt | nemuzuka | 184,200,566 | false | null | package net.jp.vss.sample.controller.tasks
import com.fasterxml.jackson.annotation.JsonProperty
import net.jp.vss.sample.constrains.JsonStringConstrains
import net.jp.vss.sample.usecase.tasks.CreateTaskUseCaseParameter
import javax.validation.constraints.NotNull
import javax.validation.constraints.Pattern
import javax... | 18 | Kotlin | 0 | 0 | ef8ed4626d2cd1dbbd3455534fedf67940a32361 | 1,836 | spring-kotlin-sample | Apache License 2.0 |
src/main/kotlin/com/maxpilotto/kon/JsonParser.kt | maxpilotto | 252,405,233 | false | null | /*
* Copyright 2020 <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 | 249fef928201305a18fe9826fc446e1d7493eb2d | 10,550 | kon | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/TestRegistrationStateProcessor.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.submission
import android.content.Context
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.bugreporting.censors.submission.PcrQrCodeCensor
import de.rki.coronawarnapp.bugreporting.ui.toErrorDialogBuilder
import d... | 2 | null | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 6,589 | cwa-app-android | Apache License 2.0 |
shared/src/commonMain/kotlin/com/flepper/therapeutic/data/usecases/GetTeamMembersUseCase.kt | develNerd | 526,878,724 | false | {"Kotlin": 296821, "Ruby": 1782, "Swift": 345} | package com.flepper.therapeutic.data.usecases
import com.flepper.therapeutic.data.FlowResult
import com.flepper.therapeutic.data.models.Filter
import com.flepper.therapeutic.data.models.TeamMembersItem
import com.flepper.therapeutic.data.models.WorldWideEvent
import com.flepper.therapeutic.data.models.appointments.Sea... | 0 | Kotlin | 0 | 1 | e2b1e12e9fef20a89c96b72b18cd6ab613c16af3 | 2,315 | Therapeutic | Apache License 2.0 |
app/src/main/java/com/looper/vic/fragment/ChatFragment.kt | iamlooper | 662,663,860 | false | {"Kotlin": 104881} | package com.looper.vic.fragment
import android.Manifest
import android.content.Context
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Base64
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuIt... | 0 | Kotlin | 6 | 129 | 379d7143ed0e55bfb7fe5b6e83a7bf5177421898 | 32,339 | Lumi-AI | MIT License |
src/main/kotlin/day06/boats.kt | cdome | 726,684,118 | false | {"Kotlin": 17211} | package day06
import java.io.File
import kotlin.math.ceil
import kotlin.math.sqrt
fun main() {
races()
singleRace()
}
private fun races() {
val file = File("src/main/resources/day06-boats").readLines()
val times = file[0].split(":")[1].trim().split(" ").filter { it.isNotBlank() }.map { it.toLong() }
... | 0 | Kotlin | 0 | 0 | 459a6541af5839ce4437dba20019b7d75b626ecd | 1,119 | aoc23 | The Unlicense |
applovin/BIDApplovinInterstitial.kt | bidapphub | 708,849,825 | false | {"Kotlin": 165299, "Java": 14704} | package io.bidapp.networks.applovin
import android.app.Activity
import android.util.Log
import com.applovin.adview.AppLovinInterstitialAd
import com.applovin.adview.AppLovinInterstitialAdDialog
import com.applovin.sdk.*
import io.bidapp.sdk.BIDLog
import io.bidapp.sdk.protocols.BIDFullscreenAdapterDelegateProtocol
imp... | 0 | Kotlin | 1 | 2 | cdbb828a832e393c5e9fe2f6c1cf3dc12435237e | 3,397 | bidapp-ads-android | Apache License 2.0 |
sample/src/main/java/com/rbrooks/indefinitepagerindicatorsample/viewPagerSample/ViewPagerSampleFragment.kt | sagar-forks | 123,182,756 | false | null | package com.rbrooks.indefinitepagerindicatorsample.viewPagerSample
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v4.view.ViewPager
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import com.rbrooks.indefinit... | 0 | Kotlin | 0 | 0 | d30593b9c6d67bb4b734d68385ab7bb02c0796f7 | 2,489 | Android-Indefinite-Pager-Indicator | MIT License |
app/src/main/java/com/gmail/uli153/rickmortyandulises/domain/models/EpisodeModel.kt | ulisescervera | 650,700,267 | false | null | package com.gmail.uli153.rickmortyandulises.domain.models
data class EpisodeModel(
val id: Long,
val name: String,
val date: String,
val characters: List<Long>
) | 0 | Kotlin | 0 | 0 | 220685ee51ae3741b9be5bf5c240034bbbc50001 | 178 | rickmortyandulises | MIT License |
src/main/kotlin/com/github/googee/laravelbuilder/file/FileManager.kt | GooGee | 521,073,094 | false | {"Kotlin": 25065} | package com.github.googee.laravelbuilder.file
import com.google.common.io.CharStreams
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.LocalFileSystem
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.openapi.vfs.VirtualFileManager
import java.io.File
import java.io.FileInputSt... | 0 | Kotlin | 0 | 2 | 871337f78a4a951ba1173032a27cb60b5ed8b06b | 2,433 | LaravelBuilder | Apache License 2.0 |
app/src/main/java/ly/android/material/code/tool/net/pojo/response/AliIconBean.kt | lumyuan | 594,634,627 | false | null | package ly.android.material.code.tool.net.pojo.response
data class AliIconBean(
val code: Int,
val data: Maps?
)
data class Maps(
val icons: List<Icon>,
val count: Int
)
data class Icon(
val id: Int,
val name: String,
val status: Int,
val is_private: Int,
val category_id: String,
... | 1 | Kotlin | 0 | 15 | 0bd03e3b7ddd05591222db8ada5c9b9a7619a908 | 764 | MaterialCodeTool | Apache License 2.0 |
korge/src/commonMain/kotlin/com/soywiz/korge3d/Skeleton3D.kt | korlibs | 80,095,683 | false | null | package com.soywiz.korge3d
import com.soywiz.korge3d.internal.*
import com.soywiz.korma.geom.*
@Korge3DExperimental
open class Joint3D constructor(
val jid: String,
val jname: String,
val jsid: String,
val jointParent: Joint3D? = null,
initialMatrix: Matrix3D
) : Container3D() {
init {
this.transform.setMatri... | 102 | null | 64 | 1,192 | 7fa8c9981d09c2ac3727799f3925363f1af82f45 | 1,560 | korge | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/RenderingServer.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 64 | null | 39 | 580 | fd1af79075e7b918200aba3302496b70c76a2028 | 391,638 | godot-kotlin-jvm | MIT License |
app/src/main/java/com/example/android/codelabs/navigation/HomeFragment.kt | android | 132,657,708 | false | null | /*
* Copyright (C) 2018 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... | 9 | null | 84 | 634 | 026d28bbb47951e7105ec4de0c04549e493158dc | 2,860 | codelab-android-navigation | Apache License 2.0 |
src/main/kotlin/com/housing/movie/features/episode/domain/usecase/GetEpisodesByMovieIdUseCase.kt | thinhlh | 431,658,207 | false | null | package com.housing.movie.features.episode.domain.usecase
import com.housing.movie.base.BaseUseCase
import com.housing.movie.features.episode.domain.entity.Episode
import com.housing.movie.features.episode.domain.service.EpisodeService
import org.springframework.stereotype.Component
import java.util.*
@Component
clas... | 0 | Kotlin | 0 | 0 | f88c15909040f54baf9be3f2adf47429eeccfac5 | 541 | oo-movie-backend | MIT License |
application/infrastructure/dataproviders/core-dataprovider/src/main/kotlin/com/redhat/demo/infra/dataproviders/core/repositories/OutboxRepository.kt | maarten-vandeperre | 623,821,855 | false | {"HTML": 982423, "Kotlin": 141101, "Shell": 30039} | package com.redhat.demo.infra.dataproviders.core.repositories
import com.redhat.demo.infra.dataproviders.core.domain.OutboxEvent
interface OutboxRepository {
fun save(event: OutboxEvent)
} | 3 | HTML | 7 | 36 | 8f6a00f9516cd1af7bb663bd7f5e6b0ab4e00dd7 | 192 | clean-architecture-software-sample-project | Apache License 2.0 |
application/infrastructure/dataproviders/core-dataprovider/src/main/kotlin/com/redhat/demo/infra/dataproviders/core/repositories/OutboxRepository.kt | maarten-vandeperre | 623,821,855 | false | {"HTML": 982423, "Kotlin": 141101, "Shell": 30039} | package com.redhat.demo.infra.dataproviders.core.repositories
import com.redhat.demo.infra.dataproviders.core.domain.OutboxEvent
interface OutboxRepository {
fun save(event: OutboxEvent)
} | 3 | HTML | 7 | 36 | 8f6a00f9516cd1af7bb663bd7f5e6b0ab4e00dd7 | 192 | clean-architecture-software-sample-project | Apache License 2.0 |
src/main/kotlin/no/nav/helse/sporbar/AzureAdAppAuthentication.kt | navikt | 271,491,647 | false | null | package no.nav.helse.sporbar
import com.auth0.jwk.JwkProviderBuilder
import com.fasterxml.jackson.databind.JsonNode
import io.ktor.application.*
import io.ktor.auth.*
import io.ktor.auth.jwt.*
import io.ktor.client.*
import io.ktor.client.engine.apache.*
import io.ktor.client.features.json.*
import io.ktor.client.requ... | 0 | Kotlin | 1 | 0 | 9ca85a5e3921f1f5688452497461dd8f42cc475f | 1,231 | helse-sporbar | MIT License |
core/src/main/java/it/airgap/beaconsdk/core/internal/BeaconSdk.kt | airgap-it | 303,679,512 | false | null | package it.airgap.beaconsdk.core.internal
import android.content.Context
import androidx.annotation.RestrictTo
import it.airgap.beaconsdk.core.blockchain.Blockchain
import it.airgap.beaconsdk.core.internal.crypto.Crypto
import it.airgap.beaconsdk.core.internal.crypto.data.KeyPair
import it.airgap.beaconsdk.core.intern... | 2 | Kotlin | 4 | 6 | f4183c4f64f49cb2b453425465847f97542bdc8f | 3,120 | beacon-android-sdk | MIT License |
kotlin-react-query/src/main/generated/react/query/queryObserver.core.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("react-query")
@file:JsNonModule
@file:Suppress(
"UNUSED_TYPEALIAS_PARAMETER",
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)
package react.query
typealias QueryObserverListener<TData, TError> = (result: QueryObserverResult<TData, TError>) -> U... | 11 | null | 6 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 2,696 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/io/github/wulkanowy/ui/modules/mobiledevice/MobileDeviceFragment.kt | wezuwiusz | 827,505,734 | false | null | package io.github.wulkanowy.ui.modules.mobiledevice
import android.os.Bundle
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import androidx.core.view.postDelayed
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.material.snackbar.Snackbar
import ... | 72 | null | 6 | 28 | 82b4ea930e64d0d6e653fb9024201b372cdb5df2 | 4,933 | neowulkanowy | Apache License 2.0 |
feature-onboarding-impl/src/main/java/jp/co/soramitsu/feature_onboarding_impl/presentation/welcome/di/WelcomeComponent.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.feature_onboarding_impl.presentation.welcome.di
import androidx.fragment.app.Fragment
import dagger.BindsInstance
import dagger.Subcomponent
import jp.co.soramitsu.common.di.scope.ScreenScope
import jp.co.soramitsu.feature_onboarding_impl.presentation.welcome.WelcomeFragment
@Subcomponent(
... | 3 | null | 14 | 53 | 6dafcbd972c4b510328feaf7459eefe76cab2075 | 668 | fearless-Android | Apache License 2.0 |
tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/ContentTriggers.kt | InsanusMokrassar | 163,152,024 | false | null | @file:Suppress("unused", "UNCHECKED_CAST")
package dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling
import dev.inmo.tgbotapi.extensions.behaviour_builder.*
import dev.inmo.tgbotapi.extensions.behaviour_builder.filters.CommonMessageFilterExcludeMediaGroups
import dev.inmo.tgbotapi.extensions.behaviour_... | 9 | null | 9 | 99 | 8206aefbb661db936d4078a8ef7cc9cecb5384e4 | 40,491 | TelegramBotAPI | Apache License 2.0 |
features/dd-sdk-android-session-replay/src/main/kotlin/com/datadog/android/sessionreplay/internal/recorder/resources/BitmapPoolHelper.kt | DataDog | 219,536,756 | false | {"Kotlin": 9121111, "Java": 1179237, "C": 79303, "Shell": 63055, "C++": 32351, "Python": 5556, "CMake": 2000} | /*
* 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.datadog.android.sessionreplay.internal.recorder.resources... | 55 | Kotlin | 60 | 151 | d7e640cf6440ab150c2bbfbac261e09b27e258f4 | 1,078 | dd-sdk-android | Apache License 2.0 |
order/src/main/kotlin/com/jahs/context/order/modules/order/domain/create/CreateOrderCommandHandler.kt | jahs-es | 236,151,708 | false | null | package com.jahs.context.order.modules.order.domain.create
import com.jahs.context.order.modules.order.domain.OrderId
import com.jahs.context.order.modules.user.domain.UserId
import com.kotato.cqrs.domain.command.CommandHandler
import javax.inject.Inject
import javax.inject.Named
@Named
open class CreateOrderCommandH... | 0 | Kotlin | 0 | 0 | c2d02b22d7d3677dbe6550e214177fe7526b54df | 527 | cqrs-ddd-es-order-meetup | MIT License |
shapes/src/main/java/shapes/feature/domain/DeleteAllShapesByType.kt | rahulsainani | 198,700,715 | false | null | package shapes.feature.domain
import javax.inject.Inject
class DeleteAllShapesByType @Inject constructor(
private val repository: IShapesRepository
) {
suspend fun delete(shapeType: ShapeDomainEntity.Type) =
repository.deleteAllShapesByType(shapeType)
}
| 0 | Kotlin | 0 | 8 | 962f33454933317205b93e9f2552d704766cffc3 | 273 | shapes | Apache License 2.0 |
api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/frame/tags/PVITag.kt | jnk-cons | 691,762,451 | false | {"Kotlin": 914173} | package de.jnkconsulting.e3dc.easyrscp.api.frame.tags
import de.jnkconsulting.e3dc.easyrscp.api.frame.DataType
import de.jnkconsulting.e3dc.easyrscp.api.frame.Namespace
import de.jnkconsulting.e3dc.easyrscp.api.frame.Tag
/**
* Contains tags for controlling and reading the photovoltaic inverter
*
* @param namespace... | 5 | Kotlin | 0 | 1 | 14177964121eff69a707f91971721c40edc74405 | 49,906 | easy-rscp | MIT License |
library/src/main/java/tmg/aboutthisapp/configuration/Dependency.kt | thementalgoose | 228,940,120 | false | {"Kotlin": 67683} | package tmg.aboutthisapp.configuration
import android.os.Parcelable
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.annotation.Keep
import androidx.compose.ui.graphics.Color
import kotlinx.parcelize.Parcelize
@Keep
@Parcelize
data class Dependency(
val dependencyName: St... | 0 | Kotlin | 0 | 0 | fe23b5b2e59a4c0b21a9cd18d27d3d2d0ad856e3 | 743 | android-about-this-app | Apache License 2.0 |
app/src/main/java/com/reefii/atlasindonesia/zoom_compose.kt | Reefoldfiveteen | 392,013,362 | false | null | package com.reefii.atlasindonesia
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTransformGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtim... | 0 | Kotlin | 0 | 0 | dd0a8617df71c15f84940fdf867437eb0178645e | 2,003 | Atlas-Indonesia_Android-App | MIT License |
app/src/main/java/com/reefii/atlasindonesia/zoom_compose.kt | Reefoldfiveteen | 392,013,362 | false | null | package com.reefii.atlasindonesia
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTransformGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtim... | 0 | Kotlin | 0 | 0 | dd0a8617df71c15f84940fdf867437eb0178645e | 2,003 | Atlas-Indonesia_Android-App | MIT License |
app/src/main/java/com/fred_projects/education/main/model/verification/check_lvl/ICheckLVL.kt | FredNekrasov | 781,117,526 | false | {"Kotlin": 163096} | package com.fred_projects.education.main.model.verification.check_lvl
interface ICheckLVL {
fun check(inf: Int?): Int?
} | 0 | Kotlin | 0 | 0 | bc5d3c4a9e8ee86c5f1850e22eb22ec48f81106b | 125 | Android-projects | MIT License |
app/src/main/java/com/oldautumn/movie/ui/main/home/TrendingAdapter.kt | penkzhou | 474,989,858 | false | {"Kotlin": 285949} | package com.oldautumn.movie.ui.main.home
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.recyclerview.widget.RecyclerView
import coil.load
import coil.transform.RoundedCornersTransformation
import com.oldautumn.movie.R
import com... | 1 | Kotlin | 0 | 0 | 57b16f003a91445d0684873336f4da42e93e84ef | 2,285 | Movie | MIT License |
implementation/src/main/kotlin/io/github/tomplum/aoc/forest/satellite/MessageReport.kt | TomPlum | 317,142,882 | false | null | package io.github.tomplum.aoc.forest.satellite
import io.github.tomplum.aoc.forest.satellite.rule.AndRule
import io.github.tomplum.aoc.forest.satellite.rule.MatchRule
import io.github.tomplum.aoc.forest.satellite.rule.MessageRule
import io.github.tomplum.aoc.forest.satellite.rule.OrRule
/**
* A [MessageReport] from ... | 1 | Kotlin | 0 | 0 | e455d35213832bbd6b72277c0f9e5c0331fd732f | 2,444 | advent-of-code-2020 | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ide/impl/TrustedProjects.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@file:JvmName("TrustedProjects")
@file:ApiStatus.Experimental
package com.intellij.ide.impl
import com.intellij.ide.trustedProjects.TrustedProjects
import com.intellij.ide.trustedProjects.TrustedPr... | 249 | null | 5023 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 5,561 | intellij-community | Apache License 2.0 |
test-utils-keyboard/src/jsMain/kotlin/MockFocusHandler.kt | splendo | 191,371,940 | false | null | /*
Copyright 2022 Splendo Consulting B.V. The Netherlands
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 appli... | 126 | null | 6 | 156 | 1d77c756008e30aa0818b3ae5f06a63e0371850d | 931 | kaluga | Apache License 2.0 |
app/src/main/java/com/sublimetech/supervisor/domain/useCases/storage/FirebaseStorageUseCases.kt | Xget7 | 675,440,130 | false | null | package com.sublimetech.supervisor.domain.useCases.storage
import com.sublimetech.supervisor.domain.useCases.storage.files.DownloadFileUseCase
import com.sublimetech.supervisor.domain.useCases.storage.images.UploadImageUseCase
data class FirebaseStorageUseCases(
val downloadFileUseCase: DownloadFileUseCase,
v... | 0 | Kotlin | 0 | 0 | b86ee2e9a33ec8ee6551c4284b0c0c03c80f0038 | 364 | Data-Collector | MIT License |
presentation/src/main/java/com/jsevilla/movieviewer/feature/base/BaseActivity.kt | sevilla1jose | 289,142,821 | false | null | package com.jsevilla.movieviewer.feature.base
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
/**
* Created by Jose Sevilla on 20/08/2020.
* jose1.sevilla23@gmail.com
*
* Movie Viewer
* Lima, Peru.
*... | 0 | Kotlin | 0 | 0 | 981da309e459e32f5a825b94e25294ded2608fcf | 1,208 | Movie-viewer | MIT License |
Scanner/Android/app/src/main/java/ca/snmc/scanner/data/providers/VisitLogFileProvider.kt | snmcCode | 272,461,777 | false | {"C#": 420531, "Kotlin": 263098, "HTML": 148679, "TSQL": 22187, "CSS": 9706, "JavaScript": 920} | package ca.snmc.scanner.data.providers
import android.content.Context
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import ca.snmc.scanner.models.VisitInfo
import com.github.doyaaaaaken.kotlincsv.client.CsvReader
import com.github.doyaaaaaken.kotlincsv.client.CsvWriter
import java.io.Fil... | 29 | C# | 1 | 6 | f1bb550397b4e959beb501e77c27110d439a64b3 | 9,204 | covidTracking | MIT License |
lint/tests/testSrc/com/android/tools/idea/lint/common/AnnotateQuickFixTest.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 14,866 | android | Apache License 2.0 |
src/test/kotlin/tornadofx/tests/TableViewTest.kt | edvin | 49,143,977 | false | null | package tornadofx.tests
import javafx.beans.property.SimpleDoubleProperty
import javafx.beans.property.SimpleIntegerProperty
import javafx.beans.property.SimpleStringProperty
import javafx.collections.FXCollections
import javafx.scene.Scene
import javafx.scene.layout.StackPane
import javafx.stage.Stage
import org.juni... | 196 | null | 266 | 3,674 | 94fd553aced7a2ffe7528b1977a9f8406028432c | 1,633 | tornadofx | Apache License 2.0 |
src/main/kotlin/org/sol4k/Transaction.kt | sol4k | 595,734,363 | false | {"Kotlin": 98172} | package org.sol4k
import org.sol4k.Constants.PUBLIC_KEY_LENGTH
import org.sol4k.Constants.SIGNATURE_LENGTH
import org.sol4k.instruction.BaseInstruction
import org.sol4k.instruction.Instruction
import java.nio.ByteBuffer
import java.util.Base64
class Transaction(
private val recentBlockhash: String,
private va... | 6 | Kotlin | 9 | 53 | 6f56e80dbfe76d83a4d5d54daa3712e08a0c5ef1 | 9,002 | sol4k | Apache License 2.0 |
SnailFFmpeg/ffmpeg/src/main/java/com/snail/ffmpeg/transform/MediaTransFormUtil.kt | SnailYue | 273,255,269 | false | {"C": 1064406, "C++": 98769, "Kotlin": 93761, "CMake": 3052, "Objective-C": 2355} | package com.snail.ffmpeg.transform
import com.snail.ffmpeg.constant.MediaForm
object MediaTransFormUtil {
init {
System.loadLibrary("transform")
native_init()
}
fun transformMedia(form: MediaForm, inPath: String, outPath: String) {
when (form) {
MediaForm.MP4TOAVI ->... | 0 | C | 0 | 1 | 0ef45ae7a9f442aca6a757464230f79bd8253a77 | 1,279 | SnailFFmpeg | MIT License |
Parameters.kt | SomethingAwry | 865,615,045 | false | {"Kotlin": 39053, "F#": 17249} | import java.io.*
class Parameters private constructor(
val iNumHidden: Int,
val iNeuronsPerHiddenLayer: Int,
val iNumElite: Int,
val iNumCopiesElite: Int,
val iNumSweepers: Int,
val dCrossoverRate: Double,
val dMutationRate: Double,
val dMaxPerturbation: Double,
val iWindowWidth: In... | 0 | Kotlin | 0 | 0 | 53f33c59f8fa5700dc48472971cbc5decd8ed832 | 5,062 | BattleCity | Apache License 2.0 |
src/commonTest/kotlin/com/gw2tb/gw2chatlinks/ChatLinkTests.kt | GW2ToolBelt | 378,287,871 | false | null | /*
* Copyright (c) 2021-2022 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish... | 3 | null | 1 | 2 | c83d438c08fc5da7ceb9f59ef19c29718320752c | 15,810 | GW2ChatLinks | MIT License |
base-domain/src/test/kotlin/org/ossiaustria/lib/domain/repositories/SettingsRepositoryTest.kt | ossi-austria | 430,606,582 | false | {"Kotlin": 456155, "HTML": 2066, "Dockerfile": 441} | package org.ossiaustria.lib.domain.repositories
import androidx.security.crypto.EncryptedSharedPreferences
import androidx.security.crypto.MasterKeys
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotEquals
import org.junit.Assert.assertNotN... | 0 | Kotlin | 0 | 1 | 8d8b167555d62e6ceb58a20efe9d6ee0c609b199 | 3,586 | amigo-box | MIT License |
shared/src/commonMain/kotlin/demo/database/NoteEntity.kt | bettercalltolya | 647,835,073 | false | {"Kotlin": 48539, "Swift": 1970, "Shell": 228, "Ruby": 101} | package demo.database
import com.arkivanov.essenty.parcelable.Parcelable
import com.arkivanov.essenty.parcelable.Parcelize
import io.realm.kotlin.types.RealmObject
import io.realm.kotlin.types.RealmUUID
import io.realm.kotlin.types.annotations.PrimaryKey
@Parcelize
class NoteEntity private constructor(): RealmObject,... | 0 | Kotlin | 0 | 2 | 0d9b008e0bcffb0172875d25cef478fb0356b7d4 | 743 | ComposeMultiplatformDemo | Apache License 2.0 |
app/src/main/java/com/mostafahelal/AtmoDrive/auth/data/model/modelresponse/OldUser.kt | mostafa399 | 670,688,724 | false | {"Kotlin": 173866} | package com.mostafahelal.AtmoDrive.auth.data.model.modelresponse
import com.google.gson.annotations.SerializedName
import com.mostafahelal.AtmoDrive.auth.domain.model.CheckData
import com.mostafahelal.AtmoDrive.auth.domain.model.UserData
data class OldUser(
@SerializedName("is_new")
val isNew: Boolean,
@... | 0 | Kotlin | 0 | 0 | 6bab70a76af1f1bbd0ee714c390324512fc3570f | 438 | AtmoDrive | MIT License |
src/main/kotlin/com/saehyun/smonkey/domain/friend/exception/error/FriendErrorCode.kt | hackersground-kr | 656,532,644 | false | null | package com.saehyun.smonkey.domain.friend.exception.error
import com.saehyun.smonkey.global.exception.error.ErrorResponse
enum class FriendErrorCode(
override val message: String,
override val status: Int,
) : ErrorResponse {
/**
* 이미 친구이거나 신청을 보냈을 경우
*/
FRIEND_ALREADY_EXIST(
messag... | 3 | Kotlin | 3 | 3 | e6538ddb129b05a76c85171af7a2261989306510 | 668 | smonkey | MIT License |
cmpe/common/src/commonMain/kotlin/xyz/mcxross/cohesive/ui/impl/view/md/markup/StyledText.kt | mcxross | 514,846,313 | false | null | package xyz.mcxross.cohesive.ui.impl.view.md.markup
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.ExperimentalUnitApi
import... | 0 | Kotlin | 0 | 3 | be630e050c060bc5155e7ef7a65e3bc909ec58d6 | 1,263 | cohesive | Apache License 2.0 |
compiler/testData/codegen/box/ieee754/smartCastToDoubleAndComparableToDouble.kt | danysantiago | 224,251,838 | true | {"Kotlin": 42226766, "Java": 7631507, "JavaScript": 197284, "HTML": 75183, "Lex": 23805, "TypeScript": 20278, "IDL": 11643, "CSS": 8804, "Shell": 7220, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80} | // !LANGUAGE: +ProperIeee754Comparisons
// IGNORE_BACKEND_FIR: JVM_IR
val minus: Any = -0.0
fun box(): String {
if (minus is Comparable<*> && minus is Double) {
if (minus < 0.0) return "fail 0"
if ((minus) != 0.0) return "fail 1"
if (minus != 0.0) return "fail 2"
if (minus != 0.0F)... | 0 | null | 0 | 1 | 3d1061ee3cb5a888e9d77e407c73070f461de52a | 360 | kotlin | Apache License 2.0 |
compiler/testData/codegen/box/arrays/primitiveArrays.kt | JakeWharton | 99,388,807 | false | null | // WITH_RUNTIME
import kotlin.test.*
fun box(): String {
assertTrue(eqBoolean(booleanArrayOf(false), BooleanArray(1)))
assertTrue(eqBoolean(booleanArrayOf(false, true, false), BooleanArray(3) { it % 2 != 0 }))
assertTrue(eqBoolean(booleanArrayOf(true), booleanArrayOf(true).copyOf()))
assertTrue(eqBool... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 12,210 | kotlin | Apache License 2.0 |
graphql-dgs-codegen-core/src/integTest/kotlin/com/netflix/graphql/dgs/codegen/cases/projectionWithUnion/expected/types/Employee.kt | Netflix | 317,379,776 | false | null | package com.netflix.graphql.dgs.codegen.cases.interfaceClassWithNonNullableFields.expected.types
import com.fasterxml.jackson.`annotation`.JsonIgnoreProperties
import com.fasterxml.jackson.`annotation`.JsonProperty
import com.fasterxml.jackson.`annotation`.JsonTypeInfo
import com.fasterxml.jackson.databind.`annotation... | 95 | null | 96 | 181 | 57b2e1e6db8da146cfa590a0c331ac15ef156085 | 2,538 | dgs-codegen | Apache License 2.0 |
tibiakt-core/src/main/kotlin/com/galarzaa/tibiakt/core/models/forums/BoardEntry.kt | Galarzaa90 | 285,669,589 | false | {"Kotlin": 530502, "Dockerfile": 1445} | /*
* Copyright © 2022 Allan Galarza
*
* 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... | 0 | Kotlin | 1 | 1 | 7274af579c1d4fa7865c05436c0e3ee5b293301a | 1,224 | TibiaKt | Apache License 2.0 |
common/src/main/kotlin/org/stardustmodding/interstellar/api/init/InitializedClient.kt | StardustModding | 703,282,326 | false | {"Kotlin": 83772, "Shell": 5565, "Java": 2839, "GLSL": 2679} | package org.stardustmodding.interstellar.api.init
import net.minecraft.client.Minecraft
interface InitializedClient : Initialized<Minecraft>
| 0 | Kotlin | 1 | 3 | 6185d241e7ceae7ab29f8e344d0c19596ad84b05 | 143 | Interstellar | MIT License |
src/main/kotlin/no/nav/eessi/pensjon/personoppslag/pdl/PersonService.kt | navikt | 266,040,040 | false | {"Kotlin": 108649} | package no.nav.eessi.pensjon.personoppslag.pdl
import io.micrometer.core.instrument.simple.SimpleMeterRegistry
import no.nav.eessi.pensjon.metrics.MetricsHelper
import no.nav.eessi.pensjon.metrics.MetricsHelper.Metric
import no.nav.eessi.pensjon.metrics.MetricsHelper.Toggle.OFF
import no.nav.eessi.pensjon.personoppsla... | 0 | Kotlin | 0 | 2 | c3f56674e3bc7b02834f7e88ce2044af59f3dbda | 12,605 | ep-personoppslag | MIT License |
app/src/main/java/io/github/msh91/arch/di/module/NetworkModule.kt | msh91 | 134,849,661 | false | null | package io.github.msh91.arch.di.module
import com.google.gson.*
import dagger.Module
import dagger.Provides
import io.github.msh91.arch.BuildConfig
import io.github.msh91.arch.data.di.qualifier.Concrete
import io.github.msh91.arch.data.di.qualifier.Stub
import io.github.msh91.arch.data.source.local.file.BaseFileProvid... | 1 | Kotlin | 7 | 25 | 9f0bf81e3493ee733a0b64c9a64249eacd8b652b | 4,499 | arch | Apache License 2.0 |
idbdata/src/main/java/com/gmail/eamosse/idbdata/data/Director.kt | hamzabatr | 428,301,037 | true | {"Kotlin": 87259} | package com.gmail.eamosse.idbdata.data
data class Director(
val id: Int,
val name: String
)
| 0 | Kotlin | 0 | 0 | 304f641f2f7e4499538995b30892119070f517f2 | 101 | the-movie-app | Apache License 2.0 |
alfos-core/src/main/kotlin/fr/cvlaminck/alfos/model/StorageCollection.kt | cyr62110 | 108,091,243 | false | null | package fr.cvlaminck.alfos.model
/**
* Provide all information on a collection of objects stored in a storage.
*/
class StorageCollection(
/**
* [Storage] containing this collection.
*/
val storage: Storage,
/**
* Name of the collection.
*/
val name... | 1 | Kotlin | 0 | 0 | fa20692c300d6bff50e6491ffdab1153a4ad4967 | 1,171 | alfos | Apache License 2.0 |
kotlin-react-router-dom/src/jsMain/generated/react/router/dom/useSubmit.kt | JetBrains | 93,250,841 | false | null | @file:JsModule("react-router-dom")
@file:Suppress(
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)
package react.router.dom
/**
* Returns a function that may be used to programmatically submit a form (or
* some arbitrary data) to the server.
*/
external fun useSubmit(): SubmitFunction
| 28 | null | 173 | 1,250 | d1f8f5d805ffa18431dfefb7a1aa2f67f48915f6 | 301 | kotlin-wrappers | Apache License 2.0 |
design/src/main/kotlin/com/stepmate/design/component/lazyList/VerticalScrollBar.kt | step-Mate | 738,437,093 | false | {"Kotlin": 753362} | package com.stepmate.design.component.lazyList
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectVerticalDragGestures
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.BoxWithCons... | 3 | Kotlin | 0 | 0 | d7907a8bd7fd5a7f842c994731c4f4f1bdad847e | 5,098 | Android | Apache License 2.0 |
Frontend/app/src/main/java/com/example/TeamApp/ui/theme/Type.kt | TeamApp-apk | 826,845,157 | false | null | package com.example.ui.theme
import android.content.res.Resources
import android.util.Log
import androidx.compose.foundation.layout.Column
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Typography
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionL... | 0 | null | 2 | 4 | 5823992ff825bc168d09ca93c95bd5aca3042db8 | 3,220 | TeamApp | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/PlugAlt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,021 | icons | MIT License |
app/src/test/kotlin/batect/config/io/ConfigurationFileSpec.kt | decomplected | 168,092,476 | true | {"Kotlin": 1678077, "Groovy": 11432, "Shell": 10841, "Python": 10312, "JavaScript": 4104, "Dockerfile": 4006, "Java": 1099, "HTML": 878} | /*
Copyright 2017-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 wr... | 4 | Kotlin | 0 | 0 | 4f003ccc9c5a4c5b841209ca70891636f49562c7 | 5,774 | batect | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.