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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
android/src/com/android/tools/idea/startup/AdbFileProviderInitializer.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2020 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 | 220 | 857 | 8d22f48a9233679e85e42e8a7ed78bbff2c82ddb | 2,908 | android | Apache License 2.0 |
cesium-kotlin/src/jsMain/kotlin/cesium/engine/DataSourceDisplay.factory.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6328371} | // Automatically generated - do not modify!
package cesium.engine
import js.objects.jso
inline fun DataSourceDisplay(
block: DataSourceDisplay.ConstructorOptions.() -> Unit,
): DataSourceDisplay =
DataSourceDisplay(options = jso(block))
| 0 | Kotlin | 7 | 35 | 0f192fb5e7be6207ea195f88dc6a0e766ad7f93b | 248 | types-kotlin | Apache License 2.0 |
cesium-kotlin/src/jsMain/kotlin/cesium/engine/DataSourceDisplay.factory.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6328371} | // Automatically generated - do not modify!
package cesium.engine
import js.objects.jso
inline fun DataSourceDisplay(
block: DataSourceDisplay.ConstructorOptions.() -> Unit,
): DataSourceDisplay =
DataSourceDisplay(options = jso(block))
| 0 | Kotlin | 7 | 35 | 0f192fb5e7be6207ea195f88dc6a0e766ad7f93b | 248 | types-kotlin | Apache License 2.0 |
openrndr/src/main/kotlin/sketch/test/T19_DotProduct.kt | ericyd | 250,675,664 | false | {"Kotlin": 901946, "Rust": 540056, "JavaScript": 91876, "GLSL": 31121, "Processing": 6318, "HTML": 1074, "Shell": 873, "Makefile": 435} | /**
* I've never had any intuition about dot products, so here are some examples
*/
package sketch.test
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.loadFont
import org.openrndr.extensions.Screenshots
import org.openrndr.math.Vector2
import org.openrndr.panel.elements.... | 2 | Kotlin | 0 | 58 | 7f13fce0d4a871a4ab146df4936a40c0091b1ab3 | 5,220 | generative-art | MIT License |
bgw-gui/src/main/kotlin/tools/aqua/bgw/components/uicomponents/BinaryStateButton.kt | tudo-aqua | 377,420,862 | false | {"Kotlin": 1198455, "TypeScript": 2013, "JavaScript": 1242, "HTML": 507, "CSS": 359, "Ruby": 131} | /*
* Copyright 2021-2022 The BoardGameWork Authors
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 31 | Kotlin | 16 | 24 | 266db439e4443d10bc1ec7eb7d9032f29daf6981 | 3,025 | bgw | Apache License 2.0 |
app/src/main/kotlin/com/flxrs/dankchat/data/api/TmiApiService.kt | flex3r | 186,238,019 | false | null | package com.flxrs.dankchat.data.api
import com.flxrs.dankchat.BuildConfig
import com.flxrs.dankchat.data.api.dto.ChatterCountDto
import com.flxrs.dankchat.data.api.dto.ChattersResultDto
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Headers
import retrofit2.http.Path
interface TmiApiService... | 30 | Kotlin | 33 | 114 | c8523ebbe68dc008b15f9cc05faab14b65abffc0 | 723 | DankChat | MIT License |
src/Day05.kt | hottendo | 572,708,982 | false | {"Kotlin": 41152} |
class Stack(crates: List<String>) {
var size = crates.size
var stackOfCrates = crates.toMutableList()
fun moveTo(otherStack: Stack, count: Int) {
// add count creates to the other stack (part 1)
// val movingCrates: List<String> = this.stackOfCrates.take(count).reversed()
// part... | 0 | Kotlin | 0 | 0 | a166014be8bf379dcb4012e1904e25610617c550 | 3,134 | advent-of-code-2022 | Apache License 2.0 |
businesslogic/schedule/src/main/java/de/droidcon/berlin2018/schedule/backend/BackendScheduleResponse.kt | OpenConference | 100,889,869 | false | null | package de.droidcon.berlin2018.schedule.backend
/**
* This data structure will be retuned from
*
* @author <NAME>
*/
data class BackendScheduleResponse<T> private constructor(val isNewerDataAvailable: Boolean,
val data: List<T>) {
companion object {
fun <R> nothingChanged() = BackendScheduleResponse(fal... | 1 | null | 1 | 27 | 142effaf4eb04abb12d5b812e797a89922b649a5 | 424 | DroidconBerlin2017 | Apache License 2.0 |
src/main/kotlin/br/com/zup/edu/clients/itau/ContasItauClient.kt | micaelps | 359,457,305 | true | {"Kotlin": 68364} | package br.com.zup.edu.clients.itau
import io.micronaut.http.HttpResponse
import io.micronaut.http.annotation.Get
import io.micronaut.http.annotation.PathVariable
import io.micronaut.http.annotation.QueryValue
import io.micronaut.http.client.annotation.Client
@Client("\${itau.contas.url}")
interface ContasItauClient... | 0 | Kotlin | 0 | 0 | 1df60d6db03393cb1a400dfc30ec5322c9b28990 | 504 | orange-talents-02-template-pix-keymanager-grpc | Apache License 2.0 |
src/main/kotlin/no/njoh/pulseengine/modules/scene/entities/Backdrop.kt | NiklasJohansen | 239,208,354 | false | null | package entities
import no.njoh.pulseengine.core.PulseEngine
import no.njoh.pulseengine.core.asset.types.Texture
import no.njoh.pulseengine.core.graphics.Surface2D
import no.njoh.pulseengine.core.shared.annotations.AssetRef
import no.njoh.pulseengine.modules.scene.entities.StandardSceneEntity
import no.njoh.pulseengin... | 0 | null | 0 | 1 | c45a8028e1cef5259b76281a7d6083bcbfc51915 | 1,279 | PulseEngine | MIT License |
embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/FragmentBreadcrumbTest.kt | embrace-io | 704,537,857 | false | {"Kotlin": 3067335, "C": 189946, "Java": 179438, "C++": 13140, "CMake": 4188} | package io.embrace.android.embracesdk
import com.squareup.moshi.JsonDataException
import io.embrace.android.embracesdk.payload.FragmentBreadcrumb
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Test
internal class FragmentBreadcrumbTest {
private val info = FragmentBre... | 20 | Kotlin | 7 | 130 | ca3da94e2055251ec6b3afc35fc9a1fc1bb5f57d | 986 | embrace-android-sdk | Apache License 2.0 |
app/src/main/java/com/pechuro/cashdebts/ui/base/activity/BaseActivity.kt | Ilyshka991 | 171,679,797 | false | null | package com.pechuro.cashdebts.ui.base.activity
import android.content.Context
import android.content.pm.PackageManager.GET_META_DATA
import android.os.Bundle
import androidx.annotation.LayoutRes
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelPro... | 0 | Kotlin | 0 | 3 | afb871ebb70b2863a1f2c290f7e06a3f5b9feab6 | 3,089 | CashDebts | Apache License 2.0 |
plugin-settings/src/main/kotlin/com/freeletics/gradle/plugin/SettingsExtension.kt | freeletics | 611,205,691 | false | {"Kotlin": 158054, "Shell": 2852} | package com.freeletics.gradle.plugin
import java.io.File
import org.gradle.api.initialization.Settings
public abstract class SettingsExtension(private val settings: Settings) {
/**
* Automatically find and include Gradle projects in this build. It will start from the root folder and find any
* project ... | 7 | Kotlin | 2 | 9 | d5d74c8e0f6c05f37edf6af7b4658e31e894de00 | 9,465 | freeletics-gradle-plugins | Apache License 2.0 |
app/src/main/java/com/abmodel/uwheels/ui/shared/signup/SignUpFragment.kt | IntroCompuMovil202210J | 458,320,044 | false | null | package com.abmodel.uwheels.ui.shared.signup
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.EditorInfo
import android.widget.Toast
import androidx.annotation.StringRes
import androi... | 0 | Kotlin | 1 | 1 | 9c60f269708dd512548ee79e07d3da5d83b777dc | 2,571 | UWheels | Apache License 2.0 |
src/main/kotlin/it/czerwinski/intellij/wavefront/settings/WavefrontObjSettingsComponent.kt | sczerwinski | 283,832,623 | false | null | /*
* Copyright 2020-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 ... | 26 | null | 1 | 9 | ca6ee47083cdca9b52cd2a59994d12a4a10033eb | 2,798 | wavefront-obj-intellij-plugin | Apache License 2.0 |
samples/openapi3/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/EnumTest.kt | twitterdev | 334,329,847 | true | {"Shell": 764, "XML": 335, "Batchfile": 269, "YAML": 204, "Ruby": 638, "Ignore List": 266, "Maven POM": 241, "Dockerfile": 21, "Markdown": 5016, "Text": 73, "Git Attributes": 1, "INI": 120, "Gradle": 116, "Java": 5459, "JavaScript": 663, "JSON": 468, "CSS": 18, "SVG": 21, "CODEOWNERS": 1, "OASv2-json": 23, "HTML": 89, ... | /**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https:/... | 54 | null | 3 | 5 | f8770d7c3388d9f1a5069a7f37378aeadcb81e16 | 1,848 | unreal-openapi-generator | Apache License 2.0 |
app/src/main/java/com/example/kitapp/retrofit/accessInfo.kt | BerkayKaramehmetoglu | 729,634,621 | false | {"Kotlin": 12773} | package com.example.kitapp.retrofit
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
data class accessInfo(
@SerializedName("country")
@Expose
var country: String?,
@SerializedName("viewability")
@Expose
var viewability: String?,
@SerializedName("... | 1 | Kotlin | 0 | 0 | 61fe73ce5a861c6fac6115ab3fbb8b414968c46b | 526 | KitApp | MIT License |
app/src/main/kotlin/org/andstatus/app/net/social/Actor.kt | andstatus | 3,040,264 | false | null | /*
* Copyright (C) 2013-2018 yvolk (<NAME>), http://yurivolkov.com
*
* 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 requ... | 86 | null | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 36,570 | andstatus | Apache License 2.0 |
core/src/main/java/com/ttp/core/di/CoreModule.kt | Harrypulvirenti | 267,049,548 | false | null | package com.ttp.core.di
import com.ttp.core.dispatcher.DispatcherProviderImpl
import com.ttp.core.initializer.CoreInitializer
import com.ttp.shared.interfaces.ApplicationBundle
import com.ttp.shared.interfaces.DispatcherProvider
import com.ttp.shared.interfaces.extensions.appInitializer
import org.koin.android.ext.koi... | 0 | null | 1 | 8 | 23c84e068944a69d543dccf6825b6395aa2c8137 | 639 | TimeToPlay | Apache License 2.0 |
library_swutils/src/main/java/com/swensun/swutils/util/UtilContentProvider.kt | yunshuipiao | 186,582,408 | false | {"Kotlin": 344102, "Java": 163601, "HTML": 2189} | package com.swensun.swutils.util
import android.app.Application
import android.content.ContentProvider
import android.content.ContentValues
import android.database.Cursor
import android.net.Uri
import com.swensun.swutils.SwUtils
class UtilContentProvider : ContentProvider() {
override fun query(
uri: Uri,... | 73 | Kotlin | 12 | 75 | 7036458d3b2d7b64730a9fa03f105460560e97fe | 1,029 | Potato | Apache License 2.0 |
src/main/kotlin/com/fiap/selfordermanagement/config/JWTSecurityConfig.kt | FIAP-3SOAT-G15 | 686,372,615 | false | null | package com.fiap.stock.application.config
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType
import io.swagger.v3.oas.annotations.security.SecurityScheme
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.context.annotation.Bean
import org.springframewor... | 3 | null | 1 | 4 | 4d88e0bd81de2e83cbf3aa5d3224529adbd25529 | 2,145 | tech-challenge | MIT License |
espresso/CustomTestWatcher.kt | aaron-goff | 377,574,855 | false | null | import org.junit.rules.TestWatcher
import org.junit.runner.Description
class CustomTestWatcher : TestWatcher() {
override fun starting(description: Description) {
}
override fun failed(e: Throwable?, description: Description) {
}
override fun succeeded(description: Description?) {
}
} | 0 | Kotlin | 0 | 0 | fc548d4d2d89f5afa244d821bb7e802b326fa359 | 315 | recipes | Apache License 2.0 |
InjuredAndroid/app/src/main/java/b3nac/injuredandroid/DeepLinkActivity.kt | JarLob | 268,610,835 | true | {"Text": 1, "Ignore List": 3, "Markdown": 2, "Gradle": 3, "XML": 59, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "INI": 2, "JSON": 1, "Proguard": 1, "Java": 31, "Kotlin": 3} | package b3nac.injuredandroid
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.EditText
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import ... | 0 | null | 0 | 2 | 51b57e5e8b64b6da4b907d9b11bbd1239ee1dc03 | 4,063 | InjuredAndroid | Apache License 2.0 |
samples/src/main/java/io/github/staakk/cchart/samples/PopupChart.kt | staakk | 340,637,391 | false | null | package io.github.staakk.cchart.samples
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.... | 0 | Kotlin | 2 | 15 | e291c90e120614198a9104cb8c10c5ad8d5ce7c2 | 3,130 | cchart | Apache License 2.0 |
gluecodium/src/main/java/com/here/gluecodium/generator/ffi/FfiNameResolver.kt | Dschoordsch | 237,653,099 | false | {"Gradle": 18, "YAML": 5, "Markdown": 26, "INI": 19, "Batchfile": 5, "Shell": 29, "Text": 4, "Ignore List": 13, "CMake": 35, "XML": 55, "Kotlin": 338, "Java": 210, "Swift": 169, "C++": 338, "C": 46, "Dart": 54, "Mustache": 212, "Java Properties": 2, "ANTLR": 4, "OpenStep Property List": 3, "JSON": 1, "SVG": 4} | /*
* Copyright (C) 2016-2019 HERE Europe 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... | 1 | null | 1 | 1 | a7b3833ce840284cadf968b6f8441888f970c134 | 6,178 | gluecodium | Apache License 2.0 |
app/src/main/java/com/sample/crackingcoroutines/ui/exceptions/ExceptionsViewModel.kt | dahlbergbob | 548,542,826 | false | {"Kotlin": 30523} | package com.sample.crackingcoroutines.ui.exceptions
import androidx.lifecycle.viewModelScope
import com.sample.crackingcoroutines.helpers.BaseViewModel
import com.sample.crackingcoroutines.helpers.Network
import com.sample.crackingcoroutines.helpers.javaClassShort
import kotlinx.coroutines.*
class ExceptionsViewModel... | 0 | Kotlin | 0 | 1 | 52fa51aef959207a72021c95b352fbddc3db7418 | 3,713 | cracking-coroutines-droidcon-it | MIT License |
backend/src/test/kotlin/com/github/davinkevin/podcastserver/service/JdomServiceTest.kt | rrymm | 188,617,315 | true | {"HTML": 20676268, "Kotlin": 946925, "TypeScript": 162734, "JavaScript": 95206, "Java": 76050, "CSS": 26948, "Shell": 5639, "Dockerfile": 3085, "Smarty": 328} | package com.github.davinkevin.podcastserver.service
import com.github.davinkevin.podcastserver.IOUtils
import com.github.davinkevin.podcastserver.entity.*
import com.github.davinkevin.podcastserver.service.properties.PodcastServerParameters
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomake... | 0 | HTML | 0 | 0 | 65533e8c266cdd929fa199f0d53a60117641199e | 13,958 | Podcast-Server | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/ScannerOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/ScannerOutlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val ScannerOutlined: SvgIconComponent
| 12 | null | 5 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 212 | kotlin-wrappers | Apache License 2.0 |
repository/src/main/java/com/ferelin/repository/converter/helpers/searchRequestsConverter/SearchRequestsConverter.kt | sarath940 | 391,107,525 | true | {"Kotlin": 768543} | /*
* Copyright 2021 Leah Nichita
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 0 | null | 0 | 0 | 2c0e4b045786fdf4b4d51bf890a3dbf0cd8099d1 | 1,406 | Android_Stock_Price | Apache License 2.0 |
cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/storage/serializers/values/xodus/BooleanValueXodusBinding.kt | vitrivr | 160,775,368 | false | {"Kotlin": 2317843, "Dockerfile": 548} | package org.vitrivr.cottontail.storage.serializers.values.xodus
import jetbrains.exodus.ByteIterable
import jetbrains.exodus.bindings.BooleanBinding
import jetbrains.exodus.bindings.ByteBinding
import org.vitrivr.cottontail.core.values.BooleanValue
import org.vitrivr.cottontail.core.values.types.Types
/**
* A [Xodus... | 16 | Kotlin | 18 | 26 | 50cc8526952f637d685da9d18f4b1630b782f1ff | 1,623 | cottontaildb | MIT License |
src/jsMain/kotlin/materialui/types.kt | baaahs | 174,897,412 | false | null | package materialui
import baaahs.ui.Icon
import mui.icons.material.SvgIconComponent
import react.RBuilder
import react.create
fun RBuilder.icon(icon: Icon) = child(icon.getReactIcon().create())
fun RBuilder.icon(icon: SvgIconComponent) = child(icon.create())
//fun Theme.createTransition(vararg props: String, options... | 82 | Kotlin | 5 | 24 | 01aa9e9530ff9acbada165a2d7048c4ad67ed74f | 413 | sparklemotion | MIT License |
vendor/vendor-android/base/src/main/kotlin/com/malinskiy/marathon/android/RemoteFileManager.kt | badoo | 251,365,845 | true | {"Kotlin": 530071, "JavaScript": 41573, "SCSS": 27631, "HTML": 2925, "Shell": 2350, "CSS": 1662} | package com.malinskiy.marathon.android
import com.malinskiy.marathon.test.Test
import java.io.File
import java.io.IOException
class RemoteFileManager(private val device: AndroidDevice) {
private val tempDir = "/data/local/tmp"
fun pullFile(remoteFilePath: String, localFile: File) {
device.pullFile(re... | 1 | Kotlin | 6 | 1 | e07de46f42f42e7b0a335bc1f81682deaa769288 | 2,685 | marathon | Apache License 2.0 |
android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/videothumbnails/Exceptions.kt | betomoedano | 462,599,485 | true | {"TypeScript": 7804102, "Kotlin": 3383974, "Objective-C": 2722124, "Swift": 1723956, "Java": 1686584, "JavaScript": 847793, "C++": 310224, "C": 237463, "Objective-C++": 191888, "Ruby": 167983, "Shell": 59271, "HTML": 31107, "CMake": 25754, "Batchfile": 89, "CSS": 42} | package abi49_0_0.expo.modules.videothumbnails
import abi49_0_0.expo.modules.kotlin.exception.CodedException
class ThumbnailFileException :
CodedException("Can't read file")
class GenerateThumbnailException :
CodedException("Could not generate thumbnail")
class FilePermissionsModuleNotFound :
CodedException("... | 627 | TypeScript | 4443 | 4 | 52d6405570a39a87149648d045d91098374f4423 | 356 | expo | MIT License |
gluecodium/src/test/java/com/here/gluecodium/generator/jni/JniModelBuilderTest.kt | Dschoordsch | 237,653,099 | false | null | /*
* Copyright (C) 2016-2019 HERE Europe 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... | 1 | null | 1 | 1 | a7b3833ce840284cadf968b6f8441888f970c134 | 26,675 | gluecodium | Apache License 2.0 |
base/src/main/java/sk/kasper/base/SettingsManager.kt | BME-MIT-IET | 484,162,194 | false | null | package sk.kasper.base
import kotlinx.coroutines.flow.Flow
interface SettingsManager {
companion object {
const val PRODUCTION = 0
const val LOCALHOST = 1
const val RASPBERRY = 2
}
val showUnconfirmedLaunches: Boolean
var showLaunchNotifications: Boolean
val durationBefor... | 10 | null | 14 | 2 | d53a13dde49828c5ec473774408aab1ecae26952 | 985 | iet-hf-2022-houston | Apache License 2.0 |
src/main/kotlin/es/horm/easyadldetektplugin/detekt/rule/EasyAdlRuleSetProvider.kt | Tommyten | 585,151,541 | false | null | package es.horm.easyadldetektplugin.detekt.rule
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.RuleSet
import io.gitlab.arturbosch.detekt.api.RuleSetProvider
class EasyAdlRuleSetProvider : RuleSetProvider {
override val ruleSetId: String = RULE_SET_ID
override fun instan... | 0 | Kotlin | 0 | 0 | 80174f2d81ab46e96449dce8bf3a2bab6aaeb9eb | 510 | easyAdlDetektPlugin | Apache License 2.0 |
amethyst/src/main/java/com/vitorpamplona/amethyst/ui/dal/NIP90ContentDiscoveryResponseFilter.kt | vitorpamplona | 587,850,619 | false | null | /**
* Copyright (c) 2024 <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, di... | 145 | null | 149 | 1,097 | 8b617fbd605540dcbb4b24c329db3bfe6eaabc88 | 4,135 | amethyst | MIT License |
app/src/main/java/jp/juggler/screenshotbutton/MyImageButton.kt | tateisu | 229,436,742 | false | null | package jp.juggler.screenshotbutton
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.view.WindowManager
import android.widget.ImageButton
import android.widget.TextView
@SuppressLint("AppCompatCustomView")
class MyTextBox : TextView {
var windo... | 1 | Kotlin | 0 | 5 | c59e9b4991982bdc6d89f233bdbf497fec04b97f | 1,780 | ScreenShotButton | Apache License 2.0 |
src/main/kotlin/columns/DbString.kt | JavaDream | 382,886,127 | false | null | package columns
class DbString(name: String) : Column(name) {
private var length = 250
override fun toSql(): String {
return "$name varchar($length)"
}
infix fun limit(length: Int): DbString {
this.length = length
return this
}
} | 0 | Kotlin | 0 | 1 | e0664a210018e7b354e062db69f1ac67b8ab318a | 276 | migration | Apache License 2.0 |
_lifecycle-handler/_activity/lifecycle-handler-compose-activity/src/main/java/io/androidalatan/lifecycle/handler/compose/activity/ComposeLifecycleBottomSheetDialogFragment.kt | android-alatan | 466,507,427 | false | null | package io.androidalatan.lifecycle.handler.compose.activity
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.runtime.Composable
i... | 3 | null | 5 | 56 | 35b0ec7a89f8254db0af1830ac1de8a7124c6f09 | 7,409 | LifecycleComponents | MIT License |
lmos-router-vector-spring-boot-starter/src/main/kotlin/ai/ancf/lmos/router/vector/starter/SpringVectorSeedClient.kt | lmos-ai | 861,674,747 | false | {"Kotlin": 191217, "Jupyter Notebook": 98576} | // SPDX-FileCopyrightText: 2024 Deutsche Telekom AG
//
// SPDX-License-Identifier: Apache-2.0
package ai.ancf.lmos.router.vector.starter
import ai.ancf.lmos.router.core.Failure
import ai.ancf.lmos.router.core.Result
import ai.ancf.lmos.router.core.Success
import ai.ancf.lmos.router.vector.VectorClientException
import... | 6 | Kotlin | 0 | 22 | 43647592a7460fd0c57621275b47cb5ab564462d | 1,584 | lmos-router | Apache License 2.0 |
app/src/main/java/com/qwlyz/androidstudy/fragment/StartActivityFragment.kt | lyzqw | 222,019,259 | false | {"Kotlin": 91509, "Java": 44171, "C++": 293} | //package com.qwlyz.androidstudy.fragment
//
//import android.Manifest
//import android.content.ContentValues
//import android.content.pm.PackageManager.PERMISSION_GRANTED
//import android.graphics.BitmapFactory
//import android.os.Build
//import android.provider.MediaStore
//import android.util.Log
//import androidx.a... | 0 | Kotlin | 0 | 0 | bb7e85e7d39e553bed9fccdc838113129e88ed0c | 1,099 | wyq_github_android_study | Apache License 2.0 |
app/src/main/java/com/denysnovoa/nzbmanager/radarr/movie/list/repository/api/RadarrMoviesApiRest.kt | denysnovoa | 90,066,913 | false | null | package com.denysnovoa.nzbmanager.radarr.movie.list.repository.api
import com.denysnovoa.nzbmanager.radarr.movie.list.repository.entity.MovieEntity
import io.reactivex.Completable
import io.reactivex.Flowable
import io.reactivex.Single
import retrofit2.http.DELETE
import retrofit2.http.GET
import retrofit2.http.Path
i... | 0 | Kotlin | 0 | 1 | 8944e3bae4c073856f9856bf2e5064a6dadde4f7 | 737 | radarrsonarr | Apache License 2.0 |
lib/src/main/java/com/github/preference/RingtonePreferenceSummaryProvider.kt | pnemonic78 | 149,122,819 | false | {"Kotlin": 206322} | package com.github.preference
import androidx.preference.Preference
class RingtonePreferenceSummaryProvider private constructor() :
Preference.SummaryProvider<RingtonePreference> {
override fun provideSummary(preference: RingtonePreference): CharSequence? {
return preference.getRingtoneTitle(preferen... | 0 | Kotlin | 0 | 1 | baaddab25c8cd075c4f6365a18f8bdf802ca82c3 | 1,063 | android-lib | Apache License 2.0 |
0469.Convex Polygon.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | internal class Solution {
fun isConvex(points: List<List<Int?>>): Boolean {
val n: Int = points.size()
var pre: Long = 0
var cur: Long = 0
for (i in 0 until n) {
val p1: Unit = points[i]
val p2: Unit = points[(i + 1) % n]
val p3: Unit = points[(i + 2) % n]
val x1: Int = p2.get(... | 0 | Kotlin | 0 | 0 | 71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48 | 641 | kotlin-leetcode | MIT License |
FetLifeKotlin/app/src/main/java/com/bitlove/fetlife/model/network/job/getresource/GetConversationListJob.kt | chonamdoo | 125,962,896 | true | {"Markdown": 1, "Batchfile": 2, "Shell": 2, "Java Properties": 4, "Proguard": 4, "Kotlin": 68, "Java": 254, "JavaScript": 1} | package com.bitlove.fetlife.model.network.job.getresource
import com.bitlove.fetlife.FetLifeApplication
import com.bitlove.fetlife.model.dataobject.entity.ContentEntity
import com.bitlove.fetlife.model.dataobject.wrapper.Content
import retrofit2.Call
class GetConversationListJob : GetListResourceJob<ContentEntity>(PR... | 0 | Java | 0 | 0 | ac680aed9629f51f38322d14df58c56142d49fed | 1,156 | android-1 | MIT License |
basicktest/src/main/java/com/mozhimen/basicktest/taskk/TaskKCountDownActivity.kt | mozhimen | 353,952,154 | false | {"Kotlin": 2273552, "Java": 246468, "AIDL": 1012} | package com.mozhimen.basicktest.taskk
import android.os.Bundle
import com.mozhimen.basick.elemk.androidx.appcompat.bases.BaseActivityVB
import com.mozhimen.basick.lintk.optin.OptInApiInit_ByLazy
import com.mozhimen.basick.lintk.optin.OptInApiCall_BindLifecycle
import com.mozhimen.basick.taskk.temps.ITaskKCountDownList... | 0 | Kotlin | 7 | 115 | 05064571d43ada3ea6488bafc33d2fe436c0618d | 1,277 | SwiftKit | Apache License 2.0 |
app/src/main/java/com/steleot/jetpackcompose/playground/service/JetpackComposePlaygroundFirebaseMessagingService.kt | Vivecstel | 338,792,534 | false | null | package com.steleot.jetpackcompose.playground.service
import com.google.firebase.messaging.FirebaseMessagingService
import com.google.firebase.messaging.RemoteMessage
import timber.log.Timber
class JetpackComposePlaygroundFirebaseMessagingService : FirebaseMessagingService() {
override fun onMessageReceived(mess... | 1 | Kotlin | 10 | 117 | e4f4c45b4376dac907cae4ef07db1f188c86d01c | 513 | Jetpack-Compose-Playground | Apache License 2.0 |
gaia/src/main/kotlin/dev/pooq/ichor/gaia/extensions/SystemExtensions.kt | kxmpxtxnt | 586,376,008 | false | null | package dev.pooq.ichor.gaia.extensions
val env: MutableMap<String, String> = System.getenv() | 0 | Kotlin | 0 | 3 | 29665855a4bde80b66eb4eadd6b14f6b91339a37 | 93 | ichor | Apache License 2.0 |
app/src/main/java/es/upm/bienestaremocional/ui/theme/Type.kt | Emotional-Wellbeing | 531,973,820 | false | null | package es.upm.bienestaremocional.ui.theme
import androidx.compose.material3.Typography
// Set of Material typography styles to start with
private val defaultTypography = Typography()
val Typography = Typography(
displayLarge = defaultTypography.displayLarge.copy(fontFamily = Quicksand),
displayMedium = def... | 0 | null | 0 | 2 | 55c24943d57d1c0cb91ddce569f27d7e5cd6ed8d | 1,844 | App | Apache License 2.0 |
core/domain/src/main/java/jp/mydns/kokoichi0206/domain/usecase/quiz_record/InsertRecordUseCase.kt | android-project-46group | 408,417,203 | false | null | package jp.mydns.kokoichi0206.domain.usecase.quiz_record
import jp.mydns.kokoichi0206.data.repository.QuizRecordRepository
/**
* UseCase of insert or update a quiz record.
*/
class InsertRecordUseCase(
private val repository: QuizRecordRepository,
) {
suspend operator fun invoke(record: jp.mydns.kokoichi02... | 14 | Kotlin | 0 | 2 | d69f08e815a4780bd93a0e1bf274dc770155b06e | 391 | android | MIT License |
app/src/main/java/com/example/simple_movie_app/MainActivity.kt | windy-itus | 796,164,236 | false | {"Kotlin": 66112} | package com.example.simple_movie_app
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.ru... | 0 | Kotlin | 0 | 0 | f4677b844fc0bbfda2a32da71d76520e11e4688d | 2,400 | simple_movie_app | MIT License |
common/src/iosMain/kotlin/org/jetbrains/kotlinconf/api/Constants.kt | Sneyder2328 | 148,829,827 | true | {"Kotlin": 106023, "Swift": 21519, "Ruby": 309} | package org.jetbrains.kotlinconf.api
val END_POINT: String = "https://api.kotlinconf.com"
| 0 | Kotlin | 0 | 0 | 888920feba5908d68a6fd4e949588a91bf8f29d2 | 91 | kotlinconf-app | Apache License 2.0 |
app/src/main/java/com/acme/kotlinintervals/interactor/IntervalAssets.kt | damientl | 541,285,038 | false | {"Kotlin": 15932} | package com.acme.kotlinintervals.interactor
import com.acme.kotlinintervals.R
object IntervalAssets {
val AUDIO_RESOURCES = listOf(
R.raw.piano, R.raw.piano2, R.raw.`in`, R.raw.out, R.raw.hold, R.raw.assobio_fim,
R.raw.toco)
val PROGRAM_RESOURCES = mapOf(
10 to R.raw.prog10s,
... | 0 | Kotlin | 0 | 0 | e0b918ec176501355e772305f0b592e0843dc294 | 413 | kotlinIntervals | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppscontactsapi/mapping/CountyEntityMappers.kt | ministryofjustice | 835,306,273 | false | {"Kotlin": 796959, "Shell": 2365, "Dockerfile": 1483} | package uk.gov.justice.digital.hmpps.hmppscontactsapi.mapping
import uk.gov.justice.digital.hmpps.hmppscontactsapi.entity.CountyEntity
import uk.gov.justice.digital.hmpps.hmppscontactsapi.model.response.County
fun CountyEntity.toModel(): County {
return County(
countyId = this.countyId,
nomisCode = this.nom... | 5 | Kotlin | 0 | 0 | fdcb9649525c4bad4ee73ec6b844abf8ebbd466c | 481 | hmpps-contacts-api | MIT License |
SKIE/skie-gradle/plugin-shim-impl/src/kgp_1.8.0..1.8.20/gradle_common/kotlin/co/touchlab/skie/plugin/shim/LaunchSchedulerImpl.kt | touchlab | 685,579,240 | false | {"Kotlin": 1525287, "Swift": 6029, "Shell": 763} | package co.touchlab.skie.plugin.shim
import org.gradle.api.Project
class LaunchSchedulerImpl : LaunchScheduler {
override fun whenMinOsVersionCanBeSafelyChanged(project: Project, block: () -> Unit) {
if (project.state.executed) {
block()
} else {
project.afterEvaluate {
... | 2 | Kotlin | 8 | 623 | beb653053135860f34558ae10b4abaa2cdec0826 | 445 | SKIE | Apache License 2.0 |
client/src/main/kotlin/ticketToRide/screens/ShowGameIdScreen.kt | Kiryushin-Andrey | 253,543,902 | false | null | package ticketToRide.screens
import com.ccfraser.muirwik.components.*
import com.ccfraser.muirwik.components.button.*
import com.ccfraser.muirwik.components.dialog.*
import kotlinx.browser.window
import react.*
import react.dom.a
import react.dom.attrs
import react.dom.p
import styled.*
import ticketToRide.*
external... | 1 | null | 4 | 9 | 72392461e81d7fe9a877c43af108721e3eecb619 | 2,524 | TicketToRide | MIT License |
identity-sdjwt/src/main/java/com/android/identity/sdjwt/util/JsonWebKey.kt | openwallet-foundation-labs | 248,844,077 | false | {"Kotlin": 4132186, "Java": 591756, "JavaScript": 33071, "Swift": 28030, "HTML": 12029, "Shell": 372, "CSS": 200, "C": 104} | package com.android.identity.sdjwt.util
import com.android.identity.crypto.EcCurve
import com.android.identity.crypto.EcPublicKey
import com.android.identity.crypto.EcPublicKeyDoubleCoordinate
import com.android.identity.crypto.EcPublicKeyOkp
import com.android.identity.util.fromBase64Url
import com.android.identity.u... | 99 | Kotlin | 83 | 163 | e6bf25766985521b9a39d4ed7999f22d57064db5 | 3,595 | identity-credential | Apache License 2.0 |
analytics/src/main/java/video/api/player/analytics/Options.kt | apivideo | 435,570,950 | false | null | package video.api.player.analytics
import java.io.IOException
import java.net.URL
/**
* The api.video video type.
*/
enum class VideoType(val type: String) {
/** Video is a live stream */
LIVE("live"),
/** Video is a video on demand */
VOD("vod")
}
/**
* Converts String to a [VideoType].
*
* @r... | 0 | Kotlin | 1 | 12 | c38f7546a2d36344d4f2f0929d269e68d47f1ab8 | 4,955 | api.video-android-player-analytics | MIT License |
educational-core/src/com/jetbrains/edu/learning/codeforces/courseFormat/CodeforcesTask.kt | JetBrains | 43,696,115 | false | null | package com.jetbrains.edu.learning.codeforces.courseFormat
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.text.StringUtil.join
import com.intellij.openapi.vfs.VfsUtilCore.VFS_SEPARATOR_CHAR
import com.intellij.openapi.vfs.VirtualFile
import co... | 5 | null | 48 | 99 | cfc24fe13318de446b8adf6e05d1a7c15d9511b5 | 7,924 | educational-plugin | Apache License 2.0 |
components/src/androidTest/java/emperorfin/android/components/ui/utils/AuthenticationScreenTestUtil3.kt | emperorfin | 611,222,954 | false | null | /*
* Copyright 2023 Francis Nwokelo (emperorfin)
*
* 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 ... | 0 | Kotlin | 0 | 28 | e0d9ad8b2b0fc13087d602b88b0c64cf6dddb3c2 | 10,354 | MilitaryJet | Apache License 2.0 |
components/src/androidTest/java/emperorfin/android/components/ui/utils/AuthenticationScreenTestUtil3.kt | emperorfin | 611,222,954 | false | null | /*
* Copyright 2023 Francis Nwokelo (emperorfin)
*
* 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 ... | 0 | Kotlin | 0 | 28 | e0d9ad8b2b0fc13087d602b88b0c64cf6dddb3c2 | 10,354 | MilitaryJet | Apache License 2.0 |
src/main/kotlin/net/zero9178/mbed/editor/MbedAppLibDaemon.kt | zero9178 | 188,723,282 | false | null | package net.zero9178.mbed.editor
import com.intellij.openapi.editor.EditorFactory
import com.intellij.openapi.editor.event.DocumentEvent
import com.intellij.openapi.editor.event.DocumentListener
import com.intellij.openapi.fileEditor.FileDocumentManager
import com.intellij.openapi.project.Project
import com.intellij.o... | 2 | Kotlin | 1 | 9 | 6a3e8f6aa271bc30929bd03285a113dda218f022 | 3,422 | Mbed-Support-for-CLion | MIT License |
src/main/kotlin/dev/shtanko/algorithms/search/LinearSearch.kt | ashtanko | 515,874,521 | false | null | /*
* MIT License
* Copyright (c) 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... | 2 | Kotlin | 1 | 9 | ee3d5c874d2cb1ee88027ca5f214f876676e57b0 | 1,690 | the-algorithms | MIT License |
chronolens-cli/src/main/kotlin/org/chronolens/Subcommands.kt | andreihh | 83,168,079 | false | null | /*
* Copyright 2017-2021 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 0 | Kotlin | 1 | 4 | 4b6f97ce04256d56774c419159346a58fb8872c7 | 5,087 | chronolens | Apache License 2.0 |
src/main/kotlin/counters/minter/sdk/minter_api/MinterApi.kt | counters | 196,465,317 | false | null | package counters.minter.sdk.minter_api
import counters.minter.grpc.client.BlockField
import counters.minter.sdk.minter.*
import counters.minter.sdk.minter.MinterRaw.BlockRaw
import counters.minter.sdk.minter.MinterRaw.EventRaw
import counters.minter.sdk.minter.enum.QueryTags
import counters.minter.sdk.minter.enum.Subs... | 0 | null | 3 | 7 | dd03cc8a1e0b4c21ceb03dbceff7b0fe4136d4ca | 23,943 | minter-kotlin-sdk | Apache License 2.0 |
test/src/test/kotlin/graphql/nadel/tests/hooks/chain-rename-transform.kt | atlassian-labs | 121,346,908 | false | null | package graphql.nadel.tests.hooks
import graphql.language.EnumValue
import graphql.language.StringValue
import graphql.nadel.Service
import graphql.nadel.ServiceExecutionHydrationDetails
import graphql.nadel.ServiceExecutionResult
import graphql.nadel.enginekt.NadelExecutionContext
import graphql.nadel.enginekt.bluepr... | 24 | null | 23 | 157 | d9bb3cf1f301c685ca6d578279c4b2c6d6a74158 | 3,362 | nadel | Apache License 2.0 |
base-android/src/test/kotlin/com/jpaya/base/extensions/CalendarExtensionsTest.kt | jpaya17 | 254,323,532 | 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 wr... | 20 | Kotlin | 6 | 49 | 5f6b5583f1a259407e85f6ecad6333b208b98885 | 1,751 | englishisfun | Apache License 2.0 |
neat-form-core/src/main/java/com/nerdstone/neatformcore/form/json/JsonFormBuilder.kt | ellykits | 193,852,361 | false | null | package com.nerdstone.neatformcore.form.json
import android.content.Context
import android.view.View
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModelProvider
import com.nerdstone.neatformcore.datasource.AssetFile
import com.nerdstone.neatformcore.domain.builders.FormBuilder
import com.... | 15 | null | 25 | 63 | 1d0dbdfe7045bdc5b571a5f7741b06a900beeb2d | 8,771 | neat-form | Apache License 2.0 |
app/src/main/java/com/duckduckgo/app/browser/history/NavigationHistorySheet.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2022 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 2,518 | Android | Apache License 2.0 |
soapui-streams-direct/src/main/kotlin/eu/k5/soapui/streams/direct/Project.kt | denninger-eu | 244,302,123 | false | null | package eu.k5.soapui.streams.direct
import eu.k5.soapui.streams.model.SuProject
import eu.k5.soapui.streams.model.SuuProperties
import eu.k5.soapui.streams.model.rest.SuuRestService
import eu.k5.soapui.streams.model.test.SuuTestSuite
import eu.k5.soapui.streams.model.wsdl.SuuWsdlService
class Project : SuProject {
... | 5 | Kotlin | 0 | 0 | 665e54e4ac65d6c7e9805bb1b44f30f9ec702ce3 | 1,965 | soapui-utils | Apache License 2.0 |
features/root/memory/src/jvmMain/kotlin/app/immich/kmp/features/root/memory/MemoryPortal.jvm.kt | eygraber | 738,812,490 | false | {"Kotlin": 281627, "Shell": 1809, "HTML": 635, "JavaScript": 543} | package app.immich.kmp.features.root.memory
import app.immich.kmp.core.ImmichSessionComponent
internal actual fun MemoryComponent.Companion.createA(
sessionComponent: ImmichSessionComponent,
route: Route,
): MemoryComponent = MemoryComponent.Companion.create(sessionComponent, route)
| 5 | Kotlin | 0 | 0 | 4156287793c3fbb0e91c0b24cf2298253085f72d | 290 | immich-kmp | MIT License |
paymentsheet-example/src/androidTest/java/com/stripe/android/TestBrowsers.kt | stripe | 6,926,049 | false | null | package com.stripe.android
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice
import com.stripe.android.test.core.AuthorizeAction
import com.stripe.android.test.core.Automatic
import com.stripe.android.test.core.Billi... | 87 | Kotlin | 606 | 1,133 | 8103aa6791ce4de7739d201f35e3572334a60553 | 3,350 | stripe-android | MIT License |
mapcompose/src/main/java/ovh/plrapps/mapcompose/ui/markers/MarkerLayout.kt | p-lr | 359,208,603 | false | null | package ovh.plrapps.mapcompose.ui.markers
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.graphicsLayer
import... | 8 | null | 7 | 96 | e65762b45cc7418cbae54e0673405d109da7aadd | 3,238 | MapCompose | Apache License 2.0 |
scripts/src/main/java/io/github/fate_grand_automata/scripts/enums/GameServerEnum.kt | Fate-Grand-Automata | 245,391,245 | false | null | package com.mathewsachin.fategrandautomata.scripts.enums
enum class GameServerEnum constructor(vararg val packageNames: String) {
En("com.aniplex.fategrandorder.en", "io.rayshift.betterfgo.en"),
Jp("com.aniplex.fategrandorder", "io.rayshift.betterfgo"),
Cn("com.bilibili.fatego", "com.bilibili.fatego.sharej... | 84 | null | 177 | 961 | dcccf843c7ac3ce94f57f97b7709c4a1b8860f02 | 677 | FGA | MIT License |
example/android/app/src/main/kotlin/cc/colorcat/finder_example/MainActivity.kt | ccolorcat | 345,508,539 | false | {"Dart": 26153, "Ruby": 2196, "Kotlin": 1502, "Swift": 907, "Objective-C": 659} | package cc.colorcat.finder_example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 3 | dbd0cec6071d468444a66d2d014ada53c7f62f90 | 131 | finder | Apache License 2.0 |
app/src/main/java/com/hypertrack/android/ui/MainActivity.kt | hypertrack | 241,723,736 | false | null | package com.hypertrack.android.ui
import android.content.Intent
import android.os.Bundle
import androidx.activity.viewModels
import androidx.navigation.NavDestination
import com.hypertrack.android.di.Injector
import com.hypertrack.android.ui.activity.ActivityViewModel
import com.hypertrack.android.ui.base.NavActivity
... | 1 | null | 17 | 31 | c5dd23621aed11ff188cf98ac037b67f435e9f5b | 4,923 | visits-android | MIT License |
plugins/settings-repository/src/readOnlySourcesEditor.kt | androidports | 115,100,208 | false | null | // Copyright 2000-2018 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.settingsRepository
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.diagnostic.runAndLogException
import com.intellij.... | 6 | null | 5162 | 4 | 6e4f7135c5843ed93c15a9782f29e4400df8b068 | 5,207 | intellij-community | Apache License 2.0 |
lib_base/src/main/java/com/hzsoft/lib/base/view/BaseActivity.kt | zhouhuandev | 346,678,456 | false | null | package com.hzsoft.lib.base.view
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.text.TextUtils
import android.view.*
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.widget.Toolbar
import com.alibaba.android.arouter.facade.Po... | 0 | null | 53 | 88 | c74e9e5e1059805e4373981633e17616a2328948 | 11,134 | BaseDemo | Apache License 2.0 |
kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/KotlinStaticData.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 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.kotlin.backend.konan.llvm
import kotlinx.cinterop.cValuesOf
import llvm.*
import org.jetbrains.kotlin.backend.konan.Context
import org.jetbrains.... | 157 | Kotlin | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 4,953 | kotlin | Apache License 2.0 |
app/src/main/java/today/kinema/data/source/RemoteDataSource.kt | manununhez | 288,487,056 | false | {"Kotlin": 191312} | package today.kinema.data.source
import today.kinema.data.api.dto.AttributeDto
import today.kinema.data.api.dto.GeneralResponse
import today.kinema.data.api.dto.MoviesDto
import today.kinema.ui.model.FilterAttribute
interface RemoteDataSource {
suspend fun searchMovies(filterAttribute: FilterAttribute): GeneralResp... | 12 | Kotlin | 0 | 0 | 95582e5545fbae83136ac675d65107080f3b0c1c | 492 | pl-cinemas-app | MIT License |
solar/src/main/java/com/chiksmedina/solar/lineduotone/money/Dollar.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.lineduotone.money
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.StrokeCap.Companio... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 2,724 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/tatuas/ghsv/ext/FragmentExt.kt | tatuas | 134,174,686 | false | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Kotlin": 27, "XML": 15, "Java": 1} | package com.tatuas.ghsv.ext
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.V... | 1 | null | 1 | 1 | 772b07639b5ec25dbeda8fc83933c82f125c12f6 | 860 | ghsv | MIT License |
netcode-mcbe/src/main/kotlin/com/valaphee/netcode/mcbe/network/packet/TradePacket.kt | valaphee | 431,915,568 | false | {"Kotlin": 1365906} | /*
* Copyright (c) 2021-2022, Valaphee.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 0 | Kotlin | 0 | 2 | 4230a7ed71665360df32601956795b9ce8e2eb6c | 3,833 | netcode | Apache License 2.0 |
dessert-clicker/app/src/main/java/com/example/dessertclicker/ui/DessertViewModel.kt | Gabriel-Rodrigues13 | 741,078,861 | false | {"Kotlin": 280491} | package com.example.dessertclicker.ui
import androidx.lifecycle.ViewModel
import com.example.dessertclicker.data.Datasource.dessertList
import com.example.dessertclicker.data.DessertUiState
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFl... | 0 | Kotlin | 0 | 0 | 2317f01290b6e7f938ea3915ae555a40a5e31f45 | 1,527 | android_pathway | MIT License |
src/main/kotlin/net/ndrei/teslapoweredthingies/machines/treefarm/VanillaTreeBlock.kt | MinecraftModDevelopmentMods | 77,729,751 | false | {"Kotlin": 552829} | package net.ndrei.teslapoweredthingies.machines.treefarm
import net.minecraft.item.ItemStack
import net.minecraft.util.NonNullList
import net.minecraft.util.math.BlockPos
import net.minecraft.world.World
/**
* Created by CF on 2017-07-07.
*/
abstract class VanillaTreeBlock(protected val world: World, protected val ... | 21 | Kotlin | 4 | 2 | 22fdcf629e195a73dd85cf0ac0c5dda551085e71 | 676 | Tesla-Powered-Thingies | MIT License |
app/src/main/java/com/erickcapilla/dcyourself/RecoverPassword.kt | erickcapilla | 626,143,431 | false | null | package com.erickcapilla.dcyourself
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.EditText
import android.widget.ProgressBar
import android.widget.TextView
import androidx.appcompat.app.... | 0 | Kotlin | 0 | 0 | 646622d9a2af242cc0d03341a016beb1c074c9a4 | 3,907 | DCYourself | MIT License |
app/src/main/java/com/peteralexbizjak/ljbikes/api/services/BikesService.kt | sunderee | 407,182,934 | false | null | package com.peteralexbizjak.ljbikes.api.services
import com.peteralexbizjak.ljbikes.api.models.bikes.BikeModel
import retrofit2.http.GET
import retrofit2.http.Headers
import retrofit2.http.Query
internal interface BikesService {
@Headers(
"host: api.cyclocity.fr",
"accept: application/vnd.bikes.v3... | 0 | Kotlin | 0 | 1 | 624465405bfa257638a2f8bee5d122ae4ba0a49d | 537 | ljbikes | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Building.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,109 | icons | MIT License |
preferences-adapter-flow/src/main/java/io/androidalatan/datastore/preference/adapter/flow/FlowClearAdapter.kt | android-alatan | 462,405,374 | false | null | package io.androidalatan.datastore.preference.adapter.flow
import android.content.SharedPreferences
import io.androidalatan.datastore.preference.adapter.api.ClearAdapter
import io.androidalatan.datastore.preference.adapter.api.ValueObserver
import kotlinx.coroutines.channels.awaitClose
import kotlinx.coroutines.flow.F... | 0 | Kotlin | 1 | 2 | 6c7abf477c0ec251abd244df78ea0ca9ce15174d | 2,033 | Preferences | MIT License |
projector-launcher/src/main/kotlin/GlobalSettings.kt | JetBrains | 267,844,825 | false | null | /*
* MIT License
*
* Copyright (c) 2019-2023 JetBrains s.r.o.
*
* 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, ... | 20 | null | 94 | 815 | 0f1e08a68f01c417a7ce8a58afe77d63603e22db | 1,567 | projector-client | MIT License |
work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpecDao.kt | androidx | 256,589,781 | false | null | /*
* Copyright (C) 2017 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... | 29 | null | 937 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 17,452 | androidx | Apache License 2.0 |
app/src/main/java/com/hfut/schedule/logic/utils/Encrypt.kt | Chiu-xaH | 705,508,343 | false | {"Kotlin": 1386786, "HTML": 77257, "Java": 686} | package com.hfut.schedule.logic.utils
import android.os.Build
import android.util.Base64
import androidx.annotation.RequiresApi
import javax.crypto.Cipher
import javax.crypto.spec.SecretKeySpec
object Encrypt {
fun AESencrypt(input:String, password:String): String{
val cipher = Cipher.getInstance("AES")
... | 0 | Kotlin | 1 | 3 | aead3d3e437531c52a0ba99d71fae27d4ea0fe4f | 766 | HFUT-Schedule | Apache License 2.0 |
app/src/main/java/com/hfut/schedule/logic/utils/Encrypt.kt | Chiu-xaH | 705,508,343 | false | {"Kotlin": 1386786, "HTML": 77257, "Java": 686} | package com.hfut.schedule.logic.utils
import android.os.Build
import android.util.Base64
import androidx.annotation.RequiresApi
import javax.crypto.Cipher
import javax.crypto.spec.SecretKeySpec
object Encrypt {
fun AESencrypt(input:String, password:String): String{
val cipher = Cipher.getInstance("AES")
... | 0 | Kotlin | 1 | 3 | aead3d3e437531c52a0ba99d71fae27d4ea0fe4f | 766 | HFUT-Schedule | Apache License 2.0 |
src/main/kotlin/me/thevipershow/connectionprotocol/io/NetOut.kt | TheViperShow | 260,898,183 | false | null | // Copyright 2020 TheViperShow
//
// 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
//
package me.thevipershow.connectionprotocol.io
import java.... | 0 | Kotlin | 0 | 3 | 8f43e927c807721809c85aad5816b2163013c8ff | 1,852 | ConnectionProtocol | Apache License 2.0 |
idea/testData/copyPaste/plainTextLiteral/WithBackslashes.kt | JakeWharton | 99,388,807 | false | null | val pattern = "<caret>" | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 23 | kotlin | Apache License 2.0 |
src/main/kotlin/me/nekomatamune/ygomaker/fx/CardListCtrl.kt | nekomatamune | 211,016,495 | false | null | package me.nekomatamune.ygomaker.fx
import javafx.fxml.FXML
import javafx.scene.control.Button
import javafx.scene.control.ComboBox
import javafx.scene.control.ListCell
import javafx.scene.control.ListView
import javafx.scene.control.TextField
import javafx.stage.DirectoryChooser
import me.nekomatamune.ygomaker.Card
i... | 4 | Kotlin | 0 | 0 | 1dcab6556262d4ac75f228126e7ded0799966425 | 4,872 | ygomaker | MIT License |
app/src/main/java/com/orange/ods/app/ui/components/listitem/ListItemCustomizationState.kt | Orange-OpenSource | 440,548,737 | false | {"Kotlin": 862831, "HTML": 13867, "CSS": 1444, "Shell": 587, "JavaScript": 197} | /*
*
* Copyright 2021 Orange
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* /
*/
package com.orange.ods.app.ui.components.listitem
import androidx.compose.material.BottomSheetScaffoldState
import androi... | 83 | Kotlin | 3 | 14 | 48df1aa53950dc221f1d938242d7170e35d050fc | 2,809 | ods-android | MIT License |
presentation/src/main/java/hiennguyen/me/weatherapp/common/binding/ImageConverters.kt | hiennguyen1001 | 123,107,985 | false | null | package hiennguyen.me.weatherapp.common.binding
import androidx.databinding.BindingAdapter
import android.graphics.drawable.Drawable
import android.view.View
import android.widget.ImageView
import com.bumptech.glide.load.engine.DiskCacheStrategy
import hiennguyen.me.weatherapp.utils.GlideApp
@BindingAdapter("backgro... | 1 | Kotlin | 1 | 2 | a1d782792ccfabcad5710097b4132fc69883ec71 | 1,179 | weather-app-kotlin | MIT License |
app/src/main/java/com/example/noteapp_architecture_sample/feature_note/domain/note_list_redux/NoteListReducer.kt | hossainMuktaR | 667,001,535 | false | {"Kotlin": 60656} | package com.example.noteapp_architecture_sample.feature_note.domain.note_list_redux
import com.example.noteapp_architecture_sample.feature_note.presentation.note_list.NoteListState
import com.example.noteapp_architecture_sample.feature_note.redux.Container
import com.example.noteapp_architecture_sample.feature_note.re... | 0 | Kotlin | 0 | 0 | d0bc2eee3ba5ef86de4bad75cb063e74a728ce62 | 1,330 | NoteApp-Architecture-Sample.Android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.