path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/recepguzel/cryptoxcleanarchitecture/data/source/locale/CoinFavoriteDao.kt | recepbrk | 801,143,879 | false | {"Kotlin": 105580} | package com.recepguzel.cryptoxcleanarchitecture.data.source.locale
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.recepguzel.cryptoxcleanarchitecture.data.model.CryptoData
... | 0 | Kotlin | 0 | 0 | c03edbf4e2bfdf3b2257ff9e35644f610d6c5e5c | 739 | CryptoXCleanArchitecture | Apache License 2.0 |
app/src/main/java/com/leomurca/tompero/ui/recipes/RecipeAdapter.kt | leonardoamurca | 366,860,524 | false | null | package com.leomurca.tompero.ui.recipes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.cardview.widget.CardView
import androidx.recyclerview.widget.RecyclerView
import com.leomurca.tompero.R
import com.leomurca.tompero.models.Rec... | 0 | Kotlin | 0 | 0 | f46641beb6c3507a4e9b8243f26974c94fb27489 | 1,504 | tompero-android | MIT License |
OptiGUI/src/main/kotlin/opekope2/optigui/toast/InspectorToast.kt | opekope2 | 578,779,647 | false | {"Kotlin": 120485, "Java": 5448} | package opekope2.optigui.toast
import net.minecraft.client.gui.DrawContext
import net.minecraft.client.toast.Toast
import net.minecraft.client.toast.ToastManager
import net.minecraft.text.Text
import net.minecraft.util.Identifier
/**
* A toast displaying the inspector message.
*/
class InspectorToast : Toast {
... | 13 | Kotlin | 7 | 23 | eddf1b61160c4e73124675e6d36e4f53d998ed98 | 1,111 | OptiGUI | MIT License |
app/src/main/java/com/steve/githubinfosearcher/datasource/api/SearchApi.kt | steve0802 | 269,522,575 | false | null | package com.steve.githubinfosearcher.datasource.api
import com.steve.githubinfosearcher.datasource.response.SearchApiResponse
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query
interface SearchApi {
@GET("search/users")
suspend fun getUserList(@Query("q") filter: String?,
... | 0 | Kotlin | 0 | 0 | 9fd44baef9908d72fe8b82251bd0d9ac8112ba0c | 444 | GitHubInfoSearcher | MIT License |
flow-sample-multikey/src/androidTest/java/flow/sample/multikey/MultiKeySampleTest.kt | minyushov | 87,313,471 | true | {"Kotlin": 158999, "Shell": 933} | /*
* Copyright 2016 Square Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | 7b6403601decf6762e7e3f1ea10f468f22aa54ae | 3,461 | flow | Apache License 2.0 |
CheckersVisionApp/app/src/main/java/com/example/checkersvisionapp/model/checkers/CheckersPosition.kt | b3nny01 | 773,932,332 | false | {"Kotlin": 35688, "Python": 19262, "Java": 9232, "C++": 5922} | package com.example.checkersvisionapp.model.checkers
import android.graphics.Bitmap
class CheckersPosition(val game: CheckersGame, val n:Int, val img:Bitmap) | 0 | Kotlin | 0 | 0 | 21fe76877025d4fadfe1d5de4a79ec073cbb281c | 159 | CheckersVision | MIT License |
app/TaskManagerPlus/app/src/main/java/maif/taskmanagerplus/ui/login/LoginActivity.kt | maiconfang | 867,286,298 | false | {"Kotlin": 53248} | package maif.taskmanagerplus.ui.login
import android.app.Activity
import android.content.Intent
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import androidx.annotation.StringRes
import androidx.appcompat.app.AppCompatActivity
import android.text.Editable
impor... | 0 | Kotlin | 0 | 0 | 08454cb98c6e9a02c378a9efbdda2cca9354c12c | 6,142 | taskmanagerplus-android-app | MIT License |
examples/yfiles-optimizer/src/main/kotlin/com/test/example/app/App.kt | turansky | 239,704,753 | false | null | package com.test.example.app
class App {
fun whatIsTheMeaningOfLife(): String = "42"
fun kyky(): List<String> = listOf("ky", "ky")
}
| 0 | Kotlin | 4 | 40 | c2de9cae2f6f61adcf8ac3d48d7020054342a571 | 143 | kfc-plugins | Apache License 2.0 |
app/src/androidTest/java/org/wikipedia/tinkoff/a/Feed.kt | surnin26 | 632,479,810 | false | null | package org.wikipedia.tinkoff.a
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.wikipedia.main.MainActivity
import org.wikipedia.tinkoff.screens.Menu
import org.wikipedi... | 0 | Kotlin | 0 | 0 | 5b88b09031971d9a46d530f3baa8c9aa211039c7 | 778 | tinkoffWikipedia | Apache License 2.0 |
src/main/kotlin/net/leanix/vsm/githubbroker/connector/domain/AssignmentProvider.kt | leanix | 563,788,890 | false | {"Kotlin": 96728, "Dockerfile": 244} | package net.leanix.vsm.githubbroker.connector.domain
interface AssignmentProvider {
fun getAssignments(integrationName: String, configSetName: String): Result<List<Assignment>>
}
| 0 | Kotlin | 1 | 4 | 13f61af20a53bb7fcbd0a0b435a8839d0da573f6 | 184 | vsm-github-broker | Apache License 2.0 |
hoplite-yaml/src/test/kotlin/com/sksamuel/hoplite/decoder/Base64DecoderTest.kt | sksamuel | 187,727,131 | false | {"Kotlin": 582464} | package com.sksamuel.hoplite.decoder
import com.sksamuel.hoplite.ConfigException
import com.sksamuel.hoplite.ConfigLoader
import com.sksamuel.hoplite.ConfigLoaderBuilder
import com.sksamuel.hoplite.yaml.YamlPropertySource
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.StringSpec
im... | 21 | Kotlin | 74 | 918 | c21e77ea11e26d7852cb6a1859bfc26dee74974e | 1,021 | hoplite | Apache License 2.0 |
app/src/main/java/com/moji/sevenchallenge/models/Category.kt | mojikashani | 305,633,671 | false | null | package com.moji.sevenchallenge.models
data class Category(
val index: Int,
val name: String,
val displayName: String,
var movieTitles: List<MovieTitle> = listOf()
) | 0 | Kotlin | 0 | 0 | 62042e6217552ede74f4d42a6301539d5b55fc63 | 182 | SevenPlus | Apache License 2.0 |
app/src/main/java/ru/nikstep/alarm/util/date/dateUtils.kt | nikita715 | 224,504,692 | false | null | package ru.nikstep.alarm.util.date
import java.util.Calendar
import java.util.GregorianCalendar
fun formatDate(hour: Int, minute: Int) =
hour.toString().padStart(2, '0') + ":" + minute.toString().padStart(2, '0')
class CurrentDateInfo private constructor(
private val calendar: Calendar = Calendar.getInstance... | 0 | Kotlin | 0 | 1 | 5eae531ba4a8184f4f8abfefcbab2c4486efc003 | 2,912 | spotify-alarm-clock | Apache License 2.0 |
app/src/main/java/com/shivamkumarjha/supaflix/ui/detail/DetailInteractionEvents.kt | ShivamKumarJha | 353,360,246 | false | null | package com.shivamkumarjha.supaflix.ui.detail
import com.shivamkumarjha.supaflix.model.db.History
import com.shivamkumarjha.supaflix.model.xmovies.Property
import com.shivamkumarjha.supaflix.model.xmovies.SimilarContents
sealed class DetailInteractionEvents {
object NavigateUp : DetailInteractionEvents()
data... | 0 | Kotlin | 1 | 9 | f027c8ae631b032b621ef2f33c8370b8919b7043 | 808 | supaflix | MIT License |
src/main/kotlin/de/sambalmueslie/discord/bot/staffsergeant/discord/processor/NotifyOnAssignedRoleProcessor.kt | Black-Forrest-Development | 517,332,893 | false | null | //package de.sambalmueslie.discord.bot.staffsergeant.discord.processor
//
//
//import de.sambalmueslie.discord.bot.staffsergeant.discord.DiscordBot
//import de.sambalmueslie.discord.bot.staffsergeant.discord.db.MemberNotifiedRoleEntry
//import de.sambalmueslie.discord.bot.staffsergeant.discord.db.MemberNotifiedRoleEntr... | 1 | Kotlin | 0 | 0 | 74ca1f87eb5b825ab98d8a260dd7a6c0bc91f215 | 3,748 | staffseargant | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/batch/EcsContainerDefinitionPropsDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.batch
import io.cloudshiftdev.awscdkdsl.common.CdkDslMark... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 6,026 | awscdk-dsl-kotlin | Apache License 2.0 |
asyncapi-core/src/test/kotlin/com/asyncapi/v3/schema/multiformat/asyncapi/NullSchemaFormatTest.kt | asyncapi | 262,555,517 | false | {"Kotlin": 1663312, "Java": 768695} | package com.asyncapi.v3.schema.multiformat.asyncapi
import com.asyncapi.v3.schema.json.*
import com.asyncapi.v3.schema.multiformat.AsyncAPIFormatSchema
import org.junit.jupiter.api.extension.ExtensionContext
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.Arguments
import org... | 11 | Kotlin | 22 | 64 | 94a3d1628b17ec58659693bc9ad3b98bca53f172 | 5,494 | jasyncapi | Apache License 2.0 |
benchmark/src/main/kotlin/dev/marlonlom/apps/benchmark/ExampleStartupBenchmark.kt | marlonlom | 668,920,205 | false | null | /*
* Copyright 2023 marlonlom
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
*/
package dev.marlonlom.apps.benchmark
import androidx.benchmark.macro.StartupMode
import androidx.benchmark.macro.StartupTimingM... | 0 | Kotlin | 0 | 0 | 0d7d8efadca32664a783c282b1743d7456d8c2c7 | 1,394 | moneyio | MIT License |
src/main/kotlin/me/stkai/mybatis/log/util/PrintUtils.kt | Stkai | 405,568,439 | false | null | /*
* Copyright (c) 2021. St.kai.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 0 | 0 | e412131f7bcf4c1ce65c1c3721bbdac63e835237 | 1,861 | intellij-mybatis-log-plugin | Apache License 2.0 |
src/main/kotlin/sishbi/vertx/kotlin/DB.kt | sishbi | 764,792,610 | false | {"Kotlin": 14646} | package sishbi.vertx.kotlin
import io.vertx.core.Vertx
import io.vertx.kotlin.pgclient.pgConnectOptionsOf
import io.vertx.kotlin.sqlclient.poolOptionsOf
import io.vertx.pgclient.PgBuilder
import io.vertx.sqlclient.Pool
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import mu.KotlinLogging
... | 0 | Kotlin | 0 | 0 | 6781b7f8f9b91e29d908d8b51ed1ea83e4d63c86 | 1,399 | kotlin-vertx-talk | MIT License |
app/src/main/kotlin/server/persistence/BackupsDal.kt | skeid21 | 676,324,775 | false | {"Kotlin": 71888, "Dockerfile": 281} | package server.persistence
import com.google.inject.Inject
import kotlinx.datetime.Clock
import kotlinx.datetime.Instant
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao.id.IntIdTable
import org.jetb... | 0 | Kotlin | 0 | 0 | 3f6b76706687b3119b8be0780f04e3e4c9826e5a | 3,279 | unraid_rclone_backup | MIT License |
tools/sql_extraction/src/main/kotlin/output/Location.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.output
import java.lang.Integer.max
import java.lang.Integer.min
/**
* All values inclusive
*/
data class Location(
val startLine: Int,
val startColumn: Int,
val endLine: Int,
val endColumn: Int
) {
companion object {
/** Returns the un... | 0 | null | 0 | 0 | ff2125daec1d2e8d22ed2568268baa868888a700 | 1,243 | bigquery-utils | Apache License 2.0 |
data/src/androidTest/java/com/robertomiranda/data/room/UsersDaoTest.kt | RoberMiranda92 | 259,187,177 | false | null | package com.robertomiranda.data.room
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.robertomiranda.data.BaseDataBaseTest
import com.robertomiranda.data.room.dao.UsersDao
import com.robertomiranda.data.room.models.UserRoom
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::c... | 0 | Kotlin | 0 | 0 | b37b413cf2f26596294040938a089998cfd6d93f | 1,604 | Post-List | Apache License 2.0 |
theme-vitamin/features/src/main/java/org/gdglille/devfest/android/theme/vitamin/features/PartnersVM.kt | GerardPaligot | 444,230,272 | false | null | package org.gdglille.devfest.android.theme.vitamin.features
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.lifecycle.viewmodel.compose.viewM... | 11 | null | 6 | 126 | 6823162e323d6975403611ad787df99e6541d251 | 1,548 | conferences4hall | Apache License 2.0 |
picker-file/src/main/java/chooongg/box/picker/file/breadcrumbs/BreadcrumbsLayoutManager.kt | Chooongg | 298,511,826 | false | null | package chooongg.box.picker.file.breadcrumbs
import android.content.Context
import android.util.AttributeSet
import androidx.recyclerview.widget.LinearLayoutManager
class BreadcrumbsLayoutManager : LinearLayoutManager {
constructor(context: Context) : super(context)
constructor(context: Context, orientation: ... | 0 | Kotlin | 1 | 2 | f2b4adac448036ef2e48ec2a3ac030c7f8d0fe2e | 664 | ChooonggBox | Apache License 2.0 |
lib/src/androidMain/kotlin/io/vithor/domehttp/DefaultDispatcher.kt | Hazer | 190,490,922 | false | null | package io.vithor.domehttp
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
actual val DefaultDispatcher: CoroutineDispatcher
get() = Dispatchers.IO | 1 | Kotlin | 0 | 4 | 8e41652ce0981a5ed6389e5ddde04aeadd9c5b0c | 189 | DomeHTTP | MIT License |
src/main/kotlin/com/vk/admstorm/configuration/runanything/RunAnythingConfigurationRunner.kt | VKCOM | 454,408,302 | false | null | package com.vk.admstorm.configuration.runanything
import com.vk.admstorm.configuration.WithSshConfigurationRunner
class RunAnythingConfigurationRunner : WithSshConfigurationRunner(
withDebug = false,
inEDT = false,
RunAnythingConfiguration::class
) {
override fun getRunnerId() = "RunAnything"
}
| 32 | Kotlin | 3 | 9 | a0f16edbaab1b37ae08b7244df9d0585b7949042 | 314 | admstorm | MIT License |
src/main/java/com/jagrosh/jmusicbot/commands/SkipCmd.kt | JellyBrick | 144,745,076 | true | {"Kotlin": 160880} | /*
* Copyright 2016 <NAME> <<EMAIL>>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | Kotlin | 0 | 6 | 746b756aaa84f7fd27174d6cad3239dee402af1f | 2,743 | MusicBot-Kotlin | Apache License 2.0 |
src/main/kotlin/com/skywalker/active/repository/ActiveRepository.kt | duxingxia081 | 133,362,521 | false | null | package com.skywalker.active.repository
import com.skywalker.active.dto.ActiveDTO
import com.skywalker.base.bo.MhoSkywalkerActive
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.... | 0 | Kotlin | 0 | 0 | 4551912543cf95b2372a0aa0d9142f2faa2fcbf5 | 2,448 | skywalker | Apache License 2.0 |
src/main/kotlin/Day4.kt | ivan-gusiev | 726,608,707 | false | {"Kotlin": 34715, "Python": 2022, "Makefile": 50} | import util.AocDay
import util.AocInput
typealias Day4InputType = List<Day4.ScratchCard>;
class Day4 : Runner {
val TEST_INPUT: String = """
Card 1: 41 48 83 86 17 | 83 86 6 31 17 9 48 53
Card 2: 13 32 20 16 61 | 61 30 68 82 17 32 24 19
Card 3: 1 21 53 59 44 | 69 82 63 72 16 21 14 1
... | 0 | Kotlin | 0 | 0 | 5585816b435b42b4e7c77ce9c8cabc544b2ada18 | 4,137 | advent-of-code-2023 | MIT License |
webauthn/src/main/java/com/lycorp/webauthn/model/Fido2PromptInfo.kt | line | 855,639,495 | false | {"Kotlin": 187679} | /*
* Copyright 2024 LY Corporation
*
* LY Corporation licenses this file to you 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 requi... | 0 | Kotlin | 0 | 3 | f0dca2ed5b66c7aeebc1574c84d1d4c9086b615b | 978 | webauthn-kotlin | Apache License 2.0 |
app/src/main/java/com/handy/projetfinalenativelependu/AddActivity.kt | Handy-up | 872,648,123 | false | {"Kotlin": 55032} | package com.handy.projetfinalenativelependu
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.RadioButton
import android.widget.RadioGroup
import android.widget.Toast
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
clas... | 0 | Kotlin | 0 | 0 | a1a9fa1d7cee33516a670466dbff06fd8778bf27 | 2,093 | Jeu-Mobile-Pendu | MIT License |
feature.main/src/main/java/lac/feature/main/app/mobile/bookmarks/BookmarksSubModule.kt | bandysik | 143,031,693 | false | null | package lac.feature.main.app.mobile.bookmarks
import lac.feature.main.app.mobile.bookmarks.Params.VIEW
import org.koin.dsl.module.applicationContext
val bookmarksSubModule = applicationContext {
factory { params ->
BookmarksPresenter(params[VIEW], get(), get()) as BookmarksContract.Presenter
}
}
obje... | 0 | Kotlin | 0 | 1 | c2e0478c93eb5eaf7ec1632d2257427a9174443e | 361 | LAC | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Roulette.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,502 | icons | MIT License |
app/src/main/java/com/example/tier/base/InternetException.kt | cenkcavga | 480,894,535 | false | null | package com.example.tier.base
import java.io.IOException
class InternetException() : IOException() {
override val message: String
get() = "Please check your internet connection"
}
| 0 | Kotlin | 0 | 0 | 67ad17c45014103e9e1b4feb7b4f2c7294d7532a | 206 | Tier | Apache License 2.0 |
core/core_domain/src/main/java/com/serj113/pokedex/core/domain/usecase/impl/GetSpeciesUseCaseImpl.kt | serj113 | 668,290,121 | false | {"Kotlin": 111698} | package com.serj113.pokedex.core.domain.usecase.impl
import com.serj113.pokedex.core.domain.repository.PokemonRepository
import com.serj113.pokedex.core.domain.usecase.GetSpeciesUseCase
import com.serj113.pokedex.core.model.ApiResult
import com.serj113.pokedex.core.model.PokemonSpeciesResponse
import javax.inject.Inje... | 0 | Kotlin | 0 | 0 | ef4dffd562e4114aae5b805909c65d12643fc275 | 569 | pokedex | Apache License 2.0 |
feature/edit-note/core/src/main/kotlin/ru/maksonic/beresta/feature/edit_note/core/ui/widget/EditNoteTopBar.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.feature.edit_note.core.ui.widget
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
impo... | 0 | Kotlin | 0 | 0 | b1c3480b9e715f7f02302b955af64cf032e4224a | 1,365 | Beresta | MIT License |
features/onboarding/src/main/java/io/dotanuki/norris/onboarding/OnboardingActivity.kt | bentleypark | 350,624,647 | true | {"Kotlin": 142785, "Shell": 1445} | package io.dotanuki.norris.onboarding
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.lifecycleScope
import io.dotanuki.logger.Logger
import io.dotanuki.norris.features.utilties.selfBind
import io.dotanuki.norris.features.utilties.viewBinding
import io.dotanuki.norris... | 0 | null | 0 | 0 | 4c01aea710a7cefa246da2d6b875e123cbcf724b | 2,127 | norris | MIT License |
google-apple-payments/src/commonMain/kotlin/com/khalid/multiplatform/googleapple/payments/Platform.kt | khalid64927 | 783,337,790 | false | {"Kotlin": 32412} | @file:Suppress("MatchingDeclarationName")
package com.khalid.multiplatform.googleapple.payments
expect interface PaymentInterface {
suspend fun canMakePayments(): Boolean
suspend fun makePayments(amount: String, callback: (result: Result<String>) -> Unit)
}
| 1 | Kotlin | 0 | 2 | f2c9f16c9a5ff28ee6ca6e069cb422b17bf18285 | 270 | google-apple-pay | Apache License 2.0 |
src/main/kotlin/br/com/zup/detail/DetailPixKeyResponse.kt | brenohof | 383,853,953 | true | {"Kotlin": 34428, "Smarty": 2032, "Dockerfile": 175} | package br.com.zup.detail
import br.com.zup.create.AccountType
import br.com.zup.create.KeyType
import java.time.LocalDateTime
data class DetailPixKeyResponse(
val pixId: String,
val clientId: String,
val keyType: KeyType?,
val keyValue: String,
val owner: OwnerResponse,
val account: AccountRe... | 0 | Kotlin | 0 | 0 | 0ef178056d08741c9d0c1d42c8c6c2751863f884 | 576 | pix-keymanager-rest | Apache License 2.0 |
src/test/kotlin/com/github/mpe85/grampa/grammar/ChoiceRuleTests.kt | mpe85 | 138,511,038 | false | {"Kotlin": 267705, "Java": 1073} | package com.github.mpe85.grampa.grammar
import com.github.mpe85.grampa.legalCodePoints
import com.github.mpe85.grampa.parser.Parser
import com.github.mpe85.grampa.rule.Rule
import com.github.mpe85.grampa.rule.StringRule
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import io.kotest.pro... | 1 | Kotlin | 1 | 13 | b035245f817762fe475fe479d82d6c2aa61eea39 | 2,028 | grampa | MIT License |
app/src/main/java/com/douglasqueiroz/thewallet/ui/navigation/TheWalletNavHost.kt | douglas-queiroz | 643,561,645 | false | null | package com.douglasqueiroz.thewallet.ui.navigation
import androidx.compose.runtime.Composable
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.rememberNavController
import com.douglasqueiroz.thewallet.di.UtilModule
import com.douglasqueiroz.thewallet.feature.assets.assetsScreen
import com.... | 0 | Kotlin | 0 | 0 | b32bc30c705696b7c5cbe8d1d8b2f348b3d5ff06 | 884 | TheWallet | Apache License 2.0 |
frontend/kobweb-compose/src/jsMain/kotlin/com/varabyte/kobweb/compose/ui/modifiers/TransitionModifiers.kt | varabyte | 389,223,226 | false | {"Kotlin": 1183340} | package com.varabyte.kobweb.compose.ui.modifiers
import com.varabyte.kobweb.compose.attributes.onTransitionCancel
import com.varabyte.kobweb.compose.attributes.onTransitionEnd
import com.varabyte.kobweb.compose.attributes.onTransitionRun
import com.varabyte.kobweb.compose.attributes.onTransitionStart
import com.varaby... | 113 | Kotlin | 48 | 992 | a6061d7a3b53383e055a94ef4aa430af6647f8b4 | 1,448 | kobweb | Apache License 2.0 |
app/src/main/java/com/flowfoundation/wallet/page/staking/providers/presenter/ProviderTitlePresenter.kt | Outblock | 692,942,645 | false | {"Kotlin": 2036345, "Java": 104150} | package com.flowfoundation.wallet.page.staking.providers.presenter
import android.view.View
import android.widget.TextView
import com.flowfoundation.wallet.base.presenter.BasePresenter
import com.flowfoundation.wallet.base.recyclerview.BaseViewHolder
import com.flowfoundation.wallet.page.staking.providers.model.Provid... | 60 | Kotlin | 4 | 0 | 73cf4c0812bd963047289f876a19e7484ab958c3 | 561 | FRW-Android | Apache License 2.0 |
app/src/main/java/com/mapmyindia/sdk/demo/kotlin/activity/AddCustomInfoWindowActivity.kt | MapmyIndia | 458,154,500 | true | {"INI": 1, "Gradle": 4, "Shell": 1, "Markdown": 97, "Batchfile": 1, "Ignore List": 2, "YAML": 1, "Java Properties": 1, "Proguard": 1, "XML": 102, "JSON": 1, "Java": 114, "Kotlin": 108} | package com.mapmyindia.sdk.demo.kotlin.activity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.mapmyindia.sdk.demo.R
im... | 0 | Java | 3 | 3 | 0c995ebcedb84b250733fc43d61bfb3d89479dd6 | 3,194 | mapmyindia-maps-vectorSDK-android | BSD 1-Clause License |
src/main/java/net/ccbluex/liquidbounce/features/command/commands/HClipCommand.kt | 2946257770 | 693,652,489 | false | {"Java": 1812636, "Kotlin": 1801560, "GLSL": 13689, "JavaScript": 9199, "HTML": 850} | /*
* LiquidBounce+ Hacked Client
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge.
* https://github.com/WYSI-Foundation/LiquidBouncePlus/
*/
package net.ccbluex.liquidbounce.features.command.commands
import net.ccbluex.liquidbounce.features.command.Command
import net.ccb... | 1 | null | 1 | 1 | 4e111df6cd3ca03da3b285eb8572ef79a9ff8695 | 850 | VulgarSense | Apache License 2.0 |
health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/SessionDetailsSeries.kt | android | 368,660,859 | false | null | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 5 | Kotlin | 38 | 58 | 58c3f3fe86ecea1107f66b836faead8dea4d0142 | 1,610 | health-samples | Apache License 2.0 |
survey/src/main/java/com.quickbirdstudios.surveykit/backend/views/question_parts/MultipleChoicePart.kt | sanjay-shyamal | 211,853,040 | true | {"Kotlin": 119217, "Shell": 8542} | package com.quickbirdstudios.surveykit.backend.views.question_parts
import android.content.Context
import android.graphics.Color
import android.os.Handler
import android.util.AttributeSet
import android.view.Gravity
import android.view.View
import android.view.ViewGroup
import android.widget.CheckBox
import android.wi... | 0 | null | 0 | 0 | 0216399a2bca01a958c16f9e0c5ff77ffdca44ca | 5,774 | SurveyKit | MIT License |
src/test/kotlin/nl/knaw/huc/di/rd/tag/creole/PatternAssert.kt | HuygensING | 222,932,987 | false | null | package nl.knaw.huc.di.rd.tag.creole
/*-
* #%L
* creole
* =======
* Copyright (C) 2016 - 2019 HuC DI (KNAW)
* =======
* 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:/... | 0 | Kotlin | 0 | 0 | 85c63513e6ea39c15db541c47428f4ddb7d43b40 | 2,390 | creole | Apache License 2.0 |
app/src/main/java/com/macroz/wordler/adapters/WordListElementAdapter.kt | MaciejRozpedek | 462,682,311 | false | {"Kotlin": 62017} | package com.macroz.wordler.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.macroz.wo... | 0 | Kotlin | 0 | 1 | 57598c92f0ae01b1896f3cef8447297721b55f1e | 2,765 | Wordler | Apache License 2.0 |
src/main/kotlin/org/ewlameijer/knowviz/data/Relationship.kt | EWLameijer | 455,957,747 | false | {"Kotlin": 11262} | package org.ewlameijer.knowviz.data
enum class RelationshipArity { OneToOne, OneToMany }
enum class RelationshipType(val text: String, val arity: RelationshipArity) {
IsA(
"is a(n)",
RelationshipArity.OneToOne
),
CanHave(
"can have",
RelationshipArity.OneToMany
),
Ha... | 0 | Kotlin | 0 | 0 | d5c5a6069c5de4e2804d49705471f029699f0ef0 | 3,024 | knowledge-visualizer | MIT License |
android/src/main/kotlin/org/ar/rtc_engine/ArRtcStreamKitPlugin.kt | anyRTC | 308,827,129 | false | null | package org.ar.rtc_engine
import android.os.Handler
import android.os.Looper
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.EventChannel
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
imp... | 0 | Dart | 7 | 19 | b81282f06e344eea33830a52aa3049053a189412 | 2,216 | Flutter-SDK | MIT License |
src/commonMain/kotlin/com/ditchoom/mqtt5/controlpacket/properties/ServerKeepAlive.kt | DitchOoM | 422,091,819 | false | null | package com.ditchoom.mqtt5.controlpacket.properties
import com.ditchoom.buffer.WriteBuffer
data class ServerKeepAlive(val seconds: Int) : Property(0x13, Type.TWO_BYTE_INTEGER) {
override fun size(): Int = 3
override fun write(buffer: WriteBuffer): Int = write(buffer, seconds.toUShort())
}
| 0 | Kotlin | 0 | 0 | eb45a9961e1873dd4bd3abb7446d25f96e14f7cf | 300 | mqtt-5-models | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/KuwaharaFilter.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: KuwaharaFilter
*
* Full name: System`KuwaharaFilter
*
* Usage: KuwaharaFilter[data, r] compute... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,134 | mathemagika | Apache License 2.0 |
src/main/kotlin/com/adi3000/cloud/nextcloud/NextcloudHandler.kt | Adi3000 | 548,244,043 | false | {"Kotlin": 12458} | package com.adi3000.cloud.nextcloud
import jakarta.inject.Inject
import jakarta.inject.Singleton
import org.aarboard.nextcloud.api.NextcloudConnector
import java.io.File
//TODO implement endpoint to register a password
// cf. https://docs.nextcloud.com/server/latest/developer_manual/client_apis/LoginFlow/index.html#c... | 1 | Kotlin | 1 | 0 | 661232cd3eba26668e6a41df72b15a6b91a52d63 | 1,151 | cloud-bridge | MIT License |
src/main/kotlin/top/idwangmo/lingling/util/LinglingRequestStaticsSingleton.kt | moyu-x | 146,326,167 | false | {"Kotlin": 11384} | package top.idwangmo.lingling.util
import retrofit2.Retrofit
import retrofit2.converter.scalars.ScalarsConverterFactory
import top.idwangmo.lingling.config.LinglingURLConfig
class LinglingRequestStaticsSingleton private constructor() {
companion object {
fun getInstance() = Holder.INSTANCE!!
}
p... | 0 | Kotlin | 0 | 0 | 127ce882925827d9ab00f1ee9220c12d307f23ca | 487 | lingling | MIT License |
app/src/main/kotlin/jp/co/yumemi/android/code_check/common/view/WebView.kt | MarcoDzuong | 406,395,463 | false | null | package jp.co.yumemi.android.code_check.common.view
import android.content.Intent
import android.graphics.Bitmap
import android.net.Uri
import android.os.Build
import android.webkit.*
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fi... | 0 | Kotlin | 0 | 2 | 703e158b758aa7ddc05ab75a670b183d7c8d092f | 4,473 | yumemi-android-engineer-codecheck | Apache License 2.0 |
ui-kit/src/main/kotlin/org/p2p/uikit/components/left_side/LeftSideCellModel.kt | p2p-org | 306,035,988 | false | null | package org.p2p.uikit.components.left_side
import android.text.TextUtils
import org.p2p.uikit.components.icon_wrapper.IconWrapperCellModel
import org.p2p.uikit.utils.text.TextViewCellModel
sealed interface LeftSideCellModel {
data class IconWithText(
val icon: IconWrapperCellModel? = null,
val fi... | 8 | Kotlin | 16 | 28 | 71b282491cdafd26be1ffc412a971daaa9c06c61 | 605 | key-app-android | MIT License |
src/jvmMain/kotlin/com/github/jershell/kbase64/extensions.kt | jershell | 199,182,415 | false | null | package com.github.jershell.kbase64
actual fun String.decodeBase64(): String = String(this.toByteArray().decodeBase64())
actual fun String.decodeBase64ToByteArray(): ByteArray = this.toByteArray().decodeBase64()
actual fun ByteArray.decodeBase64ToString(): String = String(this.decodeBase64())
actual fun String.encodeT... | 0 | Kotlin | 1 | 8 | bc15b0f2295b967a9a53f7578efd170ae1263213 | 457 | kbase64 | MIT License |
app/src/main/java/com/mertyazi/moviesappxml/core/domain/model/FavoriteMovie.kt | MertYazi | 866,983,599 | false | {"Kotlin": 58054} | package com.mertyazi.moviesappxml.core.domain.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
/**
* Created by Mert Yazi
*/
@Entity
class FavoriteMovie(
@PrimaryKey val id: String,
@ColumnInfo(name = "movie_title") val movieTitle : String,
@ColumnInfo(n... | 0 | Kotlin | 0 | 0 | 6bccf2f6878e8d3beff17dbe7c0a2a9ea07b11f3 | 454 | MoviesAppXML | Apache License 2.0 |
app/src/main/java/info/free/scp/bean/CommentModel.kt | zhufree | 145,660,707 | false | {"Kotlin": 369198, "CSS": 82454} | package info.free.scp.bean
data class CommentModel(var comment: String = "",
var title: String = "",
var username: String = "",
var time: String = "",
var reply: List<CommentModel>) | 0 | Kotlin | 4 | 20 | bf686e8969530dde5afd8442c9486b30378ae40f | 278 | SCP-Android | MIT License |
app/src/main/java/com/thejawnpaul/gptinvestor/ui/theme/Color.kt | jawnpaul | 777,897,163 | false | {"Kotlin": 157930} | package com.thejawnpaul.gptinvestor.ui.theme
import androidx.compose.ui.graphics.Color
val Purple80 = Color(0xFFD0BCFF)
val PurpleGrey80 = Color(0xFFCCC2DC)
val Pink80 = Color(0xFFEFB8C8)
val Purple40 = Color(0xFF6650a4)
val PurpleGrey40 = Color(0xFF625b71)
val Pink40 = Color(0xFF7D5260)
val md_theme_light_primary ... | 0 | Kotlin | 2 | 9 | b3e8959714fa70dd4afb89c08e8a468355e1f9a0 | 3,412 | gpt-investor-android | MIT License |
src/generated/kotlin/net/highteq/cylab/awssdk/dynamodb/kotlin/dsl/model/GlobalSecondaryIndexDescriptionDSL.kt | cylab | 258,882,001 | false | null | /*
This file was generated from https://github.com/aws/aws-sdk-java-v2 by https://github.com/cylab/aws-kotlin-dsl-builder
Like the original code, this file and project is licensed under
Apache License Version 2.0
See LICENSE.txt for more info
*/
@file:Suppress("DEPRECATION", "NOTHING_TO_INLINE")
package net.hig... | 0 | Kotlin | 0 | 4 | b3f40e013e78f363794f7671a43de88983280bb9 | 4,855 | awssdk-dynamodb-kotlin-dsl | Apache License 2.0 |
platform/backend/bridge/src/integrationTest/kotlin/io/hamal/bridge/http/controller/exec/BaseExecControllerTest.kt | hamal-io | 622,870,037 | false | {"Kotlin": 3316689, "C": 1401511, "TypeScript": 450023, "Lua": 193995, "C++": 40651, "Makefile": 11728, "Java": 7564, "JavaScript": 5832, "SCSS": 5191, "CMake": 2838, "CSS": 1626, "HTML": 1245, "Shell": 993} | package io.hamal.bridge.http.controller.exec
import io.hamal.bridge.http.controller.BaseControllerTest
internal sealed class BaseExecControllerTest : BaseControllerTest() | 44 | Kotlin | 0 | 0 | 1c9b1ad3368823ad9c339b6a56532a602cef7c63 | 172 | hamal | Creative Commons Zero v1.0 Universal |
TeamCode/src/main/java/asiankoala/ftc2022/sunmi/opmodes/tests/TuneServos.kt | ftc-noteam | 539,184,063 | false | null | package asiankoala.ftc2022.sunmi.opmodes.tests
import asiankoala.ftc2022.sunmi.commands.subsystem.ArmCmd
import asiankoala.ftc2022.sunmi.commands.subsystem.PivotCmd
import asiankoala.ftc2022.sunmi.subsystems.Arm
import asiankoala.ftc2022.sunmi.subsystems.Claw
import asiankoala.ftc2022.sunmi.subsystems.Pivot
import asi... | 0 | Kotlin | 0 | 7 | 68d489dd69a2d0e8859f1a8ef2a65fcf8eb86952 | 1,600 | PowerPlay | BSD 3-Clause Clear License |
src/main/kotlin/cc/tweaked_programs/partnership/main/block/cannon/MarineCannonBlock.kt | tweaked-programs | 733,540,479 | false | {"Kotlin": 160511, "Java": 10462} | package cc.tweaked_programs.partnership.main.block.cannon
import cc.tweaked_programs.partnership.main.registries.BlockEntityRegistries
import cc.tweaked_programs.partnership.main.registries.ItemRegistries
import com.mojang.serialization.MapCodec
import net.minecraft.core.BlockPos
import net.minecraft.core.Direction
im... | 1 | Kotlin | 2 | 0 | 6a601a4376b1f32ee3270f72b7f0a844ec83d2e4 | 7,069 | Partnership | MIT License |
src/main/kotlin/com/github/frozencure/helix/http/ResourceService.kt | frozencure | 253,615,832 | false | null | package com.github.frozencure.helix.http
import com.github.frozencure.helix.auth.basic.default
import com.github.frozencure.helix.auth.model.AuthCredentials
import com.github.frozencure.helix.auth.model.OAuthCredentials
import com.github.frozencure.helix.auth.oauth.oauth
import io.ktor.client.*
import io.ktor.client.e... | 3 | Kotlin | 3 | 17 | 285d49ad2ddf19f8ba2d0973ca17a40168fac914 | 1,801 | twitch-client | MIT License |
xposed/src/main/java/moe/fuqiuluo/dobby/Dobby.kt | fuqiuluo | 870,496,630 | false | {"Kotlin": 314857, "AIDL": 21153, "C++": 16173, "Java": 3777, "C": 2930, "CMake": 476} | package moe.fuqiuluo.dobby
object Dobby {
external fun setStatus(status: Boolean)
} | 0 | Kotlin | 3 | 10 | f05b29c0bbe25130c92edda842730466ed49ef3b | 90 | Portal | Apache License 2.0 |
compiler/src/main/kotlin/se/ansman/kotshi/model/AdapterKey.kt | ansman | 95,685,398 | false | null | package se.ansman.kotshi.model
import com.squareup.kotlinpoet.ANY
import com.squareup.kotlinpoet.ARRAY
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.CodeBlock
import com.squareup.kotlinpoet.DelicateKotlinPoetApi
import com.squareup.kotlinpoet.Dynamic
import com.squareup.kotlinpoet.LambdaTypeN... | 2 | Kotlin | 40 | 697 | a82b4e8105d169b948c97dd59d9867a8b9de91cd | 3,975 | kotshi | Apache License 2.0 |
app/src/main/java/com/koleff/kare_android/ui/view_model/ExerciseDetailsConfiguratorViewModel.kt | MartinKoleff | 741,013,199 | false | {"Kotlin": 655085} | package com.koleff.kare_android.ui.view_model
import android.util.Log
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import com.koleff.kare_android.common.di.IoDispatcher
import com.koleff.kare_android.... | 15 | Kotlin | 0 | 4 | e31db6fb293ae0b00fd9c4526b1f8d5c2be64b67 | 5,941 | KareFitnessApp | MIT License |
data/src/main/kotlin/com/r2b/apps/xuser/data/storage/UserDAO.kt | r2bapps | 497,688,954 | false | {"Kotlin": 139683} | package com.r2b.apps.xuser.data.storage
import androidx.room.*
import com.r2b.apps.xuser.data.storage.entity.UserDB
@Dao
interface UserDAO: BaseDAO<UserDB> {
/*
REMEMBER:
SQLite have no boolean data type
Room maps boolean data to an INTEGER column
Room mapping true to 1 and false ... | 0 | Kotlin | 2 | 0 | c4b47a564e0d07a787b6d237eb18f23fd0d6d0f6 | 669 | assessment | MIT License |
testerum-steps-api/src/main/kotlin/com/testerum_api/testerum_steps_api/test_context/test_vars/TestVariables.kt | testerum | 301,253,207 | false | null | package com.testerum_api.testerum_steps_api.test_context.test_vars
import com.testerum_api.testerum_steps_api.services.TesterumService
interface TestVariables : TesterumService {
fun contains(name: String): Boolean
/**
* @throws VariableNotFoundException is [name] is not defined
*/
operator fu... | 0 | Kotlin | 0 | 0 | 5d111508b6cb36ccf7f07daac6bdeffa023f00ac | 729 | testerum-api | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/ViewCompactAltSharp.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3037818, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/ViewCompactAltSharp")
package mui.icons.material
@JsName("default")
external val ViewCompactAltSharp: SvgIconComponent
| 1 | Kotlin | 5 | 35 | 7c4376ba64ea84a5c40255d83c8c046978c3843d | 202 | mui-kotlin | Apache License 2.0 |
core/src/jsMain/kotlin/com/lehaine/littlekt/graphics/gl/UniformLocation.kt | littlektframework | 442,309,478 | false | {"Kotlin": 2285392} | package com.lehaine.littlekt.graphics.gl
import org.khronos.webgl.WebGLUniformLocation
/**
* @author Colton Daily
* @date 9/28/2021
*/
actual class UniformLocation(val delegate: WebGLUniformLocation) | 14 | Kotlin | 9 | 291 | 89f372fd18e47998d9b1d3add93ba92e4dcaca6e | 204 | littlekt | Apache License 2.0 |
dependency/src/main/kotlin/dev/skzr/lib/dependency/repository/MavenRepository.kt | SkyezerFox | 377,899,980 | false | null | package dev.skzr.lib.dependency.repository
import dev.skzr.lib.dependency.Dependency
import dev.skzr.lib.dependency.artifact.ArtifactPom
import dev.skzr.lib.dependency.artifact.ArtifactPomDependency
import dev.skzr.lib.dependency.artifact.asArray
import okhttp3.HttpUrl
import okhttp3.HttpUrl.Companion.toHttpUrl
import... | 0 | Kotlin | 0 | 0 | 8172aa60ffdc06e6818d67334f3938b02502f2f2 | 3,112 | skzr-lib | MIT License |
src/main/kotlin/tv/dotstart/badge/service/connector/github/model/License.kt | dotStart | 136,342,051 | false | {"Kotlin": 144091, "HTML": 4749, "JavaScript": 2747, "Dockerfile": 278} | /*
* Copyright 2020 <NAME> <<EMAIL>>
* and other copyright owners as documented in the project's IP log.
*
* 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/... | 0 | Kotlin | 1 | 0 | f2d471ae6b9687f437dddc7dbb6287102727b97a | 1,015 | Badges | Apache License 2.0 |
app/src/main/java/com/aowen/monolith/data/BuildListItem.kt | heatcreep | 677,508,642 | false | {"Kotlin": 1082631} | package com.aowen.monolith.data
import com.aowen.monolith.data.database.model.FavoriteBuildListEntity
import java.sql.Timestamp
import java.util.UUID
data class BuildListItem(
val id: Int = 0,
val userId: String? = null,
val title: String = "",
val author: String = "",
val role: String = "unknown... | 11 | Kotlin | 0 | 2 | fba188346b2b110b4a9c837cca7225ee1ba0bb65 | 2,550 | predecessor-monolith | MIT License |
corda/services/src/main/kotlin/nl/tno/federated/corda/services/graphdb/GraphDBService.kt | federatedplatforms | 781,315,852 | false | {"Kotlin": 233863, "Java": 126363, "TypeScript": 10886, "HTML": 10475, "Svelte": 7001, "JavaScript": 5457, "Dockerfile": 1547, "CSS": 1017, "Python": 1014, "Makefile": 291} | package nl.tno.federated.corda.services.graphdb
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import nl.tno.federated.services.PrefixHandlerQueries
import org.apache.http.HttpEntity
import org.apache.http.HttpResponse
import org.apache.http.client.HttpClient
import org.apache.http.client.config.Reques... | 0 | Kotlin | 0 | 0 | 55aa6b8f3e5faa32c378e3dc0e21b8c7fd57fa04 | 12,375 | FEDeRATED-BDI | Apache License 2.0 |
virtualjoystick/src/main/java/com/yoimerdr/android/virtualjoystick/geometry/Position.kt | yoimerdr | 752,392,779 | false | {"Kotlin": 112504, "CSS": 2645} | package com.yoimerdr.android.virtualjoystick.geometry
class Position(
override var x: Float,
override var y: Float
) : FixedPosition(), MutablePosition {
constructor() : this(0.0f, 0.0f)
constructor(x: Int, y: Int) : this(x.toFloat(), y.toFloat())
constructor(x: Double, y: Double) : this(x.toFlo... | 0 | Kotlin | 0 | 0 | 1ede27026dae3058a37b52ce6fc91272441fb601 | 1,113 | AndroidVirtualJoystick | Apache License 2.0 |
hurl-core/src/main/kotlin/com/orange/ccmd/hurl/core/query/jsonpath/JsonPath.kt | isabella232 | 379,204,586 | true | {"Kotlin": 512534, "Python": 22137, "Shell": 3425, "HTML": 1830, "Mustache": 1098} | /*
* Copyright (C) 2020 Orange
*
* Hurl JVM (JVM Runner for https://hurl.dev)
*
* 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
... | 0 | null | 0 | 0 | 787bb3f83ff6629a5d3a391518675b60e2a28e9b | 1,792 | hurl-jvm | Apache License 2.0 |
hoplite-core/src/main/kotlin/com/sksamuel/hoplite/preprocessor/PropsPreprocessor.kt | fagossa | 199,613,556 | true | {"Kotlin": 151981, "Shell": 126} | package com.sksamuel.hoplite.preprocessor
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import java.util.*
/**
* Loads properties from a file and replaces strings of the form ${key} with the
* value of that key in the properties file.
*
* When creating this class, you can specify... | 0 | Kotlin | 0 | 0 | 3d584243f8718f573d414d2b209adeaad1679b29 | 907 | hoplite | Apache License 2.0 |
src/main/kotlin/no/nav/hm/grunndata/db/iso/IsoCategory.kt | navikt | 555,213,385 | false | {"Kotlin": 192632, "Dockerfile": 107, "Shell": 53} | package no.nav.hm.grunndata.db.iso
import io.micronaut.data.annotation.Id
import io.micronaut.data.annotation.MappedEntity
import io.micronaut.data.annotation.TypeDef
import io.micronaut.data.model.DataType
import java.time.LocalDateTime
import java.util.*
@MappedEntity("isocategory_v1")
data class IsoCategory(
... | 0 | Kotlin | 0 | 1 | 29709fb0ef96137c478e07123a106445b9c3eadd | 2,111 | hm-grunndata-db | MIT License |
src/test/kotlin/org/geepawhill/rules/StupidUiTest.kt | GeePawHill | 192,393,731 | false | null | package org.geepawhill.rules
import javafx.scene.Node
import javafx.scene.Parent
import javafx.scene.Scene
import javafx.scene.control.Button
import javafx.scene.control.Label
import javafx.scene.control.TextField
import javafx.scene.input.KeyCode
import javafx.scene.layout.VBox
import org.assertj.core.api.Assertions.... | 0 | Kotlin | 0 | 0 | 55fbadc1e504bf134d542f3cd99b5c4ad5c7ccf9 | 2,591 | rules | MIT License |
idea/testData/checker/Bounds2.fir.kt | justknow23 | 353,953,137 | true | null | fun test() {
foo<Int?>()
foo<Int>()
bar<Int?>()
bar<Int>()
bar<Double?>()
bar<Double>()
1.<error descr="[INAPPLICABLE_CANDIDATE] Inapplicable candidate(s): /buzz">buzz</error><Double>()
}
fun <T : Any> foo() {}
fun <T : Int?> bar() {}
fun <T : Int> Int.buzz() : Unit {}
| 0 | null | 0 | 0 | eefb6e94a90c3e3ca84216f608e592bf1f478272 | 299 | kotlin | Apache License 2.0 |
client/slack-spring-api-client/src/test/kotlin/io/olaph/slack/client/spring/group/chat/DefaultUpdateMethodTest.kt | nmchau | 183,535,942 | true | {"Kotlin": 505011} | package io.olaph.slack.client.spring.group.chat
import io.olaph.slack.client.spring.MockServerHelper
import io.olaph.slack.client.spring.Verifier
import io.olaph.slack.client.spring.group.RestTemplateFactory
import io.olaph.slack.dto.jackson.group.chat.ErrorChatUpdateResponse
import io.olaph.slack.dto.jackson.group.ch... | 0 | Kotlin | 0 | 0 | 227983e8f31bf9bc9b0056782328679f4a3409f1 | 1,894 | slack-spring-boot-starter | MIT License |
fontawesome/src/de/msrd0/fontawesome/icons/FA_COPY.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | 1358935395f9254cab27852457e2aa6c58902e16 | 2,185 | fontawesome-kt | Apache License 2.0 |
app/src/main/java/com/suihan74/nedge/models/NotchSetting.kt | suihan74 | 314,771,954 | false | {"Kotlin": 295747} | package com.suihan74.nedge.models
import android.graphics.Rect
import com.suihan74.utilities.serialization.RectSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* 通知表示のノッチ部分の描画設定
*/
@Serializable
sealed class NotchSetting(
/** ノッチの種類 */
@SerialName("notch_type"... | 2 | Kotlin | 0 | 0 | cb85fa289cdd4cae55f3dd2d1f1c7b1e02a59fcb | 2,915 | nEdge | MIT License |
app/src/main/java/com/example/movies/OnListFragmentInteractionListener.kt | hopeDeJesusCodes | 699,382,123 | false | {"Kotlin": 8944} | package com.example.movies
/**
* This interface is used by the [MovieInfo] to ensure
* it has an appropriate Listener.
*
* In this app, it's implemented by [MoviesFragment]
*/
interface OnListFragmentInteractionListener {
fun onItemClick(item: InTheatersMovie)
}
| 0 | Kotlin | 0 | 0 | d0d498c03b9261e86d990e4f5e047a24c40b11e7 | 275 | Movies | Apache License 2.0 |
app/src/main/java/com/example/moviesapp/viewmodels/MainViewModel.kt | vjadhao04 | 620,771,961 | false | {"Kotlin": 56524} | package com.example.moviesapp.viewmodels
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.cachedIn
import com.example.moviesapp.models.MoviesList
import com.example.moviesapp.repository.MoviesRepository
import kotlinx.coroutines.Disp... | 0 | Kotlin | 0 | 2 | 4cdf05c493645d418b1bbbb634175250219203ff | 633 | Find-your-movies-and-shows | MIT License |
app/src/main/java/com/dreamsoftware/fitflextv/domain/usecase/SignOffUseCase.kt | sergio11 | 534,529,261 | false | {"Kotlin": 614049} | package com.dreamsoftware.fitflextv.domain.usecase
import com.dreamsoftware.fitflextv.domain.repository.IUserRepository
import com.dreamsoftware.fudge.core.FudgeTvUseCase
class SignOffUseCase(
private val userRepository: IUserRepository,
): FudgeTvUseCase<Unit>() {
override suspend fun onExecuted() {
... | 0 | Kotlin | 4 | 40 | 98f42de1194e7cbaa6e5507a7cd5feaa6452849e | 352 | fitflextv_android | MIT License |
core/domain/src/test/java/com/jocode/domain/GetSearchItemUseCaseTest.kt | jocode | 675,887,183 | false | null | package com.jocode.domain
import com.example.items_search.SearchRepository
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.mockk
import kotlinx.coroutines.runBlocking
import org.junit.Before
import org.junit.Test
class GetSearchItemUseCaseTest {
private lateinit var searchRepository: SearchRepos... | 0 | Kotlin | 0 | 0 | 44aceed4b47c8d4576bbf43958db3e137a5aab2a | 1,233 | Meli-MobileTest | MIT License |
AndroidApp/app/src/main/java/com/example/weatherapp/client/StationClient.kt | SandorBalazsHU | 550,199,906 | false | {"Kotlin": 80979, "PHP": 50845, "C++": 19149, "Vue": 12199, "TypeScript": 7300, "CSS": 2514, "JavaScript": 440, "HTML": 425} | package com.example.weatherapp.client
import android.os.SystemClock
import android.util.Log
import com.example.weatherapi.data.api.MeasurementsApi
import com.example.weatherapi.data.api.PicturesApi
import com.example.weatherapi.data.api.StationsApi
import com.example.weatherapi.data.entities.ApiResponseEntity
import c... | 3 | Kotlin | 0 | 1 | 1fd8cef6bd1a63417fb0c649126ace6588fa6d24 | 4,800 | elte-ik-msc-weather-cam | MIT License |
core/src/commonMain/kotlin/maryk/core/query/requests/Requests.kt | marykdb | 290,454,412 | false | {"Kotlin": 3039332, "JavaScript": 1004} | package maryk.core.query.requests
import maryk.core.definitions.Operation.Request
import maryk.core.inject.InjectWithReference
import maryk.core.models.serializers.SingleValueDataModelSerializer
import maryk.core.properties.IsPropertyContext
import maryk.core.models.SingleValueDataModel
import maryk.core.properties.de... | 1 | Kotlin | 1 | 8 | 530e0b7f41cc16920b69b7c8adf7b5718733ce2f | 5,667 | maryk | Apache License 2.0 |
app/src/main/java/com/commit451/gitlab/activity/BuildActivity.kt | Commit451 | 39,787,724 | false | null | package com.commit451.gitlab.activity
import android.Manifest
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.view.MenuItem
import android.view.View
import androidx.appcompat.widget.Tool... | 6 | Kotlin | 27 | 248 | 504b5311c00ac2b87ba728d74925c6f46e6c5781 | 6,583 | LabCoat | Apache License 2.0 |
shared/src/commonMain/kotlin/ru/vitaliy/belyaev/wishapp/shared/domain/LinksAdapter.kt | VitaliyBelyaev | 398,851,175 | false | {"Kotlin": 386804, "Swift": 91562, "Ruby": 2345} | package ru.vitaliy.belyaev.wishapp.shared.domain
object LinksAdapter {
private const val LINKS_SEPARATOR = "|"
fun addLinkAndGetAccumulatedString(link: String, currentLinks: List<String>): String {
val newList = currentLinks.toMutableList().apply {
add(link)
}
return newLi... | 1 | Kotlin | 1 | 23 | f034eebfd9adaea16f723b3aeb0825b946beea96 | 812 | WishApp | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/feerelayer/model/SwapData.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.wallet.feerelayer.model
import org.p2p.solanaj.core.PublicKey
import java.math.BigInteger
sealed class SwapData {
data class Direct(
val programId: String,
val accountPubkey: String,
val authorityPubkey: String,
val transferAuthorityPubkey: String,
val sour... | 8 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 803 | key-app-android | MIT License |
compiler/testData/diagnostics/tests/typealias/flexibleTypeExpansion.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // FIR_IDENTICAL
// FILE: J.java
public class J {
public static <T> T id(T t) { return null; }
public static String bar() { return null; }
}
// FILE: main.kt
typealias S = String?
fun foo(x1: S, y1: String?) {
val x2 = J.id(x1) ?: return
val y2 = J.id(y1) ?: return
val t = J.bar() ?: return // St... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 424 | kotlin | Apache License 2.0 |
buildSrc/src/main/kotlin/dependencies/MyDependencies.kt | barakkadev | 715,421,993 | false | {"Kotlin": 50365} | package dependencies
/** Created by github.com/im-o on 12/13/2022. */
object MyDependencies {
// DEFAULT DEPENDENCIES
const val core_ktx = "androidx.core:core-ktx:${Versions.core_ktx_version}"
const val lifecycle_ktx = "androidx.lifecycle:lifecycle-runtime-ktx:${Versions.lifecycle_ktx_version}"
const... | 0 | Kotlin | 0 | 0 | f611a4948ad62a9abeedf5c9db1adb8008ec5cca | 2,645 | gomap-picker-android-compose | MIT License |
comant-site/src/main/kotlin/com/psenchanka/comant/controller/ClassController.kt | kodek16 | 58,888,130 | false | {"Kotlin": 40851, "JavaScript": 17887, "HTML": 10517, "CSS": 1697} | package com.psenchanka.comant.controller
import com.psenchanka.comant.dto.DetailedClassDto
import com.psenchanka.comant.dto.InstructorClassDto
import com.psenchanka.comant.service.ClassService
import io.swagger.annotations.ApiOperation
import io.swagger.annotations.ApiParam
import io.swagger.annotations.ApiResponse
im... | 0 | Kotlin | 0 | 1 | e16af1a6a466b389e3201e4f366661377578412d | 2,031 | comant | MIT License |
bracer/src/main/java/zlc/season/bracer/BundleParams.kt | ssseasonnn | 232,527,137 | false | null | package zlc.season.bracer
import android.os.Bundle
import kotlin.properties.ReadOnlyProperty
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
import kotlin.reflect.KType
class BundleParamsDelegate<T>(
private val bundle: Bundle,
private val customKey: String = "",
private val def... | 1 | Kotlin | 3 | 64 | 4527dfa56b2e9d7479cc58d39ad604f4f3ea262b | 1,212 | Bracer | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.