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/com/raion/furnitale/ui/categories/outdoor/OutdoorFragment.kt | KylixEza | 349,910,754 | false | null | package com.raion.furnitale.ui.categories.outdoor
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.viewbinding.library.fragment.viewBinding
import androidx.recyclerview.widget.GridLayoutManager
import... | 0 | Kotlin | 1 | 1 | 014d82d8764c7c1002d166f435b7243508794fd3 | 3,009 | FurniTale | MIT License |
android/app/src/main/java/com/algorand/android/modules/inapppin/deletealldata/ui/DeleteAllDataConfirmationBottomSheet.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 2,154 | pera-wallet | Apache License 2.0 |
app/src/main/java/us/egek/proteinbar/sample/MainActivity.kt | jitheeshsk | 169,946,809 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 4, "XML": 26, "Java": 2} | package com.wildbook.wildbookmobile
import android.os.Bundle
import android.support.design.widget.Snackbar
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | 3 | null | 1 | 1 | eeb895b068800cb0a83fbacdaa088280094cb1c0 | 451 | Wildbook-Android | MIT License |
compiler/src/main/kotlin/edu/cornell/cs/apl/viaduct/errors/NoMainError.kt | byzhang | 374,496,728 | true | {"Kotlin": 878748, "Java": 43761, "C++": 13898, "Python": 11991, "Lex": 6620, "Dockerfile": 1963, "Makefile": 1785, "SWIG": 1212, "Shell": 698} | package edu.cornell.cs.apl.viaduct.errors
import edu.cornell.cs.apl.prettyprinting.Document
import edu.cornell.cs.apl.prettyprinting.plus
import edu.cornell.cs.apl.prettyprinting.times
import edu.cornell.cs.apl.viaduct.parsing.parse
import edu.cornell.cs.apl.viaduct.protocols.MainProtocol
import edu.cornell.cs.apl.via... | 0 | null | 0 | 0 | 7aae916a0b9b1e5f880611c7ff69007fc946346b | 1,200 | viaduct | MIT License |
app/src/main/java/tipz/viola/webview/HitTestAlertDialog.kt | rcky844 | 287,279,448 | false | {"Kotlin": 239665, "HTML": 2441, "CSS": 1242} | // Copyright (c) 2023-2024 Tipz Team
// SPDX-License-Identifier: Apache-2.0
package tipz.viola.webview
import android.content.Context
import android.content.DialogInterface
import android.content.Intent
import android.graphics.BitmapFactory
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInf... | 0 | Kotlin | 3 | 14 | ec39c7d858bebab80578892ac46d65a45795b4d9 | 4,319 | viola | Apache License 2.0 |
src/main/kotlin/io/kvision/types/Date.kt | rjaros | 120,835,750 | false | null | /*
* Copyright (c) 2017-present <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, publ... | 3 | null | 65 | 882 | bde30bbfd3c1a837eeff58a0a81bf7a5d677c72f | 2,511 | kvision | MIT License |
src/main/kotlin/com/nekofar/milad/intellij/slim/SlimIcons.kt | KartanHQ | 461,389,713 | false | null | package com.nekofar.milad.intellij.slim
import com.intellij.openapi.util.IconLoader
object SlimIcons {
@JvmField
val ProjectGenerator = IconLoader.getIcon("/icons/logoIcon.svg", javaClass)
}
| 0 | Kotlin | 0 | 2 | f2567006afa4fdcbe5b994c953057c17b19dc5df | 201 | intellij-slim | Apache License 2.0 |
data/src/main/java/com/kwsilence/topmoviescompose/data/api/ImageSize.kt | KWSilence | 592,816,509 | false | null | package com.kwsilence.topmoviescompose.data.api
sealed class ImageSize(val path: String) {
object Original : ImageSize("original/")
data class Custom(val width: Int) : ImageSize("w$width/")
companion object {
fun getSize(width: Int?): ImageSize = width?.let { Custom(it) } ?: Original
}
}
| 0 | Kotlin | 0 | 2 | ee2e5a52a3e632adde4dde4593321f8773058620 | 315 | TopMoviesCompose | Apache License 2.0 |
project/Application/src/main/kotlin/cga/exercise/components/Color.kt | DennisGoss99 | 397,846,380 | true | {"Kotlin": 147862, "GLSL": 9453} | package cga.exercise.components
import org.joml.*
class Color : Vector4f {
constructor(red : Int, green : Int, blue : Int){
x = red / 255f
y = green / 255f
z = blue / 255f
}
constructor(red : Int, green : Int, blue : Int, alpha : Int) : this(red , green , blue){
w = alpha... | 0 | Kotlin | 0 | 0 | eb988c98528bf26a3362e74bae2b2b250d6255dd | 632 | CGA_Project | MIT License |
sdk/src/main/java/com/qonversion/android/sdk/internal/dto/ActionPoints.kt | qonversion | 224,974,105 | false | {"Kotlin": 604976, "Java": 9442, "Ruby": 2698} | package com.qonversion.android.sdk.internal.dto
import com.qonversion.android.sdk.internal.dto.automations.ActionPointScreen
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
internal data class ActionPoints(
@Json(name = "items") val items: List<Data<ActionPoin... | 2 | Kotlin | 21 | 122 | 619465b65dbf2612486ec3adad9b0a8750d76c7b | 332 | android-sdk | MIT License |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/WeierstrassInvariantG3.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: WeierstrassInvariantG3
*
* Full name: System`WeierstrassInvariantG3
*
* ... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,355 | mathemagika | Apache License 2.0 |
stocka-mobile/src/commonMain/kotlin/dev/wellingtoncosta/stocka/data/db/DriverFactory.kt | wellingtoncosta | 223,506,533 | false | null | package dev.wellingtoncosta.stocka.data.db
import com.squareup.sqldelight.db.SqlDriver
expect class DriverFactory {
fun create(): SqlDriver
} | 0 | Kotlin | 1 | 16 | 093cc7e6b0c8c4abcbc8d5c968f81770d1b5a352 | 147 | stocka | MIT License |
mcumgr-core/src/main/java/io/runtime/mcumgr/transfer/Uploader.kt | oleg-krv | 324,370,889 | false | {"INI": 3, "Shell": 2, "Markdown": 1, "Batchfile": 1, "Proguard": 3, "Kotlin": 18, "Java": 129, "Java Properties": 1} | package io.runtime.mcumgr.transfer
import io.runtime.mcumgr.McuMgrScheme
import kotlinx.coroutines.channels.ReceiveChannel
import java.lang.IllegalArgumentException
import kotlin.math.min
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
import... | 1 | null | 1 | 1 | f9489c8a6e79442174eebab2644c0fc6cbdbe4fa | 7,630 | mcumgr-android | Apache License 2.0 |
kenet-gen-typescript/src/jvmMain/kotlin/org/kotlin/everywhere/net/gen/typescript/typescript.kt | kotlin-everywhere | 368,894,676 | false | null | package org.kotlin.everywhere.net.gen.typescript
import org.kotlin.everywhere.net.Call
import org.kotlin.everywhere.net.Fire
import org.kotlin.everywhere.net.Kenet
import java.io.File
import java.nio.file.Path
import kotlin.reflect.KClass
import kotlin.reflect.KType
import kotlin.reflect.KTypeProjection
import kotlin.... | 4 | Kotlin | 9 | 13 | 087fed6fead77d7ec2fc087608ae3095efd3d852 | 6,580 | kenet | MIT License |
packages/graalvm/src/test/kotlin/elide/runtime/gvm/internals/vfs/HostVFSConfigTest.kt | elide-dev | 506,113,888 | false | null | /*
* Copyright (c) 2024 Elide Technologies, Inc.
*
* Licensed under the MIT license (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* https://opensource.org/license/mit/
*
* Unless required by applicable law or agreed to in writing,... | 75 | null | 16 | 97 | 652036fb4e8394e8ad1aced2f4bbfaa9e00a5181 | 1,646 | elide | MIT License |
QuaBionicApp/app/src/main/java/com/bionichamza/quabionicapp/data/RemoteDataSource.kt | biyonikhamza | 760,676,497 | false | {"Kotlin": 52722} | package com.bionichamza.quabionicapp.data
import android.util.JsonToken
import com.bionichamza.quabionicapp.data.network.ProstheticsAPI
import com.bionichamza.quabionicapp.models.InspirationWord
import com.bionichamza.quabionicapp.models.Prosthetics
import com.bionichamza.quabionicapp.models.ProstheticsInfo
import ret... | 0 | Kotlin | 0 | 0 | e29a7da035e9fbc63f9fa5d2e6c142d1fcc66039 | 1,260 | QuaBionicApp | Apache License 2.0 |
kotlinx-coroutines-jdk8/src/test/kotlin/examples/simple-example-2.kt | pljp | 88,139,141 | true | null | /*
* Copyright 2016-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 5 | 39 | 52e15006d31e779aaeadba053dcda1afd0198240 | 1,305 | kotlinx.coroutines | Apache License 2.0 |
app/src/main/java/com/ezpnix/writeon/presentation/screens/edit/components/CustomTextField.kt | 3zpnix | 850,596,389 | false | {"Kotlin": 256758} | package com.ezpnix.writeon.presentation.screens.edit.components
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Text
import androidx.compose.mater... | 7 | Kotlin | 0 | 6 | 2b59993da41c2ebdf325d9d60f0c42e00ef5ad5c | 3,131 | WriteOn | Apache License 2.0 |
app/src/main/java/com/hxs/opengles3demo/AssimpHelper.kt | Mightted | 272,359,232 | false | null | package com.hxs.opengles3demo
import assimp.*
import com.hxs.opengles3demo.obj.FLOAT_BYTE_COUNT
import java.nio.ByteBuffer
import java.nio.ByteOrder
import java.nio.FloatBuffer
object AssimpHelper {
private val importer = Importer()
fun loadModel(path: String) {
val scene = importer.readFile(
... | 0 | Kotlin | 0 | 0 | 4416184b635e8571c0d3633f88673f275bf95c9e | 2,249 | OpenGLES3Demo | Apache License 2.0 |
app/src/main/java/com/example/spygamers/services/group/GetAccountGroupsBody.kt | Juicy-Lemonberry | 748,985,682 | false | {"Kotlin": 123050} | package com.example.spygamers.services.group
data class GetAccountGroupsBody (
val auth_token: String,
val filter: String?
) | 0 | Kotlin | 2 | 0 | 78deb69c4b017042b3a6779a0d6d48bdd131ea43 | 133 | SpyGamers-App | MIT License |
src/test/kotlin/no/nav/tilleggsstonader/sak/vedtak/totrinnskontroll/SendTilBeslutterStegTest.kt | navikt | 685,490,225 | false | {"Kotlin": 1513596, "Gherkin": 39138, "HTML": 33935, "Shell": 924, "Dockerfile": 164} | package no.nav.tilleggsstonader.sak.vedtak.totrinnskontroll
import com.fasterxml.jackson.module.kotlin.readValue
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import no.nav.familie.prosessering.domene.Task
import no.nav.familie.prosessering.internal.TaskService
import no.nav.tilleggsstonader.kontr... | 5 | Kotlin | 1 | 0 | c9124fe9a92bffd2d450278dc08344b62903f9a8 | 10,971 | tilleggsstonader-sak | MIT License |
src/test/kotlin/hello/hellospring/HelloSpringApplicationTests.kt | suites | 283,834,530 | false | null | package hello.hellospring
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class HelloSpringApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Kotlin | 0 | 7 | 094826f7ab078da4479edf84d18d856d837c1d5b | 210 | hello-spring | MIT License |
src/test/kotlin/com/example/useraccount/services/UserAccountClient.kt | LuismiBarcos | 600,857,845 | false | {"Kotlin": 43161, "Java": 3869} | package com.example.useraccount.services
import org.sdi.domain.annotations.Component
import org.sdi.domain.annotations.Inject
/**
*@author <NAME>
*/
@Component(classes = [UserAccountClient::class])
class UserAccountClient {
@Inject
private lateinit var userService: UserService
@Inject("com.example.user... | 0 | Kotlin | 0 | 0 | 7b74b015949c753784efbf289fdba90e6efbc35f | 647 | SDI | Apache License 2.0 |
kotlin-csstype/src/main/generated/csstype/ScrollbarWidth.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package csstype
// language=JavaScript
@JsName("""(/*union*/{thin: 'thin'}/*union*/)""")
sealed external interface ScrollbarWidth {
companion object {
val thin: Scrol... | 12 | Kotlin | 6 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 338 | kotlin-wrappers | Apache License 2.0 |
payments-core/src/test/java/com/stripe/android/ApiVersionTest.kt | stripe | 6,926,049 | false | null | package com.stripe.android
import com.google.common.truth.Truth.assertThat
import com.stripe.android.ApiVersion.Companion.API_VERSION_CODE
import org.junit.Test
class ApiVersionTest {
@Test
fun `instance should instantiate correctly`() {
assertThat(ApiVersion.get().code).isEqualTo(API_VERSION_CODE)
... | 55 | null | 516 | 914 | 3c2b2ad9c60d1d13c8770888ef38c24286d96f0e | 549 | stripe-android | MIT License |
src/main/kotlin/io/github/leandroborgesferreira/dagcommand/domain/Edge.kt | leandroBorgesFerreira | 268,720,218 | false | {"Kotlin": 45712} | package io.github.leandroborgesferreira.dagcommand.domain
data class Edge(
val source: String,
val target: String,
val weight: Int
)
| 6 | Kotlin | 11 | 39 | ef7c97e4b2691c9d16953b35dfdd0bdb8691d841 | 146 | dag-command | Apache License 2.0 |
src/main/kotlin/org/example/detekt/test/BeforeAnnotationInTest.kt | Keslerdk | 863,145,840 | false | {"Kotlin": 47765, "Shell": 738} | package org.example.detekt.rules.test
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Debt
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Rule
import ... | 2 | Kotlin | 0 | 0 | 614c19c88d61c41f6a9af7e6d49d677945965509 | 1,759 | fluffy-octo-meme | Apache License 2.0 |
shared/src/commonMain/kotlin/com/example/movieskmm/data/local/db/DbHelper.kt | pushpalroy | 735,486,564 | false | {"Kotlin": 196812, "Swift": 14743, "Ruby": 2451, "Shell": 442} | package com.example.movieskmm.data.local.db
import com.example.movieskmm.data.local.db.util.PlatformSQLiteState
abstract class DbHelper {
abstract val databaseState: PlatformSQLiteState
abstract val appDatabaseDAO: AppDatabaseDAO
var relaunchListFlowCallback: (() -> Unit)? = null
abstract fun build... | 12 | Kotlin | 1 | 21 | df5e3f4e1f0ad24b28a75f281ca936d88c2e398a | 647 | movieskmm | MIT License |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/config/components/DriveMotors.kt | ftc8580 | 683,384,905 | false | {"Kotlin": 257621, "Java": 45100} | package org.firstinspires.ftc.teamcode.config.components
data class DriveMotors(
val leftFront: String = "leftFront",
val rightFront: String = "rightFront",
val leftRear: String = "leftRear",
val rightRear: String = "rightRear"
) | 0 | Kotlin | 0 | 0 | a56c7c0b33d5d769ba643adb7324787a7455e887 | 246 | centerstage | BSD 3-Clause Clear License |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/config/components/DriveMotors.kt | ftc8580 | 683,384,905 | false | {"Kotlin": 257621, "Java": 45100} | package org.firstinspires.ftc.teamcode.config.components
data class DriveMotors(
val leftFront: String = "leftFront",
val rightFront: String = "rightFront",
val leftRear: String = "leftRear",
val rightRear: String = "rightRear"
) | 0 | Kotlin | 0 | 0 | a56c7c0b33d5d769ba643adb7324787a7455e887 | 246 | centerstage | BSD 3-Clause Clear License |
intellij-plugin-structure/tests/src/test/kotlin/com/jetbrains/plugin/structure/fleet/mock/FleetTestData.kt | JetBrains | 3,686,654 | false | {"Kotlin": 2524497, "Java": 253600, "CSS": 1454, "JavaScript": 692} | package com.jetbrains.plugin.structure.fleet.mock
fun getMockPluginJsonContent(fileName: String): String {
return object {}.javaClass.getResource("/fleet/$fileName.json").readText()
}
| 6 | Kotlin | 38 | 178 | 4deec2e4e08c9ee4ce087697ef80b8b327703548 | 187 | intellij-plugin-verifier | Apache License 2.0 |
mvvm-coroutines-clean-architecture/app/src/main/java/br/com/mobiplus/gitclient/presentation/di/PresentationModule.kt | mariofelesdossantosjunior | 249,457,538 | true | {"Kotlin": 145177} | package br.com.mobiplus.gitclient.presentation.di
val presentationModule = listOf(
viewModelModule
) | 0 | Kotlin | 0 | 1 | f1d96c8f45814b883fab3987b8e365310e2de2dc | 105 | android-architecture-examples | MIT License |
CV_App/app/src/main/java/com/app/cv/ReferencesActivity.kt | katlaang | 461,564,362 | false | null | package com.app.cv
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_contact.*
import kotlinx.android.synthetic.main.activity_references.*
class ReferencesActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | 0 | Kotlin | 0 | 0 | 8efb8e9f4170189656d47dc5ffeedb1cd59eb30e | 547 | Mobile_Device_Programing | MIT License |
feature-onboarding-impl/src/main/java/jp/co/soramitsu/onboarding/impl/OnboardingRouter.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.onboarding.impl
import jp.co.soramitsu.account.api.domain.model.ImportMode
import jp.co.soramitsu.account.api.presentation.account.create.ChainAccountCreatePayload
import jp.co.soramitsu.account.api.presentation.create_backup_password.CreateBackupPasswordPayload
import kotlinx.coroutines.flow.F... | 9 | null | 30 | 89 | 1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2 | 1,144 | fearless-Android | Apache License 2.0 |
story/src/main/java/com/yavuzmobile/story/CombinedAnimation.kt | mstfyvz | 754,741,341 | false | {"Kotlin": 31553} | package com.yavuzmobile.story
import android.animation.PropertyValuesHolder
import android.animation.ValueAnimator
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import android.graphics.SweepGradient
import android.util.AttributeSet
import andr... | 0 | Kotlin | 0 | 0 | d4eb8ff1b3d845f001320372a60b50af4244bb7c | 5,874 | story-view | MIT License |
client/app/src/main/java/com/unina/natourkt/core/domain/use_case/auth/GetAuthStateUseCase.kt | archer-65 | 433,413,556 | false | null | package com.unina.natourkt.core.domain.use_case.auth
import com.unina.natourkt.core.domain.repository.AuthRepository
import javax.inject.Inject
/**
* This UseCase provides a fast way to check if an user is authenticated or not
* @see [AuthRepository]
*/
class GetAuthStateUseCase @Inject constructor(
private va... | 0 | Kotlin | 0 | 1 | d0c4881e6b8432aff5cf1751d58350da2d5a4461 | 463 | natour-2122 | Apache License 2.0 |
src/main/kotlin/io/sc3/peripherals/client/block/PrintBakedModel.kt | SwitchCraftCC | 526,790,497 | false | {"Kotlin": 177221, "Lua": 13313, "TypeScript": 11642, "Java": 9882, "JavaScript": 6018, "HTML": 638, "Dockerfile": 181, "CSS": 59} | package io.sc3.peripherals.client.block
import io.sc3.library.ext.faces
import io.sc3.library.ext.rotateTowards
import io.sc3.peripherals.Registration.ModBlockEntities
import io.sc3.peripherals.ScPeripherals.ModId
import io.sc3.peripherals.prints.*
import net.fabricmc.fabric.api.renderer.v1.RendererAccess
import net.f... | 6 | Kotlin | 7 | 10 | 65e643e5418af04412a35a8260271ece5e4f76e0 | 7,516 | sc-peripherals | MIT License |
regions/src/commonMain/kotlin/com/privateinternetaccess/regions/internals/PingPerformer.kt | pia-foss | 272,978,863 | false | {"Kotlin": 94635} | package com.privateinternetaccess.regions.internals
internal expect class PingPerformer() {
/**
* @param endpoints Map<String, String>. Key: Region. String: Endpoint to ping in the region.
* @param callback Map<String, Long>. Key: Region. Value: Latency.
*/
fun pingEndpoints(
endpoints:... | 0 | Kotlin | 1 | 0 | 592fc4f403df3006e98396fc5b063ad624d470b6 | 404 | mobile-shared-regions | MIT License |
app/src/main/java/com/nanchen/rxjava2examples/module/rxjava2/anmis/item/RxAnmiatorActivity.kt | tyty119 | 188,666,669 | false | {"Java": 188849, "Kotlin": 1428} | package com.nanchen.rxjava2examples.module.rxjava2.anmis.item
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.nanchen.rxjava2examples.R
/**
* Description:
* Author: PC306
* Date: 2019/5/26
*/
class RxAnmiatorActivity:AppCompatActivity() {
override fun onCreate(savedInstan... | 1 | null | 1 | 1 | cc60112ff7d52dfdb138dc75964c5f0f02ed0820 | 440 | BannerAnmiatorView | Apache License 2.0 |
android/src/main/java/com/rnvideoplayer/ui/controls/BottomControls.kt | MichelGutner | 714,850,144 | false | {"Kotlin": 84600, "Swift": 72280, "TypeScript": 10099, "Ruby": 3216, "JavaScript": 2135, "Objective-C": 2040, "Objective-C++": 812, "C": 103} | package com.rnvideoplayer.ui.controls
import android.annotation.SuppressLint
import android.content.Context
import android.util.TypedValue
import android.view.Gravity
import android.view.ViewGroup
import android.widget.FrameLayout
import android.widget.ImageButton
import android.widget.LinearLayout
import androidx.ann... | 0 | Kotlin | 0 | 4 | 3ae08f4b017de93e389a2ee1d5dd6a6a4976d926 | 3,943 | rn-media-player | MIT License |
manager/src/main/java/com/markoid/manager/managers/MapsManager.kt | knockmark10 | 263,102,379 | false | null | package com.markoid.manager.managers
import android.content.Context
import android.content.res.Resources
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.PorterDuff
import android.util.Log
import android.view.LayoutInflater
import android.view.View
imp... | 0 | Kotlin | 0 | 0 | 3eb2d8d1fa668af7b62fdb7bfcc46e811e432d92 | 7,784 | GoogleMapsManager | MIT License |
app/src/main/java/nerd/tuxmobil/fahrplan/congress/models/Alarm.kt | grote | 114,628,676 | true | {"Java": 333159, "Kotlin": 125801, "Prolog": 647} | package nerd.tuxmobil.fahrplan.congress.models
import info.metadude.android.eventfahrplan.database.contract.FahrplanContract
data class Alarm(
val id: Int,
val alarmTimeInMin: Int,
val day: Int,
val displayTime: Long,
val eventId: String,
val eventTitle: String,
... | 0 | Java | 1 | 3 | 761d339bf804698760db17ba00990e164f90cff2 | 934 | EventFahrplan | Apache License 2.0 |
agent/src/main/kotlin/org/nessus/didcomm/service/CamelEndpointService.kt | tdiesler | 578,916,709 | false | null | /*-
* #%L
* Nessus DIDComm :: Agent
* %%
* Copyright (C) 2022 - 2023 Nessus
* %%
* 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
... | 28 | Kotlin | 1 | 8 | c199c1289544c706797e755e18f6fba2cbf2832b | 3,625 | nessus-didcomm | Apache License 2.0 |
src/main/kotlin/com/github/optimisticgeek/editor/httpClient/SpringApiHttpTestExt.kt | OptimisticGeek | 734,509,440 | false | {"Kotlin": 107151, "Java": 6491} | // Copyright 2023-2024 OptimisticGeek. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.github.optimisticgeek.editor.httpClient
import com.github.optimisticgeek.analyze.model.AnalyzeHttpMethod
import com.github.optimisticgeek.editor.listener.toJson
impor... | 0 | Kotlin | 1 | 2 | b4182ed171738d6c00cc9e590b9226ddba54f91c | 3,716 | spring-doc-helper | Apache License 2.0 |
app/src/main/java/com/breezefieldsalesmaxpaints/features/member/CustomerOnClick.kt | DebashisINT | 798,102,822 | false | {"Kotlin": 14782094, "Java": 1023489} | package com.breezefieldsalesmaxpaints.features.member
import com.breezefieldsalesmaxpaints.features.member.model.CustomerDataModel
interface CustomerOnClick {
fun OnClick(obj: CustomerDataModel)
} | 0 | Kotlin | 0 | 0 | b850214769e3579daf79ca8476e65c92bff845f5 | 202 | MaxPaints | Apache License 2.0 |
pushreceiver/src/main/java/pro/devonics/push/PushCache.kt | PushDevonics | 479,396,096 | false | {"Kotlin": 39459} | package pro.devonics.push
import android.content.Context
private const val TAG = "PushCache"
class PushCache {
private val PUSH_CACHE = "push_cache"
private val REGISTRATION_ID = "registration_id"
private val SUBSCRIBE_STATUS = "subscribe_status"
private val INTERNAL_ID = "internal_id"
private v... | 0 | Kotlin | 2 | 0 | 2634621d0ea70ed0910a55b260c30224c71b584f | 2,022 | push-devonics-unity | MIT License |
designer/src/com/android/tools/idea/annotations/TestDumbService.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 3 | null | 228 | 912 | d88742a5542b0852e7cb2dd6571e01576cb52841 | 3,354 | android | Apache License 2.0 |
timber-lint/src/test/java/timber/lint/WrongTimberUsageDetectorTest.kt | JakeWharton | 11,495,787 | false | null | package timber.lint
import com.android.tools.lint.checks.infrastructure.TestFiles.java
import com.android.tools.lint.checks.infrastructure.TestFiles.kotlin
import com.android.tools.lint.checks.infrastructure.TestFiles.manifest
import com.android.tools.lint.checks.infrastructure.TestLintTask.lint
import org.junit.Test
... | 9 | null | 954 | 9,951 | 9954d94abbaea9d003243be5b69f8ae0ffc0c99d | 50,398 | timber | Apache License 2.0 |
app/src/main/java/com/certified/audionote/ui/NotesViewModel.kt | certified84 | 435,328,596 | false | {"Kotlin": 87491} | /*
* Copyright (c) 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 i... | 8 | Kotlin | 5 | 72 | 3436c26516927dc7d9691f354b69ea24c951a5a7 | 2,906 | AudioNote | Apache License 2.0 |
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KSAnnotatedExt.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 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 applica... | 1 | null | 1 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 1,423 | androidx | Apache License 2.0 |
app/src/main/java/com/muzzley/app/workers/DevicePickerMashData.kt | habitio | 191,952,436 | false | null | package com.muzzley.app.workers
import com.muzzley.app.tiles.Models
import com.muzzley.model.channels.ChannelData
import com.muzzley.model.tiles.TileGroupsData
import com.muzzley.model.tiles.TilesData
import com.muzzley.services.GroupsInteractor
import com.muzzley.util.retrofit.UserService
import io.reactivex.Observab... | 1 | null | 1 | 1 | 57174e1ca5e0d72ebc01d0750e278fc493b44e42 | 1,547 | habit-whitelabel-app-android | MIT License |
android-gradle-plugin-aspectj/src/main/kotlin/com/archinamon/api/AspectJMergeJars.kt | thunderheadone | 152,609,582 | true | {"Kotlin": 68338} | /*
* Copyright 2018 the original author or authors.
* Copyright 2018 Thunderhead
*
* 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/licens... | 0 | Kotlin | 0 | 5 | 929ea8b656dcf2b5b235f0f7a246f9deee09c9b5 | 2,094 | one-android-gradle-aspectj | Apache License 2.0 |
libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/milestone/Milestone.kt | luugiathuy | 227,537,256 | true | {"Java": 1439669, "Kotlin": 697036, "Python": 4645, "Makefile": 3713, "JavaScript": 3107, "Shell": 1903} | package com.mapbox.services.android.navigation.v5.milestone
import com.mapbox.services.android.navigation.v5.instruction.Instruction
import com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
/**
* Base Milestone statement. Subclassed to provide concrete statements.
*
* @since 0.4.0
*/
// Public... | 0 | null | 0 | 1 | f1e5d047665617c4ef32a3b4b5c9ab29d0ecaa93 | 3,823 | mapbox-navigation-android | Apache License 2.0 |
src/main/kotlin/silentorb/imp/intellij/highlighting/ImpColorSettingsPage.kt | silentorb | 239,162,536 | false | null | package silentorb.imp.intellij.highlighting
import com.intellij.openapi.editor.colors.TextAttributesKey
import com.intellij.openapi.fileTypes.SyntaxHighlighter
import com.intellij.openapi.options.colors.AttributesDescriptor
import com.intellij.openapi.options.colors.ColorDescriptor
import com.intellij.openapi.options.... | 0 | Kotlin | 0 | 0 | 24c4f4b4e712256ee7686a947021072a6e9a2549 | 1,369 | imp-intellij | MIT License |
Frontend/src/test/kotlin/com/jetbrains/fortea/highlighting/T4IncludedExecutableTemplateInSubfolderHighlightingTest.kt | JetBrains | 202,559,189 | false | {"C#": 870119, "Kotlin": 102802, "Lex": 8199, "PowerShell": 2960, "Shell": 2282, "Batchfile": 207} | package com.jetbrains.fortea.highlighting
import org.testng.annotations.Test
class T4IncludedExecutableTemplateInSubfolderHighlightingTest : T4HighlightingTestBase() {
override val testSolution = "ProjectWith4AndIncluderInSubfolder"
override val testFilePath get() = "Project/Folder/$fileName"
@Test fun testDefa... | 20 | C# | 10 | 56 | 9569d79cb9ad732b084155f14219c184f0051ef2 | 361 | ForTea | Apache License 2.0 |
nlp/model/opennlp/src/main/kotlin/OpenNlpEngineProvider.kt | theopenconversationkit | 84,538,053 | false | null | /*
* Copyright (C) 2017 VSCT
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 163 | null | 127 | 475 | 890f69960997ae9146747d082d808d92ee407fcb | 1,828 | tock | Apache License 2.0 |
android/src/main/kotlin/com/cjx/x5_webview/JavascriptChannel.kt | VenusCao | 186,570,806 | false | null | package com.cjx.x5_webview
import android.content.Context
import android.os.Handler
import android.os.Looper
import android.webkit.JavascriptInterface
import io.flutter.plugin.common.MethodChannel
class JavascriptChannel(val name: String, val channel: MethodChannel, val context: Context) {
@JavascriptInterface
... | 7 | Dart | 32 | 90 | 249a7b812c4de2f7444622a356865619846783ee | 784 | x5_webview_flutter | Apache License 2.0 |
src/main/kotlin/com/insyncwithfoo/pyright/runner/Command.kt | InSyncWithFoo | 762,967,939 | false | {"Kotlin": 78609, "Python": 1796, "HTML": 471} | package com.insyncwithfoo.pyright.runner
import com.insyncwithfoo.pyright.PyrightDiagnosticSeverity
import com.insyncwithfoo.pyright.configuration.AllConfigurations
import com.insyncwithfoo.pyright.path
import com.insyncwithfoo.pyright.pyrightConfigurations
import com.insyncwithfoo.pyright.sdkPath
import com.intellij.... | 5 | Kotlin | 0 | 33 | 7d02d73bcbf364c66f6bdd9e4b01f713f1c2e6d6 | 5,895 | pyright-for-pycharm | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplex.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.medialive
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.CfnTag
import io.... | 3 | Kotlin | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 34,015 | kotlin-cdk-wrapper | Apache License 2.0 |
features/article/domain/interactors/src/main/java/kasem/sm/article/domain/interactors/GetInExploreArticles.kt | kasem-sm | 456,508,892 | false | {"Kotlin": 432676, "Procfile": 53, "Shell": 10} | /*
* Copyright (C) 2021, <NAME>
* All rights reserved.
*/
package kasem.sm.article.domain.interactors
import javax.inject.Inject
import kasem.sm.article.datasource.cache.ArticleDatabaseService
import kasem.sm.article.datasource.network.ArticleApiService
import kasem.sm.article.datasource.utils.IsInExplore
import ka... | 25 | Kotlin | 49 | 570 | 02543400476bac4248914c5e943ef58bac5a318a | 1,145 | SlimeKT | Apache License 2.0 |
src/main/java/com/dzen/campfire/api/models/account/Account.kt | ZeonXX | 381,983,751 | false | {"Kotlin": 1087578} | package com.dzen.campfire.api.models.account
import com.sup.dev.java.libs.json.Json
import com.sup.dev.java.libs.json.JsonParsable
class Account : JsonParsable {
var id = 0L
var lvl = 0L
var lastOnlineDate = 0L
var name = ""
var imageId = 0L
var sex = 0L
var karma30 = 0L
var sponsor =... | 0 | Kotlin | 2 | 5 | 6f3b371624fb66a065bcbaa6302830c574c55e9f | 1,646 | CampfireApi | Apache License 2.0 |
src/game/controllers/MultiplayerConnector.kt | YaroslavGamayunov | 249,160,194 | false | null | package game.controllers
import game.Game
import game.GameActionsListener
import game.actions.GameActionSequence
import game.actions.GameStarted
import game.actions.MoveBegin
import game.actions.WrongIdException
import game.objects.GamePlayer
import logging.logInfo
import java.net.Socket
class ServerDataNotReceivedEx... | 0 | Kotlin | 0 | 0 | 49d185720123b7636c67cb52adb484deba059d33 | 3,515 | tank-game | MIT License |
compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt | JetBrains | 3,432,266 | false | null | // IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
open class Base {
open fun setup() {}
init { setup() }
}
val placeHolder = Any()
class Derived : Base {
constructor() : super()
override fun setup() {
xBool =... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,481 | kotlin | Apache License 2.0 |
ktls-dsl/lang/src/main/kotlin/io/kotless/dsl/dispatcher/Dispatcher.kt | tchigher | 209,689,628 | true | {"Kotlin": 148053} | package io.kotless.dsl.dispatcher
import io.kotless.dsl.conversion.ConversionService
import io.kotless.dsl.events.HttpRequest
import io.kotless.dsl.events.HttpResponse
import io.kotless.dsl.lang.KotlessContext
import io.kotless.dsl.lang.http.*
import io.kotless.dsl.lang.http.okResponse
import io.kotless.dsl.reflection... | 0 | null | 0 | 0 | b4dabca64109041148a741f77a0639f50eb654d5 | 2,176 | kotless | Apache License 2.0 |
app/src/main/java/bruhcollective/itaysonlab/jetispot/ui/dac/components_home/ToolbarComponent2Binder.kt | iTaysonLab | 482,292,329 | false | {"Kotlin": 442702, "Java": 87616} | package bruhcollective.itaysonlab.jetispot.ui.dac.components_home
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.statusBarsPadding
import androidx.compose.foundation.shape.... | 15 | Kotlin | 18 | 344 | 6173bfa7872ae89664fdac9e42cf36538fe71166 | 2,881 | jetispot | Apache License 2.0 |
app/src/main/java/co/astrnt/kyck/injection/component/FragmentComponent.kt | astrnt | 159,479,226 | false | null | package co.astrnt.kyck.injection.component
import co.astrnt.kyck.injection.PerFragment
import co.astrnt.kyck.injection.module.FragmentModule
import dagger.Subcomponent
/**
* This component inject dependencies to all Fragments across the application
*/
@PerFragment
@Subcomponent(modules = [FragmentModule::class])
in... | 1 | null | 1 | 1 | 4219ca01df4ae589fc1f761eed8155a39c6b74b5 | 345 | DemoSdkSampleKotlin | The Unlicense |
app/src/main/java/co/astrnt/kyck/injection/component/FragmentComponent.kt | astrnt | 159,479,226 | false | null | package co.astrnt.kyck.injection.component
import co.astrnt.kyck.injection.PerFragment
import co.astrnt.kyck.injection.module.FragmentModule
import dagger.Subcomponent
/**
* This component inject dependencies to all Fragments across the application
*/
@PerFragment
@Subcomponent(modules = [FragmentModule::class])
in... | 1 | null | 1 | 1 | 4219ca01df4ae589fc1f761eed8155a39c6b74b5 | 345 | DemoSdkSampleKotlin | The Unlicense |
src/main/kotlin/internals/instructions/memory/load.kt | ChippyPlus | 850,474,357 | false | {"Kotlin": 113521, "Python": 2374, "F#": 446, "Java": 228, "Shell": 148} | package internals.instructions.memory
import data.memory.MemoryAddress
import data.registers.RegisterType
import errors
import internalMemory
import registers
/**
* Loads a value from memory into a register.
*
* @param memoryAddress The memory address to load from.
* @param destination The destination register to... | 0 | Kotlin | 0 | 1 | 8f564320fbe226a0a1f8f6aca56b67c411f5cd68 | 738 | MVM | MIT License |
src/main/kotlin/com/github/kisaragieffective/dsl/mediawiki/struct/Node.kt | KisaragiEffective | 267,619,092 | false | null | package com.github.kisaragieffective.dsl.mediawiki.struct
interface Node {
fun toWikiText() = toString()
} | 1 | Kotlin | 0 | 0 | 2849d882ce8be02de4b26b63d52083e5d2e48486 | 111 | MediaWikiDSL | MIT License |
app/src/androidTest/java/ru/claus42/anothertodolistapp/tests/robots/TodoItemListTestRobot.kt | klauz42 | 679,216,403 | false | {"Kotlin": 257915} | package ru.claus42.anothertodolistapp.tests.robots
import androidx.recyclerview.widget.RecyclerView
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions
import androidx.test.espresso.contrib.RecyclerViewActions
import androidx.test.espresso.matcher.ViewMatchers
import androidx... | 0 | Kotlin | 0 | 0 | 5b1a0521dcff700285ba47d23c42266c99b27ca0 | 1,569 | Another-Todo-List-App | MIT License |
app/src/main/java/com/vpr/scheduleapp/data/database/schedule/converters/DirectionConverter.kt | v1p3rrr | 544,626,284 | false | {"Kotlin": 70700} | package com.vpr.scheduleapp.data.database.schedule.converters
import androidx.room.TypeConverter
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.vpr.scheduleapp.data.database.schedule.entity.DirectionEntity
class DirectionConverter {
@TypeConverter
fun fromList(value: List<Dire... | 0 | Kotlin | 0 | 1 | 3cd08a8424b5e613f3ab9c7c915b386a4d685d56 | 664 | ScheduleApp | MIT License |
completion/tests/testData/keywords/SealedWithName.kt | JetBrains | 278,369,660 | false | null | // COMPILER_ARGUMENTS: -XXLanguage:+SealedInterfaces -XXLanguage:+MultiPlatformProjects
seal<caret>
// EXIST: "sealed class SealedWithName"
// EXIST: "sealed interface SealedWithName"
// EXIST: "sealed class"
// EXIST: "sealed interface"
// NOTHING_ELSE | 186 | Kotlin | 4323 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 254 | intellij-kotlin | Apache License 2.0 |
compiler/testData/codegen/bytecodeText/invokedynamic/functionRefToJavaInterface.kt | JetBrains | 3,432,266 | false | null | // TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// SAM_CONVERSIONS: INDY
// WITH_STDLIB
// FULL_JDK
fun hello() { println("Hello, world!") }
val test = Runnable(::hello)
// JVM_TEMPLATES:
// 1 public final class FunctionRefToJavaInterfaceKt
// 1 final synthetic class FunctionRefToJavaInterfaceKt\$sam\$java_lang_Runnable\$... | 179 | null | 5706 | 48,889 | c46c3c26038158cf80a739431ac8807ac4bbbc0c | 468 | kotlin | Apache License 2.0 |
src/main/kotlin/com/insyncwithfoo/pyright/configuration/application/Configurations.kt | InSyncWithFoo | 762,967,939 | false | null | package com.insyncwithfoo.pyright.configuration.application
import com.intellij.openapi.components.BaseState
import org.jetbrains.annotations.SystemDependent
internal class Configurations : BaseState() {
var alwaysUseGlobal by property(false)
var globalExecutable by string(null)
var globalConfigurat... | 2 | null | 0 | 14 | 6a5362439a6397ef1ff8b6904be9060a9c5ea7de | 935 | pyright-for-pycharm | MIT License |
src/test/kotlin/nl/kute/asstring/core/AsStringRecursiveObjectsTest.kt | JanHendrikVanHeusden | 454,323,023 | false | {"Kotlin": 733032, "Java": 31861} | package nl.kute.asstring.core
import nl.kute.asstring.core.AsStringBuilder.Companion.asStringBuilder
import nl.kute.asstring.namedvalues.NamedSupplier
import nl.kute.helper.base.ObjectsStackVerifier
import nl.kute.helper.base.validateObjectsStack
import nl.kute.helper.helper.isObjectAsString
import nl.kute.reflection.... | 0 | Kotlin | 0 | 1 | 6d83ba7e801cdd4dc27e321c9048ead4c365766c | 15,348 | Kute | MIT License |
librococoa/src/main/kotlin/darwin/NSDraggingDestination.kt | wgpu4k | 773,068,055 | false | {"Kotlin": 1819399, "Java": 1651224, "C": 1136043, "TypeScript": 966071, "HTML": 87125, "WGSL": 68238, "JavaScript": 8101, "CSS": 5773, "Shell": 253} | package darwin
import org.rococoa.cocoa.foundation.NSUInteger
interface NSDraggingDestination {
/**
* Original signature : `NSDragOperation draggingEntered(id<NSDraggingInfo>)</NSDraggingInfo>`<br></br>
* *native declaration : line 47*
*/
fun draggingEntered(sender: org.rococoa.ID?): NSUInteger?
/**
* Or... | 1 | Kotlin | 2 | 25 | a7f0d7ffcd720e6c1a5da511655434627baff91e | 1,967 | wgpu4k | MIT License |
compose/material3/material3/src/androidUnitTest/kotlin/androidx/compose/material3/carousel/MultiBrowseTest.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 27 | null | 911 | 4,986 | 35d53e9504e8bb9a2106c39db814176c9d63046b | 5,780 | androidx | Apache License 2.0 |
discussions/discussions-stubs/src/main/kotlin/DiscStubItems.kt | Piligrim678 | 600,730,971 | false | null | package ru.music.discussions.stubs
import ru.music.common.models.*
object DiscStubItems {
val DISCUSSION_FIRST: DiscDiscussion
get() = DiscDiscussion(
id = DiscId("678"),
title = "Helpmeplz",
ownerId = DiscUserId("user-01"),
soundUrl = "www.lorem.ipsum",
... | 1 | Kotlin | 0 | 0 | 830345248c570cfbd74d5bc0455b2a451dd25dac | 722 | music | Apache License 2.0 |
app/src/main/kotlin/com/mgaetan89/showsrage/model/RealmString.kt | HD-CIPL | 61,888,053 | true | {"Kotlin": 664263} | package com.mgaetan89.showsrage.model
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
open class RealmString : RealmObject() {
@PrimaryKey
open var value: String = ""
}
| 0 | Kotlin | 0 | 0 | 27453cd388a73cc2ff9abc69109a65fbf1ac5977 | 198 | ShowsRage | Apache License 2.0 |
app/src/main/kotlin/com/aquamorph/frcmanager/fragments/AwardFragment.kt | AquaMorph | 43,819,985 | false | {"Kotlin": 172917} | package com.aquamorph.frcmanager.fragments
import android.content.SharedPreferences
import android.os.Bundle
import android.os.SystemClock
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.aquamorph.frcmanager.R
import com.aquamorph.frcmanager.adapters.AwardAdapter
im... | 12 | Kotlin | 1 | 0 | a6a2c35c06a8e7a06b19f75dee0021d1fa5e92aa | 3,308 | FRC-Manager | Apache License 2.0 |
meistercharts-history/meistercharts-history-core/src/commonMain/kotlin/com/meistercharts/history/HistoryDecimalConfiguration.kt | Neckar-IT | 599,079,962 | false | {"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114} | /**
* Copyright 2023 Neckar IT GmbH, Mössingen, Germany
*
* 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... | 3 | Kotlin | 3 | 5 | ed849503e845b9d603598e8d379f6525a7a92ee2 | 5,026 | meistercharts | Apache License 2.0 |
ECommerceTrainingProject/app/src/main/java/com/training/ecommerce/ui/home/MainActivity.kt | eslamfaisal | 757,328,403 | false | {"Kotlin": 153908, "Dart": 60034, "JavaScript": 10092, "HTML": 6764, "CSS": 1066} | package com.training.ecommerce.ui.home
import android.app.ActivityOptions
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.util.Log
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.core.splashscreen.SplashScreen.Companion.i... | 2 | Kotlin | 15 | 52 | 3348446527ef3c1e23c0ac0a9346792f3fba7c41 | 4,487 | android-development-training | MIT License |
apps/etterlatte-behandling/src/main/kotlin/behandling/omregning/OmregningService.kt | navikt | 417,041,535 | false | {"Kotlin": 3977041, "TypeScript": 855520, "Handlebars": 19431, "Shell": 9939, "HTML": 1776, "CSS": 598, "Dockerfile": 520} | package no.nav.etterlatte.behandling.omregning
import kotlinx.coroutines.runBlocking
import no.nav.etterlatte.behandling.BehandlingService
import no.nav.etterlatte.behandling.GrunnlagService
import no.nav.etterlatte.behandling.revurdering.RevurderingService
import no.nav.etterlatte.libs.common.Vedtaksloesning
import n... | 14 | Kotlin | 0 | 5 | d0b42ff1df660904897d6869868f440747ce74d5 | 1,965 | pensjon-etterlatte-saksbehandling | MIT License |
apps/etterlatte-behandling/src/main/kotlin/behandling/omregning/OmregningService.kt | navikt | 417,041,535 | false | {"Kotlin": 3977041, "TypeScript": 855520, "Handlebars": 19431, "Shell": 9939, "HTML": 1776, "CSS": 598, "Dockerfile": 520} | package no.nav.etterlatte.behandling.omregning
import kotlinx.coroutines.runBlocking
import no.nav.etterlatte.behandling.BehandlingService
import no.nav.etterlatte.behandling.GrunnlagService
import no.nav.etterlatte.behandling.revurdering.RevurderingService
import no.nav.etterlatte.libs.common.Vedtaksloesning
import n... | 14 | Kotlin | 0 | 5 | d0b42ff1df660904897d6869868f440747ce74d5 | 1,965 | pensjon-etterlatte-saksbehandling | MIT License |
rxmusicplayer/src/main/java/com/orfium/rx/musicplayer/playback/BasePlayback.kt | praycom | 177,637,363 | true | {"Kotlin": 64361, "Java": 739} | package com.orfium.rx.musicplayer.playback
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.media.AudioAttributes
import android.media.AudioFocusRequest
import android.media.AudioManager
import android.net.wifi.Wifi... | 0 | Kotlin | 0 | 0 | 6a8bc148b20e7d34e85c3740cfd333786f98cc93 | 5,936 | RxMusicPlayer-android | Apache License 2.0 |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/flight/FlightDailyRecord.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.activity.flight
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.Version.GI_1_1_0
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
@AddedIn(GI_1_1_0)
@ProtoModel
internal interface FlightDailyReco... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 453 | anime-game-multi-proto | MIT License |
app/src/main/java/com/github/leonardoz/kanbapp/view/fragment/BoardsListFragment.kt | LeonardoZ | 161,324,422 | false | null | package com.github.leonardoz.kanbapp.view.fragment
import android.app.AlertDialog
import android.content.DialogInterface
import android.os.Bundle
import android.view.LayoutInflater
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.a... | 0 | Kotlin | 0 | 0 | 55715f293518fc6b4a0bf839238629cbca134807 | 5,781 | kanbapp | MIT License |
app/src/main/java/com/test/data/model/EventsRawDTO.kt | ETSEmpiricalStudyKotlinAndroidApps | 496,716,943 | true | {"Kotlin": 111686, "Java": 1387} | package com.test.data.model
import com.google.gson.annotations.SerializedName
data class EventsRaw(
val events: List<EventRawItem>? = null,
val meta: MetaRaw? = null,
)
data class EventRawItem(
val id: String? = null,
val url: String? = null,
val title: String? = null,
@SerializedName("dateti... | 0 | null | 0 | 0 | 4a06616b14298e4003fb0ed15b012f2f1b4cd19b | 486 | RoomPaging3TestProject | Apache License 2.0 |
app/src/main/java/com/jinwoo/machine_learning_kit/MainActivity.kt | jinusong | 194,656,394 | false | null | package com.jinwoo.machine_learning_kit
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
import org.jetbrains.anko.sdk27.coroutines.onClick
import org.jetbrains.anko.startActivity
class MainActivity: AppCompatActivity() {
override fun o... | 0 | Kotlin | 0 | 0 | 00fe1ab6f22264449eef6bd885a6442c90399b05 | 725 | Machine-learning-Kit | MIT License |
server/src/main/kotlin/org/example/myhome/dto/DeviceMetaDataDto.kt | Chantico-org | 73,012,491 | false | {"Kotlin": 25440} | package org.example.myhome.dto
data class DeviceMetaDataDto(
val deviceId: String,
val firmwareVersion: Int,
val deviceKey: String,
val sensors: List<Int>,
val controls: List<Int>
)
| 6 | Kotlin | 0 | 3 | 2ee5bfacd6d9dafac60b2cacfe9c9daaa5926a99 | 193 | smart_house | MIT License |
frogocoreconsumeapi/src/main/java/com/frogobox/coreapi/sport/model/Contract.kt | frogobox | 389,577,716 | false | null | package com.frogobox.frogoconsumeapi.sport.model
import com.frogobox.frogoconsumeapi.sport.util.SportData.Contract.ID
import com.frogobox.frogoconsumeapi.sport.util.SportData.Contract.ID_PLAYER
import com.frogobox.frogoconsumeapi.sport.util.SportData.Contract.ID_TEAM
import com.frogobox.frogoconsumeapi.sport.util.Spor... | 0 | Kotlin | 6 | 7 | 1dd90a037f9acb2ba30066f753d35f7b909621a6 | 2,013 | frogo-consume-api | Apache License 2.0 |
glib-core/src/main/java/com/glib/core/ui/pager/GViewPager.kt | hgani | 223,511,724 | false | {"Kotlin": 359993, "Java": 37596} | package com.glib.core.ui.pager
import android.content.Context
import androidx.viewpager.widget.PagerAdapter
import androidx.viewpager.widget.ViewPager
import android.util.AttributeSet
import com.glib.core.ui.Ui
import com.glib.core.ui.view.ViewHelper
import java.util.*
class GViewPager : ViewPager {
private var h... | 0 | Kotlin | 0 | 0 | 9a7c56236d664f2b518310d12e5b0839382c2920 | 3,051 | glib-android | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/VaccinesRounded.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/VaccinesRounded")
package mui.icons.material
@JsName("default")
external val VaccinesRounded: SvgIconComponent
| 12 | null | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 194 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/vjson/pl/ast/FunctionInvocation.kt | wkgcass | 202,796,825 | false | null | /*
* The MIT License
*
* Copyright 2021 wkgcass (https://github.com/wkgcass)
*
* 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... | 4 | null | 35 | 43 | f88bb5752596dfec1d02116df02b870c7fccf2dd | 4,968 | vjson | MIT License |
next/kmp/browser/src/mobileMain/kotlin/org/dweb_browser/browser/desk/render/deskHelper.mobile.kt | BioforestChain | 594,577,896 | false | {"Kotlin": 3364898, "TypeScript": 796189, "Swift": 368692, "Vue": 155144, "SCSS": 39016, "Objective-C": 17350, "HTML": 16888, "Shell": 13534, "JavaScript": 4687, "Svelte": 3504, "CSS": 818} | package org.dweb_browser.browser.desk.render
import androidx.compose.foundation.gestures.awaitDragOrCancellation
import androidx.compose.foundation.gestures.awaitEachGesture
import androidx.compose.foundation.gestures.awaitFirstDown
import androidx.compose.foundation.gestures.awaitTouchSlopOrCancellation
import androi... | 62 | Kotlin | 4 | 13 | 57738069a4fbf3fc11ff64b527934698c32fecd9 | 2,115 | dweb_browser | MIT License |
DOCUMENT_STORE/src/main/kotlin/org/example/document_store/services/DocumentContentServiceImpl.kt | M4tT3d | 874,249,564 | false | {"Kotlin": 354206, "TypeScript": 180680, "JavaScript": 3610, "Dockerfile": 2844, "CSS": 2078, "HTML": 302} | package org.example.document_store.services
import jakarta.persistence.EntityNotFoundException
import jakarta.transaction.Transactional
import org.example.document_store.dtos.CreateDocumentMetadataDTO
import org.example.document_store.dtos.DocumentContentDTO
import org.springframework.security.access.prepost.PreAuthor... | 0 | Kotlin | 0 | 0 | ccad8f0a41e77e03935e548b4f03969fc051a61f | 2,083 | wa2-project-job-placement | MIT License |
yetutil/src/main/java/yet/ui/widget/listview/itemview/TextItemView.kt | yangentao | 127,633,295 | false | null | package yet.ui.widget.listview.itemview
import android.content.Context
import android.graphics.drawable.Drawable
import android.support.annotation.DrawableRes
import android.widget.TextView
import yet.theme.IconSize
import yet.theme.Space
import yet.ui.ext.*
import yet.ui.res.D
import yet.ui.res.sized
/**
* Created ... | 0 | Kotlin | 0 | 1 | c2e1330ab9cd2c57c069970628863d6a4778ed4d | 971 | ble | Apache License 2.0 |
app/src/main/java/com/sample/android/tmdb/ui/paging/main/movie/MoviesActivity.kt | Ali-Rezaei | 158,464,119 | false | null | package com.sample.android.tmdb.ui.paging.main.movie
import com.sample.android.tmdb.R
import com.sample.android.tmdb.domain.Movie
import com.sample.android.tmdb.ui.feed.NavType
import com.sample.android.tmdb.ui.paging.main.MainActivity
abstract class MoviesActivity: MainActivity<Movie>() {
protected abstract val... | 0 | null | 8 | 70 | ea80dd0481f141e55e0d06073d50676758073d34 | 508 | TMDb-Paging | The Unlicense |
order-api/src/main/kotlin/org/heeheepresso/orderapi/orderHistory/menu/dto/request/OrderMenuHistoryCreateRequest.kt | HeeHeePresso | 758,780,391 | false | {"Kotlin": 24643} | package org.heeheepresso.orderapi.orderHistory.menu.dto.request
import java.math.BigDecimal
data class OrderMenuHistoryCreateRequest(
val menuId: Long,
val price: BigDecimal,
val quantity: Int,
)
| 7 | Kotlin | 0 | 0 | 545f4409bb59b38825954208292f9a214ee430e9 | 210 | Backend | Apache License 2.0 |
app/src/main/java/com/vitorpamplona/amethyst/ui/note/types/PrivateMessage.kt | retrnull | 827,005,629 | 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... | 5 | null | 3 | 34 | d33428614279300c503770c10a4305ca2a4d5ab6 | 6,290 | garnet | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.