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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStream.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 140726596} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.events.targets
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import io.cloudshiftdev.awscdk.comm... | 1 | Kotlin | 0 | 4 | 7a060aa8b6779ab04dc9881993d9598e11d278b1 | 5,151 | kotlin-cdk-wrapper | Apache License 2.0 |
shared/src/desktopMain/kotlin/com/patriker/syncnote/domain/ListNets.kt | esp-er | 536,074,176 | false | {"Kotlin": 343988, "Shell": 1457} | package com.patriker.syncnote.domain
import java.net.NetworkInterface
import java.net.SocketException
object ListNets {
@Throws(SocketException::class)
@JvmStatic
fun listif() {
val nets = NetworkInterface.getNetworkInterfaces()
nets.iterator().forEach{ netint -> displayInterfaceInformatio... | 0 | Kotlin | 0 | 1 | 6f5cb41d1008ca4046171d492edd57b5549db74c | 1,456 | syncnote | MIT License |
intellij-tooling/src/main/kotlin/com/heroslender/hmf/intellij/preview/components/MenuComponent.kt | heroslender | 341,310,824 | false | null | package com.heroslender.hmf.intellij.preview.components
import com.heroslender.hmf.core.compose.ComposeMenu
import com.heroslender.hmf.intellij.preview.impl.JetpImageUtil
import com.heroslender.hmf.intellij.preview.impl.PreviewCanvas
import com.intellij.ui.JBColor
import com.intellij.util.ui.ImageUtil
import java.awt.... | 1 | Kotlin | 4 | 56 | 51d657acd3ded84ae43ebe6e81ca9a43953462dd | 2,193 | menu-framework | MIT License |
app/src/main/java/com/mezhendosina/sgo/app/ui/changeControlQuestion/ChangeControlQuestionViewModel.kt | mezhendosina | 448,087,094 | false | null | /*
* 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... | 0 | null | 0 | 9 | 95b1f6ea6f7ccdeaf86f81e423c62a310230f77e | 1,324 | sgo-app | Apache License 2.0 |
app/src/main/java/me/quenchjian/presentation/tasks/TasksView.kt | quenchjian | 275,349,531 | false | null | package me.quenchjian.presentation.tasks
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.widget.PopupMenu
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
imp... | 0 | Kotlin | 0 | 0 | 82e5ee80e070de950db35de9c978b808c189ca01 | 5,198 | android-template | MIT License |
app/src/main/java/com/bridou_n/beaconscanner/dagger/BluetoothModule.kt | Bridouille | 69,493,556 | false | null | package com.bridou_n.beaconscanner.dagger
import android.bluetooth.BluetoothAdapter
import android.content.Context
import com.bridou_n.beaconscanner.utils.PreferencesHelper
import dagger.Module
import dagger.Provides
import org.altbeacon.beacon.BeaconManager
import org.altbeacon.beacon.BeaconParser
import javax.inject... | 9 | Kotlin | 104 | 320 | 2093c24a70b696e2d2ee7c06f4bcf210aefdeb52 | 1,739 | android-beacon-scanner | Apache License 2.0 |
mobile_app1/module520/src/main/java/module520packageKt0/Foo92.kt | uber-common | 294,831,672 | false | null | package module520packageKt0;
annotation class Foo92Fancy
@Foo92Fancy
class Foo92 {
fun foo0(){
module520packageKt0.Foo91().foo3()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
} | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 233 | android-build-eval | Apache License 2.0 |
android/src/main/kotlin/io/project5e/lib/media/view/MediaScannerConnection.kt | ShenYu0812 | 345,866,114 | false | {"Objective-C": 134674, "Kotlin": 93060, "TypeScript": 48250, "Java": 3285, "JavaScript": 1681, "Ruby": 1254, "C": 207, "Swift": 67} | package io.project5e.lib.media.view
import android.content.Context
import android.media.MediaScannerConnection
import android.media.MediaScannerConnection.MediaScannerConnectionClient
import android.net.Uri
import android.text.TextUtils
class MediaScannerConnection : MediaScannerConnectionClient {
interface ScanLis... | 0 | Objective-C | 0 | 0 | 3576cf6ccee413e97b757e2461446886dead6d23 | 1,094 | react-native-awesome-medialib | MIT License |
app/src/main/java/org/rfcx/companion/util/Common.kt | rfcx | 244,311,338 | false | {"Kotlin": 740816} | package org.rfcx.companion.util
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
import android.os.Build
import android.view.View
import android.view.inputmethod.InputMethodManager
import androidx.core.content.ContextCompat
internal fun Context?.isNetworkAva... | 15 | Kotlin | 0 | 0 | ddf46c0e6f19f6e0a5c22f8ddf8e323c0ca07ab8 | 1,888 | companion-android | Apache License 2.0 |
common/src/main/java/com/topview/purejoy/common/net/DBCookieStore.kt | giagor | 421,858,760 | false | {"Kotlin": 800571, "AIDL": 3111} | package com.topview.purejoy.common.net
import com.topview.purejoy.common.component.db.CookieDatabase
import com.topview.purejoy.common.component.db.entity.CookieData
import com.topview.purejoy.common.component.db.entity.toCookie
import com.topview.purejoy.common.component.db.entity.toCookieData
import com.topview.pure... | 1 | Kotlin | 1 | 5 | f58ca9570486871066d99fc5e0827af66d6f0c3b | 2,532 | PureJoy | MIT License |
bbfgradle/tmp/results/diffCompile/dxgfrbu.kt | DaniilStepanov | 346,008,310 | false | null | // Different compile happens on:JVM ,JVM -Xnew-inference
fun box() {
test( TODO(),{ it })
}
fun <T> test( b: T,operation: (x: T?) -> T):Unit = TODO() | 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 153 | kotlinWithFuzzer | Apache License 2.0 |
cli/src/main/kotlin/me/devnatan/katan/cli/commands/AccountsCommand.kt | iLemonBr | 313,459,082 | true | {"Kotlin": 102505} | package me.devnatan.katan.cli.commands
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.NoOpCliktCommand
import com.github.ajalt.clikt.core.context
import com.github.ajalt.clikt.core.subcommands
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.clikt.... | 0 | null | 0 | 0 | e84eb52309cf1bdf316c58040dbb469b1ea42561 | 1,998 | Katan | Apache License 2.0 |
bank-card-view-android/src/main/java/com/iamageo/bank_card_view_android/FlipBankCardViewAnimation.kt | iamageo | 519,012,851 | false | {"Kotlin": 13330} | package com.iamageo.bank_card_view_android
import android.graphics.Camera
import android.graphics.Matrix
import android.view.animation.Animation
import android.view.animation.Transformation
class FlipBankCardViewAnimation(fromDegrees: Int, toDegrees: Int, centerX: Int, centerY: Int) :
Animation() {
private va... | 1 | Kotlin | 1 | 16 | 52a2dea51d6a91fa05a2a0d3cea03bfd30d957e4 | 2,088 | BankCardView | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkillProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.alexa.ask
import io.cloudshiftdev.awscdk.IResolvable
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import... | 1 | Kotlin | 0 | 4 | db2b3a364f5e74d8f80490e7850da7f1e7f1e7d0 | 12,156 | kotlin-cdk-wrapper | Apache License 2.0 |
bluetooth/src/main/java/com/kylecorry/andromeda/bluetooth/IBluetoothDevice.kt | kylecorry31 | 394,273,851 | false | null | package com.kylecorry.andromeda.bluetooth
import android.annotation.SuppressLint
import java.io.InputStream
import java.io.OutputStream
interface IBluetoothDevice {
val address: String
val name: String
// TODO: Let the consumer know it requires a permission
@SuppressLint("MissingPermission")
fun ... | 43 | null | 4 | 8 | 4ddd86ebe72ffec5c6f9800e61eb54b29d9dd5ed | 728 | andromeda | MIT License |
ktor-client/ktor-client-tests/js/test/io/ktor/client/tests/utils/NodeFetchOptionsTest.kt | ktorio | 40,136,600 | false | {"Kotlin": 6007831, "C": 453568, "Python": 948, "JavaScript": 775, "HTML": 336, "Mustache": 77, "Handlebars": 9} | // ktlint-disable filename
/*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.tests.utils
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.engine.*
import io.ktor.client.engine.js.*
import io.k... | 156 | Kotlin | 1051 | 12,926 | f90f2edf11caca28a61dbe9973faae64c17a2842 | 1,404 | ktor | Apache License 2.0 |
app/src/main/java/com/erman/usurf/dialog/model/DialogListener.kt | ermanergoz | 222,809,037 | false | null | package com.erman.usurf.dialog.model
interface DialogListener {
fun manageAllFilesRequestListener()
fun safAccessRequestListener()
}
| 0 | Kotlin | 0 | 8 | ecd1fd0d972dc5b06ac7b06feb3a84704dcd7070 | 142 | USurf-file-manager | MIT License |
sphinx/screens/dashboard/dashboard/src/main/java/chat/sphinx/dashboard/ui/viewstates/DashboardTabsViewState.kt | stakwork | 340,103,148 | false | {"Kotlin": 4008358, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453} | package chat.sphinx.dashboard.ui.viewstates
import io.matthewnelson.concept_views.viewstate.ViewState
sealed class DashboardTabsViewState: ViewState<DashboardTabsViewState>() {
object Idle: DashboardTabsViewState()
data class TabsState(
val feedActive: Boolean,
val friendsActive: Boolean,
... | 90 | Kotlin | 11 | 18 | 7811b4f4e5a0cf8a26f343704cfced011b1f9bad | 470 | sphinx-kotlin | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/location/CfnPlaceIndexPropsDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.location
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscd... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 4,774 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/ch/admin/foitt/pilotwallet/platform/database/domain/usecase/IsAppDatabaseOpen.kt | e-id-admin | 775,912,525 | false | {"Kotlin": 1521284} | package ch.admin.foitt.pilotwallet.platform.database.domain.usecase
fun interface IsAppDatabaseOpen {
operator fun invoke(): Boolean
}
| 1 | Kotlin | 1 | 4 | 6572b418ec5abc5d94b18510ffa87a1e433a5c82 | 140 | eidch-pilot-android-wallet | MIT License |
sample/composeApp/src/commonMain/kotlin/com/wonddak/hellogin/App.kt | jmseb3 | 833,469,940 | false | {"Kotlin": 30184, "Ruby": 16505} | package com.wonddak.hellogin
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundati... | 0 | Kotlin | 0 | 0 | 940cf39bbee733f9c249fd6ab41db348ab49b1cb | 7,179 | helLogin | Apache License 2.0 |
app/src/main/kotlin/com/ekezet/othello/main/navigation/StripRoute.kt | atomgomba | 754,770,216 | false | {"Kotlin": 218802} | package com.ekezet.othello.main.navigation
internal fun String.stripRoute(): String =
split("?").firstOrNull() ?: this
| 0 | Kotlin | 0 | 1 | 6cda8f72d06c7ac33b8899a3425bfc22d7c852f4 | 124 | othello | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/Path2D.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1549917, "GDScript": 535642, "C++": 403741, "C": 13152, "C#": 10278, "Shell": 7406, "Java": 2165, "CMake": 939, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 64 | Kotlin | 39 | 580 | fd1af79075e7b918200aba3302496b70c76a2028 | 1,837 | godot-kotlin-jvm | MIT License |
data/src/main/java/vn/root/data/local/AppDatabase.kt | doananhtuan22111996 | 769,875,617 | false | {"Kotlin": 139597} | package vn.root.data.local
import androidx.room.Database
import androidx.room.RoomDatabase
import vn.root.data.model.ItemRaw
@Database(entities = [ItemRaw::class], version = 1, exportSchema = false)
abstract class AppDatabase : RoomDatabase() {
abstract fun itemDao(): ItemDao
} | 0 | Kotlin | 0 | 0 | 7dd329b512fd3c80fe8cc2ce67a99099df26c0fb | 285 | android-integration | MIT License |
src/factorymethod/pizzastoreexample/pizzastore/ChicagoPizzaStore.kt | Devansh-Maurya | 290,240,330 | false | null | package factorymethod.pizzastoreexample.pizzastore
import factorymethod.pizzastoreexample.pizza.ChicagoStyleCheesePizza
import factorymethod.pizzastoreexample.pizza.Pizza
/**
* Created by devansh on 02/09/20.
*/
class ChicagoPizzaStore : PizzaStore() {
override fun createPizza(type: String): Pizza? =
w... | 2 | Kotlin | 12 | 89 | 6de47075205b7de24e1d19bb514b4a0c4f1c7cbd | 418 | Design-Patterns-And-Principles | MIT License |
mediator/src/test/kotlin/no/nav/dagpenger/mottak/db/SkjemaTest.kt | navikt | 351,793,236 | false | null | package no.nav.dagpenger.mottak.db
import no.nav.dagpenger.mottak.db.PostgresTestHelper.dataSource
import no.nav.dagpenger.mottak.db.PostgresTestHelper.withCleanDb
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
internal class SkjemaTest {
@Test
fun `riktig anntall migr... | 0 | Kotlin | 0 | 0 | 3198f390dbbfafa5cfa4da498244b4e413d563e3 | 428 | dp-mottak | MIT License |
mediator/src/test/kotlin/no/nav/dagpenger/mottak/db/SkjemaTest.kt | navikt | 351,793,236 | false | null | package no.nav.dagpenger.mottak.db
import no.nav.dagpenger.mottak.db.PostgresTestHelper.dataSource
import no.nav.dagpenger.mottak.db.PostgresTestHelper.withCleanDb
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
internal class SkjemaTest {
@Test
fun `riktig anntall migr... | 0 | Kotlin | 0 | 0 | 3198f390dbbfafa5cfa4da498244b4e413d563e3 | 428 | dp-mottak | MIT License |
app/src/main/java/cn/tinyhai/tiny_dumper/XposedInit.kt | TinyHai | 812,149,979 | false | {"Kotlin": 1463} | package cn.tinyhai.tiny_dumper
import android.content.Context
import cn.tinyhai.tiny_dumper.util.logI
import de.robv.android.xposed.IXposedHookLoadPackage
import de.robv.android.xposed.XC_MethodHook
import de.robv.android.xposed.XposedHelpers
import de.robv.android.xposed.callbacks.XC_LoadPackage
class XposedInit : I... | 0 | Kotlin | 1 | 1 | dbc819c8b67a66e90e4bb17eacae611d05358c70 | 1,172 | TinyDumper | MIT License |
app/src/main/java/me/michd/drumroll/MainActivity.kt | michd | 109,489,238 | false | null | package me.michd.drumroll
import android.content.Context
import android.media.AudioManager
import android.media.AudioManager.OnAudioFocusChangeListener
import android.media.MediaPlayer
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Button
class ... | 0 | Kotlin | 0 | 0 | 344a131829c7bdf7aaed6ed7198b6292976b5998 | 2,319 | drumroll-android | MIT License |
idea/tests/testData/inspectionsLocal/removeCurlyBracesFromTemplate/unnecessaryBrackets1.kt | JetBrains | 278,369,660 | false | null | // HIGHLIGHT: GENERIC_ERROR_OR_WARNING
fun foo() {
val x = 4
val y = "$<caret>{x}"
} | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 93 | intellij-kotlin | Apache License 2.0 |
rigel/src/main/java/com/artear/rigel/NavigationProvider.kt | Artear | 164,138,931 | false | null | /*
* Copyright 2019 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 0 | Kotlin | 0 | 0 | c80fdcb8eb62ee2470537a1219636feb924688a6 | 828 | app_lib_rigel_android | Apache License 2.0 |
yangxj96-serve/yangxj96-serve-auth/src/main/java/com/yangxj96/saas/server/auth/mapper/RoleMapper.kt | yangxj96 | 574,967,993 | false | {"Kotlin": 202319} | /*
* Copyright (c) 2018 - 2023
* 作者:杨新杰(<NAME>)
* 邮箱:<EMAIL>
* 博客:www.yangxj96.com
* 日期:2023-09-13 00:04:11
* Copyright (c) 2018 - 2023
*/
package com.yangxj96.saas.server.auth.mapper
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.yangxj96.saas.bean.user.Authority
import com.yangxj96.saas.be... | 0 | Kotlin | 0 | 0 | 902ffdc1ac642203ce9c5194f38eeadd580590f7 | 695 | yangxj96-saas-api | MIT License |
adaptive-kotlin-plugin/src/hu/simplexion/adaptive/kotlin/foundation/ir/ir2arm/OriginalFunctionTransform.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 1309357, "Java": 21502, "HTML": 2540, "JavaScript": 970} | /*
* Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package hu.simplexion.adaptive.kotlin.foundation.ir.ir2arm
import hu.simplexion.adaptive.kotlin.foundation.ir.AdaptivePluginContext
import hu.simplexion.adaptive.kotlin.foundation.ir.ut... | 12 | Kotlin | 0 | 0 | e3756d6a2faff396b43135312e8ad90b8c2fe8cb | 2,314 | adaptive | Apache License 2.0 |
app/src/main/java/com/valhalla/lolchampviewer/ui/champion_search/ChampionSearchResult.kt | zed13 | 264,632,149 | false | null | package com.valhalla.lolchampviewer.ui.champion_search
sealed class ChampionSearchResult {
object NoQuery : ChampionSearchResult()
data class NotFound(val query: String) : ChampionSearchResult()
data class Filtered(val list: List<ChampionSearchViewData>) : ChampionSearchResult()
} | 0 | Kotlin | 0 | 0 | 796e875693caff8c965878a326cae4d4e3b15d50 | 294 | TheGreenDragon | Apache License 2.0 |
matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/store/db/model/IncomingRoomKeyRequestEntity.kt | saad100104006 | 212,864,777 | true | {"Kotlin": 3623105, "Java": 26427, "HTML": 22563, "Shell": 20524} | /*
* Copyright 2018 New Vector Ltd
*
* 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 ... | 2 | null | 1 | 2 | 588e5d6e63ecfee9d93ef3da5987b8deb59f412f | 2,068 | NovaChat | Apache License 2.0 |
interface/test_interface/interface.kts | maxerMU | 471,398,890 | false | {"C++": 268498, "Python": 36450, "TypeScript": 33263, "HTML": 17540, "PLpgSQL": 13119, "CMake": 10329, "Less": 6059, "Shell": 2695, "JavaScript": 2199, "Dockerfile": 1629, "Kotlin": 351} | package Interface
const val handlers = mapOf()
fun printMenu() {
println("1. - Get all details")
}
fun mainloop() {
printMenu()
}
fun main() {
mainloop()
} | 0 | C++ | 0 | 2 | af571d18c0d04e03369566a8460e538e905d70b2 | 178 | db-course | Apache License 2.0 |
src/main/kotlin/krayon/editor/base/command/ToggleFullScreenMode.kt | draeger-lab | 156,102,188 | true | {"Kotlin": 800067, "Java": 123973, "CSS": 34315, "Inno Setup": 1574} | /*
* Copyright (c) 2018 <NAME>
* This software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except
* in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
* Unless required by applicable law or agreed ... | 0 | Kotlin | 0 | 1 | d40dc53b35367a81099b929a22b1b36f8f601a42 | 1,425 | krayon4sbgn | Apache License 2.0 |
app/src/main/java/com/mynus01/firesns/presentation/view/MainActivity.kt | mynus01 | 468,060,932 | false | {"Kotlin": 21979} | package com.mynus01.firesns.presentation.view
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.mynus01.firesns.BR
import com.mynus01.firesns.R
import c... | 1 | Kotlin | 0 | 1 | 998567d4a2908e2c857a0863a2069e5382eca196 | 2,705 | uniko | MIT License |
app/src/main/java/com/phan/instagram/screens/search/SearchViewModel.kt | phannin91 | 493,661,876 | false | {"Kotlin": 107515} | package com.app.instagram.screens.search
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import com.app.instagram.data.SearchRepository
import com.app.instagram.models.SearchPost
import com.app.instagram.screens.common.BaseViewModel
import com.goog... | 0 | Kotlin | 0 | 0 | e912a03ae64ec5dfe3edabdd33e7b7bab18bf51a | 778 | fappck | MIT License |
app/src/main/java/com/mai/nix/maiapp/choose_groups/NewChooseGroupActivity.kt | poisondart | 89,642,076 | false | null | package com.mai.nix.maiapp.choose_groups
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProviders
import androidx.li... | 1 | null | 1 | 1 | da5f90922c5f3ca97e28fda8af68fe4fcb1e3e5b | 6,344 | MaiApp | MIT License |
app/src/main/java/dorin_roman/app/kongfujava/domain/models/levels/answer/Answer.kt | roma321m | 555,795,950 | false | {"Kotlin": 480911} | package dorin_roman.app.kongfujava.domain.models.levels.answer
interface Answer {
val id: Int
val levelId: Int
var answer1: String
var answer2: String
var answer3: String
var answer4: String
var right: String
} | 0 | Kotlin | 1 | 2 | 3c4f89aae10ca3f86e2cb6c1b0ecef3cb47729cd | 239 | Kong-Fu-Java | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/calculatereleasedatesapi/entity/ApprovedDatesSubmission.kt | ministryofjustice | 387,841,000 | false | {"Kotlin": 1006578, "Shell": 5975, "Dockerfile": 1337} | package uk.gov.justice.digital.hmpps.calculatereleasedatesapi.entity
import jakarta.persistence.CascadeType
import jakarta.persistence.Entity
import jakarta.persistence.FetchType
import jakarta.persistence.GeneratedValue
import jakarta.persistence.GenerationType
import jakarta.persistence.Id
import jakarta.persistence... | 6 | Kotlin | 0 | 5 | 911011f5a1dbc0d9bcaeadedabf3b9a084ccbd86 | 1,555 | calculate-release-dates-api | MIT License |
shared/src/androidMain/kotlin/main.android.kt | BasemNasr | 710,329,067 | false | {"Kotlin": 204335, "Swift": 1050, "Ruby": 266, "Shell": 228} | import android.app.Application
import androidx.compose.runtime.Composable
import core.Context
actual fun getPlatformName(): String = "Android"
@Composable
fun MainView(application: Application) = App(application)
| 0 | Kotlin | 4 | 34 | efe9a8fe5bedcc2801474d4e85f4f9ba710160ae | 216 | StoreKMP | Apache License 2.0 |
spring-data-cassandra/src/test/kotlin/org/springframework/data/cassandra/core/ReactiveDeleteOperationExtensionsUnitTests.kt | spring-projects | 2,183,665 | false | null | /*
* Copyright 2018-2022 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 39 | null | 311 | 379 | 67d8e597ae900b1c2f1eb145e76755cb25a1bb57 | 1,858 | spring-data-cassandra | Apache License 2.0 |
android/src/main/java/com/qrcodescannerlite/CameraPreviewLayout.kt | AndrewTkachuk42 | 730,614,713 | false | {"Kotlin": 14299, "TypeScript": 9112, "Swift": 6259, "Ruby": 3777, "Objective-C": 2907, "JavaScript": 2122, "Objective-C++": 822, "C": 103} | package com.qrcodescannerlite
import android.content.Context
import android.widget.FrameLayout
import androidx.camera.view.PreviewView
class CameraPreviewLayout(context: Context) : FrameLayout(context) {
val previewView: PreviewView
init {
previewView = PreviewView(context)
addView(previewView)
}
}
| 0 | Kotlin | 0 | 2 | ff749e9a8f7d9244eb1595ef8c20874721d2fcfb | 318 | react-native-qr-code-scanner-lite | MIT License |
processor/src/main/java/ru/unit/orchestra_features/processor/model/FeatureScopeModel.kt | why-iskra | 689,642,973 | false | {"Kotlin": 102496} | package ru.unit.orchestra_features.processor.model
import com.google.devtools.ksp.symbol.KSAnnotated
import com.google.devtools.ksp.symbol.KSFile
import ru.unit.orchestra_features.common.support.utils.delegate.SingleAssignment
import ru.unit.orchestra_features.processor.utils.extension.md5
data class FeatureScopeMode... | 0 | Kotlin | 0 | 1 | 7b9b9301f4b377cae180d0025d03dbff86af8bfd | 1,162 | orchestra-features | MIT License |
processor/src/main/java/ru/unit/orchestra_features/processor/model/FeatureScopeModel.kt | why-iskra | 689,642,973 | false | {"Kotlin": 102496} | package ru.unit.orchestra_features.processor.model
import com.google.devtools.ksp.symbol.KSAnnotated
import com.google.devtools.ksp.symbol.KSFile
import ru.unit.orchestra_features.common.support.utils.delegate.SingleAssignment
import ru.unit.orchestra_features.processor.utils.extension.md5
data class FeatureScopeMode... | 0 | Kotlin | 0 | 1 | 7b9b9301f4b377cae180d0025d03dbff86af8bfd | 1,162 | orchestra-features | MIT License |
src/main/kotlin/io/github/jarryzhou/modelexplorer/modelrecorder/ModelService.kt | jarryscript | 710,629,271 | false | {"Kotlin": 11158, "HTML": 2355} | package io.github.jarryzhou.modelexplorer.modelrecorder
import de.elnarion.util.plantuml.generator.classdiagram.PlantUMLClassDiagramGenerator
import de.elnarion.util.plantuml.generator.classdiagram.config.PlantUMLClassDiagramConfigBuilder
import io.github.jarryzhou.modelexplorer.ui.Model
import net.sourceforge.plantum... | 3 | Kotlin | 0 | 1 | deb0fcdb59d725b31d012d6beeb674e8735ec7b7 | 2,352 | model-explorer-spring-boot-starter | MIT License |
stream-video-android-core/src/test/kotlin/io/getstream/video/android/core/base/StreamTestLogger.kt | GetStream | 505,572,267 | false | {"Kotlin": 2549850, "MDX": 279508, "Python": 18285, "Shell": 4455, "JavaScript": 1112, "PureBasic": 107} | /*
* Copyright (c) 2014-2023 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-video-android/blob/main/LICENSE
*
* Unless required by ... | 3 | Kotlin | 30 | 308 | 1c67906e4c01e480ab180f30b39f341675bc147e | 1,001 | stream-video-android | FSF All Permissive License |
app/src/main/java/com/ayia/fxconverter/presentation/rate/RateFragment.kt | ayiaware | 534,240,562 | false | {"Kotlin": 92138} | package com.ayia.fxconverter.presentation.rate
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import com.ayia.fxconverter.R
import com.ayia.fxconverter.databinding.FragmentRateBinding
import com.google.android.m... | 0 | Kotlin | 0 | 0 | d5f3ef3bb8628c5122920a530529377339bd2914 | 2,157 | fxconverter | MIT License |
PettCareAndroidApp/app/src/main/java/com/pettcare/app/home/domain/model/CarePost.kt | antelukic | 767,127,442 | false | {"Kotlin": 305258} | package com.pettcare.app.home.domain.model
import com.google.android.gms.maps.model.LatLng
data class CarePost(
val id: String,
val name: String,
val photoUrl: String?,
val description: String,
val price: String?,
val location: LatLng,
val address: String?,
val postImageUrl: String?,
... | 0 | Kotlin | 0 | 0 | e6210463d97ef1235a2f0d84c5658f251f857f9a | 348 | PettCareApp | Apache License 2.0 |
app/src/main/java/com/example/dotoring_neoul/ui/util/RegisterScreenTop.kt | Team-Neoul | 678,390,604 | false | null | package com.example.dotoring_neoul.ui.util
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.size
import androidx.compose.material.Text
import... | 6 | Kotlin | 2 | 0 | fb7eb022c0cf1fff26f780282d32624665f1255f | 2,755 | Neoul_Dotoring-AOS | MIT License |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Convertio.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.ui.graphics... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,751 | compose-icons | MIT License |
executors/coroutines/src/commonMain/kotlin/koncurrent/CoroutineExecutor.kt | aSoft-Ltd | 521,074,922 | false | null | package koncurrent
import functions.Runnable
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.launch
class CoroutineExecutor(
val scope: CoroutineScope = CoroutineScope(Dispatchers.Default + SupervisorJob())
) : Execut... | 0 | null | 0 | 2 | 1344b08431b8a8a8bbe28987c58efe9f45a21c6d | 576 | koncurrent | MIT License |
app/src/main/java/com/challenge/vegetablediscovery/ui/vegetabledetail/VegetableDetailModalFragment.kt | curlx | 369,753,105 | false | null | package com.challenge.vegetablediscovery.ui.vegetabledetail
import android.app.Dialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
import androidx.navigation.fragment.navArgs
import com.bumptech.glide.load.resource.... | 0 | Kotlin | 1 | 0 | c9d3e9ee466d575a05aa1a6f79bdbd54111352d8 | 3,554 | vegetable-discovery | MIT License |
mvvm-dagger/src/main/java/com/nphau/android/shared/common/delegates/ActivityBindingProperty.kt | ThanhHuong98 | 432,947,065 | false | null | /*
* Created by IMStudio on 5/11/21 10:38 AM
* Copyright (c) 2021 . All rights reserved.
* Last modified 5/11/21 10:34 AM
*/
package com.imstudio.android.shared.common.delegates
import android.app.Activity
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding... | 0 | null | 0 | 1 | ac0402ae4734285ef5e647d1f53a1f9f4a8d98cd | 842 | android.clean-architecture.mvvm | Apache License 2.0 |
src/main/kotlin/ml/nobb/bttracker/web/controller/TorrentDataController.kt | jjandxa | 144,382,986 | false | {"Java": 47503, "Kotlin": 13901} | package ml.nobb.bttracker.web.controller
import ml.nobb.bttracker.model.vo.ApiResult
import ml.nobb.bttracker.service.IAnnounceService
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.util.ObjectUtils
import org.springframew... | 1 | null | 1 | 1 | 63acc39f88bec5ff8c8f52f1b6e9834274f161b6 | 1,364 | bt-tracker | Apache License 2.0 |
src/jsMain/kotlin/baaahs/visualizer/VizObj.kt | baaahs | 174,897,412 | false | {"Kotlin": 3355751, "C": 1529197, "C++": 661364, "GLSL": 412680, "JavaScript": 62186, "HTML": 55088, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450} | package baaahs.visualizer
import three.js.Object3D
actual typealias VizObj = Object3D | 113 | Kotlin | 12 | 40 | 4dd92e5859d743ed7186caa55409f676d6408c95 | 87 | sparklemotion | MIT License |
app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt | dzzj2020 | 366,631,557 | false | null | package eu.kanade.tachiyomi.ui.security
import android.content.Intent
import android.view.WindowManager
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.lifecycleScope
import eu.kanade.tachiyomi.data.preference.PreferencesHelper
import eu.kanade.tachiyomi.util.system.BiometricUtil
import kotlinx... | 0 | null | 0 | 1 | 5700c7a0c7bf532faadf50e261a03b84f36c6fe1 | 1,805 | tachiyomi | Apache License 2.0 |
plugin/src/main/kotlin/cms/rendner/intellij/dataframe/viewer/python/pycharm/PyFrameAccessorExt.kt | rendner | 336,657,251 | false | {"Python": 2197537, "Kotlin": 411371, "Dockerfile": 5295} | /*
* Copyright 2021-2024 cms.rendner (Daniel Schmidt)
*
* 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 | Python | 1 | 12 | 1a2d095bbebade29604b8b700f2f748460357602 | 1,187 | py-plugin-dataframe-viewer | Apache License 2.0 |
lib-multisrc/paprika/src/eu/kanade/tachiyomi/multisrc/paprika/PaprikaAlt.kt | komikku-app | 720,497,299 | false | null | package eu.kanade.tachiyomi.multisrc.paprika
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.util.asJsoup
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull... | 22 | null | 8 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 3,796 | komikku-extensions | Apache License 2.0 |
sample-kotlin/src/main/java/com/rudderstack/android/sample/kotlin/MainActivity.kt | rudderlabs | 399,348,145 | false | {"Kotlin": 5720, "Java": 4732} | package com.rudderstack.android.sample.kotlin
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import com.qualtrics.digital.IQualtricsProjectEvaluationCallback
import com.qualtrics.digital.Qualtrics
import com.q... | 3 | Kotlin | 0 | 0 | 78a90ddfeea92ec1308c09f758d329372c65c64b | 1,914 | rudder-integration-qualtrics-android | MIT License |
app/src/main/java/com/ealva/toque/ui/library/data/ArtistInfo.kt | pandasys | 311,981,753 | false | null | /*
* Copyright 2022 <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... | 0 | Kotlin | 0 | 0 | f64ca9023f2384d322d924ceeb0cf3c8c5a1809d | 1,067 | toque | Apache License 2.0 |
kordx-commands-runtime/src/main/kotlin/com/gitlab/kordlib/kordx/commands/annotation/Annotations.kt | kordlib | 272,696,252 | false | null | package com.gitlab.kordlib.kordx.commands.annotation
import com.gitlab.kordlib.kordx.commands.model.processor.ProcessorBuilder
import com.gitlab.kordlib.kordx.commands.model.processor.EventHandler
/**
* Will mark this element for automatic registry to the [ProcessorBuilder] using the annotation processor,
* suspend... | 12 | Kotlin | 4 | 21 | 49848297d2b87ad04081f905fc9fa9ca727f1bd6 | 1,653 | kordx.commands | MIT License |
src/main/kotlin/com/github/tyrrx/vb6language/psi/tree/definition/conditional/VB6IfElseIfBlockStmt.kt | bluehands | 511,430,044 | false | {"Java": 1027191, "Kotlin": 319653, "ANTLR": 31013} | package com.github.tyrrx.vb6language.psi.tree.definition.conditional
import com.github.tyrrx.vb6language.language.IPsiNodeFactory
import com.github.tyrrx.vb6language.psi.base.VB6NamedElementOwner
import com.github.tyrrx.vb6language.psi.scope.VB6TransparentBlockScopeOwner
import com.github.tyrrx.vb6language.psi.tree.de... | 1 | null | 1 | 1 | 1a742a07d78681a5bd11787a38c72c68cddd7f77 | 1,317 | IntelliJ-VB6-language-support | MIT License |
compose-ui-dashboard/common/src/commonMain/kotlin/org/aztechs/common/ui/VerticalScrollBar.kt | team4186 | 446,188,902 | false | {"Java": 102350, "Kotlin": 11079} | package org.aztechs.common.ui
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.gestures.draggable
import androidx.compose.foundation.gestures.rememberDraggableState
import androidx.compose.foundation.layout.*
import andro... | 1 | null | 1 | 1 | b5d44e025077f436cc690d4b9133593e515643df | 3,282 | season-2022 | The Unlicense |
core/src/main/kotlin/model/extraModifiers.kt | Kotlin | 21,763,603 | false | null | package org.jetbrains.dokka.model
sealed class ExtraModifiers(val name: String) {
sealed class KotlinOnlyModifiers(name: String) : ExtraModifiers(name) {
object Inline : KotlinOnlyModifiers("inline")
object Infix : KotlinOnlyModifiers("infix")
object External : KotlinOnlyModifiers("externa... | 438 | null | 390 | 3,010 | bec2cac91726e52884329e7997207e9777abaab7 | 2,932 | dokka | Apache License 2.0 |
kotlin.iot/core/model/src/main/java/Temperature.kt | YuriZhuravlev | 651,845,683 | false | null | package ru.zhuravlev.yuri.core.model
data class Temperature(val value: Int) {
operator fun compareTo(temperature: Temperature): Int =
value.compareTo(temperature.value)
}
| 0 | Kotlin | 0 | 0 | 38bad20ca219ced244f89c0d792583d1a28e8473 | 188 | IoT-System | MIT License |
src/main/kotlin/fr/shikkanime/platforms/configuration/DisneyPlusConfiguration.kt | Shikkanime | 725,527,999 | false | {"Kotlin": 617636, "FreeMarker": 138072, "JavaScript": 2805, "SCSS": 1949, "Dockerfile": 1240, "Shell": 812, "Fluent": 69} | package fr.shikkanime.platforms.configuration
import io.ktor.http.*
class DisneyPlusConfiguration : PlatformConfiguration<DisneyPlusConfiguration.DisneyPlusSimulcast>() {
data class DisneyPlusSimulcast(
var releaseDay: Int = 1,
var releaseTime: String = "",
) : PlatformSimulcast() {
ov... | 6 | Kotlin | 0 | 4 | eea24d18ed98006c71ef2703f4db92d23698760b | 1,971 | core | Apache License 2.0 |
app/src/main/java/com/ferrariofilippo/saveapp/view/viewmodels/ManageTagsViewModel.kt | ferrariofilippo | 683,187,933 | false | {"Kotlin": 290454} | // Copyright (c) 2023 <NAME>
// Licensed under the MIT License. See the LICENSE.
package com.ferrariofilippo.saveapp.view.viewmodels
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.asLiveData
import com.ferrariofilippo.saveapp.Save... | 0 | Kotlin | 0 | 1 | fef24c0dd269af50f8ae6615dad1784f3f1a310b | 632 | SaveApp_Kotlin | MIT License |
ksp-processors/src/main/kotlin/generation/bitflags/DeprecatedNewCompanion.kt | kordlib | 202,856,399 | false | null | @file:Suppress("CONTEXT_RECEIVERS_DEPRECATED")
package dev.kord.ksp.generation.bitflags
import com.squareup.kotlinpoet.DelicateKotlinPoetApi
import com.squareup.kotlinpoet.KModifier
import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy
import com.squareup.kotlinpoet.TypeSpec
import com.square... | 53 | null | 82 | 922 | e99c5c583229d20e69632aae39cee47da637abef | 1,772 | kord | MIT License |
sample-postgres/src/test/kotlin/com/example/sample_postgres/fixtures/CustomerFixture.kt | maeharin | 138,299,084 | false | null | package com.example.sample_postgres.fixtures
// aaaaaaaaaaaaaaaa
// bbbbbbbbbbbbbbbb
import java.time.LocalDate
import java.time.LocalDateTime
import com.ninja_squad.dbsetup_kotlin.DbSetupBuilder
import com.ninja_squad.dbsetup_kotlin.mappedValues
data class CustomerFixture (
val customer_id: Int = 0,
val st... | 1 | Kotlin | 4 | 35 | 2fb0754179904aeeaa223391719d512f2f246049 | 1,209 | factlin | Apache License 2.0 |
android/src/main/java/com/rncamerakit/CKCamera.kt | thexdesk | 329,080,309 | true | {"Objective-C": 70979, "TypeScript": 24490, "Kotlin": 22431, "Java": 6276, "Ruby": 4186, "JavaScript": 3962, "C": 103, "Swift": 61} | package com.rncamerakit
import android.Manifest
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.annotation.SuppressLint
import android.app.Activity
import android.content.ContentValues
import android.content.Context
import android.content.pm.PackageManager
import andro... | 20 | null | 0 | 0 | ffcf76d0fb099beb1c72977e4af6799873750c62 | 16,601 | react-native-camera-kit | MIT License |
src/test/kotlin/com/nuecho/mutagen/cli/services/GenesysServicesTest.kt | nuecho | 154,838,618 | false | null | /*
* Copyright (C) 2018 Nu Echo Inc
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 2 | 4 | c508200bc6e1b2e4d16ec4426047c40ae44deb47 | 2,933 | mutagen | Apache License 2.0 |
app/src/main/java/dev/falhad/movieshowcase/network/controller/MovieController.kt | falhad | 509,160,308 | false | null | package dev.falhad.movieshowcase.network.controller
import dev.falhad.movieshowcase.network.model.MovieResponse
import dev.falhad.movieshowcase.network.model.SearchResponse
import retrofit2.Response
import retrofit2.http.*
@JvmSuppressWildcards
interface MovieController {
@GET("/")
suspend fun byIMDBId(
... | 0 | Kotlin | 0 | 0 | 8529f0b1c4eb9e19a13521ef030882c991a9e270 | 698 | mvp-movie | MIT License |
app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/support/SupportUiState.kt | zaneschepke | 644,710,160 | false | {"Kotlin": 323811, "Ruby": 860} | package com.zaneschepke.wireguardautotunnel.ui.screens.support
import com.zaneschepke.wireguardautotunnel.data.domain.Settings
data class SupportUiState(val settings: Settings = Settings())
| 69 | Kotlin | 41 | 749 | 6e961e0994d1d7ac6e5eb02ff21a89253aff4ec2 | 192 | wgtunnel | MIT License |
app/src/main/java/com/wuruoye/know/util/orm/Repository.kt | ruoyewu | 183,387,390 | false | null | package com.wuruoye.know.util.orm
import android.content.Context
import com.wuruoye.know.util.orm.dao.*
/**
* Created at 2019/4/10 13:28 by wuruoye
* Description:
*/
object Repository {
@Volatile private var imageViewDao: ImageViewDao? = null
@Volatile private var layoutViewDao: LayoutViewDao? = null
@... | 1 | null | 1 | 1 | 2de5a7fdecc8c135463c99c47cde417de0cbe2ec | 4,145 | know2 | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/ChevronDoubleDown.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.grap... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,971 | icons | MIT License |
app/src/test/java/com/isao/yfoo2/data/testdoubles/FakeFeedImageDao.kt | IhorPakharenko | 636,603,355 | false | {"Kotlin": 154974} | package com.isao.yfoo2.data.testdoubles
import com.isao.yfoo2.data.local.dao.FeedImageDao
import com.isao.yfoo2.data.local.model.FeedImageCached
import kotlinx.coroutines.flow.Flow
class FakeFeedImageDao : FeedImageDao {
override fun getFeedImages(): Flow<List<FeedImageCached>> {
TODO("Not yet implemented... | 0 | Kotlin | 0 | 0 | 65f273027750139c5de999bfcd20687e427bd0af | 651 | Yfoo2 | MIT License |
app/src/main/kotlin/com/muedsa/jcytv/ui/features/home/main/MainScreen.kt | muedsa | 773,720,587 | false | {"Kotlin": 297824} | package com.muedsa.jcytv.ui.features.home.main
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compo... | 2 | Kotlin | 0 | 9 | dfdd014023405e92a9a93a41a6def879384d04fc | 8,709 | JCYTV | MIT License |
socialcats-google/backend/ktor-api/src/main/kotlin/AppComponent.kt | Couchsurfing | 194,353,465 | false | null | package com.nicolasmilliard.socialcats.searchapi
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseToken
import com.google.firebase.cloud.FirestoreClient
import com.nicolasmilliard.socialcats.data.AwsInterceptorModule
import com.nicolasmilliard.socialcats.data.ElasticServiceIntercept... | 4 | Kotlin | 1 | 3 | ebc38cc10a392d0a5ff0247c15230edc420e3be9 | 4,583 | social-cats-playground | Apache License 2.0 |
xsolla-store-sdk/src/main/java/com/xsolla/android/store/entity/response/items/VirtualItemsShortResponse.kt | xsolla | 233,092,015 | false | null | package com.xsolla.android.store.entity.response.items
import com.xsolla.android.store.entity.response.common.Group
data class VirtualItemsShortResponse(val items: List<Item> = emptyList()) {
data class Item(
val sku: String,
val name: String?,
val groups: List<Group> = emptyList()
)
} | 1 | null | 5 | 9 | a7274bcaebeeb3fb6b61b530e167d51c961e0e3d | 320 | store-android-sdk | Apache License 2.0 |
app/src/main/java/ru/aasmc/punchline/UiModel.kt | aasmc | 424,368,947 | false | null | package ru.aasmc.punchline
sealed class UiModel {
data class Success(val joke: Joke) : UiModel()
data class Error(val error: String) : UiModel()
}
| 0 | Kotlin | 0 | 0 | e790e2399e9f0221505c0222294294ad2b673eeb | 154 | NetworkingTDD | The Unlicense |
app/src/main/java/com/axel_stein/glucose_tracker/room/dao/blood_pressure/BloodPressureDaoWrapper.kt | AxelStein | 320,277,698 | false | null | package com.axel_stein.glucose_tracker.room.dao.blood_pressure
import com.axel_stein.glucose_tracker.core.DatePeriod
import com.axel_stein.glucose_tracker.core.blood_pressure.BloodPressure
import com.axel_stein.glucose_tracker.core.blood_pressure.BloodPressureDao
import com.axel_stein.glucose_tracker.room.dao.toSqlStr... | 4 | Kotlin | 0 | 1 | d6f6877c33b960c8bcc1cfd2ff355071908891ec | 2,613 | GlucoseTracker | Apache License 2.0 |
streaming/src/com/android/tools/idea/streaming/device/DeviceController.kt | JetBrains | 60,701,247 | false | {"Kotlin": 47327090, "Java": 36711107, "HTML": 1217549, "Starlark": 856686, "C++": 321587, "Python": 100400, "C": 71515, "Lex": 66732, "NSIS": 58538, "AIDL": 35209, "Shell": 28699, "CMake": 26717, "JavaScript": 18437, "Batchfile": 7828, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18} | /*
* 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 | Kotlin | 230 | 912 | d88742a5542b0852e7cb2dd6571e01576cb52841 | 7,676 | android | Apache License 2.0 |
src/main/kotlin/io/github/alexandrepiveteau/datalog/core/Algorithm.kt | alexandrepiveteau | 607,114,441 | false | null | package io.github.alexandrepiveteau.datalog.core
import io.github.alexandrepiveteau.datalog.core.interpreter.Context
import io.github.alexandrepiveteau.datalog.core.interpreter.database.RulesDatabase
import io.github.alexandrepiveteau.datalog.core.interpreter.ir.Database
import io.github.alexandrepiveteau.datalog.core... | 3 | Kotlin | 0 | 2 | 68f3e2d43c866d2057a0231188175c31b2f26940 | 1,937 | epfl-datalog-kotlin | MIT License |
jps-plugin/testData/general/DependencyToOldKotlinLib/oldModuleLib/src/module/B.kt | JakeWharton | 99,388,807 | true | null | package module
public class B(private val c: C) {
fun foo() {
val a = c.getA()
a.oldFun()
}
}
| 179 | Kotlin | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 119 | kotlin | Apache License 2.0 |
app/src/main/java/dev/diviz/bashoffline/ui/main/MainViewModel.kt | divizdev | 408,146,629 | false | {"Kotlin": 10419} | package dev.diviz.bashoffline.ui.main
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import dev.diviz.bashoffline.Job
import dev.diviz.bashoffline.runJob
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
class MainViewModel... | 0 | Kotlin | 0 | 0 | 0affb3d22077079ce33f44777b9c865afe547b94 | 1,587 | BashImOffline | MIT License |
app/src/androidTest/java/com/gorter/myquizapp/screenTests/MainActivityScreenTest.kt | jacketti | 560,410,790 | false | null | package com.gorter.myquizapp.screenTests
import androidx.test.espresso.matcher.ViewMatchers.*
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
import com.gorter.myquizapp.MainActivity
import com.gorter.myquizapp.robots... | 0 | Kotlin | 0 | 0 | 4b02d2a52140561ecf7134423885c5d195dc2543 | 932 | My-Quiz-App | MIT License |
android/src/main/java/com/traccar/TrackingService.kt | victorlpgazolli | 665,777,648 | false | null | /*
* Copyright 2012 - 2021 <NAME> (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 0 | null | 0 | 3 | 517e967a6766ad2bcec0cac18bb242d682694e91 | 6,085 | react-native-traccar | MIT License |
features/recipe_dashboard/src/main/java/com/carlosquezada/recipe_dashboard/presentation/ui/detail/adapter/PreparationViewHolder.kt | CarlosQuezadaP | 596,859,163 | false | null | package com.carlosquezada.recipe_dashboard.presentation.ui.detail.adapter
import androidx.recyclerview.widget.RecyclerView
import com.carlosquezada.recipe_dashboard.databinding.ItemPreparationBinding
class PreparationViewHolder(private val itemLayoutView: ItemPreparationBinding) :
RecyclerView.ViewHolder(itemLayo... | 0 | Kotlin | 0 | 0 | 10ca4b087c6037d8b2a3ac51c67713a17b021fa6 | 515 | recetas | Apache License 2.0 |
kds/src/commonMain/kotlin/com/soywiz/kds/BitSet.kt | korlibs | 110,368,329 | false | null | package korlibs.datastructure
import korlibs.datastructure.internal.*
import korlibs.datastructure.internal.math.Math.divCeil
import kotlin.collections.Collection
import kotlin.collections.Iterator
import kotlin.collections.any
import kotlin.collections.contentEquals
import kotlin.collections.contentHashCode
import ko... | 444 | null | 8 | 50 | cc2397e7a575412dfa6e3850317c59b168356b76 | 1,819 | kds | Creative Commons Zero v1.0 Universal |
android/src/main/java/com/jimmydaddy/imagemarker/base/ErrorCode.kt | JimmyDaddy | 83,907,794 | false | null | package com.jimmydaddy.imagemarker.base
enum class ErrorCode(val value: String) {
INVALID_PARAMS("INVALID_PARAMS"), PARAMS_REQUIRED("PARAMS_REQUIRED");
}
| 6 | TypeScript | 83 | 242 | e2a546e6e6a997c6ab9bd613c6515d23643f9603 | 157 | react-native-image-marker | MIT License |
app/src/main/java/com/cvillaseca/spotifykt/data/repository/TrackRepositoryImpl.kt | godiLabs | 197,490,008 | true | {"Kotlin": 124402, "Java": 1684} | package com.cvillaseca.spotifykt.data.repository
import com.cvillaseca.spotifykt.app.base.data.repository.RepositoryImpl
import com.cvillaseca.spotifykt.data.entity.TopTracksResponse
import com.cvillaseca.spotifykt.data.entity.Tracks
import com.cvillaseca.spotifykt.data.entity.request.TrackRequest
import com.cvillasec... | 0 | Kotlin | 0 | 0 | 38c8fbba666c04f28147a244f26af9f1ed2eead9 | 2,291 | SpotifyKt | Apache License 2.0 |
app/src/commonMain/kotlin/com/alexrdclement/uiplayground/app/demo/components/Component.kt | alexrdclement | 661,077,963 | false | {"Kotlin": 224028, "Swift": 900} | package com.alexrdclement.uiplayground.app.demo.components
import com.alexrdclement.uiplayground.app.catalog.CatalogItem
import kotlinx.serialization.Serializable
@Serializable
enum class Component : CatalogItem {
MediaControlSheet;
override val title = this.name
}
| 0 | Kotlin | 0 | 0 | a99ee143215098889afaf4fa97d3399f9dc65383 | 277 | UiPlayground | Apache License 2.0 |
src/main/kotlin/org/jetbrains/plugins/lang/psi/impl/SimpleNamedElementImpl.kt | sabahtalateh | 355,296,077 | false | null | package org.jetbrains.plugins.lang.psi.impl
import com.intellij.extapi.psi.ASTWrapperPsiElement
import com.intellij.lang.ASTNode
import org.jetbrains.plugins.lang.psi.SimpleNamedElement
abstract class SimpleNamedElementImpl(node: ASTNode) : SimpleNamedElement, ASTWrapperPsiElement(node)
| 11 | Kotlin | 0 | 0 | 4746e0c863ac2f05796935b4de2b6cc70bc83169 | 290 | simple-language | MIT License |
client/jackson/src/main/kotlin/net/corda/client/jackson/internal/CordaModule.kt | vstoykov | 134,833,478 | true | {"Kotlin": 5774665, "Java": 264265, "CSS": 23489, "Shell": 8262, "Gherkin": 3162, "Groovy": 2129, "Batchfile": 1332, "PowerShell": 660} | @file:Suppress("DEPRECATION")
package net.corda.client.jackson.internal
import com.fasterxml.jackson.annotation.JsonValue
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonToken
import com.fasterxml.jackson.databind.*
import com.fasterxm... | 0 | Kotlin | 0 | 0 | ee0d580448844efe14aa36e80e6a1ab6481c65f5 | 9,401 | corda | Apache License 2.0 |
client/jackson/src/main/kotlin/net/corda/client/jackson/internal/CordaModule.kt | vstoykov | 134,833,478 | true | {"Kotlin": 5774665, "Java": 264265, "CSS": 23489, "Shell": 8262, "Gherkin": 3162, "Groovy": 2129, "Batchfile": 1332, "PowerShell": 660} | @file:Suppress("DEPRECATION")
package net.corda.client.jackson.internal
import com.fasterxml.jackson.annotation.JsonValue
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonToken
import com.fasterxml.jackson.databind.*
import com.fasterxm... | 0 | Kotlin | 0 | 0 | ee0d580448844efe14aa36e80e6a1ab6481c65f5 | 9,401 | corda | Apache License 2.0 |
app/src/androidTest/java/com/duckduckgo/app/browser/useragent/UserAgentProviderTest.kt | akalankauk | 124,997,449 | false | null | /*
* Copyright (c) 2018 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 1 | null | 1 | 3 | 03f99c4a381d880ab850f0ddde9f692057a840e0 | 2,528 | Android | Apache License 2.0 |
src/main/kotlin/io/layercraft/packetlib/packets/v1_19_3/play/clientbound/ScoreboardScorePacket.kt | Layercraft | 531,857,310 | false | {"Kotlin": 337790, "Python": 53253} | package io.layercraft.packetlib.packets.v1_19_3.play.clientbound
import io.layercraft.packetlib.packets.*
import io.layercraft.packetlib.serialization.MCProtocolDeserializer
import io.layercraft.packetlib.serialization.MCProtocolSerializer
/**
* Update Score | 0x57 | play | clientbound
*
* @param itemName itemName... | 5 | Kotlin | 1 | 3 | 57908eda4aa1a40611eb0ac40d4081af14b1d263 | 1,566 | PacketLib | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.