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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cryptocurrencychallenge/src/main/java/com/yoti/android/cryptocurrencychallenge/assets/data/local/AssetsDao.kt | davidleiti | 501,532,688 | false | null | package com.yoti.android.cryptocurrencychallenge.assets.data.local
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Transaction
import kotlinx.coroutines.flow.Flow
@Dao
abstract class AssetsDao {
... | 0 | Kotlin | 0 | 0 | ef65d9983e53ba1f34fbb9448a8c996739debb9f | 730 | CryptoCurrencyApp | MIT License |
demoapp/src/main/java/me/uport/sdk/demoapp/ImportKeyActivity.kt | uport-project | 134,836,779 | false | null | package me.uport.sdk.demoapp
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.View
import android.widget.Toast
import com.uport.sdk.signer.UportHDSigner
import com.uport.sdk.signer.encryption.KeyProtection
import kotlinx.android.synthetic.main.simple_result_layout.*
import m... | 12 | Kotlin | 7 | 32 | 6b53dc1dcc992b3761496c1f4b13838b1bf914d5 | 1,874 | uport-android-sdk | Apache License 2.0 |
chartboost/BIDChartboostRewarded.kt | bidapphub | 708,849,825 | false | {"Kotlin": 166244, "Java": 15787} | package io.bidapp.networks.chartboost
import android.app.Activity
import android.util.Log
import com.chartboost.sdk.ads.Interstitial
import com.chartboost.sdk.ads.Rewarded
import com.chartboost.sdk.callbacks.InterstitialCallback
import com.chartboost.sdk.callbacks.RewardedCallback
import com.chartboost.sdk.events.Cach... | 0 | Kotlin | 1 | 2 | e3c5b7e9abaae673bfdd89302263bb336a8cbac8 | 4,849 | bidapp-ads-android | Apache License 2.0 |
app/src/main/java/com/steve_md/smartmkulima/data/repositories/AuthRepository.kt | MuindiStephen | 559,873,955 | false | {"Kotlin": 613534, "Java": 83493, "CMake": 595, "C++": 247} | package com.steve_md.smartmkulima.data.repositories
import com.google.firebase.auth.AuthResult
import com.steve_md.smartmkulima.model.requests.fieldagent.FieldAgentRegisterRequest
import com.steve_md.smartmkulima.model.responses.fieldagent.FieldAgentRegisterResponse
import com.steve_md.smartmkulima.utils.Resource
impo... | 1 | Kotlin | 1 | 5 | 5894a37503e8965264672d8a0232c5ab1cfb892c | 663 | Agri-Sasa | MIT License |
MyPractice/app/src/main/java/com/demon/yu/avatar/interact/LightInteractComponent.kt | yujintao529 | 63,918,338 | false | {"Java": 6634760, "C": 330310, "Kotlin": 261899, "C++": 235498, "AIDL": 3824, "CMake": 3765, "Objective-C++": 706, "Shell": 410} | package com.demon.yu.avatar.interact
import android.app.Application
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.ViewModelProvider
class LightInteractComponent(application: Application) : AndroidViewModel(application) {
companion object {
... | 1 | Java | 1 | 1 | 70c8757c79099e222c93124c63b6351b65508fb2 | 677 | android_practice | Apache License 2.0 |
app/src/main/java/com/filmly/app/ui/MainActivity.kt | BrunoRibeirods | 311,505,930 | false | {"Kotlin": 202381} | package com.filmly.app.ui
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.findNa... | 0 | Kotlin | 0 | 0 | 5c10496aa1c7546139890f7efadb1d2950547bf4 | 4,005 | projeto-integrador-digital-house-2020 | MIT License |
kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt | hltj | 151,721,407 | false | null | /*
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines
import kotlinx.coroutines.internal.*
import kotlin.coroutines.*
/**
* Defines elements in [CoroutineContext] that are installed into thread context
* every time the coroutine wit... | 1 | null | 99 | 244 | 082c45f58986c4d2d72ac1291a55f6c14ce91a98 | 7,349 | kotlinx.coroutines-cn | Apache License 2.0 |
src/jsMain/kotlin/com/baremetalcloud/file/external.kt | baremetalcloud | 366,835,140 | false | null | package com.baremetalcloud.file
internal external fun require(name: String): dynamic
internal external val __dirname: dynamic
internal val fs = require("fs")
internal val path = require("path");
| 0 | Kotlin | 0 | 2 | 4425b72bae812987ee2c17065e74d8f354b2ac43 | 198 | multiplatform-file | Apache License 2.0 |
src/lang-xdm/test/uk/co/reecedunn/intellij/plugin/xdm/tests/functions/op/ParserTestCase.kt | rhdunn | 62,201,764 | false | null | /*
* Copyright (C) 2016-2021 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 49 | Kotlin | 9 | 25 | d8d460d31334e8b2376a22f3832a20b2845bacab | 2,730 | xquery-intellij-plugin | Apache License 2.0 |
core/src/me/wieku/circuits/render/utils/FontManager.kt | Wieku | 113,257,102 | false | null | package me.wieku.circuits.render.utils
import com.badlogic.gdx.Application.ApplicationType
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.Texture.TextureFilter
import com.badlogic.gdx.graphics.g2d.BitmapFont
import com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData
import com.badlogic.gdx.graphics.g... | 11 | Kotlin | 1 | 21 | c18c19c75296035371cba6e4f53c8dcd6856bfd3 | 3,576 | LogicDraw | MIT License |
demo/annotations/src/main/java/com/alessandro/claymore/demo/annotations/di/ProvideCustomQualifierNinjaTurtleModule.kt | alecarnevale | 559,250,665 | false | {"Kotlin": 91465} | package com.alessandro.claymore.demo.annotations.di
/*
// Not used, @AutoBinds annotation will generate this automatically ;)
// after a successful build take a look at :demo/build/generated/ksp/debug/kotlin/com/alessandro/claymore/demo/annotations/services/impl
import com.alessandro.claymore.demo.annotations.CustomQ... | 5 | Kotlin | 0 | 5 | 807822f060b71bbff410f8d3302a42f383356c48 | 1,485 | claymore | Apache License 2.0 |
app/src/main/java/com/khoshnaw/basicmvi/di/db/DataBaseModule.kt | MuhammadKhoshnaw | 407,601,930 | false | {"Kotlin": 73317} | package com.khoshnaw.basicmvi.di.db
import android.content.Context
import androidx.room.Room
import com.khoshnaw.db.roomDB.AppDatabase
import com.khoshnaw.db.dao.MovieDao
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt... | 1 | Kotlin | 6 | 34 | 4ea737ee26cc0a4fe0f8a23764d8fb8f96eafff8 | 887 | BasicMVIApp | The Unlicense |
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/test/java/com/android/build/gradle/internal/cxx/configure/CompileCommandsTest.kt | jomof | 502,039,754 | false | {"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID... | /*
* Copyright (C) 2021 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... | 1 | Java | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 8,079 | CppBuildCacheWorkInProgress | Apache License 2.0 |
libraries/framework/src/main/java/com/developersancho/framework/usecase/LocalUseCase.kt | developersancho | 454,045,719 | false | {"Kotlin": 643302} | package com.developersancho.framework.usecase
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.FlowCollector
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.flowOn
abstract class LocalUseCase<in Params, ReturnType> where ReturnType : Any {
protected abstract suspend fun Flo... | 1 | Kotlin | 33 | 236 | 53d96f038e70712387f26a0099949c26a2aa2311 | 480 | JetRorty.Android | Apache License 2.0 |
app/src/main/java/com/example/todoapp/utils/Utils.kt | WhatToDo-NJUST | 501,872,994 | false | null | package com.example.todoapp.utils
import android.app.Activity
import android.app.AlertDialog
import android.content.ContentProvider
import android.content.Context
import android.util.Log
import android.view.inputmethod.InputMethodManager
import android.widget.Toast
import androidx.core.content.ContentProviderCompat.re... | 0 | Kotlin | 1 | 1 | 05f2c8e45ee6bb1b74a41137c021335a3fda7976 | 2,101 | ToDo-kt | MIT License |
commons/src/main/kotlin/com/julioapps/commons/adapters/MyRecyclerViewAdapter.kt | JulioCMLP | 120,206,694 | false | {"Java": 2432956, "Kotlin": 273499} | package com.julioapps.commons.adapters
import android.support.v7.view.ActionMode
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widget.RecyclerView
import android.util.SparseArray
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.ViewGr... | 1 | null | 1 | 1 | 1da9e485a63ab8b5118e03d84a39c5c9d7179d73 | 9,596 | Julio-Commons | Apache License 2.0 |
commons/src/main/kotlin/com/julioapps/commons/adapters/MyRecyclerViewAdapter.kt | JulioCMLP | 120,206,694 | false | {"Java": 2432956, "Kotlin": 273499} | package com.julioapps.commons.adapters
import android.support.v7.view.ActionMode
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widget.RecyclerView
import android.util.SparseArray
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.ViewGr... | 1 | null | 1 | 1 | 1da9e485a63ab8b5118e03d84a39c5c9d7179d73 | 9,596 | Julio-Commons | Apache License 2.0 |
src/main/kotlin/com/github/trcdeveloppers/clayium/common/items/ItemClayShovel.kt | TRCDeveloppers | 679,576,608 | false | {"Kotlin": 157435, "Java": 1189} | package com.github.trcdeveloppers.clayium.common.items
import com.github.trcdeveloppers.clayium.common.Clayium
import com.github.trcdeveloppers.clayium.common.annotation.CItem
import com.github.trcdeveloppers.clayium.common.util.UtilLocale
import net.minecraft.block.material.Material
import net.minecraft.block.state.I... | 0 | Kotlin | 0 | 0 | b710f4464b541af8e378bb37a81b3978b084c3d4 | 1,841 | Clayium | Creative Commons Attribution 4.0 International |
src/main/kotlin/net/doemges/kogniswarm/extraction/model/ExtractionContentType.kt | florentine-doemges | 632,041,145 | false | null | package net.doemges.kogniswarm.extraction.model
import java.util.Locale
enum class ExtractionContentType {
TEXT,
IMAGES,
LINKS;
override fun toString(): String = super
.toString()
.lowercase(Locale.getDefault())
companion object {
fun ofString(string: String): ExtractionC... | 13 | Kotlin | 0 | 3 | 510ce6aab47d50d356fa6f4bf4ebd0717e3fafd5 | 383 | KogniSwarm | Apache License 2.0 |
fragment/fragment/src/androidTest/java/androidx/fragment/app/FragmentArchLifecycleTest.kt | FYI-Google | 258,765,297 | false | null | /*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 8 | null | 0 | 6 | b9cd83371e928380610719dfbf97c87c58e80916 | 4,486 | platform_frameworks_support | Apache License 2.0 |
binary-array-ld-lib/src/main/kotlin/net/bald/model/ModelBinaryArrayConverter.kt | CMayNorris | 273,004,686 | false | {"Maven POM": 6, "Text": 1, "Ignore List": 1, "Markdown": 7, "Java": 1, "JSON": 3, "Turtle": 5, "Kotlin": 64, "YAML": 3, "XML": 1} | package net.bald.model
import net.bald.BinaryArray
import org.apache.jena.rdf.model.Model
import org.apache.jena.rdf.model.ModelFactory
import org.apache.jena.shared.PrefixMapping
/**
* API for converting a [BinaryArray] to a linked data [Model].
*/
object ModelBinaryArrayConverter {
private val modelFct = run ... | 4 | null | 3 | 1 | 103919715d81b183d8feaae010b27cb31b847975 | 988 | net.binary_array_ld.bald | Apache License 2.0 |
app/src/main/java/com/cyh128/hikari_novel/ui/view/detail/TagChipAdapter.kt | 15dd | 645,796,447 | false | {"Kotlin": 332962} | package com.cyh128.hikari_novel.ui.view.detail
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.cyh128.hikari_novel.databinding.ItemTagBinding
class TagChipAdapter(
val list: List<String>
): RecyclerView.Adapter<TagChipAdapter.ViewHolder>... | 1 | Kotlin | 12 | 400 | 402efc07ced528fc939d5d645e1f8a8f07636f40 | 808 | wenku8reader | MIT License |
XClipper.Android/app/src/main/kotlin/com/kpstv/xclipper/ui/fragments/welcome/TurnOnService.kt | aalee888 | 419,617,857 | true | {"C#": 597156, "Kotlin": 566226, "JavaScript": 536459, "HTML": 28753, "SCSS": 18896, "CSS": 7591, "Inno Setup": 4894, "Batchfile": 2167, "PowerShell": 1915, "Ruby": 713} | package com.kpstv.xclipper.ui.fragments.welcome
import com.kpstv.xclipper.R
import com.kpstv.xclipper.data.model.ClipListConverter
import com.kpstv.xclipper.extensions.utils.Utils
import com.kpstv.xclipper.extensions.utils.Utils.Companion.showAccessibilityDialog
import com.kpstv.xclipper.service.ClipboardAccessibility... | 0 | null | 0 | 0 | 7c096cce0b910958d3110c1804f1de55c7350387 | 1,653 | XClipper | Apache License 2.0 |
library/src/androidTest/java/com/owncloud/android/lib/resources/files/ReadFileVersionsRemoteOperationIT.kt | nextcloud | 60,562,363 | false | null | /* Nextcloud Android Library is available under MIT license
*
* @author <NAME>
* Copyright (C) 2021 <NAME>
* Copyright (C) 2021 Nextcloud GmbH
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal... | 41 | null | 85 | 87 | fba03a758e362782f473422661cff79a41f1af3e | 3,758 | android-library | MIT License |
app/src/main/java/fr/nextgear/mesentretiensmoto/core/di/ManageBikesModule.kt | trixidis | 109,261,536 | false | null | package fr.nextgear.mesentretiensmoto.core.di
import fr.nextgear.mesentretiensmoto.features.manageBikes.ManageBikesViewModel
import org.koin.android.viewmodel.ext.koin.viewModel
import org.koin.dsl.module.module
val ManageBikesmodule = module {
viewModel { ManageBikesViewModel() }
} | 1 | null | 1 | 1 | cded1356bc7912ec623cda4363c2465528ae7e8e | 289 | EntretiensMoto | Apache License 2.0 |
app/src/main/java/com/metatech/pstudy/CursosAvanzadoActivity.kt | metatech-programmer | 805,169,270 | false | {"Kotlin": 17760} | package com.metatech.pstudy
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.widget.ImageButton
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
class CursosAvanzadoActivity : AppCompatActivity() {
... | 0 | Kotlin | 0 | 0 | f66b4120fd15115384e11108eab0f4488b34a72d | 2,280 | learn_programming | Apache License 2.0 |
app/src/main/java/com/hms/referenceapp/photoapp/ui/home/PhotoUiState.kt | Explore-In-HMS | 518,072,293 | false | null | /*
* Copyright 2022. Explore in HMS. 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 applicable law or agreed to i... | 0 | Kotlin | 3 | 15 | ba98ac2a0f37d9cc8a0f374fc6d77cbc7d5d6b8b | 1,550 | PhotographyApp | Apache License 2.0 |
composeApp/src/commonMain/kotlin/UITest.kt | miuix-kotlin-multiplatform | 838,760,422 | false | null | import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.expandHorizontally
import androidx.compose.animation.expandVertically
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.shrinkHorizontally
import androidx.compose.ani... | 1 | null | 3 | 86 | a2fb9b68a72572bd3bfe01512408de4d9b656912 | 9,447 | miuix | Apache License 2.0 |
test-solve/src/commonMain/kotlin/it/unibo/tuprolog/solve/TestSubstitutionsImpl.kt | tuProlog | 230,784,338 | false | null | package it.unibo.tuprolog.solve
import it.unibo.tuprolog.core.Term
import it.unibo.tuprolog.dsl.theory.logicProgramming
import it.unibo.tuprolog.solve.flags.FlagStore
import it.unibo.tuprolog.solve.flags.TrackVariables
import it.unibo.tuprolog.solve.flags.invoke
import it.unibo.tuprolog.solve.primitive.Solve
import it... | 92 | null | 14 | 93 | 3223ffc302e5da0efe2b254045fa1b6a1a122519 | 2,590 | 2p-kt | Apache License 2.0 |
src/test/kotlin/com/intellij/ml/llm/template/CodeTransformerTest.kt | JetBrains-Research | 616,565,282 | false | null | package com.intellij.ml.llm.template
import com.intellij.ml.llm.template.extractfunction.EFSuggestion
import com.intellij.ml.llm.template.utils.CodeTransformer
import com.intellij.ml.llm.template.utils.EFApplicationResult
import com.intellij.ml.llm.template.utils.EFCandidateFactory
import com.intellij.ml.llm.template.... | 1 | Kotlin | 0 | 0 | e07bad76788d74e67a7b599c5db2ff01bafad7bd | 1,631 | llm-guide-refactorings | MIT License |
app/src/main/java/com/example/todoapp/exceptions/PopulateNewTaskException.kt | maxcruz | 108,805,840 | false | null | package com.example.todoapp.exceptions
class PopulateNewTaskException: Exception() | 1 | Kotlin | 1 | 1 | d8b64515ebd7e0807572878eb1dcecac7703c9ee | 83 | todo_app | Apache License 2.0 |
app/src/main/java/com/nesscoloura/entities/responses/Comments.kt | iyashasgowda | 533,633,706 | false | {"Kotlin": 429630, "Java": 12079, "C++": 1192, "CMake": 173} | package com.nesscoloura.entities.responses
import com.nesscoloura.entities.Comment
import java.io.Serializable
class Comments(
val current_page: Int,
val per_page: Int,
val total_pages: Int,
val data: ArrayList<Comment>
) : Serializable | 0 | Kotlin | 0 | 1 | c361498fdaa31bee75c0634cd289c3aa735dde9e | 254 | nesscoloura-android | MIT License |
src/main/kotlin/pad/JavaFXKeyEvent.kt | Yuiki | 148,737,180 | false | null | package pad
import javafx.scene.Scene
import javafx.scene.input.KeyCode
class JavaFXKeyEvent(
private val scene: Scene,
) : KeyEvent {
override fun listen(listener: KeyEventListener) {
scene.setOnKeyPressed {
when (it.code) {
KeyCode.K -> listener.onKeyDown(Key.A)
... | 0 | Kotlin | 2 | 54 | 96f853fae144e627124df8021be7d4d039492fdf | 1,382 | kotnes | MIT License |
src/test/kotlin/tutorial/basic/ExistDontExist2.kt | ldi-github | 538,873,481 | false | null | package tutorial.basic
import org.junit.jupiter.api.Order
import org.junit.jupiter.api.Test
import shirates.core.configuration.Testrun
import shirates.core.driver.commandextension.dontExist
import shirates.core.driver.commandextension.exist
import shirates.core.driver.commandextension.macro
import shirates.core.testco... | 0 | Kotlin | 0 | 6 | 4033d6ed72fa8eae02f12c14848723cfc1633d52 | 2,314 | shirates-core | Apache License 2.0 |
app/src/main/java/org/tty/dailyset/datasource/GrpcSourceCollection.kt | h1542462994 | 346,364,988 | false | null | package org.tty.dailyset.datasource
import org.tty.dailyset.component.common.SuspendInit
import org.tty.dailyset.dailyset_cloud.grpc.HelloCoroutineGrpc
import org.tty.dailyset.dailyset_cloud.grpc.MessageServiceCoroutineGrpc
import org.tty.dailyset.dailyset_cloud.grpc.TicketServiceCoroutineGrpc
interface GrpcSourceCo... | 1 | Kotlin | 0 | 0 | 3deb215c0e29a8c2a857c0c7a8e1553519a5dc7a | 592 | DailySet | MIT License |
app/src/test/java/com/abidria/presentation/common/edition/EditTitleAndDescriptionPresenterTest.kt | jordifierro | 98,501,336 | false | null | package com.abidria.presentation.common.view.edition
import org.junit.Test
import org.mockito.BDDMockito.given
import org.mockito.BDDMockito.then
import org.mockito.Mock
import org.mockito.MockitoAnnotations
class EditTitleAndDescriptionPresenterTest {
@Test
fun presenter_sets_to_the_view_initial_values() {
... | 0 | Kotlin | 1 | 2 | f6ec0112c4a555232c8544e4f380dd733dddb286 | 3,637 | abidria-android | Apache License 2.0 |
backend/mlreef-rest/src/test/kotlin/com/mlreef/rest/feature/processors/ProcessorServiceTest.kt | wgisss | 445,092,431 | true | {"Kotlin": 1792703, "JavaScript": 1383596, "Python": 165260, "SCSS": 145217, "Shell": 122988, "Ruby": 100068, "TypeScript": 56139, "ANTLR": 27697, "CSS": 19114, "Dockerfile": 18068, "HTML": 8912, "PLpgSQL": 3248, "Batchfile": 310} | package com.mlreef.rest.feature.processors
import com.mlreef.rest.domain.Account
import com.mlreef.rest.domain.CodeProject
import com.mlreef.rest.domain.Processor
import com.mlreef.rest.external_api.gitlab.GitlabRestClient
import com.mlreef.rest.feature.project.ProjectResolverService
import com.mlreef.rest.service.Abs... | 0 | null | 0 | 1 | e7fec51e75e5fc74211e78c3228ba7bdf076f832 | 7,388 | mlreef | MIT License |
src/main/kotlin/rs/dusk/cache/definition/decoder/ObjectDecoder.kt | Palmfeldt | 673,267,966 | true | {"Kotlin": 85527, "Java": 4112} | package rs.dusk.cache.definition.decoder
import rs.dusk.cache.Cache
import rs.dusk.cache.DefinitionDecoder
import rs.dusk.cache.Indices.OBJECTS
import rs.dusk.cache.definition.data.ObjectDefinition
import rs.dusk.core.network.buffer.read.Reader
/**
* @author <NAME> <<EMAIL>>
* @since April 08, 2020
*/
open class O... | 0 | null | 0 | 0 | 5f9e53a1575f3c547314ef0f8da86fb2556fc7b3 | 9,163 | dusk | Creative Commons Attribution 3.0 Unported |
EvoMaster/core/src/main/kotlin/org/evomaster/core/search/impact/value/numeric/IntegerGeneImpact.kt | BrotherKim | 397,139,860 | false | {"Markdown": 32, "Shell": 14, "Maven POM": 66, "Text": 16, "Ignore List": 13, "Java": 1366, "SQL": 44, "YAML": 13, "JSON": 37, "JavaScript": 183, "XML": 14, "Mermaid": 1, "Java Properties": 36, "INI": 15, "HTML": 52, "Dockerfile": 2, "CSS": 8, "JSON with Comments": 3, "Less": 8, "SVG": 16, "Kotlin": 541, "OASv2-yaml": ... | package org.evomaster.core.search.impact.value.numeric
import org.evomaster.core.search.gene.Gene
import org.evomaster.core.search.gene.IntegerGene
/**
* created by manzh on 2019-09-09
*/
class IntegerGeneImpact (
id : String,
degree: Double = 0.0,
timesToManipulate : Int = 0,
timesO... | 1 | null | 1 | 1 | a7a120fe7c3b63ae370e8a114f3cb71ef79c287e | 1,321 | ASE-Technical-2021-api-linkage-replication | MIT License |
cockpit-core/src/main/java/com/orbitalhq/cockpit/core/schemas/SchemaChangeNotificationService.kt | orbitalapi | 541,496,668 | false | {"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337} | package com.orbitalhq.cockpit.core.schemas
import com.fasterxml.jackson.databind.ObjectMapper
import com.orbitalhq.schema.api.SourceNameWithPackage
import com.orbitalhq.schema.consumer.SchemaStore
import com.orbitalhq.schemas.SchemaSetChangedEvent
import com.orbitalhq.spring.http.websocket.OrbitalWebSocketConfiguratio... | 9 | TypeScript | 10 | 292 | 2be59abde0bd93578f12fc1e2ecf1f458a0212ec | 2,869 | orbital | Apache License 2.0 |
src/jvmMain/kotlin/maryk/rocksdb/RestoreOptions.kt | marykdb | 192,168,972 | false | null | package maryk.rocksdb
actual typealias RestoreOptions = org.rocksdb.RestoreOptions
| 0 | Kotlin | 2 | 7 | f2bed17a8bebbc9c76448205db4ba070073ecc68 | 84 | rocksdb-multiplatform | Apache License 2.0 |
privacysandbox/tools/tools-core/src/main/java/androidx/privacysandbox/tools/core/generator/ValueConverterFileGenerator.kt | androidx | 256,589,781 | false | null | /*
* Copyright 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 applica... | 29 | null | 937 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 4,544 | androidx | Apache License 2.0 |
app/src/main/java/com/example/waterfiltercompanion/ui/components/capacityinputdialog/CapacityInputDialogConfig.kt | radusalagean | 376,083,857 | false | null | package com.example.waterfiltercompanion.ui.components.capacityinputdialog
import androidx.annotation.StringRes
data class CapacityInputDialogConfig(
@StringRes val titleStringRes: Int,
val initialInput: String?,
val onSubmit: (String) -> Unit,
val onDismiss: () -> Unit
)
| 0 | Kotlin | 0 | 3 | 1ead2567b6bfca4c10a899d4677549297fa00df8 | 291 | water-filter-companion-android-public | MIT License |
mobile/src/main/kotlin/org/brainail/everboxing/lingo/ui/home/search/SearchViewModel.kt | brainail | 106,741,862 | false | null | /*
* Copyright 2018 <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... | 6 | Kotlin | 1 | 2 | d71cf6dec0c0c7ba4d80666869b4c91f60a599f2 | 4,300 | .lingo | Apache License 2.0 |
src/commonMain/kotlin/io/github/edmondantes/multipart/serialization/MultipartDynamicHeader.kt | Simple-Kotlin-Project | 704,151,271 | false | {"Kotlin": 62529} | package io.github.edmondantes.multipart.serialization
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.SerialInfo
@OptIn(ExperimentalSerializationApi::class)
@SerialInfo
@Target(AnnotationTarget.PROPERTY)
@Repeatable
public annotation class MultipartDynamicHeader(
val headerN... | 0 | Kotlin | 0 | 0 | ddb8320311cb73e6b8a10985e8462e1ef710e6d5 | 409 | simple-kotlinx-serialization-multipart | Apache License 2.0 |
src/main/kotlin/com/example/springbootrestapikt/controllers/StudentResource.kt | sreeharikv112 | 231,796,981 | false | null | package com.example.springbootrestapikt.controllers
import com.example.springbootrestapikt.pojo.Student
import com.example.springbootrestapikt.repo.StudentsRepo
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.web.bind.annotation.*
/**
* Controller class for various REST API o... | 0 | Kotlin | 0 | 0 | 6bc391d0cdca248265865e2ee686ac491367231e | 1,081 | springbootrestapikt | Apache License 2.0 |
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/editor/ShortcutEditorViewModel.kt | maximilianovallejos | 254,092,232 | true | {"Kotlin": 593482, "Java": 37879, "HTML": 16598, "CSS": 2184} | package ch.rmy.android.http_shortcuts.activities.editor
import android.app.Application
import ch.rmy.android.http_shortcuts.R
import ch.rmy.android.http_shortcuts.data.Repository
import ch.rmy.android.http_shortcuts.data.Transactions
import ch.rmy.android.http_shortcuts.data.models.Header
import ch.rmy.android.http_sh... | 0 | null | 0 | 0 | cab99843936cfd67b4851ad8722016c9001574e9 | 8,912 | HTTP-Shortcuts | MIT License |
game-server/cache/src/main/kotlin/com/osrs/cache/entry/config/varp/VarpEntryProvider.kt | runetopic | 613,076,716 | false | {"Kotlin": 296499, "Witcher Script": 2511} | package com.osrs.cache.entry.config.varp
import com.google.inject.Inject
import com.google.inject.Singleton
import com.osrs.cache.Cache
import com.osrs.cache.CacheModule.CONFIG_INDEX
import com.osrs.cache.CacheModule.VARP_CONFIG
import com.osrs.cache.entry.EntryTypeProvider
import com.osrs.api.buffer.RSByteBuffer
@Si... | 1 | Kotlin | 1 | 10 | 2a5186b2b7befa7c364e0b989da68ed83070a926 | 1,010 | osrs-server | MIT License |
app/src/main/java/sideproject/tseen/pokemonassignment/model/specie/PalParkEncounter.kt | allanswer | 545,035,118 | false | {"Kotlin": 55886} | package sideproject.tseen.pokemonassignment.model.specie
data class PalParkEncounter(
val area: Area,
val base_score: Int,
val rate: Int
) | 0 | Kotlin | 0 | 1 | 63302d2ef087cc09804c2e02e691ed93548ed2d6 | 151 | Pokemons | MIT License |
app/src/main/java/soup/movie/ui/main/MainViewModel.kt | Moop-App | 113,048,795 | false | null | /*
* Copyright 2021 SOUP
*
* 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 applicable law or agreed to in wri... | 8 | null | 15 | 130 | be2b359530f5207073175e2e950f41a717bc5ca3 | 1,662 | Moop-Android | Apache License 2.0 |
data/src/main/java/net/fitken/data/mappers/DailyForecastMapper.kt | nmhung | 332,231,181 | false | null | package net.fitken.data.mappers
import net.fitken.data.entities.DailyForecastData
import net.fitken.domain.entities.DailyForecastEntity
object DailyForecastMapper {
fun mapDailyForecastToDomain(dailyForecastData: DailyForecastData): DailyForecastEntity {
val cityEntity = CityMapper.mapCityToDomain(dailyFo... | 1 | null | 1 | 1 | 43d3968b6e60288c44655c1f908edd906b4877ab | 552 | weather | Apache License 2.0 |
src/main/kotlin/io/github/breninsul/simpleimageconvertor/service/reader/PngReader.kt | BreninSul | 843,824,335 | false | {"Kotlin": 432463} | /*
* MIT License
* Copyright (c) 2024 BreninSul
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merg... | 0 | Kotlin | 0 | 0 | c584b80210931840c302e9eed613d24441e03d9e | 1,919 | simple-image-converter | MIT License |
language/kmm-langx/src/iosX64Main/kotlin/io/tagd/langx/Locale.kt | pavan2you | 589,617,975 | false | null | package io.tagd.langx
actual class Locale {
actual fun asTwoLetterTag(): String {
TODO("Not yet implemented")
}
actual companion object {
actual fun get(languageTag: String): Locale {
TODO("Not yet implemented")
}
actual fun default(): Locale {
TOD... | 0 | Kotlin | 3 | 2 | 804d98e76871176b3346880f4f4293792920aa05 | 364 | kmm-clean-architecture | Apache License 2.0 |
sms/src/main/java/com/beeper/sms/commands/outgoing/Message.kt | stumptownlabs | 498,435,626 | false | null | package com.beeper.sms.commands.outgoing
import android.net.Uri
import com.beeper.sms.BuildConfig
import com.beeper.sms.commands.TimeSeconds
data class Message(
var guid: String,
var timestamp: TimeSeconds,
var subject: String,
var text: String,
var chat_guid: String,
var sender_guid: String?,... | 0 | Kotlin | 0 | 0 | 940055d8de7327757b626550c70775375b8a17d2 | 1,734 | beeper-android-sms | Apache License 2.0 |
lib/src/main/java/com/otaliastudios/transcoder/internal/video/VideoSnapshots.kt | deepmedia | 161,674,156 | false | null | package com.otaliastudios.transcoder.internal.video
import android.graphics.Bitmap
import android.media.MediaFormat
import android.media.MediaFormat.KEY_HEIGHT
import android.media.MediaFormat.KEY_WIDTH
import android.opengl.EGL14
import android.opengl.GLES20
import com.otaliastudios.opengl.core.EglCore
import com.ota... | 88 | null | 2 | 778 | 0fed4708670e5656328fbc4062aa84f143217366 | 2,658 | Transcoder | Apache License 2.0 |
dorm/core/src/main/kotlin/org/sirius/dorm/json/ObjectSerializer.kt | coolsamson7 | 856,851,180 | false | null | package org.sirius.dorm.json
/*
* @COPYRIGHT (C) 2023 <NAME>
*
* All rights reserved
*/
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.databind.SerializerProvider
import com.fasterxml.jackson.databind.ser.std.StdSerializer
import org.sirius.dorm.model.ObjectDescriptor
import org.siriu... | 0 | null | 0 | 1 | a509c6317c52bb3d9732198800fc5201fe0d4b56 | 6,912 | dorm | Apache License 2.0 |
android/engine/src/main/java/org/smartregister/fhircore/engine/ui/base/BaseRecyclerViewHolder.kt | opensrp | 339,242,809 | false | null | /*
* Copyright 2021 Ona Systems, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 158 | Kotlin | 10 | 18 | 9d7044a12ef2726705a3019cb26ab03bc48bc28c | 1,299 | fhircore | Apache License 2.0 |
agent/src/main/kotlin/tech/genitor/agent/catalog/DefaultCatalogCache.kt | leroyguillaume | 316,724,317 | false | null | package tech.genitor.agent.catalog
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Component
import tech.genitor.agent.AgentProperties
import tech.genitor.core.*
import java.nio.file.Files
/**
* Default implementation of catalog cache.
*
* @param catalogSerializer Catalog serializer.
* @param... | 0 | Kotlin | 0 | 0 | 153e67709ba7bdb131a1e710ff3316e965dab1d9 | 3,760 | genitor | Apache License 2.0 |
crowdin/src/test/java/com/crowdin/platform/StringDataRemoteRepositoryTest.kt | Sav22999 | 233,290,149 | true | {"Kotlin": 305831} | package com.crowdin.platform
import com.crowdin.platform.data.LanguageDataCallback
import com.crowdin.platform.data.model.LanguageData
import com.crowdin.platform.data.parser.Reader
import com.crowdin.platform.data.remote.StringDataRemoteRepository
import com.crowdin.platform.data.remote.api.CrowdinDistributionApi
imp... | 0 | null | 0 | 0 | b1cb5894bfa51408fa6ac8dbec8f0815ff5909bf | 5,129 | mobile-sdk-android | MIT License |
network-app/src/main/java/com/ayvytr/coroutines/multitask/MultiNetworkTaskActivity.kt | Ayvytr | 94,992,437 | false | null | package com.ayvytr.coroutines.multitask
import android.os.Bundle
import androidx.lifecycle.Observer
import com.ayvytr.coroutine.BaseActivity
import com.ayvytr.coroutines.R
import kotlinx.android.synthetic.main.activity_multi_network_task.*
class MultiNetworkTaskActivity: BaseActivity<MultiNetworkTaskViewModel>() {
... | 0 | Kotlin | 0 | 16 | de943c7484b0d703564f4140084f60b30b0ad17d | 981 | OKHttpLogInterceptor | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/bold/medicine/JarOfPills2.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.medicine
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Compan... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 7,974 | SolarIconSetAndroid | MIT License |
WeatherForecast/app/src/main/java/com/example/weatherforecast/home/util/WeatherWorker.kt | RachanChatra | 235,150,814 | false | null | package com.example.weatherforecast.home.util
import android.Manifest
import android.content.Context
import android.content.pm.PackageManager
import android.location.LocationManager
import androidx.core.app.ActivityCompat
import androidx.work.Data
import androidx.work.Worker
import androidx.work.WorkerParameters
impor... | 0 | Kotlin | 0 | 0 | c9e5c65d1c424e87e67ee536f5f367b82bfdef9b | 4,578 | WeatherForecast | MIT License |
app/src/main/java/io/golos/golos/utils/StringValidator.kt | bitwheeze | 544,185,390 | true | {"Kotlin": 1064225, "Java": 178130} | package io.golos.golos.utils
/**
* Created by yuri <EMAIL> on 27/10/2017.
*
*/
interface StringValidator {
/***
* @return tuple, where bool - is validation succesfull, or not, ans string - error message
* */
fun validate(input: String): Pair<Boolean, String>
} | 0 | null | 0 | 0 | 8203f422dc7e5d5b0b2c41dafd539c225f1a4de1 | 282 | golos-android | MIT License |
src/test/kotlin/com/easykotlin/learn/study1/UnitDemoTest.kt | Youngfellows | 444,085,016 | false | {"HTML": 477285, "Kotlin": 283608, "Java": 24475} | package com.easykotlin.learn.study1
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
@RunWith(JUnit4::class)
class UnitDemoTest {
/**
* 创建对象
*/
val unitDemo: UnitDemo = UnitDemo()
@Test
fun testUnitReturn1() {
val unitResult = unitDemo.unitRetur... | 0 | HTML | 0 | 0 | db0669da08cc6e60937902a4b1364391896df9d7 | 827 | EasyKotlin | Apache License 2.0 |
src/main/kotlin/com/recombee/apiclientkotlin/RecombeeClient.kt | recombee | 743,585,639 | false | {"Kotlin": 120679} | package com.recombee.apiclientkotlin
import java.net.URLEncoder
import javax.crypto.Mac
import javax.crypto.spec.SecretKeySpec
import java.nio.charset.StandardCharsets
import java.io.IOException
import java.util.concurrent.TimeUnit
import java.lang.reflect.Type
import java.lang.reflect.ParameterizedType
import kotlin... | 0 | Kotlin | 1 | 1 | 26e543404eee2bbda52f5f7cef1b969d411da010 | 11,769 | kotlin-api-client | MIT License |
ktoml-file/src/commonMain/kotlin/com/akuleshov7/ktoml/file/TomlFileReader.kt | akuleshov7 | 330,720,838 | false | null |
package com.akuleshov7.ktoml.file
import com.akuleshov7.ktoml.KtomlConf
import com.akuleshov7.ktoml.Toml
import kotlin.native.concurrent.ThreadLocal
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.modules.EmptySerializersModu... | 29 | null | 6 | 86 | 9d82e57e08fcb61a8760305d2df337b0c10c7594 | 2,625 | ktoml | MIT License |
app/src/main/java/com/webaddicted/techcleanarch/view/base/BaseAdapter.kt | webaddicted | 235,233,133 | false | null | package com.webaddicted.techcleanarch.view.base
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.NonNull
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
import co... | 1 | null | 1 | 8 | 98f56ee3de5cf29a117be50302deef70621f605d | 2,537 | CleanArchitecture | Apache License 2.0 |
app/src/main/java/com/example/mycheesecakes/data/network/api/model/ApiDrink.kt | dfirestone21 | 389,194,985 | false | null | package com.example.mycheesecakes.data.network.api.model
import com.google.gson.annotations.SerializedName
data class ApiDrink(
@SerializedName("createdTime")
val createdTime: String?,
@SerializedName("fields")
val fields: Fields?,
@SerializedName("id")
val id: String?
) {
data class Field... | 0 | Kotlin | 0 | 0 | abad7be5927ab76bf198eb9ca466a092c6710bd5 | 1,028 | CheesecakeApp | MIT License |
src/test/kotlin/br/com/zup/edu/factory/RequestFactory.kt | gabrielBrandaoZp | 407,622,233 | true | {"Kotlin": 66381, "Dockerfile": 163} | package br.com.zup.edu.factory
import br.com.zup.edu.NewKeyRequest
import br.com.zup.edu.keymanager.external.bcb.BankAccount
import br.com.zup.edu.keymanager.external.bcb.CreatePixKeyRequest
import br.com.zup.edu.keymanager.external.bcb.Owner
import br.com.zup.edu.keymanager.external.bcb.OwnerType
import br.com.zup.ed... | 0 | Kotlin | 1 | 0 | 8eacd111c45dd665cdce7910a73c4cfc1dcd7e0e | 2,185 | orange-talents-07-template-pix-keymanager-grpc | Apache License 2.0 |
src/main/kotlin/com/tencent/bk/devops/plugin/exception/docker/DockerRunException.kt | carlyin0801 | 373,355,929 | false | null | package com.tencent.bk.devops.plugin.exception.docker
import java.lang.RuntimeException
data class DockerRunException(
val errorMsg: String,
val errorCode: Int = 2198002
): RuntimeException(errorMsg) | 1 | null | 1 | 1 | a698aac324e60a1b5530fe1713c03f0d0359884b | 209 | java-plugin-sdk | MIT License |
adaptivelayout/src/test/java/com/takagimeow/adaptivelayout/AdaptiveLayoutBottomNavigationBarRobot.kt | takagimeow | 596,596,905 | false | null | package com.takagimeow.adaptivelayout
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Home
import androidx.compose.material.icons.filled.Settings
import androidx.compose.material.icons.outlined.Home
import androidx.compose.material.icons.outlined.Settings
import androidx.comp... | 1 | Kotlin | 2 | 15 | 69896a9c1433a30bf6afeb9fca4af67bd0e7181c | 3,569 | adaptive-layout | Apache License 2.0 |
app/src/main/java/com/babylon/wallet/android/data/dapp/model/Account.kt | radixdlt | 513,047,280 | false | {"Kotlin": 4940882, "HTML": 215350, "Ruby": 2757, "Shell": 1963} | package com.babylon.wallet.android.data.dapp.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Account(
@SerialName("address") val address: String,
@SerialName("label") val label: String,
@SerialName("appearanceId") val appearanceId: Int
)
| 4 | Kotlin | 6 | 9 | 36c670dd32d181e462e9962d476cb8a370fbe4fe | 317 | babylon-wallet-android | Apache License 2.0 |
app/src/main/java/com/babylon/wallet/android/data/dapp/model/Account.kt | radixdlt | 513,047,280 | false | {"Kotlin": 4940882, "HTML": 215350, "Ruby": 2757, "Shell": 1963} | package com.babylon.wallet.android.data.dapp.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Account(
@SerialName("address") val address: String,
@SerialName("label") val label: String,
@SerialName("appearanceId") val appearanceId: Int
)
| 4 | Kotlin | 6 | 9 | 36c670dd32d181e462e9962d476cb8a370fbe4fe | 317 | babylon-wallet-android | Apache License 2.0 |
src/main/java/com/morcinek/androidutils/utils/ParcelableUtils.kt | tmorcinek | 57,126,603 | false | null | package com.morcinek.androidutils.utils
import android.os.Parcel
import android.os.Parcelable
import java.util.*
/**
* Copyright 2016 <NAME>. All rights reserved.
*/
inline fun <reified T : Parcelable> createCreator(crossinline createFromParcel: (Parcel) -> T?) =
object : Parcelable.Creator<T> {
... | 0 | Kotlin | 0 | 8 | c33a3e09a5164b05a372ea256cf97be28384524d | 1,193 | androidutils | Apache License 2.0 |
libs/common/shortener-common/src/main/kotlin/com/flip/urlshorterner/common/validation/exception/GenericValidationException.kt | xmlRoot | 848,143,976 | false | {"Kotlin": 25641} | package com.flip.urlshorterner.common.validation.exception
import com.flip.urlshorterner.common.exception.model.ErrorType
import com.flip.urlshorterner.common.exception.model.ShortenerException
import com.flip.urlshorterner.common.validation.exception.ValidationError.INVALID_DATA
import jakarta.validation.ConstraintVi... | 0 | Kotlin | 0 | 0 | 38bb9db32e2cd23df57c7f2099a4faf7f0583d2e | 703 | flip-url-shortener | Apache License 2.0 |
core-concepts/src/main/kotlin/com/sanie/main/MainApplication.kt | Ahmad-alsanie | 755,098,872 | false | {"Kotlin": 13268} | package com.sanie.main
import kotlinx.coroutines.*
import kotlinx.serialization.*
@Serializable
data class WeatherInfo(val temperature: Double, val description: String)
@Serializable
data class NewsArticle(val title: String, val summary: String)
@Serializable
data class StockInfo(val symbol: String, val price: Doub... | 0 | Kotlin | 0 | 0 | 4ef638dd344c9dacde1009c1aafb4a7d8afd9855 | 1,364 | kotlin-coroutines-made-simple | MIT License |
app/src/main/java/com/kssidll/arru/ui/component/list/FullItemCard.kt | KSSidll | 655,360,420 | false | {"Kotlin": 826741} | package com.kssidll.arru.ui.component.list
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.*
import androidx.compose.material.icons.outlined.*
import androidx.compose.material.icons.rounded.*
import androidx.compose.material3.*
import androidx.com... | 0 | Kotlin | 0 | 4 | ff3f257a0604a6d9e5169dc47753094c9b0c9520 | 10,142 | Arru | BSD 3-Clause Clear License |
presentation/src/main/java/com/simple/mvi/di/common/AppRouter.kt | RimGazzeh | 292,704,423 | false | null | package com.simple.mvi.di.common
import com.simple.mvi.di.annotations.ActivityScope
import com.simple.mvi.common.RootBaseActivity
import javax.inject.Inject
/**
* Created by <NAME> on 8/27/20.
**/
@ActivityScope
class AppRouter @Inject constructor(private val activity : RootBaseActivity){
} | 1 | Kotlin | 19 | 91 | 80d74c88e0272815c83c1d2ea425929b6aafd448 | 297 | MVI-cleanArch | Apache License 2.0 |
presentation/src/main/java/com/simple/mvi/di/common/AppRouter.kt | RimGazzeh | 292,704,423 | false | null | package com.simple.mvi.di.common
import com.simple.mvi.di.annotations.ActivityScope
import com.simple.mvi.common.RootBaseActivity
import javax.inject.Inject
/**
* Created by <NAME> on 8/27/20.
**/
@ActivityScope
class AppRouter @Inject constructor(private val activity : RootBaseActivity){
} | 1 | Kotlin | 19 | 91 | 80d74c88e0272815c83c1d2ea425929b6aafd448 | 297 | MVI-cleanArch | Apache License 2.0 |
app/src/main/java/ru/magflayer/spectrum/presentation/pages/main/history/details/HistoryDetailsPresenter.kt | IlyaPavlik | 663,895,085 | false | null | package ru.magflayer.spectrum.presentation.pages.main.history.details
import kotlinx.coroutines.CoroutineExceptionHandler
import kotlinx.coroutines.launch
import moxy.InjectViewState
import ru.magflayer.spectrum.R
import ru.magflayer.spectrum.data.android.ResourceManager
import ru.magflayer.spectrum.domain.entity.Anal... | 0 | Kotlin | 0 | 0 | 8e818801a5b28817951a8e949a2a47e37eeb726b | 3,811 | spectrum | Apache License 2.0 |
src/main/java/com/sik/edg/utils/gerneration/EntitiesGernerationConfig.kt | SilverIceKey | 504,032,411 | false | {"Kotlin": 5868, "Java": 502} | package com.sik.edg.utils.gerneration
/**
* 注解配置类
*/
abstract class EntitiesGernerationConfig {
init {
GernerationHelper.gerneratieDescriptionWithConfig(this.javaClass)
}
} | 0 | Kotlin | 0 | 0 | f8e51d278dc29c0f5ac5582f2bc9da0e0b3173f7 | 191 | EntityDescriptionGernerate | MIT License |
app/src/main/java/com/fabiosilva/packconvert/signing/model/SigningConfig.kt | FabioSilva11 | 801,790,097 | false | {"Kotlin": 52834, "Java": 35115} | package com.fabiosilva.packconvert.signing.model
/**
* Signing config.
*
* @param storePassword a password for the key store
* @param keyPassword a password for the key
* @param keyAlias the alias under which the key is stored in the store
*
* @author qingyu
* <p>
* Create on 2023/10/16 15:44
*/
data class S... | 0 | Kotlin | 0 | 1 | 072e8aa01f5f3264b8f42e5c6b44fbbc7af77c23 | 421 | Apk-AAB-Converter | MIT License |
app/src/main/java/com/willjane/teabuddy/TeaBuddyApplication.kt | williamxyshi | 225,246,935 | false | null | package com.willjane.teabuddy
import android.app.Application
import android.content.Context
import android.util.Log
import io.realm.Realm
import io.realm.RealmConfiguration
import androidx.core.content.ContextCompat.getSystemService
import android.icu.lang.UCharacter.GraphemeClusterBreak.T
import com.google.firebase.f... | 5 | Kotlin | 0 | 5 | 27ee335528ba11578af5643f935a767c4de7a85d | 1,106 | TeaBuddy | MIT License |
src/main/kotlin/com/jonnymatts/mocktric/Mocktric.kt | jonnymatts | 123,333,376 | false | null | package com.jonnymatts.mocktric
import com.fasterxml.jackson.databind.SerializationFeature
import io.ktor.application.Application
import io.ktor.application.call
import io.ktor.application.install
import io.ktor.features.ContentNegotiation
import io.ktor.features.StatusPages
import io.ktor.http.HttpStatusCode
import i... | 0 | Kotlin | 0 | 0 | ea4d91039911c1bcceeb54761361492247a700d3 | 2,227 | mocktric | MIT License |
presentation/src/main/java/com/yapp/bol/presentation/view/setting/QuitFragment.kt | onboard-github | 704,021,246 | false | {"Kotlin": 371823} | package com.yapp.bol.presentation.view.setting
import androidx.fragment.app.viewModels
import androidx.navigation.findNavController
import com.yapp.bol.presentation.R
import com.yapp.bol.presentation.base.BaseFragment
import com.yapp.bol.presentation.databinding.FragmentQuitBinding
import com.yapp.bol.presentation.uti... | 2 | Kotlin | 0 | 0 | 6d0801f314a3fcaa833c4b26be186548cd08bc11 | 1,866 | onboard-aos | Apache License 2.0 |
buildSrc/src/main/kotlin/BuildPlugins.kt | gkaradagan | 210,062,015 | false | null | const val kotlinVersion = "1.3.41"
object BuildPlugins {
object Versions {
const val buildToolsVersion = "3.4.2"
}
const val androidGradlePlugin = "com.android.tools.build:gradle:${Versions.buildToolsVersion}"
const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVe... | 0 | Kotlin | 0 | 2 | 3259da449b4e653ce2b917e7e93e9ec872887a38 | 579 | GithubRepo | MIT License |
src/main/kotlin/data/AppTask.kt | restorer | 415,615,238 | false | null | package data
data class AppTask(
val id: Long? = null,
val content: String,
val description: String = "",
val isCompleted: Boolean = false,
val labels: List<AppLabel> = emptyList(),
val priority: Int = 1,
val children: List<AppTask> = emptyList(),
val isChildrenOpened: Boolean = true,
)... | 0 | Kotlin | 0 | 0 | cdb27c24e1933180e46a3bd7d13663b8ec2ac22f | 321 | todoapp | MIT License |
comet-api/src/main/kotlin/ren/natsuyuk1/comet/api/console/JLineOutputRedirector.kt | StarWishsama | 173,288,057 | false | null | package org.sorapointa.console
import java.io.PrintStream
import java.util.*
/**
* Work around, not a good implementation
*/
internal object JLineRedirector : PrintStream(nullOutputStream()) {
@Suppress("NOTHING_TO_INLINE")
private inline fun println0() = Console.println("")
@Suppress("NOTHING_TO_INLIN... | 19 | null | 27 | 193 | 19ed20ec4003a37be3bc2dfc6b55a9e2548f0542 | 2,872 | Comet-Bot | MIT License |
src/test/kotlin/tutorial/basic/DoUntilTrue1_ja.kt | ldi-github | 646,043,710 | false | {"Kotlin": 214956} | package tutorial.basic
import org.junit.jupiter.api.Order
import org.junit.jupiter.api.Test
import shirates.core.configuration.Testrun
import shirates.core.driver.commandextension.*
import shirates.core.driver.doUntilTrue
import shirates.core.testcode.UITest
@Testrun("testConfig/android/設定/testrun.properties")
class ... | 0 | Kotlin | 0 | 1 | de7c7ddd1356285f113f1e519af4ccec2e13640d | 3,638 | shirates-core-samples-ja | MIT License |
dao/src/main/kotlin/tables/OrtRunsIssuesTable.kt | eclipse-apoapsis | 760,319,414 | false | {"Kotlin": 2994047, "Dockerfile": 24090, "Shell": 6277} | /*
* Copyright (C) 2023 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>)
*
* 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://w... | 18 | Kotlin | 2 | 9 | 0af70d6382a86f0ebc35d9b377f4229c6a71637a | 1,313 | ort-server | Apache License 2.0 |
compiler-plugin/testData/api/javaModifiers.kt | gmazzo | 384,121,599 | true | {"Kotlin": 915150, "Java": 12413} | /*
* Copyright 2020 Google LLC
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... | 1 | null | 1 | 1 | dae64e5e0a9375089b775b74d53c8a50ce0ff0f9 | 7,227 | ksp | Apache License 2.0 |
src/main/kotlin/dev/shtanko/algorithms/utils/MeasureTime.kt | ashtanko | 515,874,521 | false | null | /*
* MIT License
* Copyright (c) 2022 <NAME>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge... | 2 | Kotlin | 1 | 9 | a384338b352341baa40bccea109de63fad3b222b | 2,126 | the-algorithms | MIT License |
epoque-core/src/test/kotlin/io/github/uharaqo/epoque/impl/JournalSpec.kt | uharaqo | 772,784,876 | false | {"Kotlin": 105435} | package io.github.uharaqo.epoque.impl
import arrow.core.right
import io.github.uharaqo.epoque.Epoque
import io.github.uharaqo.epoque.api.CanAggregateEvents
import io.github.uharaqo.epoque.api.CommandInput
import io.github.uharaqo.epoque.api.CommandOutput
import io.github.uharaqo.epoque.api.CommandProcessor
import io.g... | 0 | Kotlin | 0 | 0 | 62634dcc77ecc96b8ae2ddc93ce12491ffcdcc04 | 2,375 | epoque-kt | Apache License 2.0 |
kord-extensions/src/main/kotlin/com/kotlindiscord/kord/extensions/components/builders/LinkButtonBuilder.kt | spaceclouds42 | 408,250,779 | true | {"Kotlin": 927280, "Groovy": 3885} | @file:OptIn(KordPreview::class)
package com.kotlindiscord.kord.extensions.components.builders
import dev.kord.common.annotation.KordPreview
import dev.kord.rest.builder.component.ActionRowBuilder
/**
* Button builder representing a link button that directs users to a URL.
*
* Either a [label] or [emoji] must be p... | 0 | null | 0 | 0 | ff5eab0549dd094e3cfbcd1b45400c951e6f32e5 | 1,080 | kord-extensions | MIT License |
app/src/main/java/com/onandoff/onandoff_android/presentation/home/posting/PostingAddActivity.kt | CMC-Hackathon-Team1 | 583,885,566 | false | {"Kotlin": 409987} | package com.onandoff.onandoff_android.presentation.home.posting
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.net.Uri
import android.os.Build
import a... | 0 | Kotlin | 1 | 1 | 8be99848ac489415bbf4f056a9a747c155e3101f | 13,549 | OnAndOff-Android | The Unlicense |
sample/src/main/java/com/rickbusarow/dispatcherprovidersample/SomeRepository.kt | MaTriXy | 251,147,381 | true | {"Kotlin": 104977, "Shell": 902} | /*
* Copyright (C) 2019-2020 <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 t... | 0 | null | 0 | 0 | 80e1caf52f886bb65c8f6a162c0777de7c763fdb | 1,146 | Dispatch | Apache License 2.0 |
automation/espresso/src/main/kotlin/com/instructure/canvas/espresso/mockCanvas/endpoints/FileEndpoints.kt | instructure | 179,290,947 | false | null | /*
* Copyright (C) 2019 - present Instructure, 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 requ... | 2 | Kotlin | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 2,535 | canvas-android | Apache License 2.0 |
app/src/main/java/org/simple/clinic/protocol/ProtocolDrugAndDosages.kt | eco4ndly | 244,967,563 | false | null | package org.simple.clinic.protocol
data class ProtocolDrugAndDosages(val drugName: String, val drugs: List<ProtocolDrug>)
| 0 | null | 0 | 1 | c0bb3139dada4f34206928ec81f1e5f6f056134b | 123 | simple-android | MIT License |
app/src/main/java/org/liuyi/mifreeformx/proxy/framework/SafeActivityOptions.kt | LiuYiGL | 624,455,753 | false | null | package org.liuyi.mifreeformx.proxy.framework
import android.app.ActivityOptions
import org.liuyi.mifreeformx.xposed.base.annotation.ProxyField
import org.liuyi.mifreeformx.xposed.base.interfaces.ProxyInterface
/**
* @Author: Liuyi
* @Date: 2023/05/13/7:49:06
* @Description:
*/
interface SafeActivityOptions: Prox... | 1 | Kotlin | 2 | 33 | 8b0b12d8c7d7961d21b4e7cb0a9d9ca81ca103a8 | 472 | MiFreeFormX | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/EditorSelection.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1457093, "C++": 480040, "GDScript": 465051, "C#": 10278, "C": 8523, "Shell": 7976, "Java": 2136, "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... | 51 | Kotlin | 30 | 426 | fc2f3eacf779c21ce18d2161cca63e6dffdb1c91 | 3,641 | godot-kotlin-jvm | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.