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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/tmidev/customerbase/presentation/common/AppTextField.kt | tminet | 499,620,414 | false | null | package tmidev.customerbase.presentation.common
import androidx.annotation.StringRes
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.text.KeyboardActions
import androidx.comp... | 0 | Kotlin | 0 | 1 | 7971807d88dcde4f6ab982040e4a5f1ccde605f7 | 3,448 | CustomerBase | MIT License |
app/src/main/kotlin/org/jdc/template/analytics/FirebaseStrategy.kt | jeffdcamp | 12,853,600 | false | null | @file:Suppress("unused")
package org.dbtools.kmp.commons.firebase.analytics
import android.annotation.SuppressLint
import android.os.Bundle
import co.touchlab.kermit.Logger
import com.google.firebase.analytics.FirebaseAnalytics
import org.dbtools.kmp.commons.analytics.AppAnalytics
import java.util.Locale
class Fireb... | 0 | null | 40 | 99 | 25b5fcebd59a2e09a562c85a97ce5aea1936e8b3 | 3,285 | android-template | Apache License 2.0 |
app/src/main/java/com/dluvian/voyage/data/provider/ThreadProvider.kt | dluvian | 766,355,809 | false | null | package com.dluvian.voyage.data.provider
import android.util.Log
import androidx.compose.runtime.State
import com.dluvian.voyage.core.DEBOUNCE
import com.dluvian.voyage.core.DELAY_1SEC
import com.dluvian.voyage.core.EventIdHex
import com.dluvian.voyage.core.PubkeyHex
import com.dluvian.voyage.core.SHORT_DEBOUNCE
impor... | 36 | null | 4 | 40 | e117d2d00f1e92bc0d5117055169b03906feb479 | 9,519 | voyage | MIT License |
library/src/androidMain/kotlin/com/lightningkite/kiteui/views/canvas/DrawingContext2D.android.kt | lightningkite | 778,386,343 | false | {"Kotlin": 2224994, "Swift": 7449, "Ruby": 4925, "CSS": 4562, "HTML": 4084, "HCL": 880, "JavaScript": 302, "Objective-C": 142, "C": 104, "Shell": 49} | package com.lightningkite.kiteui.views.canvas
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.view.View
import com.lightningkite.kiteui.models.Angle
import com.lightningkite.kiteui.models.Color
import com.lightningkite.kiteui.models.Dimension
import com.lightnin... | 3 | Kotlin | 0 | 2 | 58ee76ab3e8e7cab71e65a18c302367c6a641da5 | 9,400 | kiteui | Apache License 2.0 |
webpage/src/test/kotlin/ui/enzyme/Enzyme.kt | aSoft-Ltd | 314,091,136 | false | null | @file:JsModule("enzyme")
@file:JsNonModule
package ui.enzyme
import kotlinext.js.jsObject
import org.w3c.dom.Document
import org.w3c.dom.Element
import org.w3c.dom.HTMLElement
import react.*
import kotlin.js.Json
import kotlin.js.RegExp
external interface EnzymeAdapter
external interface EnzymeConfig {
var adap... | 1 | Kotlin | 1 | 1 | b6dd915deeea57e13e7977e4b7300c9021990d8b | 15,463 | reakt | MIT License |
sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconWarning.kt | onseok | 721,608,337 | false | null | /*
* Copyright 2023 onseok
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 5 | null | 12 | 99 | 961403aa03c2d0be1f8259debf87aaac699e62b2 | 1,451 | peekaboo | Apache License 2.0 |
src/main/kotlin/moe/nikky/curseproxy/model/Category.kt | livingshredder | 441,958,913 | true | {"Kotlin": 108113, "C#": 10023, "HTML": 9314, "CSS": 2749} | package moe.nikky.curseproxy.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Category(
val categoryId: Int,
val name: String,
val url: String,
val avatarUrl: String
) | 0 | Kotlin | 0 | 0 | 3754b0381b607e5658f863851fe5ac8aeaa964dc | 265 | CurseProxy | MIT License |
steppermotor/src/main/java/com/polidea/androidthings/driver/steppermotor/driver/StepDuration.kt | Polidea | 81,179,032 | false | null | package com.polidea.androidthings.driver.steppermotor.driver
data class StepDuration(val millis: Long = 1, val nanos: Int = 0) {
init {
if (millis < 0) {
throw IllegalArgumentException("millis less than 0: {$millis}")
}
if (nanos < 0) {
throw IllegalArgumentException... | 1 | Kotlin | 6 | 14 | 5241f9fab6360f4c0a57beda1518d4797edf0f4e | 369 | Polithings | MIT License |
android/src/main/kotlin/com/airship/flutter/AirshipPluginVersion.kt | urbanairship | 184,643,306 | false | {"Dart": 129501, "Kotlin": 37969, "Swift": 34656, "Shell": 3707, "Ruby": 2113, "Objective-C": 814} | package com.airship.flutter
class AirshipPluginVersion {
companion object {
const val AIRSHIP_PLUGIN_VERSION = "7.8.2"
}
}
| 3 | Dart | 18 | 17 | 2732ffd43694906404c3149dc23fdae816e4723c | 140 | airship-flutter | Apache License 2.0 |
server-base/src/main/kotlin/ai/dstack/server/jersey/filters/UriInfoFilter.kt | latticetower | 315,119,574 | true | {"JavaScript": 397840, "Kotlin": 336820, "CSS": 147028, "Python": 5184, "HTML": 4199, "Shell": 34} | package ai.dstack.server.jersey.filters
import javax.ws.rs.container.ContainerRequestContext
import javax.ws.rs.container.ContainerRequestFilter
import javax.ws.rs.container.ContainerResponseContext
import javax.ws.rs.container.ContainerResponseFilter
import javax.ws.rs.core.UriInfo
import javax.ws.rs.ext.Provider
@... | 0 | null | 0 | 0 | 81fa7873bbd851b474e7d49cd69087f204bd2171 | 738 | dstack | Apache License 2.0 |
core/src/com/dpashko/sandbox/scene/thirdperson/Actor.kt | Dmytro-Pashko | 252,546,017 | false | {"Kotlin": 57871, "Java": 16745, "GLSL": 2801} | package com.dpashko.sandbox.scene.thirdperson
import com.badlogic.gdx.graphics.g3d.ModelInstance
import com.badlogic.gdx.graphics.g3d.Renderable
import com.badlogic.gdx.math.Vector3
import com.badlogic.gdx.math.collision.BoundingBox
class Actor(
val position: Vector3,
val direction: Vector3,
val model: Mo... | 0 | Kotlin | 0 | 1 | 10cd3676eaf2a05f631cee8a87fe1dc7e444ad22 | 490 | OpenGLSandbox | Apache License 2.0 |
sample/app/src/commonMain/kotlin/com/number869/decomposeSimplifications/ui/navigation/Destinations.kt | Number869 | 720,841,879 | false | {"Kotlin": 98117, "Shell": 579} | package com.number869.decomposeSimplifications.ui.navigation
import kotlinx.serialization.Serializable
@Serializable
sealed interface Destinations {
@Serializable
data object Empty : Destinations
@Serializable
sealed interface Category1 : Destinations {
@Serializable
data object Defaul... | 0 | Kotlin | 0 | 2 | 768cb4aa56fea4c53e59dcfef4955ad7891dfb73 | 872 | DecomposeSimplifications | Apache License 2.0 |
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/internal/tasks/VerifyLibraryClassesTask.kt | RivanParmar | 526,653,590 | false | null | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 2 | 17 | 7d6a941f82617f89cedde0ae8e10d3702f225f76 | 8,535 | androlabs | Apache License 2.0 |
randomizer/src/main/java/com/chrisjanusa/randomizer/location_search/events/OpenSearchEvent.kt | chrisjanusa | 209,855,968 | false | {"Kotlin": 223559} | package com.chrisjanusa.randomizer.location_search.events
import android.view.ViewGroup
import androidx.constraintlayout.widget.ConstraintLayout
import com.chrisjanusa.randomizer.R
import com.chrisjanusa.base.interfaces.BaseEvent
import com.chrisjanusa.base.interfaces.BaseRestaurantFragment
import com.chrisjanusa.rand... | 1 | Kotlin | 0 | 0 | cd1bfe507e320d2774869d926fd35bc721d2c218 | 1,546 | RandomRestaurantKotlin | MIT License |
auth-foundation/src/main/java/com/okta/authfoundation/credential/SharedPreferencesTokenStorage.kt | okta | 445,628,677 | false | {"Kotlin": 737721, "Shell": 884} | /*
* Copyright 2022-Present Okta, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 14 | Kotlin | 11 | 26 | e3261c5826ad907d173bdadb34db36111fad4c77 | 6,055 | okta-mobile-kotlin | Apache License 2.0 |
app/src/main/java/com/example/wingstofly/models/TriviaCategory.kt | CharlesMuvaka | 587,970,858 | false | null | package com.example.wingstofly.models
data class TriviaCategory(
val id: Int,
val name: String
): java.io.Serializable | 0 | Kotlin | 2 | 0 | e0dd5dbdb3cfa0c203c7a088cd70ac4c21618cc0 | 127 | EquiFly | MIT License |
printer/src/main/java/com/tabesto/printer/multiprinter/DeviceManager.kt | Tabesto | 339,833,685 | false | null | package com.tabesto.printer.multiprinter
import android.content.Context
import com.tabesto.printer.model.PrinterData
import com.tabesto.printer.model.PrinterRemainingJob
import com.tabesto.printer.model.devicemanager.DeviceManagerJobResult
import com.tabesto.printer.model.ticket.TicketData
interface DeviceManager {
... | 0 | Kotlin | 0 | 2 | b423b830e99f8b2250678d43be876de322502d06 | 8,663 | android-pos-printer | MIT License |
printer/src/main/java/com/tabesto/printer/multiprinter/DeviceManager.kt | Tabesto | 339,833,685 | false | null | package com.tabesto.printer.multiprinter
import android.content.Context
import com.tabesto.printer.model.PrinterData
import com.tabesto.printer.model.PrinterRemainingJob
import com.tabesto.printer.model.devicemanager.DeviceManagerJobResult
import com.tabesto.printer.model.ticket.TicketData
interface DeviceManager {
... | 0 | Kotlin | 0 | 2 | b423b830e99f8b2250678d43be876de322502d06 | 8,663 | android-pos-printer | MIT License |
common/src/main/kotlin/com/github/buildeye/infos/TaskStateInfo.kt | buildeye | 174,123,185 | false | null | package com.github.buildeye.infos
data class TaskStateInfo(
val executed: Boolean,
val failure: FailureInfo?,
val didWork: Boolean,
val skipped: Boolean,
val skipMessage: String?,
val upToDate: Boolean,
val outOfDateReason: OutOfDateReason?,
val noSource:... | 5 | Kotlin | 1 | 0 | 03f8952222e721228c57f94e311b678927cef90b | 330 | buildeye | Apache License 2.0 |
app/src/main/java/com/hits/coded/data/models/console/useCases/ConsoleUseCases.kt | delet-dis | 482,704,007 | false | null | package com.hits.coded.data.models.console.useCases
import com.hits.coded.domain.useCases.console.CheckIsInputAvailableUseCase
import com.hits.coded.domain.useCases.console.ClearConsoleUseCase
import com.hits.coded.domain.useCases.console.FlushUseCase
import com.hits.coded.domain.useCases.console.GetBufferUseCase
impo... | 0 | Kotlin | 0 | 0 | 2a9d9db6d86bcd535e24e487d1720977e596bf22 | 790 | coded. | MIT License |
korender-framework/korender/src/commonMain/kotlin/impl/geometry/Mesh.kt | zakgof | 752,263,385 | false | {"Kotlin": 370128, "GLSL": 23775} | package com.zakgof.korender.impl.geometry
import com.zakgof.korender.impl.gpu.GpuMesh
import com.zakgof.korender.math.BoundingBox
interface Mesh : AutoCloseable {
val gpuMesh: GpuMesh
val modelBoundingBox: BoundingBox?
} | 0 | Kotlin | 0 | 0 | 6bf121e4d48d5eecbf7a5471922457a667d2154a | 230 | korender | Apache License 2.0 |
src/main/kotlin/com/sortinghat/metrics_extractor/domain/model/Module.kt | the-sortinghat | 493,502,732 | false | {"Kotlin": 132485, "Dockerfile": 252} | package com.sortinghat.metrics_extractor.domain.model
import com.sortinghat.metrics_extractor.domain.behaviors.Visitable
import com.sortinghat.metrics_extractor.domain.behaviors.Visitor
data class MessageChannel(val name: String) : Visitable {
override fun accept(v: Visitor) {
v.visit(this)
}
ov... | 0 | Kotlin | 0 | 0 | b4e2d25f1db70b917f972fbd70eae2591a50ee76 | 368 | metrics-extractor | MIT License |
app/src/main/kotlin/io/github/dmitrytsyvtsyn/algosortinganimations/main/viewmodel/SortingAlgorithmViewModel.kt | DmitryTsyvtsyn | 763,537,360 | false | {"Kotlin": 188253} | package io.github.dmitrytsyvtsyn.algosortinganimations.main.viewmodel
import io.github.dmitrytsyvtsyn.algosortinganimations.core.viewmodel.CoreViewModel
import io.github.dmitrytsyvtsyn.algosortinganimations.main.data.BubbleSortAlgorithm
import io.github.dmitrytsyvtsyn.algosortinganimations.main.data.RandomArraysProduc... | 0 | Kotlin | 0 | 11 | e7f6d0e516b988c6a42813e13b0be515a7a51591 | 1,674 | AlgoSortingAnimations | MIT License |
app/src/main/java/com/hi/dhl/demo/binding/viewpager2/ViewPager2Activity.kt | hi-dhl | 320,820,141 | false | null | package com.hi.dhl.demo.binding.viewpager2
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.FragmentTransaction
import com.hi.dhl.binding.viewbind
import com.hi.dhl.demo.binding.R
imp... | 11 | null | 46 | 400 | 43ca731602ae3b15094b67c1fe904ab1e13410f7 | 2,544 | Binding | Apache License 2.0 |
app/src/main/kotlin/id/android/workshop/genai/ui/screen/ChatBotScreen.kt | budioktaviyan | 799,390,718 | false | {"Kotlin": 23916} | package id.android.workshop.genai.ui.screen
import androidx.compose.foundation.gestures.scrollBy
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.WindowInsets
import andr... | 0 | Kotlin | 1 | 7 | 1a1ed98eee0c7e9d637776ebbc8606691d89c25a | 6,435 | android-genai-workshop | MIT License |
app/src/main/java/com/minna/secureminna/TopCurvedEdgeTreatment.kt | GDG-Minna | 235,830,218 | false | null | package com.minna.secureminna
import com.google.android.material.shape.EdgeTreatment
import com.google.android.material.shape.ShapePath
class TopCurvedEdgeTreatment(
var fabCradleMargin: Float,
var fabCradleRoundedCornerRadius: Float,
var cradleVerticalOffset: Float
) : EdgeTreatment() {
... | 1 | null | 1 | 1 | 73b7eafd70c93723e433033e1bc1a69e91de38fa | 3,343 | Secure-Minna | MIT License |
src/commonMain/kotlin/com/electrit/protokol/Protokol.kt | ikolomiets | 303,030,297 | false | null | package com.electrit.protokol
import kotlin.reflect.KMutableProperty0
@Suppress("FunctionName")
interface Protokol {
fun BYTE(prop: KMutableProperty0<Byte>, validator: (Byte) -> Unit = {})
fun BYTES(prop: KMutableProperty0<List<Byte>>, sizeChecker: (Int) -> Unit = {}, validator: (Byte) -> Unit = {})
fu... | 0 | Kotlin | 0 | 1 | 372172824df1958410b7a287f6ed47b822c726a8 | 4,672 | protokol | MIT License |
bot/telegram/src/main/kotlin/me/y9san9/telegram/extensions/telegram_bot/getMeCached.kt | y9san9 | 337,414,979 | false | null | package me.y9san9.telegram.extensions.telegram_bot
import dev.inmo.tgbotapi.bot.TelegramBot
import dev.inmo.tgbotapi.extensions.api.bot.getMe
import dev.inmo.tgbotapi.types.chat.ExtendedBot
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
private var bot: ExtendedBot? = null
private val m... | 14 | null | 6 | 71 | 66afe01d184804cd2fd0d6a58a307127c1a8fa23 | 494 | prizebot | MIT License |
library/android/src/test/java/io/mehow/ruler/FlooredDistanceFormatterTest.kt | Nonda95 | 323,632,944 | true | {"Kotlin": 89738, "Shell": 2713} | package io.mehow.ruler
import android.content.Context
import android.content.res.Configuration
import androidx.test.core.app.ApplicationProvider
import io.kotest.matchers.shouldBe
import io.mehow.ruler.ImperialLengthUnit.Foot
import io.mehow.ruler.ImperialLengthUnit.Inch
import io.mehow.ruler.ImperialLengthUnit.Mile
i... | 0 | null | 0 | 0 | ba8fd605a17391046292c5267c721cc3823976df | 9,254 | Ruler | Apache License 2.0 |
src/org/jetbrains/kannotator/index/declarationIndex.kt | JetBrains | 5,904,223 | false | null | package org.jetbrains.kannotator.index
import org.jetbrains.kannotator.declarations.AnnotationPosition
import org.jetbrains.kannotator.declarations.ClassName
import org.jetbrains.kannotator.declarations.Field
import org.jetbrains.kannotator.declarations.Method
import org.jetbrains.kannotator.declarations.ClassDeclarat... | 1 | null | 15 | 34 | ef10885ba0a7c84a04dc33aa24dc2eb50abd622f | 801 | kannotator | Apache License 2.0 |
project/jimmer-sql-kotlin/src/test/kotlin/org/babyfish/jimmer/sql/kt/model/embedded/Transform.kt | babyfish-ct | 488,154,823 | false | null | package org.babyfish.jimmer.sql.kt.model.embedded
import org.babyfish.jimmer.Formula
import org.babyfish.jimmer.sql.Entity
import org.babyfish.jimmer.sql.Id
import org.babyfish.jimmer.sql.PropOverride
import org.babyfish.jimmer.sql.kt.model.embedded.p4bug524.Point
@Entity
interface Transform {
@Id
val id: Lo... | 13 | null | 72 | 725 | 873f8405a268d95d0b2e0ff796e2d0925ced21e7 | 751 | jimmer | Apache License 2.0 |
jacodb-core/src/main/kotlin/org/jacodb/impl/features/classpaths/ClasspathCache.kt | UnitTestBot | 491,176,077 | false | null | /*
* Copyright 2022 UnitTestBot contributors (utbot.org)
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless r... | 10 | Kotlin | 3 | 7 | e3df0f19858d502ea974d97be9ec7b93aed9207a | 2,018 | jacodb | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarm.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.cloudwatch
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspectable
imp... | 4 | null | 0 | 4 | db2b3a364f5e74d8f80490e7850da7f1e7f1e7d0 | 32,613 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/com/anesabml/quotey/data/db/QuoteyDatabase.kt | anesabml | 226,943,205 | false | null | package com.anesabml.quotey.data.db
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
@Database(
entities = [QuoteEntity::class],
version = 3,
exportSchema = false
)
abstract class QuoteyDatabase : RoomDatabase() {
companion object ... | 0 | Kotlin | 2 | 8 | d5ea7634d1b2acace9cc6a7a69e438e543688414 | 794 | quotey | MIT License |
src/me/anno/ui/custom/CustomContainer.kt | AntonioNoack | 266,471,164 | false | null | package me.anno.ui.custom
import me.anno.config.DefaultStyle.white
import me.anno.gpu.TextureLib.whiteTexture
import me.anno.gpu.drawing.DrawTextures.drawTexture
import me.anno.image.ImageGPUCache.getInternalTexture
import me.anno.input.MouseButton
import me.anno.language.translation.NameDesc
import me.anno.ui.base.Pa... | 0 | Kotlin | 1 | 8 | e5f0bb17202552fa26c87c230e31fa44cd3dd5c6 | 5,630 | RemsStudio | Apache License 2.0 |
backend/data/src/main/kotlin/io/tolgee/service/security/PermissionService.kt | tolgee | 303,766,501 | false | null | @file:Suppress("SpringElInspection")
package io.tolgee.service
import io.tolgee.constants.Message
import io.tolgee.dtos.ComputedPermissionDto
import io.tolgee.dtos.ProjectPermissionData
import io.tolgee.dtos.cacheable.PermissionDto
import io.tolgee.dtos.cacheable.ProjectDto
import io.tolgee.exceptions.BadRequestExcep... | 50 | Kotlin | 8 | 666 | 38c1064783f3ec5d60d0502ec0420698395af539 | 10,014 | tolgee-platform | Apache License 2.0 |
src/main/java/org/radarbase/management/config/ManagementPortalSecurityConfigLoader.kt | RADAR-base | 90,646,368 | false | {"Kotlin": 1000491, "TypeScript": 476028, "HTML": 280734, "Java": 24215, "SCSS": 20166, "Scala": 16198, "JavaScript": 3395, "Dockerfile": 2950, "Shell": 734, "CSS": 425} | package org.radarbase.management.config
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.annotation.JsonSetter
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.dataformat.csv.CsvMapper
import org.radarb... | 71 | Kotlin | 15 | 21 | b1187914f832fcaa0321b3b440a68612b6fc8196 | 8,109 | ManagementPortal | Apache License 2.0 |
idea/testData/refactoring/rename/renameKotlinMultifileFacadeClassWithJvmNameByRef/after/test/test.kt | JakeWharton | 99,388,807 | false | null | @file:JvmMultifileClass
@file:JvmName("Bar")
package test
fun foo() {
} | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 73 | kotlin | Apache License 2.0 |
app/src/main/java/ru/voodster/smartcharts/MainActivity.kt | Voodstr | 407,907,801 | false | {"Kotlin": 19791} | package ru.voodster.smartcharts
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.*
import androidx.compose.material.Scaffold
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import a... | 2 | Kotlin | 0 | 0 | 4fd6c0a4aff2dff8036b4193700a70d9037e3e20 | 1,920 | CoChartSample | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/boldduotone/arrowsaction/Exit.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.boldduotone.arrowsaction
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.Strok... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 3,573 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/muratcangzm/valorantstore/di/NetworkModule.kt | NecroEye | 719,144,732 | false | {"Kotlin": 58763} | package com.muratcangzm.valorantstore.di
import android.os.Build.VERSION_CODES.BASE
import com.muratcangzm.valorantstore.service.ValorantAPI
import com.muratcangzm.valorantstore.utils.Constans.BASE_URL
import com.muratcangzm.valorantstore.utils.NetworkInterceptor
import dagger.Module
import dagger.Provides
import dagg... | 0 | Kotlin | 0 | 0 | a8c7db300dffabd520491c9554ae959cff3c2f56 | 1,027 | Valorant_Store | Apache License 2.0 |
app/src/main/java/com/mumayank/airwebview/example/app/home/HomeActivity.kt | mumayank | 864,093,700 | false | {"Kotlin": 37330} | package com.mumayank.airwebview.example.app.home
import android.content.Intent
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundatio... | 0 | Kotlin | 0 | 0 | 872174400a996e24826ed26d066ee7d5efea33d3 | 9,725 | airwebview | MIT License |
wear/src/main/java/io/homeassistant/companion/android/home/views/EntityUi.kt | home-assistant | 179,008,173 | false | null | package io.homeassistant.companion.android.home.views
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graph... | 86 | Kotlin | 296 | 1,055 | 196c30f8e8b671e455e363decfd28ef090560c14 | 4,570 | home-assistant-Android | Apache License 2.0 |
vm/src/main/kotlin/gay/pizza/pork/vm/VirtualMachineProvider.kt | GayPizzaSpecifications | 680,636,847 | false | {"Kotlin": 319507} | package gay.pizza.pork.vm
import gay.pizza.pork.ast.gen.Symbol
import gay.pizza.pork.compiler.Compiler
import gay.pizza.pork.execution.ExecutionContext
import gay.pizza.pork.execution.ExecutionContextProvider
import gay.pizza.pork.execution.NativeRegistry
import gay.pizza.pork.frontend.ImportLocator
import gay.pizza.p... | 0 | Kotlin | 1 | 0 | d079244fd74c8ca035121e2cdf74550f31389c1e | 981 | pork | MIT License |
shared/src/commonMain/kotlin/com/ludens/shared/screen/dashboard/DashboardViewModel.kt | lukamijic | 354,570,509 | false | null | package com.ludens.shared.screen.dashboard
import com.ludens.shared.core.BaseViewModel
import com.ludens.shared.navigation.RoutingActionsDispatcher
class DashboardViewModel(
routingActionsDispatcher: RoutingActionsDispatcher
) : BaseViewModel<DashboardViewState>(routingActionsDispatcher) {
init {
}
}
| 0 | Kotlin | 0 | 0 | d2de6cadd1ce65c65cf35b47940e473a4b37b76e | 318 | Ludens | MIT License |
src/main/kotlin/com/nanovms/ops/command/StopInstanceCommand.kt | nanovms | 368,018,892 | false | null | package com.nanovms.ops.command
import com.intellij.openapi.project.Project
class StopInstanceCommand(project: Project, private val instanceName: String) : Command(project) {
override fun createArguments(): Collection<String> {
return listOf("instance", "delete", instanceName)
}
} | 1 | Kotlin | 2 | 5 | 88ac4c16681468718e0ff69b9e6a83fde943d4a0 | 300 | ops-intellij | Apache License 2.0 |
core/data/src/main/java/com/minux/monitoring/core/data/repository/WalletRepository.kt | MINUX-organization | 756,381,294 | false | {"Kotlin": 274414} | package com.minux.monitoring.core.data.repository
import com.minux.monitoring.core.data.model.wallet.Wallet
import com.minux.monitoring.core.data.model.wallet.WalletChangeParam
import com.minux.monitoring.core.data.model.wallet.WalletInputParam
import com.minux.monitoring.core.data.model.wallet.WalletRemoveParam
impor... | 0 | Kotlin | 0 | 0 | c37bb729fd06b539b33b545a2cbdccf8e51d12c7 | 638 | MNX.Mobile.Monitoring | MIT License |
LuraPlayerSampleApp/src/main/java/com/akta/luraplayersampleapp/modern/screens/ModernPlayerFragment.kt | ramdevblim | 816,915,917 | false | {"Kotlin": 333757} | package com.akta.luraplayersampleapp.modern.screens
import android.annotation.SuppressLint
import android.app.PictureInPictureParams
import android.graphics.Rect
import android.os.Build
import android.os.Bundle
import android.util.Rational
import android.view.MotionEvent
import android.view.View
import android.view.Wi... | 0 | Kotlin | 0 | 0 | 708586303f1206d1eaa3515bf836ba725d248246 | 17,389 | akta-v4-downloads | MIT License |
klf/src/javaCommonMain/kotlin/net/codinux/log/slf4j/binding/Log4j2Util.kt | codinux-gmbh | 488,370,950 | false | {"Kotlin": 96444, "Java": 2474} | package net.codinux.log.slf4j.binding
import net.codinux.log.LogLevel
import org.apache.logging.log4j.Level
object Log4j2Util {
val Log4jToKlfLevelMapping = mapOf(
Level.ERROR to LogLevel.Error,
Level.INFO to LogLevel.Info,
Level.DEBUG to LogLevel.Debug,
Level.TRACE to LogLevel.Tr... | 0 | Kotlin | 0 | 0 | e0414cd8d494f790d7d5d34ab5607af0aa14a0c8 | 832 | KMP-Log | Apache License 2.0 |
presentation/src/main/java/com/thetestcompany/presentation/listmanagement/ListManagementViewState.kt | LjungErik | 166,547,194 | false | null | package com.thetestcompany.presentation.listmanagement
import com.thetestcompany.presentation.entities.ShoppingList
data class ListManagementViewState(
var lists: List<ShoppingList> = listOf(),
var deletedLists: List<ShoppingList>? = null
) | 0 | Kotlin | 0 | 0 | a1e5a595183e7199130e0dbc1c8e32a07c011661 | 259 | AndroidShoppingApp | MIT License |
presentation/src/main/java/com/thetestcompany/presentation/listmanagement/ListManagementViewState.kt | LjungErik | 166,547,194 | false | null | package com.thetestcompany.presentation.listmanagement
import com.thetestcompany.presentation.entities.ShoppingList
data class ListManagementViewState(
var lists: List<ShoppingList> = listOf(),
var deletedLists: List<ShoppingList>? = null
) | 0 | Kotlin | 0 | 0 | a1e5a595183e7199130e0dbc1c8e32a07c011661 | 259 | AndroidShoppingApp | MIT License |
app/src/androidTest/java/cmo/schuanhe/auto_redbook/ExampleInstrumentedTest.kt | schuanhe | 796,457,378 | false | {"Kotlin": 144413, "Java": 46195} | package com.schuanhe.auto_redbook
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
/**
* Instrumented test, which will execute on an Android device.
*
* See [test... | 0 | Kotlin | 0 | 0 | 73a2aecd2fca460e01c7251ec4a34ced70be5a11 | 1,210 | Android-Auto | Apache License 2.0 |
app/src/main/java/com/example/stufffmanager/logic/model/LoginRequest.kt | Aliceweizhentian | 856,875,660 | false | {"Kotlin": 43099} | package com.example.staffmanager.logic.model
data class LoginRequest(val username:String, val password:String)
| 0 | Kotlin | 0 | 0 | d0cc719923375648371cd389e4130d9f3349934d | 112 | StuffManagerApp | Apache License 2.0 |
java/java-tests/testSrc/com/intellij/projectView/AbstractProjectViewTest.kt | ingokegel | 72,937,917 | 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.projectView
import com.intellij.ide.projectView.ProjectView
import com.intellij.ide.projectView.ProjectViewSettings
import com.intellij.ide.projectView.impl.... | 229 | null | 4931 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 4,408 | intellij-community | Apache License 2.0 |
feature/convertcurrency/src/main/java/com/nicoqueijo/android/convertcurrency/di/ConvertCurrencyUseCasesModule.kt | nicoqueijo | 794,591,762 | false | {"Kotlin": 267182} | package com.nicoqueijo.android.convertcurrency.di
import com.nicoqueijo.android.convertcurrency.usecases.ConvertCurrencyUseCases
import com.nicoqueijo.android.convertcurrency.usecases.ProcessKeyboardInputUseCase
import com.nicoqueijo.android.convertcurrency.usecases.ReorderCurrenciesUseCase
import com.nicoqueijo.andro... | 1 | Kotlin | 1 | 13 | 59624669bde1e6667ec336df8f9856b1038b1b23 | 3,942 | Android-Currency-Converter | Apache License 2.0 |
feature/convertcurrency/src/main/java/com/nicoqueijo/android/convertcurrency/di/ConvertCurrencyUseCasesModule.kt | nicoqueijo | 794,591,762 | false | {"Kotlin": 267182} | package com.nicoqueijo.android.convertcurrency.di
import com.nicoqueijo.android.convertcurrency.usecases.ConvertCurrencyUseCases
import com.nicoqueijo.android.convertcurrency.usecases.ProcessKeyboardInputUseCase
import com.nicoqueijo.android.convertcurrency.usecases.ReorderCurrenciesUseCase
import com.nicoqueijo.andro... | 1 | Kotlin | 1 | 13 | 59624669bde1e6667ec336df8f9856b1038b1b23 | 3,942 | Android-Currency-Converter | Apache License 2.0 |
app/src/main/java/com/leboncoin/album/di/LocalModule.kt | GARCII | 797,138,600 | false | {"Kotlin": 48979} | package com.leboncoin.album.di
import android.app.Application
import androidx.room.Room
import com.leboncoin.album.data.local.AlbumDatabase
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@InstallIn(Singlet... | 0 | Kotlin | 0 | 0 | affb6218759f219992a84299bb2eb6f8dd8f030c | 561 | AlbumManager | Apache License 2.0 |
plugin/src/main/kotlin/com/dominikkorsa/discordintegration/command/DiscordIntegrationCommand.kt | dominik-korsa | 356,023,411 | false | {"Kotlin": 108310} | package com.dominikkorsa.discordintegration.command
import co.aikar.commands.BaseCommand
import co.aikar.commands.annotation.*
import com.dominikkorsa.discordintegration.DiscordIntegration
import com.dominikkorsa.discordintegration.compatibility.Compatibility
import com.github.shynixn.mccoroutine.bukkit.launch
import ... | 38 | Kotlin | 3 | 18 | 0b6e4d1c48e0d4e1a9838401f6ca7f681cf84709 | 2,318 | discord-integration | MIT License |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/npcs/definitions/critters/cave_crawler_lvl_23.plugin.kts | 2011Scape | 578,880,245 | false | null | package gg.rsmod.plugins.content.npcs.definitions.critters
import gg.rsmod.game.model.combat.SlayerAssignment
import gg.rsmod.game.model.combat.StyleType
import gg.rsmod.game.model.entity.Player
import gg.rsmod.plugins.api.cfg.Items
import gg.rsmod.plugins.api.cfg.Npcs
import gg.rsmod.plugins.api.ext.npc
import gg.rsm... | 39 | null | 45 | 34 | e5400cc71bfa087164153d468979c5a3abc24841 | 3,037 | game | Apache License 2.0 |
app/src/test/java/io/horizontalsystems/bankwallet/modules/fulltransactioninfo/FullTransactionInfoInteractorTest.kt | 923325596 | 185,099,077 | false | null | package io.horizontalsystems.bankwallet.modules.fulltransactioninfo
import com.nhaarman.mockito_kotlin.any
import com.nhaarman.mockito_kotlin.verify
import com.nhaarman.mockito_kotlin.whenever
import io.horizontalsystems.bankwallet.core.managers.TransactionDataProviderManager
import io.horizontalsystems.bankwallet.ent... | 0 | null | 0 | 1 | 1c34db3d30f5aeddb590b55c2550dbe0da5056b8 | 2,649 | bank-wallet-android | MIT License |
app/src/main/java/com/socialgateway/socialgateway/SocialGatewayApp.kt | AbdullatifGhajar | 421,342,032 | true | {"Kotlin": 49583} | package com.socialgateway.socialgateway
import android.app.Application
import android.content.Context
import android.content.SharedPreferences
import android.content.res.Resources
import android.text.format.DateFormat
import com.socialgateway.socialgateway.data.model.SocialApp
import java.util.*
fun today(): String {... | 0 | Kotlin | 0 | 0 | 111cfffbce45be92ade561188439ef1d42f7b011 | 2,729 | social_gateway | MIT License |
src/main/java/za/ac/sun/grapl/visitors/init/InitialClassVisitor.kt | DavidBakerEffendi | 239,947,342 | false | null | /*
* Copyright 2020 <NAME>
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed ... | 7 | null | 1 | 1 | e4d08f6f314150c04c5d2275c6d96517e5fd7277 | 2,032 | j2GraPL | Apache License 2.0 |
app/src/main/java/com/oriplastbreezefsm/features/addAttendence/model/ReimbListOnClick.kt | DebashisINT | 630,052,678 | false | {"Kotlin": 13733433, "Java": 997699} | package com.oriplastbreezefsm.features.addAttendence.model
import com.oriplastbreezefsm.app.domain.NewOrderProductEntity
interface ReimbListOnClick {
fun reimbOnClick(product: ReimbListModel)
} | 0 | Kotlin | 0 | 0 | 73dad2bc294fb86ff3caceba4240b7946f15d3fa | 199 | Oriplast | Apache License 2.0 |
app/src/main/java/com/example/pokemon/MainActivityVM.kt | jgrife | 776,545,864 | false | {"Kotlin": 35374} | package com.example.pokemon
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.PagingData
import androidx.paging.cachedIn
import androidx.paging.map
import com.example.pokemon.data.mappers.toPokemon
import com.example.pokemon.d... | 0 | Kotlin | 0 | 0 | 24372184b9f32cbe2c023a574f64cba0ac6edebe | 3,181 | pokemon | Apache License 2.0 |
src/main/kotlin/com/gmail/blueboxware/libgdxplugin/filetypes/json/GdxJsonElementFactory.kt | BlueBoxWare | 64,067,118 | false | null | package com.gmail.blueboxware.libgdxplugin.filetypes.json
import com.gmail.blueboxware.libgdxplugin.filetypes.json.psi.GdxJsonFile
import com.gmail.blueboxware.libgdxplugin.filetypes.json.psi.GdxJsonPropertyName
import com.gmail.blueboxware.libgdxplugin.filetypes.json.psi.GdxJsonValue
import com.gmail.blueboxware.libg... | 2 | null | 9 | 145 | bcb911e0c3f3e9319bc8ee2d5b6b554c6090fd6c | 2,362 | LibGDXPlugin | Apache License 2.0 |
app/src/main/java/com/achmadqomarudin/lottieonboarding/activities/OnboardingExample1Activity.kt | achmadqomarudin | 274,327,916 | false | null | package com.achmadqomarudin.lottieonboarding.activities
import android.content.Intent
import android.os.Bundle
import android.widget.Button
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.viewpager.widget.ViewPager
import com.achmadqomarudin.lottieonboarding.R
import com.... | 1 | null | 7 | 17 | b830170832ac4a56a08e6e02852ea37d28ab5adc | 1,794 | Lottie-Onboarding | Apache License 2.0 |
design_system/src/main/java/org/the_chance/honymart/ui/composables/IconButton.kt | TheChance101 | 647,400,117 | false | {"Kotlin": 1218713} | package org.the_chance.honymart.ui.composables
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.material3.Material... | 3 | Kotlin | 7 | 21 | 50200e0ec0802cdadc282b09074a19c96df3220c | 1,540 | Honey-Mart-Android-Client | Apache License 2.0 |
logging/src/jvmMain/kotlin/log.kt | splendo | 191,371,940 | false | {"Kotlin": 6494822, "Swift": 172024, "Shell": 1514} | /*
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... | 87 | Kotlin | 7 | 315 | 4094d5625a4cacb851b313d4e96bce6faac1c81f | 1,018 | kaluga | Apache License 2.0 |
cryptography-providers/jdk/src/jvmMain/kotlin/operations/JdkSignatureVerifier.kt | whyoleg | 492,907,371 | false | {"Kotlin": 945031, "JavaScript": 318} | /*
* Copyright (c) 2023-2024 Oleg Yukhnevich. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.whyoleg.cryptography.providers.jdk.operations
import dev.whyoleg.cryptography.operations.*
import dev.whyoleg.cryptography.providers.jdk.*
import java.security.spec.*
internal class JdkSigna... | 23 | Kotlin | 16 | 276 | 8b7eefea1d89a35f184e8bb8bed8ef67db82adc4 | 844 | cryptography-kotlin | Apache License 2.0 |
src/main/kotlin/com/jantimar/mesure_converter/service/PriceConverter.kt | jantimar | 568,081,965 | false | null | package com.jantimar.mesure_converter.service
import com.jantimar.mesure_converter.entity.Currency
import com.jantimar.mesure_converter.entity.Price
import org.springframework.stereotype.Service
@Service
class PriceConverter {
fun convert(price: Price, currency: Currency) = Price(
price.value * price.curr... | 0 | Kotlin | 0 | 0 | bee017b8737222bc290d5860e16b2a21743e72df | 387 | MesureConverter | MIT License |
bound/kt/src/test/kotlin/web5/sdk/vc/VerifiableCredentialTest.kt | TBD54566975 | 716,632,191 | false | {"Kotlin": 462261, "Rust": 335718, "C": 21265, "Swift": 16974, "Shell": 6551, "Dockerfile": 4261, "Just": 1330, "HCL": 44} | package web5.sdk.vc
import com.nimbusds.jose.JWSObject
import org.junit.jupiter.api.*
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.fail
import web5.sdk.UnitTestSuite
import web5.sdk.dids.BearerDid
import web5.sdk.dids.methods.jwk.DidJwk
import web5.sdk.rust.Web5Exception
import java.util.Date... | 91 | Kotlin | 5 | 9 | caacb9a38db2548e14f79165ca8c303c064ee616 | 48,143 | web5-rs | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/js/core/structuredClone.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
package js.core
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
external fun <T> structuredClone(
value: T,
options: StructuredSerializeOptions? = definedExternally,
): T
| 0 | null | 6 | 28 | 2e94b60c9e3838c464ab9da211ca44de54e74133 | 260 | types-kotlin | Apache License 2.0 |
adoptium-updater-parent/adoptium-api-v3-updater/src/test/kotlin/net/adoptium/api/AdoptReleaseNotesTest.kt | adoptium | 349,432,712 | false | null | package net.adoptium.api
import net.adoptium.api.v3.ReleaseIncludeFilter
import kotlinx.coroutines.runBlocking
import net.adoptium.api.testDoubles.InMemoryApiPersistence
import net.adoptium.api.v3.AdoptRepository
import net.adoptium.api.v3.ReleaseResult
import net.adoptium.api.v3.dataSources.DefaultUpdaterHtmlClient
i... | 26 | null | 26 | 34 | 0c6c59511e9a281dc3ae6842833de8a1b9760167 | 3,586 | api.adoptium.net | Apache License 2.0 |
Mobile/TruckRoute/home/src/main/java/com/home/views/HomeActivity.kt | Silvio-Ronaldo | 276,986,621 | true | {"Kotlin": 67728, "JavaScript": 7970, "Shell": 175} | package com.home.views
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import androidx.navigation.Navigation
import androidx.navigation.ui.setupWithNavController
import com.core.base.BaseActivity
import com.core.customviews.CurvedBottomNavigation
import com.home.R
import kotlinx.android.s... | 0 | Kotlin | 0 | 0 | c770e4f3422ba47dc07ecba5db61e69631ead2d3 | 2,433 | Caminho_Certo | MIT License |
libs/rest/rest-server-impl/src/integrationTest/kotlin/net/corda/rest/server/impl/RestServerWebsocketTest.kt | corda | 346,070,752 | false | null | package net.corda.rest.server.impl
import net.corda.rest.server.config.models.RestServerSettings
import net.corda.rest.test.TestHealthCheckAPIImpl
import net.corda.rest.test.utils.TestHttpClientUnirestImpl
import net.corda.rest.test.utils.multipartDir
import net.corda.utilities.NetworkHostAndPort
import org.slf4j.Logg... | 14 | null | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 1,981 | corda-runtime-os | Apache License 2.0 |
kex-executor/src/main/kotlin/org/vorpal/research/kex/config/WorkerCmdConfig.kt | vorpal-research | 204,454,367 | false | null | package org.vorpal.research.kex.config
import org.apache.commons.cli.Option
class WorkerCmdConfig(args: Array<String>) : AbstractCmdConfig("kex-executor-worker", args, {
val options = mutableListOf<Option>()
options.addAll(defaultOptions())
val targetDir = Option(null, "output", true, "directory for all ... | 10 | null | 20 | 28 | 459dd8cb1c5b1512b5a920260cd0ebe503861b3e | 549 | kex | Apache License 2.0 |
analysis/analysis-api/testData/components/scopeProvider/memberScope/javaFieldClash.kt | JetBrains | 3,432,266 | false | null | // class: JavaClass
// DO_NOT_CHECK_SYMBOL_RESTORE
// FILE: main.kt
// FILE: JavaClass.java
public class JavaClass {
public int field = 1;
public String field = "S";
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 177 | kotlin | Apache License 2.0 |
app/src/main/java/com/ledboot/toffee/module/home/HomeRepository.kt | ledboot | 102,470,734 | false | {"C": 3295767, "Shell": 1139239, "Makefile": 382024, "C++": 216570, "HTML": 210960, "Objective-C": 167873, "Kotlin": 141631, "M4": 65721, "Assembly": 40776, "CSS": 18145, "Java": 13473, "Perl": 10762, "Batchfile": 789} | package com.ledboot.toffee.module.home
import androidx.lifecycle.LiveData
import com.ledboot.toffee.api.ApiResponse
import com.ledboot.toffee.api.CnodeService
import com.ledboot.toffee.model.Topics
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
open class HomeRepository @Inject constructor(privat... | 0 | C | 0 | 0 | e3c1fd8dd4e9f70464d36fa10c78184c6ada55f3 | 573 | Toffee | Apache License 2.0 |
test-suite-kotlin/src/test/kotlin/org/atinject/tck/auto/Convertible.kt | swanandvk | 376,385,359 | false | null | /*
* Copyright 2017-2019 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | null | 0 | 1 | f7b0f3997c24efb253441073532921c0d0b39764 | 22,184 | micronaut-core | Apache License 2.0 |
gxpbaseeverything/src/main/java/com/peng/gxpbaseeverything/view/activity/mvvm/GXPToolbarActivity.kt | mudcastles | 257,197,366 | false | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 54, "XML": 79, "Java": 25, "INI": 1} | package com.peng.gxpbaseeverything.view.activity.mvvm
import android.os.Bundle
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuItem
import android.widget.FrameLayout
import androidx.annotation.DrawableRes
import androidx.annotation.MenuRes
import androidx.annotation.StyleRes
import ... | 0 | Kotlin | 1 | 1 | 93de9d030a6c1bc9d4815790cf9e31be538176c0 | 5,356 | GXP-BaseEverything | Apache License 2.0 |
lib/src/main/java/pers/icebounded/lib/util/AppUtil.kt | icebounded | 344,071,759 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "INI": 2, "Proguard": 5, "Kotlin": 61, "XML": 32, "Java": 1} | package pers.icebounded.lib.util
/**
* Created by Andy
* on 2021/3/1
*/
import android.annotation.SuppressLint
import android.app.ActivityManager
import android.content.Context
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import android.provider.Settings
val application: Context... | 0 | Kotlin | 0 | 0 | f90973f7f7d66f4607b031b5033853f9817cd873 | 2,142 | EasyMvvm | Apache License 2.0 |
SampleCode-V5/android-sdk-v5-sample/src/main/java/dji/sampleV5/aircraft/data/DJIRTKBaseStationConnectInfo.kt | dji-sdk | 471,977,345 | false | {"Java": 2695829, "Kotlin": 2384389, "HTML": 4221} | package dji.sampleV5.moduleaircraft.data
import dji.sdk.keyvalue.value.rtkbasestation.RTKStationInfo
import dji.sdk.keyvalue.value.rtkbasestation.RTKStationConnetState
/**
* Description :驱动UI的数据模型,基于RTKBaseStationConnectInfo新增一个连接状态属性
*
* @author: Byte.Cai
* date : 2022/3/6
*
* Copyright (c) 2022, DJI All Righ... | 59 | Java | 134 | 258 | dbbd5ad95347039ba48e04011f2531cd89c9d1d7 | 634 | Mobile-SDK-Android-V5 | MIT License |
buildSrc/src/main/kotlin/SolaPublishingPlugin.kt | iamdudeman | 361,290,615 | false | {"Markdown": 4, "Gradle Kotlin DSL": 18, "XML": 1, "INI": 2, "YAML": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "JSON": 30, "Kotlin": 3, "Java": 368, "Java Properties": 2} | import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.publish.PublishingExtension
import org.gradle.api.publish.maven.MavenPublication
import org.gradle.kotlin.dsl.create
import org.gradle.kotlin.dsl.get
import org.gradle.kotlin.dsl.getByType
interface SolaPublishingPluginExtension {
var a... | 0 | Java | 0 | 1 | f8791feca0f631288b20cccc53971403a0611ffa | 926 | sola-game-engine | MIT License |
src/main/java/cn/origin/cube/module/modules/function/OpenGLBoom.kt | FadeRainbow | 645,271,146 | false | {"Java": 278796, "Kotlin": 149382, "GLSL": 89922} | package cn.origin.cube.module.modules.function
import cn.origin.cube.event.events.world.Render3DEvent
import cn.origin.cube.module.Category
import cn.origin.cube.module.Module
import cn.origin.cube.module.ModuleInfo
import cn.origin.cube.module.ModuleManager
import org.lwjgl.opengl.GL11
/**
*@author FadeRainbow
*@d... | 1 | null | 1 | 1 | 1d275bc0d2b3374b6541878a98bd5094e44c27a4 | 628 | Kettle-Hack | MIT License |
appverifier/src/main/java/com/android/mdl/appreader/readercertgen/SupportedCurves.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.mdl.appreader.readercertgen
enum class SupportedCurves {
SECP256R1,
SECP384R1,
SECP521R1,
BRAINPOOLP256R1,
BRAINPOOLP384R1,
BRAINPOOLP512R1,
ED25519,
ED448
} | 99 | Kotlin | 83 | 163 | e6bf25766985521b9a39d4ed7999f22d57064db5 | 210 | identity-credential | Apache License 2.0 |
advent-of-code2016/src/main/kotlin/day04/Advent4.kt | REDNBLACK | 128,669,137 | false | null | package day04
import parseInput
import splitToLines
import java.util.*
/**
--- Day 4: Security Through Obscurity ---
Finally, you come across an information kiosk with a list of rooms. Of course, the list is encrypted and full of decoy data, but the instructions to decode the list are barely hidden nearby. Better re... | 0 | Kotlin | 0 | 0 | e282d1f0fd0b973e4b701c8c2af1dbf4f4a149c7 | 3,672 | courses | MIT License |
app/src/main/java/com/XD/fitgain/domain/data/network/Repo.kt | sags20 | 260,815,582 | false | null | package com.XD.fitgain.domain.data.network
import android.util.Log
import com.google.android.gms.tasks.Task
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
import com.google.firebase.firestore.DocumentSnapshot
import com.google.firebase.firestore.FirebaseFirestore
import com.g... | 8 | Kotlin | 0 | 1 | 29d21109529044189318d0ba5c1992cdb3783fb9 | 1,283 | FitGain | MIT License |
javalin-plugins/javalin-redoc-plugin/src/main/kotlin/io/javalin/openapi/plugin/redoc/ReDocPlugin.kt | javalin | 364,314,288 | false | null | package io.javalin.openapi.plugin.redoc
import io.javalin.config.JavalinConfig
import io.javalin.plugin.Plugin
import io.javalin.security.RouteRole
import java.util.function.Consumer
class ReDocConfiguration {
/** Page title */
var title = "OpenApi documentation"
/** ReDoc route */
var uiPath = "/redo... | 9 | null | 17 | 45 | 7e1ec6d0ddcde6f4277bfd8088cbbc4520c453aa | 1,570 | javalin-openapi | Apache License 2.0 |
app/src/main/java/com/hustunique/vlive/opengl/TextureRenderTask.kt | UniqueStudioAndroid | 361,579,917 | false | null | package com.hustunique.vlive.opengl
import android.opengl.GLES11Ext
import android.opengl.GLES20
import com.hustunique.vlive.util.ShaderUtil
import java.nio.ByteBuffer
import java.nio.ByteOrder
/**
* author : <NAME>
* e-mail : <EMAIL>
* date : 5/5/21
*/
class OesTextureRenderTask(
private val inTex... | 1 | Kotlin | 1 | 7 | d9ecbf7d12b7771fb12adae6e4482d0999438801 | 3,691 | VLive | MIT License |
src/main/kotlin/org/jitsi/jibri/selenium/status_checks/EmptyCallStatusCheck.kt | jitsi | 51,473,177 | false | null | package org.jitsi.jibri.selenium.status_checks
import org.jitsi.jibri.config.Config
import org.jitsi.jibri.selenium.SeleniumEvent
import org.jitsi.jibri.selenium.pageobjects.CallPage
import org.jitsi.metaconfig.config
import org.jitsi.utils.logging2.Logger
import org.jitsi.utils.logging2.createChildLogger
import java.... | 82 | null | 313 | 609 | bdf9fc5e676f8629708e5ccd68406ca00258e712 | 2,043 | jibri | Apache License 2.0 |
compiler/fir/analysis-tests/testData/resolve/unqualifiedEnum/notInsideBranches.kt | JetBrains | 3,432,266 | false | null | // LANGUAGE: +ContextSensitiveEnumResolutionInWhen
enum class Some {
FIRST,
SECOND;
}
fun foo(s: Some) = when (s) {
FIRST -> <!UNRESOLVED_REFERENCE!>SECOND<!>
SECOND -> <!UNRESOLVED_REFERENCE!>FIRST<!>
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 221 | kotlin | Apache License 2.0 |
mylibrary/src/main/java/com/esp/library/exceedersesp/controllers/applications/ESP_LIB_ApplicationsActivityDrawer.kt | ahsanm155 | 282,847,970 | false | null | package com.esp.library.exceedersesp.controllers.applications
import android.annotation.SuppressLint
import android.app.AlertDialog
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.graphics.PorterDuff
import android.graphics.Rect
import android.os.Bundle
import ... | 0 | Kotlin | 0 | 0 | 11d17817eb75077ac97309509d20fe5adae1bc43 | 14,855 | ESP_LIBRARY | MIT License |
app/src/main/java/app/runchallenge/view/view/PlayerReadyCard.kt | afTrolle | 186,638,043 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 2, "Kotlin": 93, "XML": 53, "Java": 1} | package app.runchallenge.view.view
import android.content.Context
import android.content.res.ColorStateList
import android.util.AttributeSet
import android.view.View
import android.widget.FrameLayout
import androidx.annotation.ColorRes
import app.runchallenge.R
import app.runchallenge.model.data.game.Player
import kot... | 1 | null | 1 | 1 | 9e34724edd53a1c6248d03d7939070b9ac8bd791 | 2,154 | Run-Challenge-Public | MIT License |
mobile/src/main/java/rs/readahead/washington/mobile/views/fragment/vault/adapters/attachments/RecentAttachmentViewHolder.kt | Horizontal-org | 193,379,924 | false | {"Text": 2, "Gradle": 9, "Java Properties": 2, "Shell": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 6, "INI": 6, "Proguard": 7, "Kotlin": 255, "XML": 692, "Java": 425, "JSON": 1, "YAML": 2} | package rs.readahead.washington.mobile.views.fragment.vault.adapters.attachments
import android.graphics.drawable.Drawable
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.appcompat.widget.AppCompatImageView
import androidx.vectordrawable.graphics.drawable.VectorDra... | 15 | Java | 15 | 49 | b941e38f9d62032e1471b6dfd5e467b44acca23d | 4,182 | Tella-Android | Apache License 2.0 |
idea/testData/codeInsight/moveUpDown/classBodyDeclarations/class/classWithoutBody2.kt | develar | 4,304,550 | false | null | // MOVE: up
class D {
}
<caret>class A
class C {
} | 0 | null | 0 | 1 | bf5b387580265cba01efc8fd30d1d0c0b41ac5a9 | 52 | kotlin | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/editor/autoImport/unresolvedImport2/pkg/Util.kt | JetBrains | 2,489,216 | false | null | package pkg
class A {
fun foo() {}
}
fun A.foo(n: Int) {} | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 63 | intellij-community | Apache License 2.0 |
src/main/kotlin/edu/upm/david/security/gamalcrypt/cryptography/Cryptorithm.kt | david6983 | 252,628,368 | false | {"Java": 7738, "Kotlin": 3183} | package edu.upm.security.cryptography
/**
* Utility class to encrypt and decrypt a text.
*
* @author <NAME>
*/
object Cryptorithm {
/**
* Encrypt a plaintext string with a custom cryptographic algorithm.
*
* @param plaintext text to encipher
* @return ciphertext of the plaintext
*/
... | 1 | null | 1 | 1 | e30119fac3ea9ef5754a63fb347801d02e646ae2 | 3,177 | mocassin | MIT License |
src/main/kotlin/fm/force/quiz/core/entity/DifficultyScaleRange.kt | night-crawler | 207,094,425 | false | null | package fm.force.quiz.core.entity
import fm.force.quiz.configuration.BATCH_SIZE
import fm.force.quiz.security.entity.User
import org.hibernate.annotations.BatchSize
import javax.persistence.Entity
import javax.persistence.ManyToOne
import javax.persistence.Table
import javax.persistence.UniqueConstraint
@Entity
@Tabl... | 1 | Kotlin | 1 | 7 | 0e34f5ff4cd85f877e739260a6055ada933364e2 | 1,541 | quiz | MIT License |
src/main/kotlin/fm/force/quiz/core/entity/DifficultyScaleRange.kt | night-crawler | 207,094,425 | false | null | package fm.force.quiz.core.entity
import fm.force.quiz.configuration.BATCH_SIZE
import fm.force.quiz.security.entity.User
import org.hibernate.annotations.BatchSize
import javax.persistence.Entity
import javax.persistence.ManyToOne
import javax.persistence.Table
import javax.persistence.UniqueConstraint
@Entity
@Tabl... | 1 | Kotlin | 1 | 7 | 0e34f5ff4cd85f877e739260a6055ada933364e2 | 1,541 | quiz | MIT License |
embrace-android-core/src/test/java/io/embrace/android/embracesdk/internal/injection/PayloadSourceModuleImplTest.kt | embrace-io | 704,537,857 | false | {"Kotlin": 2879745, "C": 189341, "Java": 162931, "C++": 13140, "CMake": 4261} | package io.embrace.android.embracesdk.internal.injection
import androidx.test.ext.junit.runners.AndroidJUnit4
import io.embrace.android.embracesdk.fakes.FakeConfigModule
import io.embrace.android.embracesdk.fakes.FakeEmbLogger
import io.embrace.android.embracesdk.fakes.FakeOpenTelemetryModule
import io.embrace.android... | 23 | Kotlin | 8 | 134 | 06fb424ba2746c22e8e47e549a9f00ae8f85d72d | 2,042 | embrace-android-sdk | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.