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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/mob/lee/fastair/io/http/ResourceResponse.kt | hongui | 123,892,735 | false | {"Kotlin": 223529, "HTML": 16935, "Svelte": 11650, "Java": 1951, "CSS": 1572, "JavaScript": 552} | package com.mob.lee.fastair.io.http
import java.io.InputStream
import java.nio.channels.SocketChannel
class ResourceResponse(action: () -> InputStream, mime: String) : Response<InputStream>(action, mime = mime) {
override fun addHeader(source: InputStream) {
header.put("Content-Length",source.available()... | 3 | Kotlin | 15 | 82 | ed357bc88292f77f0629cef8e969a5bc06a583a6 | 676 | FastAir | Apache License 2.0 |
EzXHelper/src/main/java/com/github/kyuubiran/ezxhelper/ClassUtils.kt | KyuubiRan | 349,098,837 | false | null | @file:Suppress("unused", "MemberVisibilityCanBePrivate")
package com.github.kyuubiran.ezxhelper
import com.github.kyuubiran.ezxhelper.MemberExtensions.isStatic
import com.github.kyuubiran.ezxhelper.finders.MethodFinder.`-Static`.methodFinder
import java.lang.IllegalArgumentException
object ClassUtils {
/**
... | 7 | Kotlin | 29 | 230 | 770da6633590397d63a28245c0a4eea72fd8d8f3 | 9,313 | EzXHelper | Apache License 2.0 |
app/src/main/java/th/ac/kku/cis/lab/pokedex/model/Type.kt | aueaoangkung | 457,221,582 | false | null | package th.ac.kku.cis.lab.pokedex.model
data class Type(
val slot: Int,
val type: TypeX
) | 0 | Kotlin | 0 | 0 | 6d337be90b24ce82c368cd1fe8f68525eb65c4c5 | 98 | Qz | MIT License |
kotlin-typescript/src/jsMain/generated/typescript/isSpreadElement.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Automatically generated - do not modify!
@file:JsModule("typescript")
package typescript
@JsName("isSpreadElement")
external fun isSpreadElementRaw(node: Node): Boolean /* node is SpreadElement */
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 204 | kotlin-wrappers | Apache License 2.0 |
thingRobot/src/main/java/com/kanawish/thing/robot/RobotActivity.kt | f8full | 159,063,990 | true | {"Kotlin": 53721, "Java": 18562} | package com.kanawish.thing.robot
import android.app.Activity
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.Bundle
import com.google.android.things.contrib.driver.motorhat.MotorHat
import com.google.android.things.pio.PeripheralManager
import com.jakewharton.rxrelay2.BehaviorRel... | 0 | Kotlin | 0 | 0 | b64c6dffc6c867f6726320b04100ea33e3631b2d | 1,458 | ar-robot-workshop | Apache License 2.0 |
app/src/main/java/com/hamzaazman/finalspace/ui/episode/viewmodel/EpisodeViewModel.kt | hamzaazman | 572,226,620 | false | {"Kotlin": 62216} | package com.hamzaazman.finalspace.ui.episode.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.asLiveData
import com.hamzaazman.finalspace.data.repo.EpisodeRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
@HiltViewModel
class EpisodeViewModel @Inject const... | 0 | Kotlin | 1 | 6 | d1a346f494078c61333f249274559721134cf2cd | 456 | FinalSpace | Apache License 2.0 |
data/src/main/java/com/x/data/api/model/response/NodeDetailResponse.kt | ResulSilay | 469,322,755 | false | {"Kotlin": 403160} | package com.x.data.api.model.response
import androidx.annotation.Keep
import com.squareup.moshi.Json
import com.x.domain.model.NodeDetailModel
@Keep
data class NodeDetailResponse(
@field:Json(name = "_class") var className: String? = null,
@field:Json(name = "displayName") var displayName: String? = null,
... | 0 | Kotlin | 1 | 14 | 4648b4e6fdbaf60631c9a203cefd51beef370f71 | 3,501 | jenci | Apache License 2.0 |
src/main/kotlin/com/github/djaler/telespyfall/entity/GamePlayerEntity.kt | Djaler | 287,959,202 | false | null | package com.github.djaler.telespyfall.entity
import javax.persistence.*
@Entity
@Table(name = "games_players")
data class GamePlayerEntity(
@Column
val gameId: Int,
@Column
val telegramId: Int,
@Column
val username: String,
@Column
val spy: Boolean = false,
@Id
@GeneratedVa... | 5 | Kotlin | 0 | 1 | 3915f321091b2a2e94fecaa6e18ac1b013688700 | 382 | telespyfall | MIT License |
conductor-client/src/main/kotlin/com/openlattice/collaborations/mapstores/CollaborationMapstore.kt | openlattice | 101,697,464 | false | null | package com.openlattice.collaborations.mapstores
import com.hazelcast.config.InMemoryFormat
import com.hazelcast.config.IndexConfig
import com.hazelcast.config.IndexType
import com.hazelcast.config.MapConfig
import com.openlattice.collaborations.Collaboration
import com.openlattice.hazelcast.HazelcastMap
import com.op... | 2 | null | 3 | 4 | b836eea0a17128089e0dbe6719495413b023b2fb | 2,342 | openlattice | Apache License 2.0 |
lib/lightroom/src/main/kotlin/dev/sanson/lightroom/sdk/model/AlbumTreeItem.kt | jamiesanson | 662,641,050 | false | {"Kotlin": 224936, "Shell": 3211} | // Copyright (C) 2023, <NAME>
// SPDX-License-Identifier: Apache-2.0
package dev.sanson.lightroom.sdk.model
/**
* An album tree item is an item found in the album folder structure - either a collection, or
* collection_set.
*/
sealed interface AlbumTreeItem {
val id: AlbumTreeItemId
val catalogId: CatalogId... | 2 | Kotlin | 0 | 1 | b444826f631cc612404af795b16d201ea4859c64 | 394 | lightroom-muzei | Apache License 2.0 |
lib/lightroom/src/main/kotlin/dev/sanson/lightroom/sdk/model/AlbumTreeItem.kt | jamiesanson | 662,641,050 | false | {"Kotlin": 224936, "Shell": 3211} | // Copyright (C) 2023, <NAME>
// SPDX-License-Identifier: Apache-2.0
package dev.sanson.lightroom.sdk.model
/**
* An album tree item is an item found in the album folder structure - either a collection, or
* collection_set.
*/
sealed interface AlbumTreeItem {
val id: AlbumTreeItemId
val catalogId: CatalogId... | 2 | Kotlin | 0 | 1 | b444826f631cc612404af795b16d201ea4859c64 | 394 | lightroom-muzei | Apache License 2.0 |
app/src/main/java/com/example/whishlist/MainActivity.kt | CS-DK | 696,502,728 | false | {"Kotlin": 5200} | package com.example.whishlist
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
class MainActivity : A... | 0 | Kotlin | 0 | 0 | 05f5dc2a5affe6cf5b1f267652852392cbc1f866 | 1,605 | Whishlist | Apache License 2.0 |
paging-runtime/src/commonMain/kotlin/org/mobilenativefoundation/storex/paging/runtime/internal/pager/impl/RealQueueManager.kt | matt-ramotar | 770,584,788 | false | {"Kotlin": 230175} | package org.mobilenativefoundation.storex.paging.runtime.internal.pager.impl
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
import org.mobilenativefoundation.storex.paging.runtime.PagingAction
import org.mobilenativefoundation.storex.paging.runtime.Comparator
import org.mobilenativefounda... | 0 | Kotlin | 0 | 3 | 9b41120e4fb4b1fc789daf5ee16b60fcb8db666b | 4,485 | Paging | Apache License 2.0 |
app/src/main/kotlin/com/evastos/bux/data/model/rtf/update/UpdateEventBody.kt | eveey | 147,939,147 | false | null | package com.evastos.bux.data.model.rtf.update
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import java.math.BigDecimal
@JsonClass(generateAdapter = true)
data class UpdateEventBody(
@Json(name = "securityId") val securityId: String?,
@Json(name = "currentPrice") val currentPrice: BigDeci... | 0 | Kotlin | 0 | 0 | eb8d7fd92bc659e9da523941b4bd3c96a2797de5 | 327 | BUXDemo | The Unlicense |
core/src/main/java/org/futo/circles/core/utils/TextFormatUtils.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.core.utils
import android.content.Context
import org.futo.circles.core.R
object TextFormatUtils {
fun getFormattedInvitesKnocksMessage(
context: Context,
invitesCount: Int,
knockRequestsCount: Int
): String {
var message = context.getString(R.string.sh... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 950 | circles-android | Apache License 2.0 |
kotlin/src/main/kotlin/com/artemkaxboy/telerest/config/EventsConfig.kt | artemkaxboy | 275,306,369 | false | null | package com.artemkaxboy.telerest.config
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.context.event.ApplicationEventMulticaster
import org.springframework.context.event.SimpleApplicationEventMulticaster
import org.springframewo... | 4 | Kotlin | 1 | 0 | 86ac6592b4996c740d12cea3b151da9a405ac3b4 | 760 | LockStockBot | Apache License 2.0 |
mvvm-coroutines-clean-architecture/data/src/main/java/br/com/mobiplus/gitclient/data/di/RepositoryModule.kt | mobiplus-opensource | 245,928,292 | false | null | package br.com.mobiplus.gitclient.data.di
import br.com.mobiplus.gitclient.data.featureFlag.FeatureFlagDataSource
import br.com.mobiplus.gitclient.data.gitrepo.GitRepoRepositoryImpl
import br.com.mobiplus.gitclient.data.gitrepo.remote.GitRepoAPIDataSource
import br.com.mobiplus.gitclient.data.gitrepo.remote.GitRepoSta... | 2 | Kotlin | 1 | 0 | 52bee81a68cb05009cdd71217ca215d51c0364be | 1,033 | android-architecture-examples | MIT License |
composeApp/src/commonMain/kotlin/dev/lennartegb/vec2compose/app/ContentConverter.kt | LennartEgb | 520,006,256 | false | {"Kotlin": 194622, "Shell": 892, "HTML": 636} | package dev.lennartegb.vec2compose.app
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import dev.lennartegb.vec2compose.app.data.File
fun interface ContentConverter : (File) -> Result<String>
@Composable
fun rememberContentConverter(
imageVectorCreator: ImageVectorCreator = r... | 1 | Kotlin | 4 | 29 | cd3e0bf9b4733ef0cffb92e2a2050828fcc1e905 | 680 | vec2compose | MIT License |
server/src/main/kotlin/com/lsdconsulting/exceptionhandling/server/tracer/SleuthRequestTracerConfiguration.kt | lsd-consulting | 463,933,707 | false | null | package com.lsdconsulting.exceptionhandling.server.tracer
import brave.Tracer
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean
import org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration
import org.springframework.cloud.sleuth.autoconfig.instrument.web.TraceWebAutoConfigura... | 0 | Kotlin | 0 | 1 | 7e1f222ddc037dfe022abf23765de80ac781a2ea | 923 | spring-http-exception-handling-library | MIT License |
profilers/testSrc/com/android/tools/profilers/cpu/CpuThreadTrackModelTest.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* Copyright (C) 2019 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... | 5 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 3,716 | android | Apache License 2.0 |
src/test/kotlin/ca/ubc/ece/resess/slicer/SlicerTest.kt | resess | 819,212,859 | false | {"Kotlin": 159184, "Java": 34184} | //package ca.ubc.ece.resess.slicer
//
//import ca.ubc.ece.resess.slicer.dynamic.core.graph.Parser
//import ca.ubc.ece.resess.slicer.dynamic.core.slicer.DynamicSlice
//import ca.ubc.ece.resess.slicer.dynamic.slicer4j.Slicer
//import com.intellij.util.io.exists
//import com.intellij.util.io.readText
//import junit.framew... | 0 | Kotlin | 0 | 0 | 9b33e520e7602a849f049e3674ca9b3de6612cc9 | 5,413 | Slicer4D | MIT License |
app/src/main/java/com/example/weatherapp/views/activity/TaskExecutor.kt | Kirishhaa | 668,767,900 | false | null | package com.example.weatherapp.views.activity
private typealias LifecycleTask<T> = (T) -> Unit
class TaskExecutor<T> {
private var obj: T? = null
private val tasks = mutableListOf<LifecycleTask<T>>()
fun registerObject(obj: T) {
this.obj = obj
notifyObject()
}
fun unregisterObj... | 0 | Kotlin | 0 | 0 | 63a3fd15ca1b372f5e0d9dde1898bcc66a2a00a6 | 691 | WeatherLit | MIT License |
src/main/kotlin/io/littlelanguages/alml/typed/st/ST.kt | graeme-lockley | 527,417,092 | false | {"Kotlin": 130228, "C": 45058, "Shell": 12965, "Makefile": 602} | package io.littlelanguages.alml.typed.st
import io.littlelanguages.alml.typed.typing.Scheme
import io.littlelanguages.alml.typed.typing.Substitution
import io.littlelanguages.alml.typed.typing.Type
import io.littlelanguages.data.Tuple2
import io.littlelanguages.scanpiler.Location
import io.littlelanguages.scanpiler.Lo... | 0 | Kotlin | 0 | 0 | 802d8de4f667c0017489753c3c3651e68aeb8947 | 4,878 | al-ml | MIT License |
client-baseclient/src/nativeMain/kotlin/de/menkalian/crater/createHttpClient.kt | Menkalian | 499,917,030 | false | {"Kotlin": 73761, "Dockerfile": 149} | package de.menkalian.crater
import io.ktor.client.HttpClient
import io.ktor.client.engine.curl.Curl
actual fun createHttpClient(): HttpClient {
return HttpClient(Curl)
}
| 0 | Kotlin | 0 | 0 | 8f557c1aa9b9d1950ceb921a9dec8b031d809056 | 176 | crater | MIT License |
sharedModule/src/main/java/ru/nekit/android/qls/pupil/avatar/PupilAvatarViewBuilder.kt | ru-nekit-android | 126,668,350 | false | null | package ru.nekit.android.qls.pupil.avatar
import android.content.Context
import android.support.v7.widget.AppCompatImageView
import android.view.ViewGroup
import ru.nekit.android.qls.shared.model.Pupil
object PupilAvatarViewBuilder {
fun build(context: Context, pupil: Pupil, pupilAvatarContainer: ViewGroup) {
... | 0 | Kotlin | 0 | 1 | 37a2037be2ecdbe19607b5fbb9e5f7852320a5a0 | 820 | QuestLockScreen | Apache License 2.0 |
app/src/main/java/com/motivemobileapp/TaskService.kt | motivepick | 173,620,725 | false | null | package com.motivemobileapp
import com.google.gson.GsonBuilder
import com.motivemobileapp.model.Config
import com.motivemobileapp.model.TaskFromServer
import com.motivemobileapp.model.UpdateTaskRequest
import retrofit2.Call
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import ret... | 3 | Kotlin | 0 | 0 | 9ee779dbbb2b926f35e835194f4ed95d3991bfe1 | 1,633 | motive-android-app | MIT License |
src/test/kotlin/xyz/payglide/sdk/SessionPollerTest.kt | payglide | 634,595,154 | false | null | package xyz.payglide.sdk
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.mockk
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runTest
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import xyz.payglide.sdk.data.model.PaymentSes... | 0 | Kotlin | 0 | 0 | e209dfc79abdd5c1d45d3e7dfb4df45e2dc831f8 | 6,934 | payglide-sdk-android | Apache License 2.0 |
src/main/kotlin/com/enggdream/test/MainApplication.kt | dudhatparesh | 132,252,287 | false | {"HTML": 4237, "Kotlin": 815} | package com.enggdream.test
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
@SpringBootApplication
class MainApplication {
}
fun main(args: Array<String>) {
SpringApplication.run(MainApplication::class.java, *args)
} | 0 | HTML | 0 | 0 | 8e3a6cc77040dd60f06dcc553c99257498776bf0 | 292 | locationtracker-backend | Apache License 2.0 |
src/test/kotlin/DomTest.kt | Kotlin | 44,977,757 | false | null | package test.dom
import kotlinx.dom.*
import kotlin.*
import kotlin.test.*
import org.w3c.dom.*
import kotlinx.browser.*
import org.junit.Test as test
class DomTest {
@test fun addText() {
var doc = document
assertNotNull(doc, "Should have created a document")
val e = doc.createElement("... | 0 | Kotlin | 9 | 18 | 0fe219d942047468b361dc0594f1c443ebcf26c3 | 4,508 | kotlinx.dom | Apache License 2.0 |
app/src/main/java/com/irancell/nwg/ios/util/factory/AuditObject.kt | afshin1394 | 755,443,887 | false | {"Kotlin": 803604} | package com.irancell.nwg.ios.util.factory
import com.irancell.nwg.ios.data.remote.response.audit.AttrElement
import kotlinx.coroutines.flow.Flow
interface AuditObject <T>{
suspend fun create(attrElement: AttrElement) : Flow<ArrayList<T>>
} | 0 | Kotlin | 0 | 0 | 23a544780da643c4fa190bbe48d3bd9aa5673d88 | 245 | Audit | MIT License |
radar-gateway/src/main/kotlin/org/radarbase/gateway/config/KeyConfig.kt | RADAR-base | 87,934,177 | false | {"Kotlin": 108244, "Dockerfile": 1515} | package org.radarbase.gateway.config
data class KeyConfig(
/** List of ECDSA public key signatures in PEM format. */
val ecdsa: List<String>? = null,
/** List of RSA public key signatures in PEM format. */
val rsa: List<String>? = null,
) {
val isConfigured: Boolean = !ecdsa.isNullOrEmpty() || !rsa... | 9 | Kotlin | 0 | 2 | 7de76e70ebd2404eb2c4ca7aa552d2940b789d27 | 339 | RADAR-Gateway | Apache License 2.0 |
apps/etterlatte-beregning/src/main/kotlin/beregning/regler/barnepensjon/Konstanter.kt | navikt | 417,041,535 | false | {"Kotlin": 4087916, "TypeScript": 876879, "Handlebars": 19431, "Shell": 9939, "HTML": 1776, "CSS": 598, "Dockerfile": 520} | package no.nav.etterlatte.beregning.regler.barnepensjon
import java.time.LocalDate
val BP_1967_DATO: LocalDate = LocalDate.of(1967, 1, 1)
val BP_2024_DATO: LocalDate = LocalDate.of(2023, 10, 1)
| 8 | Kotlin | 0 | 5 | 882a3a925d5e70a998ed44620da39a4c943a30f4 | 196 | pensjon-etterlatte-saksbehandling | MIT License |
app/src/main/java/com/rami/koroutinesdemo/domain/mappers/MovieMapper.kt | rami-de | 214,674,311 | false | null | package com.rami.koroutinesdemo.domain.mappers
import com.rami.koroutinesdemo.domain.model.Movie
import com.rami.koroutinesdemo.domain.model.SimpleMovie
import com.rami.koroutinesdemo.ui.models.DetailMovieItem
import com.rami.koroutinesdemo.ui.models.SimpleMovieItem
import kotlinx.coroutines.Dispatchers
import kotlinx... | 0 | Kotlin | 0 | 0 | 2b748717e49ead520bc5c4f2b247b4e7fc826f83 | 1,169 | KoroutinesDemo | MIT License |
app/src/main/java/com/elhady/movies/core/bases/BasePagingAdapter.kt | islamelhady | 301,591,032 | false | {"Kotlin": 584524} | package com.elhady.movies.core.bases
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.DiffUtil
import... | 1 | Kotlin | 0 | 0 | d9b6c3f241b5de6c334fa2dcc9f2653de3c04762 | 1,662 | movie-night-v2 | Apache License 2.0 |
app/src/main/java/com/breezefsmvenseconnect/features/photoReg/present/DsStatusListner.kt | DebashisINT | 656,598,527 | false | null | package com.breezefsmvenseconnect.features.photoReg.present
import com.breezefsmvenseconnect.app.domain.ProspectEntity
import com.breezefsmvenseconnect.features.photoReg.model.UserListResponseModel
interface DsStatusListner {
fun getDSInfoOnLick(obj: ProspectEntity)
} | 0 | Kotlin | 0 | 0 | 87e12c6797b871998e85cfb63513d3ae065afda1 | 274 | VENSE-Connect | Apache License 2.0 |
ide-common/src/main/kotlin/org/digma/intellij/plugin/codelens/providers/ScaleFactorCodeLensProvider.kt | digma-ai | 472,408,329 | false | null | package org.digma.intellij.plugin.codelens.providers
import org.digma.intellij.plugin.codelens.DigmaCodeVisionProviderBase
class ScaleFactorCodeLensProvider : DigmaCodeVisionProviderBase() {
companion object {
const val ID = "DigmaScaleFactor"
}
override val id: String
get() = ID
ov... | 264 | Kotlin | 4 | 7 | ec199eb6f3eca60536282b9fe2c9fbca3e581b45 | 436 | digma-intellij-plugin | MIT License |
app/src/main/java/com/example/calculatorapp/MainActivity.kt | info-kareemmohamed | 790,851,759 | false | {"Kotlin": 7061} | package com.example.calculatorapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.calculatorapp.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
override fun onCreate(savedInstanceState: Bu... | 0 | Kotlin | 0 | 0 | a0d6ce1ed8d89d27232e63471f4018703833c569 | 1,657 | Calculator-App | MIT License |
rtron-transformer/src/main/kotlin/io/rtron/transformer/converter/opendrive2roadspaces/roadspaces/Attributes.kt | savenow | 309,383,785 | false | null | /*
* Copyright 2019-2023 Chair of Geoinformatics, Technical University of Munich
*
* 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
*
... | 6 | null | 8 | 5 | b1538e4d167562b497ba52f13c5cf8fc31dcd818 | 2,597 | rtron | Apache License 2.0 |
app/src/main/java/com/rozdoum/socialcomponents/views/ExpandableTextView.kt | tuantrinh90 | 179,996,121 | false | null | /*
* Copyright 2017 Rozdoum
*
* 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... | 0 | Kotlin | 1 | 0 | 7702fef53e4da1ff194de1f201b196a14f19c343 | 11,450 | socialKotlin | Apache License 2.0 |
blockchain-development-kit/accelerators/corda/service-bus-integration/corda-transaction-builder/src/main/kotlin/net/corda/workbench/transactionBuilder/events/Repo.kt | corda | 158,275,332 | true | {"HTML": 3979585, "Python": 1081109, "Java": 880816, "Kotlin": 599568, "C#": 491991, "JavaScript": 161542, "PowerShell": 94018, "CSS": 48236, "Shell": 17585, "PLpgSQL": 16377, "Batchfile": 8685, "Dockerfile": 4248, "Scala": 840, "ASP": 105} | package net.corda.workbench.transactionBuilder.events
import net.corda.workbench.commons.event.Event
import net.corda.workbench.commons.event.EventStore
import net.corda.workbench.commons.event.Filter
import net.corda.workbench.transactionBuilder.CordaAppConfig
import java.util.*
import kotlin.collections.HashSet
cla... | 0 | HTML | 1 | 0 | c8686c9d1be88750522cd775c52d36fd9f489b62 | 2,487 | blockchain | MIT License |
app/src/main/java/com/vaxapp/memorynotes/presentation/ListAction.kt | valllllll2000 | 764,602,288 | false | {"Kotlin": 19241} | package com.vaxapp.memorynotes.presentation
interface ListAction {
fun onClick(id: Long)
}
| 0 | Kotlin | 0 | 0 | 30f4758f9f4e0b8c147a6b103abe64a9f1955835 | 97 | android-clean-architecture-course | Apache License 2.0 |
app/src/main/java/kr/feliz/tutorial_collection/sence/customdialog/MyCustomDialog.kt | daryeou | 472,661,370 | false | null | package kr.feliz.tutorial_collection.sence.customdialog
import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.util.Log
import android.view.View
import kr.feliz.tutorial_collection.databinding.LayoutD... | 0 | Kotlin | 0 | 0 | 303f2a572ce06df3c57032c72bb19350a68d78d8 | 1,621 | android_tutorial_collection | MIT License |
app/src/main/java/com/example/wetterbericht/injection/boarding/InjectionBoarding.kt | Alstonargodi | 481,945,403 | false | {"Kotlin": 176326} | package com.example.wetterbericht.injection.boarding
import android.content.Context
import com.example.wetterbericht.data.local.source.onboarding.BoardingLocalSource
import com.example.wetterbericht.data.local.source.onboarding.IBoardingLocalSource
import com.example.wetterbericht.data.repository.local.boarding.Boardi... | 0 | Kotlin | 0 | 0 | f5c72c30fab903dc206632f665a14774d43ca8fa | 1,057 | Plan | Apache License 2.0 |
app/src/main/java/com/example/wetterbericht/injection/boarding/InjectionBoarding.kt | Alstonargodi | 481,945,403 | false | {"Kotlin": 176326} | package com.example.wetterbericht.injection.boarding
import android.content.Context
import com.example.wetterbericht.data.local.source.onboarding.BoardingLocalSource
import com.example.wetterbericht.data.local.source.onboarding.IBoardingLocalSource
import com.example.wetterbericht.data.repository.local.boarding.Boardi... | 0 | Kotlin | 0 | 0 | f5c72c30fab903dc206632f665a14774d43ca8fa | 1,057 | Plan | Apache License 2.0 |
ktor-client-cio-util/src/main/kotlin/com/soywiz/io/ktor/client/util/AsyncPool.kt | vtumuluri | 135,705,666 | true | {"Kotlin": 318605} | package com.soywiz.io.ktor.client.util
import java.util.*
import java.util.concurrent.atomic.*
class AsyncPool<T>(val maxItems: Int = Int.MAX_VALUE, val create: suspend (index: Int) -> T) {
var createdItems = AtomicInteger()
private val freedItem = LinkedList<T>()
private val waiters = LinkedList<Deferred... | 0 | Kotlin | 0 | 0 | 74d7b827767a5fdf570e1fa9d0499f6cc9a70adb | 1,809 | ktor-cio-clients | Apache License 2.0 |
app/src/main/java/fr/gilles/riceattend/ui/theme/Theme.kt | Gilles-kpn | 498,005,092 | false | {"Kotlin": 442751} | package fr.gilles.riceattend.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
import com.google.accompanist.systemuicontrolle... | 0 | Kotlin | 0 | 1 | b75abaf8d21014bdfe79a2ab8db82bcb1f561bf8 | 1,970 | RiceAttend-Mobile | MIT License |
ideal/src/main/java/com/adyen/checkout/ideal/IdealConfiguration.kt | leandromagnabosco | 533,836,687 | false | null | /*
* Copyright (c) 2019 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by caiof on 6/6/2019.
*/
package com.adyen.checkout.ideal
import android.content.Context
import android.os.Parcel
import android.os.Parcelable
import com.adyen.chec... | 2 | Kotlin | 0 | 0 | c154e989a08f1dc76cf90f6949878621cbbfa644 | 2,949 | testsonarcloud | MIT License |
app/src/main/java/com/hyrule/app/MainFragment.kt | finowo | 429,071,805 | false | null | package com.hyrule.app
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import androidx.... | 0 | Kotlin | 0 | 0 | 2c72169cef52d1777ec4998d7b158a8d980864f5 | 1,953 | hyruleApp | The Unlicense |
bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/mapping/BpdmMapper.kt | eclipse-tractusx | 526,621,398 | false | {"Kotlin": 1862616, "Smarty": 16503, "Dockerfile": 3902, "Java": 2019, "Shell": 1221} | /*******************************************************************************
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ma... | 13 | Kotlin | 15 | 6 | 2a4622c2405b6af23c560160f95233a080df75b8 | 3,732 | bpdm | Apache License 2.0 |
sources/common/measurement/Hours.kt | miguelhrocha | 285,309,888 | true | {"Kotlin": 154559} | @file:Suppress("NOTHING_TO_INLINE", "OVERRIDE_BY_INLINE")
package io.fluidsonic.time
import kotlin.math.*
import kotlin.time.*
import kotlin.time.Duration
public inline class Hours(@PublishedApi internal val value: Long) :
TemporalMeasurement.LongBased<Hours>,
TimeMeasurement<Hours> {
public constructor(value: ... | 0 | null | 0 | 0 | 73841daf1ccb2ef21d4d8106d5628ffdf32ca9c4 | 3,243 | fluid-time | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/modules/basemultipleaccountselection/ui/model/BaseMultipleAccountSelectionFields.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 1,014 | pera-wallet | Apache License 2.0 |
shared/src/iOSMain/kotlin/com/molo17/damianogiusti/MainDispatcher.kt | MOLO17 | 171,253,690 | false | null | package com.molo17.damianogiusti
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Runnable
import platform.darwin.dispatch_async
import platform.darwin.dispatch_get_main_queue
import kotlin.coroutines.CoroutineContext
actual object MainDispatcher : CoroutineDispatcher() {
override fun dispa... | 1 | Kotlin | 1 | 9 | 3d6d4e430b7ce412932da48b5cf206c931c8ec63 | 482 | kotlin-mpp-poc | MIT License |
app/src/main/java/club/gitmad/spacexlaunches/models/Core.kt | git-mad | 301,514,739 | false | null | package club.gitmad.spacexlaunches.models
data class Core(
val core: Any,
val flight: Any,
val gridfins: Any,
val landing_attempt: Any,
val landing_success: Any,
val landing_type: Any,
val landpad: Any,
val legs: Any,
val reused: Boolean
) | 0 | Kotlin | 0 | 1 | ce26c34353e518f7df5a18051ac4b6881ee248da | 276 | SpaceXLaunches | MIT License |
app/src/main/java/com/pallaw/topnews/ui/news/NewsActivity.kt | pallaw | 262,886,952 | false | null | package com.pallaw.topnews.ui.news
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.findNavController
import androidx.navigation.ui.NavigationUI
import androidx.navigation.ui.setupWithNavController
import com.pallaw.topnews.R
import dagger.hilt.android.AndroidEntryPoi... | 0 | Kotlin | 0 | 0 | 1d063317767531e7af7f93bceb1ee511c216e444 | 1,042 | Top-News | MIT License |
app/src/main/java/com/ead/project/dreamer/app/repository/Repository.kt | darkryh | 490,353,600 | false | {"Kotlin": 770587, "Java": 2316} | package com.ead.project.dreamer.app.repository
object Repository {
const val PROFILES = "PROFILE_REPOSITORY"
const val STATE = "DIRECTORY_STATE"
} | 0 | Kotlin | 1 | 2 | 663d95183b771f7ab7da8d54793314ad5d5811b4 | 156 | Dreamer | MIT License |
android/src/main/java/top/ntutn/android/MahjongAndroid.kt | zerofancy | 398,677,194 | false | {"Kotlin": 37433} | package top.ntutn.android
/**
* 麻将牌
*/
object MahjongAndroid {
val bamboos = listOf(
R.drawable.bamboo1,
R.drawable.bamboo2,
R.drawable.bamboo3,
R.drawable.bamboo4,
R.drawable.bamboo5,
R.drawable.bamboo6,
R.drawable.bamboo7,
R.drawable.bamboo8,
... | 0 | Kotlin | 0 | 0 | 834a14da5d84f7c2d0fc8c241bad00d4c257e624 | 1,410 | match-m | MIT License |
workflow/src/main/kotlin/com.robkonarski.workflow/migration/Migrations.kt | konarskis | 324,343,289 | false | {"Kotlin": 69100, "Java": 4786, "Shell": 46} | package com.robkonarski.workflow.migration
import org.jetbrains.exposed.sql.Transaction
internal class _1(override val version: Int = 1) : MigrationScript {
override fun run(transaction: Transaction): Unit = with(transaction) {
exec("SELECT 1;")
}
}
| 0 | Kotlin | 0 | 0 | 6369eb7013b22dcb6b35883ecec3f89f4defb0c0 | 268 | workflow-engine | Apache License 2.0 |
app/src/main/java/com/joe/transactionsapp/framework/presentation/adapter/TransactionListAdapter.kt | jizhe7550 | 389,596,293 | false | null | package com.joe.transactionsapp.framework.presentation.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.AsyncListDiffer
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.joe.transactionsapp.business.domai... | 0 | null | 1 | 3 | 6b0c238fba80dd040765b90c108145869dae15b2 | 2,092 | TransactionsApp | MIT License |
app/src/main/java/net/yuzumone/mikutter/fcm/MainActivity.kt | yuzumone | 142,424,953 | false | null | package net.yuzumone.mikutter.fcm
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.MenuItem
import net.yuzumone.mikutter.fcm.ui.list.MessageListFragment
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCrea... | 0 | Kotlin | 0 | 1 | d44cf790b10f4ad9d7efe9c0a9e5b7dcf47664af | 1,178 | mikutter_fcm_for_android | Apache License 2.0 |
src/main/kotlin/com/bbs/bookabus/dto/BookingDto.kt | linoop | 850,366,071 | false | {"Kotlin": 22601} | package com.bbs.bookabus.dto
import jakarta.validation.constraints.Max
import jakarta.validation.constraints.Min
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull
data class BookingDto(
val busId: Long,
@field:Min(value = 1, message = "seats field must be greater th... | 0 | Kotlin | 0 | 0 | f5343403f8139edf045cc381af5a979f6296d331 | 645 | Bus-Booking-System | MIT License |
dittnav-common-logging/src/test/kotlin/no/nav/personbruker/dittnav/common/logging/util/ClassLoggerKtTest.kt | navikt | 285,263,565 | false | null | package no.nav.personbruker.dittnav.common.logging.util
import org.amshove.kluent.`should be equal to`
import org.junit.jupiter.api.Test
import org.slf4j.LoggerFactory
internal class ClassLoggerKtTest {
@Test
fun `Should create a logger with expected logger name according to convention`() {
class Dum... | 0 | Kotlin | 0 | 2 | 1043a85c4f6face61b86d667d4fb07b23bae0092 | 597 | dittnav-common-lib | MIT License |
core/usecases/src/main/kotlin/theme/addSymbolicItemToOpposition/SymbolicItemId.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.usecase.theme.addSymbolicItemToOpposition
import java.util.*
sealed class SymbolicItemId(val itemId: UUID)
class CharacterId(val characterId: UUID) : SymbolicItemId(characterId)
class LocationId(val locationId: UUID) : SymbolicItemId(locationId)
class SymbolId(val symbolId: UUID) : SymbolicI... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 335 | soyle-stories | Apache License 2.0 |
src/marais/graphql/dsl/Lambdas.kt | Gui-Yom | 342,984,553 | false | null | package marais.graphql.dsl
import kotlin.reflect.KFunction
/**
* Set of functions that calls the lambda passed as argument.
* We can call these functions through reflections since they are concrete ones.
* They are all static in the sense of the JVM, so we do not need to pass a receiver.
*/
@PublishedApi
internal... | 1 | Kotlin | 1 | 3 | c4d1bc06678129876cb9e05520fb8213640dcddc | 2,654 | graphql-dsl | Apache License 2.0 |
parser/src/main/java/com/malt/parser/parser/ApkSignBlockParser.kt | MALTF | 679,156,908 | false | {"Kotlin": 288486} | package com.malt.parser.parser
import android.util.Log
import com.malt.parser.struct.signingv2.ApkSigningBlock
import com.malt.parser.struct.signingv2.Digest
import com.malt.parser.struct.signingv2.Signature
import com.malt.parser.struct.signingv2.SignerBlock
import com.malt.parser.utils.Buffers
import com.malt.parser... | 1 | Kotlin | 0 | 4 | 7aabf1d6d9741190d1527744dd168edd751911a4 | 5,873 | APK-Parser | MIT License |
feature/lightbox/view/implementation/src/main/kotlin/com/savvasdalkitsis/uhuruphotos/feature/lightbox/view/implementation/ui/LightboxDismissAlpha.kt | savvasdalkitsis | 485,908,521 | false | {"Kotlin": 2667755, "Ruby": 1294, "PowerShell": 325, "Shell": 158} | /*
Copyright 2024 <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 writing, software
distribu... | 71 | Kotlin | 26 | 358 | 22c2ac7d953f88b4d60fb74953667ef0c4beacc5 | 841 | uhuruphotos-android | Apache License 2.0 |
conductor-client/src/main/kotlin/com/openlattice/hazelcast/serializers/UpdateOrganizationSmsEntitySetInformationEntryProcessorStreamSerializer.kt | openlattice | 101,697,464 | false | {"Git Config": 1, "Gradle Kotlin DSL": 4, "XML": 6, "JSON": 3, "HTML": 4, "INI": 11, "Shell": 23, "Text": 248, "Ignore List": 8, "Batchfile": 10, "Markdown": 13, "Gradle": 21, "YAML": 68, "Kotlin": 752, "Java": 556, "Java Properties": 8, "CODEOWNERS": 5, "Mustache": 8, "PLpgSQL": 7, "SQL": 14, "OASv3-yaml": 1} | package com.openlattice.hazelcast.serializers
import com.geekbeast.hazelcast.serializers.TestableSelfRegisteringStreamSerializer
import com.hazelcast.nio.ObjectDataInput
import com.hazelcast.nio.ObjectDataOutput
import com.openlattice.hazelcast.StreamSerializerTypeIds
import com.openlattice.mapstores.TestDataFactory
i... | 0 | Kotlin | 3 | 4 | b836eea0a17128089e0dbe6719495413b023b2fb | 1,894 | openlattice | Apache License 2.0 |
android/src/main/kotlin/com/jarvan/fluwx/handlers/PermissionHandler.kt | yumi0629 | 178,162,284 | true | {"Dart": 86162, "Objective-C": 75853, "Kotlin": 47240, "Ruby": 2636, "Dockerfile": 1012} | package com.jarvan.fluwx.handlers
import android.Manifest
import android.app.Activity
import android.app.Fragment
import android.os.Build
/***
* Created by mo on 2020/3/27
* 冷风如刀,以大地为砧板,视众生为鱼肉。
* 万里飞雪,将穹苍作烘炉,熔万物为白银。
**/
class PermissionHandler(private val activity: Activity?) {
private val tag = "Fragment_TAG... | 1 | Dart | 1 | 4 | 76b537402fa8e7280c05be8b8f1d5538fd13dbc6 | 1,268 | fluwx | Apache License 2.0 |
systemUIAnim/src/com/android/systemui/animation/ViewHierarchyAnimator.kt | LawnchairLauncher | 83,799,439 | false | {"Java": 9665767, "Kotlin": 2674103, "AIDL": 30229, "Python": 17364, "Makefile": 3820, "Shell": 770} | /*
* 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... | 388 | Java | 2 | 9,200 | d91399d2e4c6acbeef9c0704043f269115bb688b | 46,399 | lawnchair | Apache License 2.0 |
src/main/kotlin/br/com/orangetalents/authors/AuthorDetailsResponse.kt | bentoco | 367,030,212 | false | {"Java": 34386, "Kotlin": 13762} | package br.com.orangetalents.authors
data class AuthorDetailsResponse(
val name: String = "",
val email: String = "",
val description: String = "",
) {
constructor(author: Author) : this(author.name, author.email, author.description)
} | 1 | null | 1 | 1 | 7492310bf4e58ee7605d5be26bf0c0d86f9571c8 | 252 | desafio-casa-do-codigo-kotlin | MIT License |
airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/functional/CheckedFunction.kt | tim-werner | 511,419,970 | false | {"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2} | /*
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.commons.functional
import org.apache.commons.lang3.function.FailableFunction
fun interface CheckedFunction<T, R, E : Throwable?> : FailableFunction<T, R, E>
| 1 | null | 1 | 1 | b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff | 243 | airbyte | MIT License |
stevedoreitems/src/test/java/com/artear/stevedore/stevedoreitems/style/round/StyleRoundTests.kt | Artear | 179,570,968 | false | null | package com.artear.stevedore.stevedoreitems.style.round
import com.artear.stevedore.stevedoreitems.TestUtils
import com.artear.stevedore.stevedoreitems.repository.model.style.StyleRound
import com.google.gson.Gson
import com.google.gson.JsonSyntaxException
import okhttp3.MediaType
import okhttp3.ResponseBody
import or... | 1 | null | 1 | 1 | f6e02b4ddb88a593e872b2761c077f2e57b63c66 | 3,965 | app_lib_stevedoreitems_android | Apache License 2.0 |
intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/util/MavenCoordinates.kt | apollographql | 69,469,299 | false | null | package com.apollographql.ijplugin.util
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
import com.intellij.openapi.roots.ProjectRootManager
import com.intellij.openapi.roots.libraries.Library
data class MavenCoordinates(
val group: String,
val artifact: String,
... | 135 | null | 651 | 3,750 | 174cb227efe76672cf2beac1affc7054f6bb2892 | 990 | apollo-kotlin | MIT License |
idea/testData/copyPaste/imports/Invoke.expected.kt | JakeWharton | 99,388,807 | false | null | package to
import a.A
import a.invoke
fun f(a: A) {
a()
} | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 63 | kotlin | Apache License 2.0 |
app/src/main/java/ca/josephroque/bowlingcompanion/statistics/impl/pinsleftondeck/AveragePinsLeftStatistic.kt | autoreleasefool | 28,992,199 | false | null | package ca.josephroque.bowlingcompanion.statistics.impl.pinsleftondeck
import android.os.Parcel
import android.os.Parcelable
import ca.josephroque.bowlingcompanion.R
import ca.josephroque.bowlingcompanion.common.interfaces.parcelableCreator
import ca.josephroque.bowlingcompanion.statistics.AverageStatistic
import ca.j... | 30 | Kotlin | 5 | 6 | be42ac42d6c842b3126a8841990e5f9c8c6af232 | 1,692 | bowling-companion | Apache License 2.0 |
samples/openapi3/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ReadOnlyFirst.kt | cognitedata | 195,843,142 | true | {"Java": 4371998, "Shell": 432828, "TypeScript": 113249, "PHP": 89691, "Batchfile": 77560, "Kotlin": 66500, "JavaScript": 34581, "Ruby": 28908, "Apex": 26872, "C#": 26078, "Scala": 21649, "ActionScript": 21554, "Rust": 7796, "CSS": 6963, "HTML": 5323, "Dockerfile": 4880, "Blade": 2736, "PowerShell": 1181, "Vue": 565, "... | /**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https:/... | 1 | Java | 0 | 5 | 1be83dd5a7591553ccfcb3c123e0ed8c0841748a | 570 | unreal-openapi-generator | Apache License 2.0 |
app/src/main/java/com/user/invoicemanagement/view/adapter/holder/ClosedSectionItemViewHolder.kt | gituser9 | 108,326,922 | false | null | package com.user.invoicemanagement.view.adapter.holder
import android.support.v7.widget.RecyclerView
import android.view.View
import android.widget.TextView
import kotlinx.android.synthetic.main.fragment_closed_invoice_item.view.*
class ClosedSectionItemViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) ... | 0 | Kotlin | 0 | 0 | f08815be8ba0cf2431a5122f98c013f9e0bdfae5 | 2,258 | InvoiceManagement | MIT License |
cloud/cloudio-cloud-core/src/main/kotlin/ch/hevs/cloudio/cloud/microservice/core/AbstractBaseService.kt | RandomReaper | 152,560,034 | false | {"Java": 202731, "Kotlin": 50214, "Dockerfile": 15491, "Shell": 5555} | package ch.hevs.cloudio.cloud.microservice.core
import ch.hevs.cloudio.cloud.microservice.core.annotation.FanoutService
import ch.hevs.cloudio.cloud.microservice.core.annotation.TopicService
import org.springframework.amqp.core.*
import org.springframework.amqp.rabbit.annotation.RabbitListenerConfigurer
import org.spr... | 1 | null | 1 | 1 | 2b6b31558836af0723d09ed8385ddcf669aaaff9 | 2,592 | cloudio | MIT License |
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/vimscript/model/commands/CopyTextCommand.kt | JetBrains | 1,459,486 | false | {"Kotlin": 5959132, "Java": 211095, "ANTLR": 84686, "HTML": 2184} | /*
* 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.vimscript.model.commands
import com.intellij.vim.annotations.ExCommand
import co... | 6 | Kotlin | 749 | 9,241 | 66b01b0b0d48ffec7b0148465b85e43dfbc908d3 | 2,789 | ideavim | MIT License |
mjpeg/src/main/java/info/dvkr/screenstream/mjpeg/ui/settings/advanced/WifiOnly.kt | dkrivoruchko | 63,582,643 | false | {"Java": 905716, "Kotlin": 746969, "HTML": 22831, "JavaScript": 15728} | package info.dvkr.screenstream.mjpeg.ui.settings.advanced
import android.content.res.Resources
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.selection.toggleable
import androidx.compose... | 22 | Java | 340 | 1,720 | 4607e0fac3ae31dabc93726e6b3f358e5a4bebf2 | 4,715 | ScreenStream | MIT License |
idea/testData/intentions/branched/ifThenToElvis/kt19666.kt | JakeWharton | 99,388,807 | false | null | // WITH_RUNTIME
interface Taggable {
val tag: String
}
fun Any.log() {
val tag = <caret>if (this is Taggable) {
tag
}
else {
this::class.java.simpleName
}
} | 1 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 193 | kotlin | Apache License 2.0 |
core/src/main/java/com/omega_r/base/components/OmegaBindActivity.kt | Omega-R | 179,444,423 | false | {"Gradle": 9, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 2, "XML": 25, "Kotlin": 110, "INI": 1} | package com.omega_r.base.components
import com.omega_r.base.mvp.presenters.OmegaPresenter
import com.omega_r.base.mvp.views.OmegaBindView
import com.omega_r.bind.model.BindModel
abstract class OmegaBindActivity<M> : OmegaActivity, OmegaBindView<M> {
constructor() : super()
constructor(contentLayoutId: Int) ... | 10 | Kotlin | 1 | 0 | e2ee91e5a07b04d1aeaa1ec8ac6829069397c982 | 659 | OmegaBase | MIT License |
clients/ktorm-schema/generated/src/main/kotlin/org/openapitools/database/models/ChatCompletionTokenLogprob.kt | oapicf | 529,246,487 | false | {"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab... | /**
* OpenAI API
* The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
*
* The version of the OpenAPI document: 2.0.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not ed... | 2 | Java | 0 | 4 | c04dc03fa17b816be6e9a262c047840301c084b6 | 5,023 | openapi-openai | MIT License |
room/room-common/src/main/java/androidx/room/RawQuery.kt | JetBrains | 351,708,598 | true | null | /*
* Copyright 2018 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... | 10 | Java | 16 | 59 | e18ad812b77fc8babb00aacfcea930607b0794b5 | 5,168 | androidx | Apache License 2.0 |
bluetooth/integration-tests/testapp/src/main/java/androidx/bluetooth/integration/testapp/experimental/GattServerCallback.kt | androidx | 256,589,781 | false | null | /*
* Copyright 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 applica... | 18 | null | 811 | 4,638 | f168bda5fab13408b85eafc3222cc84a6955cdf6 | 2,982 | androidx | Apache License 2.0 |
dolphin/src/main/kotlin/net/bytemc/bytecloud/dolphin/runner/PlattformProcessor.kt | bytemcnetzwerk | 684,494,766 | false | {"Kotlin": 178268} | package net.bytemc.bytecloud.dolphin.runner
import net.bytemc.bytecloud.dolphin.Dolphin
import net.bytemc.bytecloud.launcher.arguments.LauncherArguments
import net.bytemc.bytecloud.launcher.misc.ClassHelper
import java.io.File
import java.nio.file.Files
import kotlin.io.path.Path
object PlattformProcessor {
fun ... | 0 | Kotlin | 3 | 5 | 6657d004ab2d53516506ea57a0cea09506eea8ce | 1,284 | bytecloud | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/DidNavigateInPageEvent.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12159121, "JavaScript": 330528} | // Generated by Karakum - do not modify it manually!
package electron
typealias DidNavigateInPageEvent = electron.core.DidNavigateInPageEvent
| 40 | Kotlin | 165 | 1,319 | a8a1947d73e3ed26426f1e27b641bff427dfd6a0 | 146 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/kuu/nagoya/miolife/MainActivity.kt | fumiya-kume | 233,410,239 | false | null | package kuu.nagoya.miolife
import androidx.fragment.app.FragmentActivity
class MainActivity : FragmentActivity(R.layout.activity_main) {
} | 2 | Kotlin | 0 | 0 | 3f0e290114a3a8659e9c47fbf9340827a922f148 | 141 | mio-life | Apache License 2.0 |
calculator/src/androidMain/kotlin/ru/art2000/calculator/calculator/vm/CalculatorModel.kt | ARTI1208 | 136,049,964 | false | null | package ru.art2000.calculator.calculator.vm
import android.app.Application
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import... | 23 | Kotlin | 0 | 3 | c24d537a4667ffd8c57765441c9aefec3a94ad34 | 4,600 | Calculator | MIT License |
fontawesome/src/de/msrd0/fontawesome/icons/FA_EYE.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | e757d073562077a753280bf412eebfc4a9121b33 | 2,099 | fontawesome-kt | Apache License 2.0 |
src/test/kotlin/org/crystal/intellij/tests/ast/cstBuilder.kt | asedunov | 353,165,557 | false | {"Kotlin": 1660372, "Java": 554445, "Crystal": 245131, "Lex": 192822, "HTML": 445} | package org.crystal.intellij.tests.ast
import org.crystal.intellij.lang.ast.nodes.*
val falseLiteral: CstBoolLiteral = CstBoolLiteral.False(null)
val trueLiteral: CstBoolLiteral = CstBoolLiteral.True(null)
val Boolean.bool: CstBoolLiteral
get() = if (this) trueLiteral else falseLiteral
fun Number.numberLiteral... | 12 | Kotlin | 4 | 33 | 65aa5125bf54643c24228983b828deccf37ec8c4 | 4,059 | intellij-crystal-lang | Apache License 2.0 |
src/main/kotlin/com/gcrj/web/servlet/AvatorServlet.kt | Gcrj | 149,216,707 | false | null | package com.gcrj.web.servlet
import com.gcrj.web.bean.ResponseBean
import com.gcrj.web.bean.UserBean
import com.gcrj.web.dao.UserDao
import com.gcrj.web.util.Constant
import com.gcrj.web.util.output
import sun.misc.BASE64Decoder
import java.io.*
import java.nio.charset.Charset
import javax.servlet.ServletException
imp... | 0 | Kotlin | 0 | 0 | 14883e2e4e38b656a3248ca7062a9890453eaba7 | 4,289 | ProjectControlWeb | MIT License |
sync/sync-impl/src/test/java/com/duckduckgo/sync/impl/engine/SyncSchedulerTest.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2023 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 3,570 | Android | Apache License 2.0 |
app/src/main/java/com/l/lolwishlist/data/repository/DDragonRepository.kt | kiraitami | 423,257,836 | false | null | package com.l.lolwishlist.data.repository
import androidx.room.withTransaction
import com.l.lolwishlist.data.local.DDragonDatabase
import com.l.lolwishlist.data.remote.DDragonService
import com.l.lolwishlist.data.static.StaticSkins
import com.l.lolwishlist.model.*
import com.l.lolwishlist.utils.removeThrash
import kot... | 0 | Kotlin | 0 | 0 | 5a961c8aeef69c1a24b984e36a8ef71944c3b65b | 3,624 | lol-skins-wishlist | Apache License 2.0 |
Kotlin/src/main/kotlin/com/gildedrose/ItemAdapter.kt | arnoid | 358,575,352 | true | {"C++": 728949, "Kotlin": 41045, "XSLT": 19568, "Pascal": 16226, "C#": 13851, "PLpgSQL": 11008, "JavaScript": 9947, "C": 9261, "Smalltalk": 8793, "ABAP": 8568, "Java": 8402, "F#": 8361, "CMake": 7914, "Ada": 7270, "Common Lisp": 6116, "Scheme": 5368, "Swift": 4964, "PHP": 4679, "Groovy": 4478, "Erlang": 4392, "Perl": 4... | package com.gildedrose
import com.gildedrose.item.strategy.ItemQualityStrategy
/**
* This class allows application of special quality update rules.
*
* @param item item which is receiving updates
* @param itemQualityStrategy quality update strategy
*/
//TODO: Extract [Item] interface so [ItemAdapter] can impleme... | 0 | C++ | 0 | 0 | 19ab2edf977669febcc3cc5f682b63d728d1aaf7 | 984 | GildedRose-Refactoring-Kata | MIT License |
kotlin-antd/src/main/kotlin/antd/localeprovider/LvLV.kt | ricsonhoo | 251,039,996 | true | {"Kotlin": 1197966, "CSS": 29526, "HTML": 6470, "JavaScript": 980} | @file:JsModule("antd/lib/locale-provider/lv_LV")
package antd.localeprovider
@JsName("default")
external val lvLV: Locale
| 0 | null | 0 | 0 | 7d92fb58ae96ed7a16d70cb2832284acff023bcf | 124 | kotlin-js-wrappers | Apache License 2.0 |
flipper-no-op/src/main/java/link/jingweih/android/flipper/Flipper.kt | jingweihu | 502,812,928 | false | {"Kotlin": 71062, "Shell": 243} | package link.jingweih.android.flipper
import android.content.Context
import okhttp3.Interceptor
object Flipper {
fun init(context: Context, config: FlipperConfig.() -> Unit) = Unit
fun getNetworkInterceptor(): Interceptor? {
return null
}
} | 0 | Kotlin | 0 | 0 | c992005ef623eac95b57e52f176a9c4113e0aa9c | 264 | jingwei-android-common | Apache License 2.0 |
app/src/main/java/org/treeo/treeo/db/TreeoDatabase.kt | fairventures-worldwide | 498,242,730 | false | {"Kotlin": 586304, "C++": 87995, "Java": 3688, "CMake": 2149} | package org.treeo.treeo.db
import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import org.treeo.treeo.db.converters.JSONConverter
import org.treeo.treeo.db.converters.MapConverter
import org.treeo.treeo.db.converters.UUIDConverter
impor... | 0 | Kotlin | 0 | 0 | 2e3e780e325cb97c72a79d9d22fc7ac053fee350 | 1,562 | treeo2-mobile-app-open | Apache License 2.0 |
felles/src/main/kotlin/no/nav/helsearbeidsgiver/felles/rapidsrivers/Løser.kt | navikt | 495,713,363 | false | null | package no.nav.helsearbeidsgiver.felles.rapidsrivers
import no.nav.helse.rapids_rivers.JsonMessage
import no.nav.helse.rapids_rivers.MessageContext
import no.nav.helse.rapids_rivers.RapidsConnection
import no.nav.helse.rapids_rivers.River
import no.nav.helsearbeidsgiver.felles.EventName
import no.nav.helsearbeidsgiver... | 2 | Kotlin | 0 | 2 | d7d47418b3e70fff37e103a8c39632399569c121 | 1,425 | helsearbeidsgiver-inntektsmelding | MIT License |
app/src/main/java/com/semisonfire/cloudgallery/ui/trash/TrashBinItemDecorator.kt | Semyon100116907 | 132,183,724 | false | null | package com.semisonfire.cloudgallery.ui.trash
import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.ItemDecorat... | 0 | Kotlin | 0 | 1 | 59f8b94fdeaf8db0557deef84f1b25224ab768e4 | 2,016 | CloudGallery | MIT License |
library/core/engine/src/test/kotlin/de/lise/fluxflow/engine/step/action/ActionServiceImplTest.kt | lisegmbh | 740,936,659 | false | {"Kotlin": 732949} | package de.lise.fluxflow.engine.step.action
import de.lise.fluxflow.api.continuation.Continuation
import de.lise.fluxflow.api.step.InvalidStepStateException
import de.lise.fluxflow.api.step.Status
import de.lise.fluxflow.api.step.Step
import de.lise.fluxflow.api.step.StepIdentifier
import de.lise.fluxflow.api.step.sta... | 20 | Kotlin | 0 | 7 | b7caae962301480df123da2c541004829d5572fd | 2,223 | fluxflow | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.