path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/adapter/Adapter.kt | byBackfish | 510,866,399 | false | {"Kotlin": 65429, "Java": 1232} | package adapter
import net.minecraftforge.fml.common.FMLModContainer
import net.minecraftforge.fml.common.ILanguageAdapter
import net.minecraftforge.fml.common.ModContainer
import net.minecraftforge.fml.relauncher.Side
import org.apache.logging.log4j.LogManager
import java.lang.reflect.Field
import java.lang.reflect.M... | 0 | Kotlin | 0 | 0 | d82639e486fc5d892890038f0c41b15a8854ce7b | 2,934 | AvoMod-Recode | MIT License |
app/src/main/java/org/wikipedia/views/SwipeRefreshLayoutWithScroll.kt | greatfire | 460,298,221 | false | null | package org.wikipedia.views
import android.content.Context
import android.util.AttributeSet
import android.view.View
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
class SwipeRefreshLayoutWithScroll constructor(context: Context, attrs: AttributeSet?) : SwipeRefreshLayout(context, attrs) {
var scrol... | 2 | null | 4 | 38 | 8c8de602274b0132fc5d22b394a2c47fcd0bf2eb | 510 | apps-android-wikipedia-envoy | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/boldduotone/essentionalui/CloseCircle.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.boldduotone.essentionalui
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 2,998 | SolarIconSetAndroid | MIT License |
core/src/main/java/com/amplifyframework/predictions/options/FaceLivenessSessionOptions.kt | aws-amplify | 177,009,933 | false | {"Java": 5271440, "Kotlin": 3557401, "Shell": 28043, "Groovy": 11755, "Python": 3681, "Ruby": 1874} | /*
* Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 103 | Java | 115 | 245 | c1030d45909bb6e2ace4dc195047f9c2a8630fe2 | 2,138 | amplify-android | Apache License 2.0 |
backend/src/main/kotlin/es/guillermoorellana/keynotedex/backend/external/frontmatter/GithubFrontMatterScrapper.kt | wiyarmir | 116,376,394 | false | null | package es.guillermoorellana.keynotedex.backend.external.frontmatter
import es.guillermoorellana.keynotedex.backend.external.GithubHttpClient
import es.guillermoorellana.keynotedex.backend.frontmatter.FrontMatterParser
class GithubFrontMatterScrapper(
private val githubHttpClient: GithubHttpClient,
private va... | 6 | Kotlin | 3 | 51 | ec6d7e50d5c7285e6d26f06caaca03a279af38c6 | 564 | keynotedex | Apache License 2.0 |
light/src/main/kotlin/net/kotlinx/domain/batchTask/BatchTaskRuntime.kt | mypojo | 565,799,715 | false | {"Kotlin": 1495826, "Jupyter Notebook": 13540, "Java": 9531} | package net.kotlinx.domain.batchTask
import net.kotlinx.json.gson.GsonData
/** 배치 작업 */
interface BatchTaskRuntime {
/**
* @return 한번의 실행에 다수의 로직이 리턴될 수 있음
* */
suspend fun executeLogic(option: GsonData, input: List<String>): Map<String, List<GsonData>>
} | 0 | Kotlin | 0 | 1 | 1b361a5ae8aae718f0e81768452e6803c0990e71 | 279 | kx_kotlin_support | MIT License |
android/libraries/rib-compiler-app/src/main/kotlin/com/uber/rib/compiler/TypeProcessorPipeline.kt | uber | 105,686,726 | false | {"Kotlin": 593831, "Java": 468239, "Swift": 422552, "JavaScript": 14648, "Shell": 4069, "Ruby": 2152, "Objective-C": 814} | /*
* Copyright (C) 2017. Uber Technologies
*
* 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... | 124 | Kotlin | 905 | 7,754 | 08b95b6d0ee16c1b5e02a769d8b40f0310add73a | 1,790 | RIBs | Apache License 2.0 |
core/src/test/kotlin/com/oneeyedmen/minutest/executing.kt | npryce | 153,911,934 | true | {"Kotlin": 84691} | package com.oneeyedmen.minutest
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.DynamicContainer
import org.junit.jupiter.api.DynamicNode
import org.junit.jupiter.api.DynamicTest
import java.util.stream.Stream
import kotlin.streams.asSequence
fun executeTest(tests: Stream<out Dynamic... | 0 | Kotlin | 0 | 2 | 741acdd0349a6e169eb687a5ab4054aedc7eceab | 755 | minutest | Apache License 2.0 |
test/tasks/Request7ChannelsKtTest.kt | Elm0xz | 351,789,151 | true | {"Kotlin": 34574} | package tasks
import contributors.MockGithubService
import contributors.concurrentProgressResults
import contributors.testRequestData
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.test.runBlockingTest
import org.junit.Assert
import org.junit.Test
class Request7ChannelsKtTest {
@Test
fun test... | 0 | Kotlin | 0 | 0 | f6bb1fc7da2419b1babfea9b8d7ed0f71d179462 | 982 | intro-coroutines | Apache License 2.0 |
src/jvmMain/kotlin/com/bkahlert/kommons/tracing/rendering/Style.kt | bkahlert | 323,048,013 | false | null | package com.bkahlert.kommons.tracing.rendering
import com.bkahlert.kommons.text.ANSI.FilteringFormatter
import com.bkahlert.kommons.text.ANSI.Formatter
import com.bkahlert.kommons.text.ANSI.Formatter.Companion.ToCharSequence
import com.bkahlert.kommons.text.LineSeparators
import com.bkahlert.kommons.text.takeUnlessEmp... | 7 | Kotlin | 0 | 9 | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | 2,606 | kommons | MIT License |
app/src/main/java/com/example/vonage/voicesampleapp/activities/fragments/DialerFragment.kt | Vonage-Community | 638,584,040 | false | null | package com.example.vonage.voicesampleapp.activities.fragments
import android.media.AudioManager
import android.media.ToneGenerator
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Dialo... | 0 | Kotlin | 0 | 0 | 9a55dbbc02ccc57fc57447beededdb517c92eb03 | 5,247 | sample-clientsdk-android_kotlin-voip_app | MIT License |
src/main/kotlin/users/security/ConfigureSecurity.kt | krikotnenko | 689,073,512 | false | {"Kotlin": 169460} | package users.security
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.auth.jwt.*
import io.ktor.server.sessions.*
import users.constants.USER_SESSION
import users.routes.utils.UserSession
fun Application.configureSecurity() {
JwtConfig.initialize("digi... | 0 | Kotlin | 0 | 0 | 332b375155a77cd07b97cd6d6199d6cdad27d6a5 | 1,044 | digital-adapter | MIT License |
soapui-streams-direct/src/main/kotlin/eu/k5/soapui/streams/direct/model/test/TestStepPropertiesDirect.kt | denninger-eu | 244,302,123 | false | null | package eu.k5.soapui.streams.direct.model.test
import com.eviware.soapui.impl.wsdl.teststeps.WsdlPropertiesTestStep
import com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
import com.eviware.soapui.impl.wsdl.teststeps.addProperty
import com.eviware.soapui.model.support.DefaultTestStepProperty
import e... | 5 | Kotlin | 0 | 0 | 665e54e4ac65d6c7e9805bb1b44f30f9ec702ce3 | 842 | soapui-utils | Apache License 2.0 |
net.akehurst.games.pong/computational/game/src/commonMain/kotlin/Game.kt | dhakehurst | 297,353,435 | false | null | /**
* Copyright (C) 2016 Dr. <NAME> (http://dr.david.h.akehurst.net)
*
* 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... | 0 | Kotlin | 0 | 0 | 5d62ff6d7118fd21315966f284920e72ff7a1ecc | 1,556 | games.pong | Apache License 2.0 |
sdk/src/main/java/com/exponea/sdk/repository/UniqueIdentifierRepositoryImpl.kt | exponea | 134,699,893 | false | null | package com.exponea.sdk.repository
import com.exponea.sdk.preferences.ExponeaPreferences
import java.util.UUID
internal class UniqueIdentifierRepositoryImpl(private val preferences: ExponeaPreferences) :
UniqueIdentifierRepository {
private val key = "ExponeaUniqueIdentifierToken"
override fun get():... | 0 | null | 16 | 17 | 150999cffec54fa2266e0d9db07c16143dc17a26 | 630 | exponea-android-sdk | MIT License |
src/main/kotlin/no/nav/tiltaksarrangor/client/dto/TiltakDto.kt | navikt | 616,496,742 | false | null | package no.nav.tiltaksarrangor.client.dto
data class TiltakDto(
val tiltakskode: String,
val tiltaksnavn: String
)
| 1 | Kotlin | 0 | 1 | 946b80623dfd6d45fcd16d8e6d1332b11868c4b4 | 118 | amt-tiltaksarrangor-bff | MIT License |
app/src/main/java/com/franlopez/mvpkotlin/view/base/contract/BaseView.kt | franlopjur | 118,064,184 | false | null | package com.franlopez.mvpkotlin.view.base.contract
import android.content.Context
import com.franlopez.mvpkotlin.view.base.presenter.BasePresenter
interface BaseView {
fun showError(error: String)
fun setPresenter(presenter: BasePresenter<*>)
fun getContext(): Context
} | 0 | Kotlin | 2 | 2 | 443a13e235e0366ec94ae406dcad22040e85e294 | 284 | MVPKotlin | Apache License 2.0 |
android/src/main/kotlin/com/example/get_share_options/data_classes/activity_info.kt | MoGaaber | 301,588,930 | false | null | package com.example.get_share_options.data_classes
import android.content.pm.ActivityInfo
data class ActivityInfoData(val name :String, val packageName :String) {
constructor(activityInfo: ActivityInfo):this(activityInfo.name,activityInfo.packageName)
companion object {
fun from(map: Map<String, St... | 0 | Kotlin | 0 | 0 | 418d2dc2257639b8f90457e508751a5ebbdc71f2 | 600 | share_options | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Drone.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,130 | icons | MIT License |
app/src/main/java/io/github/achmadhafid/sample_app/MainActivity.kt | AchmadHafid | 205,050,508 | false | null | package io.github.achmadhafid.sample_app
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import io.github.achmadhafid.sample_app.activity.DemoActivity
import io.github.achmadhafid.sample_app.databinding.ActivityMainBinding
import io.github.... | 0 | Kotlin | 0 | 1 | 1e3764623c66d41679407d870c77d5cf9245d675 | 2,094 | SimpleLoc | Apache License 2.0 |
increase-kotlin-core/src/test/kotlin/com/increase/api/services/blocking/CardDisputeServiceTest.kt | Increase | 614,596,742 | false | null | // File generated from our OpenAPI spec by Stainless.
package com.increase.api.services.blocking
import com.increase.api.TestServerExtension
import com.increase.api.client.okhttp.IncreaseOkHttpClient
import com.increase.api.models.*
import com.increase.api.models.CardDisputeListParams
import org.junit.jupiter.api.Tes... | 2 | null | 0 | 5 | dc1361d08cb41ff45817c2e7638f53356f15cf8e | 1,996 | increase-kotlin | Apache License 2.0 |
src/main/kotlin/DiceParser.kt | LeoColman | 371,689,729 | false | {"Java": 15344, "Kotlin": 14350, "ANTLR": 852} | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 10 | Java | 1 | 5 | b46186698681384f93b19e3e49e258602bc03acf | 1,578 | dice-helper | Apache License 2.0 |
core-android-api/src/main/java/com/jraska/github/client/core/android/HasViewModelFactory.kt | jraska | 52,918,490 | false | {"Kotlin": 377058} | package com.jraska.github.client.core.android
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
interface HasViewModelFactory {
fun factory(): ViewModelProvider.Factory
}
fun <T : ViewModel> FragmentActivity.viewModel(modelClass: Class<T>)... | 6 | Kotlin | 27 | 228 | f68f30a22be01b18647025da513276a995aed9a2 | 449 | github-client | Apache License 2.0 |
app/src/main/java/com/nux/studio/dvor/ui/components/molecules/games/InstalledGamesList.kt | AKSUMRUS | 611,184,462 | false | null | package com.nux.studio.dvor.ui.components.molecules.games
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.grid.GridCe... | 0 | null | 0 | 0 | f9b171c33807325ad068e79fa3f9dd52f685f4d1 | 3,007 | nux-application | MIT License |
browser-kotlin/src/jsMain/kotlin/web/remoteplayback/RemotePlaybackState.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.remoteplayback
import seskar.js.JsValue
sealed external interface RemotePlaybackState {
companion object {
@JsValue("connected")
val connected: RemotePlaybackState
@JsValue("connecting")
val connecting: RemotePlaybackState
... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 407 | types-kotlin | Apache License 2.0 |
domain/src/main/kotlin/com/yapp/bol/group/Group.kt | YAPP-Github | 634,125,780 | false | null | package com.yapp.bol.group
import com.yapp.bol.InvalidGroupDescriptionException
import com.yapp.bol.InvalidGroupNameException
import com.yapp.bol.InvalidGroupOrganizationException
@JvmInline
value class GroupId(val value: Long)
data class Group(
val id: GroupId = GroupId(0),
val name: String,
val descrip... | 4 | Kotlin | 0 | 9 | 0e61952c5f0b448737de1729f0df9a376875577e | 1,508 | 22nd-Android-Team-2-BE | Apache License 2.0 |
plugins/kotlin/fir/testData/quickDoc/JavaClassConstructorUsedInKotlin.kt | ingokegel | 72,937,917 | false | null | fun testing() {
SomeClassWithParen("param", 1<caret>)
}
//INFO: <div class='definition'><pre><i><span style="color:#808000;">@</span><a href="psi_element://org.jetbrains.annotations.Contract"><code><span style="color:#808000;">Contract</span></code></a><span style="">(</span><span style="">pure</span><span style="... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,225 | intellij-community | Apache License 2.0 |
app/src/main/java/org/fossasia/openevent/general/auth/ProfileFragment.kt | G-LOKi | 178,464,508 | true | {"Kotlin": 342899, "Java": 3836, "Shell": 3765} | package org.fossasia.openevent.general.auth
import androidx.appcompat.app.AlertDialog
import android.content.ActivityNotFoundException
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.... | 0 | Kotlin | 0 | 1 | 7e6d70dbfcbeb014ac9dc02ccfd66cc575697c87 | 6,532 | open-event-android | Apache License 2.0 |
Android/examples/demo/src/main/java/com/didi/aoe/examples/demo/features/classification/MnnClassifier.kt | benson3 | 228,999,923 | true | {"C++": 330969, "Java": 205329, "C": 197512, "Objective-C": 156327, "Kotlin": 78179, "Objective-C++": 19382, "Ruby": 13304, "Python": 6162, "Dart": 3291, "CMake": 1580, "Shell": 1286, "Swift": 927} | /*
* Copyright 2019 The AoE 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 agreed ... | 0 | null | 0 | 0 | e089ff5a77c6445a7a45c8ce2c691a70c09fd76a | 1,453 | AoE | Apache License 2.0 |
src/main/kotlin/de/hennihaus/services/StatisticService.kt | hennihaus | 484,714,079 | false | null | package de.hennihaus.services
import de.hennihaus.bamdatamodel.Statistic
import de.hennihaus.repositories.StatisticRepository
import de.hennihaus.repositories.StatisticRepository.Companion.ZERO_REQUESTS
import de.hennihaus.utils.toUUID
import io.ktor.server.plugins.NotFoundException
import org.koin.core.annotation.Sin... | 32 | Kotlin | 0 | 0 | d9e57a5ca5f0712671cf4e26c578c1fb22c0262f | 1,189 | bamconfigbackend | Apache License 2.0 |
app/src/main/java/io/vicknesh/passportkyc/ui/validators/DateRule.kt | roninprogrammer | 350,161,963 | false | null | package io.vicknesh.passportkyc.ui.validators
import android.content.Context
import androidx.appcompat.widget.AppCompatEditText
import com.mobsandgeeks.saripaar.QuickRule
import io.vicknesh.passportkyc.R
import java.util.regex.Pattern
class DateRule : QuickRule<AppCompatEditText>() {
override fun isValid(editTe... | 0 | Kotlin | 0 | 0 | d7172d891072db54eba5fa5d2262aa0a56934063 | 760 | kyc-passport-android | Apache License 2.0 |
periodisering/test/no/nav/tiltakspenger/libs/periodisering/periode/PeriodeTest.kt | navikt | 585,932,206 | false | {"Kotlin": 206433, "Shell": 1193} | package no.nav.tiltakspenger.libs.periodisering.periode
import io.kotest.matchers.shouldBe
import no.nav.tiltakspenger.libs.periodisering.Periode
import no.nav.tiltakspenger.libs.periodisering.inneholderOverlapp
import no.nav.tiltakspenger.libs.periodisering.juni
import no.nav.tiltakspenger.libs.periodisering.leggSamm... | 0 | Kotlin | 0 | 0 | 5b1ad349d6e355fcc67d9150ac3654ecee834dac | 16,354 | tiltakspenger-libs | MIT License |
ui/feature/list/src/main/kotlin/com/houlis/haris/picfind/feature/list/ui/viewmodel/PicturesViewModel.kt | HarisHoulis | 595,512,452 | false | {"Kotlin": 89899, "Shell": 135} | package com.houlis.haris.picfind.feature.list.ui.viewmodel
import com.houlis.haris.picfind.data.pictures.api.model.Picture
import com.houlis.haris.picfind.domain.coroutines.CloseableCoroutineScope
import com.houlis.haris.picfind.feature.list.ui.viewmodel.PicturesAction.OnNavigated
import com.houlis.haris.picfind.featu... | 9 | Kotlin | 0 | 0 | 0e6b4ad83ace186069861f3fc61cd4b7480a2b51 | 1,431 | PicFind | Apache License 2.0 |
portal/src/jvmMain/kotlin/com/sourceplusplus/portal/display/views/TracesView.kt | kaizhiyu | 327,907,510 | true | {"Kotlin": 571623, "Java": 10932, "CSS": 8168, "JavaScript": 3693, "HTML": 2027} | package com.sourceplusplus.portal.display.views
import com.sourceplusplus.portal.model.TraceDisplayType
import com.sourceplusplus.protocol.artifact.trace.TraceOrderType
import com.sourceplusplus.protocol.artifact.trace.TraceResult
import com.sourceplusplus.protocol.artifact.trace.TraceStack
import com.sourceplusplus.p... | 0 | null | 0 | 0 | f5f1549c1e0d5a65bf1745bbbef69702854e99ee | 2,587 | SourceMarker | Apache License 2.0 |
portal/src/jvmMain/kotlin/com/sourceplusplus/portal/display/views/TracesView.kt | kaizhiyu | 327,907,510 | true | {"Kotlin": 571623, "Java": 10932, "CSS": 8168, "JavaScript": 3693, "HTML": 2027} | package com.sourceplusplus.portal.display.views
import com.sourceplusplus.portal.model.TraceDisplayType
import com.sourceplusplus.protocol.artifact.trace.TraceOrderType
import com.sourceplusplus.protocol.artifact.trace.TraceResult
import com.sourceplusplus.protocol.artifact.trace.TraceStack
import com.sourceplusplus.p... | 0 | null | 0 | 0 | f5f1549c1e0d5a65bf1745bbbef69702854e99ee | 2,587 | SourceMarker | Apache License 2.0 |
app/src/main/java/com/lucianghimpu/matchmefy/presentation/settings/SettingsViewModel.kt | GhimpuLucianEduard | 234,163,348 | false | null | package com.lucianghimpu.matchmefy.presentation.settings
import android.app.Application
import android.content.Context
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.lucianghimpu.matchmefy.BuildConfig
import com.lucianghimpu.matchmefy.Ma... | 0 | Kotlin | 0 | 2 | 5a34aef2592417e05386ee3cff334f0ca9e4fe53 | 6,410 | Matchmefy | MIT License |
android/src/main/java/com/reactnativeawesomemodule/AwesomeModuleModule.kt | appscore-ahmed | 292,494,705 | false | {"Java": 6327, "Ruby": 4174, "Kotlin": 3583, "Objective-C": 3492, "TypeScript": 2024, "JavaScript": 1419, "Swift": 310, "C": 103} | package com.reactnativeawesomemodule
import com.facebook.react.bridge.Promise
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
class AwesomeModuleModule(reactContext: ReactApplicationContext)
: ReactConte... | 1 | null | 1 | 1 | 2d28b8d9b673ad9fdd52ab5bd8d9c07ef75f83cf | 712 | native-modules | MIT License |
viewmodel-inject-processor/src/main/java/com/rightpoint/inject/viewmodel/processor/internal/javapoet.kt | Rightpoint | 160,531,828 | false | {"Gradle": 6, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 3, "XML": 15, "Kotlin": 17, "Java": 3, "YAML": 1} | package com.rightpoint.inject.viewmodel.processor.internal
import com.squareup.javapoet.ClassName
import com.squareup.javapoet.TypeName
import javax.lang.model.element.TypeElement
import javax.lang.model.type.TypeMirror
import kotlin.reflect.KClass
fun TypeElement.toClassName(): ClassName = ClassName.get(this)
fun Ty... | 0 | Kotlin | 0 | 2 | 0202d3f4fb6d63e21e5a621dce564e66cef257d0 | 966 | viewmodel-inject | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/wrongPrimitive/longToDouble.kt | JetBrains | 2,489,216 | false | null | // "Change to '1.0'" "true"
val a : Double = 1L<caret>
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrongPrimitiveLiteralFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.fixes.WrongPrimitiveLiteralFix | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 227 | intellij-community | Apache License 2.0 |
beam-client/src/commonMain/kotlin/dev/d1s/beam/client/SpaceModificationBuilder.kt | d1snin | 632,895,652 | false | {"Kotlin": 442067, "Shell": 1236, "JavaScript": 597} | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 1 | Kotlin | 0 | 0 | 21e4f15c74bc3b6f5cfed0363c9fefd0eb64b8b0 | 2,880 | beam | Apache License 2.0 |
bottombarview/src/main/java/ksughosh/github/com/bottombarview/BottomBarItemView.kt | ksughosh | 135,302,255 | false | {"Kotlin": 43729, "Java": 1171} | package ksughosh.github.com.bottombarview
import android.annotation.SuppressLint
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.drawable.Drawable
import android.support.annotation.DrawableRes
import android.support.annotation.LayoutRes
import android.support.v4.content... | 0 | Kotlin | 0 | 0 | 9d8a500f89bdea6cb8c6f8bfebce028d938182b8 | 12,015 | BottomBarExtended | Apache License 2.0 |
plugins/terminal/src/org/jetbrains/plugins/terminal/TerminalShellCommandAction.kt | MariEliseeva | 274,344,817 | false | {"Text": 4090, "XML": 4734, "Ant Build System": 13, "Shell": 537, "Markdown": 309, "Ignore List": 80, "Git Attributes": 9, "Batchfile": 30, "SVG": 2098, "Java": 66424, "C++": 20, "HTML": 2392, "Kotlin": 6013, "DTrace": 1, "Gradle": 59, "Java Properties": 109, "INI": 280, "JFlex": 27, "CSS": 53, "Objective-C": 19, "Groo... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.terminal
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
class TerminalShellCommandAction ... | 1 | null | 1 | 1 | 49e18fabdfc048f1d304e5d62b7a91a4552eb46c | 388 | intellij-community | Apache License 2.0 |
src/test/kotlin/QValueTest.kt | farble1670 | 542,793,187 | false | {"Kotlin": 4740} | import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertTrue
import org.junit.Test
class QValueTest {
@Test
fun testNullValue() {
val values = QValue.decode(null)
assertNotNull(values)
assertTrue(values.isEmpty())
}
@Test
fun testEmptyValue() {
... | 0 | Kotlin | 0 | 0 | faf52c7a3c2c2f5be846775248729f63c77a2364 | 2,646 | qualitylist | Apache License 2.0 |
app/src/main/java/com/example/neoticket/view/main/movie/DetailMovieInCinemaFragment.kt | rybakova-auca-2021 | 747,738,666 | false | {"Kotlin": 442862} | package com.example.neoticket.view.main.movie
import DetailImageAdapter
import ScheduleAdapter
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.vie... | 0 | Kotlin | 0 | 0 | 7b7a198cc176704e613ee794176463935480b3aa | 7,039 | NeoTicket | MIT License |
idea/idea-gradle/src/org/jetbrains/kotlin/idea/inspections/gradle/GradleKotlinxCoroutinesDeprecationInspection.kt | latheesh123 | 141,489,330 | true | {"Kotlin": 28539168, "Java": 7544965, "JavaScript": 153376, "HTML": 65245, "Lex": 18269, "ANTLR": 9797, "IDL": 8755, "Shell": 6769, "CSS": 4679, "Batchfile": 4437, "Groovy": 4358} | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.inspections.gradle
import com.intellij.codeInspection.CleanupLocalInspectionTool
import com.intellij.codeInspection.Probl... | 0 | Kotlin | 0 | 0 | 094cb6be1d351022a1d6a8cdcd1c30f74a6c82e3 | 5,536 | kotlin | Apache License 2.0 |
app/src/main/kotlin/com/androidvip/sysctlgui/di/PresentationModule.kt | Lennoard | 203,049,890 | false | {"Kotlin": 209071} | package com.androidvip.sysctlgui.di
import com.androidvip.sysctlgui.ui.export.ExportOptionsViewModel
import com.androidvip.sysctlgui.ui.main.MainViewModel
import com.androidvip.sysctlgui.ui.params.browse.BrowseParamsViewModel
import com.androidvip.sysctlgui.ui.params.edit.EditParamViewModel
import com.androidvip.sysct... | 2 | Kotlin | 8 | 61 | ab2654de5326a131d03cc0e6883aa860822ed0de | 1,056 | SysctlGUI | MIT License |
client/src/commonTest/kotlin/documentation/guides/results/mustdo/GuideConfigureSearchableAttributes.kt | algolia | 153,273,215 | false | {"Kotlin": 1346247, "Dockerfile": 163} | package documentation.guides.results.mustdo
import com.algolia.search.dsl.searchableAttributes
import com.algolia.search.dsl.settings
import documentation.index
import runBlocking
import kotlin.test.Ignore
import kotlin.test.Test
@Ignore
internal class GuideConfigureSearchableAttributes {
@Test
fun snippet1... | 8 | Kotlin | 23 | 59 | 21f0c6bd3c6c69387d1dd4ea09f69a220c5eaff4 | 1,235 | algoliasearch-client-kotlin | MIT License |
rumascot-common/src/commonMain/kotlin/models/AdFilterRum.kt | mathemator | 586,045,497 | false | null | package ru.otus.otuskotlin.marketplace.common.models
data class AdFilterRum(
var searchString: String = "",
var ownerId: UserIdRum? = null,
var dealSide: DealSideRum = DealSideRum.NONE,
)
| 2 | Kotlin | 0 | 0 | 633640f3c74b3d5a352052bbce9fd6358881953a | 201 | goppeav-kotlin-2022-12 | Apache License 2.0 |
app/src/main/java/com/example/mear/playback/service/MusicService.kt | mura-t | 218,382,597 | true | {"Kotlin": 86112, "C++": 45505, "CMake": 2421, "C": 389} | package com.example.mear.playback.service
import android.app.Service
import android.content.Context
import android.content.Intent
import android.media.MediaPlayer
import android.net.Uri
import android.os.Binder
import android.os.Environment
import android.os.IBinder
import android.widget.Toast
import java.lang.Except... | 0 | null | 0 | 0 | 6221969d6b50b88092b117d29bccb7a1ecd5ccd2 | 8,455 | Mear | MIT License |
app/src/main/java/pl/serfa/thingspeaker/database/UserChannelDao.kt | sgozdzik | 187,772,330 | false | null | package pl.serfa.thingspeaker.database
import androidx.room.*
import pl.serfa.thingspeaker.models.UserChannel
@Dao
interface UserChannelDao {
@Query("SELECT * FROM channels")
suspend fun getAll(): List<UserChannel>
@Insert
suspend fun insert(userChannel: UserChannel)
@Insert
suspend fun ins... | 11 | Kotlin | 0 | 0 | bdc76ade979081d4da7b932c77fd9b12340cc35c | 492 | thingspeaker | Apache License 2.0 |
src/jvmTest/kotlin/lt/libredrop/peerdiscovery/PeerDiscoveryTest.kt | libredrop | 207,655,407 | false | null | package lt.libredrop.peerdiscovery
import com.nhaarman.mockitokotlin2.*
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
import lt.libredrop.peerdiscovery.data.Peer
import lt.libredrop.peerdiscovery.network.NetworkDriver
import lt.libredrop.peerdiscovery.network.randomUUID
import lt.libredrop.peerdiscovery... | 1 | Kotlin | 0 | 2 | 88bbd210fe3e6db4863717799a410a3aae1734cd | 4,310 | peer-discovery-kotlin | MIT License |
src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/common/entity/AqumarineTridentEntity.kt | RealYusufIsmail-Mc-Mods | 585,447,214 | false | {"Kotlin": 864508, "Java": 165671, "Batchfile": 155} | /*
* Copyright 2024 RealYusufIsmail.
*
*
* 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 ... | 7 | Kotlin | 0 | 2 | f778a0b824069b52d8e539734e1dc718c18d5c2f | 1,651 | TemporalSmith | Apache License 2.0 |
common/src/commonMain/kotlin/io/xorum/codeforceswatcher/network/responses/codeforces/CodeforcesContestsResponse.kt | dush1729 | 363,466,510 | true | {"Kotlin": 218758, "Swift": 206579, "Ruby": 2648} | package io.xorum.codeforceswatcher.network.responses.codeforces
import io.xorum.codeforceswatcher.features.contests.models.Contest
import kotlinx.serialization.Serializable
@Serializable
internal data class CodeforcesContestsResponse(
val status: String,
val result: List<Contest>
) | 0 | null | 0 | 1 | 29f2ecf89cac7d414ab73b057abbc94212d785ff | 300 | codeforces_watcher | MIT License |
domain/core/data/source/src/test/kotlin/net/meilcli/hubber/core/data/source/store/PickPreferenceDataTest.kt | MeilCli | 634,432,059 | false | null | package net.meilcli.hubber.core.data.source.store
import androidx.datastore.preferences.core.PreferenceDataStoreFactory
import androidx.datastore.preferences.core.intPreferencesKey
import com.google.common.truth.Truth
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.ExperimentalCoroutinesApi
import k... | 0 | Kotlin | 0 | 0 | 3f9660ce2cbc23c324ab7e5ad86c43d2551893c7 | 2,151 | hubber | MIT License |
compiler-plugin/src/main/kotlin/com/google/devtools/ksp/processing/impl/MessageCollectorBasedKSPLogger.kt | davidjwiner | 331,542,353 | true | {"Kotlin": 633108, "Java": 10586} | /*
* Copyright 2020 Google LLC
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
*
* 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.apac... | 0 | null | 0 | 0 | 3fe1c1fcceaeb598c7bf1eccce31b9dfaa197731 | 2,831 | ksp | Apache License 2.0 |
app/src/main/kotlin/net/tlalka/fiszki/core/annotations/SessionScope.kt | jtlalka | 52,197,843 | false | null | package net.tlalka.fiszki.core.annotations
import javax.inject.Scope
@Scope
annotation class SessionScope
| 0 | Kotlin | 0 | 2 | 7e7c2aba5d9a1634a5b295319ec1bb5a4b5a7aa0 | 108 | fiszki | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonerfromnomismigration/incidents/IncidentsNomisApiServiceTest.kt | ministryofjustice | 452,734,022 | false | {"Kotlin": 2820723, "Shell": 2955, "Mustache": 1803, "Dockerfile": 1377} | package uk.gov.justice.digital.hmpps.prisonerfromnomismigration.incidents
import com.github.tomakehurst.wiremock.client.WireMock.anyUrl
import com.github.tomakehurst.wiremock.client.WireMock.equalTo
import com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor
import com.github.tomakehurst.wiremock.client.Wir... | 1 | Kotlin | 1 | 2 | 1e1dcd50796c5d6412167ba62e855e3d7935b3cd | 7,889 | hmpps-prisoner-from-nomis-migration | MIT License |
app/src/main/java/np/com/siddharthaghimire/shuffly/data/api/TiktokApi.kt | ghimiresiddhartha | 826,586,560 | false | {"Kotlin": 82328} | /*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | b292f04ca27d554f635d914656ddc386746dba52 | 2,088 | shuffly-app | Apache License 2.0 |
app/src/main/java/com/alpha/dev/schedule_dark_theme/ThemeDialog.kt | shank03 | 285,741,412 | false | null | /*
* Copyright (c) 2023, Shashank Verma <shashank.verma2002@gmail.com>
*
* 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
* t... | 1 | null | 1 | 1 | de1a89678e610c7f712da08ca0c3f61ee5995cc5 | 2,971 | Schedule-Dark-Theme | MIT License |
src/sketches/FlowLines.kt | JBWills | 291,822,812 | false | null | package sketches
import appletExtensions.withStroke
import controls.controlsealedclasses.Slider.Companion.slider
import controls.controlsealedclasses.Toggle.Companion.toggle
import controls.panels.ControlStyle
import controls.panels.TabsBuilder.Companion.tabs
import controls.panels.panelext.noisePanel
import controls.... | 0 | Kotlin | 0 | 0 | 569b27c1cb1dc6b2c37e79dfa527b9396c7a2f88 | 6,516 | processing-sketches | MIT License |
integration-tests/hibernate-reactive-panache-kotlin/src/main/kotlin/io/quarkus/it/panache/reactive/kotlin/TestEndpoint.kt | patrox | 377,393,180 | false | null | @file:Suppress("ReactiveStreamsUnusedPublisher")
package io.quarkus.it.panache.reactive.kotlin
import io.quarkus.hibernate.reactive.panache.Panache
import io.quarkus.hibernate.reactive.panache.common.runtime.ReactiveTransactional
import io.quarkus.hibernate.reactive.panache.kotlin.PanacheEntityBase
import io.quarkus.... | 22 | null | 4 | 3 | f29b28887af4b50e7484dd1faf252b15f1a9f61a | 73,043 | quarkus | Apache License 2.0 |
fastjson1_compatible/src/test/java/com/alibaba/json/bvt/issue_3200/Issue3274.kt | wenshao | 484,097,799 | false | null | package com.alibaba.json.bvt.issue_3200
import com.alibaba.fastjson.JSON
import junit.framework.Assert.assertEquals
import org.junit.Test
import java.util.*
class TestFJ {
@Test
fun test() {
val str = """
{"data": {"id": "1", "name":"n1"}}
""".trimIndent()
val d1 = JSON.... | 458 | null | 6516 | 6 | bcbf4a6b9b797405e5f5ccfec450a0425ada1efb | 681 | fastjson2 | Apache License 2.0 |
kotlinpleaseanimate/src/main/java/com/github/florent37/kotlin/pleaseanimate/core/Expectations.kt | prashant31191 | 132,580,495 | true | {"Kotlin": 80512, "Java": 1291, "Shell": 165} | package com.github.florent37.kotlin.pleaseanimate.core
import android.view.View
import com.github.florent37.kotlin.pleaseanimate.GravityIntDef
import com.github.florent37.kotlin.pleaseanimate.GravityScaleHorizontalIntDef
import com.github.florent37.kotlin.pleaseanimate.GravityScaleVerticalIntDef
import com.github.flor... | 0 | Kotlin | 0 | 0 | 5d833fc28651ab2d50d6b1b29a190feb9d8d2a38 | 11,965 | KotlinPleaseAnimate | Apache License 2.0 |
sdks/android/sdk/channel-sdk/src/main/java/com/zello/channel/sdk/platform/PowerManagerReceiver.kt | Allanksr | 234,402,022 | true | {"Kotlin": 138788, "Java": 79058, "JavaScript": 71505, "Objective-C": 56519, "HTML": 46852, "C++": 29497, "SCSS": 4600, "Makefile": 4082, "Go": 2473, "PHP": 1546, "C": 810, "Ruby": 441} | package com.zello.channel.sdk.platform
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
internal class PowerManagerReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
PowerManager.get(context).onTimerBroadcast(intent)
}
... | 0 | Kotlin | 0 | 1 | 221ee2ef809acfd5bbb3de4bff03e40a35cd4218 | 323 | zello-channel-api | MIT License |
core/src/main/kotlin/SourceUtilities.kt | cs124-illinois | 584,151,809 | false | null | @file:Suppress("TooManyFunctions", "SpellCheckingInspection")
package edu.illinois.cs.cs125.jeed.core
import edu.illinois.cs.cs125.jeed.core.antlr.JavaLexer
import edu.illinois.cs.cs125.jeed.core.antlr.JavaParser
import edu.illinois.cs.cs125.jeed.core.antlr.JavaParserBaseListener
import edu.illinois.cs.cs125.jeed.cor... | 4 | null | 9 | 2 | d79493ae6d80a44f89fea02355f30e32608d93c7 | 10,601 | jeed | MIT License |
idea/src/org/jetbrains/kotlin/idea/intentions/RemoveSingleExpressionStringTemplateIntention.kt | JetBrains | 278,369,660 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.intentions
import com.intellij.openapi.editor.Editor
import org.jetbrains.kotlin.builtins.KotlinBuiltIns
import org.jetbrains... | 191 | null | 4372 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 2,118 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/game/collider/MainActivity.kt | holman57 | 387,668,866 | false | null | package com.game.collider
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.game.collider.components.GameView
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(GameView... | 0 | Kotlin | 0 | 1 | 593b033732a70767189a5be16028bf26256199f6 | 336 | collider | Apache License 2.0 |
app/src/main/java/com/kickstarter/viewmodels/usecases/LoginUseCase.kt | kickstarter | 76,278,501 | false | null | package com.kickstarter.viewmodels.usecases
import com.kickstarter.libs.Environment
import com.kickstarter.libs.rx.transformers.Transformers
import com.kickstarter.models.User
import rx.Observable
class LoginUseCase(environment: Environment) {
private val currentUser = requireNotNull(environment.currentUser())
... | 8 | null | 995 | 5,726 | ef09e761e98f5c4efa0388003678ff3d7b78b61e | 1,894 | android-oss | Apache License 2.0 |
src/main/kotlin/io/provenance/p8e/plugin/Dsl.kt | provenance-io | 353,052,402 | false | null | package io.provenance.p8e.plugin
// TODO implement type safe builders
// https://kotlinlang.org/docs/type-safe-builders.html#how-it-works
open class P8ePartyExtension {
var publicKey: String = ""
}
open class P8eLocationExtension {
var encryptionPrivateKey: String? = ""
var signingPrivateKey: String? = ""... | 2 | Kotlin | 1 | 2 | 620057b8df915893989435284befdc7a0f05bfc4 | 999 | p8e-gradle-plugin | Apache License 2.0 |
Demos/Micronaut/src/main/kotlin/com/groupdocs/ui/config/ApplicationConfigFactory.kt | groupdocs-comparison | 65,550,714 | false | null | package com.groupdocs.ui.viewer.micronaut.config
import com.typesafe.config.ConfigFactory
import io.github.config4k.extract
import io.micronaut.context.annotation.Factory
import jakarta.inject.Singleton
@Factory
class ApplicationConfigFactory {
@Singleton
fun config(): ApplicationConfig {
val parsedC... | 5 | null | 9 | 7 | 4d289958d8fc6ab338bbcfca8e82d237b71838be | 445 | GroupDocs.Comparison-for-Java | MIT License |
ts-socket/src/main/kotlin/cn/tursom/datagram/server/ServerNioDatagram.kt | tursom | 213,611,087 | false | {"YAML": 1, "Gradle Kotlin DSL": 45, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Kotlin": 616, "Java": 6, "INI": 1, "Markdown": 3} | package cn.tursom.datagram.server
import cn.tursom.core.buffer.ByteBuffer
import cn.tursom.core.pool.MemoryPool
import cn.tursom.core.timer.TimerTask
import cn.tursom.core.timer.WheelTimer
import cn.tursom.datagram.NioDatagram
import cn.tursom.niothread.NioThread
import kotlinx.coroutines.suspendCancellableCoroutine
i... | 0 | Kotlin | 2 | 8 | fc31966b5c49a7aaf94a4ff7327be7f5ebd6806a | 1,856 | TursomServer | MIT License |
kzen-lib-common/src/jvmMain/kotlin/tech/kzen/lib/platform/PlatformMirror.kt | alexoooo | 130,935,552 | false | null | package tech.kzen.lib.platform
import tech.kzen.lib.common.reflect.ClassMirror
import kotlin.reflect.full.primaryConstructor
actual object PlatformMirror: ClassMirror {
actual override fun contains(className: ClassName): Boolean {
return try {
Class.forName(className.get())
true
... | 1 | Kotlin | 0 | 0 | 9c0d41824ec965855a6dd0beaccd3f638184327b | 1,047 | kzen-lib | MIT License |
android/src/com/android/tools/idea/res/ResourceIdManagerImpl.kt | JetBrains | 60,701,247 | false | {"Kotlin": 49550960, "Java": 35837871, "HTML": 1217714, "Starlark": 909188, "C++": 357481, "Python": 106384, "C": 71782, "Lex": 66732, "NSIS": 58538, "AIDL": 35382, "Shell": 26938, "CMake": 26798, "JavaScript": 18437, "Smali": 7580, "Batchfile": 6951, "RenderScript": 4411, "Makefile": 2495, "IDL": 269, "QMake": 18} | /*
* 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... | 3 | Kotlin | 228 | 921 | dbd9aeae0dc5b8c56ce2c7d51208ba26ea0f169b | 1,082 | android | Apache License 2.0 |
android/quest/src/main/java/org/smartregister/fhircore/quest/ui/geowidget/GeoWidgetLauncherViewModel.kt | opensrp | 339,242,809 | false | {"Kotlin": 3034140, "Java": 4967, "JavaScript": 3548, "CSS": 459} | /*
* Copyright 2021-2024 Ona Systems, 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 o... | 192 | Kotlin | 56 | 56 | 64a55e6920cb6280cf02a0d68152d9c03266518d | 11,085 | fhircore | Apache License 2.0 |
app/app/src/main/java/com/ingjuanocampo/enfila/android/home/history/FragmentHistory.kt | ingjuanocampo | 387,043,993 | false | {"Kotlin": 240432} | package com.ingjuanocampo.enfila.android.home.history
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.navigation.fragment.N... | 0 | Kotlin | 0 | 0 | decebb226be191ec6382a7d60a97c5598d3f1bdf | 2,496 | EnFila-Android | MIT License |
schedule/src/main/kotlin/com/itavgur/omul/schedule/config/TransportPersonnelMockConfig.kt | itAvgur | 211,451,348 | false | {"Kotlin": 295751, "Smarty": 4371, "Dockerfile": 1120} | package com.itavgur.omul.schedule.config
import com.itavgur.omul.schedule.domain.PersonnelInfo
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.context.annotation.Configuration
@Configuration
@ConditionalOnProperty("transport.personnel.type", havingValue = "mock... | 1 | Kotlin | 1 | 0 | 332e2ae6213bfdec1179949d98b37fc84a234cdb | 653 | omul | The Unlicense |
app/src/main/java/com/android/mindmaster/Model/AppBlockModel.kt | ArmanKhanTech | 661,690,640 | false | null | package com.android.mindmaster.Model
import android.graphics.drawable.Drawable
data class AppBlockModel(
val appName: String,
val packageName: String,
val icon: Drawable,
val extra: String,
val blocked: Boolean?
) | 0 | null | 0 | 11 | 6f1678269e516d9765a8e759714a9c77af052ab7 | 235 | MindMaster | MIT License |
token-validation-core/src/main/kotlin/no/nav/security/token/support/core/exceptions/AnnotationRequiredException.kt | navikt | 124,397,000 | false | {"Kotlin": 363248} | package no.nav.security.token.support.core.exceptions
import java.lang.reflect.Method
import no.nav.security.token.support.core.validation.JwtTokenAnnotationHandler.Companion.SUPPORTED_ANNOTATIONS
class AnnotationRequiredException(message : String) : RuntimeException(message) {
constructor(method : Method) : this(... | 8 | Kotlin | 7 | 15 | ce4dae36cfdd452cfbbe5477657bd2ea0ff1f346 | 485 | token-support | MIT License |
src/main/kotlin/com/tang/hwplib/builder/etc/UnknownRecordBuilder.kt | accforaus | 169,677,219 | false | null | package com.tang.hwplib.builder.etc
import com.tang.hwplib.builder.interfaces.HWPBuilder
import com.tang.hwplib.objects.etc.UnknownRecord
class UnknownRecordBuilder : HWPBuilder<UnknownRecord> {
private val unknownRecord : UnknownRecord = UnknownRecord.build()
fun setHeader(headerBuilder: HWPRecordHeaderBuil... | 1 | null | 7 | 22 | b828271f12a885dece5af5aa6281a1b2cf84d459 | 592 | libhwp | Apache License 2.0 |
app/src/main/kotlin/org/andstatus/app/net/social/ConnectionTwitterGnuSocial.kt | andstatus | 3,040,264 | false | null | /*
* Copyright (C) 2013 yvolk (<NAME>), http://yurivolkov.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 86 | null | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 13,192 | andstatus | Apache License 2.0 |
app/src/main/java/com/breezemobilearndemo/features/photoReg/present/DsStatusListner.kt | DebashisINT | 865,412,474 | false | {"Kotlin": 17660089, "Java": 1030592} | package com.breezemobilearndemo.features.photoReg.present
import com.breezemobilearndemo.app.domain.ProspectEntity
import com.breezemobilearndemo.features.photoReg.model.UserListResponseModel
interface DsStatusListner {
fun getDSInfoOnLick(obj: ProspectEntity)
} | 0 | Kotlin | 0 | 0 | 39c92ae61a900f4760abfa9e177272e2bc4d47da | 268 | MobiLearn_Demo | Apache License 2.0 |
context/vehicle/src/main/kotlin/com/github/caay2000/ttk/context/vehicle/world/secondary/database/InMemoryWorldRepository.kt | caay2000 | 489,137,393 | false | {"Kotlin": 177204, "Python": 1616} | package com.github.caay2000.ttk.context.vehicle.world.secondary.database
import arrow.core.Either
import arrow.core.Option
import arrow.core.flatten
import arrow.core.toOption
import com.github.caay2000.ttk.context.shared.domain.StopId
import com.github.caay2000.ttk.context.shared.domain.WorldId
import com.github.caay... | 0 | Kotlin | 0 | 0 | 7691e2c8922aab61374b40481b945886401a77b9 | 1,322 | transport-tycoon-kata | MIT License |
vertx/core/src/test/kotlin/io/bluetape4k/vertx/AbstractVertxTest.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.vertx
import io.bluetape4k.logging.KLogging
abstract class AbstractVertxTest {
companion object: KLogging()
}
| 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 138 | bluetape4k | MIT License |
src/main/kotlin/no/nav/familie/ef/søknad/infrastruktur/health/FamilieIntegrasjonHealthIndicator.kt | navikt | 204,012,464 | false | {"Kotlin": 377198, "Dockerfile": 215} | package no.nav.familie.ef.søknad.infrastruktur.health
import no.nav.familie.ef.søknad.kodeverk.FamilieIntegrasjonerClient
import no.nav.familie.http.health.AbstractHealthIndicator
import org.springframework.stereotype.Component
@Component
internal class FamilieIntegrasjonHealthIndicator(familieIntegrasjonerClient: Fa... | 0 | Kotlin | 1 | 1 | 36a1235f6e63719a3f595477290c288f454503e9 | 429 | familie-ef-soknad-api | MIT License |
app/src/main/java/br/com/heiderlopes/pokemonwstemplatev2/presentation/formpokemon/FormPokemonViewModel.kt | DaniloP85 | 573,220,233 | false | null | package br.com.heiderlopes.pokemonwstemplatev2.presentation.formpokemon
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import br.com.heiderlopes.pokemonwstemplatev2.domain.model.Pokemon
import br.com.heiderlopes.... | 0 | Kotlin | 0 | 1 | 509d623a55fad8b99243c274be97a3faf01a02fa | 2,020 | pokedex-25mob | MIT License |
app/src/main/java/com/merxury/blocker/util/StringUtil.kt | lihenggui | 115,417,337 | false | null | package com.merxury.blocker.util
import java.io.PrintWriter
import java.io.StringWriter
object StringUtil {
@JvmStatic
fun getStackTrace(error: Throwable): String {
val errors = StringWriter()
error.printStackTrace(PrintWriter(errors))
return errors.toString()
}
} | 14 | Kotlin | 37 | 323 | bf2979d5b94c60ab3a172cfec0fff38420e10519 | 302 | blocker | Apache License 2.0 |
src/main/kotlin/com/dorachat/templates/recipes/app_package/res/layout/swipeLayoutActivityXml.kt | dora4 | 515,769,230 | false | {"Kotlin": 56529} | /*
* Copyright (C) 2022 The Dora 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 applic... | 0 | Kotlin | 5 | 8 | bdbc66bb809f7b9bf72f94ea9c89b090f313f6c6 | 1,692 | dora-studio-plugin | Apache License 2.0 |
lattekit-core/src/main/java/io/lattekit/plugin/css/CssAccessory.kt | maannajjar | 54,922,229 | false | null | package io.lattekit.plugin.css
import android.content.res.ColorStateList
import android.content.res.Resources
import android.graphics.Color
import android.graphics.Outline
import android.graphics.Rect
import android.graphics.drawable.*
import android.os.Build
import android.view.View
import android.view.ViewGroup
impo... | 12 | Kotlin | 18 | 173 | bcc1e4e759c5be62db30b6398de63555c5b24726 | 8,443 | lattekit | MIT License |
src/main/kotlin/pl/karol202/sock/connection/Connection.kt | karol-202 | 158,872,049 | false | null | package pl.karol202.sock.connection
import pl.karol202.plumber.TerminalBiLayer
import pl.karol202.sock.PublicApi
@PublicApi
interface Connection : TerminalBiLayer<ByteArray>
{
@PublicApi
fun connect()
@PublicApi
fun read(): ByteArray
@PublicApi
fun send(data: ByteArray)
@PublicApi
fun close()
override fu... | 0 | Kotlin | 0 | 0 | 1447eece9f25b2a88799a7c46d7f88f450ef667d | 417 | Sock | MIT License |
src/main/kotlin/no/nav/k9/los/aksjonspunktbehandling/AksjonspunktStreamK9.kt | navikt | 238,874,021 | false | {"Kotlin": 1849311, "Shell": 899, "JavaScript": 741, "Dockerfile": 447, "PLpgSQL": 167} | package no.nav.k9.los.aksjonspunktbehandling
import no.nav.k9.los.Configuration
import no.nav.k9.los.integrasjon.kafka.IKafkaConfig
import no.nav.k9.los.integrasjon.kafka.ManagedKafkaStreams
import no.nav.k9.los.integrasjon.kafka.ManagedStreamHealthy
import no.nav.k9.los.integrasjon.kafka.ManagedStreamReady
import org... | 9 | Kotlin | 0 | 0 | ffcb0509d7ddde1da6f0e6d4fc7aab873301efd6 | 2,907 | k9-los-api | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/Escalator.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,654 | icons | MIT License |
services/match-service/domain/src/main/kotlin/nl/runnable/gigmatch/domain/vacancy/VacancyCancelledEvent.kt | laurens-runnable | 595,664,400 | false | null | package nl.runnable.gigmatch.domain.vacancy
class VacancyCancelledEvent
| 0 | Kotlin | 0 | 0 | 961260f0c6e96be9d8e17c9772adb5169ea11bf0 | 73 | gigmatch | The Unlicense |
buildSrc/src/main/java/Dependencies.kt | VladimirWrites | 79,385,776 | false | null |
object Versions {
const val kotlin = "2.0.20"
const val android_x = "1.7.0"
const val circleindicator = "2.1.6"
const val junit = "4.13.2"
const val mockito_core = "4.5.1"
const val mockito_kotlin = "4.0.0"
const val truth = "1.1.3"
const val robolectric = "4.7.3"
const val grad... | 0 | Kotlin | 43 | 427 | e2410addd33d5379157ff8b22d4d3909f0d2b303 | 1,522 | Lemniscate | Apache License 2.0 |
video_trimmer_library/src/main/java/com/amp/trimmy/utils/UiThreadExecutor.kt | Amal92 | 272,075,455 | false | null | /**
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
*
*
* 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 ... | 2 | null | 22 | 5 | 219cc279c35251bd383a0583d3d4c2e735935948 | 3,242 | Trimmy | MIT License |
video_trimmer_library/src/main/java/com/amp/trimmy/utils/UiThreadExecutor.kt | Amal92 | 272,075,455 | false | null | /**
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
*
*
* 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 ... | 2 | null | 22 | 5 | 219cc279c35251bd383a0583d3d4c2e735935948 | 3,242 | Trimmy | MIT License |
app/src/main/java/nerd/tuxmobil/fahrplan/congress/schedule/SessionViewDrawer.kt | johnjohndoe | 12,616,092 | false | null | package nerd.tuxmobil.fahrplan.congress.schedule
import android.content.Context
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
import androidx.core.view.ViewCompat... | 69 | null | 99 | 27 | 4b91d7dcdfbc8de965a928b3ebfbfe595ec06b3f | 7,322 | CampFahrplan | Apache License 2.0 |
data/src/main/java/db/DriverFactory.android.kt | TheSetox | 767,301,777 | false | {"Kotlin": 28104, "Swift": 669, "HTML": 304} | package db
import android.content.Context
import app.cash.sqldelight.db.SqlDriver
import app.cash.sqldelight.driver.android.AndroidSqliteDriver
import org.example.project.db.SampleDataBase
actual class DriverFactory(private val context: Context) {
actual fun createDriver(): SqlDriver {
return AndroidSqlit... | 8 | Kotlin | 0 | 3 | 43aa092e4b9cfcdf356f153c652d6d0a7eb67126 | 461 | KMP-Fun-Clean-Architecture | Apache License 2.0 |
components/src/main/java/dev/medzik/android/components/icons/TopAppBarBackIcon.kt | M3DZIK | 698,762,035 | false | {"Kotlin": 56449} | package dev.medzik.android.components.icons
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.ArrowBack
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.runtime.Composable
import androidx.navigation.NavCont... | 1 | Kotlin | 0 | 1 | d3d214c4532be17e523cc9bf9ccb9cd4337ca51e | 804 | android-utils | MIT License |
src/main/kotlin/ru/mdashlw/kda/Dsl.kt | mdashlw | 193,076,704 | false | null | package ru.mdashlw.kda
import net.dv8tion.jda.api.JDA
import net.dv8tion.jda.api.entities.MessageEmbed
import ru.mdashlw.kda.builder.Builder
import ru.mdashlw.kda.builder.impl.EmbedBuilder
import ru.mdashlw.kda.builder.impl.JdaBuilder
import ru.mdashlw.kda.builder.impl.PaginationBuilder
import ru.mdashlw.kda.command.C... | 0 | Kotlin | 0 | 0 | ffe644cd3a10145b6c413a121a4a112b8200adb8 | 2,098 | KDA | MIT License |
core/src/com/pimuseum/game/chinesechess/engine/actor/ChessmanActor.kt | Pimuseum | 180,344,692 | false | {"Gradle": 6, "Markdown": 1, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Kotlin": 28, "Java Properties": 2, "Proguard": 1, "XML": 10, "Java": 2, "JSON": 2} | package com.pimuseum.game.chinesechess.engine.actor
import com.badlogic.gdx.graphics.g2d.TextureRegion
import com.pimuseum.game.chinesechess.model.ChessHelper
import com.pimuseum.game.chinesechess.model.chessman.Chessman
import com.pimuseum.game.chinesechess.model.companion.ChessType
/**
* Desc : ChessmanActor
* Au... | 0 | Kotlin | 3 | 17 | bf6930643b78ee4320398b43f95c3f65747da658 | 1,368 | pi-game-chinesechess-demo | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.