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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
example/src/main/java/com/magicgoop/tagpshere/example/util/LoremIpsum.kt | magic-goop | 256,971,788 | false | null | package com.magicgoop.tagpshere.example.util
object LoremIpsum {
val list =
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean rutrum mollis interdum. Donec imperdiet condimentum faucibus. Aliquam vel ex pulvinar, consectetur mi ac, scelerisque lorem. Suspendisse sit amet bibendum orci. In qu... | 3 | Kotlin | 42 | 96 | ba1f3c705ff53bb4a9198f9a97e1f04600abb344 | 1,091 | tag-sphere | Apache License 2.0 |
src/main/kotlin/com/github/bpark/companion/classifier/PhraseClassifier.kt | bpark | 93,539,081 | false | null | /*
* Copyright 2017 bpark
*
* 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 wri... | 0 | Kotlin | 0 | 0 | 56a81b36cbebdb3dfb343fd2a37ee4d227a8c4c4 | 1,366 | companion-classification-micro | Apache License 2.0 |
src/main/kotlin/org/ojacquemart/eurobets/firebase/management/group/GroupsUpdater.kt | ojacquemart | 58,000,277 | false | null | package org.ojacquemart.eurobets.firebase.management.group
import org.ojacquemart.eurobets.firebase.Collections
import org.ojacquemart.eurobets.firebase.config.FirebaseRef
import org.ojacquemart.eurobets.firebase.initdb.group.v2.GroupV2Converter
import org.ojacquemart.eurobets.lang.loggerFor
import org.springframework... | 0 | Kotlin | 1 | 1 | 1b5a2bc9568cac6921680369862c04b9617a9438 | 782 | spring-kotlin-euro-bets | The Unlicense |
embrace-android-delivery/src/main/kotlin/io/embrace/android/embracesdk/internal/delivery/intake/IntakeService.kt | embrace-io | 704,537,857 | false | null | package io.embrace.android.embracesdk.internal.delivery.intake
import io.embrace.android.embracesdk.internal.capture.crash.CrashTeardownHandler
import io.embrace.android.embracesdk.internal.delivery.StoredTelemetryMetadata
import io.embrace.android.embracesdk.internal.payload.Envelope
/**
* IntakeService is responsi... | 28 | null | 8 | 134 | 896e9aadf568ba527c76ec66f6f440baed29d1ee | 1,057 | embrace-android-sdk | Apache License 2.0 |
app/src/main/java/org/coepi/android/ui/thanks/ThanksViewModel.kt | Co-Epi | 249,138,523 | false | null | package org.coepi.android.ui.thanks
import androidx.lifecycle.ViewModel
import org.coepi.android.NavGraphRootDirections.Companion.actionGlobalHomeFragment
import org.coepi.android.ui.alerts.AlertsFragmentDirections.Companion.actionGlobalAlerts
import org.coepi.android.ui.navigation.NavigationCommand.ToDestination
impo... | 14 | null | 20 | 32 | 54cffa441d27d18ba33d7719a34dc9b5c9125262 | 874 | app-android | MIT License |
infrastructure/src/main/java/com/cheise_proj/infrastructure/repository/AuthenticationRepositoryImpl.kt | Bik-KrlvnOrg | 303,635,031 | false | null | package com.cheise_proj.infrastructure.repository
import com.cheise_proj.domain.model.Credential
import com.cheise_proj.domain.model.User
import com.cheise_proj.domain.repository.AuthenticationRepository
import com.cheise_proj.infrastructure.local.dao.UserDao
import com.cheise_proj.infrastructure.local.mapper.mapFrom
... | 9 | Kotlin | 0 | 1 | 65c792e180437590bd6dcf2f4ef6b4703141bd9a | 2,139 | SMS_APP | Apache License 2.0 |
fxgl/src/test/kotlin/com/almasb/fxgl/gameplay/GameStateTest.kt | nagyist | 102,149,824 | true | {"YAML": 2, "Maven POM": 4, "Markdown": 7, "Text": 9, "Ignore List": 1, "Kotlin": 196, "Java": 655, "kvlang": 2, "Java Properties": 4, "XML": 14, "CSS": 7, "JavaScript": 5, "Ragel": 1, "JSON": 3} | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.gameplay
import org.hamcrest.CoreMatchers.`is`
import org.junit.Assert.assertThat
import org.junit.Before
import org.junit.Test
/**
*
*
* @author <NAME> (<EMAIL>)
*/... | 0 | Java | 0 | 0 | 5a4d60401f5413c452ae1d365b316f93857faba0 | 2,443 | FXGL | MIT License |
app/src/main/java/com/wisnu/kurniawan/composetodolist/features/dashboard/ui/DashboardViewModel.kt | wisnukurniawan | 409,054,048 | false | {"Kotlin": 699252} | package com.wisnu.kurniawan.composetodolist.features.dashboard.ui
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.ui.graphics.RectangleShape
import androidx.lifecycle.viewModelScope
import com.wisnu.foundation.coreviewmodel.StatefulViewModel
import com.wisnu.kurniawan.composetodolis... | 11 | Kotlin | 39 | 397 | 5285dbd03f2f2f61ca7cdea2caa919885b0ddd8b | 1,344 | Compose-ToDo | Apache License 2.0 |
dynamic-query-grammar/src/test/kotlin/br/com/dillmann/dynamicquery/grammar/converter/GrammarConversionContextUnitTests.kt | lucasdillmann | 766,655,271 | false | {"Kotlin": 291320, "ANTLR": 1360} | package br.com.dillmann.dynamicquery.grammar.converter
import br.com.dillmann.dynamicquery.grammar.tree.TreeNodeType
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
import kotlin.test.assertTrue
/**
* [GrammarConversionCon... | 0 | Kotlin | 0 | 1 | cf3f0c3fd81da87bb6a097b9d219f42264244fd9 | 1,763 | dynamic-query | MIT License |
lib/src/main/kotlin/com/github/harshadnawathe/mars/Plateau.kt | harshadnawathe | 163,165,498 | false | null | package com.github.harshadnawathe.mars
data class Plateau(
val lowerLeft: Location,
val topRight: Location
) {
constructor(topRight: Location) : this(Location(0, 0), topRight)
fun isWithinBounds(location: Location): Boolean {
val xRange = IntRange(lowerLeft.x, topRight.x)
val y... | 0 | Kotlin | 0 | 0 | c154be6baf4f2cb07fec7998af8148b758bddd45 | 443 | mars-rover-kotlin | MIT License |
mobile/src/main/java/com/digitalnature/myopathy_breath_v1/MainActivity.kt | DigitalNatureGroup | 779,141,137 | false | {"Kotlin": 29310} | package com.digitalnature.myopathy_breath_v1
import android.Manifest
import android.annotation.SuppressLint
import android.bluetooth.*
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import andr... | 0 | Kotlin | 0 | 0 | 821ad80e68f0b875fabfdb7e5593bfa177e94188 | 13,854 | Myopathy_android_app | MIT License |
Core/src/main/kotlin/com/github/ezauton/core/record/RecordContext.kt | ezAuton | 140,008,964 | false | null | package com.github.ezauton.core.record
import kotlin.coroutines.AbstractCoroutineContextElement
import kotlin.coroutines.CoroutineContext
class RecordingContext(val recording: RecordingInternalBuilder) : AbstractCoroutineContextElement(RecordingContext) {
companion object Key : CoroutineContext.Key<RecordingContext... | 26 | Kotlin | 3 | 25 | b08c52233b0c492e1b5fa0a4d638b436b5d06605 | 324 | ezAuton | MIT License |
app/src/main/java/com/wastecreative/wastecreative/di/ViewModelFactory.kt | kadabengarann | 493,496,488 | false | null | package com.wastecreative.wastecreative.di
import android.content.Context
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.wastecreative.wastecreative.data.models.preference.UserPreferences
import com.wastecreative.wastecreative.data.repositories.CraftRepository
import com.was... | 0 | Kotlin | 2 | 0 | 1365a3088a0c13b1552d28b6d10d5bdb1273a432 | 3,352 | waste-creative | Apache License 2.0 |
kordx-commands-runtime/src/main/kotlin/com/gitlab/kordlib/kordx/commands/model/module/ModuleBuilder.kt | kordlib | 272,696,252 | false | null | package com.gitlab.kordlib.kordx.commands.model.module
import com.gitlab.kordlib.kordx.commands.internal.CommandsBuilder
import com.gitlab.kordlib.kordx.commands.model.command.Command
import com.gitlab.kordlib.kordx.commands.model.command.CommandBuilder
import com.gitlab.kordlib.kordx.commands.model.command.CommandEve... | 12 | Kotlin | 4 | 21 | 49848297d2b87ad04081f905fc9fa9ca727f1bd6 | 3,590 | kordx.commands | MIT License |
app/src/main/java/com/example/spacebunsadminapp/ui/ProductUpdateFragment.kt | annebelchoong | 541,933,424 | false | {"Kotlin": 130245} | package com.example.spacebunsadminapp.ui
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.result.contract.ActivityResultContracts
import androidx.fragment.app.Fragment
im... | 0 | Kotlin | 0 | 0 | 8333fca727dac3df6e8685a7b1376edaf9bf737b | 3,428 | SpaceBunsAdminApp | MIT License |
app/src/main/java/com/example/chucknoids/network/Joke.kt | F1xM3N0w | 721,161,542 | false | {"Kotlin": 30311} | package com.example.chucknoids.network
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class Joke(
@Json(name = "id")
val id: String,
@Json(name = "value")
val joke: String,
@Json(name = "categories")
val categories: List<String> = emp... | 0 | Kotlin | 0 | 0 | 108f10f40b8377027ff46c15a0653818ddbe99a3 | 867 | R3f4c0rM3N0w | Apache License 2.0 |
src/main/kotlin/com/ingbyr/vdm/engine/utils/EngineType.kt | HeroLikeBee | 143,660,366 | true | {"Kotlin": 61924, "CSS": 17367, "Shell": 129} | package com.ingbyr.vdm.engine.utils
import java.io.Serializable
enum class EngineType : Serializable {
YOUTUBE_DL,
YOU_GET,
NONE
} | 0 | Kotlin | 0 | 0 | c52a8703e989d660a943f19e4bbdc71097975d57 | 144 | VDM | MIT License |
app/src/main/java/com/cactusteam/money/data/io/AccountImportStrategy.kt | miserenkov | 184,610,310 | false | null | package com.cactusteam.money.data.io
import com.cactusteam.money.data.dao.Account
/**
* @author vpotapenko
*/
abstract class AccountImportStrategy {
abstract fun apply(currencyCode: String?): Account
}
| 0 | Kotlin | 2 | 0 | 8350f7e932e0d57496cf9ae2636c6fb8993f9aba | 211 | moneyapp-android-1 | Apache License 2.0 |
projects/numbers_game/android/app/src/main/kotlin/com/example/numbers_game/MainActivity.kt | szy0syz | 431,563,152 | false | {"Dart": 24898, "HTML": 6919, "Swift": 2720, "Kotlin": 404, "Objective-C": 114} | package com.example.numbers_game
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 1 | 1427e5b02ae082220bd60aac105ace22120fceb6 | 129 | flutter_animations_masterclass | MIT License |
app/src/main/java/com/kormax/universalreader/apple/vas/VasPayload.kt | kormax | 813,025,174 | false | {"Kotlin": 134187} | package com.kormax.universalreader.apple.vas
import java.time.LocalDateTime
class VasPayload(
val timestamp: LocalDateTime,
val value: String,
val decryptionAlgorithm: VasDecryptionAlgorithm = VasDecryptionAlgorithm.V1,
) {
override fun toString(): String {
var prefix = "VasPayload(timestamp=... | 0 | Kotlin | 0 | 4 | c4faab5d9aef822e78f2bc8d54fd355410486901 | 534 | android-universal-reader | Apache License 2.0 |
KeyManagerGrpc (1)/src/main/kotlin/com/api/cadastrachavepix/NovaChavePix.kt | 2020nani | 383,815,336 | true | {"Kotlin": 103312, "Smarty": 2032, "Dockerfile": 161} | package com.api.cadastrachavepix
import com.api.servicosexternos.operacoesItau.ContaAssociada
import com.api.compartilhado.ValidPixKey
import com.api.compartilhado.validationscustomizadas.ValidUUID
import io.micronaut.core.annotation.Introspected
import java.util.*
import javax.validation.constraints.NotBlank
import j... | 0 | Kotlin | 0 | 0 | 09b7cea7d634b5b4395dd506f986e4be30e87ad5 | 1,107 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
src/test/kotlin/no/nav/syfo/arbeidsuforhet/kafka/ArbeidsuforhetVurderingConsumerSpek.kt | navikt | 290,982,864 | false | {"Kotlin": 390615, "Dockerfile": 202} | package no.nav.syfo.arbeidsuforhet.kafka
import io.mockk.clearMocks
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import no.nav.syfo.arbeidsuforhet.VurderAvslagService
import no.nav.syfo.database.PersonOppgaveRepository
import no.nav.syfo.personoppgave.domain.*
import no.nav.syfo.personoppgave.get... | 2 | Kotlin | 0 | 0 | 4dabc69fbec09839c593f28dd57b0b4a1ba21aff | 12,997 | ispersonoppgave | MIT License |
src/kotlin-intellij/main/uk/co/reecedunn/intellij/plugin/core/xml/dom/XmlFormatter.kt | rhdunn | 62,201,764 | false | null | /*
* Copyright (C) 2017-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... | 47 | Kotlin | 4 | 25 | d363dad28df1eb17c815a821c87b4f15d2b30343 | 1,228 | xquery-intellij-plugin | Apache License 2.0 |
app/src/main/java/com/github/calo001/nigma/interactor/CurrentSessionInteractor.kt | calo001 | 484,581,978 | false | {"Kotlin": 124886} | package com.github.calo001.nigma.interactor
import com.github.calo001.nigma.repository.RemoteUserRepository
import io.appwrite.models.User
import javax.inject.Inject
class CurrentSessionInteractor @Inject constructor(private val repository: RemoteUserRepository) {
suspend fun currentSession() = repository.getCurr... | 0 | Kotlin | 0 | 2 | 9f90523db55e5b4a72991ed24f1ea5bcc5d36326 | 334 | Nigma | MIT License |
platform/platform-impl/src/com/intellij/ide/FeedbackDescriptionProvider.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide
import com.intellij.openapi.project.Project
/**
* Allows plugins to add additional details, which we want to see pre-populated in the bug reports. The ... | 249 | null | 5023 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 812 | intellij-community | Apache License 2.0 |
app/src/main/java/com/hongbeomi/harrypotter/ui/image/ImageActivity.kt | ridvanozcan | 437,611,170 | false | {"Kotlin": 36827} | package com.hongbeomi.harrypotter.ui.image
import android.app.Activity
import android.content.Intent
import android.graphics.Bitmap
import android.net.Uri
import android.os.Bundle
import com.bumptech.glide.Glide
import com.hongbeomi.harrypotter.R
import com.hongbeomi.harrypotter.base.BaseActivity
import com.hongbeomi.... | 0 | Kotlin | 2 | 8 | 34db65a347ec09d35c057751919abed977f5212b | 1,440 | gryffindor | Apache License 2.0 |
feature/favorites/src/commonMain/kotlin/io/github/droidkaigi/confsched/favorites/section/FavoriteSheet.kt | DroidKaigi | 776,354,672 | false | null | package io.github.droidkaigi.confsched.favorites.section
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import andr... | 71 | null | 201 | 438 | 57c38a76beb5b75edc9220833162e1257f40ac06 | 9,140 | conference-app-2024 | Apache License 2.0 |
impl/java/json-moshi/src/test/kotlin/br/com/guiabolso/events/json/moshi/adapter/JsonNodeAdapterTest.kt | GuiaBolso | 102,665,880 | false | {"Kotlin": 303566} | package br.com.guiabolso.events.json.moshi.br.com.guiabolso.events.json.moshi.adapter
import br.com.guiabolso.events.json.ArrayNode
import br.com.guiabolso.events.json.JsonNull
import br.com.guiabolso.events.json.PrimitiveNode
import br.com.guiabolso.events.json.TreeNode
import br.com.guiabolso.events.json.moshi.adapt... | 4 | Kotlin | 24 | 22 | 7f7c5716da4d046eb60ef9465f6d92534e827b2d | 1,331 | events-protocol | Apache License 2.0 |
src/main/kotlin/com/teamclicker/gameservice/game/workers/AbstractTaskWorker.kt | Humberd | 140,150,771 | false | {"Kotlin": 153182, "Dockerfile": 346} | package com.teamclicker.gameservice.game.workers
import ch.qos.logback.classic.Level
import com.teamclicker.gameservice.extensions.KLogging
import com.teamclicker.gameservice.extensions.round
import java.util.concurrent.TimeUnit
import java.util.concurrent.TimeUnit.MILLISECONDS
import kotlin.math.roundToLong
import ko... | 0 | Kotlin | 0 | 0 | dfe3c64168e1ff62edd1cc93d86d1b85dabc5eeb | 5,126 | TeamClicker-GameService | Apache License 2.0 |
walletlibrary/src/main/java/com/microsoft/walletlibrary/did/sdk/datasource/network/credentialOperations/SendVerifiableCredentialIssuanceRequestNetworkOperation.kt | microsoft | 567,422,889 | false | {"Kotlin": 1390274} | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | 6 | Kotlin | 8 | 20 | b31d71b53baef4e1390a4f85f0c80bba3ae35702 | 3,544 | entra-verifiedid-wallet-library-android | MIT License |
oneone/src/main/java/com/gapps/oneone/models/shared_prefs/SharedPrefEntry.kt | TalbotGooday | 204,948,092 | false | null | package com.gapps.oneone.models.shared_prefs
class SharedPrefEntry {
var key: String = ""
var value: String = ""
var type: String = ""
}
| 0 | Kotlin | 0 | 0 | 9aa549666526e54d4460f9b6086f1b65732fe8fd | 141 | OneOne | Apache License 2.0 |
BackEnd/src/main/kotlin/com/sorbonne/daar/models/Book.kt | MalickLSy | 622,912,085 | false | null | package com.sorbonne.daar.models
import java.io.Serializable
class Book : Serializable {
var id = 0
var title: String? = null
var authors: List<String>? = null
var content: String? = null
var image: String? = null
constructor(id: Int, title: String?, authors: List<String>?, content: String?, ... | 0 | Kotlin | 0 | 0 | b22e9e4f1410a63cf689ed66fa88e0a84a20f2a0 | 493 | search-engine-book | MIT License |
src/test/kotlin/fr/o80/aoc/day15/part2/exercise.kt | olivierperez | 310,899,127 | false | null | package fr.o80.aoc.day15.part2
const val exercise_d15_p2 = "5001791" | 0 | Kotlin | 1 | 2 | a52ea4e58b273a1aec55500802ad210c24257498 | 69 | AdventOfCode-KotlinStarterKit | Apache License 2.0 |
app/src/main/java/com/example/filesizeconverter/MainActivity.kt | cello305 | 700,632,350 | false | {"Kotlin": 2024} | package com.example.filesizeconverter
import android.os.Bundle
import android.view.View
import android.widget.EditText
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
class MainActivity : AppCompatActivity() {
var bitsEntry: EditText? = null
var resultTextView: TextView? = null... | 0 | Kotlin | 0 | 0 | daa6838650d6d531b977798103f961c0099a9be4 | 986 | FileSizeConverter | Apache License 2.0 |
plugins/kotlin/compiler-reference-index/tests/testData/compilerIndex/functions/topLevel/functionWithJvmOverloads/WithoutLast.kt | ingokegel | 72,937,917 | true | null | fun test() {
topLevelFun("i", true, 42)
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 45 | intellij-community | Apache License 2.0 |
contrib/client-sdk/kotlin/src/main/kotlin/org/geoprox/client/models/GeohashNeighborsResponse.kt | ezrasingh | 794,626,289 | false | {"Rust": 71269, "Just": 202} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.geoprox.client.models
import com.s... | 2 | Rust | 0 | 3 | e67e217e58b84f2e1f8e30e0309dd9ea82cd5c21 | 1,179 | geoprox | Apache License 2.0 |
time/src/main/kotlin/xyz/tynn/hoppa/time/MonthDay.kt | tynn-xyz | 280,739,124 | false | null | // Copyright 2021 <NAME>
// SPDX-License-Identifier: Apache-2.0
@file:[JvmMultifileClass JvmName("JavaTimeThreeTenMapper")]
package xyz.tynn.hoppa.time
import java.time.MonthDay
import org.threeten.bp.MonthDay as MonthDayBp
/**
* Converts [MonthDay backport][MonthDayBp] to java time [MonthDay]
*/
public fun Mon... | 0 | Kotlin | 0 | 4 | cf9433e5af1582473b1101aeebca65cfc4dda16f | 561 | Hoppa | Apache License 2.0 |
Extractor/Gradle/plugin/core/src/main/kotlin/net/meilcli/bibliothekar/extractor/plugin/core/entities/xml/IPomXmlParser.kt | MeilCli | 577,465,825 | false | {"Kotlin": 276465, "TypeScript": 28176, "JavaScript": 194} | package net.meilcli.bibliothekar.extractor.plugin.core.entities.xml
import net.meilcli.bibliothekar.extractor.plugin.core.entities.Pom
import java.io.InputStream
interface IPomXmlParser {
fun parse(inputStream: InputStream): Pom
}
| 11 | Kotlin | 0 | 2 | b8a4e67434ff8677fa7baa7ba6dce474c6acf233 | 238 | Bibliothekar | MIT License |
src/test/kotlin/io/andrewohara/awsmock/s3/v2/MockS3V2GetObjectUnitTest.kt | oharaandrew314 | 276,702,915 | false | {"Kotlin": 459818} | package io.andrewohara.awsmock.s3.v2
import io.andrewohara.awsmock.s3.MockS3Backend
import io.andrewohara.awsmock.s3.MockS3V2
import org.assertj.core.api.Assertions.*
import org.junit.jupiter.api.Test
import software.amazon.awssdk.core.sync.ResponseTransformer
import software.amazon.awssdk.services.s3.model.GetObjectR... | 0 | Kotlin | 1 | 5 | abd135f64f0f6e5fdfce8ae8a30f0d8dd9166751 | 1,827 | mock-aws-java-sdk | Apache License 2.0 |
Android/app/src/main/java/com/app/myfoottrip/ui/adapter/PlaceAdapter.kt | luminaries1 | 603,655,369 | false | null | package com.app.myfoottrip.ui.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.app.myfoottrip.R
import com.app.myfoottrip.model.Place
import com.app.myfoottrip.util.TimeUtils
pri... | 0 | Kotlin | 0 | 0 | 8d9b073788d2313897e0dfada8cd736363a3956e | 1,940 | mirrorofmyfoottrip | MIT License |
markdown4k/src/test/kotlin/com/github/christophpickl/kpotpourri/markdown4k/test_infra.kt | christophpickl | 83,411,497 | false | null | package com.github.christophpickl.kpotpourri.markdown4k
import com.github.christophpickl.kpotpourri.test4k.hamkrest_matcher.anyOf
import com.github.christophpickl.kpotpourri.test4k.hamkrest_matcher.isA
import com.natpryce.hamkrest.assertion.assertThat
import java.io.File
import kotlin.reflect.KClass
@Suppress("unused... | 0 | Kotlin | 0 | 4 | eb6ad4d00be86ce88417d32dcb49370a632a9c1e | 1,262 | kpotpourri | Apache License 2.0 |
src/infra/db/src/main/kotlin/kiit/db/builders/DbBuilder.kt | slatekit | 55,942,000 | false | {"Text": 42, "Ignore List": 42, "YAML": 3, "Markdown": 22, "Gradle": 79, "Shell": 46, "Batchfile": 40, "Java Properties": 25, "Kotlin": 884, "JSON": 12, "INI": 9, "EditorConfig": 26, "Java": 13, "SQL": 1, "XML": 4, "Swift": 3} | /**
<kiit_header>
url: www.slatekit.com
git: www.github.com/slatekit/kiit
org: www.codehelix.co
author: <NAME>
copyright: 2016 CodeHelix Solutions Inc.
license: refer to website and/or github
about: A Kotlin utility library, tool-kit and server backend.
</kiit_header>
*/
package kiit.db.builders
import kiit.common... | 3 | Kotlin | 13 | 112 | d17b592aeb28c5eb837d894e98492c69c4697862 | 1,022 | slatekit | Apache License 2.0 |
data/src/main/kotlin/ru/bykov/footballteams/database/model/TeamEntity.kt | grine4ka | 419,372,892 | false | null | package ru.bykov.footballteams.database.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
/**
* Defines a team
*/
@Entity(tableName = "teams")
data class TeamEntity(
@PrimaryKey
val id: Int,
val name: String,
@ColumnInfo(defaultValue = "")
val logo... | 6 | Kotlin | 0 | 0 | bdcb8a7a4245fb98b9a21d36b6d2f4716fc3f5cb | 491 | footea | MIT License |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/api/forum/CloseForumTopic.kt | vendelieu | 496,567,172 | false | null | @file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.forum
import eu.vendeli.tgbot.interfaces.SimpleAction
import eu.vendeli.tgbot.types.internal.TgMethod
/**
* Use this method to close an open topic in a forum supergroup chat.
* The bot must be an administrator in the chat for this to work and m... | 0 | Kotlin | 2 | 70 | e35d51216afdd5748d6ee9ac8fce4aca6539f241 | 1,081 | telegram-bot | Apache License 2.0 |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/api/forum/CloseForumTopic.kt | vendelieu | 496,567,172 | false | null | @file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.forum
import eu.vendeli.tgbot.interfaces.SimpleAction
import eu.vendeli.tgbot.types.internal.TgMethod
/**
* Use this method to close an open topic in a forum supergroup chat.
* The bot must be an administrator in the chat for this to work and m... | 0 | Kotlin | 2 | 70 | e35d51216afdd5748d6ee9ac8fce4aca6539f241 | 1,081 | telegram-bot | Apache License 2.0 |
plugins/korge-gradle-plugin/src/main/kotlin/com/soywiz/korge/gradle/util/ExecExt.kt | phyrian | 209,852,647 | true | {"Kotlin": 1916584, "Java": 182026, "ActionScript": 7114, "HTML": 2081, "Shell": 1849, "Batchfile": 1483} | package com.soywiz.korge.gradle.util
import org.apache.tools.ant.taskdefs.condition.*
import org.gradle.api.*
import org.gradle.process.*
import java.io.*
fun ExecSpec.commandLineCompat(vararg args: String): ExecSpec {
return when {
Os.isFamily(Os.FAMILY_WINDOWS) -> commandLine("cmd", "/c", *args)
else -> comman... | 0 | null | 0 | 0 | 8d095cdcceb4fab34ef365777123823b66f76aea | 531 | korge | Apache License 2.0 |
providers/aws/src/test/kotlin/datagen/services/ec2/model/TransitGatewayOptionsGenerator.kt | efoncubierta | 259,448,965 | false | null | /*-
* #%L
* CloudSpec AWS Provider
* %%
* Copyright (C) 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
*
* Un... | 3 | Kotlin | 2 | 26 | edabff96392cdb1f0d55b3a9c57ae5c433c7be69 | 2,067 | cloudspec | Apache License 2.0 |
data/src/main/java/com/lighthouse/android/data/repository/BoardRepositoryImpl.kt | soma-lighthouse | 658,620,687 | false | null | package com.lighthouse.android.data.repository
import android.util.Log
import com.lighthouse.android.data.model.request.UploadQuestionDTO
import com.lighthouse.android.data.repository.datasource.BoardRemoteDataSource
import com.lighthouse.domain.constriant.Resource
import com.lighthouse.domain.entity.request.UploadQue... | 3 | Kotlin | 0 | 0 | be614af85c7e21bd36131faf8bfab4bcebdad108 | 2,505 | FE-lingo-swap | Apache License 2.0 |
modules/core/test/com/haulmont/addon/datagen/entity/TestStringEnum.kt | web-devel | 214,031,316 | false | null | package com.haulmont.addon.datagen.entity
import com.haulmont.chile.core.datatypes.impl.EnumClass
enum class TestStringEnum(private val id: String) : EnumClass<String> {
VAL1("VAL1"),
VAL2("VAL2"),
VAL3("VAL3");
override fun getId() = id
companion object {
@JvmStatic
fun fromId(... | 7 | null | 1 | 4 | 38d6315721205579924c06d1bd7b7cef295d1706 | 404 | cuba-component-data-generator | Apache License 2.0 |
core/src/main/kotlin/com/muellermoritz/days/day5/SeatingDecoderImpl.kt | mj-mueller | 317,938,486 | false | null | package com.muellermoritz.days.day5
import mu.KotlinLogging
private val logger = KotlinLogging.logger {}
class SeatingDecoderImpl : SeatingDecoder {
override fun getSeat(seatCode: String): Seat {
val match = validateSeatCode(seatCode)
return Seat(getRow(match.groupValues[1]), getColumn(match.gro... | 0 | Kotlin | 0 | 0 | 4b3db01810afdd47a6915a092730be123bbe3d47 | 2,922 | adventofcode | MIT License |
app/src/main/java/com/example/newsapp/MainActivity.kt | enesulkerr | 652,027,880 | false | null | package com.example.newsapp
import ProductAdapter
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.ListView
import com.example.newsapp.models.Product
import com.example.newsapp.service.XmlResult
class MainActivity : Ap... | 0 | Kotlin | 0 | 0 | 4440afaae6d129ef165b5b1df6f4d68dfa0a1257 | 1,586 | NewsApp | MIT License |
arrow-inject-compiler-plugin/src/main/kotlin/arrow/inject/compiler/plugin/ir/ProofsIrArgumentsCodegen.kt | arrow-kt | 471,344,439 | false | null | package arrow.inject.compiler.plugin.ir
import arrow.inject.compiler.plugin.fir.resolution.resolver.ProofCache
import arrow.inject.compiler.plugin.model.Proof
import arrow.inject.compiler.plugin.model.ProofAnnotationsFqName
import arrow.inject.compiler.plugin.model.ProofAnnotationsFqName.CompileTimeAnnotation
import a... | 13 | Kotlin | 2 | 9 | f2d62a93fa18fc7f2944687642c8ad01a0d23bf5 | 10,685 | arrow-proofs | Apache License 2.0 |
jtextadventure-awt/src/main/java/ro/dobrescuandrei/jtextadventure/awt/AWTConsoleEmulator.kt | andob | 238,633,448 | false | null | package ro.dobrescuandrei.jtextadventure.awt
import ro.dobrescuandrei.jtextadventure.IConsoleEmulator
import java.awt.EventQueue
import java.util.concurrent.LinkedBlockingQueue
class AWTConsoleEmulator
(
@JvmField
val consoleView : TextAdventureConsoleView
) : IConsoleEmulator
{
private val stdin = Linked... | 0 | Kotlin | 0 | 0 | 53eb6b06acb9c97d2f9b1f08d3e42522966982c8 | 1,577 | JTextAdventure | Apache License 2.0 |
app/src/main/java/rs/smobile/universe/ui/screen/common/LoadingScreen.kt | stevan-milovanovic | 792,437,417 | false | {"Kotlin": 44634} | package rs.smobile.universe.ui.screen.common
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.width
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.material3.MaterialTheme
import androidx.co... | 0 | Kotlin | 0 | 0 | 9674e7fd63051361ad8d501a2029ef75386c57d5 | 1,048 | Universe | Apache License 2.0 |
src/main/kotlin/glsl/plugin/language/GlslIFileElementType.kt | walt-grace | 529,402,279 | false | {"GLSL": 240725, "Kotlin": 195223, "HTML": 102021, "Lex": 65452, "Java": 50510, "JavaScript": 668} | package glsl.plugin.language
import com.intellij.lang.ASTNode
import com.intellij.lang.impl.PsiBuilderImpl
import com.intellij.psi.PsiElement
import com.intellij.psi.tree.IFileElementType
/**
*
*/
class GlslIFileElementType : IFileElementType(GlslLanguage.INSTANCE) {
override fun doParseContents(chameleon: ASTN... | 4 | GLSL | 10 | 31 | ccf570f25a39d030c48b39ea0997b646e3ba2846 | 685 | glsl-plugin-idea | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/hardware/subsystem/rework/deposit/commands/FlipDeposit.kt | schsdrobotics | 692,215,615 | false | {"Kotlin": 133220, "Java": 120870} | package org.firstinspires.ftc.teamcode.hardware.subsystem.rework.deposit.commands
import org.firstinspires.ftc.teamcode.hardware.subsystem.rework.deposit.Deposit
open class FlipDeposit(angle: Double, deposit: Deposit, shouldCheck: Boolean) : MoveDeposit(Deposit.State(angle, 0.0), deposit, shouldCheck) | 0 | Kotlin | 0 | 0 | efd861db1e758d24f358e2484543f919063668c1 | 304 | centerstage | BSD 3-Clause Clear License |
common/src/commonMain/kotlin/com/artemchep/keyguard/common/io/IOLaunchIn.kt | AChep | 669,697,660 | false | {"Kotlin": 5516822, "HTML": 45876} | package com.artemchep.keyguard.common.io
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
fun <T> IO<T>.launchIn(scope: CoroutineScope) = scope.launch { bind() }
| 66 | Kotlin | 31 | 995 | 557bf42372ebb19007e3a8871e3f7cb8a7e50739 | 189 | keyguard-app | Linux Kernel Variant of OpenIB.org license |
app/src/main/java/com/agusyc/daycounter/CustomTextInputLayout.kt | Agusyc | 96,165,597 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 37, "Java": 1, "Kotlin": 14} | package com.agusyc.daycounter
import android.content.Context
import android.content.res.ColorStateList
import android.os.Build
import android.support.design.widget.TextInputLayout
import android.support.v4.view.ViewCompat
import android.support.v4.view.ViewPropertyAnimatorListenerAdapter
import android.support.v4.view... | 1 | null | 1 | 1 | 9d952b2b2850fcc09230f7cad8820e394e62d87f | 5,179 | DayCounter | MIT License |
zircon.jvm.libgdx/src/main/kotlin/org/hexworks/zircon/internal/renderer/LibgdxRenderer.kt | objectprogr | 154,666,259 | true | {"Kotlin": 1098906, "Java": 108146, "HTML": 69778, "CSS": 1525} | package org.hexworks.zircon.internal.renderer
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.GL20
import com.badlogic.gdx.graphics.g2d.SpriteBatch
import org.hexworks.zircon.api.data.impl.PixelPosition
import org.hexworks.zircon.api.data.Snapshot
import org.hexworks.zircon.api.grid.TileGrid
import org.he... | 0 | Kotlin | 0 | 0 | 0bbb69a50717e9eed12fb991b189fc8470261eba | 2,367 | zircon | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/pecs/jpc/domain/price/Money.kt | ministryofjustice | 292,861,912 | false | null | package uk.gov.justice.digital.hmpps.pecs.jpc.domain.price
import java.math.BigDecimal
import java.math.RoundingMode
/**
* Simple value object to encapsulate a monetary amount in pence. Zero or less are not allowed.
*/
data class Money(val pence: Int) {
init {
if (pence < 0) throw IllegalArgumentException("m... | 1 | Kotlin | 2 | 3 | fe19b13bbccc99d14ac70cfb1e3dfb017b62c87e | 1,096 | calculate-journey-variable-payments | MIT License |
src/test/kotlin/spready/lisp/TokenizerTest.kt | r0m4n27 | 358,370,207 | false | null | package spready.lisp
import kotlin.test.Test
import kotlin.test.assertEquals
class TokenizerTest {
@Test
fun `tokenize empty String`() {
assertEquals(listOf(), tokenize(""))
}
@Test
fun `tokenize normal`() {
val input = "(1 2 3)"
val expected = listOf(
Token(To... | 0 | Kotlin | 0 | 0 | fed5ea84ea671ef0b1bc9845b973da93468828b0 | 3,578 | spready | MIT License |
app/src/main/java/io/github/coffeegerm/betterbarista/ui/children/drinks/DrinksViewModel.kt | Coffeegerm | 108,016,119 | false | null | /*
* Copyright 2017 Coffee and Cream Studios
*
* 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 ... | 1 | Kotlin | 1 | 1 | 4d1a98616d88a9b65aa0d4d4b7467717f78bff1e | 1,300 | BetterBarista | Apache License 2.0 |
app/src/main/kotlin/com/kentoapps/ministagram/util/BindingAdapters.kt | kentoapps | 135,547,461 | false | null | package com.kentoapps.ministagram.util
import android.databinding.BindingAdapter
import android.net.Uri
import android.widget.ImageView
import com.squareup.picasso.Picasso
object BindingAdapters {
@JvmStatic
@BindingAdapter("image")
fun setImage(imageView: ImageView, url: String?) {
if (url != nul... | 0 | Kotlin | 7 | 18 | a40602027fbeb51d50362f21b49fef115c7d50b8 | 513 | Ministagram | Apache License 2.0 |
libraries/csm.cloud.project.avro/src/test/kotlin/com/bosch/pt/csm/cloud/projectmanagement/project/event/BatchOperationFinishedEventGenerator.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2022
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.projectmanagement.project.event
import com.bosch.pt.csm.cloud.co... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,985 | bosch-pt-refinemysite-backend | Apache License 2.0 |
sdk/src/main/java/com/localehub/sdk/LocaleHubSdk.kt | locale-hub | 383,744,946 | false | null | package com.localehub.sdk
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.localehub.sdk.data.enums.Culture
import com.localehub.sdk.data.models.CultureManifest
import com.localehub.sdk.datasources.IDataSource
import com.localehub.sdk.datasources.NullDataSource
import com.localeh... | 0 | Kotlin | 0 | 2 | f7adeac45da6d7b3e0a2ff9084fdb8cb9c787796 | 1,503 | sdk-android | MIT License |
src/main/kotlin/eu/symmetrysought/gothbuzz/Models.kt | jdw | 758,585,530 | false | {"Kotlin": 35019, "HTML": 6781, "JavaScript": 2585, "CSS": 2297} | package eu.symmetrysought.gothbuzz
import io.micronaut.core.annotation.Introspected
enum class Status {
VERIFIED, UNVERIFIED
}
data class Signup(val email: String, val status: Status, val code: String)
enum class ReturnCode {
BAD_EMAIL, ALL_OK, NOT_NEW_EMAIL, MAILSEND_ERROR
}
| 0 | Kotlin | 1 | 1 | 6f810a80756964396d15d1b1c73387a7d8a98aa3 | 289 | gothbuzz-signup | The Unlicense |
src/main/kotlin/com/github/tyrrx/vb6language/psi/tree/definition/blockStmt/VB6RmdirStmt.kt | bluehands | 511,430,044 | false | {"Java": 1027191, "Kotlin": 319653, "ANTLR": 31013} | package com.github.tyrrx.vb6language.psi.tree.definition.blockStmt
import com.github.tyrrx.vb6language.language.IPsiNodeFactory
import com.github.tyrrx.vb6language.psi.tree.definition.VB6PsiElement
import com.github.tyrrx.vb6language.psi.tree.definition.VB6PsiNode
import com.intellij.lang.ASTNode
interface VB6RmdirS... | 1 | null | 1 | 1 | 1a742a07d78681a5bd11787a38c72c68cddd7f77 | 601 | IntelliJ-VB6-language-support | MIT License |
fxgl/src/main/kotlin/com/almasb/fxgl/io/UIDialogHandler.kt | dmitrykolesnikovich | 94,932,583 | true | {"YAML": 2, "Maven POM": 4, "Markdown": 7, "Text": 9, "Ignore List": 1, "Kotlin": 196, "Java": 655, "kvlang": 2, "Java Properties": 4, "XML": 14, "CSS": 7, "JavaScript": 5, "Ragel": 1, "JSON": 3} | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.io
/**
*
*
* @author <NAME> (<EMAIL>)
*/
interface UIDialogHandler {
fun show()
fun dismiss()
} | 0 | Java | 0 | 0 | 5a4d60401f5413c452ae1d365b316f93857faba0 | 259 | FXGL | MIT License |
src/main/kotlin/com/github/kotlinz/kotlinz/data/monoid/AllMonoid.kt | kotlinz | 60,540,718 | false | null | package com.github.kotlinz.kotlinz.data.monoid
import com.github.kotlinz.kotlinz.type.group.Monoid
data class AllMonoid(val value: Boolean) : Monoid<Boolean, AllMonoid> {
constructor(): this(true)
override fun op(a: AllMonoid, b: AllMonoid) = (a.value && b.value).toAllMonoid()
override fun mzero() = true... | 0 | Kotlin | 5 | 46 | 14f4e8f26778b9b609cdcb9e52fca7bb272dcdbf | 381 | kotlinz | Apache License 2.0 |
uni-core/src/main/kotlin/com/github/cf/discord/uni/commands/Play.kt | CFTheMaster | 180,089,535 | false | null | /*
* Copyright (C) 2017-2021 computerfreaker
*
* 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... | 0 | Kotlin | 0 | 6 | 2991c26ffe416aa48ffd978153c866849c6462a7 | 6,920 | Unibot | Apache License 2.0 |
login/src/main/java/com/pomodorotime/login/LoginViewModel.kt | RoberMiranda92 | 283,567,928 | false | null | package com.pomodorotime.login
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.pomodorotime.core.BaseViewModel
import com.pomodorotime.core.Event
import com.pomodorotime.core.IdlingResourcesSync
import com.pomodorotime.core.SnackBarrError
import com.pomodorotime.domain.login.use... | 1 | Kotlin | 0 | 0 | 07e77f018db930b50b1695d0d79debdc373f39e7 | 4,892 | PomodoroTime | Apache License 2.0 |
src/main/kotlin/org/jetbrains/research/groups/ml_methods/code_completion_benchmark/ngram/sequencer/NGramSequencer.kt | ai4dev | 273,379,107 | false | {"Kotlin": 66274, "Java": 24055} | package org.jetbrains.research.groups.ml_methods.code_completion_benchmark.ngram.sequencer
import java.util.*
import kotlin.math.max
import kotlin.math.min
object NGramSequencer {
fun sequenceForward(tokens: List<Int>, maxOrder: Int): List<List<Int>> {
val result = ArrayList<List<Int>>()
for (sta... | 0 | null | 0 | 0 | c038bb831780ed096de6087e65a69c770285a5e4 | 1,019 | code-completion-benchmark-plugin | MIT License |
app/src/gms/java/video/ExoManager.kt | Onurcan-Keskin | 326,624,847 | false | null | package video
import android.content.Context
import android.net.Uri
import com.google.android.exoplayer2.*
import com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
import com.google.android.exoplayer2.source.ExtractorMediaSource
import com.google.android.exoplayer2.source.MediaSource
import com.google.a... | 0 | Kotlin | 0 | 0 | a5eb3fa28815e3a6ef37b704c05584935088ceae | 7,274 | exovideo | Apache License 2.0 |
app/src/main/java/eput/android/ui/widgets/StringPreference.kt | ni9l | 495,534,282 | false | null | package eput.android.ui.widgets
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.ViewGroup
import android.view.inputmethod.EditorInfo
import android.widget.TextView
import com.google.android.material.textfield.TextInputEditText
import eput.android.R... | 0 | Kotlin | 0 | 0 | 8b47fc09309dccbde9dd1ca968223b6c671f31c2 | 3,995 | eput-android | MIT License |
src/Day21Test.kt | matusekma | 572,617,724 | false | {"Kotlin": 119912, "JavaScript": 2024} | import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
internal class Day21Test {
private val day21 = Day21()
private val testInput = readInput("Day21_test")
@Nested
inner class Part1 {
@Test
fun `check example input... | 0 | Kotlin | 0 | 0 | 744392a4d262112fe2d7819ffb6d5bde70b6d16a | 399 | advent-of-code | Apache License 2.0 |
app/src/main/java/ru/rshbdigital/farmhub/core/database/converter/TrailingUnitConverter.kt | MaksimZotov | 720,237,303 | false | {"Kotlin": 4780} | package ru.rshbdigital.farmhub.core.database.converter
import androidx.room.TypeConverter
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import ru.rshbdigital.farmhub.core.model.TrailingUnit
class TrailingUnitConverter {
@TypeConverter
fun toTrailingUnit(value: String): TrailingUnit {
... | 0 | Kotlin | 0 | 0 | 9d84d35989f288c30980dffa6e3fc62cd2fc6cdf | 560 | FarmHub | MIT License |
app/src/main/java/com/sxiaozhi/fragment/ui/science/ScienceFragment.kt | imifeng | 727,622,187 | false | {"Kotlin": 79917} | package com.sxiaozhi.fragment.ui.science
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.appcompat.widget.Toolbar
import androidx.fragment.app.viewModels
import com.sxiaozhi.fragment.core.base.BaseFragment... | 0 | Kotlin | 0 | 1 | 55867cbbb59da53135a1b73c4c3548e10f589a39 | 1,354 | MVVM-Project-Navigation | Apache License 2.0 |
src/test/kotlin/io/github/verissimor/lib/r2dbcmagicfilter/R2dbcMagicFilterNotEqualTest.kt | verissimor | 444,221,850 | false | {"Kotlin": 117200} | package io.github.verissimor.lib.r2dbcmagicfilter
import io.github.verissimor.lib.r2dbcmagicfilter.domain.ReactiveUser
import io.github.verissimor.lib.r2dbcmagicfilter.domain.toMultiMap
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import java.time.Instant
class R2dbcMagicFilterN... | 0 | Kotlin | 0 | 4 | 17d18b52f8620e7efdceb9f502342822e057fd26 | 2,301 | jpa-magic-filter | Apache License 2.0 |
src/main/kotlin/org/edudev/arch/services/ReadOnlyService.kt | Duduxs | 360,320,691 | false | null | package org.edudev.arch.services
import org.edudev.arch.domain.DomainEntity
import org.edudev.arch.domain.NoArg
import org.edudev.arch.domain.Page
import org.edudev.arch.domain.Sort
import org.edudev.arch.dtos.EntityDTOMapper
import org.edudev.arch.exceptions.BadRequestHttpException
import org.edudev.arch.exceptions.N... | 0 | Kotlin | 1 | 1 | 811a977f0059ba5fba2f022441bfc56834c6d9d6 | 1,958 | auth-api | MIT License |
src/test/kotlin/org/domaindrivenarchitecture/provs/framework/core/processors/LocalProcessorTest.kt | DomainDrivenArchitecture | 671,424,521 | false | {"Kotlin": 393825, "Shell": 38541, "Python": 3681, "Vim Script": 457, "Dockerfile": 338} | package org.domaindrivenarchitecture.provs.framework.core.processors
import org.domaindrivenarchitecture.provs.framework.core.Prov
import org.domaindrivenarchitecture.provs.framework.core.escapeAndEncloseByDoubleQuoteForShell
import org.domaindrivenarchitecture.provs.framework.core.escapeProcentForPrintf
import org.do... | 0 | Kotlin | 0 | 1 | b8b7091ec262c0aec6b261972965aeaf490983dc | 2,050 | provs | Apache License 2.0 |
src/main/kotlin/me/mattco/serenityos/idl/annotation/IDLErrorAnnotator.kt | mattco98 | 714,721,378 | false | {"Kotlin": 141346, "Lex": 6069} | package me.mattco.serenityos.idl.annotation
import ai.grazie.utils.dropPrefix
import com.intellij.psi.PsiComment
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiWhiteSpace
import me.mattco.serenityos.common.DSLAnnotator
import me.mattco.serenityos.common.prevSiblings
import me.mattco.serenityos.idl.psi.I... | 0 | Kotlin | 1 | 0 | 3db561f6ec022419cea76774b78e0a4f16c0c032 | 1,574 | SerenityOS-DSL-Plugin | MIT License |
gen_src/fedpro/call/ConnectWithCredentialsRequest.kt | Pitch-Technologies | 690,640,598 | false | {"Kotlin": 2806487} | // Code generated by Wire protocol buffer compiler, do not edit.
// Source: fedpro.ConnectWithCredentialsRequest in RtiAmbassador.proto
package fedpro.call
import com.squareup.wire.FieldEncoding
import com.squareup.wire.Message
import com.squareup.wire.ProtoAdapter
import com.squareup.wire.ProtoReader
import com.squar... | 0 | Kotlin | 0 | 1 | ef5fb6caba03cf2dfb0c6f969f0d319ae91901d2 | 4,413 | KotlinChat | Apache License 2.0 |
app/src/main/java/com/example/realtimelocation/data/location/CarLocationRepository.kt | ehsunshine | 793,384,665 | false | {"Kotlin": 43195} | package com.example.realtimelocation.data.location
import android.location.Location
import android.net.Uri
import com.google.gson.stream.JsonReader
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flowOf
internal class CarLocationRepository(
serverAddress: Uri,
) {
fun get(): Flow<Location>... | 0 | Kotlin | 1 | 16 | 0c3f2514295baa30a6340b62bfb5a6fbe060ea6a | 335 | real-time-location | MIT License |
app/src/main/kotlin/com/trevorhalvorson/ping/builder/BuilderResponse.kt | trevorhalvorson | 102,184,034 | false | null | package com.trevorhalvorson.ping.builder
class BuilderResponse | 2 | Kotlin | 0 | 0 | fea2a9c23f50121efdfc15146956293c64cfd43f | 63 | ping-android | MIT License |
android/app/src/main/java/bg/crc/roamingapp/constant/ErrorHandler.kt | nelivanova | 443,035,318 | true | {"Kotlin": 308009, "Java": 259847, "TypeScript": 200185, "HTML": 95111, "JavaScript": 74716, "CSS": 4924, "PLpgSQL": 4314} | package bg.crc.roamingapp.constant
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.widget.Toast
import bg.crc.roamingapp.R
import bg.crc.roamingapp.activity.LoginTypeActivity
import bg.crc.roamingapp.dialog.CustomDialog
import kotlin.math.log
/**
* This object ... | 0 | null | 0 | 0 | afba722d8d25d2cd6bd1806378bc06a19b2c4c73 | 3,817 | crc-roaming | Apache License 2.0 |
app/practice/src/main/java/com/practice/base/BaseFragment.kt | KimBoWoon | 519,954,177 | false | null | package com.practice.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.CallSuper
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.... | 0 | Kotlin | 0 | 0 | 65f3ec8e16aa1603182595cea12b31ae534d922d | 972 | CleanArchitecture | MIT License |
kzmq-engine-zeromqjs/src/jsMain/kotlin/org/zeromq/ZeroMQJsReplySocket.kt | ptitjes | 386,722,015 | false | {"Kotlin": 332545} | /*
* Copyright (c) 2021-2024 <NAME> and Kzmq contributors.
* Use of this source code is governed by the Apache 2.0 license.
*/
package org.zeromq
import kotlinx.io.bytestring.*
import org.zeromq.internal.zeromqjs.Reply as ZReply
internal class ZeroMQJsReplySocket internal constructor(
override val underlying:... | 21 | Kotlin | 1 | 16 | 6ed177d7e3859fda0c17ffdcd1e43b2d51a4cf1c | 597 | kzmq | Apache License 2.0 |
src/main/kotlin/me/dominaezzz/chitchat/main.kt | Dominaezzz | 342,052,724 | false | null | package me.dominaezzz.chitchat
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.*
import kotlinx.cli.ArgParser
import kotlinx.cli.ArgType
import kotlinx.coroutines.runBlo... | 0 | Kotlin | 0 | 12 | 23ff3f3a3b17db7514ea45f9a8fea9c8b421545b | 1,540 | ChitChat | Apache License 2.0 |
feature-currency-api/src/main/java/io/novafoundation/nova/feature_currency_api/domain/CurrencyCategory.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7668451, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_currency_api.domain
enum class CurrencyCategory {
FIAT, FIAT_POPULAR, CRYPTO
}
| 11 | Kotlin | 6 | 9 | b39307cb56302ce7298582dbd03f33f6b2e2a807 | 123 | nova-wallet-android | Apache License 2.0 |
library/src/main/java/com/ftinc/kit/util/Utils.kt | 52inc | 31,801,919 | false | null | /*
* Copyright (c) 2019 52inc.
*
* 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... | 1 | Kotlin | 5 | 19 | b2a393fc21e84098cc61e77f288d90d97901e2f4 | 1,019 | android-52Kit | Apache License 2.0 |
app/src/main/java/com/crrl/beatplayer/repository/ArtistsRepository.kt | veloz17 | 258,238,372 | true | {"Kotlin": 271026, "Java": 9893} | /*
* Copyright (c) 2020. <NAME>. 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 a... | 0 | null | 0 | 0 | bc3d94fce14b7205ea9d90aa2d6cbab7b43866af | 5,540 | BeatPlayer | Apache License 2.0 |
app/src/main/java/org/stepik/android/view/download/ui/adapter/DownloadedCoursesAdapterDelegate.kt | okornoe | 290,391,404 | true | {"Kotlin": 2911608, "Java": 1008418, "CSS": 5370, "Shell": 618, "Prolog": 98} | package org.stepik.android.view.download.ui.adapter
import android.graphics.BitmapFactory
import android.view.View
import android.view.ViewGroup
import androidx.core.graphics.drawable.RoundedBitmapDrawableFactory
import com.bumptech.glide.Glide
import com.bumptech.glide.request.target.BitmapImageViewTarget
import kotl... | 0 | null | 0 | 0 | 31fe4df6c9dae437032546a3a7da8520fe29dd7f | 2,921 | stepik-android | Apache License 2.0 |
app/src/main/java/org/haidy/servify/app/theme/Color.kt | HaidyAbuGom3a | 805,534,454 | false | {"Kotlin": 702248} | package org.haidy.servify.app.theme
import androidx.compose.ui.graphics.Color
data class Colors(
val primary100: Color,
val primary200: Color,
val primary300: Color,
val accent100: Color,
val accent200: Color,
val accent300: Color,
val success100: Color,
val success200: Color,
val ... | 0 | Kotlin | 0 | 2 | 8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee | 2,850 | Servify | Apache License 2.0 |
maps-kt-compose/src/jvmTest/kotlin/space/kscience/maps/compose/OsmTileProviderTest.kt | SciProgCentre | 514,287,233 | false | {"Kotlin": 263130} | package space.kscience.maps.compose
import io.ktor.client.HttpClient
import io.ktor.client.engine.cio.CIO
import kotlinx.coroutines.supervisorScope
import kotlinx.coroutines.test.runTest
import org.junit.jupiter.api.Test
import java.nio.file.Files
import kotlin.test.assertFails
class OsmTileProviderTest {
// @get:... | 5 | Kotlin | 3 | 57 | 100d89a34cf85fd4a48ff92ae268ecdfdbc6ccd8 | 1,144 | maps-kt | Apache License 2.0 |
app/src/main/java/com/bernaferrari/sdkmonitor/MainApplication.kt | glovebx | 331,607,855 | true | {"Kotlin": 174636, "Java": 9630} | package com.bernaferrari.sdkmonitor
import android.app.Application
import com.airbnb.mvrx.Mavericks
import com.facebook.stetho.Stetho
import com.orhanobut.logger.AndroidLogAdapter
import com.orhanobut.logger.Logger
import com.squareup.leakcanary.LeakCanary
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
cla... | 0 | Kotlin | 0 | 0 | e2769b36e9e20ce22aee5f8af892c543a4b8f7df | 2,108 | SDKMonitor | Apache License 2.0 |
identity-management/idm-adapter-output-spring-data-jpa/src/main/kotlin/eu/tib/orkg/prototype/auth/adapter/output/jpa/spring/JpaUserAdapter.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 2439902, "Cypher": 212135, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240} | package eu.tib.orkg.prototype.auth.adapter.output.jpa.spring
import eu.tib.orkg.prototype.auth.adapter.output.jpa.spring.internal.JpaRoleRepository
import eu.tib.orkg.prototype.auth.adapter.output.jpa.spring.internal.JpaUserRepository
import eu.tib.orkg.prototype.auth.adapter.output.jpa.spring.internal.UserEntity
impo... | 0 | Kotlin | 2 | 5 | f96c2c41a6e2b1da63a9d93973602573b596ed0d | 1,753 | orkg-backend | MIT License |
workflow_api/src/main/java/ru/flowernetes/workflow/api/domain/entity/NoSuchWorkflowException.kt | b1nd | 252,335,785 | false | null | package ru.flowernetes.workflow.api.domain.entity
class NoSuchWorkflowException(id: Long) : NoSuchElementException("There is no workflow with id: $id") | 0 | Kotlin | 1 | 2 | 8eef7e3324642fa4b26a69be69525d79a4873ea4 | 152 | flowernetes | MIT License |
app/src/main/java/pt/pl/estg/ei/regulapp/LineChartActivity.kt | bb1e | 610,523,307 | false | null | package pt.pl.estg.ei.regulapp
import android.os.Bundle
import com.google.android.gms.tasks.OnCompleteListener
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.firestore.QuerySnapshot
import pt.pl.estg.ei.regulapp.R.layout
import com.google.firebase.firestore.QueryDocumentSnapshot
impo... | 0 | Kotlin | 0 | 0 | 24b1b3c0bf2e466645cfd8089121306fb39b7874 | 11,113 | RegulA3.0-AndroidApp | MIT License |
app/src/main/java/jp/funmake/example/store/SharedMediaStorage.kt | nosix | 571,445,795 | false | null | package jp.funmake.example.store
import android.Manifest
import android.app.Activity
import android.app.RecoverableSecurityException
import android.content.ContentUris
import android.content.ContentValues
import android.content.Context
import android.net.Uri
import android.os.Build
import android.provider.MediaStore
i... | 0 | Kotlin | 0 | 0 | 2cb1b98ebdbfd3fd1152ce7230c28882dff6ade8 | 6,159 | android-store-example | Apache License 2.0 |
socialcats-google/payment/client/src/commonMain/kotlin/PaymentService.kt | Couchsurfing | 194,353,465 | false | null | package com.nicolasmilliard.socialcats.payment
expect interface PaymentService {
suspend fun getSubscriptionDetail(authToken: String, currency: String?): SubscriptionDetailResult
suspend fun createSubscription(authToken: String, request: CreateSubscriptionRequest): CreateSubscriptionResult
suspend fun canc... | 4 | Kotlin | 1 | 3 | ebc38cc10a392d0a5ff0247c15230edc420e3be9 | 880 | social-cats-playground | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.