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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kmongo-annotation-processor/target/generated-sources/kapt/test/org/litote/kmongo/model/SubData_.kt | gaplo917 | 152,998,935 | true | {"Kotlin": 1005736, "Java": 1657, "Shell": 177} | package org.litote.kmongo.model
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Collection
import kotlin.collections.Map
import kotlin.reflect.KProperty1
import org.litote.kmongo.property.KPropertyPath
class SubData_<T>(previous: KPropertyPath<T, *>?, property: KProperty1<*, SubData?>) : TestDat... | 0 | Kotlin | 0 | 0 | af4011393c1ef24ebeaf40f0b68687c6289a91d3 | 1,660 | kmongo | Apache License 2.0 |
repository/src/androidTest/kotlin/ca/etsmtl/applets/repository/data/db/signets/CoursDaoTest.kt | ApplETS | 112,960,632 | false | null | package ca.etsmtl.applets.repository.data.db.signets
import androidx.test.runner.AndroidJUnit4
import ca.etsmtl.applets.repository.LiveDataTestUtil.getValue
import ca.etsmtl.applets.repository.data.db.DbTest
import ca.etsmtl.applets.repository.data.db.dao.signets.CoursDao
import ca.etsmtl.applets.repository.data.db.en... | 5 | Kotlin | 0 | 5 | b5afdd8fa110a5975a6ad096e172ce2b5f9eca51 | 3,755 | Notre-Dame-Android | Apache License 2.0 |
Zhidian/stock/src/main/java/com/example/stock/utils/CombineChartUtils.kt | EricMoin | 638,540,521 | false | null | /*
* @Copyright 2023 EricMoin
*
* 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 l... | 0 | Kotlin | 0 | 0 | 70912bec721dd55a3661211f76fd160f62036d7a | 7,822 | ZhiDianREP | Apache License 2.0 |
app/src/main/java/com/garan/wearwind/screens/SettingsDetail.kt | yschimke | 430,657,262 | true | {"Kotlin": 93384} | package com.garan.wearwind.screens
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEf... | 0 | Kotlin | 0 | 0 | 0308cda52c72946a06b0038b62e49d633ab85974 | 7,073 | wearwind | Apache License 2.0 |
app/src/main/java/com/imaginato/app/kotlinbase/ui/base/BasePresenter.kt | xukai59740 | 152,835,547 | false | null | package com.imaginato.app.kotlinbase.ui.base
/**
* Created by xukai on 2018/10/13.
*/
interface BasePresenter {
fun attachView(view: BaseView)
fun detachView()
} | 0 | Kotlin | 0 | 0 | 5207ed4cc15ff86e346359a762da46f2be226063 | 175 | kotlinbase | Apache License 2.0 |
presentation/src/main/java/com/novitsky/lentanewsclient/viewholders/CatalogViewHolderBinder.kt | DanilaNovit | 356,148,915 | false | null | package com.novitsky.lentanewsclient.viewholders
import androidx.recyclerview.widget.RecyclerView
import com.novitsky.domain.model.News
import com.novitsky.domain.model.NewsCategoryModel
class CatalogViewHolderBinder {
fun bind(viewHolder: RecyclerView.ViewHolder, category: NewsCategoryModel) {
if (viewHo... | 0 | Kotlin | 0 | 1 | 235d2dc5a2e005e7c86b375d392fb69a1ef86b59 | 947 | LentaNewsClient | Apache License 2.0 |
backend/authorization/src/main/kotlin/ru/itmo/hict/authorization/form/forms.kt | HiCT-Platform | 747,416,806 | false | {"Kotlin": 40198, "Dockerfile": 5326, "PLpgSQL": 1069} | package ru.itmo.hict.authorization.form
import jakarta.validation.constraints.Email
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull
import jakarta.validation.constraints.Size
class RegisterForm(
@NotNull @NotBlank @Size(min = 3, max = 64) val username: String,
@Not... | 0 | Kotlin | 0 | 0 | 0c558dccb762073e60277456a73e4fa661f937ff | 924 | hict-platform | MIT License |
src/main/java/math/vectors/AbstractVector2D.kt | Acrylic125 | 306,867,175 | false | null | package math.vectors
import kotlin.math.acos
abstract class AbstractVector2D<T : AbstractVector2D<T, N>, N : Number>(var x: N, var y: N)
: Vector<T, N> {
abstract fun add(x: N, y: N) : T
abstract fun subtract(x: N, y: N) : T
abstract fun multiply(x: N, y: N) : T
abstract fun divide(x: N, y: N)... | 0 | Kotlin | 0 | 0 | 1319a81d4c4bd5ea64414ad662539e1154776fa2 | 1,888 | AcrylicLib | MIT License |
app/src/main/java/com/vishnu/testapplication/TestFragment.kt | VishnuPrabhu | 429,514,902 | false | null | package com.vishnu.testapplication
import android.animation.AnimatorInflater
import android.animation.AnimatorSet
import android.animation.ValueAnimator
import android.graphics.Color
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragm... | 0 | Kotlin | 0 | 1 | 3dc3b632a7dad3b1579e2d9b009f78ff66b11730 | 1,008 | TestApplication | Apache License 2.0 |
app/src/main/java/android/ihorkostenko/animepedia/presentation/MainActivity.kt | matemink | 150,138,036 | false | null | package android.ihorkostenko.animepedia.presentation
import android.ihorkostenko.animepedia.presentation.ui.fragments.*
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import animepedia.android.ihorkostenko.animepedia.R
import android.view.View
import com.google.android.material.bottomnavigati... | 0 | Kotlin | 0 | 0 | b7e1f5082d057a6641601b58f714919ae44cb1e7 | 2,350 | Animepedia | Apache License 2.0 |
src/main/kotlin/no/nav/helse/flex/sykepengesoknad/kafka/ArbeidsgiverDTO.kt | navikt | 153,099,581 | false | {"Kotlin": 11101} | package no.nav.helse.flex.sykepengesoknad.kafka
data class ArbeidsgiverDTO(
val navn: String? = null,
val orgnummer: String? = null,
)
| 2 | Kotlin | 0 | 0 | 9f163a0092c45d1de9b60b8b4095f538b5d46535 | 144 | sykepengesoknad-kafka | MIT License |
app/src/main/java/com/enxy/noolite/core/utils/extension/Float.kt | enxy0 | 205,159,296 | false | null | package com.enxy.noolite.core.utils.extension
import android.content.res.Resources
import android.util.TypedValue
val Float.dp: Float
get() = TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_DIP, this, Resources.getSystem().displayMetrics
) | 0 | Kotlin | 0 | 0 | 3cbccb980bbb3fa479b6101e61898b7778e1cfe7 | 260 | Noolite | MIT License |
kedacom/src/main/java/com/mozhimen/study/basic/kedacom/demos/talk/TalkActivity.kt | mozhimen | 653,932,748 | false | {"Kotlin": 261635} | package com.mozhimen.study.basic.kedacom.demos.talk
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import com.mozhimen.study.basic.kedacom.databinding.ActivityTalkBinding
class TalkActivity : AppCompatActivity()... | 0 | Kotlin | 0 | 0 | 84b2eef9b382df0f60e74c1923aa9886ff1ce869 | 1,975 | Study_Android_Basic | MIT License |
src/jsMain/kotlin/dev.fritz2.kitchensink/demos/paperDemo.kt | jwstegemann | 317,500,321 | false | null | package dev.fritz2.kitchensink.demos
import dev.fritz2.components.lineUp
import dev.fritz2.components.paper
import dev.fritz2.dom.html.RenderContext
import dev.fritz2.kitchensink.base.*
import dev.fritz2.styling.span
import dev.fritz2.styling.theme.Theme
fun RenderContext.paperDemo() = contentFrame {
showcaseHead... | 3 | Kotlin | 0 | 5 | d488b786f6c67708aedbf75c77a072b42c60201b | 7,670 | fritz2-kitchensink | MIT License |
core/src/main/kotlin/event/guild/EmojisUpdateEvent.kt | jombidev | 507,000,315 | false | {"Kotlin": 2022642, "Java": 87103} | package dev.jombi.kordsb.core.event.guild
import dev.jombi.kordsb.common.entity.Snowflake
import dev.jombi.kordsb.core.Kord
import dev.jombi.kordsb.core.behavior.GuildBehavior
import dev.jombi.kordsb.core.entity.Guild
import dev.jombi.kordsb.core.entity.GuildEmoji
import dev.jombi.kordsb.core.entity.Strategizable
impo... | 0 | Kotlin | 0 | 4 | 7e4eba1e65e5454e5c9400da83bd2de883acf96d | 1,341 | kord-selfbot | MIT License |
app/src/main/java/com/example/camgallery/ImageFullActivity.kt | KalidasVijaybhak | 376,917,998 | false | null | package com.example.camgallery
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.bumptech.glide.Glide
class ImageFullActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.ac... | 0 | Kotlin | 0 | 0 | 1edcabdc886faf5541271bffb5e30e16f0812f7b | 601 | gallery_app_kotlin | MIT License |
app/src/main/java/science/credo/mobiledetector2/detector/old/OldCalibrationFinder.kt | Liam30acre | 370,784,891 | true | {"Kotlin": 229133, "C": 4441, "CMake": 212} | package science.credo.mobiledetector2.detector.old
import science.credo.mobiledetector2.detector.OldFrameResult
class OldCalibrationFinder {
companion object {
const val CALIBRATION_LENGHT = 500
}
var counter = 0
var avgSum = 0L
var maxSum = 0L
var blacksPercentageSum = 0f
suspe... | 0 | null | 0 | 0 | b033dc19731de656ee0f2b9455360b266d6f7a71 | 1,501 | credo-detector-android | MIT License |
app/src/main/java/science/credo/mobiledetector2/detector/old/OldCalibrationFinder.kt | Liam30acre | 370,784,891 | true | {"Kotlin": 229133, "C": 4441, "CMake": 212} | package science.credo.mobiledetector2.detector.old
import science.credo.mobiledetector2.detector.OldFrameResult
class OldCalibrationFinder {
companion object {
const val CALIBRATION_LENGHT = 500
}
var counter = 0
var avgSum = 0L
var maxSum = 0L
var blacksPercentageSum = 0f
suspe... | 0 | null | 0 | 0 | b033dc19731de656ee0f2b9455360b266d6f7a71 | 1,501 | credo-detector-android | MIT License |
hubdle-gradle-plugin/main/kotlin/com/javiersc/hubdle/project/extensions/apis/HubdleEnableableExtension.kt | JavierSegoviaCordoba | 348,863,451 | false | {"Kotlin": 511660, "CSS": 195} | package com.javiersc.hubdle.project.extensions.apis
import com.javiersc.gradle.properties.extensions.listProperty
import com.javiersc.gradle.properties.extensions.property
import com.javiersc.gradle.properties.extensions.setProperty
import com.javiersc.hubdle.project.extensions._internal.ApplicablePlugin
import com.ja... | 16 | Kotlin | 8 | 22 | b4b80596822741be337b65af3119db3b34454789 | 4,343 | hubdle | Apache License 2.0 |
app/src/main/java/org/listenbrainz/android/model/Metadata.kt | metabrainz | 550,726,972 | false | {"Kotlin": 1481175, "Ruby": 423} | package org.listenbrainz.android.model
import androidx.compose.runtime.Immutable
import com.google.gson.annotations.SerializedName
@Immutable
data class Metadata(
@SerializedName("blurb_content" ) val blurbContent: String? = null,
@SerializedName("created" ) val created: Int? = null,
@Seriali... | 25 | Kotlin | 31 | 99 | 573ab0ec6c5b87ea963f013174159ddfcd123976 | 1,842 | listenbrainz-android | Apache License 2.0 |
app/src/main/java/ca/uwaterloo/cs/form/FormState.kt | dgwarlug47 | 499,220,641 | false | null | package ca.uwaterloo.cs.form
class FormState {
var fields: List<Field> = listOf()
set(value) { field = value }
fun validate(): Boolean {
var valid = true
for (field in fields) if (!field.validate()) {
valid = false
break
}
return valid
}
... | 0 | Kotlin | 1 | 0 | 52d69e6b1979412079cf613189a5821b95d41ab9 | 401 | Online-Food-Retailer | MIT License |
src/main/kotlin/designpatterns/structural/bridge/appliance/Television.kt | phucynwa | 205,147,298 | false | null | package designpatterns.structural.bridge.appliance
class Television : Appliance {
override fun run() {
println("Television has been turned on.")
}
}
| 0 | Kotlin | 0 | 0 | 44a79f9c6fd3208a380501d6b986535bd7bbaec8 | 166 | Kotlin-Design-Patterns | MIT License |
server/common/src/main/kotlin/arcnode/nullprotect/server/WhiteOrBlackListDatabase.kt | afn-ArcNode | 851,178,180 | false | {"Kotlin": 63768, "Java": 18437} | /*
* Copyright 2024 ArcNode (AFterNode)
*
* 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 ap... | 0 | Kotlin | 0 | 1 | ea1168deba290c9eddda3bb552050c761c0c17a4 | 2,379 | NullProtect | Apache License 2.0 |
core/src/main/java/com/codeforcesvisualizer/core/components/CFPieChart.kt | islamdidarmd | 148,098,533 | false | {"Kotlin": 185614} | package com.codeforcesvisualizer.core.components
import android.annotation.SuppressLint
import android.widget.Toast
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.comp... | 0 | Kotlin | 0 | 8 | 37123b15662c0353bedd487127a54c4be55b52f9 | 3,108 | Codeforces-Companion | MIT License |
app/src/main/kotlin/com/akagiyui/drive/KenkoDriveApplication.kt | AkagiYui | 647,653,830 | false | {"Kotlin": 227183, "Java": 87795, "HTML": 812, "Dockerfile": 658} | package com.akagiyui.drive
import org.springframework.boot.Banner
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration
import org.springframework.boot.runApplication
import org.springframework.scheduling.a... | 4 | Kotlin | 3 | 9 | 6ff345645dfa83944ca4d36c02f9fa7b2162697f | 792 | KenkoDrive | MIT License |
src/test/kotlin/com/xxuz/piclane/smartpower/SmartPowerApplicationTests.kt | piclane | 602,955,953 | false | {"Kotlin": 43126, "TypeScript": 16189, "CSS": 1768, "SCSS": 1647, "Dockerfile": 1359, "JavaScript": 1008, "HTML": 905} | package com.xxuz.piclane.smartpower
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class SmartPowerApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Kotlin | 0 | 0 | d0521ced29663a02e9676eb597db096dcd465c1e | 228 | SmartPower | MIT License |
courses/dicoding-android-fundamental/fragment/MyFlexibleFragment/app/src/main/java/id/my/mrgsrylm/myflexiblefragment/HomeFragment.kt | mrgsrylm | 740,344,950 | false | {"Kotlin": 897760, "Swift": 3686, "Dart": 2768, "Java": 1281, "Shell": 1130, "JavaScript": 870} | package id.my.mrgsrylm.myflexiblefragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
class HomeFragment : Fragment(), View.OnClickListener {
override fun onCreateView(inflater... | 0 | Kotlin | 0 | 1 | a119e6b1a8cdbec7c00be2467a5ca78a395cde40 | 1,213 | kotlin-sandbox | MIT License |
customer-kotlin-coroutines/src/test/kotlin/com/prez/db/CustomerPreferencesRepositoryTest.kt | jaguiar | 317,158,906 | false | null | package com.prez.db
import com.prez.UsingMongoDB
import com.prez.model.CustomerPreferences
import com.prez.model.SeatPreference
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.Test
import org.springframework.beans.fa... | 12 | Kotlin | 0 | 2 | 141c553ae6a5f29a683d35670cc0f64572c97800 | 5,003 | customer-api | Apache License 2.0 |
app/src/full/java/com/celzero/bravedns/adapter/AppWiseDomainsAdapter.kt | celzero | 270,683,546 | false | {"Kotlin": 2457476, "Java": 7245} | /*
* Copyright 2021 RethinkDNS and its 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 297 | Kotlin | 122 | 2,384 | b742223504b86a44df47f5e00356b4e93fd9919b | 7,675 | rethink-app | Apache License 2.0 |
src/main/kotlin/com/example/springkotlinuserauthsqldatasource/entities/User.kt | fernandocsconceicao | 529,446,721 | false | {"Kotlin": 21902} | package com.example.springkotlinuserauthsqldatasource.entities
data class User(
val username: String,
val email: String,
val password: String? = null,
val enabled: Boolean,
) | 0 | Kotlin | 0 | 1 | de28cfaa9500a0238f9096d960e7732917d6b6c6 | 191 | Spring-Security | MIT License |
svg-to-compose/src/commonMain/kotlin/dev/tonholo/s2c/domain/avg/AvgGradientNode.kt | rafaeltonholo | 659,782,425 | false | {"Kotlin": 518715, "Shell": 5365} | package dev.tonholo.s2c.domain.avg
import dev.tonholo.s2c.domain.avg.gradient.AvgGradient
import dev.tonholo.s2c.domain.avg.gradient.AvgGradientTileMode
import dev.tonholo.s2c.domain.avg.gradient.AvgGradientType
import dev.tonholo.s2c.domain.avg.gradient.AvgLinearGradient
import dev.tonholo.s2c.domain.avg.gradient.Avg... | 5 | Kotlin | 2 | 61 | b3e7c5ffa041d5d31c686d72b9119661b5e4ce7b | 4,662 | svg-to-compose | MIT License |
library/src/main/java/com/github/ykrank/androidtools/widget/AlipayDonate.kt | UFR6cRY9xufLKtx2idrc | 853,383,380 | false | {"Kotlin": 1174002, "Java": 356564, "HTML": 20430} | package com.github.ykrank.androidtools.widget
import android.app.Activity
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.service.quicksettings.TileServic... | 0 | Kotlin | 0 | 0 | 7cfc58523207dc5ed5df4525c2e3de087cf9e8b9 | 5,781 | test24 | Apache License 2.0 |
app/src/main/java/pers/gargantua/notepad/MainActivity.kt | Gargantua7 | 304,656,089 | false | null | package pers.gargantua.notepad
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.StaggeredGridLayoutManager
import androidx.room.Room
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() ... | 0 | null | 0 | 0 | c7af384f74fd608afde9dce7fe0f99a5f7d49646 | 2,591 | Notepad | Apache License 2.0 |
modules/domain/src/main/java/eu/automateeverything/domain/automation/blocks/StateChangeTriggerBlockFactory.kt | tomaszbabiuk | 488,678,209 | false | {"Kotlin": 488812, "Vue": 135423, "JavaScript": 50516, "HTML": 795} | /*
* Copyright (c) 2019-2022 <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 agre... | 0 | Kotlin | 1 | 0 | ecec7d125a32bf416c534e0edcd6363730a1950c | 3,068 | automate-everything | Apache License 2.0 |
src/commonMain/kotlin/moe/tlaster/ktml/Ktml.kt | Tlaster | 523,281,403 | false | {"Kotlin": 197504} | package moe.tlaster.ktml
import moe.tlaster.ktml.dom.Element
import moe.tlaster.ktml.parser.SimpleParser
import moe.tlaster.ktml.parser.StringReader
import moe.tlaster.ktml.parser.Tokenizer
import moe.tlaster.ktml.parser.token.Token
object Ktml {
internal fun tokenize(text: String): List<Token> {
val read... | 0 | Kotlin | 1 | 9 | e42f0978525c4a659dd6b58e19a0637f7a62553f | 576 | ktml | MIT License |
kotlin-sorting-algorithms/src/test/kotlin/com/github/pavelannin/sorting/core/AbstractArraySortTest.kt | pavelannin | 138,204,576 | false | {"Kotlin": 69610} | /*
* MIT License
*
* Copyright (c) 2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 0 | Kotlin | 0 | 0 | 04ba5f9d1794659f166ab9d40d5eb2d12460644c | 3,056 | kotlin-sorting-algorithms | MIT License |
core/base/src/main/kotlin/com/milwen/blueprint/base/navigation/NavigationUtil.kt | Milwen1337 | 837,153,823 | false | {"Kotlin": 76078} | package com.milwen.blueprint.base.navigation
object NavigationUtil {
fun buildRoute(path: String, query: String) =
when (query.isBlank()) {
true -> path
false -> "$path?$query"
}
} | 0 | Kotlin | 0 | 0 | fb024f0cd98df0d55a5ca7fbc859af45e15fc5e5 | 226 | O2-Hiring-App | Apache License 2.0 |
src/commonTest/kotlin/uk/org/jurg/yakl/engine/v2/api/LoadSettingsTest.kt | jurgc11 | 250,645,845 | false | null | /*
* Copyright (c) 2018, http://www.snakeyaml.org
* Copyright (c) 2020, Chris Clifton
*
* 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 | 0 | 3 | 5677967ab51f4bc6096bd6b953248f389898aa9d | 3,430 | yakl | Apache License 2.0 |
library-kotlin/src/main/java/com/ncorti/kotlin/template/library/FactorialCalculator.kt | jedsada-gh | 251,239,449 | true | {"Kotlin": 14323} | package com.ncorti.kotlin.template.library
interface FactorialCalculator {
fun computeFactorial(input: Int): Long
}
| 0 | null | 0 | 1 | 0bfdd55cda205f6ee256d9c7b1cf194d48d31480 | 122 | kotlin-android-template | MIT License |
app/src/main/java/ru/teamdroid/recipecraft/ui/base/listeners/OnSubmitClickListener.kt | teamdroid | 137,402,639 | false | {"Kotlin": 123304} | package ru.teamdroid.recipecraft.ui.base.listeners
interface OnSubmitClickListener {
fun onSubmitClicked(list: ArrayList<String>)
} | 1 | Kotlin | 2 | 4 | 2a7634e7e810c661ac6f3afd2afa28ae50dba556 | 136 | recipecraft | MIT License |
app/src/main/java/com/ethosa/ktc/college/CollegeCallback.kt | Ethosa | 453,099,570 | false | null | package com.ethosa.ktc.college
import android.util.Log
import androidx.annotation.Keep
import okhttp3.Call
import okhttp3.Callback
import java.io.IOException
/**
* Wrapper around okhttp3.Callback
*/
@Keep
interface CollegeCallback : Callback {
/**
* Calls on request failure
*/
override fun onFailu... | 2 | Kotlin | 1 | 11 | 751503a27a4ca7761fc3cc37879c0dfccc021e5a | 412 | KTC | MIT License |
testannotations/src/main/java/com/example/road/to/effective/snapshot/testing/testannotations/HappyPath.kt | sergio-sastre | 394,010,429 | false | {"Kotlin": 709579} | package com.example.road.to.effective.snapshot.testing.testannotations
annotation class HappyPath
| 4 | Kotlin | 23 | 291 | 884735df2e0fe36447e4665c1bd9575ec25ca00b | 99 | Android-screenshot-testing-playground | MIT License |
app/src/main/java/com/kumaa/habismanis/OnBoarding.kt | daffaya | 780,460,067 | false | {"Kotlin": 11062} | package com.kumaa.habismanis
| 0 | Kotlin | 0 | 0 | b0eba83814d475826eed0f4605e5b1e37394a327 | 30 | HabisManis | Apache License 2.0 |
app/src/main/java/com/dirtydish/app/dirtydish/chores/ParticipantsRecyclerAdapter.kt | giulioco | 151,326,825 | false | {"Kotlin": 130277, "JavaScript": 11025} | package com.dirtydish.app.dirtydish.chores
import android.content.Context
import android.support.v4.content.ContextCompat
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.dirtydish.app.dirty... | 4 | Kotlin | 0 | 0 | d57f002cf21eeae42ba9e3b76447f418a51845cd | 3,272 | dirtydish | MIT License |
src/test/kotlin/macro/ios/SearchMacro.kt | ldi-github | 646,043,710 | false | {"Kotlin": 214956} | package macro.ios
import shirates.core.driver.TestDriver.it
import shirates.core.driver.commandextension.*
import shirates.core.macro.Macro
import shirates.core.macro.MacroObject
@MacroObject
object SearchMacro {
@Macro("[iOS検索画面]")
fun iosSearchScreen() {
it.refreshCache()
if (it.isScreen(... | 0 | Kotlin | 0 | 1 | 6221bd331e4b2d92f384c0fcd703cd439f6663bc | 492 | shirates-core-samples-ja | MIT License |
src/main/kotlin/no/nav/klage/oppgave/repositories/MottakRepository.kt | navikt | 297,650,936 | false | null | package no.nav.klage.oppgave.repositories
import no.nav.klage.kodeverk.Fagsystem
import no.nav.klage.kodeverk.Type
import no.nav.klage.oppgave.domain.klage.Mottak
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import java.util.*
@Repository
interface Mott... | 3 | Kotlin | 1 | 2 | 168c8c4b9ed5192ac6870f88b6e82a665b29a4b9 | 522 | kabal-api | MIT License |
data/repository/src/main/java/kr/co/architecture/repository/model/SavedIdsDataModel.kt | squart300kg | 701,691,819 | false | {"Kotlin": 108442} | package kr.co.architecture.repository.model
data class SavedIdsDataModel(
val ids: List<Int>
)
| 10 | Kotlin | 0 | 3 | 66c1c99f0f385a052822b9b81ab15281ddb06c6e | 100 | MarvelCharacterList | Apache License 2.0 |
src/main/kotlin/me/camdenorrb/kspigotbasics/events/wrappers/PlayerBlockPlaceEvent.kt | camdenorrb | 111,553,094 | false | {"Kotlin": 72620} | package me.camdenorrb.kspigotbasics.events.wrappers
import org.bukkit.block.Block
import org.bukkit.block.BlockState
import org.bukkit.event.Cancellable
import org.bukkit.event.HandlerList
import org.bukkit.event.block.BlockPlaceEvent
import org.bukkit.event.player.PlayerEvent
import org.bukkit.inventory.ItemStack
cl... | 0 | Kotlin | 0 | 2 | 9220926593b88962d2ab30c17db224be78732063 | 1,090 | KSpigotBasics | Apache License 2.0 |
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/domain/account/details/WalletDetailsInteractor.kt | novasamatech | 415,834,480 | false | null | package io.novafoundation.nova.feature_account_impl.domain.account.details
import io.novafoundation.nova.common.data.secrets.v2.SecretStoreV2
import io.novafoundation.nova.common.data.secrets.v2.entropy
import io.novafoundation.nova.common.data.secrets.v2.getAccountSecrets
import io.novafoundation.nova.common.data.sec... | 20 | null | 30 | 50 | 127f8739ca86dc74d006f018237daed0de5095a1 | 3,436 | nova-wallet-android | Apache License 2.0 |
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/domain/account/details/WalletDetailsInteractor.kt | novasamatech | 415,834,480 | false | null | package io.novafoundation.nova.feature_account_impl.domain.account.details
import io.novafoundation.nova.common.data.secrets.v2.SecretStoreV2
import io.novafoundation.nova.common.data.secrets.v2.entropy
import io.novafoundation.nova.common.data.secrets.v2.getAccountSecrets
import io.novafoundation.nova.common.data.sec... | 20 | null | 30 | 50 | 127f8739ca86dc74d006f018237daed0de5095a1 | 3,436 | nova-wallet-android | Apache License 2.0 |
domain/src/commonMain/kotlin/kosh/domain/repositories/NetworkRepo.kt | niallkh | 855,100,709 | false | {"Kotlin": 1942525, "Swift": 25802} | package kosh.domain.repositories
import kosh.domain.models.ChainId
import kosh.domain.models.Uri
interface NetworkRepo : Repository {
suspend fun validateRpc(
chainId: ChainId,
rpc: Uri,
): Boolean
}
| 0 | Kotlin | 0 | 3 | c08a9f32c0f12bf01eeb366c471b079923ac73ff | 227 | kosh | MIT License |
core/src/main/java/com/example/core/logic/hotel/location/LocationFeatureType.kt | rakhmukova | 716,540,491 | false | {"Kotlin": 364537} | package com.example.core.logic.hotel.location
enum class LocationFeatureType {
METRO, STATION, OTHER
}
| 0 | Kotlin | 0 | 0 | 7707ae1fac0dcbf98b79596cda5f5308f5e908ab | 108 | travel-app | Apache License 2.0 |
playListDialogFeature/src/main/java/com/yes/playlistdialogfeature/data/mapper/Mapper.kt | Yeroshin | 561,680,210 | false | {"Kotlin": 372924} | package com.yes.playlistdialogfeature.data.mapper
import com.yes.core.data.entity.PlayListDataBaseEntity
import com.yes.playlistdialogfeature.domain.entity.Item
class Mapper {
fun map(playlist: PlayListDataBaseEntity):Item{
return Item(
id=playlist.id?:0,
name=playlist.name,
... | 0 | Kotlin | 1 | 3 | f64f02e058d4db19444bcb19ea0ac093c91a96de | 663 | YES_MusicPlayer | MIT License |
clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/models/HudsonMasterComputer.kt | oapicf | 90,140,540 | false | null | /**
* <NAME>
* Jenkins API clients generated from Swagger / Open API specification
*
* The version of the OpenAPI document: 2.0.1-pre.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
p... | 30 | null | 12 | 19 | 277d791c0d363a4d93832bec8a581d4c01297b18 | 1,744 | swaggy-jenkins | MIT License |
src/main/kotlin/no/nav/syfo/util/JAXB.kt | navikt | 378,118,189 | false | null | package no.nav.syfo.util
import no.kith.xmlstds.base64container.XMLBase64Container
import no.kith.xmlstds.dialog._2006_10_11.XMLDialogmelding
import no.kith.xmlstds.msghead._2006_05_24.XMLMsgHead
import no.nav.xml.eiff._2.XMLEIFellesformat
import java.io.StringWriter
import javax.xml.bind.*
import javax.xml.stream.XML... | 1 | Kotlin | 1 | 0 | dd12b992684acda2da79c73c5364ece6d58f3dbd | 1,663 | isdialogmelding | MIT License |
app/src/main/java/dev/johnoreilly/fantasypremierleague/ui/players/PlayersViewModel.kt | jawidMuhammadi | 335,570,134 | true | {"Kotlin": 49418, "Swift": 5284, "Ruby": 2034} | package dev.johnoreilly.fantasypremierleague.ui.players
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.*
import co.touchlab.kermit.Kermit
import dev.johnoreilly.common.repository.FantasyPremierLeagueRepository
import dev.johnoreilly.common.entities.GameFixture
import dev.johnoreilly.common.en... | 0 | null | 0 | 0 | a8f1997a6803ad395c4f299e324d146e7041d71c | 1,085 | FantasyPremierLeague | Apache License 2.0 |
src/main/kotlin/tech/kekulta/domain/models/communities/CommunityInfo.kt | kekulta | 832,402,126 | false | {"Kotlin": 75123, "Dockerfile": 361} | package tech.kekulta.domain.models.communities
import kotlinx.serialization.Serializable
import tech.kekulta.domain.models.users.Avatar
@Serializable
data class CommunityInfo(val name: String, val description: String?, val avatar: Avatar) | 0 | Kotlin | 0 | 0 | 0b84d2c4d4a3495a276bd73700eef09523a98c96 | 240 | events-app-back | MIT License |
library/src/test/java/com/github/skgmn/viewmodelevent/LatestEvents.kt | skgmn | 392,284,310 | false | {"Kotlin": 61413} | package com.github.skgmn.viewmodelevent
import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ViewModel
import... | 0 | Kotlin | 0 | 4 | c867a600434524b6c4caf1d7f8fdccf64494c487 | 6,597 | ViewModelEvent | MIT License |
embrace-android-core/src/test/java/io/embrace/android/embracesdk/internal/event/EventHandlerTest.kt | embrace-io | 704,537,857 | false | null | package io.embrace.android.embracesdk.event
import io.embrace.android.embracesdk.EventType
import io.embrace.android.embracesdk.FakeDeliveryService
import io.embrace.android.embracesdk.capture.user.UserService
import io.embrace.android.embracesdk.concurrency.BlockingScheduledExecutorService
import io.embrace.android.e... | 9 | null | 8 | 134 | fad6b2473cd987b36d6ac2f293e19e8bd372e59c | 18,796 | embrace-android-sdk | Apache License 2.0 |
jdbc/test/TransactionTest.kt | codeborne | 432,708,235 | false | {"Kotlin": 308059, "PLpgSQL": 240, "HTML": 54} | package klite.jdbc
import ch.tutteli.atrium.api.fluent.en_GB.toBeTheInstance
import ch.tutteli.atrium.api.verbs.expect
import com.zaxxer.hikari.util.DriverDataSource
import io.mockk.mockk
import io.mockk.verify
import org.junit.jupiter.api.Test
class TransactionTest {
val db = mockk<DriverDataSource>(relaxed = true... | 4 | Kotlin | 13 | 95 | 466a6f0351ef74e1295c0d46dc3b265aa3cf3eb3 | 1,463 | klite | MIT License |
kotlin/kotlin-kafka-producer/src/test/kotlin/com/showmeyourcode/kafka/kotlin/producer/KotlinKafkaProducerTest.kt | maciek1839 | 352,198,877 | false | {"Markdown": 7, "Batchfile": 1, "YAML": 9, "Shell": 4, "Maven POM": 14, "JSON": 2, "Text": 1, "Ignore List": 1, "EditorConfig": 1, "Java Properties": 1, "Java": 25, "XML": 8, "Kotlin": 9} | package com.showmeyourcode.kafka.kotlin.producer
import org.apache.kafka.clients.producer.Callback
import org.apache.kafka.clients.producer.Producer
import org.apache.kafka.clients.producer.RecordMetadata
import org.apache.kafka.common.TopicPartition
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.... | 0 | Java | 1 | 0 | 103992e7b729fe42a7b9b18f2384d0a64716d94f | 2,169 | kafka-producer-consumer | MIT License |
src/main/kotlin/com/github/nenadjakic/cellidcalculators/CellIdCalculatorsApplication.kt | nenadjakic | 739,065,014 | false | {"Kotlin": 15668} | package com.github.nenadjakic.cellidcalculators
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class CellIdCalculatorsApplication
fun main(args: Array<String>) {
runApplication<CellIdCalculatorsApplication>(*args)
}
| 0 | Kotlin | 0 | 1 | 68ce5883a450368073adfd3adefd74d007829d4e | 312 | cell-id-calculators | MIT License |
app/src/main/java/com/breezefsmparaspanmasala/features/login/model/WhatsappApiData.kt | DebashisINT | 646,827,078 | false | {"Kotlin": 13569031, "Java": 996204} | package com.breezefsmparaspanmasala.features.login.model
import com.breezefsmparaspanmasala.app.domain.VisitRevisitWhatsappStatus
data class WhatsappApiData(val user_id:String,var shop_whatsapp_api_list:ArrayList<VisitRevisitWhatsappStatus>)
data class WhatsappApiFetchData(val status:String,var message:String,var us... | 0 | Kotlin | 0 | 0 | fd73f482beaab5401d90528bb6e3dbd1cb534a31 | 398 | ParasPanMasala | Apache License 2.0 |
src/main/kotlin/com/LubieKakao1212/gasgas/util/Util.kt | LubieKakao1212 | 638,227,279 | false | null | package com.LubieKakao1212.gasgas.util
fun <T> T?.chainToList(sizePrediction : Int = 1, nextGetter : (T) -> T?) : List<T> {
val chain = ArrayList<T>(sizePrediction)
var node = this
while(node != null) {
chain.add(node)
node = nextGetter(node)
}
return chain
}
| 0 | Kotlin | 0 | 0 | e94bd5a30cdf7178c32e13eaac8a3a3931f89202 | 297 | GasGasGas | MIT License |
feature/lecture/src/main/java/com/msg/lecture/navigation/LectureNavigation.kt | School-of-Company | 700,744,250 | false | {"Kotlin": 917283} | package com.msg.lecture.navigation
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavOptions
import androidx.navigation.compose.composable
import com.msg.lecture.LectureDetailRoute
import com.msg.lecture.LectureDetailSettingRoute
import com.msg.lecture.Le... | 8 | Kotlin | 0 | 20 | e1e0c6e5a187f5b010a65eb824f9612a2bb118a8 | 2,361 | Bitgoeul-Android | MIT License |
covpass-sdk/src/main/java/de/rki/covpass/sdk/utils/CBORObjectUtils.kt | Digitaler-Impfnachweis | 376,239,258 | false | null | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.sdk.utils
import com.upokecenter.cbor.CBORObject
import com.upokecenter.cbor.CBORType
/**
* Trims all CBOR strings from this [CBORObject].
*/
public fun CBORObject.trimAllStrings(): CBORObject =
when (this.... | 47 | Kotlin | 62 | 185 | 7301f1500dab4a686aa40341500667cf4cc54d1e | 875 | covpass-android | Apache License 2.0 |
Lab5/src/main/kotlin/JacobiMethod.kt | knu-3-velychko | 276,469,956 | false | null | import kotlin.math.absoluteValue
import kotlin.math.sqrt
class JacobiMethod(val matrix: Matrix, val e: Double) {
val eigenValues: Array<Double> by lazy {
var M: Matrix
var S = Matrix(matrix)
val size = matrix.size
var result = Array(size) { 0.0 }
eigenVectors = getIdentityM... | 0 | Kotlin | 0 | 0 | 79eaf1bfc471495bd2155b3ec5d4f4aa539d8704 | 1,559 | NumericalMethods | MIT License |
src/main/kotlin/glm_/vec4/Vec4bool.kt | nontravis | 139,855,615 | true | {"Kotlin": 2417945, "Java": 1048} | package glm_.vec4
import glm_.glm
import glm_.vec4.operators.vec4bool_operators
/**
* Created by elect on 09/10/16.
*/
data class Vec4bool(var x: Boolean = false, var y: Boolean = false, var z: Boolean = false, var w: Boolean = false) {
// -- Explicit basic, conversion other main.and conversion vector constru... | 0 | Kotlin | 0 | 0 | a33ad87ddefcb83e73e42a877af643ee52431edb | 2,412 | glm | MIT License |
src/test/kotlin/aoc22/Day21Test.kt | tom-power | 573,330,992 | false | {"Kotlin": 161086, "Shell": 926} | package aoc22
import aoc22.Day21.part1
import aoc22.Day21.part2
import common.readInput
import common.readInputExample
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
class Day21Test {
@Test
fun `part one example`() {
assertEquals(152, Day21.readInputExample().p... | 0 | Kotlin | 0 | 0 | baccc7ff572540fc7d5551eaa59d6a1466a08f56 | 650 | aoc | Apache License 2.0 |
feature_list/src/main/java/com/android/sample/app/feature/list/ui/SectionFragment.kt | AliRezaeiii | 369,492,443 | false | null | package com.android.sample.app.feature.list.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import com.android.... | 0 | Kotlin | 0 | 5 | 882deeb6f6640ea6616ef7b846b7c6aa33e8747a | 1,847 | Hilt-MultiModule-Cache | The Unlicense |
app/src/androidTest/java/org/wikipedia/tinkoff/screens/GeneralScreen.kt | surnin26 | 632,479,810 | false | null | package org.wikipedia.tinkoff.screens
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice
import org.awaitility.Awaitility.await
import java.time.Duration
class GeneralScreen {
private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
... | 0 | Kotlin | 0 | 0 | 5b88b09031971d9a46d530f3baa8c9aa211039c7 | 470 | tinkoffWikipedia | Apache License 2.0 |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/areas/spawns/spawns_11570.plugin.kts | 2011Scape | 578,880,245 | false | {"Kotlin": 8359518, "Dockerfile": 1354} | package gg.rsmod.plugins.content.areas.spawns
spawn_npc(npc = Npcs.CHANCY, x = 2929, z = 3222, height = 0, walkRadius = 5, direction = Direction.NORTH, static = false) //Chancy
spawn_npc(npc = Npcs.CHEMIST, x = 2934, z = 3210, height = 0, walkRadius = 5, direction = Direction.NORTH, static = false) //Chemist
spawn_npc... | 36 | Kotlin | 138 | 32 | da66bb6d68ebae531ee325b909a6536e798b1144 | 3,956 | game | Apache License 2.0 |
ChoiceSDK/choicesdk-location/src/main/java/at/bluesource/choicesdk/location/gms/GmsLocationSettingsResponse.kt | bluesource | 342,192,341 | false | null | package at.bluesource.choicesdk.location.gms
import at.bluesource.choicesdk.location.common.LocationSettingsResponse
import at.bluesource.choicesdk.location.common.LocationSettingsStates
import at.bluesource.choicesdk.location.common.LocationSettingsStates.Companion.toChoiceLocationSettingsStates
/**
* Wrapper class... | 11 | Kotlin | 19 | 85 | 4c70f2711f9ee71aa7ae73ab4d6eaa5a3fa81274 | 952 | ChoiceSDK | Apache License 2.0 |
ERMSManager/src/main/java/com/kust/ermsmanager/services/FirebaseService.kt | sabghat90 | 591,653,827 | false | {"Kotlin": 583902, "HTML": 87217} | package com.kust.ermsmanager.services
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.NotificationManager.IMPORTANCE_HIGH
import android.app.PendingIntent
import android.app.PendingIntent.FLAG_ONE_SHOT
import android.content.Context
import android.content.Intent
import ... | 1 | Kotlin | 0 | 2 | 56497f553ddcbbe2bdbafb987caa40cb44d552e8 | 2,358 | ERMS | MIT License |
CleanArchitectureAndroid/app/src/test/java/com/example/cleanarchitectureandroid/data/MovieRepositoryImplTest.kt | velmurugan-murugesan | 159,637,287 | false | null | package com.example.cleanarchitectureandroid.data
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.example.cleanarchitectureandroid.utils.TestCoroutineRule
import kotlinx.coroutines.ExperimentalCoroutinesApi
import org.junit.Assert.*
import org.junit.Rule
import org.junit.Test
import org.j... | 1 | Java | 1 | 6 | 8c2e8b2a0e8f33b5e8c0ea66890756e02577fa54 | 1,378 | AndriodSamples | Apache License 2.0 |
pagingflowlibrary/src/commonMain/kotlin/ru/snowmaze/pagingflow/sources/ConcatSourceData.kt | Snowmaze-dev | 745,268,395 | false | {"Kotlin": 160137} | package ru.snowmaze.pagingflow.sources
import ru.snowmaze.pagingflow.params.PagingParams
data class ConcatSourceData<Key : Any>(
val currentKey: Key?,
val returnData: PagingParams?,
val hasNext: Boolean
) | 0 | Kotlin | 0 | 0 | 1d43e0b9445f7f09cbf829897d6f4722bfef3bda | 218 | PagingFlow | Apache License 2.0 |
language/kmm-langx/src/iosMain/kotlin/io/tagd/langx/collection/Bundle.kt | pavan2you | 589,617,975 | false | {"Kotlin": 588475, "Shell": 5260, "Swift": 1392} | package io.tagd.langx
actual class Bundle {
actual fun clear() {
}
actual fun remove(key: String) {
}
actual fun putAll(bundle: Bundle) {
}
actual fun putByte(key: String?, value: Byte) {
}
actual fun putChar(key: String?, value: Char) {
}
actual fun putShort(key: Stri... | 3 | Kotlin | 3 | 2 | dd2aaf1e4f20850f31b7024f7f8e4bd33f467f3d | 3,691 | kmm-clean-architecture | Apache License 2.0 |
server/api/src/main/kotlin/com/kw/api/domain/question/dto/response/QuestionSearchResponse.kt | Team-kiwing | 753,356,988 | false | {"Kotlin": 127460, "Dockerfile": 202} | package com.kw.api.domain.question.dto.response
import com.kw.api.common.dto.PageResponse
data class QuestionSearchResponse(val questionResponses: List<QuestionResponse>, val pageResponse: PageResponse)
| 11 | Kotlin | 1 | 1 | 5fd9be0aac15b6aa43fe1e89f5e146b702fccf3b | 205 | Team-3seco-kiwing-be | MIT License |
app/src/main/java/jp/co/soramitsu/app/root/domain/CompositeUpdater.kt | kingofthebongo2008 | 345,062,976 | true | {"Kotlin": 1051959} | package jp.co.soramitsu.app.root.domain
import jp.co.soramitsu.core.updater.SubscriptionBuilder
import jp.co.soramitsu.core.updater.Updater
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.merge
import kotlinx.coroutines.withContext
class CompositeUpdater(
private val updaters: List<Updater>
)... | 0 | null | 0 | 0 | fbbe4a87199a2ff6a1590fc22f8f67972aa18c2f | 655 | fearless-Android | Apache License 2.0 |
jpa-with-recursive/src/test/kotlin/com/sight/blog/config/jpa/JpaTestConfig.kt | SightStudio | 285,210,668 | false | {"Java": 233416, "Kotlin": 16560, "Shell": 2184, "Dockerfile": 845} | package com.sight.blog.config.jpa
import com.querydsl.jpa.impl.JPAQueryFactory
import org.springframework.boot.test.context.TestConfiguration
import org.springframework.context.annotation.Bean
import javax.persistence.EntityManager
@TestConfiguration
class JpaTestConfig(
private val entityManager: EntityManager
)... | 0 | Java | 4 | 17 | afc209a15a0fcef1b2122a47e5af2874ace849b9 | 411 | blog-code | MIT License |
src/main/kotlin/me/eetgeenappels/sugoma/module/modules/render/Fulbright.kt | eetgeenappels | 631,292,117 | false | null | package me.eetgeenappels.sugoma.module.modules.render
import me.eetgeenappels.sugoma.module.Category
import me.eetgeenappels.sugoma.module.Module
import net.minecraft.potion.Potion
import net.minecraft.potion.PotionEffect
object Fulbright : Module ("Fulbright", "discord light mode", Category.Render) {
override f... | 0 | Kotlin | 0 | 2 | 5f926bf2f31ddce330950310690aaf74e831b0da | 607 | Sugoma | MIT License |
GcbApplication/module_me/src/main/java/com/gocashback/module_me/adapter/InviteMyReferralsAdapter.kt | ybx945ybx | 247,870,704 | false | null | package com.gocashback.module_me.adapter
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.gocashback.lib_common.network.model.user.InviteItemModel
import com.gocashback.module_me.R
/**
* @Author 55HAITAO
* @Date 2019-06-25 11:27
*/
class InviteMyR... | 0 | Kotlin | 0 | 0 | 0da5ca3b1dddcb8907d5bcc062722b4ad3ac3546 | 829 | gcb | Apache License 2.0 |
app/src/main/java/com/emenjivar/pomodoro/ui/screens/countdown/CountDownScreen.kt | emenjivar | 439,725,046 | false | null | package com.emenjivar.pomodoro.ui.screens.countdown
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.fou... | 5 | Kotlin | 0 | 9 | 1eb12225916300a065400116148026ffe2a1867e | 6,524 | pomodoro-timer | MIT License |
client/src/main/kotlin/ticketToRide/components/MaterialWithClassesProps.kt | Kiryushin-Andrey | 253,543,902 | false | null | package ticketToRide.components
import styled.StyledProps
fun StyledProps.withClasses(vararg pairs: Pair<String, String>) {
val classes = object{}.asDynamic()
pairs.forEach { (k, v) -> classes[k] = v }
asDynamic().classes = classes
} | 1 | Kotlin | 4 | 9 | 72392461e81d7fe9a877c43af108721e3eecb619 | 247 | TicketToRide | MIT License |
client/src/main/kotlin/ticketToRide/components/MaterialWithClassesProps.kt | Kiryushin-Andrey | 253,543,902 | false | null | package ticketToRide.components
import styled.StyledProps
fun StyledProps.withClasses(vararg pairs: Pair<String, String>) {
val classes = object{}.asDynamic()
pairs.forEach { (k, v) -> classes[k] = v }
asDynamic().classes = classes
} | 1 | Kotlin | 4 | 9 | 72392461e81d7fe9a877c43af108721e3eecb619 | 247 | TicketToRide | MIT License |
src/main/kotlin/xyz/oniverse/music/listeners/VoiceListener.kt | bulletsabbath | 511,569,049 | false | null | package xyz.oniverse.music.listeners
import net.dv8tion.jda.api.EmbedBuilder
import net.dv8tion.jda.api.entities.VoiceChannel
import net.dv8tion.jda.api.events.guild.voice.GuildVoiceGuildDeafenEvent
import net.dv8tion.jda.api.events.guild.voice.GuildVoiceJoinEvent
import net.dv8tion.jda.api.events.guild.voice.GuildVoi... | 0 | Kotlin | 0 | 0 | 6503ccd273e0ac523f6d418a1eb2aee32061e576 | 2,810 | onimusic | MIT License |
src/test/kotlin/org/gmd/SlackApiTest.kt | akustik | 184,784,065 | false | null | package org.gmd
import org.gmd.repository.GameRepository
import org.gmd.repository.GameRepositoryForTesting
import org.gmd.service.AsyncGameService
import org.gmd.service.AsyncGameServiceForTesting
import org.gmd.service.GameService
import org.gmd.service.GameServiceImpl
import org.gmd.service.alg.AdderMemberRatingAlg... | 8 | Kotlin | 3 | 4 | 07184b0ea0889b22c78b46f710818187d36b1af7 | 6,046 | topscores | MIT License |
app/src/main/kotlin/com/ultraviolince/mykitchen/recipes/presentation/recipes/components/DefaultRadioButton.kt | violinyanev | 714,727,270 | false | {"Kotlin": 96028} | package com.example.myapplication.recipes.presentation.recipes.components
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.width
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.RadioButton
import a... | 6 | Kotlin | 0 | 0 | b17a24b410cb57550f999f25c78c087a699cc538 | 1,584 | my-kitchen | Apache License 2.0 |
core/utils/src/iosMain/kotlin/in/surajsau/jisho/utils/IosDispatcherProvider.kt | surajsau | 489,927,815 | false | null | package `in`.surajsau.jisho.utils
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
public actual fun getDispatcherProvider(): DispatcherProvider = IosDispatcherProvider()
public class IosDispatcherProvider : DispatcherProvider {
override val io: CoroutineDispatcher
get(... | 0 | Kotlin | 0 | 1 | f926cd4111d7d19f1f4853cff13200b4d00f5760 | 422 | Multiplatform-Jisho | Apache License 2.0 |
src/main/kotlin/marcombo/lcriadof/capitulo5/c5p1.kt | Marcombo | 457,085,459 | false | {"Kotlin": 233517, "HTML": 27291, "CSS": 7504} | /*
El gran libro de Kotlin
(para programadores de back end)
Editorial: Marcombo (https://www.marcombo.com/)
Autor: <NAME> (http://luis.criado.online/)
CAPÍTULO 5: FUNCIONES
*/
package marcombo.lcriadof.capitulo5
fun main(){
// programa c5p1.kt
fun FraseDelDia():Unit{ //1
val frase:String="Cada... | 0 | Kotlin | 3 | 6 | e9ac80401dee92f5cdd2dafcb6ce470532470d4b | 529 | El-gran-libro-de-Kotlin | MIT License |
share/src/main/java/com/kotlin/android/share/ShareType.kt | R-Gang-H | 538,443,254 | false | null | package com.kotlin.android.share
/**
* 分享类型:图文,仅图片,音频,app,小程序,圈子,发表说说或图片,发表视频
*
* Created on 2020/6/23.
*
* @author o.s
*/
enum class ShareType {
SHARE_IMAGE_TEXT,
SHARE_TEXT,
SHARE_IMAGE,
SHARE_MULTI_IMAGE,
SHARE_MUSIC,
SHARE_VIDEO,
SHARE_APP,//qq已废弃
SHARE_MINI_PROGRAM,
SHARE... | 0 | Kotlin | 0 | 1 | e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28 | 1,131 | Mtime | Apache License 2.0 |
android/app/src/main/kotlin/com/lionuncle/firebase_messages/MainActivity.kt | lionuncle | 319,584,286 | false | {"Dart": 27655, "Swift": 404, "Kotlin": 136, "Objective-C": 38} | package com.lionuncle.firebase_messages
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 1 | 0 | be1069f74a22de2f517681fb7cffdf4d9c1a41ef | 136 | Flutter-Messaging | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/Brightness3Outlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Brightness3Outlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val Brightness3Outlined: SvgIconComponent
| 12 | Kotlin | 145 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 220 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/link/standen/michael/slideshow/util/Tools.kt | japko | 332,511,830 | true | {"Java Properties": 2, "YAML": 2, "Gradle": 3, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Text": 1, "Ignore List": 2, "XML": 49, "Proguard": 1, "Kotlin": 7, "Java": 14} | package link.standen.michael.slideshow.util
import android.app.Activity
import android.app.AlarmManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.os.PowerManager
import link.standen.michael.slideshow.AutoRunReceiver
import link.standen.michael.slidesho... | 0 | Java | 0 | 0 | 7cbf44e531d1701d53570111303e6fa15670a658 | 2,969 | android-slideshow | MIT License |
src/main/kotlin/org/vaccineimpact/api/models/expectations/Expectations.kt | vimc | 88,746,413 | false | null | package org.vaccineimpact.api.models.expectations
import org.vaccineimpact.api.models.Outcome
interface Expectations
{
val id: Int
val description: String
val years: IntRange
val ages: IntRange
val cohorts: CohortRestriction
val outcomes: List<Outcome>
} | 0 | Kotlin | 0 | 0 | 999369f9ad88f3141b208fe3308c8575fc8899b3 | 280 | montagu-webmodels | MIT License |
src/main/kotlin/org/vaccineimpact/api/models/expectations/Expectations.kt | vimc | 88,746,413 | false | null | package org.vaccineimpact.api.models.expectations
import org.vaccineimpact.api.models.Outcome
interface Expectations
{
val id: Int
val description: String
val years: IntRange
val ages: IntRange
val cohorts: CohortRestriction
val outcomes: List<Outcome>
} | 0 | Kotlin | 0 | 0 | 999369f9ad88f3141b208fe3308c8575fc8899b3 | 280 | montagu-webmodels | MIT License |
external-app1/src/main/kotlin/com/sakazoo/externalapp1/model/Customer.kt | sakazoo | 390,397,444 | false | null | package com.sakazoo.externalapp1.model
data class Customer(
val id: Long,
val firstName: String,
val lastName: String,
val age: Int
) | 0 | Kotlin | 0 | 0 | 55e97cd8f355303b493b8a470dfb959bc4b7171e | 150 | spring-boot-kotlin-samples | MIT License |
playground/src/main/java/androidx/essentials/playground/splash/SplashActivity.kt | kunal26das | 282,238,393 | false | null | package androidx.essentials.playground.splash
import androidx.essentials.activity.Activity
import androidx.essentials.playground.home.HomeActivity
class SplashActivity : Activity() {
private val homeActivity = registerForActivityResult(HomeActivity) {}
override fun onResume() {
super.onResume()
... | 0 | Kotlin | 0 | 1 | 03e665f3ebf9de30f295769a87cb34aa2884647b | 375 | androidx-essentials | Apache License 2.0 |
theme/src/main/java/com/atech/theme/transition.kt | BIT-Lalpur-App | 489,575,997 | false | {"Kotlin": 581061} | package com.atech.theme
import android.graphics.Color
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import com.google.android.material.transition.MaterialContainerTransform
import com.google.android.material.transition.MaterialElevationScale
import com.google.android.material.trans... | 7 | Kotlin | 5 | 13 | ab75e48dfbadd7e1eddca82cd489aa115272f473 | 1,695 | BIT-App | MIT License |
app/src/main/java/com/example/news/authentication/presentation/login/mvi/LoginViewModel.kt | info-kareemmohamed | 865,667,916 | false | {"Kotlin": 127173} | package com.example.news.authentication.presentation.login.mvi
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.news.authentication.domain.AuthResult
import com.example.news.authentication.domain.repository.AuthRepository
import com.example.news.authentication.domain.usec... | 0 | Kotlin | 0 | 0 | ab31a88fa3312190df856d34cdaa2068b5d61334 | 4,942 | News-App-Jetpack-Compose | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.