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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
yangxj96-serve/yangxj96-serve-gateway/src/main/kotlin/com/yangxj96/saas/server/gateway/configuration/CorsConfiguration.kt | yangxj96 | 574,967,993 | false | {"Kotlin": 144128} | package com.yangxj96.saas.server.gateway.configuration
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.web.cors.CorsConfiguration
import org.springframework.web.cors.reactive.CorsWebFilter
import org.springframework.web.cors.reac... | 0 | Kotlin | 0 | 0 | 1ee0aa821987c52f4109a0b3284699df62500b42 | 823 | yangxj96-saas-api | MIT License |
example/src/androidTest/java/eu/darken/mvpbakery/example/screens/MainActivityTest.kt | d4rken | 123,724,699 | false | null | package eu.darken.mvpbakery.example.screens
import android.app.Activity
import androidx.fragment.app.Fragment
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatcher... | 0 | Kotlin | 14 | 39 | ddf2249eda5ac707f116f1db01e11c2f3df58077 | 3,590 | mvp-bakery | MIT License |
app/src/main/java/com/example/assignment/helpers/ErrorsHandlerKotlin.kt | evgeny-trushin | 128,293,328 | false | null | package com.example.assignment.helpers
import com.example.assignment.helpers.exceptions.ParallelRequestException
import com.example.assignment.helpers.exceptions.ServerRequestException
import com.example.assignment.helpers.network.ErrorCode
import java.io.IOException
import java.net.ConnectException
import java.net.P... | 1 | null | 1 | 1 | 216fe2de9a9d09db11a0de6139b94a15059e9c2c | 775 | Java-Kotlin_Android_RxJava-1_Retrofit-2_Demo | MIT License |
app/src/main/java/com/hienle/thenews/di/NewsModule.kt | LeQuangHien | 448,563,637 | false | {"Kotlin": 50023} | package com.hienle.thenews.di
import com.hienle.thenews.ui.news.DefaultNewsRemoteDataSource
import com.hienle.thenews.ui.news.DefaultNewsRepository
import com.hienle.thenews.ui.news.NewsRemoteDataSource
import com.hienle.thenews.ui.news.NewsRepository
import dagger.Binds
import dagger.Module
import dagger.hilt.Install... | 0 | Kotlin | 0 | 0 | c725004a5c3887f7f00d2c3588a91713b7380390 | 783 | TheNews | Apache License 2.0 |
server/src/main/kotlin/xyz/tcreopargh/amttd_web/api/json/response/TodoEntryCrudResponse.kt | TCreopargh | 346,990,489 | false | null | package xyz.tcreopargh.amttd_web.api.json.response
import xyz.tcreopargh.amttd_web.api.data.CrudType
import xyz.tcreopargh.amttd_web.api.data.TodoEntryImpl
data class TodoEntryCrudResponse(
override var operation: CrudType? = null,
override var success: Boolean? = false,
override var entity: TodoEntryImpl... | 0 | Kotlin | 1 | 3 | ce50443464e0ba0eef2a998f7d227ba5a38af68f | 399 | A-Million-Things-To-Do | MIT License |
app/src/main/java/com/tanganthony/myyelp/network/YelpApiStatus.kt | tanganthony | 701,593,779 | false | {"Kotlin": 27626} | package com.tanganthony.myyelp.network
enum class YelpApiStatus {
IN_PROGRESS,
DONE,
ERROR
}
| 0 | Kotlin | 0 | 0 | 5b98e4727a288e614d30a53407801a656204486f | 106 | MyYelp | Apache License 2.0 |
AndroidInfoLib/src/main/java/com/udfsoft/androidinfo/lib/entity/SensorsInformation.kt | LiteSoftware | 550,715,360 | false | {"Kotlin": 127152} | package com.udfsoft.androidinfo.lib.entity
data class SensorsInformation(val declareSensorsList: String?)
| 0 | Kotlin | 0 | 3 | 1c87c9c9f5e830a444ac6e6319f8eed50ddc5977 | 107 | AndroidInfoLib | Apache License 2.0 |
source/ltr-files/src/main/kotlin/de/webis/webisstud/thesis/reimer/ltr/files/HasRelevances.kt | webis-de | 261,803,727 | false | null | package de.webis.webisstud.thesis.reimer.ltr.files
import de.webis.webisstud.thesis.reimer.ltr.files.source.CachedMetadataSource
import de.webis.webisstud.thesis.reimer.model.Relevance
interface HasRelevances {
val relevances: CachedMetadataSource<Relevance>
} | 0 | Kotlin | 3 | 2 | e1ca3c7d9e2bce228c82413a71a8c5bb5b92e43f | 266 | sigir20-sampling-bias-due-to-near-duplicates-in-learning-to-rank | MIT License |
kotboot-demo/src/main/kotlin/com/github/xsi640/kotboot/demo/Application.kt | xsi640 | 358,639,883 | false | null | package com.github.xsi640.kotboot.demo
fun main(args: Array<String>): Unit = com.github.xsi640.kotboot.core.main(args) //io.ktor.server.netty.EngineMain.main(args)
| 0 | Kotlin | 0 | 0 | 4b949483bf57996723a6ec99d9aa9e15e7fc18cd | 166 | kotboot | Apache License 2.0 |
src/main/kotlin/skillandtalent/townhall/Routing.kt | AndreasKl | 214,282,078 | false | null | package skillandtalent.teamservice
import io.vertx.core.Vertx
import io.vertx.ext.web.Router
class Routing {
fun register(vertx: Vertx): Router {
val router = Router.router(vertx)
router.get("/").handler(OverviewController()::indexHandler)
return router
}
}
| 0 | Kotlin | 0 | 0 | 658ebfa72282c93f3b6efc0201204b7e9cdba646 | 278 | skill-and-talent | MIT License |
fuzzer/fuzzing_output/crashing_tests/verified/reflectionUsage.kt-313649653.kt | ItsLastDay | 102,885,402 | false | null | class Foo(val bar: String?)
fun main(args: Array<String>): (Unit)? {
try {
if (((if (true) {
((when {
true -> (if (true) {
(Foo::bar)
} else {
(Foo::bar)
})
else -> (if (true) {
(Foo::bar)
} else {
(Foo::bar)
})
}))
} else {
(if (true) {
(Foo::bar)
} else {
(Foo::bar)
})
})).returnType.isMarkedNullable)({print("Foo#bar... | 2 | Kotlin | 1 | 6 | 56f50fc307709443bb0c53972d0c239e709ce8f2 | 410 | KotlinFuzzer | MIT License |
src/main/kotlin/me/sd_master92/customvoting/gui/buttons/abstracts/AbstractRewardItemsButton.kt | sanderderks | 306,723,396 | false | {"Kotlin": 444261} | package me.sd_master92.customvoting.gui.buttons.abstracts
import me.sd_master92.core.inventory.BaseItem
import me.sd_master92.core.inventory.GUI
import me.sd_master92.customvoting.CV
import me.sd_master92.customvoting.constants.enumerations.PMessage
import me.sd_master92.customvoting.constants.enumerations.SoundType
i... | 22 | Kotlin | 2 | 0 | 9613467cd3dd027b914ff7579353c17a090c891c | 1,134 | CustomVoting | MIT License |
src/main/java/com/github/technoir42/android/extensions/AndroidXExtensions.kt | technoir42 | 191,014,849 | false | null | @file:Suppress("NOTHING_TO_INLINE")
package com.github.technoir42.android.extensions
import android.content.Context
import android.os.Bundle
import android.view.View
import androidx.annotation.IdRes
import androidx.appcompat.app.ActionBar
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widge... | 0 | Kotlin | 0 | 0 | f6e120a643770b9863b72879fa3a01e315204259 | 3,092 | android-extensions | Apache License 2.0 |
location/src/main/java/com/utsman/places/location/data/Mapper.kt | dwijanto11 | 337,874,075 | true | {"Kotlin": 83131, "Java": 17661} | /*
* Created on 31/1/21 5:51 PM
* Copyright (c) <NAME> 2021 All rights reserved.
*/
package com.utsman.places.location.data
import android.location.Location
import com.utsman.places.location.kM
import com.utsman.places.location.network.HerePlaceResponse
internal object Mapper {
fun mapToPlaceData(item: HerePl... | 0 | null | 0 | 0 | 7ad84ef9d46f1972de22d5e5656dc8e73932cfba | 1,062 | geolib | Apache License 2.0 |
appcues/src/main/java/com/appcues/data/remote/appcues/response/styling/StyleGradientColorResponse.kt | appcues | 413,524,565 | false | null | package com.appcues.data.remote.appcues.response.styling
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
internal data class StyleGradientColorResponse(
val colors: List<StyleColorResponse>,
val startPoint: String,
val endPoint: String,
)
| 5 | null | 2 | 9 | 944511391b720bf387f86b795630b532b5e1e516 | 276 | appcues-android-sdk | MIT License |
common/src/commonMain/kotlin/com/haeyum/common/data/mapper/SavedTranslateMapper.kt | kisa002 | 584,385,916 | false | {"Kotlin": 178872} | package com.haeyum.common.data.mapper
import com.haeyum.common.data.model.saved.SavedTranslate
fun SavedTranslate.toDomain() = com.haeyum.common.domain.model.saved.SavedTranslate(
idx = idx,
originalText = originalText,
translatedText = translatedText
)
fun List<SavedTranslate>.toDomain() = map(SavedTran... | 1 | Kotlin | 2 | 48 | c57d5e8ca2dadbf35a565726d01cd04e7ede7105 | 336 | Transer | MIT License |
features/share/impl/src/main/kotlin/io/element/android/features/share/impl/ShareNode.kt | element-hq | 546,522,002 | false | null | /*
* Copyright (c) 2024 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 263 | null | 129 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 3,607 | element-x-android | Apache License 2.0 |
src/main/kotlin/org/rust/ide/formatter/RustFmtContext.kt | matklad | 63,298,806 | true | {"Kotlin": 545496, "Rust": 91572, "Java": 67372, "Lex": 17469, "HTML": 2256, "RenderScript": 91} | package org.rust.ide.formatter
import com.intellij.formatting.Alignment
import com.intellij.formatting.SpacingBuilder
import com.intellij.psi.codeStyle.CodeStyleSettings
import com.intellij.psi.codeStyle.CommonCodeStyleSettings
import org.rust.ide.formatter.impl.createSpacingBuilder
import org.rust.ide.formatter.impl.... | 0 | Kotlin | 0 | 0 | 8e172958e58ba9ff4f0f42165c8e8f875d8c586d | 1,618 | intellij-rust | MIT License |
frontend/screen/programs/src/commonMain/kotlin/com/mindovercnc/linuxcnc/screen/programs/programloaded/ProgramLoadedScreenModel.kt | 85vmh | 543,628,296 | false | null | package com.mindovercnc.linuxcnc.screen.programs.programloaded
import actor.PathActor
import actor.ProgramData
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.unit.IntSize
import cafe.adriel.voyager.core.model.StateScreenModel
import cafe.adriel.voyager.core.model.coroutineScope
import com.mindov... | 0 | null | 1 | 3 | 5cf42426895ba8691c9b53ba1b97c274bbdabc07 | 9,011 | mindovercnclathe | Apache License 2.0 |
library/src/main/kotlin/org/mjdev/libs/barcodescanner/bysquare/lzma/Decoder2.kt | mimoccc | 804,873,510 | false | {"Kotlin": 244846, "Shell": 336} | package org.mjdev.libs.barcodescanner.bysquare.lzma
import org.mjdev.libs.barcodescanner.bysquare.lzma.RangeDecoder.Companion.initBitModels
import java.io.IOException
internal class Decoder2 {
private val decoders = ShortArray(0x300)
fun init() {
initBitModels(decoders)
}
@Throws(IOException... | 0 | Kotlin | 0 | 0 | 6f99b62284c335faeef849c5cee8771ffc760ed6 | 1,278 | barcodescanner | Apache License 2.0 |
src/main/kotlin/org/dropProject/data/AuthorDetails.kt | ULHT-CM-2020-21 | 402,800,255 | true | {"HTML": 940423, "Kotlin": 513102, "JavaScript": 122743, "Java": 47015, "CSS": 13667} | /*-
* ========================LICENSE_START=================================
* DropProject
* %%
* Copyright (C) 2019 <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
*
* ... | 0 | null | 0 | 0 | 4d25b1363d76838de1a7f624cc1539062ddbb383 | 978 | drop-project | Apache License 2.0 |
core/src/main/java/com/nightstalker/core/presentation/ext/ui/SpinnerExt.kt | 2023Constanta | 601,770,408 | false | {"Kotlin": 166270} | package com.nightstalker.core.presentation.ext.ui
import android.content.Context
import android.view.View
import android.widget.AdapterView
import android.widget.AdapterView.OnItemSelectedListener
import android.widget.ArrayAdapter
import android.widget.Spinner
typealias OnItemSelectedAction = (position: Int) -> Unit... | 0 | Kotlin | 0 | 0 | 3121a585f22c81156ea10b2532add86f4f2355a9 | 1,736 | ARTIC | Apache License 2.0 |
domain/src/main/java/com/foobarust/domain/models/map/TravelMode.kt | foobar-UST | 285,792,732 | false | null | package com.foobarust.domain.models.map
/**
* Created by kevin on 3/22/21
*/
enum class TravelMode {
DRIVING,
WALKING
} | 0 | Kotlin | 2 | 2 | b4358ef0323a0b7a95483223496164e616a01da5 | 131 | foobar-android | MIT License |
app/src/main/java/com/example/jetpack_compose_all_in_one/demos/history_of_day/repository/HistoryRepositoryImpl.kt | myofficework000 | 626,474,700 | false | {"Kotlin": 1392414} | package com.example.jetpack_compose_all_in_one.demos.history_of_day.repository
import com.example.jetpack_compose_all_in_one.demos.history_of_day.model.Dates
import com.example.jetpack_compose_all_in_one.demos.history_of_day.service.ApiService
import com.example.jetpack_compose_all_in_one.demos.history_of_day.service.... | 21 | Kotlin | 22 | 222 | 4de5418608d6917b5c97fac7d868454c424daa26 | 747 | Jetpack-Compose-All-in-one-Guide | MIT License |
src/main/java/kr/pe/ecmaxp/openpython/arch/types/interrupt/InterruptHandler.kt | EcmaXp | 126,013,640 | false | null | package kr.pe.ecmaxp.openpython.arch.types.interrupt
interface InterruptHandler {
operator fun invoke(interrupt: Interrupt, synchronized: Boolean)
}
| 3 | Python | 7 | 42 | ddc36c39f119db8d7509d326a7ec0a2e327ffb07 | 154 | OpenPython | MIT License |
friviaa/android/app/src/main/kotlin/com/example/friviaa/MainActivity.kt | preneure | 462,497,873 | false | null | package com.example.friviaa
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 19 | 33 | 9b06369c15a904714de7283679e3b7202cd88af7 | 124 | the_complete_flutter_development_course | MIT License |
model/src/main/java/com/jonnyhsia/model/story/StoryDataSource.kt | jonnyhsia | 130,314,804 | false | {"Gradle": 8, "Java Properties": 3, "Shell": 2, "Text": 1, "Ignore List": 7, "Batchfile": 2, "Markdown": 1, "XML": 144, "Proguard": 6, "Java": 9, "Kotlin": 182} | package com.jonnyhsia.model.story
import com.jonnyhsia.model.base.BaseDataSource
import com.jonnyhsia.model.story.entity.Archive
import com.jonnyhsia.model.story.entity.Story
import io.reactivex.Completable
import io.reactivex.Flowable
import io.reactivex.Single
/**
* @author JonnyHsia on 17/12/31.
*/
interface Sto... | 0 | Kotlin | 0 | 4 | 07fcc842a6b4695352231bf6b5b74b446b59b500 | 1,227 | composer | Apache License 2.0 |
kotlin-mui/src/main/generated/mui/material/SvgIcon.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/material/SvgIcon")
@file:JsNonModule
package mui.material
import kotlinext.js.ReadonlyArray
external interface SvgIconProps : react.PropsWithChildren {
/**
* Node passed into the SVG element.
*/
override var children: ReadonlyArray<r... | 9 | null | 138 | 943 | c350c32b4632a057d797b08db98190309f94f90c | 2,516 | kotlin-wrappers | Apache License 2.0 |
server/src/main/kotlin/dev/robocode/tankroyale/server/mapper/BotIntentMapper.kt | robocode-dev | 457,523,927 | false | {"Kotlin": 529081, "Java": 419155, "C#": 407446, "SCSS": 1367, "TypeScript": 1071, "Shell": 83} | package dev.robocode.tankroyale.server.mapper
import dev.robocode.tankroyale.schema.BotIntent
import dev.robocode.tankroyale.server.dev.robocode.tankroyale.server.mapper.TeamMessageMapper
object BotIntentMapper {
fun map(intent: BotIntent): dev.robocode.tankroyale.server.model.BotIntent {
intent.apply {
... | 7 | Kotlin | 28 | 97 | a5e74e40b3d7eab271f77202754a133b2af48f25 | 1,307 | tank-royale | Apache License 2.0 |
app/src/test/java/com/example/imagegallery/data/repository/RedditImageRepositoryTest.kt | auron567 | 278,583,026 | false | {"Kotlin": 70186} | package com.example.imagegallery.data.repository
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.MutableLiveData
import com.example.imagegallery.data.database.RedditImageDao
import com.example.imagegallery.data.model.RedditImage
import com.example.imagegallery.data.network.... | 2 | Kotlin | 20 | 220 | 6244d94afe2ba86f1458b8cc2cf78c83ed431e17 | 4,982 | Gallerit | MIT License |
src/main/kotlin/me/aggellos2001/ksurvivaleuplugin/commands/PlayerWarp.kt | aggellos2001 | 353,823,449 | false | null | package me.aggellos2001.ksurvivaleuplugin.commands
import co.aikar.commands.BaseCommand
import co.aikar.commands.ConditionFailedException
import co.aikar.commands.annotation.*
import com.github.benmanes.caffeine.cache.Caffeine
import com.github.benmanes.caffeine.cache.Scheduler
import dev.triumphteam.gui.builder.item.... | 0 | Kotlin | 0 | 1 | 5b264707f832b825a3f6e2939004d7434ca41222 | 7,625 | KSurvivalEUPlugin | MIT License |
plugins/kotlin/analysis/src/org/jetbrains/kotlin/idea/references/ReadWriteAccessCheckerDescriptorsImpl.kt | ingokegel | 72,937,917 | false | 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.references
import org.jetbrains.kotlin.idea.caches.resolve.resolveToCall
import org.jetbrains.kotlin.psi.KtBinaryExpression
import org.jetbrains.kotlin.psi.KtExpre... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,044 | intellij-community | Apache License 2.0 |
app/src/main/java/com/hypersoft/baseproject/di/domain/manager/InternetManager.kt | hypersoftdev | 604,924,334 | false | null | package com.hypersoft.baseproject.di.domain.manager
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
import android.util.Log
import com.hypersoft.baseproject.utilities.utils.ConstantUtils.TAG
class InternetManager(context: Context) {
private val connect... | 0 | null | 9 | 1 | 0b713de4c3a14e30bd395abe29601e72cd6fda1d | 1,300 | Base-Project | Apache License 2.0 |
lib/src/main/java/io/sellmair/quantum/internal/entangle/Connection.kt | sellmair | 147,240,457 | false | null | package io.sellmair.quantum.internal.entangle
internal interface Connection<Outer, Inner> {
operator fun invoke(outer: Outer, inner: Inner): Outer
}
| 1 | Kotlin | 3 | 71 | a235277f9ce915ce54d933416a9724cbf424e776 | 155 | quantum | MIT License |
modules/dql-string-builder/src/main/kotlin/com/farcsal/dql/string/builder/filter/DqlStringBuilder.kt | fzoli | 541,286,565 | false | {"Kotlin": 369907, "ANTLR": 1659} | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 1 | 4b95a028b7242197a8478d22c2a2c6dff9efd927 | 12,251 | dql-kotlin | Apache License 2.0 |
orca-queue/src/main/kotlin/com/netflix/spinnaker/orca/q/MessageHandler.kt | brujoand | 72,186,850 | false | {"Gradle": 27, "Slim": 1, "YAML": 51, "TOML": 1, "Dockerfile": 1, "Java Properties": 3, "Shell": 6, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Text": 3, "Markdown": 18, "Groovy": 647, "Kotlin": 125, "Java": 217, "JSON": 46, "XML": 1, "Scala": 5} | /*
* Copyright 2017 Netflix, 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 agreed to i... | 1 | null | 1 | 1 | 6c5765b7681a69e162b6074534643efe094be363 | 3,405 | orca | Apache License 2.0 |
model-api/src/commonMain/kotlin/org/modelix/model/api/INode.kt | modelix | 533,211,353 | false | null | /*
* 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 distributed ... | 49 | Kotlin | 3 | 4 | b82344e9b0ff0a65c3baeede887545ab2552a0e9 | 7,347 | modelix.core | Apache License 2.0 |
src/iii_conventions/MyDate.kt | safiranugroho | 146,988,271 | true | {"Kotlin": 71834, "Java": 4952} | package iii_conventions
data class MyDate(val year: Int, val month: Int, val dayOfMonth: Int) : Comparable<MyDate> {
override fun compareTo(other: MyDate): Int = when {
this.year != other.year -> this.year - other.year
this.month != other.month -> this.month - other.month
else -> this.dayOfMonth - othe... | 0 | Kotlin | 0 | 0 | daeea8dec174cc1aec846224c48915fd2039c361 | 1,455 | kotlin-koans | MIT License |
modules/wasm-binary/src/commonMain/kotlin/tree/instructions/ConstFloat32Instruction.kt | wasmium | 761,480,110 | false | {"Kotlin": 352107, "JavaScript": 200} | package org.wasmium.wasm.binary.tree.instructions
import org.wasmium.wasm.binary.visitors.FunctionBodyVisitor
import org.wasmium.wasm.binary.tree.Opcode
public class ConstFloat32Instruction(public override val value: Float) : ConstantInstruction<Float> {
override val opcode: Opcode = Opcode.F32_CONST
overrid... | 0 | Kotlin | 0 | 1 | f7ddef76630278616d221e7c8251adf0f11b9587 | 449 | wasmium-wasm-binary | Apache License 2.0 |
src/main/kotlin/com/tormenteddan/sandwiches/DecoratedSandwich.kt | tormenteddan | 133,490,418 | false | null | package com.tormenteddan.sandwiches
import com.tormenteddan.sandwiches.ingredients.Bread
import com.tormenteddan.sandwiches.ingredients.Ingredient
import com.tormenteddan.sandwiches.ingredients.SandwichIngredient
import javafx.collections.ObservableList
import tornadofx.*
/**
* A [sandwich] decorated with an [ingred... | 0 | Kotlin | 0 | 1 | a194cb05d67731c6043cbe999bbfafb32fdfd49f | 1,420 | SandwichControl | MIT License |
Calculator/src/main/kotlin/tokenizer/state/ErrorState.kt | RomaA2000 | 410,364,852 | false | null | package tokenizer.state
import tokenizer.token.Token
class ErrorState(tokens: MutableList<Token>, char: Char): TokenizerState(tokens) {
val error = "Error with char: $char"
override fun next(char: Char): TokenizerState = this
} | 0 | Kotlin | 0 | 0 | 7e08686f6769c5fa309651396f465be049f06933 | 239 | SDCourse | MIT License |
goblin-rpc/src/main/java/org/goblinframework/rpc/module/RpcModule.kt | xiaohaiz | 206,246,434 | false | {"Java": 807217, "Kotlin": 650572, "FreeMarker": 27779, "JavaScript": 968} | package org.goblinframework.rpc.module
import org.goblinframework.api.annotation.Install
import org.goblinframework.core.system.*
import org.goblinframework.rpc.module.config.RpcRegistryConfigManager
import org.goblinframework.rpc.registry.RpcRegistryManager
@Install
class RpcModule : IModule {
override fun id(): ... | 0 | Java | 6 | 9 | b1db234912ceb23bdd81ac66a3bf61933b717d0b | 1,196 | goblinframework | Apache License 2.0 |
src/main/kotlin/serializables/GameData.kt | jacoobes | 387,004,509 | false | null | package dev.seren.serializables.game
import dev.seren.serializables.meta.MetaData
import dev.seren.serializables.team.TeamData
data class GameData(
val id : Int,
val date : String,
val home_team_score : Int,
val visitor_team_score : Int,
val season : Int,
val period : Int,
val status : Str... | 0 | Kotlin | 0 | 0 | b380deab00d0e74be7e50a5239b589f4b7aa339c | 525 | BallKt | MIT License |
core/src/main/java/com/nabla/sdk/core/data/exception/ExceptionMapper.kt | nabla | 478,468,099 | false | {"Kotlin": 1146406, "Java": 20507} | package com.nabla.sdk.core.data.exception
import com.nabla.sdk.core.annotation.NablaInternal
import com.nabla.sdk.core.domain.entity.NablaException
import com.nabla.sdk.core.domain.entity.UnknownException
@NablaInternal
public class NablaExceptionMapper {
private val mappers = mutableListOf<ExceptionMapper>()
... | 0 | Kotlin | 2 | 18 | 296b9c0f32d99d128d893050196d4c7e65b701b2 | 961 | nabla-android | MIT License |
ComposeToast/src/appleMain/kotlin/io/github/tbib/compose_toast/getAppLogo.apple.kt | the-best-is-best | 756,434,320 | false | {"Kotlin": 38544, "Swift": 522, "HTML": 352} | package io.github.tbib.compose_toast
import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.toComposeImageBitmap
import kotlinx.cinterop.ExperimentalForeignApi
import kotlinx.cinterop.get
import org.jetbrains.skia.ColorAlphaType
import org.jetbrains.skia.ColorSpace
import org.jetbrains.ski... | 0 | Kotlin | 0 | 0 | d7b7d5c6c361953bbbf93c92247a88798faf9974 | 3,640 | ComposeToast | Apache License 2.0 |
shared/src/iosMain/kotlin/com/github/jetbrains/swiftexport/IOSSource.kt | Kotlin | 765,237,378 | false | {"Swift": 2715, "Kotlin": 1072} | package com.github.jetbrains.swiftexport
fun iosBar(): Int = 125 | 0 | Swift | 2 | 39 | 33e410659b2704d5b7e82b47166297125b7fc7bd | 65 | swift-export-sample | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/codedeploy/CanaryTrafficRoutingConfigDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.codedeploy
import cloudshift.awscdk.common.CdkDslMarker
import... | 3 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 1,640 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/at/shockbytes/dante/ui/viewmodel/SuggestionsViewModel.kt | shockbytes | 92,944,830 | false | {"Kotlin": 790879} | package at.shockbytes.dante.ui.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import at.shockbytes.dante.core.book.BookEntity
import at.shockbytes.dante.core.book.BookState
import at.shockbytes.dante.core.data.BookRepository
import at.sho... | 21 | Kotlin | 7 | 73 | 8b5b1043adac8360226628fac4114203605c1965 | 7,041 | Dante | Apache License 2.0 |
src/main/kotlin/com.highthunder.kotlr/json/qualifier/HexColorOctothorpe.kt | Emamatcyber90 | 189,778,198 | true | {"Kotlin": 500099} | package com.highthunder.kotlr.json.qualifier
import com.squareup.moshi.JsonQualifier
/**
* HexColorOctothorpe - TODO: Documentation
*
* @author highthunder
* @since 10/27/18
* @version 1.0.0
*/
@Retention(AnnotationRetention.RUNTIME)
@JsonQualifier
annotation class HexColorOctothorpe
| 0 | Kotlin | 0 | 0 | 5d7a671ac9fe68f061a52d19bf0ff7ef8e3dc7c8 | 293 | kotlr | MIT License |
browser-kotlin/src/jsMain/kotlin/web/transport/WebTransportSendStreamOptions.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.transport
import js.core.JsLong
import kotlinx.js.JsPlainObject
@JsPlainObject
external interface WebTransportSendStreamOptions {
val sendOrder: JsLong?
}
| 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 218 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/eakurnikov/followinc/di/modules/DatabaseModule.kt | eakurnikov | 160,266,996 | true | {"Kotlin": 22682} | package com.eakurnikov.followinc.di.modules.common
import android.arch.persistence.room.Room
import android.content.Context
import com.eakurnikov.followinc.data.db.FollowIncDatabase
import com.eakurnikov.followinc.di.annotations.ApplicationScope
import com.eakurnikov.followinc.utils.DATABASE_NAME
import dagger.Module
... | 0 | Kotlin | 1 | 1 | 33cd989cd2e76ce792aabb4465cc67acb219e77a | 760 | FollowInc_Android | Apache License 2.0 |
core/src/main/java/com/flexa/core/domain/db/DbInteractor.kt | flexa | 843,038,714 | false | {"Kotlin": 864938} | package com.flexa.core.domain.db
import com.flexa.core.data.db.TransactionBundle
import com.flexa.core.shared.Asset
import com.flexa.core.shared.Brand
class DbInteractor(
private val repository: IDbRepository
) {
suspend fun getAssets(): List<Asset> = repository.getAssets()
suspend fun getAssetsById(var... | 0 | Kotlin | 0 | 15 | 71ee4da2d05ff4699c7cf685e35926fa8476de6e | 1,163 | flexa-android | MIT License |
app/src/main/java/com/amitranofinzi/vimata/ui/theme/Type.kt | Ggino11 | 788,949,158 | false | {"Kotlin": 368820} | package com.amitranofinzi.vimata.ui.theme
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Shapes
import androidx.compose.material3.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.Font... | 0 | Kotlin | 0 | 0 | b52fbb6a00375a55ff1df74b71ae0531702dd5fc | 823 | ProgettoAmitranoFinzi-progMob | MIT License |
app/src/test/java/io/github/tobyhs/weatherweight/forecast/ForecastViewModelTest.kt | tobyhs | 78,722,921 | false | {"Kotlin": 83159} | package io.github.tobyhs.weatherweight.forecast
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import io.github.tobyhs.weatherweight.data.LocationNotFoundError
import io.github.tobyhs.weatherweight.data.WeatherCoroutinesRepository
import io.github.tobyhs.weatherweight.data.model.ForecastResultSet
... | 0 | Kotlin | 1 | 9 | c377e4c1254c6ff4b0228ba252b3218993e050ae | 5,132 | WeatherWeight | MIT License |
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/InlayRunToCursorEditorListener.kt | wwwjames | 78,877,532 | false | {"Text": 8974, "INI": 512, "YAML": 425, "Ant Build System": 11, "Batchfile": 31, "Dockerfile": 8, "Shell": 624, "Markdown": 711, "Ignore List": 134, "Git Revision List": 1, "Git Attributes": 10, "EditorConfig": 253, "XML": 7534, "SVG": 4075, "Kotlin": 54316, "Java": 82803, "HTML": 3751, "Java Properties": 204, "Gradle"... | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.xdebugger.impl
import com.intellij.codeInsight.daemon.impl.HintRenderer
import com.intellij.codeInsight.daemon.impl.IntentionsUIImpl
import com.intellij.codeInsight.hint.HintMan... | 1 | null | 1 | 1 | 9d4b7c6230b668e59a1aabb2b54cb89ba840fce4 | 12,859 | intellij-community | Apache License 2.0 |
Tasks/Task6/app/src/main/java/com/enesorhan/sahibindenui/uix/views/LocationPage.kt | enesorhann | 868,032,951 | false | {"Kotlin": 189543} | package com.enesorhan.sahibindenui.uix.views
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.runti... | 0 | Kotlin | 0 | 0 | 73d47f79ba4d1b891ad51ebaa098c1cf1b762210 | 859 | Kotlin_JetpackCompose_Bootcamp | MIT License |
src/main/kotlin/object/ElementNode.kt | Antony404 | 735,274,882 | false | {"Kotlin": 13891, "Java": 2140} | package `object`
import com.fasterxml.jackson.annotation.JsonProperty
data class ElementNode(
@field:JsonProperty("tag")
var tag: String? = null,
@field:JsonProperty("attrs")
var attrs: Map<String, String>? = null,
@field:JsonProperty("children")
var children: List<Node>? = null,
) : Node()
| 0 | Kotlin | 0 | 0 | 15372de45abc1e86a1742857cf1728452377a030 | 318 | telegra.ph | MIT License |
reduks-core-modules/src/test/kotlin/com/beyondeye/reduks/modules/ActionWithContextTest.kt | beyondeye | 59,747,728 | false | {"Kotlin": 505882, "Java": 192306} | package com.beyondeye.reduks.modules
import org.junit.Assert.*
import org.junit.Test
/**
* Created by daely on 11/7/2016.
*/
class ActionWithContextTest {
@Test
fun testActionWithContextLambdaMatcher() {
class ActionA
class ActionB
class ActionC
val ctx1= ReduksContext("1")
... | 5 | Kotlin | 10 | 111 | 80b84d221b92aef0b172938c2e6efaef973269b1 | 1,858 | Reduks | Apache License 2.0 |
backend/src/main/kotlin/de/mcella/spring/learntool/config/AppProperties.kt | sitMCella | 251,022,990 | false | null | package de.mcella.spring.learntool.config
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding
@ConfigurationProperties(prefix = "app")
data class AppProperties @ConstructorBinding constructor(
val auth: Auth,
val oaut... | 1 | Kotlin | 0 | 0 | 01c434e43eb302365f58ea665285a91600a083cd | 333 | learn-tool | MIT License |
app/src/main/java/com/example/augmentingmadrid/SignUpActivity.kt | kzzazzk | 750,403,708 | false | {"Kotlin": 48311} | package com.example.augmentingmadrid
import android.content.Context
import android.content.Intent
import android.opengl.Visibility
import android.os.Bundle
import android.view.View
import android.widget.EditText
import android.widget.ImageButton
import android.widget.TextView
import android.widget.Toast
import android... | 0 | Kotlin | 0 | 1 | 95cef9f9dd7e08f21eb2ec72b916f8e05b76583e | 2,698 | MadBusStop | MIT License |
app/src/main/java/com/connectycube/messenger/utilities/ImagePicker.kt | DucHM | 209,478,387 | true | {"Kotlin": 237668, "Java": 21975, "IDL": 234} | package com.connectycube.messenger.utilities
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.pm.ActivityInfo
import android.net.Uri
import android.widget.Toast
import com.connectycube.messenger.R
import com.yalantis.ucrop.UCrop
import com.zhihu.matisse.Ma... | 0 | null | 0 | 0 | 8708d371796516e0d2f25eb0fef76b621de93f23 | 2,517 | android-messenger-app | Apache License 2.0 |
app/src/main/java/com/example/foodapp/temp_item.kt | AnkurTambe | 371,776,129 | false | null | package com.example.foodapp
class temp_item {
var id: Int
var name: String
var price: Double
var photo: String
var qty: Int
constructor(id: Int, name: String, price: Double, photo: String, qty: Int) {
this.id = id
this.name = name
this.price = price
this.photo =... | 0 | Kotlin | 0 | 2 | 5354591995605972c441e8ec0ac5b1bc992156cb | 357 | FoodApp | MIT License |
sample/src/main/java/com/thesetox/prepare/sample/MainActivity.kt | TheSetox | 781,781,994 | false | {"Kotlin": 5343} | package com.thesetox.prepare.sample
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.thesetox.prepare.sample.ui.theme.PrepareTh... | 0 | Kotlin | 0 | 1 | 479dc285f97c5b12834f73c450a4cea54f784a58 | 845 | Prepare | Apache License 2.0 |
buildSrc/src/main/java/com/likethesalad/placeholder/data/storage/IncrementalDirsProvider.kt | mannodermaus | 259,418,461 | true | {"Kotlin": 180595} | package com.likethesalad.placeholder.data.storage
import com.likethesalad.placeholder.data.helpers.AndroidVariantHelper
import java.io.File
class IncrementalDirsProvider(androidVariantHelper: AndroidVariantHelper) {
private val incrementalDir = File(androidVariantHelper.incrementalDir)
fun getRawStringsDir()... | 0 | null | 0 | 0 | 5c85545ba6117ca1a3d1baea1d6c29b03d54aa75 | 732 | android-string-reference | MIT License |
src/main/kotlin/com/kc/intern/project/freemarker/model/Screen.kt | SabrinaSioli | 426,611,617 | false | {"Kotlin": 34085, "HTML": 688, "FreeMarker": 598, "Dockerfile": 218, "Shell": 26} | package com.kc.intern.project.freemarker.model
class Screen {
var id: Int = 0
var name: String = ""
var size: Size = Size()
var backgroundColor: Color? = null
var startScreen: Boolean = true
var type: String = "Screen"
var backgroundImage: Image? = null
var location: Location? = null;
... | 0 | Kotlin | 0 | 0 | 6a48c7699f88e250b52174d215b442089b5c978d | 1,209 | kc-intern-project-kotlin | MIT License |
ARMenu/app/src/main/java/com/fatihkilic/armenu/MainActivity.kt | fa7ih | 715,092,038 | false | {"Kotlin": 10536} | package com.fatihkilic.armenu
import android.graphics.Bitmap.Config
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundati... | 0 | Kotlin | 0 | 0 | ac1f9a7c608c414513343f9992064777e5b8d2ae | 6,022 | ARCMenu | MIT License |
app/src/main/java/com/fridaytech/dex/presentation/transactions/info/TransactionInfoViewModel.kt | 5daytech | 198,758,400 | false | null | package com.fridaytech.dex.presentation.transactions.info
import androidx.lifecycle.MutableLiveData
import com.fridaytech.dex.core.ui.CoreViewModel
import com.fridaytech.dex.core.ui.SingleLiveEvent
import com.fridaytech.dex.presentation.transactions.model.TransactionViewItem
class TransactionInfoViewModel : CoreViewM... | 0 | Kotlin | 13 | 21 | 50200c97a9a7a456b588cf132fdb901141efb1d1 | 743 | udex-app-android | MIT License |
plugins/kotlin/gradle/gradle-tooling/impl/src/org/jetbrains/kotlin/idea/gradleTooling/reflect/KotlinExtensionReflection.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.gradleTooling.reflect
import org.gradle.api.Named
import org.gradle.api.Project
class KotlinExtensionReflection(
val project: Project, val kotlinExtension: Any... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,731 | intellij-community | Apache License 2.0 |
src/test/kotlin/com/demonwav/mcdev/framework/CommenterTest.kt | Earthcomputer | 240,984,777 | true | {"Gradle Kotlin DSL": 2, "Markdown": 2, "YAML": 3, "Text": 16, "Java Properties": 3, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "XML": 28, "INI": 6, "Java": 3, "Groovy": 4, "HAProxy": 2, "Kotlin": 554, "SVG": 1, "HTML": 39, "JFlex": 4} | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2019 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.framework
import com.demonwav.mcdev.platform.PlatformType
import com.intellij.openapi.actionSystem.IdeActions
import com.intellij.openapi.vfs.VfsUtil
import com.intel... | 1 | Kotlin | 2 | 23 | ab8aaeb8804c7a8b2e439e063a73cb12d0a9d4b5 | 1,402 | MinecraftDev | MIT License |
plugin-azure-agent/src/main/kotlin/jetbrains/buildServer/clouds/azure/FileUtilsImpl.kt | JetBrains | 22,468,117 | false | null | /*
* Copyright 2000-2021 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... | 17 | null | 22 | 45 | 8994349a6f6ecf3ccdd18b52d761c4197b68233d | 2,435 | teamcity-azure-agent | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/inspectionsLocal/simpleRedundantLet/functionCall4.kt | ingokegel | 72,937,917 | false | null | // PROBLEM: none
// WITH_STDLIB
fun foo(s: String, i: Int) = s.length + i
fun test() {
val s = ""
s.let<caret> { x -> foo("", x.length) }
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 149 | intellij-community | Apache License 2.0 |
src/kotlin/org/intellij/plugins/hcl/Language.kt | VladRassokhin | 36,181,263 | false | null | /*
* Copyright 2000-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... | 102 | null | 46 | 246 | f954f315ba09ea08e58da9bd6eefb0955a6c84a4 | 844 | intellij-hcl | Apache License 2.0 |
app/src/main/java/com/syn/filechooser/MainAct.kt | kishandonga | 163,160,815 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 13, "XML": 34, "Java": 2} | package com.syn.filechooser
import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.kdonga.filepicker.utility.SizeUnit
import com.kdonga.filepicker.widget.FilePicker
import kotlinx.android.synthetic.main.activity_main.*
class MainAct : AppCompatActivity() {
... | 0 | Kotlin | 0 | 1 | 2d7352a1845e923c068e716bf2145708b6770d2f | 1,007 | AndroidFilePicker | Apache License 2.0 |
app/src/main/java/com/greylabs/grc/screens/examples_view_bottom/welcome/FragmentWelcome.kt | GreyLabsDev | 162,820,419 | false | null | package com.greylabs.grc.screens.examples_view_bottom.welcome
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.greylabs.grc.R
import kotlinx.android.s... | 1 | Kotlin | 1 | 13 | cd8082009561646db0cb322b85646f7de4f88e26 | 1,250 | GradientComponents | MIT License |
src/com/github/korniloval/matlab/highlighting/MatlabPairedBraceMatcher.kt | fernandreu | 172,973,403 | false | {"Markdown": 1, "Text": 22, "Ignore List": 1, "XML": 7, "Kotlin": 62, "Java": 2, "M": 13, "MATLAB": 48, "Mathematica": 1, "MUF": 1, "Limbo": 1, "Objective-C": 1, "JFlex": 2} | package com.github.korniloval.matlab.highlighting
import com.github.korniloval.matlab.MatlabLanguage
import com.intellij.codeInsight.highlighting.PairedBraceMatcherAdapter
class MatlabPairedBraceMatcher : PairedBraceMatcherAdapter(MatlabBraceMatcher(), MatlabLanguage.INSTANCE)
| 1 | null | 1 | 1 | 55f1420196da9d8be63b8974fd2c49a31dea960b | 280 | matlab-IntelliJ-plugin | MIT License |
app/src/main/java/com/example/yassirtest/util/DependencyInjection.kt | AssoulYasser | 805,504,032 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 5, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "Kotlin": 37, "XML": 24, "INI": 3, "Java": 28} | package com.example.yassirtest.util
import com.example.yassirtest.data.movies.repositories.MoviesRepositoryImplementation
import com.example.yassirtest.data.movies.sources.KtorClientFactory
import com.example.yassirtest.data.movies.sources.MoviesDataSource
import com.example.yassirtest.domain.movies.repositories.Movie... | 0 | Java | 0 | 0 | 513512399a7a12366c698961181854c57c25bad3 | 1,342 | YassirTest | MIT License |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/apprunner/AppRunnerExplorerNode.kt | JetBrains | 223,485,227 | false | null | // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.apprunner
import com.intellij.openapi.project.Project
import icons.AwsIcons
import software.amazon.awssdk.services.apprunner.AppRunnerClient
import softwar... | 6 | null | 4 | 9 | ccee3307fe58ad48f93cd780d4378c336ee20548 | 1,818 | aws-toolkit-jetbrains | Apache License 2.0 |
deprecated/network/sample/src/main/java/ru/surfstudio/android/network/sample/interactor/common/network/OkHttpModule.kt | surfstudio | 139,034,657 | false | {"Kotlin": 2966626, "Java": 1025166, "FreeMarker": 104337, "Groovy": 43020, "C++": 1542, "Ruby": 884, "CMake": 285, "Shell": 33, "Makefile": 25} | package ru.surfstudio.android.network.sample.interactor.common.network
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import ru.surfstudio.android.dagger.scope.PerApplication
import ru.surfstudio.android.network.cache.SimpleCacheInterceptor
import ... | 5 | Kotlin | 30 | 249 | 6d73ebcaac4b4bd7186e84964cac2396a55ce2cc | 1,174 | SurfAndroidStandard | Apache License 2.0 |
compiler/testData/diagnostics/tests/multiplatform/java/varPropertyAgainstJavaGetterAndNonFinalField.fir.kt | ansman | 167,456,426 | false | {"Markdown": 160, "Gradle": 422, "Gradle Kotlin DSL": 1061, "Java Properties": 27, "Shell": 42, "Ignore List": 20, "Batchfile": 21, "Git Attributes": 8, "JSON": 195, "XML": 783, "Kotlin": 52505, "INI": 197, "Java": 3526, "Text": 20324, "JavaScript": 310, "JAR Manifest": 2, "Roff": 256, "Roff Manpage": 52, "Protocol Buf... | // MODULE: m1-common
// FILE: common.kt
expect class Foo {
var foo: Int
}
// MODULE: m2-jvm()()(m1-common)
// FILE: jvm.kt
interface I {
val foo: Int
}
actual typealias <!NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS!>Foo<!> = JavaFoo
// FILE: JavaFoo.java
public class JavaFoo implements I {
public int foo;
... | 1 | null | 1 | 1 | e4b574de3893a2f8bf9c6aa2c975b85f91cae61d | 387 | kotlin | Apache License 2.0 |
mobile/src/main/java/com/aptopayments/mobile/data/card/CustodianWallet.kt | ShiftFinancial | 130,093,227 | false | {"Kotlin": 696648} | package com.aptopayments.mobile.data.card
data class CustodianWallet(
val type: String,
val custodian: Custodian,
val balance: Money?
)
| 0 | Kotlin | 0 | 5 | f79b3c532ae2dfec8e571b315401ef03d8e507f9 | 149 | shift-sdk-android | MIT License |
psclient/src/main/java/com/majeur/psclient/ui/JoinChatRoomDialog.kt | MajeurAndroid | 191,601,039 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 1, "XML": 117, "Kotlin": 79, "JSON": 6, "Java": 24, "Python": 12} | package com.majeur.psclient.ui
import android.os.Bundle
import android.text.Editable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AdapterView
import android.widget.BaseAdapter
import android.widget.ListAdapter
import android.widget.Toast
import com.goo... | 0 | Kotlin | 5 | 30 | e940c15924db38ba38a71f12ae8e6d640b166609 | 6,044 | Android-Unoffical-Showdown-Client | Apache License 2.0 |
modules/mockk-agent-api/src/jvmMain/kotlin/io/mockk/proxy/common/ProxyInvocationHandler.kt | mockk | 107,331,132 | false | null | /*
* Copyright (C) 2012 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... | 296 | null | 344 | 5,426 | 79abc96d3235710d61beaf677ea1349ba12eea0c | 2,822 | mockk | Apache License 2.0 |
samples/src/main/kotlin/cz/janchvala/android/kotlin/data/repository/RepositoryModule.kt | JanChvala | 49,563,263 | false | {"Java": 899, "Kotlin": 160} | package cz.janchvala.android.kotlin.data.repository
import cz.janchvala.android.kotlin.AppScope
import cz.janchvala.android.kotlin.data.api.GitHubService
import dagger.Module
import dagger.Provides
@Module
public class RepositoryModule {
@Provides
@AppScope
fun provideGitHubRepository(gitHubService: GitH... | 1 | null | 1 | 1 | e53d2eafbba4ebc95baca2babae73e0e033d18d5 | 397 | android-library-template | Apache License 2.0 |
app/src/main/java/com/github/naz013/tasker/data/TasksConverter.kt | Vistaus | 178,057,902 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "JSON": 2, "Proguard": 2, "Kotlin": 42, "XML": 85, "Java": 3} | package com.github.naz013.tasker.data
import androidx.room.TypeConverter
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
/**
* Copyright 2017 Nazar Suhovich
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | 1 | null | 1 | 1 | 4aa8fedf8bed3244ea87699d0933e5ef052b90a6 | 1,034 | my-day-todo | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/markdown/MarkdownContentProvider.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.markdown
import io.horizontalsystems.bankwallet.core.INetworkManager
import io.reactivex.Single
import java.net.URL
class MarkdownPlainContentProvider(
private val networkManager: INetworkManager,
private val contentUrl: String
) : MarkdownModule... | 136 | null | 219 | 402 | 5ce20e6e4e0f75a76496051ba6f78312bc641a51 | 1,251 | unstoppable-wallet-android | MIT License |
app/src/main/java/com/soft507/travelsuggest/bean/UserListBean.kt | rickey0827 | 274,230,136 | false | null | package com.soft507.travelsuggest.bean
import com.chad.library.adapter.base.entity.MultiItemEntity
/**
* @author LRQ-Pro
* @description:
* @date : 2020/6/8 12:22
*/
data class UserListBean(val name: String, val type: Int = 0, var url: String?, val text: String?) :
MultiItemEntity {
override val itemType... | 1 | null | 1 | 3 | 9615d375a67bd23156b5a390f799336aa14a1219 | 348 | TravelSuggest | Apache License 2.0 |
app/src/main/java/com/bpdsulteng/mobile/utils/BindingUtils.kt | mbahgojol | 195,235,295 | false | {"Java": 84056, "Kotlin": 72515} | package com.bpdsulteng.mobile.utils
import android.databinding.BindingAdapter
import android.support.v4.view.ViewPager
import android.support.v7.widget.RecyclerView
import android.widget.ImageView
import com.bpdsulteng.mobile.model.Chat
import com.bpdsulteng.mobile.model.User
import com.bpdsulteng.mobile.ui.chatroom.C... | 1 | null | 1 | 1 | 0df2add1b8699a1f015fe28ef6f2b10a69df45d0 | 2,239 | ChatAppFirebase | MIT License |
sqldelight-compiler/src/test/kotlin/app/cash/sqldelight/core/NamedQueryTests.kt | sqldelight | 44,677,680 | false | null | package app.cash.sqldelight.core
import app.cash.sqldelight.core.lang.util.TableNameElement.CreateTableName
import app.cash.sqldelight.core.lang.util.TableNameElement.NewTableName
import app.cash.sqldelight.test.util.FixtureCompiler
import com.google.common.truth.Truth.assertThat
import org.junit.Rule
import org.junit... | 606 | null | 516 | 6,152 | f79bd8ae2cf991de6dccdb643376253402f665e1 | 4,021 | sqldelight | Apache License 2.0 |
src/main/kotlin/ru/tinkoff/cyclohexane/ui/component/cluster/tree/TreeIconView.kt | chemeugene | 562,566,384 | false | null | package ru.tinkoff.cyclohexane.ui.component.cluster.tree
import androidx.compose.material.Colors
import androidx.compose.material.Icon
import androidx.compose.material.LocalContentColor
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.KeyboardArrowDown
import androidx.compose.... | 0 | Kotlin | 0 | 0 | 70e9823f743a43c17c8f7de24826c29fafec2763 | 1,155 | cyclohexane | Apache License 2.0 |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/topic/boundary/TopicDeleteService.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2024
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.topic.boundary
import com.bosch.pt.csm.cloud.common.c... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,461 | bosch-pt-refinemysite-backend | Apache License 2.0 |
report-service/src/main/kotlin/ru/morkovka/report/entity/dto/TaskDto.kt | aplater | 282,253,756 | true | {"Kotlin": 49861, "Vue": 13550, "HTML": 613, "JavaScript": 354} | package ru.morkovka.report.entity.dto
data class TaskDto(val id: Long, val key: String, val fields: FieldsDto) | 0 | null | 0 | 0 | 5dcd259871e56a36b268ce38708856568b756587 | 111 | jira-report-tools | Apache License 2.0 |
report-service/src/main/kotlin/ru/morkovka/report/entity/dto/TaskDto.kt | aplater | 282,253,756 | true | {"Kotlin": 49861, "Vue": 13550, "HTML": 613, "JavaScript": 354} | package ru.morkovka.report.entity.dto
data class TaskDto(val id: Long, val key: String, val fields: FieldsDto) | 0 | null | 0 | 0 | 5dcd259871e56a36b268ce38708856568b756587 | 111 | jira-report-tools | Apache License 2.0 |
keel-plugin/src/main/kotlin/com/netflix/spinnaker/keel/plugin/ResourceConflict.kt | shruthi1994 | 180,459,255 | true | {"Kotlin": 287240, "Shell": 2176} | package com.netflix.spinnaker.keel.plugin
/**
* Represents some kind of conflict that prevents the plugin from interacting with the resource.
*/
class ResourceConflict(message: String) : RuntimeException(message)
| 0 | Kotlin | 0 | 0 | 2a79177c108fb370ac67e3dbad4ca9b5e78a640f | 216 | keel | Apache License 2.0 |
app/src/main/java/com/xuanlocle/weatherapp/ui/base/BaseDialog.kt | xuanlocle | 391,120,213 | false | null | package com.xuanlocle.weatherapp.ui.base
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.Window
import androidx.fragment.app.DialogFragment
abstract class... | 0 | Kotlin | 0 | 4 | 8cbd5c792750de2a70430e3b37833c9bfb68b3b2 | 1,324 | WeatherApp | MIT License |
app/src/main/kotlin/com/kamer/orny/di/app/DataModule.kt | kamerok | 86,376,991 | false | null | package com.kamer.orny.di.app
import android.arch.persistence.room.Room
import android.content.Context
import com.kamer.orny.data.android.*
import com.kamer.orny.data.domain.*
import com.kamer.orny.data.domain.mapper.ExpenseMapper
import com.kamer.orny.data.domain.mapper.ExpenseMapperImpl
import com.kamer.orny.data.go... | 0 | Kotlin | 0 | 0 | df5e204cd3e2e8e79149175effa06b8cc4ea2311 | 2,811 | Orny | Apache License 2.0 |
src/main/kotlin/vista/indicators/BollingerBand.kt | pallocchi | 270,795,322 | false | {"Kotlin": 188986} | /*
* MIT License
*
* Copyright (c) 2020 Pablo Pallocchi
*
* 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, ... | 1 | Kotlin | 1 | 9 | b3f6dba029cb916cf2af10f446eac1f3689fa043 | 2,477 | vista-kt | MIT License |
extensions_kotlin/src/commonMain/kotlin/org/kethereum/extensions/BigInteger.kt | wiyarmir | 469,944,902 | true | {"Kotlin": 724732} | package org.kethereum.extensions
import com.ionspin.kotlin.bignum.integer.BigInteger
import com.ionspin.kotlin.bignum.integer.Sign
import com.ionspin.kotlin.bignum.integer.util.toTwosComplementByteArray
import org.komputing.khex.extensions.clean0xPrefix
import org.komputing.khex.extensions.has0xPrefix
import org.kompu... | 0 | Kotlin | 0 | 0 | a602f94b6b90938a958425930cb0058c985790f1 | 1,948 | KEthereum | MIT License |
app/src/main/java/com/example/mcard/presentation/adapters/CardsLoaderStateAdapter.kt | Ilyandr | 548,715,167 | false | null | package com.example.mcard.presentation.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.paging.LoadState
import androidx.paging.LoadStateAdapter
import androidx.recyclerview.widget.RecyclerView
import com.example.mcard.databinding.CardsItemProgressBinding
import com.example.mca... | 0 | Kotlin | 0 | 1 | a5287fc7b7488994f9cfd840cd8c92f11607ef8d | 1,517 | MCard-indicative | MIT License |
plugins/evaluation-plugin/core/src/com/intellij/cce/metric/MetricInfo.kt | pamikola | 10,377,361 | false | null | package com.intellij.cce.metric
class MetricInfo(name: String, val value: Double, evaluationType: String, val valueType: MetricValueType) {
val name = name.filter { it.isLetterOrDigit() }
val evaluationType = evaluationType.filter { it.isLetterOrDigit() }
} | 1 | null | 1 | 1 | 839c8173ca942efd3da9f1190eac3de30f875f8c | 262 | intellij-community | Apache License 2.0 |
src/main/kotlin/com/darklabs/service/TokenManager.kt | rooparsh | 418,034,035 | false | null | package com.darklabs.service
import com.auth0.jwt.JWT
import com.auth0.jwt.JWTVerifier
import com.auth0.jwt.algorithms.Algorithm
import com.darklabs.model.User
import io.ktor.config.*
import java.util.*
class TokenManager(config: ApplicationConfig) {
private val audience = config.propertyOrNull("jwt.audience")?.... | 0 | Kotlin | 0 | 1 | 5b5a366321f7fc39d8b44b1d42140c4fcfce97b1 | 1,168 | NotesApp | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.