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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
universities/src/main/java/com/mowael/universities/presentation/UniversitiesViewModel.kt | MohamedWael | 795,798,784 | false | {"Kotlin": 33243} | package com.mowael.universities.presentation
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.mowael.universities.domain.UniversitiesUseCase
import kotlinx.coroutines.launch
import javax.inject.Inject
c... | 0 | Kotlin | 0 | 0 | bf44605ef07dd175d200eea59af85472fc45e610 | 982 | UAE-Universties | MIT License |
NaturalExpress/app/src/main/java/com/naturalexpress/ui/requests/RequestsViewModel.kt | glrmeslp | 452,785,559 | false | null | package com.naturalexpress.ui.requests
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
class RequestsViewModel : ViewModel() {
private val _text = MutableLiveData<String>().apply {
value = "This is dashboard Fragment"
}
val text: Li... | 0 | Kotlin | 1 | 0 | fae757f98eb4c2cbffe12546becb5c31921b8d5c | 344 | NaturalExpressAndroid | MIT License |
src/main/kotlin/biz/lermitage/sub/service/checker/impl/Adoptium11LinuxChecker.kt | jonathanlermitage | 262,889,547 | false | {"Kotlin": 65831, "Shell": 1357, "Batchfile": 1172} | package biz.lermitage.sub.service.checker.impl
import biz.lermitage.sub.service.checker.Checker
import org.springframework.stereotype.Service
@Service
class Adoptium11LinuxChecker : AdoptiumChecker(11, "linux", "jdk", "x64"), Checker
| 0 | Kotlin | 3 | 5 | f9c32684cd268a09c554348df45d6bdb9dc43073 | 236 | software-updates-bot | MIT License |
app/src/main/java/nodomain/freeyourgadget/fossilnotify/activity/MainActivity.kt | alexbilevskiy | 622,469,193 | false | null | package nodomain.freeyourgadget.fossilnotify.activity
import android.Manifest
import android.content.ComponentName
import android.content.Intent
import android.content.IntentFilter
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import android.... | 0 | Kotlin | 0 | 0 | b7e48066e8251dafb516ef15062c36cadae6ba04 | 5,409 | fossilnotify | Apache License 2.0 |
src/main/kotlin/org/jetbrains/plugins/bsp/protocol/connection/BspConnectionDetailsGenerator.kt | JetBrains | 521,228,542 | false | null | package org.jetbrains.plugins.bsp.protocol.connection
import com.intellij.idea.LoggerFactory
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.observable.properties.ObservableMutableProperty
import com.intellij.openapi.vfs.VirtualFile
import kotlinx.coroutines.Dispatchers
import kotlinx.corouti... | 1 | Kotlin | 1 | 6 | 9205f41486af6062c2efbcb29f2d6d313a53c148 | 3,833 | intellij-bsp | Apache License 2.0 |
task-domain/src/main/kotlin/cz/kotox/task/domain/api/usecase/GetOneTaskUseCase.kt | kotoMJ | 575,403,398 | false | null | package cz.kotox.task.domain.api.usecase
import cz.kotox.task.data.api.respository.TaskRepository
import cz.kotox.task.domain.api.model.Task
import cz.kotox.task.domain.api.factory.toTask
import javax.inject.Inject
class GetOneTaskUseCase @Inject constructor(
private val taskRepository: TaskRepository
) {
sus... | 0 | Kotlin | 0 | 0 | c8d2cd3a66c2faea2f5356883aec3ff1690d11eb | 438 | kotox-android | MIT License |
test/src/commonTest/kotlin/com/github/ajalt/clikt/parameters/types/ULongTest.kt | ajalt | 128,975,548 | false | {"Kotlin": 619429, "Shell": 1858, "Batchfile": 662} | package com.github.ajalt.clikt.parameters.types
import com.github.ajalt.clikt.core.BadParameterValue
import com.github.ajalt.clikt.core.NoSuchOption
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.clikt.parameters.options.default
import com.github.ajalt.clikt.parameters.options.opti... | 9 | Kotlin | 120 | 2,520 | 5593cd0b3645a2862b45ea574b1ae0dcb2e5db91 | 2,762 | clikt | Apache License 2.0 |
src/main/java/com/protectednet/utilizr/encryption/EncryptionUtils.kt | chicobel | 359,753,582 | false | {"Kotlin": 97125} | package com.protectednet.utilizr.encryption
import android.util.Base64
import android.util.Log
import java.io.UnsupportedEncodingException
import java.math.BigInteger
import java.security.MessageDigest
import java.security.NoSuchAlgorithmException
import kotlin.experimental.and
object EncryptionUtils {
fun toSHA... | 0 | Kotlin | 0 | 1 | 57929f57a1b9d7e3f1bb9c92a85c5d7a62796cc0 | 2,477 | android-kotlin-utilizr | MIT License |
app/src/main/java/com/anyandroid/room/Post.kt | dmc0001 | 601,309,358 | false | null | package com.anyandroid.room
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "posts_table")
data class Post(
val user: User,
var title: String,
var body: String
)
{
@PrimaryKey(autoGenerate = true)
var id: Int = 0
}
| 0 | Kotlin | 0 | 0 | 0ee7fe9455b2bf24ee42cd4b831f8746eb0481d8 | 270 | working-with-room | MIT License |
projects/mercury-data-extractor/src/main/kotlin/uk/gov/justice/digital/hmpps/mercurydataextractor/controller/SQSController.kt | ministryofjustice | 649,658,401 | false | null | package uk.gov.justice.digital.hmpps.mercurydataextractor.controller
import com.fasterxml.jackson.databind.ObjectMapper
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bin... | 1 | Kotlin | 0 | 1 | fd7e870737f47ecd4b5d7d444cb94936ab5fcc87 | 2,013 | hmpps-mercury-data-monorepo | MIT License |
app/src/main/java/namnh/clean/github/GithubApp.kt | namnh-0652 | 247,247,289 | true | null | package namnh.clean.github
import dagger.android.AndroidInjector
import dagger.android.support.DaggerApplication
import namnh.clean.github.di.DaggerAppComponent
class GithubApp : DaggerApplication() {
override fun applicationInjector(): AndroidInjector<out DaggerApplication> {
return DaggerAppComponent.bu... | 0 | null | 0 | 0 | d69bdc56e0e032dcb242a1f92e85a1c513ccf799 | 362 | CleanAndroid | Apache License 2.0 |
src/main/kotlin/training/Lists.kt | CMIRA0906 | 422,648,545 | false | null | package training
fun main() {
val names= listOf("Cristian","Camilo","Eliecer")
println("The firts name is ${names.get(0)}")
println("The firts name is ${names[0]}")
var subNames = names.subList(1,3)
println(subNames)
var items = mutableListOf(2,4,6,8,10,10,10,10,14)
items[0]=1
items.... | 0 | Kotlin | 0 | 0 | 74185780f9afa65ecaae30ba1e122366d11c569a | 488 | kotlin_project | Apache License 2.0 |
cutlass-analyzers/src/test/kotlin/io/strlght/cutlass/analyzers/ToStringAnalyzerTest.kt | strlght | 365,810,651 | false | null | package io.strlght.cutlass.analyzers
import io.strlght.cutlass.test.AnalyzerRule
import io.strlght.cutlass.test.assert
import org.junit.Rule
import org.junit.Test
class ToStringAnalyzerTest {
@get:Rule
val analyzerRule = AnalyzerRule(ToStringAnalyzer::class.java)
@Test
fun basic() {
analyzerR... | 1 | Kotlin | 0 | 4 | 7658df7b6cb659a760be6883fbf87c531e500627 | 4,375 | cutlass | Apache License 2.0 |
src/main/kotlin/crdu/demo/events/GenerateTodosActivityReport.kt | CristianDuta | 342,874,564 | false | null | package crdu.demo.events
import org.http4k.events.Event
data class GenerateTodosActivityReport(
val userId: Int
) : Event | 0 | Kotlin | 0 | 2 | cd3d409aa816e468c770a705c11fd59d4d861519 | 127 | demo-using-fakes | MIT License |
shared/presentation/src/commonMain/kotlin/home/HomeComposables.kt | Dragoonov | 653,808,838 | false | null | package home
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.SnackbarDuration
import androidx.compose.material.SnackbarHostState
impor... | 0 | Kotlin | 0 | 0 | ee20a5fa999669c280470131f169ffde0a7f994a | 4,149 | RigPlay | Apache License 2.0 |
app/src/main/java/com/cactusteam/money/ui/widget/period/ThisYearReportPeriod.kt | miserenkov | 184,610,310 | false | null | package com.cactusteam.money.ui.widget.period
import android.content.Context
import com.cactusteam.money.R
import com.cactusteam.money.data.period.Period
/**
* @author vpotapenko
*/
class ThisYearReportPeriod(context: Context) : BaseReportPeriod(context) {
override fun calculatePeriod() {
val period = ... | 0 | Kotlin | 2 | 0 | 8350f7e932e0d57496cf9ae2636c6fb8993f9aba | 520 | moneyapp-android-1 | Apache License 2.0 |
jetbrains-core/src/software/aws/toolkits/jetbrains/utils/execution/steps/Context.kt | Takuya-Miyazaki | 332,524,185 | true | {"Kotlin": 3225387, "C#": 98047, "Java": 15092, "Dockerfile": 1580} | // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.utils.execution.steps
import com.intellij.openapi.progress.ProcessCanceledException
import com.intellij.openapi.project.Project
import software.aws.toolkits.core.ut... | 7 | null | 0 | 0 | a1914e27adba3b983feb8b6d8220308ed7602f55 | 1,353 | aws-toolkit-jetbrains | Apache License 2.0 |
test/src/me/anno/tests/ui/MaterialInSubUI.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 9663067, "C": 236481, "GLSL": 9454, "Java": 7586, "Lua": 4315} | package me.anno.tests.ui
import me.anno.config.DefaultConfig.style
import me.anno.ecs.components.mesh.Material
import me.anno.ecs.components.mesh.MeshComponent
import me.anno.engine.ECSRegistry
import me.anno.engine.GameEngineProject
import me.anno.engine.GameEngineProject.Companion.currentProject
import me.anno.engin... | 0 | Kotlin | 3 | 17 | bca49870309dc54c57daba1888c8faa2a3165025 | 1,197 | RemsEngine | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/appconfig/ActionPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.appconfig
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.appconfig.CfnExtension
@Generated
public fun buildActionProperty(initializer: @AwsCdkDsl
CfnExtension.ActionProperty.Builder... | 1 | Kotlin | 0 | 0 | e9a0ff020b0db2b99e176059efdb124bf822d754 | 433 | aws-cdk-kt | Apache License 2.0 |
domain/api/src/commonMain/kotlin/mehiz/abdallah/progres/api/dto/AcademicDecisionDto.kt | abdallahmehiz | 830,308,163 | false | {"Kotlin": 449026, "Swift": 621} | package mehiz.abdallah.progres.api.dto
import kotlinx.serialization.Serializable
@Serializable
data class AcademicDecisionDto(
val annuel: Boolean,
val coefficient: Double? = null,
val credit: Double? = null,
val creditAcquis: Double? = null,
val creditObtenu: Double? = null,
val cumulCreditPrecedent: Dou... | 1 | Kotlin | 0 | 8 | 331d3c6c8caa126fdc7df033f2574cd3aa8f8e80 | 601 | progres | MIT License |
arrow-instances/src/main/kotlin/arrow/instances/eithert.kt | rubythonode | 120,027,864 | true | {"Kotlin": 1404949, "CSS": 118096, "HTML": 9871, "JavaScript": 7457, "Java": 4423, "Shell": 3057} | package arrow.instances
import arrow.HK
import arrow.core.Either
import arrow.core.Eval
import arrow.core.Left
import arrow.data.*
import arrow.typeclasses.*
interface EitherTFunctorInstance<F, L> : Functor<EitherTKindPartial<F, L>> {
fun FF(): Functor<F>
override fun <A, B> map(fa: EitherTKind<F, L, A>, f:... | 0 | Kotlin | 0 | 0 | 18e8320b3ae19e9756c3122a03b0c137b1c2b9da | 3,231 | arrow | Apache License 2.0 |
core/src/main/kotlin/com/justai/jaicf/channel/jaicp/JaicpBotChannel.kt | discodasha | 276,730,180 | true | {"Kotlin": 314034, "Java": 44400} | package com.justai.jaicf.channel.jaicp
import com.justai.jaicf.api.BotApi
import com.justai.jaicf.channel.BotChannel
import com.justai.jaicf.channel.http.HttpBotChannel
/**
* Basic interface for all (native or compatible) JAICP channels.
*/
interface JaicpBotChannel : BotChannel
/**
* Basic interface for external... | 0 | Kotlin | 0 | 0 | 12167490eeb9c67a1783f5148eb7c49ad5dd2058 | 1,931 | jaicf-kotlin | Apache License 2.0 |
sections_old/Section 5/demo-jpa/src/main/kotlin/com/example/demo/data/repository/ItemRepository.kt | telpay | 408,523,517 | true | {"Kotlin": 115874, "Java": 4740} | package com.example.demo.data.repository
import com.example.demo.data.entity.Item
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import org.springframework.data.jpa.repository.Modifying
import org.springframework.data.jpa.repository.... | 0 | null | 0 | 0 | f4ae3ab650c866f63651ea41768e0a73774c9f82 | 849 | Spring-Kotlin-iThome-2021 | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ecs/SystemControlPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.ecs
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.ecs.CfnTaskDefinition
@Generated
public fun buildSystemControlProperty(initializer: @AwsCdkDsl
CfnTaskDefinition.SystemControlProp... | 1 | Kotlin | 0 | 0 | e9a0ff020b0db2b99e176059efdb124bf822d754 | 473 | aws-cdk-kt | Apache License 2.0 |
financial-connections/src/main/java/com/stripe/android/financialconnections/ui/FinancialConnectionsSheetNativeActivity.kt | stripe | 6,926,049 | false | null | package com.stripe.android.financialconnections.ui
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import androidx.activity.addCallback
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundatio... | 87 | Kotlin | 606 | 1,133 | 8103aa6791ce4de7739d201f35e3572334a60553 | 14,613 | stripe-android | MIT License |
app/src/main/java/ly/david/mbjc/ui/relation/RelationListItem.kt | lydavid | 458,021,427 | false | null | package ly.david.mbjc.ui.relation
import android.content.res.Configuration
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.ListItem
import andr... | 27 | Kotlin | 0 | 3 | 50f78703164a8d880e955800e7bbe0a1150ed45a | 4,686 | MusicSearch | Apache License 2.0 |
sample/app/src/main/java/dev/tuongnt/tinder/di/DataModule.kt | alanrb | 296,359,249 | false | null | package dev.tuongnt.tinder.di
import dev.tuongnt.tinder.data.repo.UserRepositoryImpl
import dev.tuongnt.tinder.domain.repo.UserRepository
import org.koin.dsl.module
val dataModule = module {
single<UserRepository> { UserRepositoryImpl(get(), get()) }
} | 0 | null | 0 | 0 | 4b70d16f40078747704a263b140f31fae03a5ce8 | 258 | Android-motion-layout | Apache License 2.0 |
character-detail/data/src/main/java/com/haldny/dragonball/character/detail/data/CharacterDetailRepositoryImpl.kt | haldny | 771,170,616 | false | {"Kotlin": 58917} | package com.haldny.dragonball.character.detail.data
import com.haldny.dragonball.character.detail.data.api.CharacterDetailApi
import com.haldny.dragonball.character.detail.data.mapper.toBusinessModel
import com.haldny.dragonball.character.detail.domain.CharacterDetailRepository
import com.haldny.dragonball.character.d... | 0 | Kotlin | 0 | 0 | 360f823818d830a24fb1f76d6cc959530faece32 | 894 | DragonBall-Compose | Apache License 2.0 |
app/app/src/main/java/dev/kevinesg/notepadapp/ui/theme/Type.kt | kevinesg | 580,732,488 | false | null | package dev.kevinesg.notepadapp.ui.theme
import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontStyle
import androidx.compose.ui.text.font.FontWeight
import ... | 0 | Kotlin | 0 | 0 | 39b063082829ef32e7c93ff2aee073955bba189c | 1,755 | Notepad.app | MIT License |
src/main/kotlin/org/anglur/joglext/jogl2d/impl/GLGraphicsDevice.kt | jonatino | 69,714,321 | false | {"Kotlin": 588625, "Java": 17760} | /*
* Copyright 2016 <NAME> <https://github.com/Jonatino>
*
* 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
*
* Unle... | 0 | Kotlin | 4 | 28 | b43cbe514a496e2a45b45475c0100622ea190dc0 | 1,357 | JOGL2D | Apache License 2.0 |
ui/src/main/java/com/mhacks/app/ui/events/widget/EventTimeLineItem.kt | a-ye13 | 207,436,130 | true | {"Kotlin": 302268, "Java": 2165} | package com.mhacks.app.ui.events.widget
import android.content.Context
import android.view.ViewGroup
import androidx.constraintlayout.widget.ConstraintLayout
import com.mhacks.app.data.models.Event
import com.mhacks.app.ui.events.model.EventSectionModel
import kotlinx.android.synthetic.main.events_timeline_item.view.*... | 0 | null | 0 | 0 | edf4ae94b7be31f25bf47a77062c74e80430c663 | 1,434 | mhacks-android | MIT License |
composables/src/commonMain/kotlin/eu/baroncelli/dkmpsample/composables/navigation/HandleBackButton.kt | dbaroncelli | 348,513,314 | false | null | package eu.baroncelli.dkmpsample.composables.navigation
import androidx.compose.runtime.Composable
import eu.baroncelli.dkmpsample.shared.viewmodel.Navigation
@Composable
expect fun Navigation.HandleBackButton() | 7 | Kotlin | 64 | 602 | 74009f93f7a1dd809ef7f21ceca4e2c0d1cbd67c | 213 | D-KMP-sample | Apache License 2.0 |
feature/app-theme/domain/src/main/kotlin/ru/maksonic/beresta/feature/app_theme/domain/usecase/AppThemeInteractor.kt | maksonic | 580,058,579 | false | {"Kotlin": 1622432} | package ru.maksonic.beresta.feature.app_theme.domain.usecase
import ru.maksonic.beresta.feature.app_theme.domain.AppThemeDomain
import ru.maksonic.beresta.feature.app_theme.domain.AppThemePaletteDomain
import ru.maksonic.beresta.feature.app_theme.domain.AppThemeRepository
/**
* @Author maksonic on 13.10.2023
*/
int... | 0 | Kotlin | 0 | 0 | 227b0a5f6c27b0f731b1f6e81b1fe2deeaa720aa | 885 | Beresta | MIT License |
telegram-bot-core/src/main/kotlin/io/github/dehuckakpyt/telegrambot/api/ex/TelegramReactionExApi.kt | DEHuckaKpyT | 670,859,055 | false | {"Kotlin": 517509} | package io.github.dehuckakpyt.telegrambot.api.ex
import io.github.dehuckakpyt.telegrambot.api.TelegramReactionApi
import io.github.dehuckakpyt.telegrambot.model.type.ReactionType
/**
* Created on 11.01.2024.
*<p>
*
* @author Denis Matytsin
*/
interface TelegramReactionExApi : TelegramReactionApi {
suspend ... | 1 | Kotlin | 0 | 9 | fd400d4222cf7b10964bb350a943f4d6e7c6f5bd | 624 | telegram-bot | Apache License 2.0 |
app/src/main/java/ru/nightgoat/weather/core/extentions/ContextExt.kt | NightGoat | 255,927,899 | false | {"Kotlin": 101372} | package ru.nightgoat.weather.core.extentions
import android.content.Context
import android.graphics.Typeface
import ru.nightgoat.weather.core.utils.FONTS_PATH
fun Context.createTypeFace(): Typeface? = Typeface.createFromAsset(
this.assets,
FONTS_PATH
) | 0 | Kotlin | 0 | 2 | dddb5463ded919f43fd1450bb0fcdffc34a2752e | 262 | WeatherAndroidApp | MIT License |
net.akehurst.language/agl-processor/src/commonMain/kotlin/agl/runtime/graph/GrowingChildren.kt | dhakehurst | 197,245,665 | false | null | /**
* Copyright (C) 2020 Dr. David H. Akehurst (http://dr.david.h.akehurst.net)
*
* 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
... | 2 | Kotlin | 5 | 36 | c4a404149d165ea57220f978c5f2bde3ac6f14f3 | 15,800 | net.akehurst.language | Apache License 2.0 |
src/main/kotlin/com/jalgoarena/JAlgoArenaAuthServer.kt | natalia75 | 108,680,756 | true | {"Kotlin": 52398, "Shell": 103} | package com.jalgoarena
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.cloud.netflix.eureka.EnableEurekaClient
import org.springframework.con... | 0 | Kotlin | 0 | 0 | 938af56fca76807d1cb181dc569d110b920d8706 | 1,199 | JAlgoArena-Auth | Apache License 2.0 |
app/src/main/java/com/github/androidhappyclub/datasample/StudentDbActivity.kt | AndroidHappyClub | 732,649,245 | false | {"Kotlin": 83338, "Java": 3464} | /*
* MIT License
*
* Copyright (c) 2024 AndroidHappyClub
*
* 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,... | 0 | Kotlin | 0 | 1 | 6347e4864e0bf06ce828927e129a537507f2339d | 7,181 | DataSample | MIT License |
app/src/main/kotlin/de/digitalService/useID/util/CoroutineContextProvider.kt | digitalservicebund | 486,188,046 | false | null | package de.digitalService.useID.util
import kotlinx.coroutines.Dispatchers
import javax.inject.Inject
import javax.inject.Singleton
import kotlin.coroutines.CoroutineContext
@Singleton
class CoroutineContextProvider @Inject constructor() : CoroutineContextProviderType {
override val Default: CoroutineContext by l... | 2 | Kotlin | 2 | 5 | bfb1bea70b827563f80ff9828439de37197a431f | 484 | useid-app-android | MIT License |
src/test/kotlin/no/nav/dagpenger/grunnbelop/features/GrunnbeløpSteps.kt | navikt | 380,168,317 | false | {"Kotlin": 37400, "Gherkin": 1010} | package no.nav.dagpenger.grunnbelop.features
import io.cucumber.java8.No
import io.kotest.assertions.withClue
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import no.nav.dagpenger.grunnbelop.Grunnbeløp
import no.nav.dagpenger.grunnbelop.Regel
import no.nav.dagpenger.grunnbelop.Regel.Grunnlag... | 1 | Kotlin | 0 | 0 | 99c83c4bc0df72fb3950cd6ea2fa751d9d5ecfaa | 2,811 | dp-grunnbelop | MIT License |
app/src/main/java/in/dragonbra/vapulla/broadcastreceiver/IgnoreRequestReceiver.kt | Longi94 | 123,719,266 | false | null | package `in`.dragonbra.vapulla.broadcastreceiver
import `in`.dragonbra.vapulla.service.SteamService
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import org.jetbrains.anko.startService
class IgnoreRequestReceiver : BroadcastReceiver() {
companion object {
... | 7 | Kotlin | 1 | 7 | 0984265dfe0308131d72019d095e501baaf620ca | 764 | Vapulla | Apache License 2.0 |
src/main/java/ru/hollowhorizon/hc/client/audio/formats/Mp3Format.kt | HollowHorizon | 450,852,365 | false | {"Kotlin": 1204836, "Java": 256412, "GLSL": 44525} | package ru.hollowhorizon.hc.client.audio.formats
import org.lwjgl.system.MemoryUtil
import ru.hollowhorizon.hc.client.audio.Wave
import ru.hollowhorizon.hc.client.audio.decoder.*
import java.io.ByteArrayOutputStream
import java.io.InputStream
import java.nio.ByteOrder
object Mp3Format {
private const val DECODER... | 0 | Kotlin | 4 | 20 | e9a8a81a06eb9f355163d4fb966999dcd680727f | 3,981 | HollowCore | MIT License |
mobile/src/main/kotlin/io/github/delr3ves/dotto/flash/FlashManager.kt | delr3ves | 73,222,981 | false | null | package io.github.delr3ves.dotto.flash
import android.hardware.camera2.CameraCaptureSession
import android.hardware.camera2.CameraMetadata
import android.hardware.camera2.CaptureRequest
import io.github.delr3ves.dotto.core.model.IndicatorStatus
import io.github.delr3ves.dotto.core.model.IndicatorStatus.Off
import io.g... | 0 | Kotlin | 0 | 1 | 9ea01cd3010d701db6b739944168945efc5740ef | 1,493 | AndroidDotto | MIT License |
app/src/main/java/com/personal/weathering/search/presentation/SearchViewModel.kt | Avvami | 702,061,643 | false | {"Kotlin": 348568} | package com.personal.weathering.search.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 com.personal.weathering.core.data.local.SearchResultEn... | 0 | Kotlin | 1 | 2 | eb6c7b47d90bde7fb0b35f985b20ea06872de0df | 4,306 | Weathering | MIT License |
app/src/main/java/com/jetpack/multipledraggable/MainActivity.kt | MakeItEasyDev | 417,903,626 | false | {"Kotlin": 7977} | package com.jetpack.multipledraggable
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectDragGestures
import androidx.compose.foundation.layout.*
import androidx.... | 0 | Kotlin | 1 | 1 | 2a11fd71ec4633646a3d84139be40d6be76541d6 | 4,454 | Jetpack-Compose-Multiple-Draggable-Object | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/screens/Navigation.kt | hkawii | 342,975,575 | false | {"Kotlin": 55150} | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 2 | e3d6950c93a5b3008c63c06de5d47b61b8626767 | 1,461 | Purr-House | Apache License 2.0 |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/wall/methods/WallGetComment.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "MemberVisibilityCanBePrivate", "SpellCheckingInspection")
package name.anton3.vkapi.generated.wall.methods
import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import name.anton3.vkapi.generated.common.objects.UserGroupFields
import name.anton3.vkapi.generated.wall.objects.GetCommentRes... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 907 | kotlin-vk-api | MIT License |
kotlin-node/src/jsMain/generated/node/os/UserInfoStringOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package node.os
sealed external interface UserInfoStringOptions {
var encoding: node.buffer.BufferEncoding
}
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 168 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/docubox/data/remote/models/responses/StorageConsumption.kt | Vaibhav2002 | 499,822,014 | false | {"Kotlin": 142319} | package com.docubox.data.remote.models.responses
import com.google.gson.annotations.SerializedName
data class StorageConsumption(
@SerializedName("storageConsumption")
val storageConsumption: String = "",
@SerializedName("totalStorage")
val totalStorage: String = "50"
) | 0 | Kotlin | 8 | 38 | 5e8bccbc4c6dd1cb3c004224a4a407ebc913ec12 | 289 | DocuBox-AndroidApp | MIT License |
app/src/main/java/com/masterplus/trdictionary/features/list/presentation/show_list/navigation/ShowListNavigation.kt | Ramazan713 | 634,957,286 | false | {"Kotlin": 990286} | package com.masterplus.trdictionary.features.list.presentation.show_list.navigation
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass
import androidx.compose.runtime.getValue
import androidx.hilt.navigation.compose.hiltViewModel
import and... | 0 | Kotlin | 0 | 1 | 0aa1643c4347203f9339dfa4896bf176712472c9 | 1,540 | Turkce-ve-Osmanlica-Sozluk | Apache License 2.0 |
lib/rabbit/src/main/kotlin/vdi/component/rabbit/RabbitInstance.kt | VEuPathDB | 575,990,672 | false | {"Kotlin": 614384, "Java": 211077, "RAML": 89879, "Makefile": 2331, "Dockerfile": 729, "Shell": 493} | package vdi.component.rabbit
import com.rabbitmq.client.Channel
import com.rabbitmq.client.Connection
import kotlinx.coroutines.*
import org.slf4j.LoggerFactory
import kotlin.time.Duration.Companion.seconds
private const val MaxChannelRetries = 5
private val RetryDelay = 1.seconds
internal class RabbitInstance(priva... | 47 | Kotlin | 0 | 0 | 5639c59dc59bbc2e3960e34ea25e9d4db3f49c70 | 1,631 | vdi-service | Apache License 2.0 |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/luna_rite/LunaRiteTakeSacrificeRewardRsp.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.activity.luna_rite
import org.anime_game_servers.core.base.Version.GI_2_1_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.proto.Pr... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 632 | anime-game-multi-proto | MIT License |
app/src/main/kotlin/app/viewmodel/BaseViewModel.kt | levibostian | 640,550,940 | false | null | package app.viewmodel
import android.app.Activity
import android.os.Build
import androidx.lifecycle.ViewModel
import app.android.AndroidFeature
import app.store.KeyValueStorage
import app.ui.type.RuntimePermission
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
// Class that a... | 8 | Kotlin | 0 | 0 | f001dd86ce9c42220ce84272de8404b3fe888155 | 2,741 | BatteryBird | MIT License |
sample-android/src/main/java/com/chrynan/sample/ui/adapter/DiffDispatcher.kt | chRyNaN | 51,400,387 | false | null | package com.chrynan.sample.ui.adapter
interface DiffDispatcher<VM : UniqueAdapterItem> {
suspend fun dispatchDiff(diff: DiffResult<VM>)
}
| 0 | Kotlin | 5 | 28 | 5a2e21c9b4789c878f0459e3d5c6fcfcbc66658d | 144 | chords | Apache License 2.0 |
modules/bridge/src/main/kotlin/ru/astrainteractive/discordbot/module/bridge/model/MessageData.kt | Astra-Interactive | 584,452,095 | false | {"Kotlin": 44477} | package ru.astrainteractive.discordbot.module.bridge.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import ru.astrainteractive.messagebridge.messaging.model.MessageEvent
@Serializable
@SerialName("MessageData")
internal sealed interface MessageData
@Serializable
@SerialName("... | 2 | Kotlin | 0 | 0 | 8ebededeb5876e7275850548e921aa464abc23b0 | 534 | TelegramBridge | MIT License |
basics/src/main/kotlin/com/example/demo/DemoApplication.kt | joshlong-attic | 108,974,244 | false | {"Shell": 12936, "Batchfile": 9988, "Kotlin": 9107} | package com.example.demo
import org.jetbrains.exposed.spring.SpringTransactionManager
import org.jetbrains.exposed.sql.*
import org.springframework.beans.factory.InitializingBean
import org.springframework.boot.ApplicationRunner
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframe... | 0 | Shell | 0 | 8 | 24ed2a7d9c1a466df73d8a581f5532783f10eb8b | 5,376 | kotlin-conf-2017 | Apache License 2.0 |
src/main/kotlin/com/simonschoof/tsmct/domain/Events.kt | simonschoof | 677,126,234 | false | {"Kotlin": 25981} | package com.simonschoof.tsmct.domain
data class InventoryItemCreated(
val name: String
) : Event()
data class InventoryItemNameChanged(
val newName: String
): Event()
data class InventoryItemsRemoved(
val count: Int
): Event()
data class InventoryItemsCheckedIn(
val count: Int
): Event()
data class... | 0 | Kotlin | 0 | 0 | e5a49bba53e494d15f0fd40e16f87b7b50b68f29 | 434 | tsmct | MIT License |
datasource/src/main/kotlin/gq/kirmanak/mealient/datasource/ktor/TokenChangeListenerKtor.kt | kirmanak | 431,195,533 | false | {"Kotlin": 476781} | package gq.kirmanak.mealient.datasource.ktor
import gq.kirmanak.mealient.datasource.TokenChangeListener
import gq.kirmanak.mealient.logging.Logger
import io.ktor.client.HttpClient
import io.ktor.client.plugins.auth.Auth
import io.ktor.client.plugins.auth.providers.BearerAuthProvider
import io.ktor.client.plugins.plugi... | 16 | Kotlin | 2 | 99 | 6f8a9520f3736ae641e4541d24afb0dcf9623ea0 | 840 | Mealient | MIT License |
app/src/main/java/org/covidwatch/android/data/UserFlow.kt | atiqaraj | 265,264,915 | true | {"Kotlin": 104726} | package org.covidwatch.android.data
sealed class UserFlow
object FirstTimeUser : UserFlow()
object ReturnUser : UserFlow() | 0 | null | 0 | 0 | c4484fc1a706e542aecfcf4f0377e48fb6cc1bc2 | 125 | covidwatch-android-en | Apache License 2.0 |
src/main/kotlin/sh/astrid/mizuki/commands/Reload.kt | astridlol | 588,225,747 | false | null | package sh.astrid.mizuki.commands
import org.bukkit.command.Command
import org.bukkit.command.CommandExecutor
import org.bukkit.command.CommandSender
import org.bukkit.command.ConsoleCommandSender
import org.bukkit.entity.Player
import sh.astrid.mizuki.Mizuki
class Reload : CommandExecutor {
init {
Mizuki... | 2 | Kotlin | 2 | 5 | 5e3fda449024ed1bb987fea80653ba5406dbc6d4 | 767 | Mizuki | Apache License 2.0 |
src/main/kotlin/hullmods/Retreat.kt | isturdy | 169,434,831 | false | null | package com.github.isturdy.automaticorders.hullmods
import com.fs.starfarer.api.combat.BaseHullMod
import com.fs.starfarer.api.combat.ShipAPI
class DirectRetreat : BaseHullMod() {
companion object {
const val ID = "automatic_orders_direct_retreat"
}
}
class RetreatNoMissiles : BaseHullMod() {
com... | 0 | Kotlin | 2 | 2 | 893d36e72e523655e560ab632538936e75bedeb9 | 1,474 | automatic-orders | MIT License |
app/src/main/java/com/demo/virginmoneydemo/adapters/HomePagerAdapter.kt | arpitbandil | 515,951,286 | false | {"Kotlin": 30713} | package com.demo.virginmoneydemo.adapters
import androidx.fragment.app.Fragment
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.demo.virginmoneydemo.ui.people.PeopleFragment
import com.demo.virginmoneydemo.ui.rooms.RoomsListFragment
const val PEOPLES_PAGE_INDEX = 0
const val ROOM_LIST_PAGE_INDEX = ... | 0 | Kotlin | 0 | 0 | 7b1c5a53bdd718e74c9f5fc6e9a985a95206185f | 810 | mvvm_with_di_demo | MIT License |
src/commonMain/kotlin/jp.kukv.ulid/Example.kt | kukv | 629,768,691 | false | null | package jp.kukv.ulid
fun echo(value: String): String = "echo by $value"
| 3 | Kotlin | 0 | 1 | 2700714a6c52bc57e5eb0fdd1a40248d812ba0a4 | 73 | kotlin-ulid | MIT License |
library/src/main/java/com/chenfei/util/ActivityIntentQueue.kt | chenfei0928 | 130,954,695 | false | null | package com.chenfei.util
import android.content.Context
import android.content.Intent
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import com.chenfei.util.kotlin.removeSelf
import java.util.*
/**
* activity初始化流程中可能需要连续启动多个子activity,
* 但这些activity可能会有先后顺序,或它们之间不应覆盖,要one by one的显... | 0 | Kotlin | 0 | 0 | 3a1a4fb80e47f4f5d7ac1843cdda3bb0c9de4aba | 2,552 | Util | MIT License |
src/main/kotlin/org/celtric/kotlin/html/input.kt | celtric | 121,420,012 | false | null | package org.celtric.kotlin.html
fun input(
// Mandatory
type: String,
// Optional
accept: String? = null,
autocomplete: String? = null,
autofocus: Boolean = false,
capture: Boolean = false,
checked: Boolean = false,
disabled: Boolean = false,
list: String? = null,
max: Stri... | 1 | Kotlin | 3 | 25 | 70cd501bb534ad84f8c8c3a8f8fb18dddd7054e4 | 1,512 | kotlin-html | Apache License 2.0 |
shared/src/commonMain/kotlin/dev/pinkroom/pokedex/data/repository/PokedexRepository.kt | pink-room | 584,850,613 | false | null | package dev.pinkroom.pokedex.data.repository
import com.kuuurt.paging.multiplatform.Pager
import com.kuuurt.paging.multiplatform.PagingConfig
import com.kuuurt.paging.multiplatform.PagingData
import com.kuuurt.paging.multiplatform.PagingResult
import com.kuuurt.paging.multiplatform.helpers.cachedIn
import dev.pinkroom... | 1 | Kotlin | 1 | 8 | 380c65b2fe047dc83eecacacee9e923f8fb8c38f | 2,343 | Pokedex | Apache License 2.0 |
src/main/kotlin/samples/follow/UnfollowNonFollowers.kt | bardimardy | 301,651,456 | true | {"Kotlin": 249618} | package samples.follow
import bot.InstagramBot
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.runBlocking
@ExperimentalCoroutinesApi
fun main() {
val username = "your_instagram_username"
val password = "your_instagram_password"
val bo... | 0 | null | 0 | 0 | fc9d38dced83679ae1422cf5f0dc04974808e3cb | 484 | insta-bot | MIT License |
src/commonMain/kotlin/com/ashampoo/kim/common/FourCC.kt | Ashampoo | 647,186,626 | false | null | /*
* Copyright 2024 Ashampoo GmbH & Co. KG
*
* 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... | 8 | null | 8 | 172 | 5e6cd23c52abf8c840b235eb68744a9ab135c235 | 1,226 | kim | Apache License 2.0 |
resume-ab-logics/src/main/kotlin/ru/otus/otuskotlin/resume/logics/workers/RepoUpdate.kt | otuskotlin | 377,710,400 | false | null | package ru.otus.otuskotlin.resume.logics.workers
import ru.otus.otuskotlin.resume.backend.common.context.CorStatus
import ru.otus.otuskotlin.resume.backend.common.context.ResumeContext
import ru.otus.otuskotlin.resume.backend.repo.common.DbResumeIdRequest
import ru.otus.otuskotlin.resume.backend.repo.common.DbResumeMo... | 0 | Kotlin | 0 | 0 | 920d87731a128acc1c113acd393dcc09ed01411a | 967 | ok-202105-resume-ab | MIT License |
domain/src/main/java/com/mctech/stocktradetracking/domain/stock_share/interaction/strategies/ComputeBalanceStrategy.kt | MayconCardoso | 258,571,301 | false | null | package com.mctech.stocktradetracking.domain.stock_share.interaction.strategies
import com.mctech.stocktradetracking.domain.extentions.round
import com.mctech.stocktradetracking.domain.stock_share.entity.StockShare
import com.mctech.stocktradetracking.domain.stock_share.entity.StockShareFinalBalance
/**
* This class... | 14 | Kotlin | 14 | 91 | 0c8757ea6822eb5d65cf39d82e60ede13bf55346 | 1,009 | StockTradeTracking | Apache License 2.0 |
token-service/src/main/java/org/p2p/token/service/model/UpdateTokenMetadataResult.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.token.service.model
import org.p2p.core.token.TokensMetadataInfo
sealed interface UpdateTokenMetadataResult {
object NoUpdate : UpdateTokenMetadataResult
data class NewMetadata(val remoteTokensMetadata: TokensMetadataInfo) : UpdateTokenMetadataResult
data class Error(val throwable: Thro... | 8 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 357 | key-app-android | MIT License |
src/test/kotlin/com/melardev/spring/restcrud/RestCrudApplicationTests.kt | melardev | 190,716,423 | false | null | package com.melardev.spring.restcrud
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit4.SpringRunner
@RunWith(SpringRunner::class)
@SpringBootTest
class RestCrudApplicationTests {
@Test
fun contextLoads() ... | 0 | Kotlin | 0 | 0 | 73a5563226ce39a2950ea0187b825372b30a8265 | 328 | KotlinSpringBootApiJpaCrud | MIT License |
catan/src/main/kotlin/design/cardia/game/catan/game/usecase/PlaceRoad.kt | Spanner41 | 419,025,235 | false | {"Kotlin": 35031} | package design.cardia.game.catan.game.usecase
import design.cardia.game.catan.entity.Catan
import design.cardia.game.catan.event.RoadBuiltEvent
import design.cardia.game.engine.event.EventEnqueue
import org.springframework.stereotype.Service
import java.util.UUID
@Service
class PlaceRoad(
private val eventQueue: ... | 0 | Kotlin | 0 | 0 | 1304ad30845c9426235c8fff9d0445961817967b | 501 | kt-board-game-engine | MIT License |
src/main/kotlin/com/robotutor/iot/accounts/models/Policy.kt | IOT-echo-system | 768,195,181 | false | {"Kotlin": 180103, "HTML": 428, "Shell": 151, "Dockerfile": 130} | package com.robotutor.iot.accounts.models
import org.bson.types.ObjectId
import org.springframework.data.annotation.Id
import org.springframework.data.annotation.TypeAlias
import org.springframework.data.mongodb.core.index.Indexed
import org.springframework.data.mongodb.core.mapping.Document
const val POLICY_COLLECTI... | 0 | Kotlin | 0 | 0 | 75c6801f3288d7988a43af1c7f5c51dc1ea56418 | 581 | cloud-backend-service | MIT License |
nebulosa-xisf/src/main/kotlin/nebulosa/xisf/Xisf.kt | tiagohm | 568,578,345 | false | {"Kotlin": 2562989, "TypeScript": 464111, "HTML": 237584, "JavaScript": 49239, "SCSS": 13679, "Python": 2817, "Makefile": 160} | package nebulosa.xisf
import nebulosa.image.format.Hdu
import nebulosa.image.format.ImageRepresentation
import nebulosa.io.SeekableSource
import okio.Sink
import java.util.*
/**
* Represents a XISF image.
*/
open class Xisf : LinkedList<Hdu<*>>, ImageRepresentation {
constructor() : super()
constructor(hd... | 4 | Kotlin | 2 | 4 | b122c890df5ad63f828c468cb600310ddbcec99b | 548 | nebulosa | MIT License |
data/src/main/java/com/example/data/core/DatabaseModule.kt | jorgela92 | 183,626,476 | false | null | package com.example.data.core
import com.google.firebase.firestore.FirebaseFirestore
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
@Module
class DatabaseModule {
@Provides
@Singleton
fun providesFirebaseFirestore(): FirebaseFirestore = FirebaseFirestore.getInstance()
} | 0 | Kotlin | 3 | 0 | 744642feba9473bc15fc98ef8f6ecc2d094f38ba | 312 | ChatApp-Android | MIT License |
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/dotcover/report/model/DotCoverClass.kt | JetBrains | 49,584,664 | false | {"Kotlin": 2711266, "C#": 319161, "Java": 95520, "Dockerfile": 831, "CSS": 123} | package jetbrains.buildServer.dotcover.report.model
import jetbrains.coverage.report.ClassInfo
import jetbrains.coverage.report.Entry
class DotCoverClass(private val _namespace: NamespaceInfo,
name: String,
private val _coveredFiles: CoveredFiles) : ClassInfo, ClassHolder {
... | 3 | Kotlin | 25 | 94 | cdecbf2c7721a40265a031453262614809d5378d | 1,768 | teamcity-dotnet-plugin | Apache License 2.0 |
2021/src/main/kotlin/day23.kt | madisp | 434,510,913 | false | {"Kotlin": 388138} | import Day23.Cell.EMPTY
import utils.Parser
import utils.Point3i
import utils.Solution
fun main() {
Day23.run()
}
object Day23 : Solution<Day23.Burrow>() {
override val name = "day23"
override val parser = Parser.lines.map { lines ->
val roomCells = lines.drop(2).filter { "#########" !in it }
.map { ... | 0 | Kotlin | 0 | 1 | 3f106415eeded3abd0fb60bed64fb77b4ab87d76 | 6,358 | aoc_kotlin | MIT License |
browser-kotlin/src/jsMain/kotlin/web/cssom/MediaQueryListEvent.types.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6915863} | // Automatically generated - do not modify!
package web.cssom
import seskar.js.JsValue
import seskar.js.JsVirtual
import web.events.EventTarget
import web.events.EventType
@JsVirtual
sealed external class MediaQueryListEventTypes :
MediaQueryListEventTypes_deprecated {
@JsValue("change")
fun <C : EventT... | 0 | Kotlin | 7 | 31 | d1315f1524758eb6883a4f7e0a0da46816152ed8 | 373 | types-kotlin | Apache License 2.0 |
demo/src/main/java/com/rozetkapay/demo/presentation/menu/MenuScreen.kt | rozetkapay | 869,498,229 | false | {"Kotlin": 223681} | package com.rozetkapay.demo.presentation.menu
import android.content.res.Configuration
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation... | 0 | Kotlin | 0 | 0 | da2574a3a8a6a9e2f04a2b47a75221c8d4c8faa8 | 4,706 | android-sdk | MIT License |
src/main/kotlin/nvd/NVDResponseStructures/extensions/metricToBaseData.kt | vobbla16 | 605,997,235 | false | null | package nvd.NVDResponseStructures.extensions
import nvd.returnStructures.MetricBaseData
import nvd.returnStructures.MetricBaseDataVersion
import nvd.NVDResponseStructures.Metrics
fun Metrics.toBaseData(): MetricBaseData {
if (this.cvssMetricV31 != null) {
return MetricBaseData(
MetricBaseDataV... | 0 | Kotlin | 0 | 0 | 2a2ce4225793dd79cfa43c0538b4c8452386d447 | 1,098 | verchk | MIT License |
src/commonMain/kotlin/matt/obs/prop/typed/typed.kt | mgroth0 | 521,720,515 | false | null | @file:OptIn(InternalSerializationApi::class, ExperimentalSerializationApi::class, ExperimentalSerializationApi::class)
package matt.obs.prop.typed
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.InternalSerializationApi
import... | 0 | Kotlin | 0 | 0 | 28b8465b14046b4c634bcd90b5d377e8fa5b0772 | 3,042 | obs | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Rules.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,280 | icons | MIT License |
app/src/test/java/com/anabelmm/imboredapp/model/RepositoryTest.kt | mtnez-anabel | 493,637,783 | false | null | package com.anabelmm.imboredapp.model
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.anabelmm.imboredapp.model.db.CardDAO
import com.anabelmm.imboredapp.model.db.CardEntity
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.runBlocking
import okhttp3.OkHttpClie... | 0 | Kotlin | 0 | 0 | 5496349d8ee74ff9a1aa45fc9a9e300494316c39 | 4,435 | ImBoredApp | MIT License |
app/src/main/java/an/maguste/android/navier/MainActivity.kt | AnnGal | 310,618,728 | false | {"Kotlin": 51463} | package an.maguste.android.navier
import an.maguste.android.navier.databinding.ActivityMainBinding
import an.maguste.android.navier.movieslist.FragmentMoviesListDirections
import an.maguste.android.navier.notifiactions.MovieNotifications
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
imp... | 0 | Kotlin | 0 | 0 | 76b52c6e3538fe999943c4aca1e34dd14472c43e | 2,074 | Navier | Apache License 2.0 |
qaf-ixin/src/main/kotlin/qaf/ixin/Supports.kt | phylame | 63,782,651 | false | null | /*
* Copyright 2015-2016 <NAME> <<EMAIL>>
*
* This file is part of IxIn.
*
* 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
*
* Unle... | 0 | Kotlin | 0 | 0 | c7ff839178ae2ef775f7864f34693351f74fd5f8 | 7,931 | qaf | Apache License 2.0 |
ggdsl-api/src/test/kotlin/org/jetbrains/kotlinx/ggdsl/dsl/LineType.kt | Kotlin | 502,039,936 | false | null | /*
* Copyright 2020-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.kotlinx.ggdsl.dsl
data class LineType(val description: String)
| 48 | Kotlin | 1 | 44 | 8a161098d0d946c28bde3cf3c7bea6a1eeba073c | 195 | ggdsl | Apache License 2.0 |
app/shared/f8e-client/impl/src/commonMain/kotlin/build/wallet/f8e/partnerships/GetPurchaseQuoteListServiceImpl.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.f8e.partnerships
import build.wallet.bitkey.f8e.FullAccountId
import build.wallet.f8e.F8eEnvironment
import build.wallet.f8e.client.F8eHttpClient
import build.wallet.f8e.partnerships.GetPurchaseQuoteListService.Success
import build.wallet.ktor.result.NetworkingError
import build.wallet.ktor.result... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 2,017 | bitkey | MIT License |
app/src/main/java/com/seif/booksislandapp/data/remote/dto/notification/NotificationDto.kt | SeifEldinMohamed | 570,587,114 | false | null | package com.seif.booksislandapp.data.remote.dto.notification
import com.google.gson.annotations.SerializedName
data class NotificationDto(
@SerializedName("notification") val fcmMessageDto: FCMMessageDto,
@SerializedName("to") val token: String = ""
)
| 0 | Kotlin | 0 | 0 | 8a65e6406811c2d6c59064c5e1af8f9493aa7cc2 | 262 | Books-Island-App | Apache License 2.0 |
app/src/main/java/com/ayia/workernotification/framework/Mappers.kt | ayiaware | 525,784,017 | false | null | package com.ayia.workernotification.framework
import com.ayia.workernotification.data.TodoEntity
import com.ayia.workernotification.domain.Todo
fun Todo.toEntity(): TodoEntity {
return TodoEntity(
id = id,
date = date,
title = title,
updated = updated,
done = isDone,
... | 0 | Kotlin | 0 | 3 | b9fc6c12d134d6c56b21c0863103e1d2c7171383 | 417 | WorkerNotification | MIT License |
app/src/main/java/com/ayia/workernotification/framework/Mappers.kt | ayiaware | 525,784,017 | false | null | package com.ayia.workernotification.framework
import com.ayia.workernotification.data.TodoEntity
import com.ayia.workernotification.domain.Todo
fun Todo.toEntity(): TodoEntity {
return TodoEntity(
id = id,
date = date,
title = title,
updated = updated,
done = isDone,
... | 0 | Kotlin | 0 | 3 | b9fc6c12d134d6c56b21c0863103e1d2c7171383 | 417 | WorkerNotification | MIT License |
app/src/main/java/com/oussama/portfolio/ui/fragments/DemoImagePiecesFragment.kt | Meglali20 | 752,721,331 | false | {"Kotlin": 255952, "Java": 21500, "Python": 7142, "GLSL": 5407} | package com.oussama.portfolio.ui.fragments
import android.annotation.SuppressLint
import android.graphics.Bitmap
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.MotionEvent
import android.view.View
import androidx.lifecycle.lifecycleScope
import com.bumptech.glide.Glide
... | 0 | Kotlin | 0 | 4 | 1437e6cf47fc7f4c64f46eee10c9d25b2399b649 | 4,918 | Portfolio-Android-MVVM | MIT License |
transferwise/src/test/java/com/transferwise/banks/account/login/HandleLoginViewModelTest.kt | JeroenMols | 335,055,882 | true | {"Kotlin": 448648} | /*
* Copyright 2019 TransferWise Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | null | 0 | 1 | ea0aa12bca3f1c15fbaad29c62b36893d7ce09a6 | 6,739 | banks-reference-android | Apache License 2.0 |
buildSrc/src/main/kotlin/family/amma/Dependencies.kt | AMMA-Family | 339,682,898 | false | null | @file:JvmMultifileClass
private const val kotlinVersion = "1.5.30"
object BuildPlugin {
const val gradle = "com.android.tools.build:gradle:7.0.1"
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
object Dependency {
const val xmlpull = "xmlpull:xmlpull:1.1.3.1"
const val... | 0 | Kotlin | 0 | 9 | 98364a6bf39aaaf37adba8c7c446b124c5352938 | 772 | android-navigation-deeplinks | MIT License |
src/main/kotlin/com/yapp/weekand/domain/sticker/entity/ScheduleSticker.kt | YAPP-Github | 475,727,764 | false | null | package com.yapp.weekand.domain.sticker.entity
import com.yapp.weekand.domain.schedule.entity.ScheduleRule
import com.yapp.weekand.domain.user.entity.User
import com.yapp.weekand.common.entity.BaseEntity
import java.time.LocalDate
import javax.persistence.*
@Entity
class ScheduleSticker(
@Id
@GeneratedValue(strateg... | 3 | Kotlin | 0 | 4 | 382c212a6af89c6009a776be8eb4de96c5c3d147 | 790 | 20th-ALL-Rounder-Team-1-BE | Apache License 2.0 |
app/src/main/java/com/aridwiprayogo/popularmovie/ui/movie/PopularMovieAdapter.kt | aridwiprayogo | 168,526,153 | false | null | package com.aridwiprayogo.popularmovie.ui.movie
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.aridwiprayogo.popularmovie.domain.model.PopularMovie
import com.aridwiprayogo.popularmovie.R
import com.aridwiprayogo.pop... | 0 | Kotlin | 4 | 7 | 1684fec7aa2f0375871e62a31958ffb7f0d06470 | 1,642 | PopularMovie | MIT License |
src/main/kotlin/viral_game/board_generators/RandomBoardGenerator.kt | AvansInformatica-Marc | 255,536,528 | false | null | @file:Suppress("EXPERIMENTAL_API_USAGE", "EXPERIMENTAL_UNSIGNED_LITERALS")
package viral_game.board_generators
import viral_game.data.Paradigm
import viral_game.grid.Coordinates
object RandomBoardGenerator {
val generator: BoardGenerator = { boardSize ->
{ coordinates ->
randomBoardGenerator(... | 0 | Kotlin | 0 | 0 | 310b1186c070b2fb660f6f5068e460f35153f433 | 1,462 | ViralGame | MIT License |
electronapp/src/main/kotlin/ElectronUtil.kt | olegchir | 300,762,256 | false | null | import Electron.*
class ElectronUtil {
companion object {
var app: App = Electron.app
public fun disableAllStandardShortcuts() {
Menu.setApplicationMenu(null);
}
public fun disableWindowShortcuts (browserWindow: BrowserWindow) {
browserWindow.setMenu(null)
... | 0 | Kotlin | 0 | 0 | 13edf73b6a1961ad3af048dab3cbc67dca3db9c9 | 816 | projector-launcher | MIT License |
modules/tak/core/src/main/kotlin/dev/jonpoulton/alakazam/tak/core/PluginContext.kt | jonapoul | 375,762,483 | false | {"Kotlin": 3035874, "Shell": 670} | package dev.jonpoulton.alakazam.tak.core
import android.content.Context
import android.content.ContextWrapper
import com.atak.plugins.impl.PluginContextProvider
import gov.tak.api.plugin.IServiceController
public class PluginContext(context: Context) : ContextWrapper(context) {
public constructor(serviceController:... | 0 | Kotlin | 0 | 0 | 18e415e5f6079ab8d18a4a2e4b630d8a52aedc30 | 447 | alakazam | Apache License 2.0 |
app/src/main/java/dev/maxsiomin/fiftycognitivedistortions/activity/AlarmReceiver.kt | MaxSiominDev | 469,830,503 | false | {"Kotlin": 24293} | package dev.maxsiomin.fiftycognitivedistortions.activity
import android.app.PendingIntent
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import dev.maxsiomin.fiftycognit... | 0 | Kotlin | 0 | 0 | 24ea7136ea0c77ef79e60f53359154a399943070 | 1,872 | 50-cognitive-distortions | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.