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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
conventions/src/main/kotlin/knife/asm/visitors/TryCatchMethodVisitor.kt | 5Gene | 811,464,047 | false | {"Kotlin": 176633, "Java": 12080} | package knife.asm.visitors
import knife.asm.asmLog
import knife.asm.insertDefReturn
import org.objectweb.asm.Label
import org.objectweb.asm.MethodVisitor
import org.objectweb.asm.Opcodes
import wing.purple
internal class TryCatchMethodVisitor(
apiVersion: Int,
methodVisitor: MethodVisitor,
private val des... | 1 | Kotlin | 0 | 0 | d913fb4fe6b11bea6cb9ee288e45007199d5bd24 | 2,375 | conventions | Apache License 2.0 |
core/designsystem/src/main/java/com/minux/monitoring/core/designsystem/component/Slider.kt | MINUX-organization | 756,381,294 | false | {"Kotlin": 264940} | package com.minux.monitoring.core.designsystem.component
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.... | 0 | Kotlin | 0 | 0 | 34686a2d631adba006ea4f5e3a35fc36503dba4e | 10,832 | MNX.Mobile.Monitoring | MIT License |
lib.skinchange/src/main/java/com/ijoic/skin/extend/type/base/DrawableAttrType.kt | VerstSiu | 104,448,447 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 7, "Batchfile": 1, "Markdown": 1, "XML": 40, "Proguard": 3, "Kotlin": 96, "Java": 3} | /*
*
* Copyright(c) 2020 VerstSiu
*
* 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 agree... | 1 | null | 1 | 1 | a8c2d55eacfce51e3983b12774a20bad99764ce9 | 1,379 | skinchange | Apache License 2.0 |
src/main/kotlin/jp/assasans/araumi/tx/server/ecs/IEntityRegistry.kt | AraumiTX | 604,259,602 | false | null | package jp.assasans.araumi.tx.server.ecs
interface IEntityRegistry {
val freeId: Long
fun add(entity: IEntity)
fun get(id: Long): IEntity
}
| 0 | Kotlin | 1 | 3 | 4828d26c8ff73b902015c0bf68996bbf4f4eb561 | 148 | game-server | MIT License |
Chapter 01/17_extensions.kt | bpbpublications | 649,604,575 | false | {"Kotlin": 94438, "Java": 3484, "Shell": 275} | private fun String.addExclamationMark1(): String {
return "$this!"
}
| 0 | Kotlin | 0 | 1 | 3e8dfdb8ca03911063fe97d0e1e020f958e4dcdd | 73 | Scalable-Android-Applications-in-Kotlin | MIT License |
src/commonMain/kotlin/dev/evo/kafka/connect/restclient/models.kt | anti-social | 166,968,756 | false | null | package dev.evo.kafka.connect.restclient
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
@Serializable
data class ConnectInfo(
val version: String,
val commit: String
)
@Serializable
data class ConnectorStatus(
val name: String,
val type: String? = null,
val conn... | 0 | Kotlin | 0 | 0 | 1e4378cc76491d5a82a70222a2464c38955c2410 | 772 | kafka-connect-rest-client | Apache License 2.0 |
app/src/main/java/com/hudson/wanandroid/data/account/WanAndroidAccount.kt | HudsonAndroid | 278,809,991 | false | null | package com.hudson.wanandroid.data.account
import android.app.Activity
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.net.Uri
import android.os.ParcelFileDescriptor
import androidx.annotation.WorkerThread
import androidx.lifecycle.MutableLiveData
import com.hudson.wanandroid.WanAnd... | 1 | Kotlin | 1 | 0 | 4c0a43cf0fc4cb6d8c4b30a79f5e5301aff7a2d8 | 5,523 | WanAndroidJetpack | Apache License 2.0 |
src/jsMain/kotlin/reactredux/slices/ManualEntrySlice.kt | hapifhir | 285,363,653 | false | null | package reactredux.slices
import model.ValidationOutcome
import redux.RAction
object ManualEntrySlice {
data class State(
var validationOutcome: ValidationOutcome? = null,
var currentManuallyEnteredText: String = "",
var validatingManualEntryInProgress: Boolean = false,
)
data cl... | 18 | Kotlin | 6 | 9 | 6c0eaacfd2afc6d5f95bed143e31b7338cb144f1 | 1,025 | org.hl7.fhir.validator-wrapper | Apache License 2.0 |
Chapter06/Activity6.01/app/src/main/java/com/example/recipebook/RecipesAdapter.kt | PacktPublishing | 310,206,627 | false | {"Kotlin": 583795} | package com.example.recipebook
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import com.example.recipebook.model.Flavor
import com.example.recipebook.model.ListItem
import com.example.recipebook.mode... | 2 | Kotlin | 67 | 97 | b37be5b81ed1f5fb107733b509bae80e46f92f4a | 3,480 | How-to-Build-Android-Apps-with-Kotlin | MIT License |
document-manager/src/test/java/eu/europa/ec/eudi/wallet/document/TestIssuedDocumentExtensions.kt | eu-digital-identity-wallet | 712,350,082 | false | null | /*
* Copyright (c) 2023 European Commission
*
* 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 | 2 | 4 | b7cc53e916fbcf93eb63ff0b0db26902f1e59ec1 | 4,152 | eudi-lib-android-wallet-document-manager | Apache License 2.0 |
api_viewing/src/main/kotlin/com/madness/collision/unit/api_viewing/StatsAdapter.kt | HardikDG | 290,127,452 | true | {"Kotlin": 1065746, "Java": 46700} | package com.madness.collision.unit.api_viewing
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Bitmap
import android.util.SparseIntArray
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android... | 0 | null | 0 | 0 | 1689a11f9f659500ab87751ffdb9612f2bc734cd | 5,260 | boundo | Apache License 2.0 |
app/src/main/java/com/breezefieldsalesbaishalii/features/damageProduct/api/GetDamageProductListRegRepository.kt | DebashisINT | 764,495,414 | false | {"Kotlin": 16305966, "Java": 1023113} | package com.breezefieldsalesbaishalii.features.damageProduct.api
import android.content.Context
import android.net.Uri
import android.text.TextUtils
import android.util.Log
import com.breezefieldsalesbaishalii.app.FileUtils
import com.breezefieldsalesbaishalii.base.BaseResponse
import com.breezefieldsalesbaishalii.fea... | 0 | Kotlin | 0 | 0 | 1706fa9ae7d427280d4c6c04955a081f9fd99ec7 | 1,598 | BaishaliiTanksFSM | Apache License 2.0 |
android/core/src/main/java/com/iprayforgod/core/data/implementation/firebase/FirebaseAuthImpl.kt | devrath | 507,511,543 | false | {"Kotlin": 219977, "Java": 712} | package com.iprayforgod.core.data.implementation.firebase
import com.google.firebase.auth.FirebaseAuth
import com.iprayforgod.core.domain.features.firebase.FirebaseAuthFeature
class FirebaseAuthImpl(
private val firebaseAuth: FirebaseAuth
) : FirebaseAuthFeature {
override fun getFirebaseAuth(): FirebaseAuth... | 0 | Kotlin | 4 | 18 | 060080c93dc97279603be3efe5a228eadc71f41a | 347 | droid-pure-kotlin-application | Apache License 2.0 |
wasi-emscripten-host/src/commonMain/kotlin/emscripten/function/SyscallOpenatFunctionHandle.kt | illarionov | 769,429,996 | false | {"Kotlin": 1653596} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.host... | 0 | Kotlin | 0 | 3 | 546dc6fce69d2d3704ddf34939ab498931b2d047 | 2,280 | wasm-sqlite-open-helper | Apache License 2.0 |
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotnet/discovery/dotnetSdk/DotnetSdksProviderTest.kt | JetBrains | 49,584,664 | false | {"Kotlin": 2711266, "C#": 319161, "Java": 95520, "Dockerfile": 831, "CSS": 123} |
package jetbrains.buildServer.dotnet.test.dotnet.discovery.dotnetSdk
import jetbrains.buildServer.agent.FileSystemService
import jetbrains.buildServer.agent.Version
import jetbrains.buildServer.dotnet.discovery.dotnetSdk.DotnetSdk
import jetbrains.buildServer.dotnet.discovery.dotnetSdk.DotnetSdksProviderImpl
import ... | 3 | Kotlin | 25 | 94 | cdecbf2c7721a40265a031453262614809d5378d | 2,703 | teamcity-dotnet-plugin | Apache License 2.0 |
feature-governance-api/src/main/java/io/novafoundation/nova/feature_governance_api/domain/delegation/delegate/details/model/DelegateDetailsInteractor.kt | novasamatech | 415,834,480 | false | {"Kotlin": 11112596, "Rust": 25308, "Java": 17664, "JavaScript": 425} | package io.novafoundation.nova.feature_governance_api.domain.delegation.delegate.details.model
import io.novasama.substrate_sdk_android.runtime.AccountId
import kotlinx.coroutines.flow.Flow
interface DelegateDetailsInteractor {
fun delegateDetailsFlow(
delegateAccountId: AccountId,
): Flow<DelegateDe... | 14 | Kotlin | 30 | 50 | 166755d1c3388a7afd9b592402489ea5ca26fdb8 | 391 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/simplyapp/plate/calculator/ui/views/DiscountDialog.kt | HarryBartlam | 132,276,507 | false | null | package com.simplyapp.plate.calculator.ui.views
import android.content.Context
import android.support.v7.app.AppCompatDialog
import android.view.Window
import com.simplyapp.plate.calculator.R
import com.simplyapp.plate.calculator.utils.androidExt.hideKeyboard
import com.simplyapp.plate.calculator.utils.androidExt.show... | 0 | Kotlin | 0 | 0 | b3221c9bf91c1eb06808e4846d86a55d6ddd9166 | 1,221 | Sushi-Plate-Calculator | MIT License |
app/src/main/java/com/example/sagar/navigationuidemo/BottomNavFragment.kt | sagar-viradiya | 139,472,117 | false | null | package com.example.sagar.navigationuidemo
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.Navigation
import androidx.navigation.ui.setupKeepAliveNavController
import kotlinx.android.syn... | 2 | Kotlin | 21 | 77 | 1cec3257bcb6c0ab9fbff07debfdef183edbc1f4 | 1,029 | NavigationUIDemo | Apache License 2.0 |
app/src/main/java/io/woong/filmpedia/ui/page/people/PeopleViewModel.kt | cheonjaewoong | 391,828,359 | false | null | package io.woong.filmpedia.ui.page.people
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import io.woong.filmpedia.data.people.PersonSummary
import io.woong.filmpedia.repository.MovieRepository
import kotlinx.coroutines.CoroutineScope
import kotlinx.cor... | 0 | Kotlin | 0 | 4 | 2e2700dbff77881de55ade1de89a716b0b076f14 | 1,909 | filmpedia | MIT License |
contour/src/jsTest/kotlin/io.data2viz.contour/ContourJsTests.kt | data2viz | 89,368,762 | false | null | /*
* Copyright (c) 2018-2019. data2viz sàrl.
*
* 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... | 82 | null | 29 | 370 | 2e6fe9cdb767523b8d21e11706fe4a3ffd65564e | 1,456 | data2viz | Apache License 2.0 |
src/main/kotlin/org/authapp/database/DatabaseInitializer.kt | koldn | 279,396,209 | false | null | package org.authapp.database
import org.authapp.database.domain.Role
import org.authapp.database.domain.RolesTable
import org.authapp.database.domain.UserTable
import org.authapp.security.user.role.SystemRoles
import org.jetbrains.exposed.sql.SchemaUtils
object DatabaseInitializer {
fun initTables() {
Sch... | 0 | Kotlin | 0 | 0 | 2437e37e2ce0409f31c5c49bccc1eb22665050fe | 856 | auth-app | Apache License 2.0 |
src/test/kotlin/com/google/actions/api/smarthome/TestSmartHomeApp.kt | actions-on-google | 165,905,654 | false | null | /*
* Copyright 2018 Google Inc. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 29 | Kotlin | 43 | 286 | d99b1a20aca7dc0d8d259fa8ce21c1a1989d5745 | 1,786 | actions-on-google-java | Apache License 2.0 |
plugins/devkit/devkit-kotlin-tests/testData/inspections/inspectionDescription/MyInspection.kt | ingokegel | 72,937,917 | false | null | class <warning descr="Inspection does not have a description">MyInspection</warning> : com.intellij.codeInspection.InspectionProfileEntry() {
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 147 | intellij-community | Apache License 2.0 |
app/src/main/java/net/deubzer/app/currence/ui/theme/Messagecard.kt | deubzerm | 603,885,736 | false | null | package net.deubzer.app.currence.ui.theme
import android.content.res.Configuration
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import andro... | 0 | Kotlin | 0 | 0 | 48f893b97366c99f0858e2540ed1dc3fa75f2ecd | 2,753 | android-compose_CurrenCe | MIT License |
src/test/kotlin/no/nav/navnosearchapi/utils/testData.kt | navikt | 654,102,354 | false | {"Kotlin": 113231, "Dockerfile": 235} | package no.nav.navnosearchapi.utils
import no.nav.navnosearchapi.admin.consumer.kodeverk.dto.KodeverkResponse
import no.nav.navnosearchapi.common.dto.ContentDto
import no.nav.navnosearchapi.common.dto.ContentMetadata
import no.nav.navnosearchapi.common.model.ContentDao
import no.nav.navnosearchapi.common.model.MultiLa... | 8 | Kotlin | 0 | 0 | 5e65eff926d2846d41767256d1774411e0d687f1 | 5,042 | navno-search-api | MIT License |
mobile_app1/module324/src/main/java/module324packageKt0/Foo94.kt | uber-common | 294,831,672 | false | null | package module324packageKt0;
annotation class Foo94Fancy
@Foo94Fancy
class Foo94 {
fun foo0(){
module324packageKt0.Foo93().foo6()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
fun foo6(){
foo5()
... | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 323 | android-build-eval | Apache License 2.0 |
app/src/main/java/io/github/armcha/architecturesampleproject/data/api/SomeApiService.kt | armcha | 143,863,471 | false | null | package io.github.armcha.architecturesampleproject.data.api
import io.github.armcha.architecturesampleproject.domain.model.User
import io.reactivex.Flowable
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class SomeApiService @Inject constructor(){
fun getUsersList():Flowable<List<User>>{
... | 0 | Kotlin | 1 | 1 | 81bf0b91f483e2db74eee638215cb1b6e880f1b2 | 339 | MPV_architecture_adaptation | Apache License 2.0 |
app/src/main/java/com/wooda/tinymp3player/splash/SplashActivity.kt | wooda96 | 275,511,167 | false | null | package com.wooda.tinymp3player.splash
import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.wooda.tinymp3player.R
import com.wooda.tinymp3player.splash.services.PermissionService
class SplashActivity : SplashPresenter.View, AppCompatActivity() {
compa... | 0 | Kotlin | 0 | 0 | 9bf40bd37d3ac49bddc89f54d70a5f773ff65d7c | 1,221 | TinyMP3Player | MIT License |
src/org/lukasj/idea/torquescript/runner/TSRunConfigurationSettingsEditor.kt | lukaspj | 385,020,179 | false | null | package org.lukasj.idea.torquescript.runner
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory
import com.intellij.openapi.options.SettingsEditor
import com.intellij.openapi.project.Project
import com.intellij.ui.dsl.builder.RowLayout
import com.intellij.ui.dsl.builder.bindText
import com.intellij.ui... | 3 | Kotlin | 0 | 0 | bb908408196d710fbe01b39e2c79fca0d031c01b | 2,692 | IDEA-TorqueScriptLanguage | MIT License |
app/src/main/java/com/sukitsuki/ano/module/RepositoryModule.kt | Tsuki | 176,246,872 | false | null | package com.sukitsuki.ano.module
import android.app.Application
import com.google.gson.GsonBuilder
import com.sukitsuki.ano.AppConst
import com.sukitsuki.ano.AppConst.cacheSize
import com.sukitsuki.ano.dao.CookieDao
import com.sukitsuki.ano.repository.BackendRepository
import com.sukitsuki.ano.repository.CookieReposit... | 0 | Kotlin | 1 | 1 | 9e4f9285e2b1c47068edabf396e268225e583ed1 | 2,274 | ano | MIT License |
compose-mds/src/main/java/ch/sbb/compose_mds/sbbicons/large/ChartLineLarge.kt | SchweizerischeBundesbahnen | 853,290,161 | false | {"Kotlin": 6728512} | package ch.sbb.compose_mds.sbbicons.large
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mit... | 0 | Kotlin | 0 | 1 | 090a66a40e1e5a44d4da6209659287a68cae835d | 2,572 | mds-android-compose | MIT License |
diverse-recycler-adapter/src/main/java/com/trading212/diverserecycleradapter/drag/Draggable.kt | Trading212 | 113,188,420 | false | null | package com.trading212.diverserecycleradapter.drag
/**
* The interface should be implemented from DiverseRecyclerAdapter.ViewHolder to enable item drag to reorder functionality
*
* Created by svetlin on 29.01.18.
*/
interface Draggable {
/**
* Called when a drag action starts on the view created by this ... | 0 | Kotlin | 3 | 16 | f49ea1991189019a743ce37b665e813cd40aa03e | 717 | DiverseRecyclerAdapter | Apache License 2.0 |
src/main/kotlin/org/wfanet/panelmatch/client/deploy/ExchangeWorkflowDaemonFromFlags.kt | world-federation-of-advertisers | 349,561,061 | false | {"Kotlin": 10133199, "Starlark": 948914, "C++": 627937, "CUE": 193204, "HCL": 162357, "TypeScript": 101485, "Python": 77652, "Shell": 20877, "CSS": 9620, "Go": 8063, "JavaScript": 5305, "HTML": 2489} | // Copyright 2021 The Cross-Media Measurement 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 applic... | 150 | Kotlin | 11 | 36 | b5c84f8051cd189e55f8c43ee2b9cc3f3a75e353 | 8,916 | cross-media-measurement | Apache License 2.0 |
Library/src/main/java/com/sunzn/stream/library/vars/Value.kt | uncn | 224,794,648 | false | null | package com.sunzn.stream.library.vars
object Value {
const val EMPTY = ""
}
| 0 | Kotlin | 0 | 0 | 27e0fc537974b436f2b7cfb1101859ed43687448 | 83 | stream | Apache License 2.0 |
app/src/main/java/com/anugrahdev/litenews/utils/Resource.kt | anugrahdev | 260,928,757 | false | null | package com.anugrahdev.litenews.utils
sealed class Resource<T> (
val data:T? = null,
val message:String? = null
){
class Success<T>(data: T?):Resource<T>(data)
class Error<T>(message: String?,data: T?=null):Resource<T>(data,message)
class Loading<T>:Resource<T>()
}
| 0 | Kotlin | 0 | 1 | 244e7ed0f526a26462f43c74ab7beee0ad3656c1 | 288 | Litenews | MIT License |
app/src/main/java/com/concordium/wallet/ui/more/unshielding/UnshieldingActivity.kt | Concordium | 750,205,274 | false | {"Kotlin": 1710172, "Java": 68714, "HTML": 53707, "CSS": 256} | package com.concordium.wallet.ui.more.unshielding
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.get
import com.concordium.wallet.R
import com.concordiu... | 16 | Kotlin | 0 | 1 | ac1dd9087feb19081be4d92e65bb8bb4136750f9 | 4,389 | cryptox-android | Apache License 2.0 |
app/src/main/java/com/puntogris/blint/feature_store/presentation/orders/manage/OrdersAdapter.kt | puntogris | 326,269,924 | false | {"Kotlin": 408095} | package com.puntogris.blint.feature_store.presentation.orders.manage
import android.view.ViewGroup
import androidx.paging.PagingDataAdapter
import com.puntogris.blint.feature_store.domain.model.order.OrderWithRecords
import com.puntogris.blint.feature_store.presentation.orders.OrderWithRecordsDiffCallBack
class Order... | 0 | Kotlin | 0 | 1 | 63dcee8de767f8632f3c8a1cf4918f98bc01644d | 776 | blint | MIT License |
core/src/kotlin/org/kobjects/ktdb/DbManager.kt | kobjects | 760,126,179 | false | {"Kotlin": 87035} | package org.kobjects.db
import org.kobjects.ktdb.DbException
/**
*
* Title:
*
* Description:
*
* Copyright: Copyright (c) 2002
*
* Company:
* @author unascribed
* @version 1.0
*/
object DbManager {
/**
* Connects to a table. This factory method examines the given connector and
* loads a suita... | 0 | Kotlin | 0 | 0 | 0779cf88a9bcfe308cd83aeb8d31ca60e5be7ff5 | 2,040 | ktdb | Apache License 2.0 |
app/src/main/java/com/example/android/navigation/utils/Level.kt | petrodcas | 444,213,115 | false | null | package com.example.android.navigation
import androidx.annotation.StringRes
/**
* Enum con los posibles Niveles de dificultad de las partidas.
*
* Todos los niveles tienen por defecto una referencia al string (*stringID*) en strings.xml para poder cargar fácilmente su nombre y también tienen
* tienen asignados el... | 0 | Kotlin | 0 | 0 | b1046c1eb39050f4041c788b1e678f09d09bc8b1 | 710 | AndroidTrivia_LastMod | Apache License 2.0 |
lib/src/test/kotlin/com/segment/analytics/kotlin/destinations/bugsnag/BugsnagDestinationTests.kt | segment-integrations | 605,119,855 | false | null | package com.segment.analytics.kotlin.destinations.bugsnag
import android.app.Activity
import android.app.Application
import android.content.Context
import android.content.Intent
import com.bugsnag.android.Client
import com.segment.analytics.kotlin.core.*
import com.segment.analytics.kotlin.core.platform.Plugin
import ... | 0 | Kotlin | 0 | 0 | 55548bc90ab28b522c1688b053fea5c4fa4bb8ec | 5,266 | analytics-kotlin-integration-bugsnag | The Unlicense |
src/main/kotlin/de/westermann/kobserve/property/FlatMapProperty.kt | Eden-06 | 138,000,306 | false | {"Kotlin": 675525, "SCSS": 21894, "HTML": 768} | package de.westermann.kobserve.property
import de.westermann.kobserve.Binding
import de.westermann.kobserve.Property
import de.westermann.kobserve.ReadOnlyProperty
class FlatMapProperty<R, T>(
private val transform: (R) -> Property<T>,
receiver: ReadOnlyProperty<R>
) : FlatMapReadOnlyProperty<R, T>(transform... | 5 | Kotlin | 1 | 2 | 27f4a4c44d90f20f748ab779c3c184cb012a59fe | 748 | FRaMED-io | MIT License |
base/src/test/java/org/kin/stellarfork/codec/CharEncodingTest.kt | kinecosystem | 267,638,129 | false | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 6 | Kotlin | 24 | 38 | 2a873ee87e1524dca06f1ad7b17d09eb39e4b3a6 | 1,574 | kin-android | MIT License |
app/src/main/java/com/ctech/eaty/ui/collection/epic/LoadEpic.kt | dbof10 | 116,687,959 | false | null | package com.ctech.eaty.ui.collection.epic
import com.ctech.eaty.base.redux.Action
import com.ctech.eaty.base.redux.Epic
import com.ctech.eaty.repository.BarcodeGenerator.createCollectionListBarCode
import com.ctech.eaty.repository.CollectionRepository
import com.ctech.eaty.ui.collection.action.CollectionAction
import ... | 2 | Kotlin | 11 | 49 | 2e3445debaedfea03f9b44ab62744046fe07f1cc | 1,571 | hunt-android | Apache License 2.0 |
enigma-machine-android/app/src/main/java/com/smitpatel/enigmamachine/ui/paste_error/PasteErrorFragment.kt | smite1921 | 303,834,038 | false | {"Kotlin": 93836, "Java": 56924} | package com.smitpatel.enigmamachine.ui.paste_error
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
import androidx.fragment.app.DialogFragment
import com.smitpatel.enigmamachine.databinding.FragmentPasteErrorBinding
c... | 5 | Kotlin | 0 | 6 | 7f9b35bffa3cf00a4435be5b960af7875f1050c3 | 1,540 | enigma_machine | MIT License |
app/src/main/java/app/lingoknight/menu/MainActivity.kt | Carter-Prime | 299,462,440 | false | null | //<NAME>
// 1910059
package app.lingoknight.menu
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.drawerlayout.widget.DrawerLayout
import androidx.navigation.findNavController
import androidx.navigation.ui.NavigationUI
import app.ling... | 0 | Kotlin | 0 | 0 | 6168a0f825d68fc2d5a7fb82982c7bf0531556b9 | 1,231 | LingoKnight---Android-Project | Apache License 2.0 |
parcelable/src/notParcelableMain/kotlin/com/arkivanov/essenty/parcelable/ParcelWriter.kt | arkivanov | 385,374,863 | false | null | @file:Suppress("MatchingDeclarationName")
package com.arkivanov.essenty.parcelable
import com.arkivanov.essenty.utils.internal.ExperimentalEssentyApi
actual class ParcelWriter private constructor()
@ExperimentalEssentyApi
actual fun ParcelWriter.writeBoolean(value: Boolean) {
error("Not yet supported")
}
@Expe... | 2 | Kotlin | 9 | 289 | 0114d0e063b7fa19c9901189a31a2427b8f531c8 | 990 | Essenty | Apache License 2.0 |
src/main/kotlin/com/rallerenp/brinkapi/services/IGalleryService.kt | RallerenP | 301,845,958 | false | null | package com.rallerenp.brinkapi.services
import com.rallerenp.brinkapi.entities.Gallery
interface IGalleryService
{
fun getAllGalleries(): Gallery
} | 0 | Kotlin | 0 | 0 | c755d44d7177b7c350e7a4eb6d46a0ef3eeb165a | 153 | brink-api | MIT License |
app/src/main/java/cloud/shoplive/sample/shortform/ShortformTabAdapter.kt | shoplive | 387,103,168 | false | {"Kotlin": 145407} | package cloud.shoplive.sample.shortform
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
class ShortformTabAdapter(fragmentActivity: FragmentActivity) : FragmentStateAdapter(fragmentActivity) {
private val _currentList = mu... | 0 | Kotlin | 1 | 9 | 876555befd90081060404cfb4962b5846e9c67f2 | 706 | android-sdk-sample | MIT License |
app/src/main/java/com/yapp/bol/app/di/DataStoreModule.kt | YAPP-Github | 634,125,431 | false | {"Kotlin": 369447} | package com.yapp.bol.app.di
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.PreferenceDataStoreFactory
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.preferencesDataStoreFile
import dagger.Module
import dag... | 1 | Kotlin | 2 | 14 | 4b5efbf0d68d5d2b03d4afd5a08e73e5bb67bd9b | 872 | onboard-aos | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/android/internal/InternalKotlinTargetPreset.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* 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.gradle.targets.android.internal
import org.jetbrains.kotlin.gradle.InternalKotli... | 181 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,090 | kotlin | Apache License 2.0 |
app/src/main/java/com/wonrax/mybk/model/grade/SemesterGrade.kt | wonrax | 402,995,991 | false | {"Kotlin": 143985, "Shell": 182} | package com.wonrax.mybk.model.grade
class SemesterGrade(
val diem: Array<CourseGrade>? = null,
val diem_renluyen: String? = null,
val diem_tb: String? = null,
val diem_tbtl: String? = null,
val dieukien_hbkk: String? = null,
val dtb_1hocky: String? = null,
val dtb_chung_morong: String? = nu... | 4 | Kotlin | 1 | 7 | 418854c5660f1a12d1027936a1197ef0313659f2 | 742 | mybk-mobile | MIT License |
client/client-efa/src/commonMain/kotlin/de/jlnstrk/transit/api/efa/serializer/primitive/datetime/EfaNestedObjectDateTimeSerializer.kt | jlnstrk | 229,599,180 | false | {"Kotlin": 729374} | package de.jlnstrk.transit.api.efa.serializer.primitive.datetime
import de.jlnstrk.transit.util.LocalDateTime
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.seriali... | 0 | Kotlin | 0 | 0 | 9f700364f78ebc70b015876c34a37b36377f0d9c | 1,705 | transit | Apache License 2.0 |
liveroom-service/shoppingservice/src/main/java/com/qlive/shoppingservice/QShoppingServiceImpl.kt | qiniu | 538,322,435 | false | {"Kotlin": 1143492, "Java": 484578} | package com.qlive.shoppingservice
import android.text.TextUtils
import com.qlive.core.QLiveCallBack
import com.qlive.core.been.QExtension
import com.qlive.core.been.QLiveRoomInfo
import com.qlive.core.been.QLiveStatistics
import com.qlive.coreimpl.*
import com.qlive.coreimpl.model.LiveStatistics
import com.qlive.jsonu... | 0 | Kotlin | 4 | 5 | 6a13f808c2c36d62944e7a206a1524dba07a9cec | 12,215 | QNLiveKit_Android | MIT License |
app/src/main/java/com/frogobox/research/common/base/BaseFragment.kt | amirisback | 603,332,878 | false | null | package com.frogobox.research.common.base
import androidx.appcompat.app.AppCompatActivity
import com.frogobox.research.common.delegate.SampleDelegates
import com.frogobox.research.common.delegate.SampleDelegatesImpl
/**
* Created by <NAME> on 24/10/22
* -----------------------------------------
* E-mail : <EMAIL... | 0 | Kotlin | 0 | 4 | e01af6ba960c34ed06f32181d649732eeb6b3b15 | 573 | coach-mark | Apache License 2.0 |
decoder/src/main/kotlin/net/redwarp/gif/decoder/utils/Palettes.kt | cortinico | 331,434,416 | false | null | package net.redwarp.gif.decoder.utils
object Palettes {
private val Apple2 = intArrayOf(
0xff000000.toInt(),
0xff6c2940.toInt(),
0xff403578.toInt(),
0xffd93cf0.toInt(),
0xff135740.toInt(),
0xff808080.toInt(),
0xff2697f0.toInt(),
0xffbfb4f8.toInt(),
... | 1 | null | 1 | 1 | a805dad224435f5abfbf9bb4743f8c7a35200f08 | 997 | gifdecoder | Apache License 2.0 |
src/main/kotlin/cryptography/PrivateKey.kt | sander | 606,774,943 | false | {"Kotlin": 37638} | package nl.sanderdijkhuis.noise.cryptography
@JvmInline
value class PrivateKey(val value: ByteArray)
| 1 | Kotlin | 1 | 8 | f4dc689a2f6686bcf2550e33c05ffd43117a6ec5 | 102 | noise-kotlin | MIT License |
app/src/main/java/com/trackerbreeze/features/nearbyshops/api/ShopListApi.kt | DebashisINT | 598,511,717 | false | {"Kotlin": 14681886, "Java": 1020861} | package com.trackerbreeze.features.nearbyshops.api
import com.trackerbreeze.app.NetworkConstant
import com.trackerbreeze.base.BaseResponse
import com.trackerbreeze.features.login.model.GetQtsAnsSubmitDtlsResponseModel
import com.trackerbreeze.features.login.model.GetSecImageUploadResponseModel
import com.trackerbreeze... | 0 | Kotlin | 0 | 0 | 182458b42a353a3a905fc55056f4c8efe4aa514c | 4,541 | NTC | Apache License 2.0 |
app/src/main/java/monster/moti/lsposed/resalat/deny_root_access.dart.kt | FMotalleb | 756,866,378 | false | {"Kotlin": 3465} | package monster.moti.lsposed.resalat
import android.util.Log
import de.robv.android.xposed.XC_MethodHook
import de.robv.android.xposed.XposedHelpers
import de.robv.android.xposed.callbacks.XC_LoadPackage.LoadPackageParam
const val logKey = "ResalatHook"
fun resalatRootKiller(lpparam: LoadPackageParam) {
if (!lppa... | 0 | Kotlin | 1 | 0 | 1313b215b5266d32c197545d94d5a5ba98c6e5b8 | 812 | lsposed_personal_hooks | MIT License |
androidApp/src/main/java/com/joeracosta/bookingbot/android/BottomNavItem.kt | JayyyR | 604,273,431 | false | null | package com.joeracosta.bookingbot.android
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.AccountBox
import androidx.compose.material.icons.rounded.Home
import androidx.compose.material.icons.rounded.Place
import androidx.compose.ui.graphics.vector.ImageVector
sealed class ... | 0 | Kotlin | 0 | 0 | 71558c785396d96be9ea867a1d979e9292513b3d | 637 | BookingBot | MIT License |
appyx-navigation/common/src/commonMain/kotlin/com/bumble/appyx/navigation/builder/SimpleBuilder.kt | bumble-tech | 493,334,393 | false | {"Kotlin": 840848, "Python": 2324, "HTML": 347, "Shell": 327, "CSS": 134} | package com.bumble.appyx.navigation.builder
import com.bumble.appyx.navigation.modality.BuildContext
import com.bumble.appyx.navigation.node.Node
// Changing this to an interface would be a breaking change
@Suppress("UnnecessaryAbstractClass")
abstract class SimpleBuilder {
abstract fun build(buildContext: BuildC... | 88 | Kotlin | 54 | 986 | 2527e74523d9dbb14eb3756a6281b6ff1c929d72 | 336 | appyx | Apache License 2.0 |
android/src/main/kotlin/com/anka/twitter_qr_scanner/QRViewFactory.kt | Furkankyl | 233,615,487 | false | {"Dart": 13229, "Kotlin": 8117, "Swift": 5176, "Ruby": 4422, "Objective-C": 758} | package net.touchcapture.qr.flutterqr
import android.content.Context
import io.flutter.plugin.common.PluginRegistry
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory
class QRViewFactory(private val registrar: Plug... | 7 | Dart | 12 | 5 | a7ec6399673a2415b3f2242605ae9596c73742bf | 528 | twitter_qr_scanner | MIT License |
apps/etterlatte-pdltjenester/src/test/kotlin/person/PersonRouteTest.kt | navikt | 417,041,535 | false | null | package no.nav.etterlatte.person
import io.ktor.client.request.header
import io.ktor.client.request.post
import io.ktor.client.request.setBody
import io.ktor.client.statement.bodyAsText
import io.ktor.http.ContentType
import io.ktor.http.HttpHeaders
import io.ktor.http.HttpMethod
import io.ktor.http.HttpStatusCode
imp... | 6 | Kotlin | 0 | 3 | 8d41d2e006b5df41eacef84a670bc162ed72233c | 6,902 | pensjon-etterlatte-saksbehandling | MIT License |
compose-test/src/main/kotlin/io/github/kakaocup/compose/foundation/Button.kt | KakaoCup | 403,825,613 | false | {"Kotlin": 179435} | package io.github.kakaocup.compose.foundation
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.test.SemanticsNodeInteractionsProvider
import io.github.kakaocup.compose.node.builder.NodeMatcher
im... | 10 | Kotlin | 15 | 144 | b690441e11530130dd9b1ad2e26f8544e10343f6 | 2,679 | Compose | Apache License 2.0 |
app/src/main/java/com/gilbersoncampos/pokeguide/PokeGuideAplication.kt | RickelmyCampos | 812,346,616 | false | {"Kotlin": 58878} | package com.gilbersoncampos.pokeguide
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class PokeGuideAplication:Application() | 0 | Kotlin | 0 | 1 | f16ddb5906360ca1cc55e1e88a28a9b044eceb65 | 168 | PokeGuide | MIT License |
tools/sql_extraction/src/main/kotlin/DataFlowEngine.kt | arcdesign | 275,235,867 | true | {"HTML": 705589, "TSQL": 53723, "Kotlin": 24145, "Python": 23450, "Shell": 6071, "Java": 1507, "PLpgSQL": 1174, "PLSQL": 1102} | package com.google.cloud.sqlecosystem.sqlextraction
/**
* Backend engine for running data-flow analysis
* @see FrontEnd
*/
class DataFlowEngine | 0 | null | 0 | 0 | ff2125daec1d2e8d22ed2568268baa868888a700 | 147 | bigquery-utils | Apache License 2.0 |
Visitor/src/main/kotlin/IElement.kt | AaronChuang | 208,242,423 | false | null | // 制訂以Visitor物件當參數的Accept()介面
interface IElement {
fun accept(visitor:IVisitor)
} | 0 | Kotlin | 0 | 0 | 9e31b8065a7b98e30d93033fae92d0381c17ef34 | 85 | Kotlin-DesignPatternExample | MIT License |
src/aws/lambdas/incremental_distribution/src/test/java/uk/nhs/nhsx/highriskpostcodesupload/RiskyPostCodesHandlerTest.kt | bimec | 333,407,092 | true | {"Markdown": 51, "Text": 3, "Ruby": 84, "Ignore List": 3, "JSON": 10, "INI": 5, "Gradle": 4, "Shell": 10, "Batchfile": 1, "Kotlin": 102, "Protocol Buffer": 1, "HCL": 153, "Java": 265, "XML": 1, "YAML": 7, "Makefile": 1, "JavaScript": 2, "PlantUML": 10, "Python": 2, "Dockerfile": 1, "HTML+ERB": 1} | package uk.nhs.nhsx.highriskpostcodesupload
import com.amazonaws.HttpMethod
import com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent
import com.google.common.primitives.Bytes
import io.mockk.Runs
import io.mockk.every
import io.mockk.just
import io.mockk.mockk
import io.mockk.verify
import org.... | 0 | null | 0 | 0 | b0871e684c526b90c7ae25004e838b9103644e4f | 6,285 | covid19-app-system-public | MIT License |
androidshared/src/main/java/org/odk/collect/androidshared/ui/MultiSelectViewModel.kt | dabwao | 637,960,292 | true | {"Java Properties": 6, "Gradle": 33, "Shell": 3, "YAML": 3, "INI": 31, "Markdown": 22, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 35, "XML": 543, "Kotlin": 619, "Java": 735, "Text": 2, "JSON": 4, "JavaScript": 1, "Proguard": 3, "Gradle Kotlin DSL": 7} | package org.odk.collect.androidshared.ui
import androidx.lifecycle.ViewModel
import org.odk.collect.androidshared.livedata.MutableNonNullLiveData
import org.odk.collect.androidshared.livedata.NonNullLiveData
class MultiSelectViewModel : ViewModel() {
private val selected = MutableNonNullLiveData(emptySet<Long>()... | 0 | null | 0 | 0 | 7938500c89f538285add79b90b35b3ab68497c96 | 802 | collect | Apache License 2.0 |
kotlin-dsl/dsl/src/test/kotlin/com/chutneytesting/kotlin/dsl/ChutneyCampaignDslTest.kt | owerfelli | 791,217,559 | true | {"Markdown": 64, "Batchfile": 2, "Shell": 2, "Gradle Kotlin DSL": 6, "INI": 5, "Java": 984, "HTML": 64, "JavaScript": 6, "Kotlin": 241, "SQL": 4, "Java Properties": 1, "Dockerfile": 3, "CSS": 1, "TypeScript": 250} | /*
* Copyright 2017-2023 Enedis
*
* 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 t... | 0 | null | 0 | 0 | a7b0bf69921fd29f846763ba4e67e271dbfaad13 | 1,491 | chutney | Apache License 2.0 |
src/main/java/mods/eln/item/electricalitem/BatteryItem.kt | VoXaN24 | 286,433,584 | false | {"Java": 2449574, "Kotlin": 322226, "Shell": 1146, "Python": 489, "Nix": 459} | package mods.eln.item.electricalitem
import mods.eln.generic.GenericItemUsingDamageDescriptor
import mods.eln.item.electricalinterface.IItemEnergyBattery
import mods.eln.misc.Utils
import mods.eln.misc.UtilsClient
import mods.eln.wiki.Data
import net.minecraft.entity.player.EntityPlayer
import net.minecraft.item.Item
... | 1 | null | 1 | 1 | 8b54855a8709438dd66cd11273ce59e368800f91 | 2,828 | electricalage-1.12 | Creative Commons Zero v1.0 Universal |
middle/block/src/main/java/com/timecat/middle/block/service/DNS.kt | LinXueyuanStdio | 325,427,986 | false | {"Java": 471304, "Kotlin": 335967} | package com.timecat.middle.block.service
import android.net.Uri
import com.timecat.data.room.space.Space
/**
* @author 林学渊
* @email linxy59@mail2.sysu.edu.cn
* @date 2021/11/21
* @description
* 形如
* world://{host}/{path}?redirect={ContainerService}&spacedId={dbPath}&recordId={uuid}
* @usage null
*/
object DNS... | 1 | null | 1 | 1 | e8c126d51f1583b470523d5fa51c60971f8a6144 | 2,484 | TimeCatMiddle | Apache License 2.0 |
app/src/main/java/com/ntgclarity/authenticator/MainActivity.kt | Abdaishere | 522,235,010 | false | null | package com.ntgclarity.authenticator
import android.content.Intent
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import androidx.appcompat.app.AppCompatActivity
import authenticator.R
import com.ntgclarity.authenticator.Map.MapsActivity
import com.ntgclarity.authenticator.News.N... | 0 | Kotlin | 0 | 0 | ec4ae0a7322c27eeef4373cf92d02bf773a7800b | 1,643 | News-App | MIT License |
src/test/kotlin/prototype_test/PrototypeTest.kt | xmmmmmovo | 318,367,991 | false | null | /*
* Copyright (c) xmmmmmovo 2021.
*/
package prototype_test
import org.junit.jupiter.api.AfterAll
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Test
import org.junit.platform.commons.logging.LoggerFactory
import prototype.MessageBox
import prototype.UnderlinePen
import prototype.framework.Man... | 0 | Kotlin | 0 | 0 | b9007e601c749451bfb4d7b0e059cfd5ffb6ae02 | 1,353 | DesignPatterns | Apache License 2.0 |
kotlin/lib-spring-boot-llm-os/src/main/kotlin/com/github/frtu/kotlin/llm/os/agent/AgentExecuter.kt | frtu | 338,595,537 | false | {"Kotlin": 442294, "Java": 157399, "Shell": 10826, "Dockerfile": 248} | package com.github.frtu.kotlin.llm.os.agent
import com.github.frtu.kotlin.llm.os.llm.Chat
import com.github.frtu.kotlin.llm.os.llm.model.Answer
import com.github.frtu.kotlin.llm.os.memory.Conversation
import com.github.frtu.kotlin.llm.os.tool.ToolRegistry
import com.github.frtu.kotlin.utils.io.toJsonNode
/**
* An ag... | 0 | Kotlin | 0 | 1 | b480fef80acb753bd6d824c556aa3e9c09ec4d14 | 3,093 | lib-toolbox | Apache License 2.0 |
src/main/kotlin/de/sambalmueslie/openevent/core/logic/account/AccountChangeListener.kt | Black-Forrest-Development | 542,810,521 | false | null | package de.sambalmueslie.openevent.core.logic.account
import de.sambalmueslie.openevent.core.BusinessObjectChangeListener
import de.sambalmueslie.openevent.core.model.Account
interface AccountChangeListener : BusinessObjectChangeListener<Long, Account>
| 4 | Kotlin | 0 | 1 | 192ad36f2e72962bafb7966e823b7fbed5dc4d26 | 255 | open-event | Apache License 2.0 |
prime-router/src/test/kotlin/history/db/ReportGraphTest.kt | CDCgov | 304,423,150 | false | {"Kotlin": 4492797, "CSS": 3370586, "TypeScript": 1482549, "Java": 916549, "HCL": 282340, "MDX": 144135, "PLpgSQL": 77695, "HTML": 69589, "Shell": 66846, "SCSS": 64177, "Smarty": 51325, "RouterOS Script": 17080, "Python": 13706, "Makefile": 8166, "JavaScript": 8115, "Dockerfile": 2304} | package gov.cdc.prime.router.history.db
import assertk.assertThat
import assertk.assertions.isEqualTo
import assertk.assertions.isNotNull
import assertk.assertions.isNull
import gov.cdc.prime.router.Topic
import gov.cdc.prime.router.azure.db.enums.TaskAction
import gov.cdc.prime.router.azure.db.tables.pojos.Action
imp... | 1,373 | Kotlin | 39 | 64 | 1ccfc1c72f543e1c06ae26fd83ff7b87b3093dbb | 6,450 | prime-reportstream | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/pavelrekun/rekado/data/Config.kt | MenosGrante | 139,457,137 | false | {"Kotlin": 85436, "C++": 1277, "Ruby": 602, "CMake": 119} | package com.pavelrekun.rekado.data
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class Config(
val payloads: MutableList<Payload>,
val revision: Int
) | 5 | Kotlin | 49 | 901 | 9d8b43693a0f6c4cd03fd7431409a91799653377 | 198 | Rekado | Apache License 2.0 |
app/src/main/java/com/thanarino/kotlinchatapp/adapter/MessageAdapter.kt | thanarino | 522,297,623 | false | null | package com.thanarino.kotlinchatapp.adapter
import android.app.Activity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.google.firebase.auth.FirebaseAuth
import com.thanarino.kotlinchata... | 0 | Kotlin | 0 | 0 | be34abcdd2b0618560ef0123abe1fdc7c788b964 | 2,219 | kotlin-chat | Apache License 2.0 |
kamel-image/src/commonMain/kotlin/io/kamel/image/LazyPainterResource.kt | alialbaali | 327,244,529 | false | null | package io.kamel.image
import androidx.compose.runtime.*
import androidx.compose.ui.graphics.FilterQuality
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.graphics.painter.BitmapPainter
import androidx.compose.ui.graphics.painter.Painter
import androidx.compose.ui.graphics.vector.rem... | 9 | Kotlin | 6 | 99 | c851524fe6fc9f5ed8922eb8625bd63b12d6abed | 2,339 | Kamel | Apache License 2.0 |
hellokotlin/src/Hello.kt | jose7995 | 750,575,698 | false | {"Kotlin": 1822} | import java.util.*
fun main() {
val decorations = listOf("rock", "pagoda", "plastic plant", "alligator", "flowerpot")
// eager, creates a new list
val eager = decorations.filter { it[0] == 'p' }
println("eager: $eager")
// lazy, will wait until asked to evaluate
val filtered = decorations.asSe... | 0 | Kotlin | 0 | 0 | 99bf92b944c7ea9d5153935735fd2b5704dbc862 | 528 | IDS-Jose-376-C12024 | Apache License 2.0 |
src/main/kotlin/com/example/Application.kt | alextorrees | 782,020,042 | false | {"Kotlin": 50548} | package com.example
import com.example.dao.DataBaseConnection
import com.example.plugins.*
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import io.ktor.server.plugins.cors.routing.*
fun main() {
embeddedServer(Netty, port = 8080, host = "192... | 0 | Kotlin | 0 | 1 | 6615b7231942ac300eec37110a9dd34e80e9d4a3 | 839 | API_HospitalMar | MIT License |
Code/CurrencyConversionApp/app-core/ui/src/main/kotlin/com/istudio/core_ui/composables/ShimmerLoadingComposable.kt | devrath | 708,793,882 | false | {"Kotlin": 421370} | package com.istudio.core_ui.composables
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.infiniteRepeatable
import androidx.compose.animation.core.rememberInfiniteTransition
import androidx.compose.animation.core.tween
import androidx.compose.foundation.background
import andro... | 0 | Kotlin | 0 | 0 | 2be65d3388acfb5436cebeb4e03b0da581e2b437 | 1,882 | Droid-Testing-kit | Apache License 2.0 |
keel-plugin/src/test/kotlin/com/netflix/spinnaker/keel/annealing/ResourceActuatorTests.kt | xabierlaiseca | 195,388,064 | true | {"Kotlin": 408345, "Shell": 2086} | package com.netflix.spinnaker.keel.actuation
import com.netflix.spinnaker.keel.api.Resource
import com.netflix.spinnaker.keel.api.ResourceKind
import com.netflix.spinnaker.keel.api.SPINNAKER_API_V1
import com.netflix.spinnaker.keel.api.name
import com.netflix.spinnaker.keel.api.randomUID
import com.netflix.spinnaker.k... | 0 | Kotlin | 0 | 0 | 7709120de417b3e6e93fee0042a29aa106bca258 | 10,633 | keel | Apache License 2.0 |
app/src/main/java/app/re_eddit/api/factory/WebServiceFactory.kt | thi-feonir | 280,704,691 | false | null | package app.re_eddit.api.factory
import app.re_eddit.BuildConfig
import app.re_eddit.BuildConfig.API_URL
import app.re_eddit.api.service.RedditService
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.... | 0 | Kotlin | 0 | 0 | be95572522267db7a38707268f590ae8fd3af920 | 1,644 | re-eddit | Apache License 2.0 |
tmdbapi/src/main/java/com/afterroot/tmdbapi/model/core/IdElement.kt | thesandipv | 255,834,235 | false | null | /*
* Copyright (C) 2020-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 agree... | 10 | Kotlin | 0 | 3 | a52a1b2e2fe370c43b68b7ab4c4b6f40a161b08f | 1,207 | watchdone | Apache License 2.0 |
src/commonMain/kotlin/com/darkos/mvu/login/model/WithoutValidationField.kt | Darkos-den | 302,414,578 | false | null | package com.darkos.mvu.login.model
import com.darkos.mvu.models.MVUState
data class WithoutValidationField(
val value: String
) : MVUState() | 0 | Kotlin | 0 | 0 | ac77cad48ad14282965bc2391ebb0fc256f053bc | 146 | login-api | Apache License 2.0 |
app/src/main/java/com/example/flickersearchapp/ui/navigation/Destination.kt | hussnainmuavia | 724,330,615 | false | {"Kotlin": 45214} | package com.example.flickersearchapp.ui.navigation
sealed class Destination(val route: String) {
object HomeScreen : Destination(route = "homeScreen")
} | 0 | Kotlin | 0 | 0 | fec9cb82fbfe33358882b0dd68e45bb3f44bf373 | 158 | PhotoSearchApp | Apache License 2.0 |
android/src/main/kotlin/com/gstory/file_preview/X5WebviewActivity.kt | gstory0404 | 441,655,639 | false | null | package com.gstory.file_preview
import android.app.Activity
import android.os.Build
import android.os.Bundle
import com.tencent.smtt.sdk.*
/**
* @Author: gstory
* @CreateDate: 2022/10/19 16:13
* @Description: 描述
*/
class X5WebviewActivity : Activity() {
lateinit var webX5 : WebView
override fun onCrea... | 10 | Kotlin | 26 | 37 | 5892d5744ee866482a14d1b36059c7f1f7fcafb2 | 2,123 | file_preview | Apache License 2.0 |
app/src/main/java/me/capcom/smsgateway/App.kt | capcom6 | 503,827,141 | false | {"Kotlin": 145103} | package me.capcom.smsgateway
import android.app.Application
import healthModule
import me.capcom.smsgateway.data.dbModule
import me.capcom.smsgateway.modules.encryption.encryptionModule
import me.capcom.smsgateway.modules.gateway.GatewayService
import me.capcom.smsgateway.modules.localserver.localserverService
import ... | 4 | Kotlin | 32 | 121 | 7bde3174f9e7768f5cbd9f00ee5c357f92206f7d | 1,562 | android-sms-gateway | Apache License 2.0 |
widget/src/main/java/co/daily/android/widget/WebChromeClientPermissions.kt | checa-app | 296,683,630 | false | null | package co.daily.android.widget
import android.webkit.PermissionRequest
import android.webkit.WebChromeClient
class WebChromeClientPermissions : WebChromeClient() {
override fun onPermissionRequest(request: PermissionRequest) {
request.grant(request.resources)
}
} | 0 | Kotlin | 0 | 0 | ea8f7de0b337841bc73e8e572e423229f2b688ef | 275 | dailyco-android-widget | MIT License |
discover/src/commonMain/kotlin/inkapplications/shade/discover/PlatformModule.kt | InkApplications | 183,111,240 | false | {"Kotlin": 301356, "Shell": 99} | package inkapplications.shade.discover
import io.ktor.client.engine.*
/**
* Provides platform-specific dependencies for the SDK.
*/
internal expect class PlatformModule() {
/**
* Create Ktor http engine based on the platform.
*/
fun createEngine(): HttpClientEngineFactory<*>
}
| 18 | Kotlin | 4 | 65 | 485a97184adec1342f86451b20a0e33d4a0604cb | 300 | Shade | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/manageusersapi/resource/RolesController.kt | ministryofjustice | 406,273,579 | false | null | package uk.gov.justice.digital.hmpps.manageusersapi.resource
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.media.ArraySchema
import io.swagger.v3.oas.annotations.media.Content
import io.swagger.v3.oas.annotations.media.Schema
import io.swagger.v3.oas.annotations.responses.ApiRespo... | 0 | Kotlin | 0 | 0 | f1433b9941146f9d9bbdb217d99bc14f332b7c10 | 16,379 | hmpps-manage-users-api | MIT License |
build-logic/plugins/src/main/kotlin/com/soberg/gradle/plugin/config/AndroidCommonConfiguration.kt | jsoberg | 575,643,501 | false | {"Kotlin": 109909} | package com.soberg.gradle.plugin.config
import com.soberg.gradle.TestRunners
import com.soberg.gradle.Versions
import com.soberg.gradle.plugin.ext.androidCommon
import com.soberg.gradle.plugin.ext.kotlinAndroid
import org.gradle.api.Project
internal fun Project.configureAndroidCommon() {
androidCommon {
c... | 2 | Kotlin | 0 | 4 | f8b8bb92e4acb265d68af6ab0e62c737a544be62 | 1,023 | Android-Net-Info | MIT License |
wear/src/test/java/com/wojdor/polygonwatchface/configuration/choose/ChooseColorViewHolderTest.kt | wojciechkryg | 284,104,870 | false | null | package com.wojdor.polygonwatchface.configuration.choose
import android.view.View
import com.wojdor.commonandroid.view.ColorView
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import kotlinx.android.synthetic.main.item_choose_color.view.*
import org.junit.Test
class ChooseColorViewHolderTest {
... | 0 | Kotlin | 0 | 7 | df97e986c65e329799999d1e7aa4d3d9d08ea0b4 | 765 | polygon-watch-face | Apache License 2.0 |
reports/src/main/kotlin/com/jakewharton/diffuse/diff/AabDiff.kt | JakeWharton | 48,683,075 | false | {"Kotlin": 145638} | package com.jakewharton.diffuse.diff
import com.jakewharton.diffuse.format.Aab
import com.jakewharton.diffuse.report.Report
import com.jakewharton.diffuse.report.text.AabDiffTextReport
internal class AabDiff(
val oldAab: Aab,
val newAab: Aab,
) : BinaryDiff {
inner class ModuleDiff(
val oldModule: Aab.Modul... | 17 | Kotlin | 103 | 1,991 | ad99231ce9eab42d79ed7a90a448fabb8b178cec | 1,387 | diffuse | Apache License 2.0 |
android/app/src/main/java/com/example/myapplication/DailyStockHandler.kt | Ozilele | 689,018,294 | false | {"Kotlin": 98486, "HTML": 144, "Assembly": 27} | package com.example.myapplication
import com.example.myapplication.data.api.StockPriceItem
import com.example.myapplication.data.api.StockPriceResponse
import com.github.mikephil.charting.data.Entry
import kotlinx.coroutines.Deferred
import retrofit2.Response
import java.text.SimpleDateFormat
import java.util.*
class... | 0 | Kotlin | 0 | 0 | 812c583674f35644ccd6c763ee56624043b2ac36 | 1,985 | StockApp | Apache License 2.0 |
core/src/jsMain/kotlin/com/lehaine/littlekt/log/Console.kt | littlektframework | 442,309,478 | false | {"Kotlin": 2285392} | package com.lehaine.littlekt.log
/**
* @author <NAME>
* @date 11/25/2021
*/
actual object Console : BaseConsole() {
override fun log(kind: Kind, vararg msg: Any?) {
when (kind) {
Kind.ERROR -> console.error(*msg)
Kind.WARN -> console.warn(*msg)
Kind.INFO -> console.in... | 14 | Kotlin | 9 | 291 | 89f372fd18e47998d9b1d3add93ba92e4dcaca6e | 476 | littlekt | Apache License 2.0 |
kotlin-plugin/src/main/kotlin/io/github/kyay10/kotlinnulldefaults/NullDefaultsComponentRegistrar.kt | kyay10 | 397,094,346 | false | null | /*
* Copyright (C) 2020 <NAME>
* Copyright (C) 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... | 0 | null | 1 | 7 | 417801bee1b7f9eb44f6976fe5752f2853fe20a3 | 1,619 | kotlin-null-defaults | Apache License 2.0 |
src/main/kotlin/com/lounres/gradle/stal/processing/structure/structureToFrames.kt | lounres | 550,215,827 | false | {"Kotlin": 29148} | /*
* Copyright © 2023 <NAME>
* All rights reserved. Licensed under the Apache License, Version 2.0. See the license in file LICENSE
*/
package com.lounres.gradle.stal.processing.structure
import com.lounres.gradle.stal.*
import org.gradle.api.Project
internal data class StructureConversionResult(
val rootFra... | 3 | Kotlin | 0 | 1 | ed413b312739b9786821c527c3866d2c79e40d8a | 1,638 | STAL | Apache License 2.0 |
app/src/main/java/com/example/qtetris/Configurar.kt | v0ltmx | 341,937,269 | false | null | package com.example.qtetris
import android.app.Activity
import android.content.Context
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.RadioGroup
import androidx.databinding.DataBindingUtil
import com.example.qtetris.Constantes.Constantes
imp... | 0 | Kotlin | 0 | 1 | 4a53247ea8159697c08ed922d9f2e44738d715eb | 2,593 | Tetris | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.