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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idea/testData/editor/quickDoc/AtFunctionParameter.kt | zeesh49 | 67,883,175 | true | {"Markdown": 35, "XML": 959, "Ant Build System": 52, "Ignore List": 8, "Git Attributes": 1, "Kotlin": 26923, "Java": 4721, "Protocol Buffer": 7, "Text": 5622, "JavaScript": 156, "JAR Manifest": 3, "Roff": 191, "Roff Manpage": 19, "AsciiDoc": 1, "INI": 40, "HTML": 250, "Groovy": 23, "Java Properties": 14, "Gradle": 145,... | fun some(<caret>f: (Int) -> String) : String? = null
//INFO: <b>value-parameter</b> <b>val</b> f: (Int) → String <i>defined in</i> some
| 0 | Java | 0 | 1 | 80074c71fa925a1c7173e3fffeea4cdc5872460f | 142 | kotlin | Apache License 2.0 |
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/base/annotations/renderers/KaAnnotationQualifierRenderer.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.renderer.base.annotations.renderers
import org.jetbrains.kotlin.ana... | 184 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 2,259 | kotlin | Apache License 2.0 |
app/src/main/java/com/haoduyoudu/DailyAccounts/Moodcalendar.kt | HaoduStudio | 495,053,221 | false | null | package com.haoduyoudu.DailyAccounts
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.GridLayoutManager
import kotlinx.android.synthetic.main.activity_moodcalendar.*
import java.io.File
import java.util.*
class Moodcalendar : AppC... | 1 | null | 7 | 18 | dd15592e9aa9ce24e13d7647ed3a6fb44fa9d876 | 6,124 | DailyNotes | Apache License 2.0 |
event-store/src/main/kotlin/net/cordaes/ccl/commons/Registry.kt | ianmorgan | 316,982,902 | false | {"Java": 213366, "Kotlin": 69030, "JavaScript": 1042} | package net.corda.ccl.commons
import java.util.HashMap
/**
* ** Copied from Azure Workbench - move into a commons jar **
*
* Simple registry for basic DI
*/
@Suppress("UNCHECKED_CAST")
class Registry {
private var registry: MutableMap<Class<*>, Any> = HashMap()
constructor() {}
constructor(`objec... | 1 | null | 1 | 1 | 2a6ade216784f3cc1bfcfeda807991416b0a9edf | 3,139 | cordaES | Apache License 2.0 |
app/src/main/java/net/dublin/bus/ui/view/near/NearActivity.kt | thaleslima | 122,882,200 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "SVG": 1, "JSON": 4, "Proguard": 1, "Java": 2, "XML": 99, "Kotlin": 87, "YAML": 1} | package net.dublin.bus.ui.view.near
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.location.Location
import android.os.Bundle
import android.os.Handler
import android.support.v7.app.AppCompatActivity
import and... | 0 | Kotlin | 1 | 0 | b892fbd87414f71607b7b01ad365d0896c401ba2 | 10,495 | DublinBus | Apache License 2.0 |
app/src/main/java/io/github/rin_da/ucsynews/data/source/DataBaseSource.kt | Rin-Da | 67,884,113 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "Java": 2, "XML": 123, "Kotlin": 43} | package io.github.rin_da.ucsynews.data.source
import io.github.rin_da.ucsynews.data.source.base.BaseSource
import io.github.rin_da.ucsynews.presentation.abstract.model.People
import io.github.rin_da.ucsynews.presentation.abstract.model.Post
import io.reactivex.Completable
/**
* Created by user on 12/13/16.
*/
abst... | 1 | null | 1 | 1 | 274da9a457c473604fd5b576cb5c857af79f8a83 | 514 | UCSY-News | MIT License |
src/main/java/net/ccbluex/liquidbounce/utils/ASMUtils.kt | 2946257770 | 693,652,489 | false | {"Java": 1812636, "Kotlin": 1801560, "GLSL": 13689, "JavaScript": 9199, "HTML": 850} | /*
* LiquidBounce+ Hacked Client
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge.
* https://github.com/WYSI-Foundation/LiquidBouncePlus/
*
* This code was taken from UnlegitMC/FDPClient. Please credit them when using this code in your repository.
*/
package net.ccbluex... | 1 | null | 1 | 1 | 4e111df6cd3ca03da3b285eb8572ef79a9ff8695 | 1,448 | VulgarSense | Apache License 2.0 |
presentation/src/main/java/juanocampo/test/presentation/presenter/FileExplorerPresenter.kt | ingjuanocampo | 214,337,884 | false | null | package juanocampo.test.presentation.presenter
import android.content.Context
import juanocampo.test.domain.entity.Folder
import juanocampo.test.domain.status.*
import juanocampo.test.presentation.entitiy.FileViewType
import juanocampo.test.presentation.model.FileExplorerModel
import juanocampo.test.presentation.mappe... | 1 | null | 1 | 8 | 8909f9b2a55abf2eb69f56ddd626a846b320b584 | 2,480 | DropboxFileExplorer | Apache License 2.0 |
core/make-runtime/source/jetbrains/mps/make/kotlin/JvmKotlinCompilerRunner.kt | JetBrains | 2,209,077 | false | null | package jetbrains.mps.make.kotlin
import jetbrains.mps.compiler.JavaCompilerOptionsComponent.JavaVersion
import jetbrains.mps.make.CompositeTracer
import jetbrains.mps.make.ModuleMaker.BMC
import jetbrains.mps.make.ModuleMaker.JM
import org.jetbrains.kotlin.daemon.common.*
import org.jetbrains.mps.openapi.module.SModu... | 5 | null | 288 | 1,543 | debb3bb906638967fa07db3e7962af7573548b83 | 2,251 | MPS | Apache License 2.0 |
mobile/src/test/java/com/elbehiry/delish/search/SearchRecipesViewModelTest.kt | sanmay321 | 553,699,684 | true | {"Kotlin": 424827, "Shell": 537} | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 0 | fc248349fbca6be573a602b7dec5509814fb0919 | 2,250 | GoodFood | Apache License 2.0 |
app/src/main/java/com/epitech/diabetips/services/FirebaseNotificationService.kt | Diabetips | 275,361,973 | false | {"Gradle": 3, "YAML": 3, "Dockerfile": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "Kotlin": 143, "XML": 150, "Java": 3} | package com.epitech.diabetips.services
import android.util.Log
import com.epitech.diabetips.storages.FCMTokenObject
import com.epitech.diabetips.storages.NotificationObject
import com.google.firebase.messaging.FirebaseMessagingService
import com.google.firebase.messaging.RemoteMessage
import com.google.gson.Gson
clas... | 0 | Kotlin | 0 | 1 | 6a1b5be85ab0aec6064849b4b630dbc8c035e126 | 3,183 | diabetips-android | MIT License |
compiler/testData/loadJava/compiledKotlin/annotations/propertiesWithoutBackingFields/TraitClassObject.kt | zarechenskiy | 32,649,203 | true | {"Markdown": 31, "Kotlin": 16653, "Java": 4185, "CSS": 3, "Shell": 4, "Batchfile": 7, "Java Properties": 9, "HTML": 115, "INI": 7, "JavaScript": 61} | package test
annotation class Anno
trait Trait {
companion object {
[Anno] val property: Int
get() = 42
}
}
| 0 | Java | 0 | 0 | e0a394ec62f364a4a96c15b2d2adace32ce61e9e | 138 | kotlin | Apache License 2.0 |
vector/src/main/java/vmodev/clearkeep/factories/viewmodels/SearchMessageFragmentViewModelFactory.kt | telred-llc | 194,596,139 | false | null | package vmodev.clearkeep.factories.viewmodels
import androidx.lifecycle.ViewModelProvider
import vmodev.clearkeep.factories.viewmodels.interfaces.IViewModelFactory
import vmodev.clearkeep.fragments.Interfaces.IFragment
import vmodev.clearkeep.viewmodels.interfaces.AbstractSearchMessageFragmentViewModel
import javax.in... | 5 | null | 1 | 3 | 2d20e94e9711b51aee89fa569efd61449cc7e9c3 | 827 | clearkeep-android | Apache License 2.0 |
lib/src/shared/test/java/com/couchbase/lite/SaveConflictResolutionTest.kt | couchbase | 16,630,147 | false | null | //
// Copyright (c) 2019 Couchbase, Inc All rights reserved.
//
// 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 appl... | 5 | Java | 29 | 52 | 8e7088fafa18adcb5341e04759eea1536227f369 | 12,146 | couchbase-lite-java | Apache License 2.0 |
PhobosCode/src/main/java/org/firstinspires/ftc/phoboscode/command/turret/TurretMoveToAngleCmd.kt | DevoltRobotics | 536,320,380 | false | {"Java": 359757, "Kotlin": 246605} | package org.firstinspires.ftc.phoboscode.command.turret
import com.acmerobotics.roadrunner.profile.MotionProfile
import com.acmerobotics.roadrunner.profile.MotionProfileGenerator
import com.acmerobotics.roadrunner.profile.MotionState
import com.github.serivesmejia.deltacommander.DeltaCommand
import com.github.serivesm... | 1 | null | 1 | 1 | 88510d25d0cb3c81d3af50f6fbe9ef93ce2e2da8 | 1,856 | Phobos-PowerPlay | BSD 3-Clause Clear License |
app/src/main/java/modularity/andres/it/coderdojo/ui/list/view/EventsListHolder.kt | Ryder96 | 109,853,091 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "HTML": 1, "JSON": 1, "Proguard": 1, "Kotlin": 38, "XML": 31, "Java": 4} | package modularity.andres.it.coderdojo.ui.list.view
import android.content.Context
import android.support.v7.widget.RecyclerView
import android.text.format.DateFormat
import android.view.View
import com.bumptech.glide.Glide
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.load.resource... | 0 | Kotlin | 0 | 0 | 2c8afeaacaeb12e3caa0512926f832440b62af7e | 1,985 | CoderDojo-AndroidApp | MIT License |
app/src/main/java/com/example/tablerichtext/HtmlTextView.kt | zhangzhige | 442,699,052 | false | null | package com.zx.richhtml.table
import android.content.Context
import android.text.Html
import android.util.AttributeSet
import android.util.Log
import android.view.ViewGroup
import android.widget.LinearLayout
import com.zx.richhtml.R
import java.util.regex.Matcher
import java.util.regex.Pattern
class HtmlTextView : L... | 1 | Kotlin | 6 | 5 | d40152c23713ed0c5960561a09dff0bcfdfc5271 | 2,078 | TableRichText | Apache License 2.0 |
app/src/main/java/com/example/tablerichtext/HtmlTextView.kt | zhangzhige | 442,699,052 | false | null | package com.zx.richhtml.table
import android.content.Context
import android.text.Html
import android.util.AttributeSet
import android.util.Log
import android.view.ViewGroup
import android.widget.LinearLayout
import com.zx.richhtml.R
import java.util.regex.Matcher
import java.util.regex.Pattern
class HtmlTextView : L... | 1 | Kotlin | 6 | 5 | d40152c23713ed0c5960561a09dff0bcfdfc5271 | 2,078 | TableRichText | Apache License 2.0 |
platform/platform-tests/testSrc/com/intellij/ide/project/BaseProjectDirectoriesTest.kt | allotria | 37,974,385 | false | null | // 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.ide.project
import com.intellij.openapi.project.BaseProjectDirectories.Companion.getBaseDirectories
import com.intellij.openapi.roots.ModuleRootModificationUtil
import com.intel... | 1 | null | 1 | 1 | 9b9e3972a437d1a08fc73370fb09b9f45527dd2a | 2,554 | intellij-community | Apache License 2.0 |
src/main/java/io/sc3/plethora/util/RangedInventoryWrapper.kt | SwitchCraftCC | 491,699,521 | false | null | package io.sc3.plethora.util
import io.sc3.plethora.api.reference.IReference
import net.minecraft.entity.LivingEntity
import net.minecraft.entity.player.PlayerEntity
import net.minecraft.inventory.Inventory
import net.minecraft.item.ItemStack
import net.minecraft.item.ItemStack.EMPTY
class RangedInventoryWrapper<T : ... | 26 | null | 8 | 16 | 4b4ceddc5ed9daa043cb7c4010f68d7b5a863cf5 | 1,597 | Plethora-Fabric | MIT License |
yangxj96-bean/src/main/java/io/github/yangxj96/constant/SystemRedisKey.kt | yangxj96 | 574,967,993 | false | null | package io.github.yangxj96.constant
/**
* 系统redis存储常用的key
*/
object SystemRedisKey {
/**
* 存储网关的路由信息的key
*/
const val SYSTEM_GATEWAY_REDIS_KEY = "system_gateway_route"
}
| 0 | Kotlin | 0 | 0 | dd1cc640d41951223b65a87cb6c316de7eb9d760 | 191 | yangxj96-saas-api | MIT License |
src/main/kotlin/id/walt/vclib/model/VerifiableCredential.kt | walt-id | 392,421,433 | false | null | package id.walt.vclib.model
import com.beust.klaxon.Json
import com.beust.klaxon.TypeFor
import id.walt.vclib.adapter.VCTypeAdapter
import id.walt.vclib.schema.SchemaService
@TypeFor(field = "type", adapter = VCTypeAdapter::class)
abstract class VerifiableCredential(@field:SchemaService.Required val type: List<Strin... | 6 | null | 4 | 7 | a5a597a6a5ace4ce398a3a0f5cbbb210f0c58fe7 | 643 | waltid-ssikit-vclib | Apache License 2.0 |
ide-common/src/main/kotlin/org/digma/intellij/plugin/progress/RetryableBackgroundTask.kt | digma-ai | 472,408,329 | false | {"Kotlin": 1436542, "Java": 561454, "C#": 114857, "HTML": 13384, "FreeMarker": 12094, "Shell": 10162} | package org.digma.intellij.plugin.progress
import com.intellij.openapi.progress.ProcessCanceledException
import com.intellij.openapi.progress.ProgressIndicator
import com.intellij.openapi.progress.Task
/**
* Runs on new background thread with visible progress in status bar.
* This task will retry on ProcessCanceled... | 425 | Kotlin | 7 | 27 | 99fb73df55635268659795392a3cd5872cba6ddc | 2,339 | digma-intellij-plugin | MIT License |
desktop/application/src/test/kotlin/com/soyle/stories/layout/usecases/MockLayoutRepository.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.layout.usecases
import com.soyle.stories.domain.project.Project
import com.soyle.stories.layout.entities.Layout
import com.soyle.stories.layout.entities.Tool
import com.soyle.stories.layout.repositories.LayoutRepository
/**
* Created by Brendan
* Date: 2/15/2020
* Time: 12:23 PM
*/
class... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 1,650 | soyle-stories | Apache License 2.0 |
kibaansample/src/androidTest/java/kibaan/android/sample/controller/MockSubViewController.kt | Kibaan | 160,439,455 | false | null | package kibaan.android.sample.controller
class MockSubViewController: MockBaseViewController() | 1 | Kotlin | 1 | 1 | 883d30c546a05667008fff9806371f0bf6001cfa | 96 | Android-Kibaan | Apache License 2.0 |
kotlin-uikit/src/main/kotlin/uikit/components/Toggle.kt | oxiadenine | 206,398,615 | false | null | package uikit.components
import uikit.*
external interface ToggleComponent : Component {
fun toggle()
}
external interface ToggleOptions {
var target: String?
var mode: String?
var cls: String?
var media: Any? /* Int | String */
var animation: String?
var duration: Number?
var queued:... | 2 | null | 9 | 50 | e0017a108b36025630c354c7663256347e867251 | 555 | kotlin-js-wrappers | Apache License 2.0 |
app/src/main/java/com/example/myinstagram/Post.kt | oramos-correa | 474,119,181 | false | {"Kotlin": 12247} | package com.example.myinstagram
import com.parse.ParseClassName
import com.parse.ParseFile
import com.parse.ParseObject
import com.parse.ParseUser
@ParseClassName("Post")
class Post : ParseObject() {
fun getDescription(): String? {
return getString(LeDescription)
}
fun setDescription(description... | 5 | Kotlin | 0 | 0 | 095e1fc215bf7e58a9c18f3925beefe4701c7e60 | 823 | MyInstagram | Apache License 2.0 |
app/src/main/java/com/example/myinstagram/Post.kt | oramos-correa | 474,119,181 | false | {"Kotlin": 12247} | package com.example.myinstagram
import com.parse.ParseClassName
import com.parse.ParseFile
import com.parse.ParseObject
import com.parse.ParseUser
@ParseClassName("Post")
class Post : ParseObject() {
fun getDescription(): String? {
return getString(LeDescription)
}
fun setDescription(description... | 5 | Kotlin | 0 | 0 | 095e1fc215bf7e58a9c18f3925beefe4701c7e60 | 823 | MyInstagram | Apache License 2.0 |
test_runner/src/test/kotlin/ftl/client/xml/model/SkippedTestJUnitTestSuiteTest.kt | Flank | 84,221,974 | false | {"Kotlin": 1748173, "Java": 101254, "Swift": 41229, "Shell": 10674, "Objective-C": 10006, "Dart": 9705, "HTML": 7235, "Gherkin": 4210, "TypeScript": 2717, "Ruby": 2272, "JavaScript": 1764, "SCSS": 1365, "Batchfile": 1183, "EJS": 1061, "Go": 159} | package ftl.client.xml.model
import com.google.common.truth.Truth.assertThat
import ftl.api.JUnitTest
import ftl.reports.util.ReportManager.getSkippedJUnitTestSuite
import io.mockk.mockk
import org.junit.Test
internal class SkippedTestJUnitTestSuiteTest {
@Test
fun `should created JUnitTestSuite with constan... | 64 | Kotlin | 115 | 676 | b40904b4e74a670cf72ee53dc666fc3a801e7a95 | 742 | flank | Apache License 2.0 |
src/main/kotlin/no/nav/tiltaksarrangor/client/request/DeltakerIkkeAktuellRequest.kt | navikt | 616,496,742 | false | null | package no.nav.tiltaksarrangor.client.request
import no.nav.tiltaksarrangor.model.DeltakerStatusAarsak
data class DeltakerIkkeAktuellRequest(
val aarsak: DeltakerStatusAarsak
)
| 1 | Kotlin | 0 | 1 | 946b80623dfd6d45fcd16d8e6d1332b11868c4b4 | 180 | amt-tiltaksarrangor-bff | MIT License |
core/src/commonMain/kotlin/com/littlekt/file/font/ttf/table/name.kt | littlektframework | 442,309,478 | false | null | package com.littlekt.file.font.ttf.table
import com.littlekt.file.ByteBuffer
/**
* The `name` naming table. https://www.microsoft.com/typography/OTSPEC/name.htm
*
* @author <NAME>
* @date 12/1/2021
*/
internal class NameParser(val buffer: ByteBuffer, val start: Int, val ltag: List<String>) {
init {
T... | 14 | null | 9 | 316 | 100c37feefcfd65038a9cba4886aeb4a7d5632dc | 379 | littlekt | Apache License 2.0 |
shared/src/commonMain/kotlin/org/flepper/chatgpt/data/repositoryImpl/ChatRepositoryImp.kt | develNerd | 603,816,382 | false | null | package org.flepper.chatgpt.data.repositoryImpl
import co.touchlab.kermit.Logger
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.first
import kotlinx.serialization.decodeFromString
import kotlinx.... | 0 | Kotlin | 1 | 9 | 734aca530a3801d590b778d7e01c95876e24cddf | 3,353 | ChatGPT-Multiplatform | MIT License |
extension/core/src/main/kotlin/org/camunda/community/rest/impl/query/DelegatingProcessDefinitionQuery.kt | camunda-community-hub | 212,113,181 | false | null | /*-
* #%L
* camunda-rest-client-spring-boot
* %%
* Copyright (C) 2019 Camunda Services GmbH
* %%
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding ... | 3 | null | 18 | 63 | 7db3de4988ad908d40eab33d509d6b3d4ce06c42 | 6,435 | camunda-platform-7-rest-client-spring-boot | Apache License 2.0 |
app/src/main/java/com/abhat/simpleweather/data/model/WeatherData.kt | AnirudhBhat | 376,812,164 | false | null | package com.abhat.simpleweather.data.model
import com.google.gson.annotations.SerializedName
data class WeatherData(
@SerializedName("dt") val date: Long,
@SerializedName("sunrise") val sunriseTime: Long,
@SerializedName("sunset") val sunsetTime: Long,
@SerializedName("temp") val temp: Float,
@Ser... | 0 | Kotlin | 0 | 0 | 9fc40d47614e9470e19027d2dca27a84e7386871 | 846 | simple-weather | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/HeadSideCough.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,993 | icons | MIT License |
core/src/main/kotlin/dev/komu/kraken/model/creature/Creature.kt | komu | 83,556,775 | false | {"Kotlin": 225797} | package dev.komu.kraken.model.creature
import dev.komu.kraken.model.Energy
import dev.komu.kraken.model.Game
import dev.komu.kraken.model.Inventory
import dev.komu.kraken.model.actions.Action
import dev.komu.kraken.model.actions.MoveAction
import dev.komu.kraken.model.common.Attack
import dev.komu.kraken.model.common.... | 0 | Kotlin | 0 | 0 | 680362d8e27c475b4ef1e2d13b67cb87f67249f6 | 5,523 | kraken | Apache License 2.0 |
library/src/main/java/org/bottomnav/BottomNavMenu.kt | AlexanderEggers | 115,766,223 | false | {"Kotlin": 5258} | package org.bottomnav
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.drawable.Drawable
import android.support.v4.content.ContextCompat
import android.util.AttributeSet
import android.util.Log
import android.util.TypedValue
import android.view.LayoutInflater
import andr... | 0 | Kotlin | 0 | 1 | deb237fc776a620591bb85d7497cd1da6470e22d | 4,566 | bottomnav | Apache License 2.0 |
src/main/java/io/github/sevenparadigms/abac/security/auth/NoAuthenticationManagerImpl.kt | SevenParadigms | 462,243,748 | false | {"Kotlin": 80112} | package io.github.sevenparadigms.abac.security.auth
import org.springframework.security.authentication.ReactiveAuthenticationManager
import org.springframework.security.core.Authentication
import reactor.core.publisher.Mono
class NoAuthenticationManagerImpl : ReactiveAuthenticationManager {
override fun authentic... | 0 | Kotlin | 0 | 5 | 9ff7b8f80be7b5c96666aa9b148bc6793654c9c6 | 428 | reactive-spring-abac-security | Apache License 2.0 |
project/app/src/main/java/com/marcosvbras/robomarket/business/beans/RobotSale.kt | marcosvbras | 137,366,659 | false | {"Kotlin": 113953, "Java": 3663} | package com.marcosvbras.robomarket.business.beans
data class RobotSale(var listItemRobots: MutableList<ItemRobotSale>) | 0 | Kotlin | 1 | 1 | b2253686d9d7bfe9a10f1cd0e0253ac29abc6f41 | 119 | RoboMarket | Apache License 2.0 |
app/src/main/java/com/example/tentwentyassignment/models/GenreItemModel.kt | zohaibmuhammadf | 442,167,821 | false | {"Kotlin": 23662} | package com.example.tentwentyassignment.models
data class GenreItemModel(
var itemTitle: String,
var itemColor: Int,
)
| 0 | Kotlin | 0 | 0 | 2f3e7509d1490a0144b61d951475af9528fbf811 | 128 | CustomTabbarFragment-Android | Apache License 2.0 |
kine/src/main/java/com/kine/connections/ConnectionChecker.kt | TechDev009 | 289,078,804 | false | {"Kotlin": 187442} | package com.kine.connections
interface ConnectionChecker {
fun isConnected(): Boolean
} | 0 | Kotlin | 3 | 32 | 15a81a03db5f080a6a44fe0374592d58137b63af | 92 | Kine | Apache License 2.0 |
server/src/main/kotlin/dev/chargedbyte/reaktor_summer_2022/feature/player/PlayerDto.kt | ChargedByte | 448,422,989 | false | null | package dev.chargedbyte.reaktor_summer_2022.feature.player
data class PlayerDto(val id: Int?, val name: String)
| 0 | Kotlin | 0 | 0 | 9e518e2b52be1b4e32b0cc4a8bc0a46db46a3544 | 113 | reaktor-summer-2022 | MIT License |
ui/src/main/java/io/dwak/squigglyreader/MainActivity.kt | dinosaurwithakatana | 135,589,663 | false | null | package io.dwak.squigglyreader
import android.os.Bundle
import android.widget.Button
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.ViewModelProviders
import androidx.preference.PreferenceDataStore
import androidx.preference.PreferenceManager
import butterknife.BindView
import butterknife.Butter... | 1 | Kotlin | 1 | 11 | 6b3f4ed79a41cc7b921b41221d0a655707a3f52b | 1,059 | squiggly-reader | Apache License 2.0 |
app/src/main/java/com/none/tom/exiferaser/Extensions.kt | szpak-forks | 272,286,315 | true | {"Kotlin": 101863} | // Copyright (c) 2018-2020, Tom Geiselmann
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"), to deal in the Software without restriction,
// including without limitation the rights to use, copy, modify, merge, publ... | 0 | null | 0 | 0 | 3013c5dae16504a130998e69622f8f4afa56586a | 3,904 | exif-eraser | MIT License |
itemplotter/src/main/kotlin/com/ijoic/item_plotter/ItemView.kt | VerstSiu | 118,207,494 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 3, "Proguard": 2, "Java": 2, "XML": 17, "Kotlin": 58} | /*
*
* Copyright(c) 2018 VerstSiu
*
* 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 agree... | 0 | Kotlin | 0 | 0 | 06eed56719e62da9efaf7b4f3e3d341e02ad1b63 | 4,665 | item_plotter | Apache License 2.0 |
app/src/main/java/motocitizen/data/network/factory/ApiFactory.kt | rjhdby | 354,379,594 | false | null | package motocitizen.data.network.factory
import okhttp3.CertificatePinner
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
abstract class ApiFactory(
private val serverConfig: ServerConfig,
pri... | 13 | Kotlin | 0 | 1 | 85eaf62e864a5fdca7918b52ced1dc5bd12b380c | 1,096 | android_motoDTP_v2 | MIT License |
processor/src/main/kotlin/com/lightningkite/lightningdb/processorHelpers.kt | lightningkite | 512,032,499 | false | {"Kotlin": 2204264, "TypeScript": 38628, "JavaScript": 118} | package com.lightningkite.lightningdb
import com.google.devtools.ksp.symbol.*
import org.jetbrains.kotlin.util.capitalizeDecapitalize.decapitalizeAsciiOnly
import kotlin.math.min
data class ResolvedAnnotation(
val type: KSClassDeclaration,
val arguments: Map<String, Any?>
)
fun KSTypeReference.tryResolve(): ... | 3 | Kotlin | 1 | 5 | f404cc57cbdbe2a90b4e59d4ecd5ad22e008a730 | 5,432 | lightning-server | MIT License |
backend/src/main/kotlin/org/yourweebyneighbor/constellation/spica/api/WebRequestHandler.kt | swipswaps | 324,600,066 | false | {"TypeScript": 75525, "Kotlin": 31246, "HTML": 2074, "CSS": 789} | package org.yourweebyneighbor.constellation.spica.api
import com.fasterxml.jackson.databind.ObjectMapper
import mu.KotlinLogging
import org.yourweebyneighbor.constellation.spica.data.providers.ProviderLocator
import org.yourweebyneighbor.constellation.spica.library.Library
import org.yourweebyneighbor.constellation.sp... | 0 | null | 0 | 0 | 8f6b60b6d8703d588c4036f7e5fc626312b19ae4 | 3,695 | contellation-spica | MIT License |
subprojects/app/src/main/kotlin/org/sdkotlin/springvalueclassdemo/supplier/KotlinValueClassSupplierApp.kt | sdkotlin | 575,525,303 | false | {"Kotlin": 43214, "Java": 3727} | package org.sdkotlin.springvalueclassdemo.supplier
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.Bean
fun main(args: Array<String>) {
runApplication<KotlinValueClassSupplierApp>(*args)
}
@JvmInline
val... | 0 | Kotlin | 0 | 0 | 086d1d824400527bf1312f845a9c474625ebd36a | 1,113 | sd-kotlin-spring-talks | Apache License 2.0 |
app/src/main/java/com/cheise_proj/e_commerce/data/db/entity/ProductEntity.kt | alvinmarshall | 261,505,259 | false | {"Kotlin": 313862} | package com.cheise_proj.e_commerce.data.db.entity
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "product")
data class ProductEntity(
@PrimaryKey(autoGenerate = false)
val productID: String,
val productName: String,
val supplierID: String,
val categoryID: String,
... | 0 | Kotlin | 0 | 8 | 71208fcff45678d89b03bcb16216c8181a8418ed | 625 | E-commerce-UI | MIT License |
base/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/ide/dependencies/ArtifactUtils.kt | qiangxu1996 | 301,210,525 | false | {"Java": 38854631, "Kotlin": 10438678, "C++": 1701601, "HTML": 795500, "FreeMarker": 695102, "Starlark": 542991, "C": 148853, "RenderScript": 58853, "Shell": 51803, "CSS": 36591, "Python": 32879, "XSLT": 23593, "Batchfile": 8747, "Dockerfile": 7341, "Emacs Lisp": 4737, "Makefile": 4067, "JavaScript": 3488, "CMake": 329... | /*
* Copyright (C) 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 app... | 1 | Java | 1 | 1 | 3411c5436d0d34e6e2b84cbf0e9395ac8c55c9d4 | 8,978 | vmtrace | Apache License 2.0 |
extensions/intellij/src/main/kotlin/dev/tigr/melody/plugin/psi/MelodyElements.kt | yoav-lavi | 458,907,326 | false | null | package dev.tigr.melody.plugin.psi
import com.intellij.psi.tree.IElementType
import dev.tigr.melody.plugin.MelodyLanguage
class MelodyTokenType(debugName: String): IElementType(debugName, MelodyLanguage)
class MelodyElementType(debugName: String): IElementType(debugName, MelodyLanguage)
| 9 | Rust | 58 | 4,463 | 1420616a0c7447c3c86acace25de03ca270ee9b9 | 290 | melody | Apache License 2.0 |
app/src/main/java/com/example/wifiscanner/ui/WifiScannerApp.kt | wgajuraj | 738,112,160 | false | {"Kotlin": 47396} | package com.example.wifiscanner.ui
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.CenterAlignedTopAppBar
import androidx.compose.material3.ExperimentalMaterial3Api
i... | 0 | Kotlin | 0 | 0 | d6467c377676f29b2d25ddeb9f4e202f104412b3 | 5,601 | WifiScanner | MIT License |
composeApp/shared/src/shared/features/map/MapNavigation.kt | joharei | 772,430,932 | false | {"Kotlin": 37746, "Swift": 1006} | package shared.features.map
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.ui.Modifier
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
private const val MAP_RO... | 0 | Kotlin | 0 | 0 | 7b4211f557a74b3ddb6f3c18ccced17ee6d312a7 | 507 | tender | Apache License 2.0 |
kool-editor-model/src/commonMain/kotlin/de/fabmax/kool/editor/components/PbrSplatShaderDataExtensions.kt | fabmax | 81,503,047 | false | {"Kotlin": 5710330, "C++": 3256, "CMake": 1870, "HTML": 1464, "JavaScript": 597} | package de.fabmax.kool.editor.components
import de.fabmax.kool.editor.api.AppAssets
import de.fabmax.kool.editor.api.AssetReference
import de.fabmax.kool.editor.api.SceneShaderData
import de.fabmax.kool.editor.api.loadTexture2d
import de.fabmax.kool.editor.data.*
import de.fabmax.kool.math.deg
import de.fabmax.kool.mo... | 11 | Kotlin | 18 | 284 | b6ba1c0e1591ae46c77a5e3e61b2e1354a11f0b9 | 8,946 | kool | Apache License 2.0 |
app/src/main/java/com/example/fiorichartcardsapp/FioriChartCardsApplication.kt | SAP-archive | 300,449,863 | false | {"Kotlin": 107835} | package com.example.fiorichartcardsapp
import android.app.Application
import com.example.fiorichartcardsapp.repos.CovidDataRepository
import com.example.fiorichartcardsapp.utilities.ServiceLocator
class FioriChartCardsApplication : Application() {
val covidDataRepository: CovidDataRepository
get() = Serv... | 4 | Kotlin | 1 | 2 | 1fb890646f8397ee510a3366d5204faa6d5c35a4 | 366 | cloud-sdk-android-fiori-chartcards | Apache License 2.0 |
dist/src/main/kotlin/kr/toxicity/advancedskills/entity/SkillEntitySpawnConfiguration.kt | toxicity188 | 786,461,908 | false | {"Kotlin": 38258, "Java": 13914} | package kr.toxicity.advancedskills.entity
import kr.toxicity.advancedskills.manager.EntityManager
import kr.toxicity.advancedskills.util.forEachSubConfiguration
import kr.toxicity.advancedskills.util.ifNull
import org.bukkit.configuration.ConfigurationSection
class SkillEntitySpawnConfiguration(
section: Configur... | 0 | Kotlin | 0 | 2 | e7d5aabf65be16ed024d4a2fc9e86ef6c3e23b3f | 1,395 | AdvancedSkills | MIT License |
src/main/kotlin/dev/shtanko/kotlinlang/collections/processing/Windowed.kt | ashtanko | 203,993,092 | false | {"Kotlin": 7199469, "Shell": 1168, "Makefile": 1135} | /*
* 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 w... | 6 | Kotlin | 0 | 19 | 6439df439cb30231440948ffa4c936d0bac70dfa | 1,836 | kotlab | Apache License 2.0 |
room-kit/src/main/java/live/hms/roomkit/ui/meeting/participants/ParticipantItem.kt | 100mslive | 330,654,934 | false | {"Kotlin": 759627, "Java": 54400} | package live.hms.roomkit.ui.meeting.participants
import android.content.Context
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.widget.PopupWindow
import androidx.core.content.res.ResourcesCompat
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveDa... | 28 | Kotlin | 35 | 88 | 8832478e428d4cb869d424e475763f24b088c89f | 14,408 | 100ms-android | MIT License |
app/src/main/java/com/yoyiyi/soleil/module/home/ChaseBangumiFragment.kt | yoyiyi | 97,073,764 | false | null | package com.yoyiyi.soleil.module.home
import android.support.v7.widget.LinearLayoutManager
import com.yoyiyi.soleil.R
import com.yoyiyi.soleil.adapter.home.section.chase.*
import com.yoyiyi.soleil.base.BaseRefreshFragment
import com.yoyiyi.soleil.bean.chase.ChaseBangumi
import com.yoyiyi.soleil.bean.chase.RecommendBan... | 2 | Kotlin | 25 | 141 | 044f76fd499bb49b0fe94d9c83c9bb1db283b8ea | 3,045 | bilisoleil-kotlin | Apache License 2.0 |
src/main/kotlin/net/inherency/finances/domain/budget/category/BudgetCategoryService.kt | scottygaydos | 278,980,273 | false | {"Kotlin": 199344, "HTML": 2360, "JavaScript": 1723} | package net.inherency.finances.domain.budget.category
import net.inherency.finances.controller.dto.BudgetCategoryDTO
import net.inherency.finances.objectIsUnique
import org.springframework.stereotype.Service
@Service
class BudgetCategoryService(private val budgetCategoryRepository: BudgetCategoryRepository) {
pr... | 2 | Kotlin | 0 | 0 | 825dd8a5e36ce88b45aa3585871faee8734ae750 | 1,570 | finance_budget_and_reconciler | Apache License 2.0 |
src/main/kotlin/de/trusted/anchor/server/service/proof/IncrementalProofReader.kt | LukasHavemann | 305,156,656 | false | null | package de.trusted.anchor.server.service.proof
import de.trusted.anchor.server.base.BinaryHelper
import org.bouncycastle.util.encoders.Hex
import java.io.RandomAccessFile
import java.nio.charset.StandardCharsets
import java.util.*
/**
* 1, 2 = 0
* 3, 4 = 1
* 5, 6 = 3
* 7, 8 = 4
* 9, 10 = 7
* 11, 12 = 8... | 0 | Kotlin | 0 | 0 | 35641e4486e48cd5d960759f041bd9f5a45d4645 | 3,487 | trusted-anchor-server | MIT License |
app/src/main/java/com/wangfei/com/mymvpkotlin/data/source/DataManager.kt | mtgmh | 106,222,413 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 18, "Kotlin": 26} | package com.wangfei.com.mymvpkotlin.data.source
import com.wangfei.com.mymvpkotlin.data.Repo
import com.wangfei.com.mymvpkotlin.data.User
import io.reactivex.Flowable
/**
* Created by asus on 2017/9/25.
*/
class DataManager(val remote: IDataSource, val local: IDataSource){
fun getUsers(key:String):Flowable<Lis... | 0 | Kotlin | 0 | 1 | 877dbf55c10f0a182139884fcce9e42a88e098ff | 568 | MyMvpKotlin | MIT License |
features/fanficDownloader/src/commonMain/kotlin/ru/blays/ficbook/reader/feature/fanficDownloader/HtmlUtils.kt | B1ays | 710,470,973 | false | null | package ru.blays.ficbook.reader.feature.fanficDownloader
import org.intellij.lang.annotations.Language
@Suppress("XmlUnusedNamespaceDeclaration")
@Language("html")
internal fun createHtmlPageForContent(
title: String,
content: String,
): String {
return "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" +
... | 0 | null | 2 | 15 | 5e451e31d72a4f57eac50b346abf7306156a1c69 | 3,211 | ficbook-reader | MIT License |
app/src/main/java/io/deus/wallet/modules/manageaccounts/ManageAccountsModule.kt | DeusWallet | 810,708,619 | false | {"Kotlin": 5009329, "Shell": 6095, "Ruby": 1350} | package io.deus.wallet.modules.manageaccounts
import android.os.Parcelable
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import io.deus.wallet.core.App
import kotlinx.parcelize.Parcelize
object ManageAccounts... | 0 | Kotlin | 0 | 0 | f4c5e0fadbf2955edf7ba35d4617f148c191c02b | 1,251 | deus-wallet-android | MIT License |
promptkt/src/test/kotlin/tri/ai/openai/OpenAiModelIndexTest.kt | aplpolaris | 663,584,917 | false | {"Kotlin": 970635, "Java": 7830, "CSS": 2840} | /*-
* #%L
* tri.promptfx:promptkt
* %%
* Copyright (C) 2023 - 2024 Johns Hopkins University Applied Physics Laboratory
* %%
* 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
*
* h... | 40 | Kotlin | 1 | 16 | 5c27c6be8bb77f8af13552afc5fdd10db2030759 | 1,241 | promptfx | Apache License 2.0 |
app/src/main/java/com/github/skytoph/simpleweather/data/weather/cache/model/content/forecast/WarningDB.kt | skytoph | 482,520,275 | false | {"Kotlin": 376392} | package com.github.skytoph.simpleweather.data.weather.cache.model.content.forecast
import com.github.skytoph.simpleweather.core.Mappable
import com.github.skytoph.simpleweather.data.weather.mapper.content.forecast.WarningDataMapper
import com.github.skytoph.simpleweather.data.weather.model.content.forecast.WarningData... | 0 | Kotlin | 0 | 0 | 68b7ff8c2f81578c63ba2b305de4d3e387b533dd | 737 | SimpleWeather | MIT License |
navigation/src/nativeMain/kotlin/com/hoc081098/solivagant/navigation/internal/WeakReference.native.kt | hoc081098 | 736,617,487 | false | {"Kotlin": 195727, "Shell": 377} | package com.hoc081098.solivagant.navigation.internal
import kotlin.experimental.ExperimentalNativeApi
@OptIn(ExperimentalNativeApi::class)
internal actual class WeakReference<T : Any> actual constructor(referred: T) {
private val ref = kotlin.native.ref.WeakReference(referred)
actual fun get(): T? = ref.get()
... | 6 | Kotlin | 3 | 5 | 9977b0e2365ef1dc484aa6069b73cf9c4f78e5ae | 356 | solivagant | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/dynamodb/CfnTableInputFormatOptionsPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.dynamodb
import cloudshift.awscdk.common.CdkDslMarker
import s... | 4 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 1,806 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/bluehub/mixi/common/views/AudioWidgetSlider.kt | ashfaq1701 | 275,871,797 | false | null | package com.bluehub.mixi.common.views
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.LinearLayout
import com.bluehub.mixi.databinding.AudioWidgetSliderBinding
class AudioWidgetSlider(context: Context, attributeSet: AttributeSet?)
: LinearLa... | 0 | C | 9 | 48 | dc9b650d8a07afb9da27057aa1336482b83e2010 | 594 | fast-mixer | Creative Commons Zero v1.0 Universal |
app/src/main/java/soy/gabimoreno/quotes/ui/QuotesUI.kt | soygabimoreno | 452,562,788 | false | {"Kotlin": 24347} | package soy.gabimoreno.quotes.ui
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.padding
import androidx.compose.material.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import soy.gabi... | 0 | Kotlin | 0 | 0 | e4c73e6b5ba8f12cb7c067e819cf531c8b7a1ca0 | 1,727 | Quotes | Apache License 2.0 |
features/settings/src/main/java/teamcityapp/features/settings/dagger/SettingsActivityBindingModule.kt | vase4kin | 68,111,887 | false | null | /*
* Copyright 2020 <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 wri... | 0 | null | 11 | 52 | 9abb1ed56c127d64679124c38d30b0014ec024de | 945 | TeamCityApp | Apache License 2.0 |
app/src/main/java/com/ternaryop/feedly/FeedlyManager.kt | vaginessa | 128,988,863 | true | {"Kotlin": 478578} | package com.ternaryop.feedly
import com.ternaryop.utils.json.readJson
import com.ternaryop.utils.json.toJSON
import java.io.IOException
import java.net.HttpURLConnection
import java.net.URL
import java.net.URLEncoder
import java.nio.charset.StandardCharsets
/**
* Created by dave on 24/02/17.
* Feedly Manager
*/
p... | 1 | Kotlin | 0 | 0 | 6762e4ea483d2079e005319acc039b1b27ad90d5 | 4,747 | photoshelf | MIT License |
app/common/src/androidMain/kotlin/sh/christian/ozone/api/dispatching.android.kt | christiandeange | 611,550,055 | false | {"Kotlin": 484890, "Shell": 1254, "Swift": 690, "HTML": 306, "JavaScript": 202, "CSS": 129} | package sh.christian.ozone.api
import io.ktor.client.engine.HttpClientEngineFactory
import io.ktor.client.engine.cio.CIO
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
actual val engine: HttpClientEngineFactory<*> get() = CIO
actual object OzoneDispatchers {
actual val IO: Coro... | 1 | Kotlin | 6 | 34 | df457f4fcedca8e621c99689a79b46812023bffd | 361 | ozone | MIT License |
shared/src/commonMain/kotlin/com/nbs/kmm/sample/domain/rocketlaunch/RocketLaunchInteractor.kt | nbsmobile | 597,042,861 | false | null | package com.nbs.kmm.sample.domain.rocketlaunch
import com.nbs.kmm.sample.data.rocketlaunch.RocketLaunchRepository
import com.nbs.kmm.sample.domain.base.execute
import com.nbs.kmm.sample.domain.rocketlaunch.model.RocketLaunch
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
import kotlinx.coroutin... | 2 | Kotlin | 16 | 65 | 99a1227438d99694464d3cc0261705c03a22775d | 1,009 | incio | MIT License |
shared/src/commonMain/kotlin/com/nbs/kmm/sample/domain/rocketlaunch/RocketLaunchInteractor.kt | nbsmobile | 597,042,861 | false | null | package com.nbs.kmm.sample.domain.rocketlaunch
import com.nbs.kmm.sample.data.rocketlaunch.RocketLaunchRepository
import com.nbs.kmm.sample.domain.base.execute
import com.nbs.kmm.sample.domain.rocketlaunch.model.RocketLaunch
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
import kotlinx.coroutin... | 2 | Kotlin | 16 | 65 | 99a1227438d99694464d3cc0261705c03a22775d | 1,009 | incio | MIT License |
src/main/kotlin/no/nav/syfo/model/Behandler.kt | navikt | 257,523,904 | false | null | package no.nav.syfo.model
data class Behandler(
val etternavn: String,
val fornavn: String,
val mellomnavn: String?
)
fun Behandler.getName(): String = if (mellomnavn == null) "$etternavn, $fornavn" else "$etternavn, $fornavn $mellomnavn"
| 1 | Kotlin | 0 | 1 | eff4595eb477829a9d7241466039c564a0a16bdf | 253 | padm2 | MIT License |
packages/plugin-azuremaps/android/src/main/java/com/openmobilehub/android/rn/maps/plugin/azuremaps/RNOmhMapsPluginAzuremapsModuleImpl.kt | openmobilehub | 742,502,912 | false | {"TypeScript": 208535, "Kotlin": 146751, "JavaScript": 4108, "Objective-C": 2305, "Ruby": 1831, "Objective-C++": 1422, "C": 103, "Swift": 61} | package com.openmobilehub.android.rn.maps.plugin.azuremaps
import android.view.View
import com.azure.android.maps.control.AzureMaps
import com.azure.android.maps.control.MapControl
import com.facebook.react.bridge.ReactContext
import com.facebook.react.bridge.UiThreadUtil
import com.openmobilehub.android.maps.core.pre... | 9 | TypeScript | 0 | 22 | f6d378fad77359c0bde9537e10ee3937c9df164c | 654 | react-native-omh-maps | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ide/ui/experimental/meetNewUi/ActivateMeetNewUIToolWindowAction.kt | JLLeitschuh | 150,333,641 | false | null | // 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.ide.ui.experimental.meetNewUi
import com.intellij.ide.IdeBundle
import com.intellij.ide.actions.ActivateToolWindowAction
import com.intellij.openapi.actionSystem.AnActionEvent
i... | 1 | null | 1 | 1 | 6f3f3ff307c66e93416419275759422c6f79094f | 845 | intellij-community | Apache License 2.0 |
src/main/kotlin/modules/m2/Contact.kt | glehu | 384,708,417 | false | null | package modules.m2
import interfaces.IEntry
import io.ktor.util.*
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.Serializable
import modules.mx.contactIndexManager
@InternalAPI
@ExperimentalSerializationApi
@Serializable
data class Contact(override var uID: Int, var name: Strin... | 7 | Kotlin | 0 | 1 | 80b80176615f528612a65780156845053d5b38ce | 2,053 | CWO_ERP | MIT License |
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/tasks/XmlDocumentUtils.kt | RivanParmar | 526,653,590 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 2 | 17 | 7d6a941f82617f89cedde0ae8e10d3702f225f76 | 4,054 | androlabs | Apache License 2.0 |
app/src/main/java/com/example/android/quakereport/QueryUtils.kt | rutgurk | 143,056,764 | true | {"Kotlin": 45401, "Shell": 138} | package com.example.android.quakereport
import android.util.Log
import com.example.android.quakereport.EarthquakeActivity.Companion.LOG_TAG
import org.json.JSONException
import org.json.JSONObject
import java.util.*
import java.io.BufferedReader
import java.io.IOException
import java.io.InputStream
import java.io.Inp... | 0 | Kotlin | 0 | 0 | 0591fcc98ef702164c3a1930a28786a777f2333a | 6,112 | ud843-QuakeReport | Apache License 2.0 |
src/main/java/net/lab0/treasure/Treasure.kt | ununhexium | 136,074,171 | false | {"Kotlin": 8568} | package net.lab0.treasure
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
@SpringBootApplication
class Treasure
fun main(args: Array<String>)
{
SpringApplication.run(Treasure::class.java, *args)
} | 0 | Kotlin | 0 | 0 | abd53230930a4ff9ace11a3432e46d0998a76225 | 271 | treasureisland | The Unlicense |
kotlin/ktor/pokedex/src/main/kotlin/com/pradyotprkshpokedex/domain/service/ItemServiceImplementation.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 2932498, "Dart": 1066884, "Python": 319755, "Rust": 180589, "Swift": 149003, "C++": 113494, "JavaScript": 103891, "CMake": 94132, "HTML": 57188, "Go": 45704, "CSS": 18615, "SCSS": 17864, "Less": 17245, "Ruby": 13609, "Dockerfile": 8581, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1... | package com.pradyotprkshpokedex.domain.service
import com.pradyotprkshpokedex.core.exception.PokeApiException
import com.pradyotprkshpokedex.core.network.NetworkClient
import com.pradyotprkshpokedex.core.request.PokeApiRequestDetails
import com.pradyotprkshpokedex.core.service.ItemService
import com.pradyotprkshpokede... | 0 | Kotlin | 11 | 24 | 4caa1e3995d2c51de8cc98183dd22486c4309292 | 6,345 | development_learning | MIT License |
vtp-pensjon-application/src/main/kotlin/no/nav/pensjon/vtp/mocks/virksomhet/dokumentproduksjon/v2/DocContext.kt | navikt | 254,055,233 | false | null | package no.nav.pensjon.vtp.mocks.virksomhet.dokumentproduksjon.v2
import org.apache.pdfbox.pdmodel.PDDocument
import org.apache.pdfbox.pdmodel.PDPage
import org.apache.pdfbox.pdmodel.PDPageContentStream
import org.apache.pdfbox.pdmodel.font.PDFont
import java.awt.Color
import java.io.ByteArrayOutputStream
import kotli... | 14 | Kotlin | 0 | 2 | cd270b5f698c78c1eee978cd24bd788163c06a0c | 3,883 | vtp-pensjon | MIT License |
app/src/main/java/com/example/neoquizapp/adapters/QuizMainAdapter.kt | rybakova-auca-2021 | 710,328,514 | false | {"Kotlin": 96840} | package com.example.neoquizapp.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.example.neoquizapp.R
import com.example.neoquizapp.databinding.CardQuizMainBinding
import com.example.neoquiz... | 0 | Kotlin | 0 | 0 | f82857beb6f197b7f4fb0458b59525089cc02045 | 4,178 | NeoQuiz | MIT License |
compose-mds/src/main/java/ch/sbb/compose_mds/beta/ExperimentalSBBComponent.kt | SchweizerischeBundesbahnen | 853,290,161 | false | {"Kotlin": 6728512} | package ch.sbb.compose_mds.beta
@RequiresOptIn("This API is experimental and is likely to change in the future.")
@Retention(AnnotationRetention.BINARY)
annotation class ExperimentalSBBComponent
| 0 | Kotlin | 0 | 1 | 090a66a40e1e5a44d4da6209659287a68cae835d | 196 | mds-android-compose | MIT License |
plugins/kotlin/idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromInterfaceCompanion/invokeFromInterfaceCompanion.1.kt | ingokegel | 72,937,917 | true | null | package usages
import library.Foo
fun f2() {
Foo()
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 58 | intellij-community | Apache License 2.0 |
Overview of the basic program/The eternal truth/src/Main.kt | hahaslav | 453,238,848 | false | {"Jupyter Notebook": 155781, "Kotlin": 82973} | fun main() {
print("2 + 2 = 4")
} | 0 | Jupyter Notebook | 0 | 0 | 5ca7234db040f585167a774fcc66b3fc878e1ebc | 37 | Kotlin-Basics | MIT License |
android/app/src/main/java/com/cnam/magasinenligne/activities/RegistrationActivity.kt | 9506f-ValeurC2-2020 | 287,922,999 | false | {"Text": 1, "Markdown": 1, "Gradle": 3, "Java Properties": 7, "Shell": 1, "Ignore List": 8, "Batchfile": 1, "JSON": 13, "Proguard": 1, "Kotlin": 54, "XML": 101, "Maven POM": 6, "Java": 42, "INI": 6} | package com.cnam.magasinenligne.activities
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.cnam.magasinenligne.R
import com.cnam.magasinenligne.adapters.RegistrationPagerAdapter
import com.cnam.magasinenligne.fragments.BaseFragment
import com.cnam.magas... | 1 | null | 1 | 1 | 037b7eef3f434891e068caae82d37d427841487c | 1,948 | ProjetC2-MagasinEnLigne | Apache License 2.0 |
src/main/kotlin/Collections/ConjuntoMix.kt | bugelseif | 583,486,386 | false | {"Kotlin": 21136} | package Collections
fun Any.print() = println(this)
fun main() {
val conjunto = hashSetOf(2, "love", 5.5, true, 'a') // rw
conjunto.add("Oi").print()
conjunto.add(2).print()
conjunto.contains('a').print()
val num = setOf(1,2,3) //somente leitura
(conjunto + num).print()
} | 0 | Kotlin | 0 | 0 | f706ab4147ff7b739fc696c58afb7f06f5aaf9ee | 303 | Kotlin_ | MIT License |
app/src/main/java/com/example/bookforum/ui/databaseUi/postsUI/screens/feed/components/PostItem.kt | KatePril | 783,350,221 | false | {"Kotlin": 304575} | package com.example.bookforum.ui.databaseUi.postsUI.screens.feed.components
import android.util.Log
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.com... | 0 | Kotlin | 0 | 0 | 7139a320ab5be3045f007bf47b6e01d77435132e | 3,468 | BookForum1 | MIT License |
app/src/main/java/com/example/bookforum/ui/databaseUi/postsUI/screens/feed/components/PostItem.kt | KatePril | 783,350,221 | false | {"Kotlin": 304575} | package com.example.bookforum.ui.databaseUi.postsUI.screens.feed.components
import android.util.Log
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.com... | 0 | Kotlin | 0 | 0 | 7139a320ab5be3045f007bf47b6e01d77435132e | 3,468 | BookForum1 | MIT License |
sample/src/test/java/com/sanogueralorenzo/sample/domain/usecase/UsersPostsUseCaseTest.kt | vmadalin | 202,329,518 | true | {"Kotlin": 15059} | @file:Suppress("IllegalIdentifier")
package com.sanogueralorenzo.posts.domain.usecase
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.verify
import com.nhaarman.mockitokotlin2.whenever
import com.sanogueralorenzo.posts.domain.repository.PostRepository
import com.sanogueralorenzo.posts.domai... | 0 | Kotlin | 1 | 1 | 5a4496acdd3f706b62e92afb8e88eb45d548ca06 | 3,687 | Android-Kotlin-Clean-Architecture | Apache License 2.0 |
src/main/kotlin/ru/yoomoney/tech/moira/client/contacts/Contacts.kt | yoomoney | 403,671,022 | false | {"Kotlin": 155841} | package ru.yoomoney.tech.moira.client.contacts
/**
* A collection of contacts that can be used in subscriptions for notifications delivery.
*
* Instances of this interface should be used to manage contacts.
*/
interface Contacts {
/**
* Returns a list of all existing contacts.
*
* For each cont... | 0 | Kotlin | 0 | 0 | 4d6403fdbc73686af219c7551a2a4fbd4356f754 | 3,817 | moira-kotlin-client | MIT License |
modules/presentation/src/test/java/kr/co/knowledgerally/ExampleUnitTest.kt | YAPP-Github | 475,728,173 | false | {"Kotlin": 454888} | package kr.co.knowledgerally
import com.google.common.truth.Truth.assertThat
import org.junit.jupiter.api.Test
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
// given & when
val actual = 2 + 2
// then
val expected = 4
assertThat(actual).isEqualTo(expected)
... | 2 | Kotlin | 1 | 4 | 01db68b42594360a9285af458eb812ad83acef70 | 327 | 20th-ALL-Rounder-Team-2-Android | Apache License 2.0 |
app/src/main/java/lastsubmission/capstone/basantaraapps/interfaces/upload/UploadActivity.kt | Rizald95 | 817,353,945 | false | {"Kotlin": 45683} | package lastsubmission.capstone.basantaraapps.interfaces.upload
import android.Manifest
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
impor... | 0 | Kotlin | 0 | 0 | ebb8c8a2bdb3a84c532c725fa16683dc5a610c64 | 7,260 | basantara-MD | MIT License |
inappmessaging/src/main/java/com/rakuten/tech/mobile/inappmessaging/runtime/view/InAppMessageModalView.kt | rakutentech | 253,402,688 | false | {"Kotlin": 738651, "Shell": 1497, "Ruby": 63} | package com.rakuten.tech.mobile.inappmessaging.runtime.view
import android.content.Context
import android.graphics.Color
import android.util.AttributeSet
import android.widget.LinearLayout
import androidx.annotation.VisibleForTesting
import androidx.core.graphics.ColorUtils
import com.rakuten.tech.mobile.inappmessagin... | 0 | Kotlin | 10 | 7 | f1fb3b6db2aca712c96ed2904ef098577f78b021 | 1,489 | android-inappmessaging | MIT License |
src/main/kotlin/frc/chargers/hardware/subsystems/swervedrive/SwerveEncoders.kt | frc-5160-the-chargers | 497,722,545 | false | {"Kotlin": 438322, "Java": 56704} | package frc.chargers.hardware.subsystems.swervedrive
import com.batterystaple.kmeasure.quantities.Angle
import frc.chargers.hardware.sensors.encoders.PositionEncoder
import frc.chargers.hardware.sensors.encoders.ResettableEncoder
import frc.chargers.hardware.sensors.encoders.absolute.CANcoderConfiguration
import frc.c... | 3 | Kotlin | 0 | 2 | ef0bca03f00901ffcc5508981089edced59f91aa | 2,752 | ChargerLib | MIT License |
app/src/test/java/it/luccap11/android/ozono/model/viewmodels/WeatherViewModelTest.kt | luccap11 | 322,672,245 | false | null | package it.luccap11.android.ozono.model.viewmodels
import it.luccap11.android.ozono.CoroutinesTestRule
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import it.luccap11.android.ozono.TestUtil
import it.luccap11.android.ozono.model.ApiStatus
impor... | 1 | Kotlin | 0 | 1 | 7645e0260c724fc9a9d46b91e269947318a20016 | 7,873 | OzonoApp | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.