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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
buildSrc/src/main/java/Modules.kt | willigro | 637,914,606 | false | null | object Modules {
const val app = ":app"
const val components = ":components"
const val users = ":users"
const val datasource = ":datasource"
val modules = listOf(
app,
components,
users,
datasource,
)
} | 0 | Kotlin | 0 | 0 | 5f5f87de8a193e2e0fd22fd5fd57021d726b1f8c | 260 | GitHubUsersAndRepos | Apache License 2.0 |
src/test/kotlin/it/valeriovaudi/vauthenticator/openid/connect/idtoken/IdTokenEnhancerTest.kt | bassista | 262,500,046 | true | {"Kotlin": 89774, "JavaScript": 9725, "HTML": 1854, "Dockerfile": 178} | package it.valeriovaudi.vauthenticator.openid.connect.idtoken
import it.valeriovaudi.vauthenticator.account.Account
import it.valeriovaudi.vauthenticator.account.AccountRepository
import it.valeriovaudi.vauthenticator.keypair.KeyPairFixture.getFileContent
import it.valeriovaudi.vauthenticator.keypair.KeyPairFixture.ke... | 0 | null | 0 | 0 | ed4ec3f1bc0773a99f165f2c6d6489067684e662 | 2,351 | vauthenticator | Apache License 2.0 |
Calculadora2/app/src/main/java/com/example/calculadora_compose/components/Panel.kt | AndresitoRap | 672,115,766 | false | null | package com.example.calculadora_compose.components
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.s... | 0 | Kotlin | 0 | 0 | 96c703ce85e89773e11f661dd4b592ee8aa13498 | 3,528 | Kotlin-Apps | MIT License |
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/api/ExecutionContext.kt | JetBrains | 1,459,486 | false | null | /*
* Copyright 2003-2023 The IdeaVim authors
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE.txt file or at
* https://opensource.org/licenses/MIT.
*/
package com.maddyhome.idea.vim.api
/**
* This would be ideal if we could provide a typed solution, but sofar t... | 6 | null | 724 | 8,914 | 948520f90aa96569955d221a61089a63b718f071 | 532 | ideavim | MIT License |
app/src/main/java/com/f0rx/youtube_dl_native/MainActivity.kt | f0rx | 373,600,703 | false | null | package com.f0rx.youtube_dl_native
import android.net.Uri
import android.os.Bundle
import android.os.Environment
import androidx.appcompat.app.AppCompatActivity
import com.f0rx.youtube_dl_native.domain.FormatCommand
import com.f0rx.youtube_dl_native.domain.ICommand
import com.f0rx.youtube_dl_native.domain.format.Forma... | 0 | Kotlin | 0 | 0 | 0fa09951925866e7376bc7f7068100ab573f1ed3 | 2,812 | Youtube-dl-AndroidNative | MIT License |
app/src/main/kotlin/com/pickth/habit/widget/HabitConfigActivity.kt | yh-kim | 99,821,226 | false | {"Kotlin": 92083} | /*
* Copyright 2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 1 | Kotlin | 2 | 2 | e767c245a89db166b8e0f075d78fe282a89e6e66 | 4,998 | habit-tracker | Apache License 2.0 |
src/main/kotlin/com/ioki/lokalise/gradle/plugin/LokaliseGradlePlugin.kt | ioki-mobility | 620,410,032 | false | {"Kotlin": 42744} | package com.ioki.lokalise.gradle.plugin
import com.ioki.lokalise.gradle.plugin.tasks.registerDownloadTranslationTask
import com.ioki.lokalise.gradle.plugin.tasks.registerUploadTranslationTask
import org.gradle.api.Plugin
import org.gradle.api.Project
class LokaliseGradlePlugin : Plugin<Project> {
override fun app... | 4 | Kotlin | 3 | 4 | dc01ceab0508d2df1ebc45f3416017853c0c3c6e | 1,208 | LokaliseGradlePlugin | MIT License |
app/src/main/java/com/tomg/fiiok9control/audio/ui/AudioAdapter.kt | Tommy-Geenexus | 422,602,254 | false | {"Java": 371833, "Kotlin": 305020} | /*
* Copyright (c) 2021-2023, <NAME> (<EMAIL>)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,... | 1 | Java | 0 | 0 | cdb75ab15b5fa0d0bd2e1ce77a4bcb6ae0bb5e7c | 4,949 | fiio-k9-control | MIT License |
ride-speed-calculator/src/main/kotlin/Location.kt | simra-project | 360,834,204 | false | null | import org.gavaghan.geodesy.Ellipsoid
import org.gavaghan.geodesy.GeodeticCalculator
import org.gavaghan.geodesy.GlobalPosition
class Location(private val latitude: Double, private val longitude: Double) {
fun distanceTo(previousLocation:Location):Double{
val pointA = GlobalPosition(latitude, longitude, 0... | 0 | Kotlin | 0 | 0 | 2007a0cd78d1fd810990f4308ffb84c70c45355d | 595 | scripts | MIT License |
app/src/main/java/io/horizontalsystems/bankwallet/entities/CoinType.kt | WaltonChain | 263,802,120 | false | null | package io.horizontalsystems.bankwallet.entities
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import java.math.BigDecimal
sealed class CoinType : Parcelable {
@Parcelize object BitcoinCash : CoinType()
@Parcelize object Bitcoin : CoinType()
@Parcelize object Dash : CoinType()
@... | 4 | Kotlin | 2 | 4 | ec877434f12db879faabcfbd69d8647f8c2eefdc | 2,782 | waltonchain-wallet-android | MIT License |
live/src/main/java/com/pbj/sdk/live/livePlayer/ui/liveOverlay/chat/ChatListView.kt | pbj-apps | 360,147,915 | false | null | package com.pbj.sdk.live.livePlayer.ui.liveOverlay.chat
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androi... | 1 | Kotlin | 0 | 0 | 01dbcb1919045fd0249dd6c008edd6a5a218d2be | 1,978 | Live-android-sdk | MIT License |
app/src/main/java/com/example/mymusic/presentation/artist/ArtistsDetailScreen.kt | pluzarev-nemanja | 592,025,859 | false | {"Kotlin": 325163} | package com.example.mymusic.presentation.artist
import android.net.Uri
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.PickVisualMediaRequest
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.background
import androidx... | 0 | Kotlin | 0 | 2 | 45b73a0d788eb456da01337fbfd5b75875ec9883 | 9,633 | Harmonic | MIT License |
KotlinDeveloper/SeamCarving/SeamDrawer.kt | Tsyshnatiy | 561,408,519 | false | {"Kotlin": 64886, "JavaScript": 3306, "CSS": 1632, "HTML": 726} | package seamcarving
import java.awt.Color
import java.awt.image.BufferedImage
class SeamDrawer(private val img: BufferedImage) {
fun draw(seam: Seam) {
for (p in seam) {
img.setRGB(p.col, p.row, Color.RED.rgb)
}
}
} | 0 | Kotlin | 0 | 0 | 5c3ef96cca79e51cc8bc3f65cad6086e0c99ea2d | 253 | JetBrainsCourses | Apache License 2.0 |
app/src/main/java/com/crown/todo/ScrollChildSwipeRefreshLayout.kt | Crown-23 | 536,437,512 | false | {"Kotlin": 50803} | package com.crown.todo
import android.content.Context
import android.util.AttributeSet
import android.view.View
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
/**
* Description:Extends [SwipeRefreshLayout] to support non-direct descendant scrolling views.
*
* [SwipeRefreshLayout] works as expected wh... | 0 | Kotlin | 0 | 0 | 7b7996b7aba9283aa076f33fbeab3ff3e8af8296 | 849 | todo-mvvm | Apache License 2.0 |
src/main/kotlin/no/nav/familie/dokument/virusscan/VirusScanConfig.kt | navikt | 222,470,666 | false | null | package no.nav.familie.dokument.virusscan
import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Configuration
import java.net.URI
@Configuration
class VirusScanConfig constructor(@Value("\${CLAM_AV_VIRUS_URL}") val uri: URI)
| 8 | Kotlin | 0 | 0 | b4cef47972402a7bb9e3ae0432901ce8eef1d32e | 277 | familie-dokument | MIT License |
kotlin/difference-of-squares/src/main/kotlin/DifferenceOfSquares.kt | fredyw | 523,079,058 | false | null | import kotlin.math.pow
class Squares(private val n: Int) {
fun sumOfSquares(): Int {
return (1..n).sumOf { it * it }
}
fun squareOfSum(): Int {
return (1..n).sum().let { it * it }
}
fun difference(): Int {
return squareOfSum() - sumOfSquares()
}
}
| 0 | Kotlin | 0 | 0 | dbd236c746bad073d980e6fd208c504def8b462a | 299 | exercism | MIT License |
app/src/main/java/com/javadabl/darkgallery/util/AppUtil.kt | JavadAbl | 680,796,282 | false | null | package com.javadabl.darkgallery.util
import android.Manifest
import android.annotation.SuppressLint
import android.content.Context
import android.content.pm.PackageManager
import androidx.core.content.ContextCompat
import java.text.SimpleDateFormat
class AppUtil {
companion object{
@SuppressLint("Simpl... | 0 | Kotlin | 0 | 0 | 19383ebc18df38c2a855b67e40ac8c796a582f1f | 1,858 | dark-gallery | MIT License |
Jeodezi/src/main/java/com/bahadirarslan/jeodezi/GreatCircle.kt | bahadirarslan | 280,812,029 | false | null | package com.bahadirarslan.jeodezi
import java.lang.Math.sin
import kotlin.math.*
/**
* A great circle, also known as an orthodrome, of a sphere is the intersection of the sphere and
* a plane that passes through the center point of the sphere. A great circle is the largest circle
* that can be drawn on any given s... | 1 | Kotlin | 0 | 5 | 1d844162e911d491a8b7b7a6c5c64582139044ae | 18,216 | Jeodezi | MIT License |
app/src/main/kotlin/com/ojhdtapp/parabox/domain/model/ContactWithExtensionInfo.kt | Parabox-App | 482,740,446 | false | {"Kotlin": 1527632, "Java": 316} | package com.ojhdtapp.parabox.domain.model
import com.ojhdtapp.parabox.data.local.ConnectionInfo
data class ContactWithExtensionInfo(
val contact: Contact,
val connectionInfo: ConnectionInfo
)
| 2 | Kotlin | 8 | 128 | ff3c8605d40e73ce90a86e816b21bb6d30f8d084 | 202 | Parabox | MIT License |
app/src/main/java/com/kieronquinn/app/taptap/fragments/SettingsAdvancedFragment.kt | s1l2 | 294,410,290 | true | {"Kotlin": 278912, "Java": 18908} | package com.kieronquinn.app.taptap.fragments
import android.os.Bundle
import com.kieronquinn.app.taptap.R
class SettingsAdvancedFragment : BaseSettingsFragment() {
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
super.onCreatePreferences(savedInstanceState, rootKey)
... | 0 | null | 0 | 0 | f87129e75c61ee975d82e029339e2a9a6f8dc4b8 | 524 | TapTap | Apache License 2.0 |
app/src/main/java/com/coffee/shop/data/models/response/CoffeeCategory.kt | fahadnasrullah109 | 797,161,686 | false | {"Kotlin": 248481} | package com.coffee.shop.data.models.response
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize
@Parcelize
data class CoffeeCategory(
@SerializedName("category")
val category: String,
@SerializedName("items")
val items: List<Coffee>,
) : P... | 0 | Kotlin | 0 | 0 | 28ed5f7f101c36a19c89c29628a530945cc1d432 | 329 | CoffeeShop | Apache License 2.0 |
app/src/main/java/com/redeyesncode/gozulix/data/ContactItem.kt | RedEyesNCode | 714,221,424 | false | {"Kotlin": 135551} | package com.redeyesncode.gozulix.data
data class ContactItem (var contactName:String,var contactNumber:String, var selected: Boolean = false
){
} | 0 | Kotlin | 0 | 0 | 87ba8a2c017074c8357c82104e7a441e5b67ea32 | 149 | GoDial_Android | MIT License |
app/javafx/gamedex-javafx-view/src/main/kotlin/com/gitlab/ykrasik/gamedex/app/javafx/provider/JavaFxSyncGamesScreen.kt | ykrasik | 177,211,746 | false | null | /****************************************************************************
* Copyright (C) 2016-2020 <NAME> *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not u... | 0 | null | 1 | 14 | 6c63cb16032f9c9e230afc808bb8498760477464 | 6,477 | gamedex | Apache License 2.0 |
app/src/main/java/com/reddit/rickmorty/ui/details/CharactersAdapter.kt | alexkrafts | 242,268,972 | false | null | package com.reddit.rickmorty.ui.details
import android.graphics.drawable.AnimationDrawable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.databinding.DataBindingUtil
import androidx.navigation.Navigator
import androidx.navig... | 0 | Kotlin | 0 | 1 | 45940a300eecbe293e1d837a327aa63de615cceb | 4,407 | RickAndMorty | Apache License 2.0 |
lib-prism-core/src/main/java/cn/alvince/droidprism/EZPrism.kt | alvince | 495,890,560 | false | {"Kotlin": 58530} | package cn.alvince.droidprism
import cn.alvince.droidprism.internal.Instrumentation
import cn.alvince.zanpakuto.core.time.Duration
import java.util.concurrent.TimeUnit
/**
* EZPrism access entrance
*
* Created by alvince on 2022/5/23
*
* @author <EMAIL>
* @see [EZPrism](https://github.com/alvince/EZPrism)
*/
o... | 2 | Kotlin | 3 | 34 | 74dca4c5adac5d3f7f47a6a931d97a1c3887d6af | 1,461 | EZPrism | Apache License 2.0 |
plugin/src/main/kotlin/ru/astrainteractive/astrashop/command/di/CommandManagerElement.kt | Astra-Interactive | 562,599,158 | false | {"Kotlin": 94761} | package ru.astrainteractive.astrashop.command.di
import ru.astrainteractive.astrashop.command.CommandManager
import ru.astrainteractive.astrashop.core.di.CoreModule
import ru.astrainteractive.astrashop.gui.router.di.RouterModule
interface CommandManagerElement {
fun onEnable()
class Default(
private... | 0 | Kotlin | 1 | 0 | 66cbf0126859dd7de07fe54de6ca99d200d7fc10 | 653 | AstraShop | MIT License |
app/src/main/java/com/darvader/smarthome/ledstrip/christmas/ChristmasStrip.kt | darvader | 353,427,692 | false | {"Kotlin": 113790, "Java": 4543} | package com.darvader.smarthome.ledstrip.christmas
import android.opengl.GLES20
import android.widget.Button
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.constraintlayout.widget.Constraints
import com.darvader.smarthome.HomeElement
import com.darvader.smarthome.R
import com.darvader.smarthom... | 0 | Kotlin | 0 | 0 | d7fe4330f2fc35edeff7a20c0b36f79584d7ed5a | 10,099 | SmartHome | Apache License 2.0 |
app/src/main/java/com/anangkur/movieku/feature/detail/DetailActivity.kt | anangkur | 228,177,144 | false | null | package com.anangkur.movieku.feature.detail
import android.app.Activity
import android.content.Intent
import android.content.res.ColorStateList
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.provider.Settings
import android.view.Menu
import android.view.MenuItem
import androidx... | 0 | Kotlin | 2 | 5 | f1211a54519f32258b087b20b63d53e3666d4419 | 6,132 | Movie-Ku | MIT License |
apps/hops-hendelser/src/main/kotlin/no/nav/helse/hops/infrastructure/KafkaFhirResourceSerializer.kt | ybelMekk | 375,614,053 | true | {"Gradle Kotlin DSL": 11, "Markdown": 6, "Ignore List": 3, "CODEOWNERS": 1, "Dockerfile": 1, "INI": 3, "Shell": 1, "Batchfile": 1, "YAML": 19, "XML": 16, "Kotlin": 132, "JSON": 24, "Python": 1, "Dotenv": 1, "Java": 19} | package no.nav.helse.hops.infrastructure
import ca.uhn.fhir.context.FhirContext
import ca.uhn.fhir.context.FhirVersionEnum
import org.apache.kafka.common.serialization.Serializer
import org.hl7.fhir.instance.model.api.IBaseResource
import java.io.ByteArrayOutputStream
import java.io.OutputStreamWriter
class KafkaFhir... | 0 | null | 0 | 0 | be8b3b2e67a23302b02149f40de5cb5ed897c546 | 830 | helseopplysninger | MIT License |
RollMovie/app/src/main/java/com/raman/RollMovie/model/db/MovieDao.kt | RAMANai87 | 765,409,188 | false | {"Kotlin": 217164} | package com.raman.RollMovie.model.db
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.raman.RollMovie.model.data.MovieModel
@Dao
interface MovieDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertMovies( da... | 0 | Kotlin | 0 | 1 | e5e2bcbb3d653208499b217c79abed1c853a8319 | 430 | RollMovie | MIT License |
app/src/main/java/com/android/surveysaurus/adapter/SurveyAdapter.kt | bimser-intern | 521,182,311 | false | {"Kotlin": 123125, "Java": 2561, "JavaScript": 1892, "HTML": 656} | package com.android.surveysaurus.adapter
import android.graphics.Color
import android.graphics.Typeface
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View.generateViewId
import android.view.ViewGroup
import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintL... | 8 | Kotlin | 2 | 0 | eea81ec33f0c9f94d17a5895c820d54a26b7b133 | 5,622 | surveysaurus-android | MIT License |
src/compiler/core/src/commonTest/kotlin/community/flock/wirespec/compiler/core/parse/ParseTypeTest.kt | flock-community | 506,356,849 | false | null | package community.flock.wirespec.compiler.core.parse
import community.flock.wirespec.compiler.core.WirespecSpec
import community.flock.wirespec.compiler.core.tokenize.tokenize
import community.flock.wirespec.compiler.utils.noLogger
import io.kotest.assertions.arrow.core.shouldBeRight
import io.kotest.matchers.shouldBe... | 18 | null | 2 | 17 | 50f8b9a1e341d6d79fdc86f6bff9fca9b32b7579 | 2,781 | wirespec | Apache License 2.0 |
train-station-app/app/src/main/java/com/example/trainstationapp/data/grpc/trainstation/v1alpha1/GetOneStationRequestKt.kt | Darkness4 | 310,007,491 | false | null | //Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trainstation/v1alpha1/station.proto
package com.example.trainstationapp.data.grpc.trainstation.v1alpha1;
@kotlin.jvm.JvmName("-initializegetOneStationRequest")
public inline fun getOneStationRequest(block: com.example.trainstationapp.data.grpc.train... | 14 | Kotlin | 2 | 6 | 63707fdfa9e19a3062422370f1fd631c8a3094dc | 2,745 | train-station | MIT License |
listitem/src/main/java/net/nicbell/materiallists/ListItem.kt | nicbell | 580,043,973 | false | null | package net.nicbell.materiallists
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.view.ViewGroup
import android.view.ViewGroup.LayoutParams.WRAP_CONTENT
import androidx.constraintlayout.widget.Barrier
import androidx.constraintlayout.widget.ConstraintLayout
impor... | 3 | Kotlin | 1 | 4 | 10dab45f3b97c58a5d10d3f46d28cb0d3c7335ae | 6,033 | material-lists | Apache License 2.0 |
vscode/src/jsMain/kotlin/vscode/QuickPickOptions.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | package vscode
/**
* Options to configure the behavior of the quick pick UI.
*/
external interface QuickPickOptions {
/**
* An optional string that represents the title of the quick pick.
*/
var title: String?
/**
* An optional flag to include the description when filtering the picks.
*/
var mat... | 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 1,226 | kotlin-externals | MIT License |
common/src/main/java/com/yuriikonovalov/common/framework/ui/widget/AutoGridRecyclerView.kt | yuriikonovalov | 563,974,428 | false | {"Kotlin": 872022} | package com.yuriikonovalov.common.framework.ui.widget
import android.content.Context
import android.util.AttributeSet
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
import kotlin.math.max
class AutoGridRecyclerView @JvmOverloads constructor(
ctx: Context,
... | 0 | Kotlin | 0 | 0 | 8063508f836512fc8f8a0ba18f794bb895ee2449 | 1,595 | budgethub | MIT License |
app/src/main/java/vn/loitp/a/cv/layout/floatDrag/FloatDragLayoutActivityFont.kt | tplloi | 126,578,283 | false | null | package vn.loitp.a.cv.layout.floatDrag
import android.content.Intent
import android.os.Bundle
import android.view.Gravity
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import android.widget.ImageView
import androidx.core.view.isVisible
import com.loitp.annotation.IsFullScreen... | 0 | Kotlin | 0 | 10 | 333bebaf3287b1633f35d29b8adaf25b19c1859f | 3,719 | base | Apache License 2.0 |
src/main/kotlin/ffc/entity/healthcare/HealthCareService.kt | ffc-nectec | 137,706,528 | false | {"Kotlin": 159504} | /*
* Copyright 2019 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/LICE... | 2 | Kotlin | 0 | 0 | 6ec51b8cd89c3f9a26548fd0d25e1f5583df1ce8 | 2,793 | entities | Apache License 2.0 |
src/main/kotlin/ffc/entity/healthcare/HealthCareService.kt | ffc-nectec | 137,706,528 | false | {"Kotlin": 159504} | /*
* Copyright 2019 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/LICE... | 2 | Kotlin | 0 | 0 | 6ec51b8cd89c3f9a26548fd0d25e1f5583df1ce8 | 2,793 | entities | Apache License 2.0 |
app/src/main/java/com/gabor/cleanarchitecture/presentation/moviedetails/MoviesDetailsView.kt | gyorgygabor | 440,453,398 | false | {"Kotlin": 109509} | /*
* Copyright 2022 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 | 0 | 9f5828f70c6cfa21741b452f803b205ea1c4c6d3 | 6,667 | clean_architecture | Apache License 2.0 |
app/src/main/java/com/molo17/couchbase/lite/domain/Hotel.kt | MOLO17 | 248,529,238 | false | {"Kotlin": 65260} | /*
* Copyright (c) 2020 MOLO17
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 3 | Kotlin | 3 | 14 | 938dec4eae426baee3cf3bd8257f6cf8c2a97a3e | 947 | couchbase-lite-kotlin | Apache License 2.0 |
app/src/main/java/br/com/renancsdev/dtiblog/adapter/excluir/ViewHolderDeletarListaPost.kt | RenanCostaSilva | 805,452,810 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 5, "Shell": 1, "Text": 1, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "Ignore List": 2, "Kotlin": 36, "XML": 39, "INI": 3, "Java": 2, "PureBasic": 2} | package br.com.renancsdev.dtiblog.adapter.excluir
import android.app.Dialog
import android.util.Log
import android.view.Window
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.RecyclerView
import br.com.renancsdev.dtiblog.R
import br.com.renancsdev.dtiblog.api.builder.ApiClient
impor... | 0 | Java | 0 | 0 | c7d4d383be74b652bfda2242f06e8c2e7a33cec7 | 4,550 | DTIBlog | Apache License 2.0 |
app/src/main/java/com/earth/angel/base/View.kt | engineerrep | 643,933,914 | false | {"Java": 2291635, "Kotlin": 1651449} | package com.earth.angel.base
import android.view.View
import com.earth.angel.R
import kotlinx.coroutines.*
/**
* get set
* 给view添加一个上次触发时间的属性(用来屏蔽连击操作)
*/
private var <T : View>T.triggerLastTime: Long
get() = if (getTag(R.id.triggerLastTimeKey) != null) getTag(R.id.triggerLastTimeKey) as Long else 0
set(va... | 1 | null | 1 | 1 | 415e0417870b6ff2c84a9798d1f3f3a4e6921354 | 1,687 | EarthAngel | MIT License |
DCC/app/src/main/java/com/rachelleboyette/desertcodecampdemo/MainApplication.kt | rtimm17 | 214,676,610 | false | null | package com.rachelleboyette.desertcodecampdemo
import android.app.Application
import com.rachelleboyette.desertcodecampdemo.model.Cat
import com.rachelleboyette.desertcodecampdemo.service.CatImageService
import com.rachelleboyette.desertcodecampdemo.service.CatSearchService
import retrofit2.Retrofit
import retrofit2.c... | 0 | Kotlin | 0 | 0 | 461d0a3ca50de7bd424441081500eed67c08663e | 1,267 | DesertCodeCamp-Kotlin | MIT License |
src/jvmTest/kotlin/com/bkahlert/kommons/shell/FileOperationsTest.kt | bkahlert | 323,048,013 | false | null | package com.bkahlert.kommons.shell
import com.bkahlert.kommons.io.path.appendText
import com.bkahlert.kommons.io.path.hasContent
import com.bkahlert.kommons.test.junit.UniqueId
import com.bkahlert.kommons.test.testEach
import com.bkahlert.kommons.test.withTempDir
import com.bkahlert.kommons.text.LineSeparators
import ... | 7 | Kotlin | 0 | 9 | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | 3,407 | kommons | MIT License |
app/src/main/java/com/alpriest/energystats/services/NetworkService.kt | alpriest | 606,081,400 | false | null | package com.alpriest.energystats.services
import com.alpriest.energystats.models.*
import com.alpriest.energystats.stores.CredentialStore
import com.alpriest.energystats.ui.statsgraph.ReportType
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import okhttp3.*
import java.io.IOException
import java... | 4 | null | 1 | 3 | 8a7448d1239e102ff869e3efa1a1cb593c440a98 | 11,667 | EnergyStats-Android | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/opensearchservice/CfnDomainLogPublishingOptionPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.opensearchservice
import cloudshift.awscdk.common.CdkDslMarker... | 4 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,939 | awscdk-dsl-kotlin | Apache License 2.0 |
feature/favorite/src/androidTest/kotlin/com/alexeymerov/radiostations/feature/favorite/FavoriteScreenTest.kt | AlexeyMerov | 636,705,016 | false | {"Kotlin": 694442} | package com.alexeymerov.radiostations.feature.favorite
import androidx.compose.material3.SnackbarHostState
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.test.SemanticsNodeInteractionCollection
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.assert... | 0 | Kotlin | 0 | 4 | 850e4241b3023507d48a98ee84b6659698817e12 | 8,698 | RadioStations | MIT License |
app/src/main/java/com/polyglotandroid/core/managers/PropertiesManager.kt | Huy-Ngo | 243,276,404 | false | null | package com.polyglotandroid.core.managers
import android.graphics.fonts.Font
import com.polyglotandroid.core.DictCore
import com.polyglotandroid.core.PGUtil
import com.polyglotandroid.core.customControls.AlphaMap
import java.io.IOException
import javax.swing.JLabel
/**
* Contains and manages properties of given lan... | 6 | Kotlin | 0 | 3 | 2d75d198c02230217dadf609b99238680cd0c74e | 4,166 | PolyGlotAndroid | MIT License |
app/src/main/java/io/github/mattpvaughn/pokeapp/features/library/LibraryViewModelFactory.kt | mattttvaughn | 261,815,202 | false | {"Kotlin": 44890} | package io.github.mattpvaughn.pokeapp.features.library
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import io.github.mattpvaughn.pokeapp.data.remote.PokemonAPIService
import javax.inject.Inject
class LibraryViewModelFactory @Inject constructor(private val pokemonAPIService: PokemonA... | 0 | Kotlin | 0 | 0 | f181e219ac4a427c76f36fb71ce1ed9c0fa85c50 | 669 | PokeApp | MIT License |
base-android/src/main/java/com/wo1f/base_android/network/NetworkManager.kt | adwardwolf | 387,865,580 | false | null | package com.wo1f.base_android.network
import android.content.Context
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET
import android.net.NetworkRequest
import androidx.lifecycle.LiveData
import timber.log.Timber
import javax.inject.Singlet... | 0 | Kotlin | 0 | 2 | d9372ab26a0f74ff32e196ffc7457258f1d7270c | 1,845 | the-earth | Apache License 2.0 |
client/src/commonMain/kotlin/com/algolia/client/model/ingestion/RunProgress.kt | algolia | 153,273,215 | false | {"Kotlin": 1464911} | /** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.ingestion
import kotlinx.serialization.*
import kotlinx.serialization.json.*
/**
* RunProgress
*
*... | 14 | Kotlin | 23 | 59 | 686cdfb400aa4254fc3b62dac6ca3d10c7aac846 | 591 | algoliasearch-client-kotlin | MIT License |
insight/src/test/kotlin/spp/jetbrains/insight/pass/path/RecursionTest.kt | sourceplusplus | 173,253,271 | false | null | /*
* Source++, the continuous feedback platform for developers.
* Copyright (C) 2022-2024 CodeBrig, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/... | 2 | null | 13 | 87 | 199006a410529d961dc184f0740a5d845bd87899 | 2,287 | interface-jetbrains | Apache License 2.0 |
src/main/kotlin/io/moneyflow/server/entity/AuditOperation.kt | MammothMKIV | 597,151,870 | false | null | package io.moneyflow.server.entity
import java.time.LocalDateTime
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.FetchType
import javax.persistence.GeneratedValue
import javax.persistence.GenerationType
import javax.persistence.Id
import javax.persistence.JoinColumn
import jav... | 0 | Kotlin | 0 | 0 | da053a5f2f86c4d6c4351fb2beb11b1e41381752 | 941 | moneyflow-backend | MIT License |
spring-bukkit-core/src/main/kotlin/kr/summitsystems/springbukkit/core/DisposableContainer.kt | summit-systems | 728,399,361 | false | {"Kotlin": 149408} | package kr.summitsystems.springbukkit.core
interface DisposableContainer {
fun addDisposable(disposable: Disposable)
} | 0 | Kotlin | 0 | 12 | a1e0860a0b6b1d1c89a1e2202caf285f7fdd1bf7 | 123 | spring-bukkit | Apache License 2.0 |
app/src/main/java/com/wo1f/the_earth/welcome/WelcomeNavScreen.kt | adwardwolf | 387,865,580 | false | null | package com.wo1f.the_earth.welcome
sealed class WelcomeScreen(val route: String) {
object Welcome : WelcomeScreen("welcomeroot")
object LogIn : WelcomeScreen("signinroot")
object SignUp : WelcomeScreen("signuproot")
}
sealed class WelcomeSubScreen(val route: String) {
object Welcome : WelcomeSubScre... | 0 | Kotlin | 0 | 2 | ed8b079141dff5a6652ca2f811487d7cd5241c59 | 428 | the-earth | Apache License 2.0 |
testmod2/src/main/kotlin/net/fabricmc/example/KotlinExampleMod.kt | natanfudge | 264,774,154 | false | null | package net.fabricmc.example
import fudge.Entrypoint
import net.fabricmc.api.ClientModInitializer
import net.fabricmc.api.ModInitializer
@Entrypoint(Entrypoint.MAIN, Entrypoint.CLIENT)
class KotlinExampleMod : ModInitializer, ClientModInitializer {
override fun onInitialize() {
// This code runs as soon a... | 1 | Kotlin | 1 | 2 | a69b79b77ee39c42e1dbdf6d167ca75979b80208 | 750 | AutoFabric | MIT License |
modules/dialog/src/main/kotlin/component.kt | lb1987 | 224,438,645 | false | {"Kotlin": 60839} | package ringui.dialog
import react.RBuilder
import react.RElementBuilder
import react.RHandler
import react.RProps
import ringui.REventFunc
import ringui.island.IslandContent
import ringui.island.IslandContentProps
import ringui.island.IslandHeader
import ringui.island.IslandHeaderProps
interface DialogProps : RProps... | 0 | null | 0 | 1 | 651523da1df6f358553b5b21f09ac63fd5aed8e0 | 1,538 | kotlin-react-ring-ui | MIT License |
jacodb-core/src/main/kotlin/org/utbot/jacodb/impl/bytecode/JcClassOrInterfaceImpl.kt | UnitTestBot | 491,176,077 | false | null | /*
* Copyright 2022 UnitTestBot contributors (utbot.org)
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless r... | 12 | Kotlin | 3 | 7 | 25bbd79ec4e001c0d5e642afabb01f4c2d5a3b16 | 4,129 | jacodb | Apache License 2.0 |
app/src/main/java/com/applakazam/androidmvvmtemplate/presentation/contacts/ContactsFragment.kt | BisiPaul | 642,722,484 | false | null | package com.applakazam.androidmvvmtemplate.presentation.contacts
import android.os.Bundle
import android.view.View
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutMana... | 0 | Kotlin | 0 | 0 | 6410d7dcc3901a2b027c6afb633a93940b5d65c3 | 2,647 | AndroidMvvmTemplate | MIT License |
app/src/test/kotlin/com/bloidonia/advent2020/Day_01Test.kt | timyates | 317,965,519 | false | null | package com.bloidonia.advent2020
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
class Day_01Test {
val day1 = Day_01()
val target = 2020
val input = listOf(1721, 979, 366, 299, 675, 1456)
@Test
fun match2() {
val match2 = day1.match2(target, input)... | 0 | Kotlin | 0 | 0 | cab3c65ac33ac61aab63a1081c31a16ac54e4fcd | 537 | advent-of-code-2020-kotlin | Apache License 2.0 |
app/src/main/java/me/hgj/jetpackmvvm/demo/data/repository/local/LocalDataManger.kt | q735510971 | 316,208,478 | true | {"Kotlin": 538511, "Java": 112754} | package me.hgj.jetpackmvvm.demo.data.repository.local
class LocalDataManger {
companion object {
val instance: LocalDataManger by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
LocalDataManger()
}
}
} | 0 | null | 0 | 3 | 22a993aacbd3b8d5f10caa0c11e055d71e8c1b9d | 241 | JetpackMvvm | Apache License 2.0 |
src/test/kotlin/com/crud/users/AbstractIntegrationTest.kt | juniorleaoo | 726,670,250 | false | {"Kotlin": 9805} | package com.crud.users
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.util.TestPropertyValues
import org.springframework.context.ApplicationContextInitializer
import org.springframework.context.ConfigurableApplicationContext
import org.springframework.test.context.Cont... | 0 | Kotlin | 0 | 0 | be853b90e2f0fce96560fdef787b699efb6013e5 | 1,220 | crud-users-kotlin | MIT License |
src/test/kotlin/com/octawizard/domain/model/EmailTest.kt | octawizard | 299,882,247 | false | null | package com.octawizard.domain.model
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstanc... | 6 | Kotlin | 0 | 0 | 7007c524aa0a72dea77c24505b6a1e1c12418be8 | 1,111 | padles-api | Apache License 2.0 |
app/src/main/java/kr/nyj/jh/deadbydaylight/adapter/RecyclerKillersAdapter.kt | kimjiho | 497,318,078 | false | {"Kotlin": 26084} | package kr.nyj.jh.deadbydaylight.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import kr.nyj.jh.deadbydaylight.R
import kr.... | 0 | Kotlin | 0 | 0 | 8c344ccc113b3825ac215c2c4c0aa05743b0a9aa | 1,453 | DeadByDayLight | MIT License |
response/core/src/commonMain/kotlin/kase/Data.kt | aSoft-Ltd | 579,551,052 | false | {"Kotlin": 36420} | package kase
import kotlinx.serialization.Serializable
@Serializable
data class Data<out D>(val data: D) | 1 | Kotlin | 0 | 1 | 9470ae1bea6527f7f5d9b6391f9c69b7d67a9f90 | 106 | kase | MIT License |
app/src/main/java/com/nik/shift/calendar/di/AppModule.kt | MaxSiominDev | 521,623,416 | false | null | package com.nik.shift.calendar.di
import android.content.Context
import androidx.room.Room
import com.nik.shift.calendar.database.AppDao
import com.nik.shift.calendar.database.AppDatabase
import com.nik.shift.calendar.model.ShiftsManager
import com.nik.shift.calendar.repository.ShiftsRepository
import dagger.Module
im... | 0 | Kotlin | 0 | 0 | 41bd7b7e514e8af680b6f93cc4b3d7b92fa48679 | 1,309 | Shifts-Calendar | MIT License |
nextgen-middleware/src/main/java/com/nextgenbroadcast/mobile/middleware/atsc3/entities/held/Atsc3HeldPackage.kt | jjustman | 418,004,011 | false | null | package com.nextgenbroadcast.mobile.middleware.atsc3.entities.held
import java.time.ZonedDateTime
data class Atsc3HeldPackage(
var appContextId: String? = null,
var requiredCapabilities: Long? = null,
var bcastEntryPackageUrl: String? = null,
var bcastEntryPageUrl: String? = null,
... | 0 | Kotlin | 0 | 5 | f0d91240d7c68c57c7ebfd0739148c86a38ffa58 | 608 | libatsc3-middleware-sample-app | MIT License |
client/app/src/main/java/com/petrov/vitaliy/caraccidentapp/domain/models/requests/user/VehicleProfileDeleteRequest.kt | ADsty | 493,215,764 | false | null | package com.petrov.vitaliy.caraccidentapp.domain.models.requests.user
data class VehicleProfileDeleteRequest(
val vehicleVIN: String
)
| 0 | Kotlin | 0 | 0 | d3e957717cb51980d428c533530d45673c1b42fc | 140 | thesis-2022 | MIT License |
codestream-runtime/src/test/kotlin/io/codestream/runtime/yaml/YamlTaskBuilderTest.kt | jexenberger | 131,731,461 | false | {"Maven POM": 9, "Ignore List": 1, "Markdown": 2, "YAML": 6, "Text": 2, "Kotlin": 322, "Java": 8, "Gradle": 3, "JAR Manifest": 5, "XML": 2, "Batchfile": 1, "Shell": 1, "Groovy": 1} | /*
* Copyright 2018 <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`](http://www.apache.org/licenses/LICENSE-2.0)
*
... | 1 | null | 1 | 1 | 65bd6bb08e25b1af776f4c6d2dc4ca27e1bb6e78 | 3,311 | codestreamparent | Apache License 2.0 |
app/src/androidTest/java/fr/uge/pokedex/TeamFactGeneratorTest.kt | NagaYZ | 621,883,292 | false | null | package fr.uge.pokedex
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import fr.uge.pokedex.data.pokedex.pokemon.PokemonRepository
import fr.uge.pokedex.service.team.TeamFact
import fr.uge.pokedex.service.team.TeamFactGenerator
import org.junit.Assert.*
i... | 0 | Kotlin | 0 | 0 | 8361d684922ed2430d753da319dbf2f5b27d0eff | 2,134 | Pokedex | MIT License |
atomik/src/commonMain/kotlin/me/kevinschildhorn/atomik/typography/base/AtomikTypography.kt | KevinSchildhorn | 522,216,678 | false | null | package me.kevinschildhorn.atomik.typography.base
data class AtomikTypography(
val weight: AtomikTypographyWeight = AtomikTypographyWeight.NORMAL,
val size: Int,
)
| 0 | Kotlin | 0 | 0 | 09e9acfeef8f019fcb1abe886c139f2b17871b7b | 173 | FoToPresenter | MIT License |
network/core/src/main/java/com/yigitozgumus/core/di/NetworkClientQualifiers.kt | yigitozgumus | 475,998,040 | false | {"Kotlin": 49621} | /*
* Created by yigitozgumus on 4/2/22, 11:44 AM
* Copyright (c) 2022 . All rights reserved.
* Last modified 4/2/22, 11:44 AM
*/
package com.yigitozgumus.core.di
import javax.inject.Qualifier
@Qualifier
annotation class RetrofitTypeCoinBase
@Qualifier
annotation class RetrofitTypeCoinGecko
| 0 | Kotlin | 0 | 0 | ca3ff32aaab6fd96fcee9f7c69098f99d10300ed | 299 | DemoCurrencyApplication | MIT License |
app/src/main/java/com/athkar/sa/selection/MyDetails.kt | salmanA169 | 538,473,100 | false | {"Kotlin": 184523} | package com.athkar.sa.selection
import android.view.MotionEvent
import androidx.recyclerview.selection.ItemDetailsLookup
import androidx.recyclerview.widget.RecyclerView
import com.athkar.sa.adapters.FavoriteViewHolder
import com.athkar.sa.models.FavoriteTracker
class MyDetails(private val recyclerView: RecyclerView)... | 0 | Kotlin | 0 | 4 | f51acb5eea37010e38fd375ab987ae084afe2b91 | 677 | AthkarApp | Apache License 2.0 |
app/src/main/java/com/vultisig/wallet/presenter/keygen/DeviceList.kt | Shoseyni | 797,737,198 | false | {"Kotlin": 432882} | package com.vultisig.wallet.presenter.keygen
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.fo... | 4 | Kotlin | 0 | 0 | cfc4169c331d905de04c693a840f9e93559922f0 | 4,661 | vultsig-android | Apache License 2.0 |
openrndr-core/src/main/kotlin/org/openrndr/shape/OrientedRectangle.kt | JadeGeek | 379,519,837 | true | {"Kotlin": 1547938, "Java": 760560, "ANTLR": 9333, "CSS": 4706, "GLSL": 1846, "Shell": 548} | @file:Suppress("unused")
package org.openrndr.shape
import org.openrndr.math.Vector2
import org.openrndr.math.Vector3
import org.openrndr.math.YPolarity
import org.openrndr.math.transforms.transform
/**
* Creates a new [OrientedRectangle].
*
* Also see [Rectangle] and [IntRectangle].
* @param rotation The rotati... | 0 | null | 0 | 0 | b3f986a6926e642f8ed6e0ef5e3abc1bbea9f51b | 3,468 | openrndr | BSD 2-Clause FreeBSD License |
src/main/kotlin/com/dfsek/terra/biometool/map/MapTilePoint.kt | PolyhedralDev | 433,310,766 | false | null | @file:Suppress("MemberVisibilityCanBePrivate", "unused")
package com.dfsek.terra.biometool.map
import kotlin.math.roundToInt
import kotlin.math.sqrt
data class MapTilePoint(
val x: Int,
val y: Int,
) {
infix fun distance(other: MapTilePoint): Double = distance(other.x, other.y)
... | 5 | Kotlin | 0 | 7 | d41d2bd2a97ff0d243ac4edf49b57dce1b8f5afe | 1,788 | BiomeTool | MIT License |
libtulip/src/jsMain/kotlin/com/tajmoti/libtulip/model/TmdbEpisodeProgress.kt | Tajmoti | 391,138,914 | false | null | package com.tajmoti.libtulip.model
import com.tajmoti.libtulip.model.key.EpisodeKey
import kotlinx.serialization.Serializable
@Serializable
data class TmdbEpisodeProgress(
val key: EpisodeKey.Tmdb,
val progress: Float
)
| 6 | Kotlin | 0 | 1 | 7dd02fe23b3205967e02d0efff2b7efd191fe138 | 231 | Tulip | MIT License |
app/src/main/java/com/breezenationalplasticfsm/features/newcollectionreport/PendingCollListner.kt | DebashisINT | 506,900,340 | false | {"Kotlin": 15695267, "Java": 1028024} | package com.breezenationalplasticfsm.features.newcollectionreport
import com.breezenationalplasticfsm.features.photoReg.model.UserListResponseModel
interface PendingCollListner {
fun getUserInfoOnLick(obj: PendingCollData)
} | 0 | Kotlin | 0 | 1 | 00b04b596e86dddcc7d4aef672328a6350ec3945 | 230 | NationalPlastic | Apache License 2.0 |
Kotlin/src/main/kotlin/com/gildedrose/GildedRose.kt | TheConfuZzledDude | 277,847,441 | true | {"Kotlin": 6805} | package com.gildedrose
import kotlin.math.*
class GildedRose(var items: Array<Item>) {
fun updateQualityNormal(item: Item) {
item.sellIn = item.sellIn - 1
val deltaQuality = if (item.sellIn < 0) -2 else -1
item.quality = max(min(50,item.quality + deltaQuality),0)
}
}
fun upd... | 0 | Kotlin | 0 | 0 | 1162df4483c41f8e76e0a50b002d73d89fdfb2dc | 2,913 | GildedRose-Refactoring-Kata | MIT License |
diskordin-commands/src/test/kotlin/org/tesserakt/diskordin/commands/compiler/CommandModuleLoaderTest.kt | ITesserakt | 218,969,129 | false | null | package org.tesserakt.diskordin.commands.compiler
import io.github.classgraph.ClassGraph
import io.kotest.assertions.arrow.core.shouldBeRight
import io.kotest.assertions.assertSoftly
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import org.tesserakt.diskordin.commands.Command
import or... | 1 | Kotlin | 1 | 12 | e93964fcb5ecb0e1d03dd0fc7d3dd2637a0e08ae | 2,050 | diskordin | Apache License 2.0 |
compiler/testData/codegen/boxInline/reified/checkCast/simpleSafe.2.kt | javaljj | 52,061,310 | true | {"Java": 15915057, "Kotlin": 12574163, "JavaScript": 177557, "Protocol Buffer": 42724, "HTML": 28583, "Lex": 16598, "ANTLR": 9689, "CSS": 9358, "Groovy": 6859, "Shell": 4704, "IDL": 4669, "Batchfile": 3703} | package test
class A
class B
inline fun <reified T> Any?.foo(): T? = this as? T
| 0 | Java | 0 | 1 | c9cc9c55cdcc706c1d382a1539998728a2e3ca50 | 82 | kotlin | Apache License 2.0 |
src/main/kotlin/me/cheney/nowinnews/routes/SiteRoutes.kt | QCuncle | 831,345,475 | false | {"Kotlin": 18637, "HTML": 73} | package me.cheney.nowinnews.routes
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.routing.*
import me.cheney.nowinnews.base.respondSuccess
import me.cheney.nowinnews.base.respondThrowable
import me.cheney.nowinnews.data.model.SiteConfig
import me.cheney.nowinnews.data.reposit... | 0 | Kotlin | 0 | 0 | 18eccfa2175ea867f250afe9dec4cfbeea78c4ac | 1,971 | nowinnews-ktor-server | Apache License 2.0 |
libs/data-commons/src/test/kotlin/com/github/softwareplace/springboot/data/domain/service/UsersServiceTest.kt | softwareplace | 749,152,259 | false | {"Kotlin": 201707, "Mustache": 12022, "Java": 4578, "Shell": 1291, "Makefile": 762} | package com.github.softwareplace.springboot.data.domain.service
import com.github.softwareplace.springboot.data.domain.BaseTest
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
class UsersServiceTest : BaseTest() {
@Test
fun `should return all users`() {
val use... | 0 | Kotlin | 0 | 1 | 9d4c43c97b41cf5d645f3540af43b20b208968fd | 819 | springboot | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/wizard/template-impl/src/com/android/tools/idea/wizard/template/impl/other/automotiveMediaService/buildGradle.kt | jomof | 502,039,754 | false | {"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID... | /*
* Copyright (C) 2020 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1 | Java | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 1,531 | CppBuildCacheWorkInProgress | Apache License 2.0 |
app/src/main/java/com/kamaltatyana/redgallery/view/about/AboutFragment.kt | TatyanaBazhanova | 132,364,766 | false | null | package com.kamaltatyana.redgallery.view.about
import android.app.AlertDialog
import android.app.Dialog
import android.app.DialogFragment
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.text.Html
import android.view.View
import android.widget.TextView
import com.kamaltatyan... | 0 | Kotlin | 0 | 0 | da68677527fd797b73ce4c479da1a7b260510900 | 1,618 | GalleryApp | Apache License 2.0 |
Chapter3/app/src/main/java/com/favedish/app/di/DishDetailsModule.kt | bpbpublications | 533,628,168 | false | null | package com.favedish.app.di
import android.content.res.Resources
import com.favedish.data.dish.datasource.DishDataSource
import com.favedish.data.dishdetails.mapper.DishDataToDomainMapper
import com.favedish.data.dishdetails.mapper.RestaurantDataToDomainMapper
import com.favedish.data.dishdetails.repository.DishDetail... | 0 | Kotlin | 5 | 7 | cd85b9fb89e307ad4977bcdb63121aa906f19427 | 2,824 | Clean-Architecture-for-Android | MIT License |
Dingo/app/src/main/java/com/example/dingo/MainActivity.kt | quarterdill | 646,621,724 | false | null | package com.example.dingo
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.found... | 1 | Kotlin | 0 | 4 | 27d35a193c071eec4eec91a3bbd170419edefc43 | 6,410 | Dingo | MIT License |
app/src/main/java/com/sc/lesa/mediashar/MediaReaderService.kt | MJH39088 | 754,069,598 | false | {"Kotlin": 86393, "Java": 37895} | package com.sc.lesa.mediashar
import android.annotation.SuppressLint
import android.app.*
import android.content.Context
import android.content.Intent
import android.content.pm.ServiceInfo
import android.os.Build
import android.os.Handler
import android.os.IBinder
import android.os.Looper
import android.util.Log
impor... | 0 | Kotlin | 0 | 0 | 0d13cedbc1eb283ee422516fee32e879ed10979b | 7,082 | AndroidScreenSharePj | Apache License 2.0 |
compiler-plugin/src/main/kotlin/konotop/kotlin/compiler/plugin/LoweringExtension.kt | zayass | 783,868,616 | false | {"Kotlin": 36663} | package konotop.kotlin.compiler.plugin
import org.jetbrains.kotlin.backend.common.ClassLoweringPass
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
import org.jetbrains.kotlin.backend.common.lower
import org.jetbrains.kot... | 0 | Kotlin | 0 | 0 | 4d06b358ea259822302212bf4e8cb3be72629d5b | 1,339 | konotop | Apache License 2.0 |
app/src/main/java/com/example/ppapb_uas/Welcome/WelcomeFragment.kt | geffaa | 734,634,377 | false | {"Kotlin": 114171} | package com.example.ppapb_uas.Welcome
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.appcompat.widget.AppCompatTextView
import com.example.ppapb_uas.R
import com.exa... | 0 | Kotlin | 0 | 0 | 0fefc8933648e876ce95f7b87f8e581c3b94786c | 2,679 | PPAPB_UAS_CALORIETRACKERFINAL | MIT License |
app/src/main/java/org/oppia/app/options/OptionsActivityPresenter.kt | The-Fuse | 290,502,917 | true | {"Kotlin": 3041512, "Starlark": 85090, "Java": 27484, "Shell": 1855} | package org.oppia.app.options
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import androidx.drawerlayout.widget.DrawerLayout
import org.oppia.app.R
import org.oppia.app.activity.ActivityScope
import org.oppia.app.drawer.NavigationDrawerFragment
import... | 0 | null | 0 | 0 | 6ee99027a169c501855271b80c0a86ab2cf84420 | 2,339 | oppia-android | Apache License 2.0 |
src/test/kotlin/no/roedt/ringesentralen/hypersys/login/AESUtilsTest.kt | Roedt | 300,015,002 | false | null | package no.roedt.ringesentralen.hypersys
import com.nhaarman.mockitokotlin2.doReturn
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import no.roedt.ringesentralen.hypersys.login.AESUtil
import no.roedt.ringesentralen.token.SecretFactory
import org.junit.jupiter.api.Assertions
impor... | 17 | Kotlin | 0 | 0 | ca971ccedaebdcf5244b6198abdc454abf664101 | 1,569 | ringesentralen-backend | MIT License |
src/main/kotlin/cc/rits/membership/console/paymaster/infrastructure/api/response/PurchaseRequestsResponse.kt | membership-console | 558,499,219 | false | null | package cc.rits.membership.console.paymaster.infrastructure.api.response
import io.micronaut.core.annotation.Introspected
/**
* 購入申請リストレスポンス
*/
@Introspected
data class PurchaseRequestsResponse(
/**
* 購入申請リスト
*/
val purchaseRequests: List<PurchaseRequestResponse>
)
| 5 | Kotlin | 0 | 3 | 612d59a4419e09ff0e20dbdea0aa1114fb12507f | 288 | paymaster | MIT License |
core/common/src/main/java/com/lelestacia/lelenime/core/common/util/Sample.kt | Kamil-Malik | 628,208,142 | false | null | package com.lelestacia.lelenime.core.common.util
import com.lelestacia.lelenime.core.model.Anime
val chainsawMan = Anime(
malID = 44511,
coverImages = "https://cdn.myanimelist.net/images/anime/1806/126216l.jpg",
trailer = null,
title = "Chainsaw Man",
titleEnglish = "Chainsaw Man",
titleJapane... | 1 | Kotlin | 0 | 7 | 4bb4ff8a3e0c1137fe815ac7ce82babcb13cc5d1 | 1,902 | lelenime | Apache License 2.0 |
src/main/kotlin/com/github/w0819/game/uhc/recipes/SevenleagueBoots.kt | dolphin2410-archive | 421,782,870 | true | {"Kotlin": 152472} | package com.github.w0819.game.uhc.recipes
import com.github.w0819.game.util.Item
import com.github.w0819.game.util.uhc.UHCRecipe
import org.bukkit.Material
import org.bukkit.NamespacedKey
class SevenleagueBoots : UHCRecipe(
NamespacedKey.minecraft("seven_league_boots"),
Item.SevenleagueBoots
){
init {
... | 0 | Kotlin | 0 | 0 | a31b2a8f49f86250568a328ab9272adcc8896887 | 597 | UHC_System | MIT License |
Dialogs/DialogDemo_kt/app/src/main/java/edu/cs4730/dialogdemo_kt/SupportDialogFragment.kt | JimSeker | 17,833,557 | false | {"Java": 1011629, "Kotlin": 432508} | package edu.cs4730.dialogdemo_kt
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.view.ContextThemeWrapper
import androidx.fragment.app.Fragment
import edu.cs473... | 0 | Java | 29 | 29 | b84afada38e0ee5f0637fd05cec73890403d1382 | 3,129 | ui | Apache License 2.0 |
026.remove-duplicates-from-sorted-array/solution.kt | JC6 | 45,993,346 | false | {"Java": 1, "Text": 1, "Kotlin": 15, "Python": 9, "Markdown": 1} | fun removeDuplicates(nums: IntArray): Int {
var i = 0
nums.forEach {
if (it != nums[i]) {
i++
nums[i] = it
}
}
return i + 1
}
| 1 | null | 1 | 1 | 493dbe86cb1b59d4f3a770a8653ec3be1ff25b6d | 182 | leetcode | MIT License |
026.remove-duplicates-from-sorted-array/solution.kt | JC6 | 45,993,346 | false | {"Java": 1, "Text": 1, "Kotlin": 15, "Python": 9, "Markdown": 1} | fun removeDuplicates(nums: IntArray): Int {
var i = 0
nums.forEach {
if (it != nums[i]) {
i++
nums[i] = it
}
}
return i + 1
}
| 1 | null | 1 | 1 | 493dbe86cb1b59d4f3a770a8653ec3be1ff25b6d | 182 | leetcode | MIT License |
client-android/lib/src/main/kotlin/stasis/client_android/lib/ops/recovery/stages/EntityCollection.kt | sndnv | 153,169,374 | false | {"Scala": 3373826, "Kotlin": 1821771, "Dart": 853650, "Python": 363474, "Shell": 70265, "CMake": 8759, "C++": 4051, "HTML": 2655, "Dockerfile": 1942, "Ruby": 1330, "C": 691, "Swift": 594, "JavaScript": 516} | package stasis.client_android.lib.ops.recovery.stages
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.filter
import kotlinx.coroutines.flow.onEach
import stasis.client_android.lib.collection.RecoveryCollector
import stasis.client_android.lib.model.TargetEntity
import stasis.client_android.lib.ops.Op... | 0 | Scala | 4 | 53 | d7b3002880814039b332b3d5373a16b57637eb1e | 1,085 | stasis | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.