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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data-geocoding/src/androidTest/java/de/niklasbednarczyk/nbweather/data/geocoding/repositories/GeocodingRepositoryTest.kt | NiklasBednarczyk | 529,683,941 | false | {"Kotlin": 1065284} | package de.niklasbednarczyk.nbweather.data.geocoding.repositories
import de.niklasbednarczyk.nbweather.core.data.localremote.models.resource.NBResource.Companion.collectUntilResource
import de.niklasbednarczyk.nbweather.data.geocoding.local.daos.FakeGeocodingDao
import de.niklasbednarczyk.nbweather.data.geocoding.loca... | 15 | Kotlin | 0 | 1 | bd8ac5bae4ed4461e2461b6d89dd67358fdfbdd8 | 8,522 | NBWeather | MIT License |
Utils/src/main/java/pw/androidthanatos/lib/utils/network/NetWorkType.kt | waws80 | 179,428,143 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 14, "Kotlin": 32, "Java": 2} | package pw.androidthanatos.lib.utils.network
/**
* 功能描述: 网络类型
* @className: NetWorkType.kt
* @author: thanatos
* @createTime: 19-4-3
* @updateTime: 19-4-3 下午4:22
*/
enum class NetWorkType {
WIFI, //当前网络类型是wifi
MOBILE, //当前网络类型是移动流量
NONE, //当前暂无网络
ALL,//所有网络类型 (主要用在注解上)
} | 1 | null | 1 | 1 | fdccefdc529b1e3a5edbdf8070792437caface03 | 295 | AndroidLibUtil | Apache License 2.0 |
src/main/kotlin/com/github/goldsubmarine/restfulhelper/model/RequestedUserPath.kt | GoldSubmarine | 394,201,620 | false | null | package com.github.goldsubmarine.restfulhelper.model
import java.net.URL
/**
* Possible userPattern formats:
* - http://localhost:8080/api/v1
* - https://www.somepath.com/api/v1
* - /api/v1
* - api
*/
class RequestedUserPath(userPattern: String) {
private val path: String = if (userPattern.startsWith("http"... | 16 | Kotlin | 4 | 9 | 9d187542a38548a353625ea06201075d001ef8b9 | 436 | RestfulHelper | MIT License |
app/src/main/java/com/app/framework/common/callback/TextWatcherListener.kt | NewNum | 178,140,296 | false | {"Java": 344965, "Kotlin": 56132} |
package com.app.framework.common.callback
import android.text.Editable
import android.text.TextWatcher
/**
* @author zongjin
* @date 2019/3/12.
*/
open class TextWatcherListener : TextWatcher {
override fun afterTextChanged(s: Editable?) {}
override fun beforeTextChanged(s: CharSequence?, start: Int,... | 1 | Java | 1 | 1 | 0bad0395d0b19792804044e34ace7c339524d51f | 439 | framework | Apache License 2.0 |
Skeppsklocka/app/src/main/java/com/egenvall/skeppsklocka/network/FirebaseInteractor.kt | egenvall | 69,731,293 | false | null | package com.egenvall.skeppsklocka.network
import com.egenvall.skeppsklocka.model.ServerResponse
import rx.Observable
interface FirebaseInteractor {
fun postPushNotification(message:String) : Observable<ServerResponse>
} | 1 | Kotlin | 0 | 4 | 94c36ce375df9affa5ad69ec5823706e55b85986 | 225 | Kotlin-Conductor-Notify | MIT License |
app/src/main/java/com/zheng/home/data/model/PokemonListResponse.kt | dzzheng3 | 128,245,122 | false | {"Gradle": 4, "JSON": 1, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 18, "Kotlin": 72, "Java": 1} | package com.zheng.home.data.model
data class PokemonListResponse(val results: List<NamedResource>)
| 0 | Kotlin | 0 | 0 | 040ada1398ccbed7df41e62a4bcc9fb9fce163d1 | 101 | TakeHomeINS | The Unlicense |
buildSrc/src/main/kotlin/dev/engine_room/gradle/transitive/TransitiveSourceSetsExtension.kt | Engine-Room | 377,588,261 | false | null | package dev.engine_room.gradle.transitive
import org.gradle.api.Action
import org.gradle.api.Project
import org.gradle.api.file.FileCollection
import org.gradle.api.tasks.SourceSet
open class TransitiveSourceSetsExtension(private val project: Project) {
var compileClasspath: FileCollection? = null
var runtime... | 82 | null | 54 | 218 | 3a949c717a26e55fd585169daa26e279a7efdc5e | 2,161 | Flywheel | MIT License |
zipline-loader/src/commonTest/kotlin/app/cash/zipline/loader/ZiplineFileTest.kt | cashapp | 41,445,081 | false | null | /*
* Copyright (C) 2021 Square, 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 83 | null | 95 | 2,043 | e7ad22ac5110a20686035b616aef190814472d19 | 3,815 | zipline | Apache License 2.0 |
plugins/package-search/src/com/jetbrains/packagesearch/intellij/plugin/extensibility/ProjectModuleType.kt | anatawa12 | 302,138,931 | true | null | package com.jetbrains.packagesearch.intellij.plugin.extensibility
import com.intellij.openapi.project.Project
import com.jetbrains.packagesearch.intellij.plugin.api.model.StandardV2Package
import javax.swing.Icon
enum class ProjectModuleTypeTerm {
SCOPE
}
internal interface ProjectModuleType {
val icon: Ico... | 1 | null | 1 | 1 | e1c5d097ee05bdb7a7352becb9037f1094de7817 | 575 | intellij-community | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/ui/details/TracingDetailsFragmentModule.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.tracing.ui.details
import dagger.Binds
import dagger.Module
import dagger.android.ContributesAndroidInjector
import dagger.multibindings.IntoMap
import de.rki.coronawarnapp.util.viewmodel.CWAViewModel
import de.rki.coronawarnapp.util.viewmodel.CWAViewModelFactory
import de.rki.coronawarnap... | 6 | Kotlin | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 716 | cwa-app-android | Apache License 2.0 |
kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/annotation/AutoScan.kt | kotest | 47,071,082 | false | {"Kotlin": 4569354, "CSS": 352, "Java": 145} | package io.kotest.core.annotation
/**
* Add this annotation to [io.kotest.core.extensions.Extension]s and they will be registered automatically for all specs.
*/
annotation class AutoScan
| 143 | Kotlin | 632 | 4,372 | 551bd92c0311ff3bf02975fb00e8b9b674fc9cd1 | 191 | kotest | Apache License 2.0 |
app/src/main/java/bj/vinylbrowser/search/SearchController.kt | jbmlaird | 82,479,889 | false | null | package bj.vinylbrowser.search
import android.content.Context
import android.os.Bundle
import android.support.design.widget.TabLayout
import android.support.v4.content.ContextCompat
import android.support.v7.widget.SearchView
import android.support.v7.widget.Toolbar
import android.view.LayoutInflater
import android.vi... | 3 | Java | 1 | 20 | 23facb4e1ab156508e934ebc1fcd1d57b3255aba | 9,039 | DiscogsBrowser | MIT License |
analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableBoolean.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | fun test(b: Boolean) {
<caret>when(b) {
}
} | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 51 | kotlin | Apache License 2.0 |
Source/packages/apps/Settings/src/com/android/settings/datausage/DataSaverSummary.kt | stayboogy | 784,959,483 | false | {"XML": 12479, "Ignore List": 14, "Markdown": 7, "Text": 104, "Shell": 20, "Makefile": 32, "INI": 11, "Soong": 58, "Java": 9482, "Gradle": 8, "Java Properties": 5, "Batchfile": 3, "Proguard": 2, "Protocol Buffer": 33, "JSON": 83, "Python": 6, "Kotlin": 469, "C++": 24, "XSLT": 1, "HTML": 5, "C": 23, "AIDL": 5, "Git Attr... | /*
* Copyright (C) 2023 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... | 0 | Java | 0 | 0 | e6132560c5e2416db150b856bd3f331d80795c4c | 6,645 | stayboogy_AOSimPle_Pixel-5_Redfin | Apache License 2.0 |
plugins/kotlin/j2k/shared/tests/testData/newJ2k/visibility/exposedInternalSupertypeByPublic.k2.kt | JetBrains | 2,489,216 | false | {"Text": 9788, "INI": 517, "YAML": 423, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 10, "Shell": 633, "Markdown": 750, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7904, "SVG": 4537, "Kotlin": 60205, "Java": 84268, "HTML": 3803, "Java Properties": 217, "Gradle... | // ERROR: Subclass 'public' exposes its 'internal' supertype 'Base'.
internal abstract class Base {
abstract fun test()
}
class Test : Base() {
override fun test() {
}
}
| 1 | null | 1 | 1 | 0d546ea6a419c7cb168bc3633937a826d4a91b7c | 183 | intellij-community | Apache License 2.0 |
clean-insights/src/main/java/org/cleaninsights/sdk/Consent.kt | Horizontal-org | 193,379,924 | false | null | /**
* Consent.kt
* CleanInsightsSDK
*
* Created by Benjamin Erhart.
* Copyright © 2020 Guardian Project. All rights reserved.
*/
@file:Suppress("unused")
package org.cleaninsights.sdk
import java.util.*
enum class Feature { Lang, Ua }
open class Consent(val granted: Boolean, val start: Date = Date(), val end:... | 15 | null | 16 | 51 | c51bc845f65ffeeeb195c97987b997e62e1c1a64 | 2,318 | Tella-Android | Apache License 2.0 |
client/src/main/kotlin/pt/marmelo/ets2atsjobsync/client/tools/DataExtract.kt | dmarmelo | 174,200,174 | false | null | package pt.marmelo.ets2atsjobsync.client.tools
import pt.marmelo.ets2atsjobsync.client.Save
import pt.marmelo.ets2atsjobsync.client.SiiFile
import pt.marmelo.ets2atsjobsync.common.payload.CompanyPayload
import pt.marmelo.ets2atsjobsync.common.utils.JacksonUtils
import pt.marmelo.ets2atsjobsync.parser.Context
import pt... | 26 | Kotlin | 0 | 2 | b714367919945bc76a0c4f7dbb252195271fe608 | 3,437 | ets2-ats-job-sync | MIT License |
libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/tasks/TasksProvider.kt | DevenLiang | 158,195,099 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* 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 | null | 0 | 1 | 35cc6ff495d5dae67142b3a92579c5e300fed852 | 3,908 | kotlin | Apache License 2.0 |
App/app/src/main/java/com/unibg/magellanus/app/route/view/RoutedPOIRecyclerViewAdapter.kt | fcarne | 436,684,542 | false | {"Java": 100032, "Kotlin": 94277, "Dockerfile": 875} | package com.unibg.magellanus.app.route.view
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.ImageButton
import androidx.recyclerview.widget.RecyclerView
import com.unibg.magellanus.app.R
import com.unibg.magellanus.app.databinding.FragmentRoutedPoiItemBinding
import com.unibg.mag... | 1 | Java | 1 | 1 | 51db50cf6df9b11aa371d8827f578a99fcc802dd | 2,660 | Magellanus | Apache License 2.0 |
UsingTimberLogger/app/src/main/java/github/nisrulz/example/usingtimberlogger/ReleaseTree.kt | nisrulz | 52,518,462 | false | {"Java": 272459, "Python": 207106, "Kotlin": 186873, "Shell": 7563, "CMake": 227, "C": 200, "HTML": 174} | package github.nisrulz.example.usingtimberlogger
import android.util.Log
import timber.log.Timber
class ReleaseTree : Timber.Tree() {
override fun isLoggable(tag: String?, priority: Int): Boolean {
// Only log WARN, ERROR, WTF
return !(priority == Log.VERBOSE || priority == Log.DEBUG || priority =... | 7 | Java | 668 | 1,738 | 3ca3cffbfc1d1f8e64681ff8b16269884aa4bc00 | 647 | android-examples | Apache License 2.0 |
compiler/tests/org/jetbrains/kotlin/asJava/KotlinLightClassTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.asJava
import com.intellij.openapi.util.Key
import com.intellij.psi.search.Globa... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 2,183 | kotlin | Apache License 2.0 |
compiler/tests/org/jetbrains/jet/jetTestUtils.kt | chashnikov | 14,658,474 | true | {"Java": 14526655, "Kotlin": 6831811, "JavaScript": 897073, "Groovy": 43935, "CSS": 14421, "Shell": 9248} | /*
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | Java | 1 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 2,262 | kotlin | Apache License 2.0 |
app/src/test/java/com/krenvpravo/expensenotes/repository/TransactionRepositoryTest.kt | Dmitry-Borodin | 79,638,390 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "Kotlin": 8, "XML": 7} | package com.krenvpravo.expensenotes.repository
import com.krenvpravo.expensenotes.models.Currency
import com.krenvpravo.expensenotes.models.Transaction
import org.junit.After
import org.junit.Test
import org.junit.Assert.*
import org.junit.Before
import java.util.*
/**
* @author <NAME> on 2017-01-17.
*/
class Tran... | 1 | null | 1 | 1 | 54b91deff55ee742d1a27a7ccb4401c80c7fdab2 | 1,500 | ExpenseNotes | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/opensearchservice/DomainDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.opensearchservice
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.opensearchservice.Domain
import software.amazon.awscdk.services.opensearchservice.DomainProps
import... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 815 | aws-cdk-kt | Apache License 2.0 |
rest/src/main/kotlin/com/gitlab/kordlib/rest/json/request/EmojiRequests.kt | cybernetics | 314,534,887 | true | {"Kotlin": 995285} | package com.gitlab.kordlib.rest.json.request
import com.gitlab.kordlib.common.entity.Snowflake
import com.gitlab.kordlib.common.entity.optional.Optional
import kotlinx.serialization.Serializable
@Serializable
data class EmojiCreateRequest(
val name: String,
val image: String,
val roles: Set<Sn... | 0 | null | 0 | 0 | 3bebe2f796bff84205c9ea6cceae51e2c41dee76 | 500 | kord | MIT License |
alcholrehab/app/src/main/java/com/example/alcholrehab/models/SuccessModel.kt | bhargavbvs | 476,408,431 | false | null | package com.example.alcholrehab.models
data class SuccessModel (
val status: String) | 0 | Kotlin | 1 | 0 | bf2b5941a00c1bf68d65863fb36e68cacfff23af | 89 | Courage-to-Change | MIT License |
src/main/kotlin/org/geepawhill/contentment/core/TimerHandler.kt | msilpala | 164,180,418 | false | null | package org.geepawhill.contentment.core
import javafx.application.Platform
import uk.co.caprica.vlcj.player.base.MediaPlayer
import uk.co.caprica.vlcj.player.base.MediaPlayerEventAdapter
class TimerHandler(private val timer: NanoTimer) : MediaPlayerEventAdapter() {
override fun playing(mediaPlayer: MediaPlayer) ... | 1 | null | 1 | 1 | d14bfd4f768b74a2f1fe4cea311b4cc430f44a0a | 1,049 | kontentment | MIT License |
src/main/kotlin/dev/chara/tasks/backend/domain/service/FirebaseTokenService.kt | 19lmyers | 624,219,343 | false | null | package dev.chara.tasks.backend.domain.service
import com.github.michaelbull.result.Err
import com.github.michaelbull.result.Result
import dev.chara.tasks.backend.ApplicationError
import dev.chara.tasks.backend.data.repository.FirebaseTokenRepository
import dev.chara.tasks.backend.domain.DomainError
class FirebaseTok... | 0 | Kotlin | 0 | 1 | 26024fd040f0a1c3f515898d6ebd3856d9f9ea7d | 761 | tasks-backend | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/CodePullRequestClosed.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,181 | icons | MIT License |
src/main/kotlin/me/peckb/aoc/pathing/Dijkstra.kt | peckb1 | 433,943,215 | false | null | package me.peckb.aoc.pathing
import java.util.PriorityQueue
/**
* NOTE: whatever class you use for `Node` should be a `data class`
*/
interface Dijkstra<Node, Cost : Comparable<Cost>, NodeWithCost: DijkstraNodeWithCost<Node, Cost>> {
fun solve(start: Node, end: Node? = null, comparator: Comparator<Node>? = null):... | 0 | null | 1 | 4 | 5507219c37a97500eed6e455520038549237b504 | 1,653 | advent-of-code | MIT License |
klock/src/jsMain/kotlin/com/soywiz/klock/internal/DateExt.kt | quentin996007 | 230,476,822 | true | {"Kotlin": 211899, "Shell": 2318, "Batchfile": 780} | package com.soywiz.klock.internal
import com.soywiz.klock.DateTime
import kotlin.js.Date
@Deprecated("", replaceWith = ReplaceWith("", "com.soywiz.klock.js.toDateTime"), level = DeprecationLevel.HIDDEN)
fun Date.toDateTime() = DateTime(this.getTime())
@Deprecated("", replaceWith = ReplaceWith("", "com.soywiz.klock.j... | 0 | null | 0 | 1 | a5283b11c83bad9db50ced7eee69d7b8e6f4f34d | 417 | klock | Creative Commons Zero v1.0 Universal |
domain/src/main/java/com/worldsnas/domain/repo/home/latest/LatestMovieRepoOutputModel.kt | worldsnas | 178,716,293 | false | {"Gradle": 25, "YAML": 2, "Java Properties": 2, "Proguard": 5, "Shell": 1, "Text": 2, "Ignore List": 17, "Batchfile": 1, "Markdown": 1, "Kotlin": 318, "XML": 61, "JSON": 4, "INI": 1, "Java": 39} | package com.worldsnas.domain.repo.home.latest
import com.worldsnas.core.ErrorHolder
import com.worldsnas.domain.model.repomodel.MovieRepoModel
sealed class LatestMovieRepoOutputModel {
class Success(
val thisPage: List<MovieRepoModel>,
val all : List<MovieRepoModel>) : LatestMovieRepoOutp... | 1 | Kotlin | 8 | 57 | c7d084d2cf2c4f9486337fe347d5d6b8b5806e0a | 400 | AIO | Apache License 2.0 |
app/src/main/java/com/example/smartdoc/ProfileActivit.kt | angryevilloser3086 | 356,614,772 | false | {"Java": 18164, "Kotlin": 9080, "HTML": 3197} | package com.example.smartdoc
import android.annotation.SuppressLint
import android.app.DatePickerDialog
import android.content.Intent
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.View
import android.widget.*
import androidx.appcompat.app.AppCompatActivity
im... | 1 | null | 1 | 1 | e3bed285f39cbb0386bc5c11b66c8b83c57974a1 | 4,245 | SmartDoc | MIT License |
plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/artifacts/KotlinArtifacts.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.artifacts
import com.intellij.openapi.application.PathManager
import org.jetbrains.kotlin.idea.compiler.configuration.KotlinPluginLayout
import java.io.File
import ... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,734 | intellij-community | Apache License 2.0 |
plugin/src/main/java/ru/cleverpumpkin/appbadge/AppBadgePlugin.kt | CleverPumpkin | 147,178,624 | false | null | package ru.cleverpumpkin.appbadge
import com.android.build.gradle.BaseExtension
import com.android.build.gradle.TestedExtension
import com.android.build.gradle.api.BaseVariant
import org.gradle.api.NamedDomainObjectContainer
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.Task
import r... | 3 | null | 1 | 17 | 36090b36367145508408ca46fe795d1d71a29c96 | 6,485 | App-Badge | MIT License |
device-manager-v2/src/com/android/tools/idea/devicemanagerv2/DeviceManagerPanel.kt | JetBrains | 60,701,247 | false | {"Kotlin": 43855938, "Java": 36698280, "HTML": 1216565, "Starlark": 735324, "C++": 216476, "Python": 101594, "C": 71515, "Lex": 66026, "NSIS": 58516, "AIDL": 32502, "Shell": 28591, "CMake": 21034, "JavaScript": 18437, "Batchfile": 7774, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18} | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 2 | Kotlin | 230 | 876 | 9c0a89784cca3c01ab99cf251b71a26cdb87cc47 | 7,819 | android | Apache License 2.0 |
src/main/kotlin/no/nav/klage/oppgave/clients/kabaldocument/model/response/JournalfoeringDataOutput.kt | navikt | 297,650,936 | false | null | package no.nav.klage.oppgave.clients.kabaldocument.model.response
data class JournalfoeringDataOutput(
val sakenGjelder: PartIdOutput,
val tema: String,
val sakFagsakId: String?,
val sakFagsystem: String?,
val kildeReferanse: String,
val enhet: String,
)
| 0 | Kotlin | 1 | 1 | 75824e087d3d800194d749682d09c5ab68ee0a90 | 280 | kabal-api | MIT License |
libraries/tools/kotlin-lombok/src/main/kotlin/org/jetbrains/kotlin/lombok/gradle/LombokSubplugin.kt | awenger | 362,461,100 | true | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.lombok.gradle
import org.gradle.api.Project
import org.gradle.api.provider.Provi... | 0 | null | 0 | 0 | b8002cb54f54964a491c77baa654f8241e047534 | 1,509 | kotlin | Apache License 2.0 |
src/main/kotlin/com/seatgeek/greenhouse/api/model/CustomField.kt | seatgeek | 144,424,324 | false | null | package com.seatgeek.greenhouse.api.model
class CustomField(
val name: String,
val type: String,
val value: Any
) | 0 | Kotlin | 0 | 1 | 04a63c42b5563ff8c545f8739257afaa4b96d022 | 126 | greenhouse-api-client | MIT License |
src/main/kotlin/com/seatgeek/greenhouse/api/model/CustomField.kt | seatgeek | 144,424,324 | false | null | package com.seatgeek.greenhouse.api.model
class CustomField(
val name: String,
val type: String,
val value: Any
) | 0 | Kotlin | 0 | 1 | 04a63c42b5563ff8c545f8739257afaa4b96d022 | 126 | greenhouse-api-client | MIT License |
client/client-efa/src/commonMain/kotlin/de/jlnstrk/transit/api/efa/model/EfaTrip.kt | jlnstrk | 229,599,180 | false | {"Kotlin": 729374} | @file:UseSerializers(
EfaStringBooleanSerializer::class,
EfaPrimitiveSerializer.ForString::class,
EfaPrimitiveSerializer.ForFloat::class
)
package de.jlnstrk.transit.api.efa.model
import de.jlnstrk.transit.api.efa.serializer.generic.EfaOptionalListSerializer
import de.jlnstrk.transit.api.efa.serializer.pr... | 0 | Kotlin | 0 | 0 | 9f700364f78ebc70b015876c34a37b36377f0d9c | 2,196 | transit | Apache License 2.0 |
app/src/main/kotlin/me/mataha/misaki/util/annotations/VisibleForTesting.kt | mataha | 302,513,601 | false | null | @file:Suppress("unused")
package me.mataha.misaki.util.annotations
import me.mataha.misaki.util.annotations.VisibleForTesting.Visibility
import kotlin.annotation.AnnotationRetention.SOURCE
/**
* Indicates that the element annotated by this annotation (typically
* a class, function or field) has its visibility elev... | 0 | Kotlin | 0 | 0 | 82fac9dae62136da8217e21ef5a0d6984d6310e0 | 1,421 | misaki | MIT License |
App/src/main/kotlin/com/watched/presentation/common/provider/CoroutineDispatcherProvider.kt | heitorcolangelo | 261,010,590 | false | null | package com.watched.presentation.common.provider
import com.watched.domain.common.providers.DispatcherProvider
import kotlinx.coroutines.Dispatchers
import javax.inject.Inject
class CoroutineDispatcherProvider @Inject constructor() : DispatcherProvider {
override fun io() = Dispatchers.IO
override fun ui() =... | 0 | Kotlin | 0 | 0 | 884c639a7ef3bbe614391e006fa3b419b32a5d5f | 340 | Watched | Apache License 2.0 |
src/commonMain/kotlin/com/airthings/lib/logging/LogUtil.kt | Airthings | 677,250,112 | false | null | /*
* Copyright 2023 Airthings ASA. All rights reserved.
*
* 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, modif... | 0 | Kotlin | 0 | 2 | c5478dd590a4dfe5974f29004aa98e58a49cc9e5 | 3,075 | KmpLog | MIT License |
app/src/main/java/jp/juggler/subwaytooter/push/PushMessageIconColor.kt | tateisu | 89,120,200 | false | {"Kotlin": 4343773, "Java": 324536, "Perl": 47551} | package jp.juggler.subwaytooter.push
import androidx.annotation.ColorRes
import androidx.annotation.DrawableRes
import jp.juggler.subwaytooter.R
import jp.juggler.subwaytooter.api.entity.TootNotification
import jp.juggler.subwaytooter.table.PushMessage
import jp.juggler.util.log.LogCategory
private val log = LogCateg... | 37 | Kotlin | 23 | 238 | f20f9fee8ef29bfcbba0f4c610ca8c2fb1c29d4f | 2,906 | SubwayTooter | Apache License 2.0 |
app/src/main/java/com/github/nyanfantasia/shizurunotes/db/RawUnitSkillData.kt | TragicLifeHu | 440,741,412 | true | {"Kotlin": 727863} | package com.github.nyanfantasia.shizurunotes.db
import com.github.nyanfantasia.shizurunotes.data.Chara
import com.github.nyanfantasia.shizurunotes.data.Skill
@Suppress("PropertyName", "PrivatePropertyName")
class RawUnitSkillData {
var unit_id = 0
var union_burst = 0
var main_skill_1 = 0
var main_skil... | 0 | Kotlin | 0 | 1 | 7d06e6dfc6268312eff6f5af359ae0c3153a6d50 | 5,082 | ShizuruNotes | Apache License 2.0 |
app/src/main/java/com/github/nyanfantasia/shizurunotes/db/RawUnitSkillData.kt | TragicLifeHu | 440,741,412 | true | {"Kotlin": 727863} | package com.github.nyanfantasia.shizurunotes.db
import com.github.nyanfantasia.shizurunotes.data.Chara
import com.github.nyanfantasia.shizurunotes.data.Skill
@Suppress("PropertyName", "PrivatePropertyName")
class RawUnitSkillData {
var unit_id = 0
var union_burst = 0
var main_skill_1 = 0
var main_skil... | 0 | Kotlin | 0 | 1 | 7d06e6dfc6268312eff6f5af359ae0c3153a6d50 | 5,082 | ShizuruNotes | Apache License 2.0 |
server/src/main/kotlin/zinced/server/config/Config.kt | xtexChooser | 540,688,552 | false | null | /*
* Copyright 2022 xtexChooser
*
* 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... | 0 | Kotlin | 0 | 0 | ccbe526d22978325be0d16975eb05da5cddd32cb | 1,287 | zinced | Apache License 2.0 |
src/main/kotlin/impl/pipeline/SimpleSynchronousPipeline.kt | CChuYong | 524,897,911 | false | null | package impl.pipeline
import HandlerType
import PipeCollection
import Pipeline
import PipelineExecutor
import PipelineHandler
import java.util.*
import java.util.concurrent.CompletableFuture
/**
* A simple [Pipeline] implementation which executes every pipeline in synchronous context
*/
class SimpleSynchronousPipel... | 0 | Kotlin | 0 | 1 | e57ffcec070c8a433231e0a0a94fbdd0abba128e | 2,080 | PipelineKt | MIT License |
template/app/src/jsMain/kotlin/kotli/app/di/platform/configureKoin.kt | kotlitecture | 790,159,970 | false | {"Kotlin": 482571, "Swift": 543, "JavaScript": 313, "HTML": 234} | package kotli.app.di.platform
import org.koin.core.KoinApplication
actual fun configureKoin(app: KoinApplication) {
} | 0 | Kotlin | 3 | 55 | b96c8867f393bedba65b2f6f8a40e806bf07bcd9 | 119 | template-multiplatform-compose | MIT License |
src/main/kotlin/se/brainleech/adventofcode/aoc2022/Aoc2022Day01.kt | fwangel | 435,571,075 | false | null | package se.brainleech.adventofcode.aoc2022
import se.brainleech.adventofcode.compute
import se.brainleech.adventofcode.readLines
import se.brainleech.adventofcode.verify
import kotlin.math.max
class Aoc2022Day01 {
fun part1(input: List<String>): Long {
var maxCalories = 0L
var currentCalories = 0... | 0 | Kotlin | 0 | 0 | 0bba96129354c124aa15e9041f7b5ad68adc662b | 1,291 | adventofcode | MIT License |
ModInt.kt | wangchaohui | 737,511,233 | false | {"Kotlin": 22409} | class ModInt(v: Int) {
constructor(v: Long) : this(v.mod(MOD))
private val value = v.mod(MOD)
operator fun plus(other: ModInt) = plus(other.value)
operator fun plus(other: Int) = ModInt(value + other)
operator fun minus(other: ModInt) = minus(other.value)
operator fun minus(other: Int) = ModIn... | 0 | Kotlin | 0 | 0 | 4156c218c771df4e7fcd94eb250a1ea14aa9f686 | 938 | kotlin-lib | Apache License 2.0 |
app/src/main/java/uk/co/barbuzz/countdowntimer/ui/TimerScreen.kt | andyb129 | 344,253,898 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 1f16eb168d7e92c4ab17125f2b8663ec16600c67 | 2,343 | CountdownTimerCompose | Apache License 2.0 |
app/src/main/java/sk/karab/ia/database/DatabaseBackend.kt | FilipeeX | 776,213,406 | false | {"Kotlin": 55221, "Java": 800} | package sk.karab.ia.database
import sk.karab.ia.util.Utility
import java.io.File
import java.sql.Connection
import java.util.Calendar
import java.util.Properties
class DatabaseBackend {
companion object {
fun craftQuerysForAddingHomework(fromDate: Calendar, toDate: Calendar, subject: String, message: St... | 0 | Kotlin | 0 | 1 | adc19467a0cad0312638f6a81351c435252ea51c | 8,487 | 1a-app | MIT License |
plugins/kotlin/code-insight/inspections-k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/inspections/branchedTransformations/BranchedFoldingUtils.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.k2.refactoring.util
import com.intellij.psi.PsiElement
import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
import org.jetbrains.kotlin.analysis.api.types.KtT... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 19,982 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/hellocowcow/data/retrofit/mvxApi/response/Arguments.kt | Elyt622 | 665,358,514 | false | {"Kotlin": 290265, "Java": 5521} | package com.example.hellocowcow.data.retrofit.mvxApi.response
import com.google.gson.annotations.SerializedName
data class Arguments (
@SerializedName("transfers") var transfers : ArrayList<Transfers> = arrayListOf(),
@SerializedName("receiver") var receiver : String? = null,
@SerializedName("functionNa... | 0 | Kotlin | 0 | 0 | d3c28475b017e2164d3ed41620654f11f8e8fd70 | 458 | Cowcow | Apache License 2.0 |
app/src/main/java/com/frogobox/appapi/di/ViewModelModule.kt | frogobox | 389,577,716 | false | null | package com.frogobox.appapi.di
import com.frogobox.appapi.mvvm.meal.MealViewModel
import com.frogobox.appapi.mvvm.movies.movie.MovieViewModel
import com.frogobox.appapi.mvvm.movies.person.PersonViewModel
import com.frogobox.appapi.mvvm.movies.tv.TvViewModel
import com.frogobox.appapi.mvvm.news.NewsViewModel
import com... | 0 | Kotlin | 6 | 7 | 1dd90a037f9acb2ba30066f753d35f7b909621a6 | 1,379 | frogo-consume-api | Apache License 2.0 |
arrow-libs/fx/arrow-fx-coroutines/src/jvmTest/kotlin/arrow/fx/coroutines/ResourceTestJvm.kt | arrow-kt | 86,057,409 | false | {"Kotlin": 2793646, "Java": 7691} | package arrow.fx.coroutines
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import io.kotest.matchers.types.shouldBeTypeOf
import java.util.concurrent.atomic.AtomicBoolean
import java.lang.AutoCloseable
import java.io.Closeable
import io... | 38 | Kotlin | 436 | 5,958 | 5f0da6334b834bad481c7e3c906bee5a34c1237b | 1,814 | arrow | Apache License 2.0 |
autofill/autofill-impl/src/main/java/com/duckduckgo/autofill/impl/configuration/integration/modern/listener/email/WebMessageListenerEmailRemoveCredentials.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 11900445, "HTML": 63593, "Ruby": 14445, "JavaScript": 7140, "C++": 1813, "CMake": 1286, "Shell": 784} | /*
* Copyright (c) 2024 DuckDuckGo
*
* 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 ... | 66 | Kotlin | 865 | 3,545 | 53c15f71eda5fb565d0929d1ebad9f57d8d3e135 | 2,508 | Android | Apache License 2.0 |
search/adapter/src/commonMain/kotlin/com/gchristov/thecodinglove/search/adapter/http/mapper/SearchStatisticsMapper.kt | gchristov | 533,472,792 | false | {"Kotlin": 484555, "CSS": 87216, "HTML": 54731, "Dockerfile": 3638, "Shell": 971, "JavaScript": 742} | package com.gchristov.thecodinglove.search.adapter.http.mapper
import com.gchristov.thecodinglove.search.domain.model.SearchStatistics
import com.gchristov.thecodinglove.search.proto.http.model.ApiSearchStatistics
internal fun SearchStatistics.toStatistics() = ApiSearchStatistics(
messagesSent = messagesSent,
... | 0 | Kotlin | 1 | 4 | e0cf7230988128c37bfacc3875c75075adc4dd31 | 416 | thecodinglove-kotlinjs | Apache License 2.0 |
komapper-core/src/main/kotlin/org/komapper/core/dsl/ScriptDsl.kt | komapper | 349,909,214 | false | null | package org.komapper.core.dsl
import org.komapper.core.dsl.context.ScriptContext
import org.komapper.core.dsl.query.ScriptExecuteQuery
import org.komapper.core.dsl.query.ScriptExecuteQueryImpl
object ScriptDsl : Dsl {
fun execute(sql: String): ScriptExecuteQuery {
return ScriptExecuteQueryImpl(ScriptCont... | 6 | Kotlin | 0 | 16 | 7092a2bd24b609a1816bf05c89730259ff45178d | 338 | komapper | Apache License 2.0 |
platform/testGuiFramework/src/com/intellij/testGuiFramework/fixtures/EditorNotificationPanelFixture.kt | androidports | 115,100,208 | false | null | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* 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... | 6 | null | 1 | 4 | 6e4f7135c5843ed93c15a9782f29e4400df8b068 | 2,625 | intellij-community | Apache License 2.0 |
plugin/src/test-dockered/kotlin/cms/rendner/debugger/impl/PythonDebugger.kt | rendner | 336,657,251 | false | null | /*
* Copyright 2021-2024 cms.rendner (<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... | 1 | null | 1 | 12 | 1a2d095bbebade29604b8b700f2f748460357602 | 12,342 | py-plugin-dataframe-viewer | Apache License 2.0 |
Oxygen/bukkit/src/main/kotlin/cc/fyre/stark/profile/grant/command/ClearGrantsCommand.kt | AndyReckt | 364,514,997 | false | {"Java": 12055418, "Kotlin": 766337, "Shell": 5518} | /*
* Copyright (c) 2020.
* Created by YoloSanta
* Created On 10/22/20, 1:23 AM
*/
package cc.fyre.stark.profile.grant.command
import cc.fyre.stark.Stark
import cc.fyre.stark.engine.command.Command
import cc.fyre.stark.engine.command.data.parameter.Param
import cc.fyre.stark.profile.BukkitProfile
import org.bukkit... | 1 | null | 1 | 1 | 200501c7eb4aaf5709b4adceb053fee6707173fa | 693 | Old-Code | Apache License 2.0 |
if-service/if-service-judge/src/main/kotlin/com/interactionfields/judge/mq/listener/JudgeCommitListener.kt | Ashinch | 397,369,377 | false | null | package com.interactionfields.judge.mq.listener
import com.interactionfields.common.domain.Attachment
import com.interactionfields.common.extension.FileExt.del
import com.interactionfields.common.extension.FileExt.mkDir
import com.interactionfields.common.extension.JsonExt.toObj
import com.interactionfields.common.mq.... | 0 | Kotlin | 0 | 0 | 997910700454d7e36242a7871292535ca5b62ca6 | 5,720 | interaction-fields | Apache License 2.0 |
app/src/main/java/com/adhanjas/animations/CountryRecyclerAdapter.kt | brandy-kay | 393,393,722 | false | null | package com.adhanjas.animations
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.adhanjas.animations.databinding.CountryRowBinding
import com.bumptech... | 0 | Kotlin | 0 | 3 | e24bcf93e23c5ef2cd0014781fc98c780a92b4ab | 1,787 | Animations | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/HouseChimneyHeart.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,653 | icons | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/greengrass/CfnSubscriptionDefinitionSubscriptionPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.greengrass
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.aws... | 4 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 3,138 | awscdk-dsl-kotlin | Apache License 2.0 |
stripe/src/main/java/com/stripe/android/model/SourceOrder.kt | AhlaamK-tap | 224,178,048 | true | {"Kotlin": 1683134, "Java": 64443, "Ruby": 6208} | package com.stripe.android.model
import android.os.Parcelable
import com.stripe.android.model.SourceOrder.Item.Type
import kotlinx.android.parcel.Parcelize
import org.json.JSONArray
import org.json.JSONObject
/**
* Information about the items and shipping associated with the source.
* Required for transactional cre... | 0 | null | 0 | 0 | a731c4207e5d6276997b2cd15c0d884e3266d016 | 6,746 | stripe-android | MIT License |
android/app/src/main/java/com/zulipmobile/notifications/NotificationHelper.kt | izyrtm | 209,246,630 | false | {"JavaScript": 1092357, "Kotlin": 32186, "Java": 25037, "Shell": 15104, "Objective-C": 8131, "Python": 1508} | @file:JvmName("NotificationHelper")
package com.zulipmobile.notifications
import android.app.Notification
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.text.Spannable
import android.text.SpannableString
import android.text.style.StyleSpan
import and... | 16 | JavaScript | 0 | 1 | 85434875de768c6f2bd9b97540983a8f2126a7ff | 5,038 | izyrtm-mobile | Apache License 2.0 |
geary-tests/src/test/kotlin/com/mineinabyss/geary/papermc/tracking/items/cache/PlayerItemCacheTest.kt | MineInAbyss | 592,086,123 | false | null | package com.mineinabyss.geary.papermc.tracking.items.cache
import be.seeseemelk.mockbukkit.MockBukkit
import com.mineinabyss.geary.helpers.entity
import com.mineinabyss.geary.modules.TestEngineModule
import com.mineinabyss.geary.modules.geary
import com.mineinabyss.geary.papermc.mocks.MockItem
import com.mineinabyss.g... | 2 | null | 0 | 5 | e2fffea48d58db4ea9aa1a58ef46171b29a8a7eb | 5,356 | geary-papermc | MIT License |
src/backend/ci/core/common/common-third-sdk/common-github-sdk/src/main/kotlin/com/tencent/devops/common/sdk/github/request/ListPullRequestFileRequest.kt | TencentBlueKing | 189,153,491 | false | {"Kotlin": 27229057, "Vue": 6004381, "JavaScript": 1271752, "Go": 581316, "Lua": 566727, "TypeScript": 441789, "SCSS": 394363, "Shell": 154472, "CSS": 102823, "Java": 97964, "HTML": 95602, "Python": 57579, "Less": 24714, "Makefile": 10582, "Smarty": 10297, "Dockerfile": 5097, "Batchfile": 4908, "PowerShell": 832, "VBSc... | package com.tencent.devops.common.sdk.github.request
import com.fasterxml.jackson.annotation.JsonProperty
import com.tencent.devops.common.sdk.enums.HttpMethod
import com.tencent.devops.common.sdk.github.GithubRequest
import com.tencent.devops.common.sdk.github.response.PullRequestFileResponse
import com.tencent.devop... | 901 | Kotlin | 476 | 2,266 | 4f22785cf8d9937f15a9cb15a1885a638a81acca | 934 | bk-ci | MIT License |
src/main/kotlin/de/flapdoodle/tab/graph/nodes/connections/In.kt | flapdoodle-oss | 237,231,857 | false | null | package de.flapdoodle.tab.graph.nodes.connections
import de.flapdoodle.tab.data.nodes.ConnectableNode
import de.flapdoodle.tab.data.nodes.NodeId
import de.flapdoodle.tab.data.values.Input
import de.flapdoodle.tab.graph.events.IsMarker
sealed class In<T: Any> : IsMarker {
abstract val id: NodeId<out ConnectableNode>... | 0 | Kotlin | 1 | 0 | 55fcef723441cf7c11587268580c5a7956d617e5 | 632 | tab | Apache License 2.0 |
app/src/main/java/com/vicky7230/flux/data/network/model/tvDetails/Crew.kt | chonamdoo | 498,474,959 | false | null | package com.vicky7230.flux.data.network.model.tvDetails
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
data class Crew(
@SerializedName("credit_id")
@Expose
var creditId: String? = null,
@SerializedName("department")
@Expose
... | 0 | Kotlin | 5 | 0 | bff8ec0b55b69cc4c9c83dfa3851f95db82ec713 | 772 | TheMovieDB | MIT License |
app/src/main/java/com/thewizrd/simpleweather/preferences/DevSettingsFragment.kt | SimpleAppProjects | 82,603,731 | false | null | package com.thewizrd.simpleweather.preferences
import android.os.Bundle
import androidx.preference.EditTextPreference
import androidx.preference.Preference
import androidx.preference.PreferenceCategory
import com.thewizrd.shared_resources.di.settingsManager
import com.thewizrd.shared_resources.weatherdata.WeatherAPI
i... | 0 | null | 7 | 26 | 985479ea1c8a97b657f3a5c832e4f7ec36b72661 | 2,204 | SimpleWeather-Android | Apache License 2.0 |
libraries/network/src/main/java/com/surya/network/NetworkInterceptor.kt | suryamudti | 234,350,394 | false | null | package com.surya.network
import okhttp3.Interceptor
import okhttp3.Response
class NetworkInterceptor: Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
var request = chain.request()
val url = request.url()
.newBuilder()
.addQueryParameter(API_KEY... | 0 | Kotlin | 0 | 1 | 0007f70c252b522e134f189c23f95880e55cf40e | 569 | Github-Trending | Apache License 2.0 |
core-ui/src/androidTest/java/com/hoc/flowmvi/core_ui/ExampleInstrumentedTest.kt | Kotlin-Android-Open-Source | 343,622,644 | false | null | package com.hoc.flowmvi.core_ui
| 4 | Kotlin | 12 | 95 | 09d9ef5d45972c2b1f22459ffe07358013fca742 | 32 | Jetpack-Compose-MVI-Coroutines-Flow | MIT License |
no-waste-products/src/main/kotlin/edu/ubb/micro/nowaste/productmanager/controller/ServiceController.kt | kissbudai | 192,089,735 | false | null | package edu.ubb.micro.nowaste.productmanager.controller
import org.springframework.core.env.Environment
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
@RestController
class ServiceController(pri... | 0 | Kotlin | 0 | 0 | 25afa71e987fcbfb85bf6f2588d7654b98e1e0c5 | 556 | no-waste-api | Apache License 2.0 |
core/src/main/java/com/supercaliman/core/base/ErrorNotesDialog.kt | SuperCaliMan | 280,449,917 | false | null | package com.supercaliman.core.base
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.view.View
import android.view.Window
import android.widget.Button
import android.widget.TextView
import com.supercaliman.core.R
class ErrorNotesDialog(
context: Context,
private ... | 0 | Kotlin | 0 | 1 | 8961f03823afd25db4624017eea1d5a49ad06d13 | 1,051 | Notes | Apache License 2.0 |
app/src/main/java/com/qwict/studyplanetandroid/presentation/viewmodels/states/UserState.kt | Qwict | 698,396,315 | false | {"Kotlin": 140916} | package com.qwict.studyplanetandroid.presentation.viewmodels.states
import com.qwict.studyplanetandroid.domain.model.Planet
import com.qwict.studyplanetandroid.domain.model.User
data class UserState(
val isLoading: Boolean = false,
val isRefreshing: Boolean = false,
val refreshError: String = "",
val ... | 0 | Kotlin | 0 | 0 | 517bb2146071d067d64170a387023170b1959b2e | 415 | StudyPlanetAndroid | MIT License |
app/src/main/java/com/behere/loc_based_reminder/data/response/Header.kt | irekizea | 284,908,511 | false | null | package com.behere.loc_based_reminder.data.response
data class Header(
val description: String,
val columns: List<String>,
val stdrYm: String,
val resultCode: String,
val resultMsg: String
) | 8 | Kotlin | 0 | 0 | 820ec4e2690aa9d2d3614b9d4afcd5d2b2bee078 | 211 | behere | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/api/data/pullrequest/GHPullRequestCommitShort.kt | fedochet | 247,146,509 | true | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.github.api.data.pullrequest
import org.jetbrains.plugins.github.api.data.GHCommit
import org.jetbrains.plugins.github.api.data.GHNode
class GHPullR... | 1 | null | 1 | 1 | 6a1500ca8b777d69f79a606b5741656da03f4a5f | 384 | intellij-community | Apache License 2.0 |
app/src/main/java/com/hooni/quotesaver/util/Constants.kt | hunnihundert | 317,061,510 | false | null | package com.hooni.quotesaver.util
import com.hooni.quotesaver.R
const val NUMBER_OF_QUOTES_RETURNED_AT_ONCE = 30
const val DOUBLE_BACK_TAP_EXIT_INTERVAL = 2000
val backgroundImages = listOf(
R.drawable.background_1,
R.drawable.background_2,
R.drawable.background_3,
R.drawable.background_4,
R.draw... | 5 | Kotlin | 0 | 5 | e5cf2e767dc7ab1c1d88ba66307f994e0f37d314 | 1,623 | QuoteSaver | Apache License 2.0 |
datastore/datastore-core/src/commonTest/kotlin/androidx/datastore/core/CommonTests.kt | androidx | 256,589,781 | false | null | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 18 | null | 790 | 4,549 | bd66997874293bcf20cfaf6e7d20633d15cefb62 | 1,366 | androidx | Apache License 2.0 |
app/src/main/java/ru/vdv/myapp/myreadersdiary/domain/StatusCode.kt | stdimensiy | 420,496,623 | false | {"Kotlin": 234081} | package ru.vdv.myapp.myreadersdiary.domain
/**
* Константы кодов ответа сервера
* @property CONTINUE (100) продолжай
* @property OK (200) все в порядке (ОК)
* @property CREATED (201) создано
* @property NO_CONTENT (204) нет содержимого
* @property BAD_REQUEST (400) неправильный, н... | 18 | Kotlin | 2 | 3 | 4fd1682cab595b4636c15e30bae545850a67a20c | 720 | My_Readers_Diary_DA | MIT License |
db/src/main/kotlin/com/lightningkite/ktordb/Modification.ext.kt | lightningkite | 446,581,038 | false | {"Kotlin": 750473, "Swift": 169551, "TypeScript": 147757, "Ruby": 1473, "Shell": 635, "JavaScript": 236} | package com.lightningkite.ktordb
import kotlin.reflect.KProperty1
fun <T, V> Modification<T>.forFieldOrNull(field: KProperty1<T, V>): Modification<V>? {
return when (this) {
is Modification.Chain -> modifications.mapNotNull { it.forFieldOrNull(field) }.takeUnless { it.isEmpty() }
?.let { Modi... | 0 | Kotlin | 0 | 0 | 70b635f12c64c21850d5078db0d1ca6e3afad34c | 1,162 | ktor-batteries | MIT License |
backend/src/main/kotlin/com/github/davinkevin/podcastserver/manager/worker/Extractor.kt | davinkevin | 13,350,152 | false | null | package com.github.davinkevin.podcastserver.manager.worker
import com.github.davinkevin.podcastserver.manager.downloader.DownloadingInformation
import com.github.davinkevin.podcastserver.manager.downloader.DownloadingItem
import org.apache.commons.io.FilenameUtils
import java.net.URI
/**
* Created by kevin on 03/12/... | 1 | HTML | 39 | 165 | 0fd1d95b645782025d06a7f10e05d0d2177455f2 | 611 | Podcast-Server | Apache License 2.0 |
app/src/main/java/io/sokolvault/wayofturtles/repositories/presence/PresenceRepositoryContract.kt | stereoVibe | 107,811,201 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Java": 5, "Kotlin": 52, "XML": 9} | package io.sokolvault.wayofturtles.repositories.presence
import android.arch.lifecycle.LiveData
import io.sokolvault.wayofturtles.model.CompositeGoal
import io.sokolvault.wayofturtles.model.JobGoal
import io.sokolvault.wayofturtles.model.SingleGoal
import io.sokolvault.wayofturtles.model.TaskGoal
/**
* This @interfa... | 17 | null | 1 | 1 | 61fc60db19bfef2dbcd06d84a8bf2277c45b1774 | 1,295 | WayOfTurtles | MIT License |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/ui/search/Chooser.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2081129, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.ui.search
import com.arkivanov.decompose.ComponentContext
import com.denchic45.studiversity.domain.Resource
import com.denchic45.studiversity.domain.resourceOf
import com.denchic45.studiversity.util.componentScope
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.cor... | 0 | Kotlin | 0 | 7 | 93947301de4c4a9cb6c3d9fa36903f857c50e6c2 | 2,213 | Studiversity | Apache License 2.0 |
app/src/main/java/com/an9ar/bookkeeper/screens/CreditsScreen.kt | an9ar | 337,171,043 | false | null | package com.an9ar.bookkeeper.screens
import android.content.Intent
import android.net.Uri
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.*
... | 0 | Kotlin | 0 | 0 | f77b8b7d302dd507a0a8789c04c2338aaab8a919 | 7,628 | BookKeeper | Apache License 2.0 |
app/src/main/java/com/boocha/feature/home/viewmodel/HomeActivityViewModel.kt | hasannazimakyol | 245,244,646 | false | null | package com.boocha.feature.home.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.boocha.data.Repository
import com.boocha.data.remote.FirebaseService
import com.boocha.data.remote.util.Resource
import com.boocha.data.remote.util.Status
import com.boocha.model.User
impo... | 0 | Kotlin | 0 | 1 | 2b9ced543b389cb93f372d93c83cc2f490f6bbfe | 1,786 | BooCha | The Unlicense |
feature/feed/src/main/kotlin/io/github/kioba/feature/feed/model/FeedState.kt | kioba | 187,097,620 | false | {"Kotlin": 40011} | package io.github.kioba.feature.feed.model
import io.github.kioba.domain.placeholder.user.model.Avatar
import io.github.kioba.domain.placeholder.user.model.Email
import io.github.kioba.domain.placeholder.user.model.Name
import io.github.kioba.domain.placeholder.user.model.User
import io.github.kioba.domain.placeholder... | 0 | Kotlin | 0 | 1 | 363034492d649b18c35467937ee055d636b04a91 | 1,089 | quack | MIT License |
src/main/kotlin/fr/shikkanime/repositories/ConfigRepository.kt | Shikkanime | 725,527,999 | false | {"Kotlin": 572790, "FreeMarker": 134915, "JavaScript": 2805, "SCSS": 1949, "Dockerfile": 1240, "Shell": 812, "Fluent": 69} | package fr.shikkanime.repositories
import fr.shikkanime.entities.Config
import fr.shikkanime.entities.Config_
class ConfigRepository : AbstractRepository<Config>() {
override fun getEntityClass() = Config::class.java
fun findAllByName(name: String): List<Config> {
return database.entityManager.use {
... | 2 | Kotlin | 0 | 4 | dc6b53d836f8dae64eda93e93f3609fbcddfdd40 | 1,099 | core | Apache License 2.0 |
analysis/analysis-api/testData/components/resolver/singleByPsi/kDoc/companionObject/childQualifiedFunctionFromSuperClassCompanion.kt | JetBrains | 3,432,266 | false | null | // UNRESOLVED_REFERENCE
open class Base {
companion object {
fun foo() {}
}
}
/**
* [Child.f<caret>oo]
*/
class Child : Base() { }
| 181 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 151 | kotlin | Apache License 2.0 |
src/test/kotlin/com/ikueb/advent18/Day24Test.kt | h-j-k | 159,901,179 | false | null | package com.ikueb.advent18
import com.ikueb.advent18.Day24.getWinningImmuneUnits
import com.ikueb.advent18.Day24.getWinningUnits
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
internal class Day24Test {
@Test
fun partOneExample() {
assertThat(getWinningUnits(examp... | 0 | Kotlin | 0 | 0 | f1d5c58777968e37e81e61a8ed972dc24b30ac76 | 1,272 | advent18 | Apache License 2.0 |
module-api/src/main/java/me/shouheng/api/eyepetizer/EyepetizerService.kt | Shouheng88 | 194,376,813 | false | null | package me.shouheng.api.eyepetizer
import com.alibaba.android.arouter.facade.template.IProvider
import me.shouheng.api.bean.HomeBean
/** Service to get eyepetizer data */
interface EyepetizerService : IProvider {
/** Request home page first page data */
fun getFirstHomePage(date: Long?, listener: OnGetHomeBe... | 0 | Kotlin | 30 | 177 | c60b1dc8285a1e3b0a39ca44382f3577a2ea6bfc | 657 | Android-VMLib | Apache License 2.0 |
app/src/main/java/com/lexleontiev/tapyou/test/app/ui/MainActivity.kt | LexLeontiev | 816,066,302 | false | {"Kotlin": 30817} | package com.lexleontiev.tapyou.test.app.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.github.terrakok.cicerone.NavigatorHolder
import com.github.terrakok.cicerone.Router
import com.github.terrakok.cicerone.androidx.AppNavigator
import com.lexleontiev.tapyou.test.app.R
import co... | 0 | Kotlin | 0 | 0 | 5eed817622995bbac51eed506fb390c664f36ab0 | 1,284 | test_app | MIT License |
trade-order-service/src/main/kotlin/com/ash/trading/oms/tradeorder/statemachine/handlers/OmsTradeOrderExecutedStateHandler.kt | ashfrench | 760,910,146 | false | {"Kotlin": 92835} | package com.ash.trading.oms.tradeorder.statemachine.handlers
import com.ash.trading.oms.model.TradeOrderQuantities
import com.ash.trading.oms.tradeorder.statemachine.OmsTradeOrderState
import com.ash.trading.oms.tradeorder.statemachine.event.*
import org.slf4j.LoggerFactory
object OmsTradeOrderExecutedStateHandler {
... | 0 | Kotlin | 0 | 0 | ac1dbc678836ecbc52fdca9ec078203a8dcf4298 | 1,240 | trade-oms | Apache License 2.0 |
app/src/main/java/com/example/sightry/navigation/screens/ResultScreen.kt | pudding-hack | 834,408,241 | false | {"Kotlin": 91942, "Java": 447} | import android.graphics.BitmapFactory
import android.net.Uri
import android.util.Log
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Text
impor... | 0 | Kotlin | 0 | 0 | c935631bbf6683a08603e9a52f8e1ccf9eb16f69 | 5,140 | Sightry-Mobile | MIT License |
app/src/main/java/com/example/stafflinkmobile/Driver_Login.kt | StaffLink-TransportManagementSystem | 748,028,678 | false | {"Kotlin": 29296} | package com.example.stafflinkmobile
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
class Driver_Login : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | 8c84b38f0980d54523682825a4113956d9f41953 | 660 | StaffLink_Android_Frontend | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.