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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/no/nav/sykdig/poststed/PoststedCronJob.kt | navikt | 499,488,833 | false | null | package no.nav.sykdig.poststed
import no.nav.sykdig.applog
import no.nav.sykdig.db.PoststedRepository
import no.nav.sykdig.poststed.client.KodeverkClient
import org.springframework.scheduling.annotation.Scheduled
import org.springframework.stereotype.Component
import java.util.UUID
@Component
class PoststedCronJob(
... | 2 | null | 0 | 1 | 2f20081188d61fc970c52f597197086e8e882b4c | 1,047 | syk-dig-backend | MIT License |
app/src/main/java/io/horizontalsystems/bankwallet/modules/metricchart/MetricChartFragment.kt | acedev0816 | 419,205,184 | false | {"Kotlin": 2535979, "Shell": 2039, "Ruby": 966} | package io.horizontalsystems.bankwallet.modules.metricchart
import android.os.Bundle
import android.view.View
import androidx.appcompat.content.res.AppCompatResources
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyRow
import androidx.compose.foundation.lazy.itemsIndexed
i... | 0 | Kotlin | 0 | 1 | af615c41d1198943f34433d31518ad38b09d681b | 5,283 | Unstoppable_Android | MIT License |
core-api/src/test/kotlin/com/optimizely/ab/bucketing/DecisionServiceTest.kt | thomaszurkan-optimizely | 140,107,985 | true | {"Kotlin": 727372} | /****************************************************************************
* Copyright 2017-2018, Optimizely, Inc. and contributors *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not use this file except in compliance with the License. ... | 0 | Kotlin | 0 | 0 | 205288abeb91093297faf0ec67556f33dc47b5f0 | 49,835 | java-sdk | Apache License 2.0 |
src/main/kotlin/com/team4099/robot2021/auto/modesathome/SlalomMode.kt | team4099 | 302,452,784 | false | null | package com.team4099.robot2021.auto.modesathome
import com.team4099.robot2021.auto.PathStore
import com.team4099.robot2021.commands.drivetrain.AutoDriveCommand
import com.team4099.robot2021.subsystems.Drivetrain
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup
class SlalomMode : SequentialCommandGroup() {... | 2 | Kotlin | 0 | 0 | 6ba3f62011f292ca98646dc7c9f86b6dbf1e7357 | 425 | InfiniteRecharge-2021 | MIT License |
lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/koinitblockdeclaration/KoInitBlockDeclarationForKoContainingDeclarationProviderTest.kt | LemonAppDev | 621,181,534 | false | null | package com.lemonappdev.konsist.core.declaration.koinitblockdeclaration
import com.lemonappdev.konsist.TestSnippetProvider.getSnippetKoScope
import com.lemonappdev.konsist.api.provider.KoNameProvider
import org.amshove.kluent.assertSoftly
import org.amshove.kluent.shouldBeEqualTo
import org.amshove.kluent.shouldNotBeE... | 7 | Kotlin | 0 | 5 | b92fce08ec538aba6ac680f8b0eec86ab81c6f15 | 1,057 | konsist | Apache License 2.0 |
app/src/sharedTest/java/org/oppia/app/topic/review/TopicReviewFragmentTest.kt | maheshpaliwal | 240,020,771 | true | {"Kotlin": 1352652} | package org.oppia.app.topic.review
import android.app.Application
import android.content.Context
import android.content.res.Configuration
import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.V... | 0 | null | 0 | 0 | a8b15f5d0bf496fc5c9f1a595fe20a859ab6b287 | 5,651 | oppia-android | Apache License 2.0 |
app/src/main/java/com/example/myflixsterapp/LatestMovieRecyclerViewAdapter.kt | MukeCelestino | 541,405,753 | false | null | package com.example.myflixsterapp
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.example.myflixsterapp.R.id
/**
* [Recy... | 1 | Kotlin | 0 | 0 | ea7f01e4eacbc170746e35d3d339c7132fb699ae | 2,413 | MyFlixsterPlusApp | Apache License 2.0 |
app/src/main/java/com/drake/softinput/example/model/ChatMessage.kt | liangjingkanji | 488,716,887 | false | null | package com.drake.softinput.example.model
import com.drake.engine.base.app
import com.drake.engine.utils.dp
import com.drake.softinput.example.R
import com.drake.spannable.replaceSpan
import com.drake.spannable.span.CenterImageSpan
private const val currentUserId = 0 // 假设这是当前用户ID
data class ChatMessage(
val con... | 6 | null | 26 | 239 | 8a2d62cb1e02c099c5f51287466b40c25f9ec146 | 957 | soft-input-event | Apache License 2.0 |
app/src/main/java/com/ntxdroid/spacex/domain/entity/rocket/CompositeFairing.kt | alwarren | 195,475,619 | false | null | package com.ntxdroid.spacex.domain.entity.rocket
data class CompositeFairing(
val height: HeightX,
val diameter: DiameterX
) | 0 | Kotlin | 1 | 1 | 0c904a6e086d9ad0dd56231c2e5ef6469d5ec39c | 133 | AndroidXMVVMDemo | MIT License |
src/main/kotlin/cn/soybean/system/interfaces/rest/vo/RoleRespVO.kt | soybeanjs | 467,859,867 | false | {"HTML": 244772, "Kotlin": 201575, "Makefile": 571} | package cn.soybean.system.interfaces.rest.vo
import cn.soybean.domain.enums.DbEnums
data class RoleRespVO(
var id: String? = null,
var name: String? = null,
var code: String? = null,
var order: Int? = null,
var status: DbEnums.Status? = null,
val builtin: Boolean = false,
val dataScope: Db... | 4 | HTML | 86 | 199 | 3eea820111005ceed9baa9dba9b3e9fd6ace6bd2 | 429 | soybean-admin-java | MIT License |
uikit/demo/src/main/java/com/hl/uikit/demo/adapter/ViewHolders.kt | Heart-Beats | 226,271,656 | false | {"Java": 2185622, "Kotlin": 617778, "HTML": 2862, "CMake": 1830, "AIDL": 1345, "C++": 546} | package com.hl.uikit.demo.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.hl.uikit.demo.R
class ItemTitleViewHolder(view: View) : RecyclerView.... | 0 | Java | 2 | 4 | 9a108edefd358d558d6f7cb3c0e41bdcec5dafc3 | 3,160 | AndroidApplicationTest | Apache License 2.0 |
educational-core/src/com/jetbrains/edu/learning/newproject/coursesStorage/CourseDeletedListener.kt | JetBrains | 43,696,115 | false | null | package com.jetbrains.edu.learning.newproject.coursesStorage
import com.jetbrains.edu.learning.courseFormat.Course
interface CourseDeletedListener {
fun courseDeleted(course: Course)
} | 0 | Kotlin | 40 | 99 | cfc24fe13318de446b8adf6e05d1a7c15d9511b5 | 188 | educational-plugin | Apache License 2.0 |
app/src/main/java/com/insiderser/android/template/dagger/AppComponent.kt | insiderser | 268,887,839 | false | null | /*
* Copyright 2020 <NAME>
*
* 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, publish, distrib... | 0 | Kotlin | 0 | 0 | d07d3074a320a72434be707ce4f1df4dd5f7bb8c | 2,895 | calculator | MIT License |
data/src/main/java/com/ribsky/data/model/LessonApiModel.kt | nexy791 | 607,748,138 | false | null | package com.ribsky.data.model
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity
data class LessonApiModel(
@PrimaryKey(autoGenerate = false) val id: String = "",
val sort: Int = 0,
val name: String = "",
val description: String = "",
val content: String = "",
val paragraphId:... | 0 | Kotlin | 0 | 7 | d2e9f7c04635e1793bfe8f421b4bc5ef162556c0 | 370 | dymka | Apache License 2.0 |
t-tasks/src/main/java/com/teo/ttasks/ui/fragments/tasks/TasksView.kt | teobaranga | 28,672,362 | false | null | package com.teo.ttasks.ui.fragments.tasks
import com.teo.ttasks.ui.base.MvpView
/**
* Main purpose of such interfaces — hide details of View implementation,
* such as hundred methods of [androidx.fragment.app.Fragment].
*/
internal interface TasksView : MvpView {
fun onTasksLoading()
fun onTasksLoadError... | 1 | Kotlin | 3 | 7 | 04da2bc5ae76a165f9ebff00093c048923f87bf2 | 440 | T-Tasks | Apache License 2.0 |
acrarium/src/main/kotlin/com/faendir/acra/navigation/ParameterParser.kt | F43nd1r | 91,593,043 | false | null | package com.faendir.acra.navigation
import com.faendir.acra.service.DataService
import com.faendir.acra.util.PARAM_APP
import com.faendir.acra.util.PARAM_BUG
import com.faendir.acra.util.PARAM_REPORT
import com.faendir.acra.util.toNullable
import com.vaadin.flow.component.UI
import com.vaadin.flow.router.RouteParamete... | 24 | null | 38 | 163 | b129913ead8c24249f7a59bf37b14b64947af0f6 | 1,885 | Acrarium | Apache License 2.0 |
alchemist/alchemist-implementationbase/src/main/kotlin/it/unibo/alchemist/model/implementations/environments/Continuous2DEnvironment.kt | s-mariani | 235,826,448 | true | {"YAML": 70, "XML": 44, "Markdown": 17, "Text": 3, "Ignore List": 4, "Java Properties": 22, "Gradle": 18, "Shell": 1, "Batchfile": 1, "XSLT": 1, "Gradle Kotlin DSL": 21, "HTML": 2, "Kotlin": 163, "Java": 420, "SVG": 12, "SCSS": 1, "TOML": 1, "CSS": 1, "JSON": 4, "INI": 1, "Scala": 10, "ANTLR": 1} | package it.unibo.alchemist.model.implementations.environments
import it.unibo.alchemist.model.implementations.positions.Euclidean2DPosition
import it.unibo.alchemist.model.interfaces.Neighborhood
import it.unibo.alchemist.model.interfaces.Node
import it.unibo.alchemist.model.interfaces.environments.EuclideanPhysics2DE... | 1 | Java | 1 | 1 | db0adfc2d9006d143bc99ecf82cd1285f7ac3ba6 | 4,073 | Alchemist | Creative Commons Attribution 3.0 Unported |
library/src/main/java/com/shprot/easy/adapter/EasyAdapter.kt | Oliinyk-Volodymyr | 135,282,234 | false | {"Kotlin": 4058, "Java": 1119} | /*
* Created by <NAME> on 29.05.18 13:55
* Copyright (c) 2018 . All rights reserved.
* Last modified 29.05.18 13:29
*/
package com.shprot.easy.adapter
import android.support.annotation.LayoutRes
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
abs... | 0 | Kotlin | 0 | 7 | cf46d196f1ee6e529ed03fef38d5477e84aa5f5e | 939 | EasyAdapter | Apache License 2.0 |
app/src/main/java/com/duranun/multilinktextview/MainActivity.kt | duranun | 320,057,871 | false | null | package com.duranun.multilinktextview
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.duranun.multilinktextview.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private val viewBinding: ActivityMainB... | 0 | Kotlin | 0 | 2 | 0a5d23e5f740767a9bf6b6e26ab5900fe3b18ef3 | 1,022 | multiplinktextview | Apache License 2.0 |
native/commonizer/tests/org/jetbrains/kotlin/commonizer/hierarchical/HierarchicalPropertyCommonizationTest.kt | BradOselo | 367,097,840 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.commonizer.hierarchical
import org.jetbrains.kotlin.commonizer.AbstractInlineSou... | 1 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 1,286 | kotlin | Apache License 2.0 |
src/com/tang/intellij/devkt/lua/comment/psi/impl/LuaCommentImpl.kt | devkt-plugins | 130,092,275 | false | {"Gradle Kotlin DSL": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Java Properties": 1, "INI": 1, "Kotlin": 22, "Java": 179, "JFlex": 4} | /*
* Copyright (c) 2017. tangzx(<EMAIL>)
*
* 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 | 1 | 268f8703800fc6dd3aba1ef3af0300de1136adf7 | 3,372 | emmylua-devkt | MIT License |
src/main/kotlin/br/com/thiagoodev/criptoio/domain/exceptions/CryptocurrencyNotExistsException.kt | cthiagoodev | 809,977,009 | false | {"Kotlin": 42767, "Dockerfile": 99} | package br.com.thiagoodev.criptoio.domain.exceptions
class CryptocurrencyNotExistsException(private val newMessage: String? = null) : Exception() {
override val message: String
get() = newMessage ?: "Cryptocurrency not found"
} | 0 | Kotlin | 0 | 0 | 9e0060eae32a7c2d5365276e560c0ff863ce62b7 | 240 | criptoio | MIT License |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/areas/lumbridge/bobs_axes.plugin.kts | 2011Scape | 578,880,245 | false | {"Kotlin": 8904349, "Dockerfile": 1354} | package gg.rsmod.plugins.content.areas.lumbridge
import gg.rsmod.plugins.content.mechanics.shops.CoinCurrency
create_shop("Bob's Brilliant Axes", currency = CoinCurrency(), purchasePolicy = PurchasePolicy.BUY_STOCK) {
sampleItems[0] = ShopItem(Items.BRONZE_PICKAXE, 1, resupplyCycles = 1000)
sampleItems[1] = S... | 39 | Kotlin | 143 | 34 | e5400cc71bfa087164153d468979c5a3abc24841 | 1,449 | game | Apache License 2.0 |
ontrack-extension-indicators/src/main/java/net/nemerosa/ontrack/extension/indicators/imports/IndicatorImports.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.indicators.imports
import net.nemerosa.ontrack.extension.indicators.model.IndicatorConstants
import javax.validation.constraints.Pattern
/**
* Structure which defines categories & type to import.
*/
data class IndicatorImports(
val source: String,
val categorie... | 57 | Kotlin | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 775 | ontrack | MIT License |
elastik/elastik-core/src/commonTest/kotlin/com/keyflare/elastik/core/routing/tree/RoutingContextTest.kt | keyflare | 701,713,018 | false | {"Kotlin": 181716, "Ruby": 6618} | package com.keyflare.elastik.core.routing
import com.keyflare.elastik.core.context.ElastikContext
import com.keyflare.elastik.core.render.NoRender
import com.keyflare.elastik.core.routing.router.BaseRouter
import com.keyflare.elastik.core.routing.router.StaticRouter
import kotlin.test.BeforeTest
import kotlin.test.Tes... | 0 | Kotlin | 0 | 0 | add3fbde42c1919021706141ba9497fad33f8747 | 1,881 | elastik | MIT License |
components/firstpair/impl/src/main/java/com/flipperdevices/firstpair/impl/viewmodels/connecting/PairDeviceViewModel.kt | flipperdevices | 288,258,832 | false | null | package com.flipperdevices.firstpair.impl.viewmodels.connecting
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.flipperdevices.bridge.api.manager.ktx.state.ConnectionState
import com.flipperdevices.bridge.api.manager.ktx.stateAsFlow
import c... | 9 | null | 78 | 552 | f4cb3af8f6980abd999f4c841d4530b713314462 | 3,733 | Flipper-Android-App | MIT License |
codec/src/main/kotlin/Codecs.kt | cufyorg | 502,485,629 | false | {"Kotlin": 834869} | /*
* Copyright 2023 cufy.org and meemer.com
*
* 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 o... | 3 | Kotlin | 1 | 4 | 8882b0225b2ffba13ffd1216dd7a4d2c7450df01 | 2,344 | monkt | Apache License 2.0 |
app/src/main/java/com/example/cinemaapp/contract/presenter/FilmsPresenter.kt | Paveloshepkov | 501,612,231 | false | {"Kotlin": 33130} | package com.example.cinemaapp.contract.presenter
import com.example.cinemaapp.contract.Contract
import com.example.cinemaapp.contract.model.Model
import com.example.cinemaapp.models.Film
import com.example.cinemaapp.models.Genre
import com.example.cinemaapp.repository.FilmsRepository
import kotlinx.coroutines.launch
i... | 0 | Kotlin | 0 | 0 | cc191c5d78236beca527b7234c5ba97fa284f9d8 | 4,246 | CinemaApp | The Unlicense |
edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/keyManagement/PrivateKey.kt | input-output-hk | 564,174,099 | false | {"Kotlin": 1072755, "Gherkin": 3539, "JavaScript": 375} | package io.iohk.atala.prism.walletsdk.domain.models.keyManagement
import io.iohk.atala.prism.walletsdk.domain.models.Curve
/**
* Abstraction of what a PrivateKey is and what functionality provides.
*/
abstract class PrivateKey : Key() {
/**
* Returns the value of the key curve for this private key
*/... | 5 | Kotlin | 4 | 9 | 4e52aed77aeddaeb1f15e345a1384374b9a2591e | 1,082 | identus-edge-agent-sdk-kmp | Apache License 2.0 |
src/main/kotlin/com/piashcse/entities/product/ProductVariant.kt | piashcse | 410,331,425 | false | null | package com.piashcse.entities.product
import com.piashcse.entities.base.BaseIntEntity
import com.piashcse.entities.base.BaseIntEntityClass
import com.piashcse.entities.base.BaseIntIdTable
import com.piashcse.entities.product.defaultproductcategory.ProductCategoryTable
import org.jetbrains.exposed.dao.id.EntityID
obje... | 0 | Kotlin | 5 | 26 | b39305a72621fe3d276ef519f402ccf504196135 | 885 | ktor-E-Commerce | curl License |
kotlin-mui/src/main/generated/mui/material/Stubs.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
package mui.material
import org.w3c.dom.HTMLTableCellElement
import react.dom.html.HTMLAttributes
typealias TableCellBaseProps = HTMLAttributes<HTMLTableCellElement>
| 10 | Kotlin | 138 | 943 | c350c32b4632a057d797b08db98190309f94f90c | 213 | kotlin-wrappers | Apache License 2.0 |
platform/backend/admin/src/main/kotlin/io/hamal/admin/web/topic/AppendEntryController.kt | hamal-io | 622,870,037 | false | {"Kotlin": 1744717, "C": 1398401, "TypeScript": 54320, "C++": 40651, "Lua": 36419, "Makefile": 11728, "Java": 7564, "CMake": 2881, "JavaScript": 1532, "HTML": 694, "Shell": 456, "CSS": 118} | package io.hamal.admin.web.topic
import io.hamal.admin.web.req.Assembler
import io.hamal.core.adapter.AppendEntryToTopicPort
import io.hamal.lib.domain.vo.TopicEntryPayload
import io.hamal.lib.domain.vo.TopicId
import io.hamal.lib.sdk.admin.AdminSubmittedReq
import org.springframework.http.HttpStatus.ACCEPTED
import o... | 6 | Kotlin | 0 | 0 | 6c7f5cc645ba67fb85df20d9a5d2e18372a012f4 | 1,059 | hamal | Creative Commons Zero v1.0 Universal |
app/src/main/java/ml/sky233/choseki/manager/ThreadPoolManager.kt | sky130 | 630,861,581 | false | null | package ml.sky233.choseki.manager
import java.util.concurrent.*
/***
* Created by LiangJingJie on 2019/5/16.
* 线程池封装类
* */
class ThreadPoolManager private constructor() {
private var threadPoolMap = hashMapOf<String, ThreadPoolExecutor>()
/**
* cpu数量
* */
private val CPU_COUNT =... | 0 | Kotlin | 0 | 2 | c99de94c137a86cdb9f364036b2460d5ae099d84 | 3,515 | Choseki | MIT License |
app/src/main/java/br/com/digao1297/jokerapp/view/DataChanged.kt | Digao1297 | 465,273,183 | false | null | package br.com.digao1297.jokerapp.view
interface DataChanged {
fun onDataChanged()
} | 0 | Kotlin | 0 | 0 | 51df2a7e07df93af699cc267f2434c8d69865b32 | 89 | JokeApp | MIT License |
app/src/main/java/com/yvkalume/gifapp/ui/components/GifItem.kt | yveskalume | 604,632,872 | false | null | package com.yvkalume.gifapp.ui.components
import android.Manifest
import android.widget.Toast
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compo... | 0 | Kotlin | 0 | 11 | 26d0186da2c33c738c743950a4d927aad4ed246c | 2,842 | gif-app | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Square6.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,287 | icons | MIT License |
app/src/main/java/com/example/ronensabag/imageloader/AppComponent.kt | SabagRonen | 109,687,965 | false | null | package com.example.ronensabag.imageloader
import android.content.Context
import dagger.Component
import dagger.android.support.AndroidSupportInjectionModule
@Component(modules = arrayOf(AndroidSupportInjectionModule::class,
AppModule::class, ActivitiesInjectorFactory::class))
interface AppComponent {
fun... | 0 | Kotlin | 1 | 2 | 276f4966b18e173ae60c5bc39e79a1575d9be41a | 389 | Image-Loader | MIT License |
src/main/kotlin/lol/driveways/xbrl/scraper/Edgar.kt | GHDriveways | 97,552,971 | false | null | package lol.driveways.xbrl.scraper
import com.amazonaws.services.lambda.runtime.Context
import java.io.InputStream
import java.net.HttpURLConnection
import java.net.URL
import java.util.concurrent.ArrayBlockingQueue
import javax.xml.stream.XMLInputFactory
import javax.xml.stream.XMLStreamReader
class Edgar {
fun... | 0 | Kotlin | 0 | 0 | d0bc37cd83bed0fb03e7274c7d44912c18c391c0 | 1,713 | rss-xbrl | MIT License |
src/main/kotlin/lol/driveways/xbrl/scraper/Edgar.kt | GHDriveways | 97,552,971 | false | null | package lol.driveways.xbrl.scraper
import com.amazonaws.services.lambda.runtime.Context
import java.io.InputStream
import java.net.HttpURLConnection
import java.net.URL
import java.util.concurrent.ArrayBlockingQueue
import javax.xml.stream.XMLInputFactory
import javax.xml.stream.XMLStreamReader
class Edgar {
fun... | 0 | Kotlin | 0 | 0 | d0bc37cd83bed0fb03e7274c7d44912c18c391c0 | 1,713 | rss-xbrl | MIT License |
src/main/kotlin/com/example/acl/domains/users/services/UserService.kt | teambankrupt | 292,072,589 | false | {"JavaScript": 6283406, "HTML": 4192901, "CSS": 663888, "SCSS": 166369, "Kotlin": 111982, "CoffeeScript": 83631, "Java": 13686, "PHP": 2157, "Less": 484, "Shell": 444} | package com.example.acl.domains.users.services
import com.example.acl.domains.home.models.CheckUsernameResponse
import com.example.acl.domains.users.models.entities.AcValidationToken
import com.example.auth.entities.User
import com.example.common.utils.DateUtil
import org.springframework.data.domain.Page
import java.t... | 0 | JavaScript | 0 | 2 | 73ed61a63b4d23d40daaee5ca7ac9829d3ede5df | 1,638 | acl | Apache License 2.0 |
data/src/main/java/com/aconno/sensorics/data/publisher/MqttPublisher.kt | recreational-snacker | 163,322,239 | false | null | package com.aconno.sensorics.data.publisher
import android.content.Context
import com.aconno.sensorics.data.converter.DataStringConverter
import com.aconno.sensorics.domain.Publisher
import com.aconno.sensorics.domain.ifttt.BasePublish
import com.aconno.sensorics.domain.ifttt.MqttPublish
import com.aconno.sensorics.do... | 0 | Kotlin | 0 | 0 | 18530c7272e685744f1b25f223124e9f67bfdd0b | 5,303 | Sensorics | Apache License 2.0 |
plot-builder/src/commonMain/kotlin/org/jetbrains/letsPlot/core/plot/builder/PolarAxisUtil.kt | JetBrains | 176,771,727 | false | {"Kotlin": 6208444, "Python": 1154980, "Shell": 3495, "C": 3039, "JavaScript": 931, "Dockerfile": 94} | /*
* Copyright (c) 2024. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.core.plot.builder
import org.jetbrains.letsPlot.commons.geometry.DoubleRectangle
import org.jetbrains.letsPlot.commons.geometry.DoubleVector
im... | 124 | Kotlin | 46 | 1,355 | d04f1915cbbae4745d9dbddad6af6a1da1c2bb66 | 6,234 | lets-plot | MIT License |
fixture/src/main/kotlin/com/appmattus/kotlinfixture/KotlinFixture.kt | MaTriXy | 262,368,917 | true | {"Kotlin": 433435, "Java": 2317} | /*
* Copyright 2020 Appmattus Limited
*
* 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 t... | 0 | null | 0 | 0 | b9048782640b43007e935e45a05f2879d8b886c1 | 2,853 | kotlinfixture | Apache License 2.0 |
fixture/src/main/kotlin/com/appmattus/kotlinfixture/KotlinFixture.kt | MaTriXy | 262,368,917 | true | {"Kotlin": 433435, "Java": 2317} | /*
* Copyright 2020 Appmattus Limited
*
* 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 t... | 0 | null | 0 | 0 | b9048782640b43007e935e45a05f2879d8b886c1 | 2,853 | kotlinfixture | Apache License 2.0 |
app/src/main/java/com/ayhanunal/movies/model/Credits.kt | ayhanunal | 405,310,002 | false | null | package com.ayhanunal.movies.model
data class Credits(
val cast: List<CastX>,
val crew: List<CrewX>,
val id: Int
) | 0 | Kotlin | 1 | 3 | 7e90c9294e9e2507ccd6084854431ac446cadaf3 | 127 | Movie | MIT License |
app/src/main/java/com/yasinskyi/android/edu2/ui/util/ArticleWebViewClient.kt | Rickderard | 626,540,120 | false | null | package com.yasinskyi.android.edu2.ui.util
import android.graphics.Bitmap
import android.webkit.WebView
import android.webkit.WebViewClient
class ArticleWebViewClient(
private val onPageStarted: () -> Unit,
private val onPageCommitVisible: () -> Unit,
) : WebViewClient() {
override fun onPageStarted(view... | 0 | Kotlin | 0 | 7 | 3472d1a340d0c36e004d5651e726675018182316 | 596 | NYTimes-News-Android-App | Apache License 2.0 |
kweet/src/main/kotlin/io/ktor/samples/kweet/dao/Kweets.kt | ktorio | 118,613,634 | false | {"Kotlin": 235717, "HTML": 31889, "FreeMarker": 8801, "Swift": 6462, "CSS": 5404, "JavaScript": 1916} | package io.ktor.samples.kweet.dao
import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.sql.jodatime.*
/**
* Represents the Kweets table using Exposed as DAO.
*/
object Kweets : Table() {
val id = integer("id").autoIncrement()
val user = varchar("user_id", 20).index()
val date = datetime("date... | 40 | Kotlin | 340 | 1,448 | f8f6e53f4d912293c06d2351f5cf582fa51a89ff | 489 | ktor-samples | Apache License 2.0 |
app/src/main/java/uit/khoand/activitytransformanimationsample/MainActivity.kt | khoand7 | 281,903,971 | false | null | package uit.khoand.activitytransformanimationsample
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import uit.khoand.activitytransformanimationsample.util.ActivityTranformAnimationHelper
class MainActivity : AppCompatActivity() {
ov... | 0 | Kotlin | 0 | 0 | a1bb57ec7757ad3e6771491edd3a13536c255846 | 643 | ActivityTransformAnimationSample | MIT License |
kotlin-electron/src/jsMain/generated/electron/renderer/WebSource.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12159121, "JavaScript": 330528} | // Generated by Karakum - do not modify it manually!
package electron.renderer
typealias WebSource = electron.core.WebSource
| 40 | Kotlin | 165 | 1,319 | a8a1947d73e3ed26426f1e27b641bff427dfd6a0 | 129 | kotlin-wrappers | Apache License 2.0 |
lightspark-sdk/src/commonMain/kotlin/com/lightspark/sdk/model/SignInvoiceInput.kt | lightsparkdev | 590,703,408 | false | {"Kotlin": 1406175, "Java": 27862, "Dockerfile": 1719, "Shell": 490} | // Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
@file:Suppress("ktlint:standard:max-line-length")
package com.lightspark.sdk.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
*
*/
@Serializable
@SerialName("SignInvoiceInput")
data class SignInvoi... | 0 | Kotlin | 0 | 2 | 5b7573d4835d5fea40786a7bf7e013596ad889a0 | 443 | kotlin-sdk | Apache License 2.0 |
app/src/main/java/com/example/summaryscape/PlayVideo.kt | keerti2001 | 850,920,923 | false | {"Gradle": 3, "Text": 2, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 4, "XML": 13, "Java": 1, "Python": 2} | package com.example.summaryscape
import android.net.Uri
import android.os.Bundle
import android.view.View
import android.widget.*
import androidx.appcompat.app.AppCompatActivity
class PlayVideo : AppCompatActivity() {
var summarizedVid: VideoView? = null
var mediaControls: MediaController? = null
o... | 0 | Kotlin | 1 | 0 | db30a2253f77c5c44dcb1403ff6b461b49229e51 | 1,604 | SummaryScape | Apache License 2.0 |
fs-media/src/main/kotlin/l/files/fs/media/MediaTypes.kt | laech | 294,064,384 | false | {"Java": 371417, "Kotlin": 155636, "Shell": 57} | package l.files.fs.media
import android.content.Context
import java.io.IOException
import java.nio.file.Path
object MediaTypes {
const val MEDIA_TYPE_OCTET_STREAM = "application/octet-stream"
const val MEDIA_TYPE_ANY = "*/*"
@JvmStatic
fun generalize(mediaType: String): String = when {
mediaType.startsW... | 1 | null | 1 | 1 | 2162161c1c4ed47e6d57e81163c05071f653461e | 1,014 | android-files | Apache License 2.0 |
app/src/androidTest/java/dev/simonas/quies/onboarding/OnboardingUITest.kt | simonas-dev | 673,730,520 | false | {"Kotlin": 199183, "Shell": 1547, "GLSL": 675, "CMake": 507, "C++": 414} | package dev.simonas.quies.onboarding
import androidx.compose.ui.graphics.BlendMode.Companion.Screen
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.onNodeWithTag
import androidx.test.espresso.IdlingPolicies
import androidx.test.espresso.IdlingRegistry
import dagger.hilt.android.testin... | 6 | Kotlin | 0 | 0 | 4bf60518a25f644da4c9b2d8f480ab94e6584304 | 1,015 | quies | MIT License |
app/src/main/java/com/niqr/eonify/di/AppModule.kt | Niqrs | 589,286,870 | false | null | package com.niqr.eonify.di
import com.google.firebase.auth.ktx.auth
import com.google.firebase.firestore.ktx.firestore
import com.google.firebase.ktx.Firebase
import com.google.firebase.storage.ktx.storage
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonC... | 3 | null | 0 | 2 | a6e63e2cabf1f52adb6bf84b678ab4355565fe73 | 600 | Eonify | MIT License |
app/src/main/java/com/example/weatherapp/feature_weather/presenter/viewmodel/modle/WeatherUiState.kt | VladShurakov | 712,506,582 | false | {"Kotlin": 79527} | package com.example.weatherapp.feature_weather.presenter.viewmodel.modle
enum class WeatherUiState {
Success,
Error,
Loading,
Empty
} | 2 | Kotlin | 0 | 3 | 1cc923f3296f28dfe0d6750995f7d04131f2dae7 | 150 | WeatherApp | MIT License |
jenjin-core/src/main/kotlin/com/binarymonks/jj/core/input/InputProcessorAbstract.kt | lgwillmore | 79,716,845 | false | {"Kotlin": 419262, "Java": 381851, "OpenEdge ABL": 8978, "GLSL": 3774} | package com.binarymonks.jj.core.input
import com.badlogic.gdx.InputProcessor
open class InputProcessorAbstract : InputProcessor {
override fun touchUp(screenX: Int, screenY: Int, pointer: Int, button: Int): Boolean {
return false
}
override fun mouseMoved(screenX: Int, screenY: Int): Boolean {
... | 4 | Kotlin | 1 | 7 | 5b958f6b9a10eb342fb3fa190154029723d3593d | 893 | jenjin | Apache License 2.0 |
KotlinMultiplatform/XFullStack/composeApp/src/desktopMain/kotlin/utils/PointerCursors.desktop.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": 9772, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1... | package utils
import androidx.compose.ui.input.pointer.PointerIcon
import org.jetbrains.skiko.Cursor
actual fun getStartResizePointerIcon(): PointerIcon? {
return PointerIcon(Cursor(Cursor.W_RESIZE_CURSOR))
}
actual fun getEndResizePointerIcon(): PointerIcon? {
return PointerIcon(Cursor(Cursor.E_RESIZE_CURSO... | 0 | Kotlin | 11 | 24 | a31e612a63e1dc42ed4cf2f50db90b8613fb5177 | 668 | development_learning | MIT License |
data/src/main/java/com/msg/sms/data/remote/datasource/student/RemoteStudentDataSourceImpl.kt | GSM-MSG | 625,706,722 | false | null | package com.msg.sms.data.remote.datasource.student
import com.msg.sms.data.remote.dto.student.request.EnterStudentInformationRequest
import com.msg.sms.data.remote.dto.student.response.GetStudentForAnonymousResponse
import com.msg.sms.data.remote.dto.student.response.GetStudentForStudentResponse
import com.msg.sms.dat... | 17 | Kotlin | 1 | 8 | ca5cc212c45dbd39abf8d08a46d32071583e372c | 3,994 | SMS-Android | MIT License |
src/main/kotlin/no/nav/familie/ef/søknad/søknad/domain/Adresse.kt | navikt | 204,012,464 | false | {"Kotlin": 388649, "Dockerfile": 215} | package no.nav.familie.ef.søknad.søknad.domain
data class Adresse(
val adresse: String,
val postnummer: String,
val poststed: String?,
)
| 2 | Kotlin | 1 | 1 | 5c5bb1897265baeb105e8d62b5bbdbd70069b684 | 150 | familie-ef-soknad-api | MIT License |
app/src/main/java/com/iutcalendar/event/EventFragment.kt | wwwazz333 | 486,323,544 | false | {"Kotlin": 204168} | package com.iutcalendar.event
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.preference.PreferenceManager
import androidx.recyclerview.widget.... | 2 | Kotlin | 0 | 0 | 95d2a6a5bb3a2d843d647563a4124847ed4b1d62 | 5,401 | AgendaLyon1 | MIT License |
sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/block/CompactBlockDbStore.kt | zcash | 151,763,639 | false | null | package cash.z.ecc.android.sdk.internal.block
import android.content.Context
import androidx.room.Room
import androidx.room.RoomDatabase
import cash.z.ecc.android.sdk.db.entity.CompactBlockEntity
import cash.z.ecc.android.sdk.internal.SdkDispatchers
import cash.z.ecc.android.sdk.internal.SdkExecutors
import cash.z.ecc... | 128 | Kotlin | 38 | 45 | 3a0ded71138d0b35d238cfeae523abde6e7e2a01 | 2,764 | zcash-android-wallet-sdk | MIT License |
application/KotlinConcepts/app/src/main/java/com/istudio/app/modules/module_demos/coroutines/using_async_await/UsingAsyncAwaitDemo.kt | devrath | 339,281,472 | false | {"Kotlin": 478593, "Java": 3273} | package com.istudio.app.modules.module_demos.coroutines.using_async_await
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layo... | 0 | Kotlin | 22 | 246 | b87ccbc3cba789ec81744acde724274137204283 | 1,378 | KotlinAlchemy | Apache License 2.0 |
app/src/main/java/com/swenggco/contactapp/injections/components/AppComponent.kt | zabi90 | 198,832,204 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 38, "XML": 22, "Java": 3} | package com.swenggco.contactapp.injections.components
import com.swenggco.contactapp.AndroidApp
import com.swenggco.contactapp.injections.modules.AppModule
import com.swenggco.contactapp.injections.modules.DataModule
import com.swenggco.contactapp.injections.modules.ViewModelModule
import com.swenggco.contactapp.injec... | 0 | Kotlin | 0 | 2 | c5c0b99eb6bf35242100338fd44b01af859a18d7 | 609 | ContactAppUITest | MIT License |
jvm/jvm-analysis-internal-testFramework/src/com/intellij/jvm/analysis/internal/testFramework/test/testFrameWorkSetup.kt | JetBrains | 2,489,216 | false | null | package com.intellij.jvm.analysis.internal.testFramework.test
import com.intellij.openapi.roots.ModifiableRootModel
import com.intellij.project.IntelliJProjectConfiguration
import com.intellij.testFramework.PsiTestUtil
import com.intellij.testFramework.fixtures.MavenDependencyUtil
import com.intellij.util.PathUtil
imp... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 1,906 | intellij-community | Apache License 2.0 |
cli_kt/app/src/main/kotlin/net/nanai10a/twomeat/cli/commands/CommandFunction.kt | Nanai10a | 330,746,827 | false | null | package net.nanai10a.twomeat.cli.commands
import net.nanai10a.twomeat.cli.usecases.SessionData
interface CommandFunction {
val info: CommandFunctionInfo
fun isCallable(args: List<String>): Boolean {
if (args.size < this.info.prefixes.size)
return false
val isPrefixesMatch =
... | 1 | Kotlin | 0 | 1 | d28a4e3997958e703af79a8896655d96f06b043e | 680 | 2Meat-4.5th | MIT License |
zzsong-device-server/src/main/kotlin/com/zzsong/device/server/infrastructure/repository/DatabaseIDGenerator.kt | Songzhizong | 465,969,434 | false | null | package com.zzsong.device.server.infrastructure.repository
import cn.idealframework.id.IDGenerator
import cn.idealframework.id.IDGeneratorFactory
import org.springframework.stereotype.Component
/**
* 数据库主键生成器
*
* @author 宋志宗 on 2022/2/26
*/
@Component("deviceServerDatabaseIDGenerator")
class DatabaseIDGenerator(i... | 0 | Kotlin | 0 | 0 | 06f8f2664499e92576b0bc329083ec15bebfdad9 | 535 | zzsong-device | MIT License |
compiler/testData/codegen/box/objects/kt46136.kt | JetBrains | 3,432,266 | false | null | abstract class A<T> {
fun print() = "OK"
}
fun f() = test("")
private fun <T> test(t: T) =
object : A<T>() {}
fun box() = f().print()
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 146 | kotlin | Apache License 2.0 |
app/src/main/java/ru/androidschool/intensiv/ui/tvshows/TvShowsFragment.kt | AntonMishanin | 413,819,537 | false | {"Kotlin": 17763} | package ru.androidschool.intensiv.ui.tvshows
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import ru.androidschool.intensiv.R
private const val ARG_PARAM1 = "param1"
private const val ARG_PARAM2 = "param2"
clas... | 27 | Kotlin | 0 | 1 | 7adb569ad99b8edb88b7fd8c97c649ad704a2877 | 1,320 | MyMovies | MIT License |
formats/json-tests/commonTest/src/kotlinx/serialization/JsonPathTest.kt | Kotlin | 97,827,246 | false | {"Kotlin": 2262082, "Java": 1343} | /*
* Copyright 2017-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization
import kotlinx.serialization.json.*
import kotlinx.serialization.test.*
import kotlin.test.*
class JsonPathTest : JsonTestBase() {
@Serializable
class Outer(val a: Int,... | 407 | Kotlin | 621 | 5,396 | d4d066d72a9f92f06c640be5a36a22f75d0d7659 | 5,852 | kotlinx.serialization | Apache License 2.0 |
struct/src/main/java/com/punkstudio/struct/proxy/Entry.kt | MasonIT | 253,797,763 | false | {"Java": 71785, "Kotlin": 52608} | package com.punkstudio.struct.proxy
import com.punkstudio.struct.proxy.dynamic.*
import com.punkstudio.struct.proxy.static.Live
import com.punkstudio.struct.proxy.static.LiveProxy
/**
* Date:2021/1/13-2:10 PM
* @author Mason
*/
fun main() {
// val live = LiveProxy(Live())
// live.eat()
// live.sleep()
... | 1 | null | 1 | 1 | 94a6d49da653aebfee690c8b430db952719aa994 | 512 | AndroidTechStack | Apache License 2.0 |
android/app/src/main/kotlin/com/atech/vetdiary/MainActivity.kt | wasikulaminbipu | 275,815,912 | false | {"Dart": 114378, "Swift": 404, "Kotlin": 123, "Objective-C": 38} | package com.atech.vetdiary
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | ab9252a8e55943b3d85f97b2d286b40a7e8388c8 | 123 | vetdiary | MIT License |
ground/src/test/java/com/google/android/ground/model/geometry/GeometryValidatorTest.kt | google | 127,777,820 | false | null | /*
* Copyright 2023 Google LLC
*
* 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 applicable law or agreed to ... | 181 | null | 118 | 214 | af77819caac905d81ea566a8c91cd67522a1d357 | 2,502 | ground-android | Apache License 2.0 |
shared/src/commonMain/kotlin/presentation/screen/splash/SplashScreen.kt | adelsaramii | 727,620,001 | false | {"Kotlin": 1014333, "Swift": 2299, "Shell": 228} | package com.attendace.leopard.presentation.screen.splash
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.C... | 0 | Kotlin | 0 | 0 | ed51d4c99caafefc5fc70cedbe0dd0fa62cce271 | 2,529 | Leopard-Multiplatform | Apache License 2.0 |
core/src/main/java/org/futo/circles/core/feature/notifications/NotificationDrawerManager.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.core.feature.notifications
import android.content.Context
import android.os.Handler
import android.os.HandlerThread
import androidx.annotation.WorkerThread
import dagger.hilt.android.qualifiers.ApplicationContext
import org.futo.circles.core.R
import org.futo.circles.core.extensions.notEmptyDi... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 4,590 | circles-android | Apache License 2.0 |
Project/app/src/test/java/org/ionproject/android/JacksonParserTests.kt | i-on-project | 245,234,364 | false | null | package org.ionproject.android
import com.fasterxml.jackson.databind.JsonMappingException
import com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.test.TestCoroutineDispatcher
import kotlinx.coroutines.test.runBlockingTest
import org.ionpro... | 8 | Kotlin | 0 | 4 | c18e940a10b9bcc4e3511ca7fa2c647be5db9ff2 | 13,578 | android | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/elasticsearch/CfnDomainZoneAwarenessConfigPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.elasticsearch
import io.cloudshiftdev.awscdkdsl.common.Cd... | 4 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,354 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/example/shuffletalksapp/ui/post/PostViewModelFactory.kt | simonklejnstrup | 501,626,093 | false | {"Kotlin": 73015} | package com.example.shuffletalksapp.ui.post
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.shuffletalksapp.repository.Repository
class PostViewModelFactory(
private val repository: Repository,
private val postId: String
): ViewModelProvider.NewInstanceFactor... | 0 | Kotlin | 0 | 0 | fd1b089615e008d664873c4286c94180f1915d1b | 455 | ShuffleTalksApp | MIT License |
kotlin-koin-example/src/main/kotlin/com/mscharhag/koin/MyApp.kt | mscharhag | 14,469,874 | false | null | package com.mscharhag.koin
import org.koin.core.component.KoinComponent
import org.koin.core.component.inject
class MyApp : KoinComponent {
private val userService by inject<UserService>()
init {
userService.createUser("John", Address("Cool Str.", "Testingen", "1234"))
println("created user j... | 13 | null | 149 | 122 | bca5618672f55f28e36e2d40af4fd39d3d30d2d2 | 333 | blog-examples | Apache License 2.0 |
app/src/main/java/com/rkbapps/makautsgpaygpacalculator/navigation/NavGraph.kt | Rajkumarbhakta | 713,063,681 | false | {"Kotlin": 103942} | package com.rkbapps.makautsgpaygpacalculator.navigation
import androidx.compose.animation.AnimatedContentTransitionScope
import androidx.compose.animation.core.tween
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.naviga... | 0 | Kotlin | 0 | 0 | 6bfce4ac068752660c73b91c7a2af8f261acc997 | 6,319 | cgpa_calculator_makaut | MIT License |
mockResponseInterceptor/src/main/java/com/gc/mockResponseInterceptor/Utils.kt | devggaurav | 678,673,259 | false | null | package com.gc.mockResponseInterceptor
import android.content.res.AssetManager
import java.io.InputStreamReader
import java.lang.StringBuilder
object Utils {
fun readFileResource(fileName: String, assetManager: AssetManager): String {
val inputStream = Utils::class.java.getResourceAsStream("/${fileName}"... | 0 | Kotlin | 0 | 4 | 810d08a4cff1d472eee6c138878bc9dea1ddfcc7 | 571 | HttpMockResponseInterceptor | Apache License 2.0 |
input/identifier/src/commonMain/kotlin/symphony/PhoneInputField.kt | aSoft-Ltd | 632,021,007 | false | null | @file:JsExport
@file:Suppress("NON_EXPORTABLE_TYPE")
package symphony
import geo.Country
import symphony.properties.Typeable
import kotlin.js.JsExport
interface PhoneInputField : InputField, CommonInputProperties, TransformingInputField<String, PhoneNumber>, Typeable {
val code: SingleChoiceInputField<Country>
... | 0 | Kotlin | 0 | 0 | d12f05cdc6be080e14b48e66ef9c0d346a6ba5ca | 359 | symphony | MIT License |
xml/src/commonMain/kotlin/pw/binom/xml/dom/TagWriteContext.kt | RdeWilde | 226,810,340 | true | {"C": 4788382, "C++": 546364, "Kotlin": 471870, "Shell": 86} | package pw.binom.xml.dom
import pw.binom.io.AsyncAppendable
import pw.binom.xml.sax.XmlRootWriterVisiter
import pw.binom.xml.sax.XmlVisiter
private class TagWriteContext internal constructor(
private val parent: TagWriteContext?,
private val context: Context,
private val writerVisiter: XmlVisi... | 0 | null | 0 | 0 | c41c8cb96395035c59a90f0fce37969c853b23c5 | 2,509 | pw.binom.io | Apache License 2.0 |
src/main/kotlin/ru/yoomoney/openapi/bundler/OpenApiV3LibraryBundle.kt | yoomoney | 420,941,950 | false | null | package ru.yoomoney.openapi.bundler
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.node.ObjectNode
import com.fasterxml.jackson.databind.node.TextNode
import com.github.fge.jackson.jsonpointer.JsonPointer
import com.github.fge.jsonschema.core.ref.JsonRef
import java.net.URI
/**
... | 1 | null | 1 | 5 | 46a45a4a6b896a99e1fe2f01d331a2ad3c1f8850 | 8,093 | openapi-bundler | MIT License |
MapboxSearch/sdk/src/test/java/com/mapbox/search/utils/search/RetrieveUtilsTest.kt | mapbox | 438,355,708 | false | {"Kotlin": 2247142, "Java": 38877, "Python": 18980, "Shell": 17499} | package com.mapbox.search.utils.search
import com.mapbox.search.ApiType
import com.mapbox.test.dsl.TestCase
import org.junit.jupiter.api.TestFactory
import org.junit.jupiter.api.assertThrows
internal class RetrieveUtilsTest {
@TestFactory
fun `Check createSearchResultForRetrieve`() = TestCase {
Given... | 18 | Kotlin | 7 | 33 | bbe22d4d17e8bab22b64c7327fafdd56be7a03e4 | 1,515 | mapbox-search-android | Apache License 2.0 |
demo/src/main/java/com/bytedance/scenedemo/benchmark/performance/EmptyAppCompatActivity.kt | bytedance | 213,812,935 | false | {"Java": 2232337, "Kotlin": 42131} | package com.bytedance.scenedemo.benchmark.performance
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.view.ViewTreeObserver
import com.bytedance.scenedemo.benchmark.performance.PerformanceDemo
import android.widget.Toast
import com.bytedance.scenedemo.R
... | 2 | Java | 197 | 2,067 | 61ffdf4c4aff627afb8e3b2cf615dbd6704b3cb5 | 1,080 | scene | Apache License 2.0 |
android/app/src/main/kotlin/com/example/verygoodcore/MainActivity.kt | alestiago | 469,891,273 | false | {"Dart": 310671, "C++": 54970, "CMake": 31128, "HTML": 12860, "C": 2893, "Swift": 2696, "Ruby": 2684, "Kotlin": 375, "Objective-C": 114} | package app.flutter.rushpuzzle
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 1 | Dart | 5 | 64 | 628d176c5c88c95eca417a30f145161e7926db98 | 127 | flutter_rush_puzzle | MIT License |
mobile/src/main/kotlin/io/ashdavies/cinnamon/android/StringFormatter.kt | ashdavies | 90,190,822 | false | {"Kotlin": 28151, "Java": 16365} | package io.ashdavies.cinnamon.android
interface StringFormatter<in T> {
fun format(t: T): String
}
| 0 | Kotlin | 2 | 0 | d1cd3077eb5a7049c4869e4b36b3d1015953fdcd | 103 | cinnamon | Apache License 2.0 |
src/main/kotlin/dev/vini2003/omine/registry/client/HarmfulGasParticleFactories.kt | Mixinors | 405,731,550 | false | {"Kotlin": 38550} | package dev.vini2003.omine.registry.client
import dev.vini2003.omine.client.particle.GasCloudParticle
import net.fabricmc.fabric.api.client.particle.v1.FabricSpriteProvider
import net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry
object HarmfulGasParticleFactories {
fun initialize() {
Par... | 0 | Kotlin | 0 | 0 | eb712fc776602ba352079dc676cc8320cab23b50 | 560 | Omine | MIT License |
code generators/de.fhdo.lemma.model_processing.code_generation.springcloud/src/main/kotlin/de/fhdo/lemma/model_processing/code_generation/springcloud/spring/HttpStatus.kt | SeelabFhdo | 204,692,764 | false | null | package de.fhdo.lemma.model_processing.code_generation.springcloud.spring
import com.github.javaparser.ast.Node
import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration
import com.github.javaparser.ast.nodeTypes.NodeWithAnnotations
import de.fhdo.lemma.data.intermediate.IntermediateImportedAspect
import de.fh... | 32 | null | 8 | 31 | 2e9ccc882352116b253a7700b5ecf2c9316a5829 | 18,058 | lemma | MIT License |
app/src/main/java/github/sukieva/hhu/utils/FileManager.kt | SukiEva | 338,038,935 | false | null | package github.sukieva.hhu.utils
import android.content.Context
import github.sukieva.hhu.MyApp
import java.io.*
object FileManager {
fun save(text: String) {
try {
val output = MyApp.context.openFileOutput("log", Context.MODE_PRIVATE)
val writer = BufferedWriter(OutputStreamWrit... | 0 | Kotlin | 1 | 9 | fb62706e96602a18b90f2ebf05808918dc1b0358 | 940 | Myhhu | Apache License 2.0 |
api/script-advanced/src/main/kotlin/org/rsmod/api/script/advanced/ObjScriptEventExtensions.kt | rsmod | 293,875,986 | false | {"Kotlin": 1817705} | package org.rsmod.api.script.advanced
import org.rsmod.api.player.events.interact.ObjDefaultEvents
import org.rsmod.api.player.events.interact.OpDefaultEvent
import org.rsmod.api.player.protect.ProtectedAccess
import org.rsmod.api.script.onProtectedEvent
import org.rsmod.plugin.scripts.ScriptContext
public fun Script... | 0 | Kotlin | 64 | 95 | 3ba446ed70bcde0870ef431e1a8527efc6837d6c | 1,232 | rsmod | ISC License |
platform/lvcs-impl/src/com/intellij/platform/lvcs/impl/ActivityDiffData.kt | JetBrains | 2,489,216 | 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.platform.lvcs.impl
import com.intellij.openapi.project.Project
import com.intellij.openapi.vcs.changes.ChangeViewDiffRequestProcessor
import org.jetbrains.annotations.ApiStatus
... | 251 | null | 5079 | 16,158 | 831d1a4524048aebf64173c1f0b26e04b61c6880 | 471 | intellij-community | Apache License 2.0 |
src/main/kotlin/Application.kt | craftsman-codes | 248,568,799 | false | {"TypeScript": 8270, "Kotlin": 8245, "HTML": 3603, "JavaScript": 1740} | import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import org.reactivestreams.Publisher
import org.reactivestreams.Subscriber
import org.springframe... | 4 | TypeScript | 0 | 1 | 9d34dcaa9d25e21f51b9bab4942e554d865174f9 | 6,794 | kotlin-webflux | MIT License |
kotlin/com/google/protobuf/MethodOptions.kt | TakuSemba | 177,812,100 | false | null | // Code generated by Wire protocol buffer compiler, do not edit.
// Source file: google/protobuf/descriptor.proto
package com.google.protobuf
import com.squareup.wire.EnumAdapter
import com.squareup.wire.FieldEncoding
import com.squareup.wire.Message
import com.squareup.wire.ProtoAdapter
import com.squareup.wire.Proto... | 0 | Kotlin | 0 | 0 | e0b4fab97e10d34cf19ecce0edaa14bfa3bf82c5 | 5,419 | kotlin-proto | Apache License 2.0 |
checkup/src/main/java/com/straiberry/android/checkup/checkup/domain/usecase/GetGuideTourStatusUseCase.kt | STRAIBERRY-AI-INC | 490,596,796 | false | null | package com.straiberry.android.checkup.checkup.domain.usecase
import com.straiberry.android.checkup.checkup.domain.repository.CheckupDataStore
class GetGuideTourStatusUseCase(
private val checkupDataStore: CheckupDataStore
) {
fun execute() = checkupDataStore.getGuideTourStatus()
} | 1 | Kotlin | 0 | 3 | ff8bd6e483a64bc6f3bd31ea42578df106fb6fec | 292 | straiberry-checkup | The Unlicense |
app/src/main/java/gsrv/klassenplaner/data/repository/BaseRepository.kt | jonas-haeusler | 207,426,160 | false | null | package gsrv.klassenplaner.data.repository
import androidx.lifecycle.LiveData
import gsrv.klassenplaner.data.Result
import gsrv.klassenplaner.data.entities.BaseItem
import gsrv.klassenplaner.data.entities.Group
interface BaseRepository<T: BaseItem> {
/**
* Get a list of items wrapped into a [Result] object ... | 0 | Kotlin | 0 | 0 | 562394d80f0c6e037c010949229d4719de0683cc | 693 | klassenplaner | Apache License 2.0 |
FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/Demos.kt | Anthonysidesapp | 454,785,341 | true | {"Kotlin": 884615} | /*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
package com.microsoft.fluentuidemo
import com.microsoft.fluentuidemo.demos.*
import java.util.*
import kotlin.reflect.KClass
const val ACTION_BAR_LAYOUT = "ActionBarLayout"
const val APP_BAR_LAYOUT = "AppBarLayout"... | 0 | Kotlin | 3 | 9 | 61cbb5799bba74342b342cd98680286a96f27f70 | 3,185 | fluentui-android | MIT License |
svg-to-compose/src/commonTest/kotlin/dev/tonholo/s2c/domain/svg/SvgPathMoveToTests.kt | rafaeltonholo | 659,782,425 | false | null | package dev.tonholo.s2c.domain.svg
import dev.tonholo.s2c.domain.ImageVectorNode
import dev.tonholo.s2c.domain.PathNodes
import dev.tonholo.s2c.extensions.removeTrailingZero
import kotlin.test.Test
import kotlin.test.assertContains
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.asser... | 5 | null | 2 | 61 | b3e7c5ffa041d5d31c686d72b9119661b5e4ce7b | 7,087 | svg-to-compose | MIT License |
data/episodes/api/src/commonMain/kotlin/com/thomaskioko/tvmaniac/episodes/api/EpisodeRepository.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.episodes.api
interface EpisodeRepository
| 9 | Kotlin | 13 | 98 | 8bc3853d84c58520dffe26ddb260a2e7b6482ae9 | 75 | tv-maniac | Apache License 2.0 |
feedbinclient/src/main/java/com/jocmp/feedbinclient/CreateTaggingRequest.kt | jocmp | 610,083,236 | false | {"Kotlin": 674590, "Ruby": 1236, "Makefile": 1211} | package com.jocmp.feedbinclient
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class CreateTaggingRequest(
val feed_id: String,
val name: String,
)
| 15 | Kotlin | 3 | 91 | f8ac7e8c4a6fccfe8f26f1b492261a4f5ce7dafa | 187 | capyreader | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.