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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WishFetcher.kt | jabree937 | 560,236,368 | false | null | package com.example.whishlist
class WishFetcher {
companion object {
private val nameList = mutableListOf<String>()
private val urlList = mutableListOf<String>()
private val priceList = mutableListOf<String>()
fun addWishes(name: String, url: String, price: String) {
n... | 0 | Kotlin | 0 | 0 | aff7370b5f12982b3935b33c68bff8d3b9dba299 | 727 | project2WishList | Apache License 2.0 |
collections/src/main/kotlin/moe/kanon/kommons/collections/Maps.kt | Olivki | 219,809,070 | false | null | /*
* Copyright 2019-2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | Kotlin | 0 | 0 | d667161238bc5d891fa6669ffd2d6cfa558c5e32 | 6,729 | kanon.kommons | Apache License 2.0 |
kotlin-typescript/src/main/generated/typescript/TransientIdentifier.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
package typescript
sealed external interface TransientIdentifier : Identifier {
var resolvedSymbol: Symbol
}
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 159 | kotlin-wrappers | Apache License 2.0 |
presentation/src/main/java/com/cheesecake/presentation/screens/match/events/MatchEventAdapter.kt | CheeseCake-Team | 645,082,831 | false | {"Kotlin": 443813} | package com.cheesecake.presentation.screens.match.events
import android.view.View
import androidx.core.view.isVisible
import com.cheesecake.domain.entity.EventType
import com.cheesecake.presentation.R
import com.cheesecake.presentation.base.BaseAdapter
import com.cheesecake.presentation.databinding.ItemMatchEventBindi... | 0 | Kotlin | 2 | 4 | cb032f91ae1fb7f35fc5242de6f6eb076ce51330 | 4,957 | kickoff | Apache License 2.0 |
bindings/core/gobject/src/nativeMain/kotlin/org/gtkkn/bindings/gobject/TypeFundamentalInfo.kt | gtk-kn | 609,191,895 | false | {"Kotlin": 10448515, "Shell": 2740} | // This is a generated file. Do not modify.
package org.gtkkn.bindings.gobject
import kotlinx.cinterop.CPointed
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.pointed
import kotlinx.cinterop.reinterpret
import org.gtkkn.extensions.glib.Record
import org.gtkkn.extensions.glib.RecordCompanion
import org.gtkkn.... | 0 | Kotlin | 0 | 13 | c033c245f1501134c5b9b46212cd153c61f7efea | 1,324 | gtk-kn | Creative Commons Attribution 4.0 International |
src/main/kotlin/com/tuk/oriddle/quiz/application/port/out/GetQuizPort.kt | Team-Oriddle | 731,663,342 | false | {"Kotlin": 119817} | package com.tuk.oriddle.quiz.application.port.out
import com.tuk.oriddle.quiz.domain.Quiz
import com.tuk.oriddle.quiz.domain.QuizInfo
import java.util.*
interface GetQuizPort {
fun getQuizInfo(quizId: UUID): QuizInfo
fun getQuiz(quizId: UUID): Quiz
} | 1 | Kotlin | 1 | 0 | 541b98644d44a2b10223fbb470d37bd0c5ec771d | 260 | oriddle-backend | MIT License |
src/main/kotlin/br/com/ot6/shared/clients/bcb/dtos/SavePixKeyClientReturn.kt | Joao-Nunes-Zup | 398,877,471 | true | {"Kotlin": 75606} | package br.com.ot6.shared.clients.bcb.dtos
data class SavePixKeyReturn(
val keyType: String,
val key: String,
val bankAccount: BankAccountReturn,
val owner: OwnerReturn
)
data class BankAccountReturn(
val participant: String,
val branch: String,
val accountNumber: String,
val accountTy... | 0 | Kotlin | 0 | 0 | d4d3a24430bf2c54670521543a529c9e3c4304f6 | 432 | orange-talents-06-template-pix-keymanager-grpc | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/visitscheduler/model/entity/session/SessionTemplate.kt | ministryofjustice | 409,259,375 | false | null | package uk.gov.justice.digital.hmpps.visitscheduler.model.entity.session
import uk.gov.justice.digital.hmpps.visitscheduler.model.VisitType
import uk.gov.justice.digital.hmpps.visitscheduler.model.entity.Prison
import uk.gov.justice.digital.hmpps.visitscheduler.model.entity.base.AbstractReferenceEntity
import java.tim... | 3 | Kotlin | 2 | 6 | 01dcad3b0defb675a12da8d0f14cc130766410ff | 2,166 | visit-scheduler | MIT License |
app/src/main/java/io/github/joaogouveia89/retedex/pokemon/presentation/PokemonViewModel.kt | joaogouveia89 | 776,063,726 | false | {"Kotlin": 98924} | package io.github.joaogouveia89.retedex.pokemon.presentation
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.cachedIn
import dagger.hilt.a... | 0 | Kotlin | 0 | 0 | 4129136266aeb81418c691853b4473fbf03c5440 | 893 | Retedex | MIT License |
app/src/main/java/com/anangkur/mediku/feature/view/mens/menstrual/MenstrualViewModel.kt | anangkur | 236,449,731 | false | null | package com.anangkur.mediku.feature.view.mens.menstrual
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.anangkur.mediku.base.BaseFirebaseListener
import com.anangkur.mediku.data.Repository
import com.anangkur.mediku.data.model.menstrual.MenstrualPeriodResume
import com.anangkur... | 2 | Kotlin | 1 | 4 | 4b4e184a5ea9368c0901262ce9899bad6c56fb87 | 7,683 | Medi-Ku | MIT License |
codekit/src/main/java/com/ctrlbytes/codekit/utils/AppsInDevice.kt | ctrlbytes | 282,138,397 | false | null | /*
* MIT License
*
* Copyright (c) 2020 CtrlBytes Technologies
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | 5 | Kotlin | 0 | 9 | 304a52e7d0c98e31ebe6ed50a99b40b1228a28ff | 3,579 | CodeKit | MIT License |
src/main/kotlin/de/sambalmueslie/games/hll/tool/features/mapvote/process/MapVoteEventProcess.kt | sambalmueslie | 439,963,166 | false | null | package de.sambalmueslie.games.hll.tool.features.mapvote.process
import de.sambalmueslie.games.hll.tool.features.mapvote.MapVoteService
import de.sambalmueslie.games.hll.tool.features.mapvote.discord.MapVoteBotEventHandler
import discord4j.core.event.domain.message.ReactionAddEvent
import discord4j.core.event.domain.... | 0 | Kotlin | 0 | 0 | a67a6acefeb38b341bc87d24c5e44157349a62a5 | 1,545 | hll-tool | Apache License 2.0 |
PracticaRecyclerViewKotlin/app/src/main/java/edu/unicauca/aplimovil/practicarecyclerviewapp/UserAdapter.kt | cfigmart | 491,656,397 | false | null | package edu.unicauca.aplimovil.practicarecyclerviewapp
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import edu.unicauca.aplimovil.practicarecyclerviewapp.model.Use... | 0 | Kotlin | 0 | 0 | 6647b2dd12e0098a62f024e42b5adf900de218af | 1,436 | aplimovil2022 | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/transfer/S3InputFileLocationPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.transfer
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.transfer.CfnWorkflow
@Generated
public fun buildS3InputFileLocationProperty(initializer: @AwsCdkDsl
CfnWorkflow.S3InputFileLo... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 483 | aws-cdk-kt | Apache License 2.0 |
src/main/kotlin/br/com/keymanagergrpc/pix/remove/RemoveChaveEndPoint.kt | rodrigodeoliveira19 | 387,889,045 | true | {"Kotlin": 34499} | package br.com.keymanagergrpc.pix.remove
import br.com.keymanagergrpc.KeyManagerRemoveGrpcServiceGrpc
import br.com.keymanagergrpc.RemoveChavePixRequest
import br.com.keymanagergrpc.RemoveChavePixResponse
import br.com.keymanagergrpc.shared.grpc.ErrorHandler
import io.grpc.stub.StreamObserver
import javax.inject.Injec... | 0 | Kotlin | 0 | 0 | 351ec51a6280c95d478e0b8e5868a7aa2f4eb0fb | 977 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
test-automation-core/src/main/kotlin/com/nortal/test/core/report/util/CurlBuilder.kt | nortal | 504,492,420 | false | {"Kotlin": 332735, "Java": 39099, "CSS": 6064, "JavaScript": 2198, "Gherkin": 2044, "HTML": 377} | /**
* Copyright (c) 2022 Nortal AS
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,... | 0 | Kotlin | 2 | 2 | 6deaf66c37d6a9cc78c49a81ea59779ad95e5c7f | 2,400 | test-automation | MIT License |
src/main/kotlin/org/rust/cargo/toolchain/WasmPack.kt | jhinch | 290,145,903 | true | {"Kotlin": 6467845, "Rust": 113429, "Python": 64032, "Lex": 20296, "HTML": 15783, "Java": 1274, "Shell": 760, "RenderScript": 129} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.cargo.toolchain
import com.intellij.execution.configurations.GeneralCommandLine
import org.rust.cargo.util.splitOnDoubleDash
import org.rust.openapiext.GeneralCommandLine
import java.io.File
imp... | 0 | null | 0 | 0 | c59483dcc538b3e3f4e40296305ab6ce36ffb400 | 1,154 | intellij-rust | MIT License |
base/media/medialib/src/main/kotlin/com/flammky/common/media/audio/meta_tag/audio/asf/io/ChunkReader.kt | flammky | 462,795,948 | false | {"Kotlin": 5222947} | package com.flammky.musicplayer.common.media.audio.meta_tag.audio.asf.io
import com.flammky.musicplayer.common.media.audio.meta_tag.audio.asf.data.Chunk
import com.flammky.musicplayer.common.media.audio.meta_tag.audio.asf.data.GUID
import java.io.IOException
import java.io.InputStream
/**
* A ChunkReader provides me... | 0 | Kotlin | 6 | 56 | a452c453815851257462623be704559d306fb383 | 1,809 | Music-Player | Apache License 2.0 |
app/src/test/java/com/fave/breezil/fave/util/ApiAbstract.kt | breel93 | 255,382,688 | false | null | package com.fave.breezil.fave.util
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
import okio.BufferedSource
import okio.Source
import okio.buffer
import okio.source
import org.hamcrest.CoreMatchers
import org.hamc... | 0 | Kotlin | 0 | 0 | a5b774548bb1c747bbb4a0263031f6935eca3c75 | 2,061 | Fave | Apache License 2.0 |
project/src/main/kotlin/cga/exercise/components/geometry/Renderable.kt | nthometzki | 280,411,694 | true | {"Kotlin": 147371, "GLSL": 20259} | package cga.exercise.components.geometry
import cga.exercise.components.shader.ShaderProgram
class Renderable(val meshes : MutableList<Mesh>) : Transformable(), IRenderable{
fun x() = this.getWorldPosition().x
fun y() = this.getWorldPosition().y
fun z() = this.getWorldPosition().z
override fun rend... | 0 | Kotlin | 0 | 0 | 09f966e074ad728daf9b9b704087afe41b9e5e4a | 522 | CGAProject | MIT License |
recipes/src/main/java/com/uber/lintchecks/recipes/guardrails/JavaOnlyDetector.kt | uber | 183,370,095 | false | null | /*
* Copyright (C) 2020. Uber Technologies
*
* 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... | 2 | null | 8 | 62 | 1cc2d30171896525c8a1974f99e3f090037ba453 | 10,282 | lint-checks | Apache License 2.0 |
service/src/main/kotlin/com/jongmin/upbit/quotation/UpbitQuotationService.kt | jongmin92 | 397,954,845 | false | null | package com.jongmin.upbit.quotation
import com.jongmin.upbit.quotation.candles.UpbitCandleService
import com.jongmin.upbit.quotation.market.UpbitMarketService
import com.jongmin.upbit.quotation.orderbook.UpbitOrderbookService
import com.jongmin.upbit.quotation.ticker.UpbitTickerService
import com.jongmin.upbit.quotati... | 0 | Kotlin | 4 | 5 | ce31d9b32fe4baa44807f5194f43b38a7b3d252d | 488 | spring-boot-starter-upbit | MIT License |
fabric/src/main/kotlin/com/plasmoverse/rpshare/gui/DownloadScreen.kt | plasmoapp | 655,924,413 | false | null | package com.plasmoverse.rpshare.gui
import com.plasmoverse.rpshare.DownloadTask
import com.plasmoverse.rpshare.model.DownloadData
import io.wispforest.owo.ui.base.BaseOwoScreen
import io.wispforest.owo.ui.component.Components
import io.wispforest.owo.ui.component.LabelComponent
import io.wispforest.owo.ui.container.Co... | 0 | Kotlin | 0 | 1 | b9a55364d5acd7a6a8471fd5972a1af62eb4040f | 2,261 | RPShare | MIT License |
data/RF02599/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02599"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
3 to 1... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 8,872 | Rfam-for-RNArtist | MIT License |
app/src/main/java/dev/techpolis/studservice/di/module/ActivityModule.kt | StudServices | 353,117,513 | false | null | package dev.techpolis.studservice.di.module
import android.view.LayoutInflater
import androidx.fragment.app.FragmentManager
import dagger.Module
import dagger.Provides
import dev.techpolis.studservice.di.qual.ActivityFragmentManager
import dev.techpolis.studservice.di.scope.ActivityScope
import dev.techpolis.studservi... | 0 | Kotlin | 0 | 0 | a844a9ac31fa02245237a7af68a66b2451dac7cd | 1,190 | StudServices-Android | MIT License |
src/main/kotlin/com/github/beaver010/beechat/config/SpyConfig.kt | beaver010 | 755,248,524 | false | {"Kotlin": 18103} | package com.github.beaver010.beechat.config
import org.spongepowered.configurate.objectmapping.ConfigSerializable
@ConfigSerializable
data class SpyConfig(
val format: String = "<aqua>Spy</aqua> <channel_message>",
val disableOnLeave: Boolean = true,
)
| 0 | Kotlin | 0 | 0 | 65b9bf8f65391fabc28dae922aa88283a4d08a77 | 263 | bee-chat | MIT License |
app/src/main/java/br/com/dev/applogin/model/dto/IdProfile.kt | brunoHsantos | 635,525,968 | false | null | package br.com.dev.applogin.model.dto
data class IdProfile (
val idPessoa: String
) | 0 | Kotlin | 0 | 0 | 301a51447c6fe80a969c702d0d47ce58be407320 | 92 | AppLogin | MIT License |
sdk/src/main/java/ch/opentransportdata/ojp/domain/usecase/RequestMockTrips.kt | openTdataCH | 783,593,283 | false | {"Kotlin": 283777} | package ch.opentransportdata.ojp.domain.usecase
import ch.opentransportdata.ojp.data.dto.response.delivery.TripDeliveryDto
import ch.opentransportdata.ojp.domain.model.Result
import ch.opentransportdata.ojp.domain.repository.OjpRepository
import java.io.InputStream
/**
* Created by Michael Ruppen on 19.09.2024
*/
i... | 0 | Kotlin | 0 | 1 | 3c796dea2ab3aa83a8e9c494c1a9660187ef9d54 | 701 | ojp-android | MIT License |
spring-boot-test-dbunit/src/main/kotlin/io/camassia/spring/dbunit/api/customization/ConnectionModifier.kt | camassia-io | 397,872,845 | false | null | package io.camassia.spring.dbunit.api.customization
import org.dbunit.database.IDatabaseConnection
fun interface ConnectionModifier {
fun modify(connection: IDatabaseConnection)
} | 0 | Kotlin | 0 | 0 | 732588e72773304618ad2ce7e5ff8c00a947896d | 187 | spring-boot-test-dbunit | Apache License 2.0 |
entities/src/main/java/com/redvelvet/entities/movie/details/MovieFullDetails.kt | RedVelvet-Team | 670,763,637 | false | null | package com.redvelvet.entities.movie.details
data class MovieFullDetails(
val details:MovieDetails,
val images: MovieImages,
val keyWords: MovieKeyWords,
val recommendations: MovieRecommendations,
val reviews: MovieReviews,
val similar: MovieSimilar,
val topCast: MovieTopCast
)
| 1 | Kotlin | 1 | 4 | b9b17caa25439823ae354d3262921fb5f88c73d7 | 308 | IMovie | Apache License 2.0 |
core/src/main/java/com/cube/fusion/android/core/utils/extensions/IntentExtensions.kt | 3sidedcube | 465,729,737 | false | {"Kotlin": 105599} | package com.cube.fusion.android.core.utils.extensions
import android.content.Intent
import android.view.View
/**
* Set of extensions relevant to intents and intent handling
*
* Created by <NAME> on 05/May/2022.
* Copyright ® 3SidedCube. All rights reserved.
*/
/**
* Convenience method to handle a nullable inte... | 0 | Kotlin | 0 | 2 | 1c1db817504533c97383c26d788a252e489227e5 | 660 | Android-Fusion-AndroidUi | MIT License |
app/src/main/java/com/github/polyKa/gtKawasaki/GTKawasakiApp.kt | PolyKA | 304,835,575 | false | null | package com.github.polyKa.gtKawasaki
import android.app.Application
class GTKawasakiApp: Application() {
} | 0 | Kotlin | 0 | 0 | d49af80e8842b6a5a0df1229e6f5e1b8a4d39bc7 | 108 | GTKawasaki | Apache License 2.0 |
4_poo/3_enum_classes/exemplo2.kt | Ciro-TI-System | 695,667,220 | false | {"Kotlin": 29254} | /**
* Enum podem ter propriedades e métodos.
*
* @see [Enum Classes](https://play.kotlinlang.org/byExample/03_special_classes/02_Enum)
*/
enum class Color(val rgb: Int) { // 1
RED(0xFF0000), // 2
GREEN(0x00FF00),
BLUE(0x0000FF),
YELLOW(0xFFFF0... | 0 | Kotlin | 0 | 0 | 71ed5edd9756b819634379f4e8df36392ff311c4 | 661 | aprenda-kotlin-com-exemplos | MIT License |
src/main/java/ru/hollowhorizon/hc/common/events/entity/EntityTrackingEvent.kt | HollowHorizon | 450,852,365 | false | {"Kotlin": 1120056, "Java": 247984, "GLSL": 44525} | package ru.hollowhorizon.hc.common.events.entity
import net.minecraft.world.entity.Entity
import net.minecraft.world.entity.player.Player
import ru.hollowhorizon.hc.common.events.Event
class EntityTrackingEvent(val player: Player, val entity: Entity) : Event | 0 | Kotlin | 4 | 20 | 7e0c4510a0e5d2d3540aff428871b7ecc642c898 | 260 | HollowCore | MIT License |
src/main/kotlin/org/ivangrod/domainevents/domain/events/BookChangedInfo.kt | ivangrod | 507,595,158 | false | null | package org.ivangrod.domainevents.domain.events
import org.ivangrod.domainevents.domain.Book
class BookChangedInfo(book: Book) {
val authorEmail by lazy { book.author?.email }
}
| 0 | Kotlin | 0 | 0 | 931cb816b37942020d71044c261aa36ac4834375 | 184 | se-journey-spring | MIT License |
app/src/main/java/com/github/yohannestz/fastcall/ui/fragments/InputDialogFragment.kt | YohannesTz | 637,138,771 | false | null | package com.github.yohannestz.fastcall.ui.fragments
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.view.View
import android.widget.EditText
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatDialogFragment
import com.github.yohannestz.fast... | 0 | Kotlin | 0 | 0 | 14ea0ae05a4d2be2399067ea044e3873e0c8e2ff | 1,755 | FastCall | MIT License |
LoggingManager.kt | Couchbase-Ecosystem | 849,511,380 | false | {"Kotlin": 18915} | package cbl.js.kotiln
import com.couchbase.lite.*
import java.util.EnumSet
object LoggingManager {
fun setFileLoggingConfig(
directory: String,
logLevel: Int,
maxSize: Long,
maxRotateCount: Int,
shouldUsePlainText: Boolean,
) {
val loggingValue = getLogLevel(logLevel)
v... | 0 | Kotlin | 0 | 0 | e59bbce226d6942a7150f60ecc732b1603ff7d3d | 1,591 | cbl-js-kotlin | Apache License 2.0 |
winmdj-core/src/main/kotlin/com/github/danielchemko/winmdj/core/autoobject/stubs/StubSecurityAttributeImpl.kt | danielchemko | 774,741,943 | false | {"Kotlin": 284901} | package com.github.danielchemko.winmdj.core.autoobject.stubs
import com.github.danielchemko.winmdj.core.MdObjectMapper
import com.github.danielchemko.winmdj.core.autoobject.BaseWinMdStub
import com.github.danielchemko.winmdj.core.mdspec.CLRMetadataType
import com.github.danielchemko.winmdj.core.mdspec.SecurityAttribu... | 0 | Kotlin | 0 | 0 | 0d2a72ee7ea6f0dc05803b06039a8ac8bfc0dbd0 | 2,049 | winmdj | MIT License |
winmdj-core/src/main/kotlin/com/github/danielchemko/winmdj/core/autoobject/stubs/StubSecurityAttributeImpl.kt | danielchemko | 774,741,943 | false | {"Kotlin": 284901} | package com.github.danielchemko.winmdj.core.autoobject.stubs
import com.github.danielchemko.winmdj.core.MdObjectMapper
import com.github.danielchemko.winmdj.core.autoobject.BaseWinMdStub
import com.github.danielchemko.winmdj.core.mdspec.CLRMetadataType
import com.github.danielchemko.winmdj.core.mdspec.SecurityAttribu... | 0 | Kotlin | 0 | 0 | 0d2a72ee7ea6f0dc05803b06039a8ac8bfc0dbd0 | 2,049 | winmdj | MIT License |
confluence-plugin/src/main/java/com/networkedassets/git4c/core/ViewMacroUseCase.kt | rpaasche | 321,741,515 | true | {"Kotlin": 798728, "JavaScript": 351426, "Java": 109291, "Groovy": 55451, "CSS": 37375, "ANTLR": 19544, "Gherkin": 15007, "HTML": 14268, "Shell": 4490, "Ruby": 1378, "Batchfile": 1337, "PowerShell": 716} | package com.networkedassets.git4c.core
import com.github.kittinunf.result.Result
import com.networkedassets.git4c.application.BussinesPluginComponents
import com.networkedassets.git4c.boundary.ViewMacroCommand
import com.networkedassets.git4c.boundary.outbound.MacroView
import com.networkedassets.git4c.core.datastore.... | 0 | Kotlin | 0 | 0 | e55391b33cb70d66bbf5f36ba570fb8822f10953 | 1,997 | git4c | Apache License 2.0 |
app/src/main/kotlin/org/jw/warehousecontrol/presentation/fragments/VolunteerRegisterFragment.kt | anandacamara | 739,857,108 | false | {"Kotlin": 83107} | package org.jw.warehousecontrol.presentation.fragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import org.jw.warehousecontrol.databinding.FragmentVolunteerRegisterBinding
/**
* @author <NAME>
*/
internal... | 0 | Kotlin | 0 | 0 | f4f704cedb41cb4cc536fb7678fbb3371e44a05c | 693 | warehouse_control | MIT License |
addendum/src/main/java/com/commit451/addendum/ViewPager.kt | Commit451 | 91,985,179 | false | null | @file:Suppress("NOTHING_TO_INLINE", "unused")
package com.commit451.addendum
import androidx.viewpager.widget.ViewPager
inline fun ViewPager.back(animate: Boolean = true) {
setCurrentItem(currentItem - 1, animate)
}
inline fun ViewPager.forward(animate: Boolean = true) {
setCurrentItem(currentItem + 1, anim... | 0 | Kotlin | 0 | 17 | d42395934bfd9df352bf85eda894e1de14775678 | 507 | Addendum | Apache License 2.0 |
src/shmp/lang/language/syntax/sequence/FoldedWordSequence.kt | ShMPMat | 240,860,070 | false | null | package shmp.lang.language.syntax.sequence
import shmp.lang.language.lexis.Word
data class FoldedWordSequence(val words: List<Pair<Word, LatchType>> = listOf()) {
constructor(wordToType: Pair<Word, LatchType>): this(listOf(wordToType))
val size = words.size
operator fun get(position: Int) = words[posit... | 0 | Kotlin | 0 | 1 | 4d26b0d50a1c3c6318eede8dd9678d3765902d4b | 702 | LanguageGenerator | MIT License |
sources/app/src/main/java/com/mikyegresl/valostat/features/player/exoplayer/ExoVideoPlayer.kt | sergey-lvovich-kim | 629,918,357 | false | null | package com.mikyegresl.valostat.features.player.exoplayer
import android.content.Context
import android.media.session.PlaybackState
import android.os.Looper
import android.util.Log
import android.widget.ImageView
import androidx.appcompat.content.res.AppCompatResources
import androidx.compose.animation.AnimatedVisibil... | 0 | Kotlin | 1 | 8 | 22bda996b0defdf67b201d5768ff27a6d6cfb561 | 16,429 | ValoStat | Apache License 2.0 |
core/src/main/java/com/tapptitude/template/core/model/extension/ImageExt.kt | tapptitude | 462,275,098 | false | {"Kotlin": 55298} | package com.tapptitude.template.core.model.extension
import com.tapptitude.template.core.model.Image
import com.tapptitude.template.network.dto.ImageDto
import com.tapptitude.template.persistence.images.ImageEntity
internal fun ImageDto.toEntity() = ImageEntity(url = imageUrl.orEmpty())
internal fun ImageEntity.toIm... | 3 | Kotlin | 0 | 5 | b5d29a8cf4d07775c6039072a852e7f38f53eea2 | 415 | AndroidKotlinMVVMTemplate | MIT License |
app/src/main/java/com/example/valorantwiki/ui/viewPager/ViewPagerAdapter.kt | LucasMelll0 | 530,731,178 | false | null | package com.example.valorantwiki.ui.viewPager
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
class ViewPagerAdapter(fragmentActivity: FragmentActivity) :
FragmentStateAdapter(fragmentActivity) {
var fragmentList: Muta... | 0 | Kotlin | 0 | 2 | 8cc66c87d5c3830b1df451189f486d4e472bcd19 | 741 | Valorant_Wiki | Apache License 2.0 |
app/src/main/java/tech/edroomdevs/edroom/activity/doubtcorner/AddDoubtActivity.kt | arwazkhan189 | 483,951,570 | false | null | package tech.edroomdevs.edroom.activity.doubtcorner
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.net.Uri
import android.os.Bundle
import android.os.Environment
import android.provider.Settings
import android.view.View
import android.widget.Toast
i... | 0 | Kotlin | 2 | 1 | de0fda2187e15fb538184425027b65f22f066bfc | 8,700 | EdRoom | MIT License |
androidutils/src/main/java/eu/espeo/androidutils/extensions/EditTextExtensions.kt | espeo | 184,033,917 | false | null | package eu.espeo.androidutils.extensions
import android.text.Editable
import android.text.TextWatcher
import android.widget.EditText
/**
* Created by Maciej Kozłowski on 2019-08-14.
*/
fun EditText.addOnTextChangeListener(action: (String) -> Unit) {
addTextChangedListener(object : TextWatcher {
overrid... | 0 | Kotlin | 0 | 0 | 0e624e9885e009851276b44f8f4be720adf15282 | 671 | AndroidUtils | MIT License |
yandex-mapkit-kmp/src/commonMain/kotlin/ru/sulgik/mapkit/PointF.kt | SuLG-ik | 813,953,018 | false | {"Kotlin": 321441} | package ru.sulgik.mapkit
public data class PointF(
val x: Float,
val y: Float,
) | 0 | Kotlin | 1 | 17 | 2d292b701adb2c538f8cd3ddf614250f9d6a444d | 89 | yandex-mapkit-kmp | Apache License 2.0 |
korge-core/test/korlibs/io/net/ws/RawSocketWebSocketClientTest.kt | korlibs | 80,095,683 | false | {"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41} | package korlibs.io.net.ws
import korlibs.io.async.suspendTestNoJs
import korlibs.io.lang.toByteArray
import korlibs.io.net.FakeAsyncClient
import korlibs.io.net.URL
import korlibs.io.net.http.Http
import korlibs.io.stream.MemorySyncStreamToByteArray
import korlibs.io.stream.openSync
import korlibs.io.stream.readString... | 444 | WebAssembly | 121 | 2,207 | dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a | 5,481 | korge | Apache License 2.0 |
app/src/main/java/de/boscall/dbTasks/RemoveAllAlarmsTask.kt | dorianweidler | 127,475,477 | false | null | package de.boscall.dbTasks
import android.app.Activity
import android.os.AsyncTask
import de.boscall.dto.Alarm
import de.boscall.services.AlarmDatabase
import java.lang.ref.WeakReference
class RemoveAllAlarmsTask(activity: Activity) : AsyncTask<Unit, Unit, Unit>() {
val activity: WeakReference<Activity> = WeakRe... | 0 | Kotlin | 0 | 1 | 28598c73745d8f99a713211652797f27f7da4b12 | 582 | BOSCall | Creative Commons Attribution 3.0 Unported |
src/main/kotlin/me/sd_master92/customvoting/database/PlayerDatabase.kt | sanderderks | 306,723,396 | false | null | package me.sd_master92.customvoting.database
import me.sd_master92.core.database.CustomColumn
import me.sd_master92.core.database.CustomDatabase
import me.sd_master92.core.database.CustomTable
import me.sd_master92.core.errorLog
import me.sd_master92.core.infoLog
import me.sd_master92.customvoting.CV
import me.sd_mast... | 0 | Kotlin | 1 | 0 | 7e1e23d09862390d05fe9aac92e46c9e5bf48a0d | 12,362 | CustomVoting | MIT License |
app/src/main/java/com/example/friendzone/presentation/screens/user/OtherUsers.kt | mohitdamke | 839,901,877 | false | {"Kotlin": 310975} | package com.example.friendzone.presentation.screens.user
import android.content.Context
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
imp... | 0 | Kotlin | 0 | 2 | 6d016f16d12b5a037c30ced93ade4d1c72c36295 | 12,129 | FriendZone-App | MIT License |
kotlin-node/src/jsMain/generated/node/fs/FileHandleWriteFileOptionsAsync.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12127852, "JavaScript": 330528} | // Generated by Karakum - do not modify it manually!
package node.fs
import web.abort.Abortable
sealed external interface FileHandleWriteFileAsyncOptions : ObjectEncodingOptions, FlagAndOpenMode, Abortable {
var flush: Boolean?
}
| 40 | Kotlin | 165 | 1,307 | 5dcda74b62898966c8d9a73623d9791e2ebb931f | 238 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/edoubletech/moviemania/data/MovieDb.kt | etonotieno | 137,695,371 | false | {"Kotlin": 22205} | /*
* Copyright (C) 2018 Eton Otieno Oboch
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 0 | Kotlin | 0 | 1 | 197eb7d360be46417c6fecaee6e49388940e5a9b | 855 | MovieMania | Apache License 2.0 |
app/src/main/java/com/example/composezoomanimation/MainActivity.kt | tusharhow | 597,453,051 | false | null | package com.example.composezoomanimation
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.ui.Modifier
import com.example.composezoomanimation.ui.theme.Co... | 0 | Kotlin | 0 | 2 | bfedc98acbea188cbf98b94f08783f7ce6db647e | 932 | compose-coffee-animation | The Unlicense |
contentdetails/src/main/kotlin/com/socros/android/app/gitez/contentdetails/data/ContentDetailsRepository.kt | wrozwad | 147,568,743 | false | null | package com.socros.android.app.gitez.contentdetails.data
import com.socros.android.app.gitez.contentdetails.di.ContentDetailsScope
import com.socros.android.lib.repository.Resource
import dagger.Lazy
import io.reactivex.Observable
import javax.inject.Inject
@ContentDetailsScope
class ContentDetailsRepository @Inject ... | 0 | Kotlin | 0 | 0 | afec0824ac2bd4c4ebadac0be5282f7c7eb7147e | 626 | gitez | MIT License |
core/src/test/kotlin/org/ufoss/dino/internal/heap/HeapOptionsTest.kt | ufoss-org | 264,428,446 | false | {"Java": 573879, "Kotlin": 288125} | /*
* Copyright 2023 UFOSS, Org. Use of this source code is governed by the Apache 2.0 license.
*/
package org.ufoss.dino.internal.heap
import org.ufoss.dino.Dino
import org.ufoss.dino.internal.OptionsTest
class HeapOptionsTest : OptionsTest {
override val dino: Dino = Dino.Builder().forJavaIO().build()
}
| 1 | null | 1 | 1 | f0bc77842605320a4dda2a78dacab54cf6f9e8f2 | 315 | dino | Apache License 2.0 |
vertx-examples/src/main/kotlin/echo/EchoSslClient.kt | alextkachman | 5,105,781 | true | {"Java": 1387474, "Python": 1313735, "Groovy": 255623, "Ruby": 185134, "JavaScript": 172452, "Kotlin": 35631, "Shell": 17719, "CoffeeScript": 2008} | /*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Java | 3 | 7 | 22eaa44ec212524efb59a6e219291ea6186352a0 | 1,435 | vert.x | Apache License 2.0 |
src/test/kotlin/net/leanix/vsm/githubbroker/health/HealthEndpointTest.kt | leanix | 563,788,890 | false | {"Kotlin": 96728, "Dockerfile": 244} | package net.leanix.vsm.githubbroker.health
import com.github.tomakehurst.wiremock.client.WireMock
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframewor... | 1 | Kotlin | 1 | 4 | abb0fae7a95d7532431fdc95ef1f50edbe972885 | 1,283 | vsm-github-broker | Apache License 2.0 |
idea/testData/quickfix/createFromUsage/createFunction/get/createGetFromUsage2.kt | staltz | 38,581,975 | true | {"Markdown": 33, "XML": 666, "Ant Build System": 45, "Ignore List": 7, "Git Attributes": 1, "Kotlin": 21040, "Java": 4546, "Protocol Buffer": 7, "Text": 4675, "JavaScript": 63, "JAR Manifest": 3, "Roff": 46, "Roff Manpage": 11, "INI": 17, "HTML": 154, "Groovy": 23, "Java Properties": 14, "Maven POM": 49, "Gradle": 74, ... | // "Create extension function 'get'" "true"
fun x (y: Any) {
val z: Any = y<caret>[""]
}
| 0 | Java | 0 | 1 | ff00bde607d605c4eba2d98fbc9e99af932accb6 | 93 | kotlin | Apache License 2.0 |
browser/src/main/java/laurenyew/imagebrowser/browser/adapters/ImageBrowserRecyclerViewAdapter.kt | laurenyew | 130,925,684 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 7, "Batchfile": 1, "Markdown": 1, "Kotlin": 48, "XML": 31, "Proguard": 3, "Java": 1} | package laurenyew.imagebrowser.browser.adapters
import android.os.Handler
import android.support.annotation.VisibleForTesting
import android.support.v7.util.DiffUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import com.squareup.picasso.Picasso
import... | 1 | null | 1 | 1 | 66dde9a063ef71fc11f3a40eae61537db7af445b | 4,159 | InstantAppImageBrowser | Apache License 2.0 |
browser/src/main/java/laurenyew/imagebrowser/browser/adapters/ImageBrowserRecyclerViewAdapter.kt | laurenyew | 130,925,684 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 7, "Batchfile": 1, "Markdown": 1, "Kotlin": 48, "XML": 31, "Proguard": 3, "Java": 1} | package laurenyew.imagebrowser.browser.adapters
import android.os.Handler
import android.support.annotation.VisibleForTesting
import android.support.v7.util.DiffUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import com.squareup.picasso.Picasso
import... | 1 | null | 1 | 1 | 66dde9a063ef71fc11f3a40eae61537db7af445b | 4,159 | InstantAppImageBrowser | Apache License 2.0 |
src/main/kotlin/no/nav/arbeidsgiver/iatjenester/metrikker/config/DBConfig.kt | navikt | 338,342,215 | false | null | package no.nav.arbeidsgiver.iatjenester.metrikker.config
import com.zaxxer.hikari.HikariDataSource
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import javax.sql.DataSource
@Configuration
class DBConfig(private val dbConfigProperties: DBConfigProperties... | 1 | Kotlin | 0 | 0 | bc52398f394e996bf635fb773c4b0b938408cdc5 | 437 | ia-tjenester-metrikker | MIT License |
year2019/day13/game/src/main/kotlin/com/curtislb/adventofcode/year2019/day13/game/strategy/GreedyStrategy.kt | curtislb | 226,797,689 | false | {"Kotlin": 2014224} | package com.curtislb.adventofcode.year2019.day13.game.strategy
import com.curtislb.adventofcode.year2019.day13.game.Board
import com.curtislb.adventofcode.year2019.day13.game.Tile
import java.math.BigInteger
import kotlin.math.abs
/**
* A strategy that selects the move which moves the closest paddle and ball closer ... | 0 | Kotlin | 1 | 1 | a55341d18b4a44f05efbc9b0b9583e11d9528285 | 1,303 | AdventOfCode | MIT License |
sample/shared/src/androidMain/kotlin/com/huynn109/kmp/internetconnection/sample/InternetStatus.android.kt | huynn109 | 849,268,328 | false | {"Kotlin": 4323} | package com.huynn109.kmp.internetconnection.sample
import android.content.Context
import com.huynn109.kmp.internetconnection.InternetConnection
import kotlinx.coroutines.flow.MutableStateFlow
actual class InternetStatus(
context: Context
) {
val internetConnection = InternetConnection(context)
actual val ... | 0 | Kotlin | 0 | 0 | def735fc2633d7d347e3a25a1d48641f1eeb0883 | 530 | kmp-internet-connection | MIT License |
content/report/src/main/kotlin/br/com/mrocigno/bigbrother/report/coverter/LocalDateTimeConverter.kt | mrocigno | 574,215,368 | false | {"Kotlin": 296135} | package br.com.mrocigno.bigbrother.report.coverter
import androidx.room.TypeConverter
import org.threeten.bp.LocalDateTime
internal class LocalDateTimeConverter {
@TypeConverter
fun toDate(date: String): LocalDateTime = LocalDateTime.parse(date)
@TypeConverter
fun toDateString(date: LocalDateTime): ... | 1 | Kotlin | 0 | 3 | 947ba5d49dda39800a57b3979419ae502e2fe210 | 346 | big-brother | Apache License 2.0 |
src/main/kotlin/com/team2898/robot/FieldMap.kt | TheFlyingHedgehogs | 587,113,427 | false | null | package com.team2898.robot
import com.bpsrobotics.engine.utils.geometry.*
import edu.wpi.first.wpilibj.DriverStation
import edu.wpi.first.wpilibj2.command.SubsystemBase
import com.bpsrobotics.engine.utils.ft
import com.bpsrobotics.engine.utils.toMeters
/**
* Used to store Alliance-specific locations
* @property com... | 0 | Kotlin | 0 | 1 | 6c4b280c449d88c93e10926a015ae4be5ecdb2c9 | 2,460 | 2898-2023-charged-up | Apache License 2.0 |
year2019/src/main/kotlin/net/olegg/aoc/year2019/day18/Day18.kt | 0legg | 110,665,187 | false | null | package net.olegg.aoc.year2019.day18
import net.olegg.aoc.someday.SomeDay
import net.olegg.aoc.utils.Directions.Companion.Neighbors4
import net.olegg.aoc.utils.Vector2D
import net.olegg.aoc.utils.find
import net.olegg.aoc.utils.get
import net.olegg.aoc.utils.set
import net.olegg.aoc.year2019.DayOf2019
import java.util... | 0 | Kotlin | 1 | 8 | 3006775fc2d1da3b12303029b9f35d2793c912df | 6,140 | adventofcode | MIT License |
src/main/kotlin/me/mintdev/routing/LoginRoute.kt | marco-introini | 805,907,048 | false | {"Kotlin": 9780} | package me.mintdev.routing
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import me.mintdev.routing.request.LoginRequest
import me.mintdev.service.JwtService
fun Route.loginRoute(jwtService: JwtService) {
p... | 0 | Kotlin | 0 | 0 | e4513331cc117c17b72bd37e0e3e8a111ef6b167 | 803 | ktor-jwt | MIT License |
src/main/kotlin/me/mintdev/routing/LoginRoute.kt | marco-introini | 805,907,048 | false | {"Kotlin": 9780} | package me.mintdev.routing
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import me.mintdev.routing.request.LoginRequest
import me.mintdev.service.JwtService
fun Route.loginRoute(jwtService: JwtService) {
p... | 0 | Kotlin | 0 | 0 | e4513331cc117c17b72bd37e0e3e8a111ef6b167 | 803 | ktor-jwt | MIT License |
app/src/main/java/tech/salroid/filmy/data/local/model/WatchlistData.kt | salRoid | 64,316,425 | false | null | package tech.salroid.filmy.data.local.model
data class WatchlistData @JvmOverloads constructor(
var id: String,
var title: String? = null,
var poster: String? = null
) | 1 | Kotlin | 180 | 733 | c6ac0c3b47964e552b8d44a0b586e1ce3b418a9a | 180 | Filmy | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/innsyn/popp/domain/support/Person.kt | navikt | 191,574,968 | false | {"Kotlin": 59984, "Shell": 408, "Dockerfile": 196} | package no.nav.pensjon.innsyn.popp.domain.support
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table
@Entity
@Table(name = "T_PERSON")
data class Person(
@Id
@Column(name = "PERSON_ID")
val personId: Int,
@Column(... | 0 | Kotlin | 0 | 0 | 0c65a89fc4ff6583d9e0e9c4aad2adf617ad082e | 362 | pensjon-pol-innsyn | MIT License |
app/src/main/java/com/flaxstudio/drawon/utils/ProjectRoomDatabase.kt | nitesh-dev | 596,201,028 | false | null | package com.flaxstudio.drawon.utils
import android.content.Context
import androidx.annotation.WorkerThread
import androidx.room.*
import kotlinx.coroutines.flow.Flow
@Entity(tableName = "projects")
data class Project(
@PrimaryKey(autoGenerate = true) var id: Int,
@ColumnInfo(name = "project_id") var projectId... | 1 | Kotlin | 4 | 6 | 88bcb3f9f1d6913571d81d8f21009f0e7372f439 | 3,596 | DrawOn | Apache License 2.0 |
src/main/kotlin/de/sambalmueslie/eventorg/event/api/EventAPI.kt | sambalmueslie | 363,757,768 | false | {"Kotlin": 73386, "PLpgSQL": 5480} | package de.sambalmueslie.eventorg.event.api
import de.sambalmueslie.eventorg.common.CrudAPI
interface EventAPI : CrudAPI<Event, EventChangeRequest> {
}
| 0 | Kotlin | 0 | 1 | f7442ed15a42dfd37f94fc87ac83e2eea6704b52 | 154 | event-organizer-server | Apache License 2.0 |
projects/forge/src/main/kotlin/site/siredvin/peripheralworks/integrations/integrateddynamics/Configuration.kt | SirEdvin | 489,471,520 | false | {"Kotlin": 617308, "Java": 4072} | package site.siredvin.peripheralworks.integrations.integrateddynamics
import net.minecraftforge.common.ForgeConfigSpec
import site.siredvin.peripheralium.api.config.IConfigHandler
object Configuration : IConfigHandler {
private var ENABLE_VARIABLE_STORE: ForgeConfigSpec.BooleanValue? = null
private var ENABL... | 4 | Kotlin | 2 | 7 | 7aafe795d2d4b852c537a7b4bcc89b26dc284231 | 954 | UnlimitedPeripheralWorks | MIT License |
unittestshared/src/main/java/io/melih/android/currencyconverter/unittestshared/TestCoroutineDispatcherProvider.kt | melomg | 282,532,575 | false | null | /*
* Copyright 2020 CurrencyConverter
*
* 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 agre... | 1 | Kotlin | 0 | 0 | 5d94b9ce0a141403082a9157b4df19787f455bf2 | 1,225 | currency-converter-android | Apache License 2.0 |
src/main/kotlin/jp/nephy/penicillin/endpoints/parameters/UserStreamFilterLevel.kt | 7u4 | 162,947,832 | true | {"Kotlin": 259979} | package jp.nephy.penicillin.endpoints.parameters
enum class UserStreamFilterLevel(val value: String) {
None("none"), Low("low"), Medium("medium")
}
| 0 | Kotlin | 0 | 0 | 747aa281b512072d99e9b03cfe68b6c54d98b6f0 | 153 | Penicillin | MIT License |
app/src/main/java/com/rgbstudios/todomobile/data/local/CategoryDao.kt | cooncudee | 673,320,875 | false | {"Kotlin": 337116} | package com.rgbstudios.todomobile.data.local
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Update
import com.rgbstudios.todomobile.data.entity.CategoryEntity
import kotlinx.coroutines.flow.Flow
@Dao
interface CategoryDao {
... | 0 | Kotlin | 0 | 2 | 2fee10f774058bab2f6be4eff2707b953a339c40 | 941 | TODO_Mobile | MIT License |
plugins/full-line/src/org/jetbrains/completion/full/line/platform/diagnostics/DiagnosticsLogConsole.kt | xGreat | 182,651,778 | false | {"Text": 7190, "INI": 570, "YAML": 416, "Ant Build System": 10, "Batchfile": 28, "Shell": 616, "Markdown": 680, "Ignore List": 125, "Git Revision List": 1, "Git Attributes": 10, "EditorConfig": 244, "XML": 7188, "SVG": 3739, "Kotlin": 48905, "Java": 80666, "HTML": 3312, "Java Properties": 214, "Gradle": 419, "Maven POM... | package org.jetbrains.completion.full.line.platform.diagnostics
import com.intellij.diagnostic.logging.DefaultLogFilterModel
import com.intellij.diagnostic.logging.LogConsoleBase
import com.intellij.openapi.Disposable
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.registry.Registry
import... | 1 | null | 1 | 1 | fb5f23167ce9cc53bfa3ee054b445cf4d8f1ce98 | 2,083 | intellij-community | Apache License 2.0 |
src/main/kotlin/com/dude/dms/backend/repositories/DocFilterRepository.kt | axelvondreden | 208,427,538 | false | null | package com.dude.dms.backend.repositories
import com.dude.dms.backend.data.filter.DocFilter
import org.springframework.data.jpa.repository.JpaRepository
interface DocFilterRepository : JpaRepository<DocFilter, Long> {
fun findByName(name: String): DocFilter?
} | 46 | Kotlin | 1 | 3 | 418c7df3589b85c934f0da13642f14aa4c66a851 | 267 | dms | Apache License 2.0 |
app/src/main/java/com/igomezal/calculoaristachimenea/repository/AppDatabase.kt | igomezal | 148,942,985 | false | {"Kotlin": 19495} | package com.igomezal.calculoaristachimenea.repository
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.igomezal.calculoaristachimenea.util.SingletonHolder
import com.igomezal.calculoaristachimenea.repository.entities.Chimenea
import com... | 0 | Kotlin | 0 | 0 | 781eb2ed97ddaa2be16169d787464d22b4d6f3c5 | 724 | CalculoAristaChimenea | MIT License |
app/src/main/java/com/stocksexchange/android/ui/dashboard/DashboardPresenter.kt | nscoincommunity | 277,168,471 | true | {"Kotlin": 2814235} | package com.stocksexchange.android.ui.dashboard
import com.stocksexchange.android.BuildConfig
import com.stocksexchange.android.events.SettingsEvent
import com.stocksexchange.android.events.UserEvent
import com.stocksexchange.android.model.DashboardArgs
import com.stocksexchange.android.model.DashboardBottomMenuItem
i... | 0 | null | 0 | 0 | 52766afab4f96506a2d9ed34bf3564b6de7af8c3 | 7,887 | Android-app | MIT License |
app/src/main/java/com/kylecorry/trail_sense/tools/weather/infrastructure/commands/CurrentWeatherAlertCommand.kt | kylecorry31 | 215,154,276 | false | {"Kotlin": 2589968, "Python": 22919, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3814, "Batchfile": 2553} | package com.kylecorry.trail_sense.tools.weather.infrastructure.commands
import android.content.Context
import com.kylecorry.trail_sense.shared.FormatService
import com.kylecorry.trail_sense.shared.UserPreferences
import com.kylecorry.trail_sense.shared.alerts.IValueAlerter
import com.kylecorry.trail_sense.shared.comma... | 456 | Kotlin | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 1,411 | Trail-Sense | MIT License |
app/src/main/java/com/example/scrambletogether/presentation/ui/common/NoBorderButton.kt | ArkhamDm | 731,165,119 | false | {"Kotlin": 125327} | package com.example.scrambletogether.presentation.ui.common
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material3.Button
import androidx.compose.material3.ButtonDefaults
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Sha... | 0 | Kotlin | 0 | 0 | 2da5eaeb51dc80f153877bc196085dbd4bf87cdc | 655 | WordleTogether | MIT License |
identity/ui/src/main/java/com/thechance/identity/ui/screen/activation/AccountActivationRoute.kt | Salmon-family | 569,890,321 | false | {"Kotlin": 837143} | package com.thechance.identity.ui.screen.activation
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavHostController
import androidx.navigation.compose.composable
fun NavController.navigateToAccountActivation() {
navigate(route = ACCOUNT_ACTIVATION_R... | 11 | Kotlin | 19 | 24 | 7589d73a400c78ecfa94b24d87189b4f5e01de9b | 638 | Clubs | Apache License 2.0 |
app/src/main/java/com/frogobox/movie/mvvm/movie/SearchMovieViewModel.kt | frogobox | 221,978,119 | false | {"Kotlin": 246872} | package com.frogobox.movie.mvvm.movie
import android.app.Application
import com.frogobox.base.BaseViewModel
import com.frogobox.base.source.model.Movie
import com.frogobox.base.source.DataSource
import com.frogobox.base.source.Repository
import com.frogobox.base.util.SingleLiveEvent
/**
* Created by <NAME>
* FrogoB... | 0 | Kotlin | 2 | 16 | 8cb6e3c49650be2dfe586570d44dd76c207a4598 | 1,604 | kick-start-android-modular | Apache License 2.0 |
src/test/kotlin/net/jp/vss/sample/usecase/tasks/UpdateTaskUseCaseParameterTest.kt | nemuzuka | 184,200,566 | false | null | package net.jp.vss.sample.usecase.tasks
import net.jp.vss.sample.DatetimeUtils
import net.jp.vss.sample.domain.Attributes
import net.jp.vss.sample.domain.tasks.TaskFixtures
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.... | 18 | Kotlin | 0 | 0 | ef8ed4626d2cd1dbbd3455534fedf67940a32361 | 3,013 | spring-kotlin-sample | Apache License 2.0 |
andreact/src/main/java/chx/studio/andreact/Element.kt | chx-studio | 134,814,866 | false | {"Kotlin": 19726, "Java": 1107} | package chx.studio.andreact
import android.content.Context
import android.util.Log
import android.view.View
abstract class Element(open var widget: Widget) {
var depth = 1
var dirty = true
abstract fun createView(context: Context): View
fun rebuild() {
if (!dirty) return
performRebui... | 0 | Kotlin | 0 | 2 | 99f629f1653b3e83289720e60b8b376559701239 | 837 | andreact | Apache License 2.0 |
src/commonMain/kotlin/kr/jadekim/logger/context/LogContext.kt | jdekim43 | 222,454,147 | false | {"Gradle Kotlin DSL": 10, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 4, "Kotlin": 30} | package kr.jadekim.logger.context
import co.touchlab.stately.collections.SharedHashMap
import co.touchlab.stately.concurrency.ThreadLocalRef
interface LogContext : Map<String, Any?> {
operator fun plus(other: LogContext?): LogContext
fun clone(): LogContext = LogContext(toMap())
fun toImmutable(): LogC... | 1 | null | 1 | 1 | 93ed846e0712322f5d16993470875467e33dc823 | 2,982 | j-logger | Apache License 2.0 |
shared/src/commonMain/kotlin/com/renting/app/core/auth/repository/external/RegistrationRequest.kt | vitalir2 | 603,790,041 | false | null | package com.renting.app.core.auth.repository.external
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
internal class RegistrationRequest(
@SerialName("username")
val login: String,
@SerialName("password")
val password: String,
@SerialName("email")
... | 1 | Kotlin | 0 | 0 | 415330e3bf70581a612ab9bda32ccc2094376d53 | 513 | renting-mobile | Apache License 2.0 |
src/main/kotlin/io/framed/model/bpmn/model/BpmnTask.kt | pixix4 | 180,147,298 | false | null | package io.framed.model.bpmn.model
import io.framed.model.bpmn.xml.XmlElement
class BpmnTask(
override val id: String,
override val name: String,
override var parent: BpmnElement?
) : BpmnFlowObject {
companion object {
fun parse(xml: XmlElement, parent: BpmnElement?) = BpmnTask(x... | 0 | Kotlin | 0 | 0 | 99095e08c0377c5647da4b546e2c0ed61a099604 | 358 | bpmn-bros-verifier | MIT License |
tiltak/src/test/kotlin/no/nav/amt/tiltak/tiltak/services/GjennomforingServiceImplTest.kt | navikt | 393,356,849 | false | null | package no.nav.amt.tiltak.tiltak.services
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.collections.shouldContainAll
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.mockk.every
import io.mockk.mockk
import no.nav.amt.tiltak.core.domain.tiltak.Deltaker
import no.n... | 4 | Kotlin | 3 | 3 | 59ebfd42eb4b8bcea2350e501058584fb80287b9 | 6,714 | amt-tiltak | MIT License |
tiltak/src/test/kotlin/no/nav/amt/tiltak/tiltak/services/GjennomforingServiceImplTest.kt | navikt | 393,356,849 | false | null | package no.nav.amt.tiltak.tiltak.services
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.collections.shouldContainAll
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.mockk.every
import io.mockk.mockk
import no.nav.amt.tiltak.core.domain.tiltak.Deltaker
import no.n... | 4 | Kotlin | 3 | 3 | 59ebfd42eb4b8bcea2350e501058584fb80287b9 | 6,718 | amt-tiltak | MIT License |
core/domain/src/main/kotlin/com/lolo/io/onelist/core/domain/use_cases/LoadAllLists.kt | lolo-io | 198,519,184 | false | {"Kotlin": 363415, "Roff": 549} | package com.lolo.io.onelist.core.domain.use_cases
import com.google.gson.JsonIOException
import com.google.gson.JsonSyntaxException
import com.lolo.io.onelist.core.data.datamodel.ListsWithErrors
import kotlinx.coroutines.flow.Flow
import java.io.FileNotFoundException
import com.lolo.io.onelist.core.data.repository.One... | 14 | Kotlin | 26 | 92 | ca7df6ec46344bde7c5e357d0784ecdfdecbb78e | 601 | OneList | MIT License |
src/main/kotlin/no/nav/familie/ef/mottak/featuretoggle/FeatureToggleService.kt | navikt | 204,919,927 | false | {"Kotlin": 442141, "Dockerfile": 185} | package no.nav.familie.ef.mottak.featuretoggle
import no.nav.familie.unleash.UnleashService
import org.springframework.stereotype.Service
@Service
class FeatureToggleService(
val unleashService: UnleashService,
) {
fun isEnabled(toggleId: String): Boolean = unleashService.isEnabled(toggleId, false)
}
| 0 | Kotlin | 3 | 0 | c244546c62bfbeae4c031bda0b52cc05c51525c2 | 312 | familie-ef-mottak | MIT License |
src/main/kotlin/com/odim/simulator/tree/templates/bmc/embedded/AttributesBmcTemplate.kt | ODIM-Project | 355,910,204 | false | null | /*
* Copyright (c) Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 1 | Kotlin | 0 | 7 | 7e8a3030ca83c040678f8edf76def588b2b01cca | 22,616 | BMCSimulator | Apache License 2.0 |
src/test/kotlin/gal/usc/citius/processmining/dfgfiltering/filtering/TwoWaysEdmondsGreedyTests.kt | david-chapela | 322,881,845 | false | null | package gal.usc.citius.processmining.dfgfiltering.filtering
import gal.usc.citius.processmining.dfgfiltering.graph.DirectedGraphBuilder
import org.amshove.kluent.shouldBeEqualTo
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
object TwoWaysEdmondsGreedyTests : Spek({
... | 0 | Kotlin | 0 | 0 | d73d1f3f3462f9ef3d699d8fafb1435084b472ef | 4,065 | dfg-edge-filtering | MIT License |
src/commonAntlr/kotlin/eopseox/parser/EopseoLexer.kt | eopseo-lang | 650,985,844 | false | null | // Generated from java-escape by ANTLR 4.7.1
package eopseox.parser
import com.strumenta.kotlinmultiplatform.asCharArray
import org.antlr.v4.kotlinruntime.CharStream
import org.antlr.v4.kotlinruntime.Lexer
import org.antlr.v4.kotlinruntime.ThreadLocal
import org.antlr.v4.kotlinruntime.Vocabulary
import org.antlr.v4.ko... | 0 | Kotlin | 0 | 0 | d0118094206b71cb0ed71246dff612569ae96653 | 17,451 | eopseo-parser-kotlin | Apache License 2.0 |
cassandra-service/src/main/kotlin/fund/cyber/cassandra/migration/configuration/MigrationRepositoryConfiguration.kt | GoodforGod | 129,151,733 | true | {"Kotlin": 332422, "Shell": 139} | package fund.cyber.cassandra.migration.configuration
import fund.cyber.cassandra.common.CassandraRepositoriesConfiguration
import fund.cyber.search.configuration.CASSANDRA_HOSTS
import fund.cyber.search.configuration.CASSANDRA_HOSTS_DEFAULT
import fund.cyber.search.configuration.CASSANDRA_PORT
import fund.cyber.search... | 0 | Kotlin | 0 | 1 | dcf7f09463cd76674326caf87509e048882b4176 | 2,620 | cyber-search | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.