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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tests/testData/integration/callbacks/arguments/objcObject.kt | PlumpMath | 88,950,342 | true | {"C++": 114782, "Kotlin": 105658, "Objective-C": 18864, "CMake": 3465, "Protocol Buffer": 2009, "Java": 1754, "C": 1128, "Shell": 285} | package test
import objc.*
fun main(args: Array<String>) {
PrintingServices.invokeOnPrinter(fun(p: Printer) {
p.printOK()
})
}
| 0 | C++ | 0 | 0 | f260fd1417a1729dfdb11b31407beb7519cd479b | 145 | kni | Apache License 2.0 |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/CopyAdd.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.CopyAdd: ImageVector
get() {
if (_copyAdd != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,943 | compose-fluent-ui | Apache License 2.0 |
src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/engine/listener/run/PipelineNotifyQueueListener.kt | TencentBlueKing | 189,153,491 | false | null | package com.tencent.devops.process.engine.listener.run
import com.tencent.devops.common.event.listener.pipeline.PipelineEventListener
import com.tencent.devops.common.event.pojo.pipeline.PipelineBuildFinishBroadCastEvent
import com.tencent.devops.common.pipeline.enums.BuildStatus
import com.tencent.devops.common.servi... | 723 | null | 498 | 2,382 | dd483c38bdbe5c17fa0e5e5bc3390cd1cd40757c | 2,259 | bk-ci | MIT License |
examples/generator/generator.kt | MarcinMoskala | 118,792,033 | true | null | package generator
import kotlin.coroutines.experimental.*
import kotlin.coroutines.experimental.intrinsics.*
/*
ES6-style generator that can send values between coroutine and outer code in both ways.
Note that in ES6-generators the first invocation of `next()` goes not accept a parameter, but
just starts a ... | 0 | null | 0 | 0 | 528fe1792f22d33d3b4a3e3cd0a50f3b22b1ca0e | 2,794 | kotlin-coroutines | Apache License 2.0 |
app/src/main/java/com/sakuna63/tumbin/application/activity/DashboardPostActivity.kt | sakuna63 | 75,534,876 | false | null | package com.sakuna63.tumbin.application.activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v4.view.ViewPager
import com.sakuna63.tumbin.R
import com.sakuna63.tumbin.application.adapter.PostPagerAdapter
import com.sakuna63.tumbin.application.di.componen... | 0 | Kotlin | 1 | 0 | 6d9992cbbcdf23fea218d362478545409dfead5c | 2,079 | tumbin | Apache License 2.0 |
app/src/main/kotlin/advent/of/code/day16/FieldValue.kt | dbubenheim | 321,117,765 | false | null | package advent.of.code.day16
data class FieldValue(val field: Field, val value: Int) | 0 | Kotlin | 0 | 0 | 3447e4737fb1e1e33f3dc493b9f525c18783899c | 85 | advent-of-code-2020 | MIT License |
app/src/main/java/com/kubekbreha/watsonchatbot/recyclerview/item/TextMessageItem.kt | kubekbreha | 128,936,584 | false | null | package com.kubekbreha.watsonchatbot.recyclerview.item
import android.content.Context
import android.view.Gravity
import com.google.firebase.auth.FirebaseAuth
import com.kubekbreha.watsonchatbot.R
import com.kubekbreha.watsonchatbot.model.TextMessage
import com.xwray.groupie.kotlinandroidextensions.Item
import com.xwr... | 2 | Kotlin | 0 | 0 | 739b98d28c86800320eab56d9fec002222440746 | 1,538 | WatsonChatBot | MIT License |
src/main/kotlin/com/devlee/ipranges/core/io/model/ProviderInfo.kt | developerlee79 | 715,074,703 | false | {"Kotlin": 27887} | package com.devlee.ipranges.core.io.model
import kotlinx.serialization.Serializable
@Serializable
class ProviderInfo(
val name: String,
val url: String,
var refreshToken: String? = null
)
| 2 | Kotlin | 0 | 0 | 533680a0e1924b06e85576b1824308df9ef009c8 | 202 | server-ip-ranges | Apache License 2.0 |
app/src/main/java/com/joshuacerdenia/android/easynotepad/data/NotePreferences.kt | joshuacerdenia | 267,459,832 | false | null | package com.joshuacerdenia.android.easynotepad.data
import android.content.Context
import android.content.SharedPreferences
object NotePreferences {
private const val NAME = "note_preferences"
private lateinit var preferences: SharedPreferences
private const val ORDER = "order"
fun init(context: Co... | 0 | Kotlin | 0 | 0 | 3f3f27d383d0ce84da65a4d2fa978d3e6fbd521f | 725 | EasyNotepad | MIT License |
app/src/main/java/org/blitzortung/android/app/components/VersionComponent.kt | KubaDeX | 49,097,832 | true | {"Kotlin": 220517, "Java": 62} | package org.blitzortung.android.app.components
import android.content.Context
import android.content.SharedPreferences
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import android.util.Log
import org.blitzortung.android.app.Main
class VersionComponent(context: Context) {
var sta... | 0 | Kotlin | 0 | 0 | 1197dbf9693b588f92ce8bdb1254507274838a8a | 1,752 | bo-android | MIT License |
src/main/kotlin/no/nav/klage/kaka/api/AddRandomDataController.kt | navikt | 417,384,086 | false | {"Kotlin": 437174, "Dockerfile": 134} | package no.nav.klage.kaka.api
import no.nav.klage.kaka.domain.KvalitetsvurderingReference
import no.nav.klage.kaka.domain.Saksdata
import no.nav.klage.kaka.domain.kvalitetsvurdering.v1.KvalitetsvurderingV1
import no.nav.klage.kaka.domain.kvalitetsvurdering.v1.KvalitetsvurderingV1.*
import no.nav.klage.kaka.domain.kval... | 4 | Kotlin | 0 | 0 | ee78663f436d6872057aeb63d521c82e3b0b7572 | 11,549 | kaka-api | MIT License |
src/main/kotlin/io.inbot.kotlinstellar/cli/Commands.kt | jillesvangurp | 145,398,015 | false | {"Kotlin": 97236, "Shell": 652} | package io.inbot.kotlinstellar.cli
import com.xenomachina.argparser.ArgParser
import com.xenomachina.argparser.InvalidArgumentException
import com.xenomachina.argparser.SystemExitException
import com.xenomachina.argparser.default
import io.inbot.kotlinstellar.TokenAmount
import io.inbot.kotlinstellar.TradeAggregationR... | 20 | Kotlin | 1 | 14 | 59231f2fe1ea0c12daad2d8c22544f9f1872add7 | 19,334 | stellar-kotlin-client | MIT License |
convention-android-emulator/src/main/kotlin/convention/android/emulator/ExecWrapper.kt | siarhei-luskanau | 740,600,929 | false | {"Kotlin": 31983, "Swift": 532, "JavaScript": 475, "HTML": 288} | package convention.android.emulator
import java.io.InputStream
interface ExecWrapper {
fun exec(commandLine: List<String>, inputStream: InputStream? = null): String
}
| 0 | Kotlin | 1 | 0 | 91d2946dec7c8b1997a37f84584f29ce331e890e | 173 | ui-test-automation | MIT License |
app/src/main/java/com/example/minhasdespesas/presentation/screens/list/ExpenseViewModel.kt | BrunoAnndrade | 807,657,812 | false | {"Kotlin": 64454} | package com.example.minhasdespesas.presentation.screens.list
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.minhasdespesas.data.entity.BudgetEntity
import com.example.minhasdespesas.data.entity.ExpenseEntity
import com.example.minhasdespesas.data.repository.BudgetReposi... | 0 | Kotlin | 0 | 0 | 5d0bc536e4336fc65e926c9219fe8b8a5bceaf5e | 2,350 | MinhasDespesas | MIT License |
mockzilla-common/src/commonMain/kotlin/com/apadmi/mockzilla/lib/models/EndpointConfiguration.kt | Apadmi-Engineering | 570,496,992 | false | null | package com.apadmi.mockzilla.lib.models
import com.apadmi.mockzilla.lib.internal.utils.HttpStatusCodeSerializer
import com.apadmi.mockzilla.lib.service.MockzillaWeb
import io.ktor.http.*
import io.ktor.server.request.ApplicationRequest
import kotlin.jvm.JvmInline
import kotlinx.serialization.Serializable
/**
* @pr... | 12 | null | 8 | 29 | 9712fe59464b39d42e02c22a11a78964f437c502 | 9,476 | Mockzilla | MIT License |
base/src/main/kotlin/browser/pageAction/SetTitleDetails.kt | DATL4G | 372,873,797 | false | null | @file:JsModule("webextension-polyfill")
@file:JsQualifier("pageAction")
package browser.pageAction
public external interface SetTitleDetails {
/**
* The id of the tab for which you want to modify the page action.
*/
public var tabId: Int
/**
* The tooltip string.
*/
public var title: String
}
| 0 | Kotlin | 1 | 37 | ab2a825dd8dd8eb704278f52c603dbdd898d1875 | 317 | Kromex | Apache License 2.0 |
app/src/main/java/com/chetdeva/spinnerbindings/invcart/InvCartContract.kt | chetdeva | 129,086,619 | false | null | package com.chetdeva.spinnerbindings.invcart
import com.chetdeva.spinnerbindings.dto.CartItem
/**
* Copyright (c) 2017 Fueled. All rights reserved.
* @author chetansachdeva on 09/04/18
*/
interface InvCartContract {
interface View {
fun updateItem(cartItem: CartItem)
fun updateItemQuantity(new... | 0 | Kotlin | 15 | 53 | 436f226d158f195dfc268d501c7964cd971c794b | 530 | spinner-bindings | MIT License |
app/src/main/java/pl/jitsolutions/agile/domain/User.kt | jit-team | 190,179,705 | false | {"Kotlin": 210569} | package pl.jitsolutions.agile.domain
data class User(
val id: String,
val name: String,
val email: String,
val active: Boolean = false,
var current: Boolean = false
) | 0 | Kotlin | 0 | 0 | 636d750aff6e10bb879ac08fdef162a62e35df9e | 187 | jit-agile-android | MIT License |
src/day8/day8.kt | Eynnzerr | 576,874,345 | false | {"Kotlin": 23356} | package day8
import java.io.File
import kotlin.math.max
fun main() {
var count = 0
var maxScore = 0
val matrix = File("src/day8/input.txt")
.readLines() // List<String>
.map { s ->
s.toCharArray().map { c ->
c.digitToInt()
}
} // List<List<... | 0 | Kotlin | 0 | 0 | 92e85d65f62900d98284cbc9f6f9a3010efb21b7 | 2,269 | advent-of-code-2022 | Apache License 2.0 |
ui/src/main/kotlin/gq/kirmanak/mealient/ui/util/LoadingHelperImpl.kt | kirmanak | 431,195,533 | false | {"Kotlin": 476781} | package gq.kirmanak.mealient.ui.util
import gq.kirmanak.mealient.logging.Logger
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.update
internal class LoadingHelperImpl<T>(
private val logger: Logger,
private val fetch: suspend () -> Resul... | 16 | Kotlin | 2 | 99 | 13a73812a16d928eb45147c297a56360ec605089 | 1,455 | Mealient | MIT License |
src/main/kotlin/io/itrunner/heroes/exception/RestResponseEntityExceptionHandler.kt | sunjc | 281,953,563 | false | null | package io.itrunner.heroes.exception
import io.itrunner.heroes.extension.Messages
import org.springframework.core.NestedExceptionUtils.getMostSpecificCause
import org.springframework.http.HttpHeaders
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.se... | 0 | Kotlin | 0 | 2 | a81c8de64b9b50f67ade703c25003e3a3efab989 | 2,990 | heroes-kotlin | MIT License |
OnlinePK-Android/biz-live/src/main/java/com/netease/biz_live/yunxin/live/ui/widget/AnchorActionView.kt | Dongshanxu | 436,919,018 | true | {"Objective-C": 1460921, "Kotlin": 612297, "Java": 270376, "Swift": 124861, "C": 7263, "Python": 2874, "Ruby": 1065} | /*
* Copyright (c) 2021 NetEase, Inc. All rights reserved.
* Use of this source code is governed by a MIT license that can be found in the LICENSE file
*/
package com.netease.biz_live.yunxin.live.ui.widget
import android.content.Context
import android.text.TextUtils
import android.util.AttributeSet
import andro... | 0 | Objective-C | 0 | 0 | e334a9a3c07cd03be26a78b08ca78b38fc097582 | 2,560 | OnlinePK | MIT License |
opendc-simulator/opendc-simulator-compute/src/main/kotlin/org/opendc/simulator/compute/kernel/SimVirtualMachine.kt | atlarge-research | 79,902,234 | false | null | /*
* Copyright (c) 2021 AtLarge Research
*
* 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, pu... | 9 | Kotlin | 14 | 41 | 578394adfb5f1f835b7d8e24f68094968706dfaa | 1,741 | opendc | MIT License |
curso_navigation/app/src/main/java/com/cursonavigation/ui/fragments/LoginFragment.kt | jjmorleo | 343,568,652 | false | null | package com.cursonavigation.ui.fragments
import android.content.Context
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.widget.addTextChangedListener
import androidx.navigation.fragment.NavHost... | 0 | Kotlin | 0 | 0 | e0f95b0b7c2c1aa244f867d453735b51fea249e3 | 3,194 | Codigo-Colores | MIT License |
src/test/resources/org/jesperancinha/plugins/omni/reporter/domain/reports/OmniJacocoDomain.kt | JEsperancinhaOrg | 450,076,280 | false | null | package org.jesperancinha.plugins.omni.reporter.domain.reports
| 0 | Kotlin | 0 | 2 | f996612fefd0a3dae4f3d359184ee298e767fdf3 | 63 | omni-reporter-commons | Apache License 2.0 |
Modules/RuleEngine/src/hap/ruleengine/editor/viewmodel/event/SelectedComponentsChanged.kt | PerMalmberg | 73,118,338 | false | {"Java": 185393, "Kotlin": 111306, "Batchfile": 105} | package hap.ruleengine.editor.viewmodel.event
import hap.ruleengine.editor.viewmodel.parts.ComponentVM
import tornadofx.FXEvent
import java.util.*
class SelectedComponentsChanged(val selectedComponents: HashMap<UUID, ComponentVM>) : FXEvent() | 0 | Java | 0 | 1 | 21f70001858bca8df41188dd477f3bdf0492081f | 244 | HAP | MIT License |
app/common/src/commonMain/kotlin/com/denchic45/studiversity/ui/studygroups/StudyGroupListItem.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2103689, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.ui.component
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Group
import androidx.compose.material3.Icon
import androidx.compose.material3.ListItem
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import a... | 0 | Kotlin | 0 | 7 | 93947301de4c4a9cb6c3d9fa36903f857c50e6c2 | 832 | Studiversity | Apache License 2.0 |
automation/cloud_build_metrics/src/test/kotlin/support/BitriseAppTest.kt | instructure | 179,290,947 | false | null | //
// Copyright (C) 2018-present Instructure, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | 2 | Kotlin | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 1,745 | canvas-android | Apache License 2.0 |
src/main/kotlin/babylonjs/ray.kt | centyllion | 209,089,983 | false | null | @file:Suppress("unused", "ConvertSecondaryConstructorToPrimary", "CovariantEquals", "FunctionName")
@file:JsModule("babylonjs")
@file:JsNonModule
package babylonjs
/**
* Class representing a ray with position and direction
*/
external class Ray {
/** origin point */
var origin: Vector3
/** direction */
... | 0 | Kotlin | 2 | 4 | 10408f875f1d590adea08302fb792f93ca318e07 | 6,763 | babylon-kotlin | MIT License |
app/src/main/java/dev/danascape/stormci/ui/fragments/team/TeamFragment.kt | danascape | 564,441,039 | false | {"Kotlin": 30113} | package dev.danascape.stormci.ui.fragments.team
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.LinearLayoutManager
import da... | 7 | Kotlin | 5 | 1 | 7cad492fc957e8a2fbe9845eb3413ad3c73e565c | 1,662 | StormCIApp | Apache License 2.0 |
insidePlugin/src/main/java/utils.kt | zsqw123 | 676,586,141 | false | {"Kotlin": 87481} | import org.gradle.api.Project
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
internal val Project.kme: KotlinMultiplatformExtension
get() = extensions.getByType(KotlinMultiplatformExtension::class.java)
internal inline fun <T, reified R> List<T>.mapArray(transform: (T) -> R): Array<R> {
r... | 0 | Kotlin | 0 | 17 | 600666f13fb4410393580c6bd59640125eb4ca05 | 363 | kn-jvm | Apache License 2.0 |
app/src/main/java/com/example/agromart/network/CrudApiInterface.kt | nilmani9430 | 630,554,310 | false | null | package com.example.agromart.network
import com.example.agromart.model.news.NewsResponse
import com.example.agromart.model.order.OrderRequest
import com.example.agromart.model.order.OrderResponse
import com.example.agromart.model.product.ItemListResponse
import com.example.agromart.model.product.MySalesResponse
import... | 0 | Kotlin | 0 | 0 | 59331aff115731e5677dbb792d6aab67fe3835c0 | 1,763 | Practicum-4th-Sem | MIT License |
model/src/main/kotlin/io/hydrolix/ketchup/model/expr/literal.kt | hydrolix | 591,402,754 | false | null | package io.hydrolix.ketchup.model.expr
import co.elastic.clients.elasticsearch._types.FieldValue
import java.time.*
interface Literal<T : Any> : Expr<T> {
companion object {
fun of(value: Any?): Literal<*> {
return when (value) {
null -> NullLiteral
is FieldValu... | 0 | Kotlin | 0 | 8 | d8583f26d8219f12c82ba5bb1be18024eefd02c1 | 9,767 | ketchup | Apache License 2.0 |
src/main/kotlin/com/kotlinspring/exception/CourseNotFoundException.kt | osawa-koki | 852,160,116 | false | {"Kotlin": 17093, "Dockerfile": 237} | package com.kotlinspring.exception
import java.lang.RuntimeException
class CourseNotFoundException(message: String) : RuntimeException(message) {
}
| 0 | Kotlin | 0 | 0 | 6e0972afdb23976fc384a32a224a6f26044198b5 | 150 | course-catalog-service | MIT License |
src/main/kotlin/it/valeriovaudi/vauthenticator/openid/connect/userinfo/ClaimsProvider.kt | bassista | 262,500,046 | true | {"Kotlin": 89774, "JavaScript": 9725, "HTML": 1854, "Dockerfile": 178} | package it.valeriovaudi.vauthenticator.openid.connect.userinfo
import it.valeriovaudi.vauthenticator.account.Account
import java.time.LocalDateTime
import java.time.ZoneOffset
typealias ClaimsProvider = (Account, UserInfo) -> UserInfo
object EmailClaimsProvider : ClaimsProvider {
override fun invoke(account: Acc... | 0 | null | 0 | 0 | ed4ec3f1bc0773a99f165f2c6d6489067684e662 | 1,099 | vauthenticator | Apache License 2.0 |
src/main/kotlin/it/valeriovaudi/vauthenticator/openid/connect/userinfo/ClaimsProvider.kt | bassista | 262,500,046 | true | {"Kotlin": 89774, "JavaScript": 9725, "HTML": 1854, "Dockerfile": 178} | package it.valeriovaudi.vauthenticator.openid.connect.userinfo
import it.valeriovaudi.vauthenticator.account.Account
import java.time.LocalDateTime
import java.time.ZoneOffset
typealias ClaimsProvider = (Account, UserInfo) -> UserInfo
object EmailClaimsProvider : ClaimsProvider {
override fun invoke(account: Acc... | 0 | null | 0 | 0 | ed4ec3f1bc0773a99f165f2c6d6489067684e662 | 1,099 | vauthenticator | Apache License 2.0 |
app/src/main/java/com/gusto/lunchmenu/ui/MainFragment.kt | yousufsyed | 878,579,050 | false | {"Kotlin": 30428} | package com.gusto.lunchmenu.ui
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.gusto.lunchmenu.databinding.FragmentMainBinding
class MainFragment : Fragment() {
private var _binding: FragmentMainBi... | 0 | Kotlin | 0 | 0 | 4c6facd10261340c9adbbc47893d6305285d66ce | 738 | LunchMenu | Apache License 2.0 |
app/src/main/java/com/uchihan/smartb_card/domain/use_case/GetAllCardsUseCase.kt | devAhmadHamdy | 469,781,505 | false | {"Kotlin": 42969} | package com.uchihan.smartb_card.domain.use_case
import com.uchihan.smartb_card.data.models.RoomUserModel
import com.uchihan.smartb_card.data.repository.NearbyRepoImpl
import com.uchihan.smartb_card.domain.repository.NearbyRepo
import javax.inject.Inject
class GetAllCardsUseCase @Inject constructor(private val reposit... | 0 | Kotlin | 0 | 0 | c4ea92fe109977021a96b27267d5aa28e5d02c59 | 444 | Smart-B-Card | Apache License 2.0 |
core/src/main/java/com/trivago/core/network/AuthInterceptor.kt | aldefy | 371,089,453 | true | {"Kotlin": 113316, "Shell": 107} | package com.trivago.core.network
import com.trivago.core.settings.Settings
import okhttp3.Interceptor
import okhttp3.Response
class AuthInterceptor(
private val settings: Settings
) : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
var chainRequest = chain.request()
... | 0 | null | 0 | 1 | 59ef8857d0cdf9ac50836a25bc61273a30ca5928 | 683 | trivago | MIT License |
microapps/CompassApp/app/src/main/java/com/arcgismaps/toolkit/compassapp/screens/MapViewModel.kt | Esri | 585,717,773 | false | {"Kotlin": 226226, "Shell": 13696} | /*
*
* Copyright 2023 Esri
*
* 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... | 9 | Kotlin | 3 | 9 | d923389fe74b0bf0643865edc6bf3164cfdb9b5b | 1,364 | arcgis-maps-sdk-kotlin-toolkit | Apache License 2.0 |
relive-simulator-browser/src/jsMain/kotlin/xyz/qwewqa/relive/simulator/browser/JsSimulator.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.browser
import kotlinx.browser.window
import kotlinx.coroutines.await
import kotlinx.coroutines.cancel
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromString
import kotlinx.... | 0 | Kotlin | 11 | 7 | 39f4a1a40592c8a0cec71963e65a2d946319e1f7 | 14,874 | relight | MIT License |
dagger-spi-validations/dagger-validator/src/main/java/dev/arunkumar/dagger/validator/Validator.kt | arunkumar9t2 | 187,366,494 | false | null | package dev.arunkumar.dagger.validator
import javax.inject.Inject
class Validator
@Inject
constructor(
private val tridentOptions: TridentOptions,
private val validations: Set<@JvmSuppressWildcards Validation>
) {
fun doValidation() {
if (tridentOptions.enabled) {
validations.forEach {... | 1 | Kotlin | 7 | 21 | dd3ab51b21915b12f4ecffbb817159db29c953a9 | 404 | blog-resources | Apache License 2.0 |
src/main/kotlin/ru/krindra/vknorthtypes/stories/StoriesStoryStats.kt | kravandir | 745,597,090 | false | {"Kotlin": 633233} | package ru.krindra.vknorthtypes.stories
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class StoriesStoryStats (
@SerialName("answer") val answer: StoriesStoryStatsStat,
@SerialName("views") val views: StoriesStoryStatsStat,
@SerialName("replies") val ... | 0 | Kotlin | 0 | 0 | 508d2d1d59c4606a99af60b924c6509cfec6ef6c | 668 | VkNorthTypes | MIT License |
markdown-editor/src/jvmMain/kotlin/me/okonecny/markdowneditor/toolbar/TextToolbarButton.kt | konecny-ondrej | 784,920,382 | false | {"Kotlin": 223790} | package me.okonecny.markdowneditor.toolbar
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.TooltipArea
import androidx.compose.foundation.clickable
import androidx.compose.foundation.text.BasicText
import androidx.compose.material.MaterialTheme
import androidx.compose.ru... | 1 | Kotlin | 0 | 6 | 0e1f0019178329dd2f8194bbd760355228ee989c | 2,082 | compose-markdown-editor | MIT License |
app/src/main/java/com/bikcode/rickandmortycompose/presentation/util/Constants.kt | Bikcodeh | 412,662,765 | false | {"Kotlin": 120155} | package com.bikcode.rickandmortycompose.presentation.util
object Constants {
const val DETAILS_CHARACTER_KEY = "characterId"
} | 0 | Kotlin | 1 | 0 | 65f77b49df3ed70b7469dc69deaed8bc56fdef9a | 132 | RickAndMortyCompose | MIT License |
components/archive/search/src/main/java/com/flipperdevices/archive/search/fragments/SearchFragment.kt | oxesb | 593,943,344 | false | null | package com.flipperdevices.archive.search.fragments
import android.os.Bundle
import androidx.compose.runtime.Composable
import androidx.fragment.app.viewModels
import com.flipperdevices.archive.search.composable.ComposableSearch
import com.flipperdevices.archive.search.di.SearchComponent
import com.flipperdevices.arch... | 0 | Kotlin | 0 | 0 | f746a387e95398083f5f6e06829363aa2580fad5 | 1,729 | Flipper-Android-App | MIT License |
apps/intellij/src/main/kotlin/dev/nx/console/models/NxGeneratorOption.kt | nrwl | 137,811,219 | false | null | package dev.nx.console.models
import com.google.gson.JsonDeserializationContext
import com.google.gson.JsonDeserializer
import com.google.gson.JsonElement
import com.google.gson.annotations.SerializedName
import java.lang.reflect.Type
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@... | 40 | null | 210 | 1,307 | 990e2dfb2cdc928d4041654d40d8e8c4c5cb45a6 | 5,203 | nx-console | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsremandandsentencingapi/controller/AppearanceOutcomeController.kt | ministryofjustice | 688,886,051 | false | {"Kotlin": 239154, "Dockerfile": 1373} | package uk.gov.justice.digital.hmpps.hmppsremandandsentencingapi.controller
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.responses.ApiResponse
import io.swagger.v3.oas.annotations.responses.ApiResponses
import io.swagger.v3.oas.annotations.tags.Tag
import jakarta.persistence.Enti... | 1 | Kotlin | 0 | 0 | 760f294ff9b9b55f5e376faf3dbf092ff0f1dcca | 2,737 | hmpps-remand-and-sentencing-api | MIT License |
app/src/iosMain/kotlin/main.kt | 2BAB | 810,182,576 | false | {"Kotlin": 46775, "Ruby": 2624, "Swift": 2268} | import androidx.compose.ui.window.ComposeUIViewController
import me.xx2bab.mediapiper.App
import me.xx2bab.mediapiper.Startup
import me.xx2bab.mediapiper.llm.LLMOperatorFactory
import me.xx2bab.mediapiper.llm.LLMOperatorSwift
import org.koin.dsl.module
import platform.UIKit.UIViewController
fun MainViewController(): U... | 0 | Kotlin | 0 | 1 | 832f05c904a3b0cfab77e88aca9c491e843b6228 | 612 | MediaPiper | Apache License 2.0 |
src/main/kotlin/io/docrozza/provenance/model/Derivation.kt | docrozza | 427,398,438 | false | null | package io.docrozza.provenance.model
/**
* A derivation qualification of an entity
*/
interface Derivation : EntityInfluence {
override val kind: Kind get() = Kind.Derivation
val hadUsage: UsageOrRef?
val hadGeneration: GenerationOrRef?
} | 1 | Kotlin | 0 | 0 | 73979641c9b956b4318af3c98a1e7eef63eca9fd | 253 | provenance | MIT License |
sessionkotlin/lib/src/test/kotlin/backend/ObjectFormatterTest.kt | sessionkotlin | 467,159,660 | false | {"Kotlin": 365663, "Makefile": 1801} | package backend
import com.github.sessionkotlin.lib.backend.message.ObjectFormatter
import com.github.sessionkotlin.lib.backend.message.SKMessage
import org.junit.jupiter.api.Test
import java.nio.ByteBuffer
import kotlin.test.assertEquals
class ObjectFormatterTest {
@Test
fun `test one msg`() {
val f... | 0 | Kotlin | 0 | 1 | 558837e9525987c9196e00f796489c041928a50d | 571 | sessionkotlin | MIT License |
app/src/main/java/com/acmvit/c2c2021/ui/onboarding/WelcomeAdapter.kt | ACM-VIT | 344,539,870 | false | null | package com.acmvit.c2c2021.ui.onboarding
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.View.GONE
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintLayout
import ... | 0 | Kotlin | 2 | 7 | 78570ff7f93ec0d5d2075925b82344d6be8fb50b | 3,340 | c2c-android-2021 | MIT License |
src/main/kotlin/de/tobiasblaschke/midipi/lib/midi/devices/roland/integra7/domain/Setup.kt | milnet2 | 309,163,438 | false | null | package de.tobiasblaschke.midipi.lib.midi.devices.roland.integra7.domain
data class Setup(
val soundMode: SoundMode,
val studioSetBankSelectMsb: Int,
val studioSetBankSelectLsb: Int,
val studioSetPc: Int,
) {
init {
assert(studioSetBankSelectMsb in 0..127) { "Disallowed value $studioSetBank... | 0 | null | 0 | 4 | 486f5ef85d80baf1e80786109824326be8a1f1e3 | 561 | integra7-lib | MIT License |
shared/src/commonMain/kotlin/feature_detail/domain/tv/model/TvSeriesDetail.kt | tolgaprm | 712,824,422 | false | {"Kotlin": 266262, "Swift": 657, "Shell": 228} | package feature_detail.domain.tv.model
import feature_detail.domain.model.credits.Cast
import feature_detail.domain.model.credits.Director
import feature_detail.domain.model.watchProvider.WatchProviderItem
data class TvSeriesDetail(
val id: Int,
val posterPath: String?,
val releaseDate: String,
val na... | 2 | Kotlin | 0 | 0 | cfcb79b8234b6024b817df7632fc6fb7df8c64e5 | 671 | MovaApp-compose-multiplatform | Apache License 2.0 |
Healthcare-app/android/MDBRealmPatient/app/src/main/java/com/wekanmdb/storeinventory/ui/consultation/DoctorNotesAdapter.kt | realm | 422,284,529 | false | {"Kotlin": 966534, "Swift": 867269, "Objective-C": 232478, "TypeScript": 75527, "JavaScript": 32651, "HTML": 2365, "Ruby": 2276, "Less": 31} | package com.wekanmdb.storeinventory.ui.consultation
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.wekanmdb.storeinventory.databinding.RecyclerTextviewItemBinding
class DoctorNotesAdapter(val context: Context)... | 0 | Kotlin | 1 | 8 | e57077e2c26a75db4e80dd40909f12dca4a431e0 | 1,261 | realm-sync-demos | Apache License 2.0 |
Android/app/src/main/java/com/plantry/presentation/profile/viewmodel/ProfileAlarmTimeViewModel.kt | GDSC-SWU | 736,526,220 | false | {"Kotlin": 312709, "Java": 284329, "Python": 1946, "Dockerfile": 370} | package com.plantry.presentation.profile.viewmodel
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.plantry.coreui.view.UiState
import com.plantry.data.ApiPool
import kotlinx.coro... | 0 | Kotlin | 0 | 3 | 7a8074ba1a76027fe09077dd490c8c7eb8a87c9f | 872 | 2024-Plantry-SolutionChallenge | MIT License |
csstype-kotlin/src/jsMain/kotlin/web/cssom/AutoRepeat.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.cssom
import seskar.js.JsValue
sealed external interface AutoRepeat {
companion object {
@JsValue("auto-fill")
val autoFill: AutoRepeat
@JsValue("auto-fit")
val autoFit: AutoRepeat
}
}
| 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 285 | types-kotlin | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/jupiter/ui/tokens/presenter/SwapTokensCellModelPayload.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.wallet.jupiter.ui.tokens.presenter
import org.p2p.wallet.jupiter.interactor.model.SwapTokenModel
data class SwapTokensCellModelPayload(
val hasPopularLabel: Boolean,
val isSearchResultItem: Boolean,
val tokenModel: SwapTokenModel
)
| 8 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 262 | key-app-android | MIT License |
app/src/main/java/io/zoemeow/dutapp/repository/SubjectCacheFileRepository.kt | ZoeMeow5466 | 493,732,599 | false | null | package io.zoemeow.dutapp.repository
import androidx.compose.runtime.snapshots.SnapshotStateList
import com.google.gson.Gson
import io.zoemeow.dutapp.model.account.AccountInformationItem
import io.zoemeow.dutapp.model.cache.SubjectCacheItem
import io.zoemeow.dutapp.model.subject.SubjectFeeItem
import io.zoemeow.dutapp... | 5 | Kotlin | 2 | 0 | 4bfe9c241a444c1942ba7a549d5222348e448860 | 4,368 | DUTApp_API | MIT License |
app/src/main/java/blackburn/io/catchup/ui/entrance/EntranceViewModel.kt | Hpark11 | 149,882,485 | false | null | package blackburn.io.catchup.ui.entrance
import android.arch.lifecycle.MutableLiveData
import blackburn.io.catchup.app.BaseViewModel
import blackburn.io.catchup.app.Define
import blackburn.io.catchup.service.app.DataService
import blackburn.io.catchup.service.app.SchedulerUtil
import blackburn.io.catchup.service.app.S... | 0 | Kotlin | 0 | 1 | 2cbe1ea269f83ca5c60ab7e9457dd7477476e4d4 | 3,144 | CatchUp-Android | Apache License 2.0 |
app/src/main/java/com/harissabil/fisch/feature/profile/presentation/component/ProfileMoreOptionBottomSheet.kt | ngud-119 | 876,441,396 | false | {"Kotlin": 483869} | package com.harissabil.fisch.feature.profile.presentation.component
import android.content.res.Configuration
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compo... | 0 | Kotlin | 0 | 3 | 960599f575cda0d39cb6fea1bd39a6da1825530e | 3,365 | Kotlin-fishingApp- | MIT License |
multiplatform/src/commonMain/kotlin/com/consolediscounts/domain/UseCase.kt | mrcartmanes | 201,235,732 | false | null | package com.consolediscounts.domain
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
abstract class UseCase<in Params, out Type> {
abstract suspend fun run(scope: CoroutineScope, params: Params): Type
suspend operator fun invoke(
para... | 0 | Kotlin | 0 | 1 | 9cd60222bf61bdfd5a5186a6255ebe7e12a49bc7 | 679 | console_discounts | Apache License 2.0 |
app/src/main/java/ani/dantotsu/util/AlertDialogBuilder.kt | rebelonion | 706,426,682 | false | {"Kotlin": 2576938} | package ani.dantotsu.util
import android.app.AlertDialog
import android.content.Context
import android.view.View
import ani.dantotsu.R
class AlertDialogBuilder(private val context: Context) {
private var title: String? = null
private var message: String? = null
private var posButtonTitle: String? = null
... | 47 | Kotlin | 83 | 1,209 | dec990c24c6b3c79821df5a2bb34b90ef33b6880 | 5,568 | Dantotsu | Condor Public License v1.1 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/secretsmanager/CfnSecretGenerateSecretStringPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION")
package cloudshift.awscdk.dsl.services.secretsmanager
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.IResol... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 7,602 | awscdk-dsl-kotlin | Apache License 2.0 |
src/test/kotlin/com/ex_dock/ex_dock/frontend/template_engine/TemplateEngineVerticleTest.kt | rensPols | 849,499,548 | false | {"Kotlin": 36915, "Dockerfile": 511} | package com.ex_dock.ex_dock.frontend.template_engine
import com.ex_dock.ex_dock.frontend.template_engine.template_data.single_use.SingleUseTemplateData
import com.ex_dock.ex_dock.frontend.template_engine.template_data.single_use.SingleUseTemplateDataCodec
import io.vertx.core.eventbus.EventBus
import io.vertx.junit5.V... | 14 | Kotlin | 0 | 2 | 54268d24375a78e50a2cb78235256e391674927f | 1,738 | ex-dock | Apache License 2.0 |
src/jvmMain/kotlin/com/github/ikovalyov/infrastructure/dynamodb/repository/CrudRepository.kt | ikovalyov | 355,338,939 | false | null | package com.github.ikovalyov.infrastructure.dynamodb.repository
import com.benasher44.uuid.Uuid
import com.github.ikovalyov.model.markers.IEditable
import io.micronaut.http.HttpStatus
import kotlinx.coroutines.future.await
import mu.KotlinLogging
import software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient
impo... | 25 | Kotlin | 0 | 0 | 29a66394e644641757444dca6b30230d1505c22b | 2,117 | kotlin-blogpost-engine | MIT License |
htmlAnnotator-compose/src/commonMain/kotlin/com/ravenl/htmlannotator/compose/handler/PreAnnotatedHandler.kt | RavenLiao | 772,909,415 | false | {"Kotlin": 157383, "Swift": 594} | package com.ravenl.htmlannotator.compose.handler
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.font.FontFamily
import com.ravenl.htmlannotator.compose.styler.SpanTextStyler
import com.ravenl.htmlannotator.core.TextStyler
import com.ravenl.htmlannotator.core.handler.AbsPreHandler
import com.... | 0 | Kotlin | 0 | 3 | b60aec48b44be2cfefb797376a74f05c52a98bce | 662 | HtmlAnnotator | Apache License 2.0 |
src/main/kotlin/solve/rendering/engine/scene/RenderObject.kt | prime-slam | 542,695,410 | false | {"Kotlin": 342087, "GLSL": 4548} | package solve.rendering.engine.scene
import solve.rendering.engine.components.Component
class RenderObject(
name: String,
val transform: Transform = Transform(),
components: List<Component> = emptyList()
) {
var name = name
private set
private val _components = components.toMutableList()
... | 51 | Kotlin | 0 | 8 | 53abd97d2231d9c498c0a5f3e5a08aadf215228f | 1,650 | SOLVE | MIT License |
src/main/kotlin/no/nav/familie/ba/sak/kjerne/brev/DokumenDistribueringUtils.kt | navikt | 224,639,942 | false | {"Kotlin": 6319849, "Gherkin": 731897, "PLpgSQL": 4478, "Shell": 1628, "Dockerfile": 196} | package no.nav.familie.ks.sak.kjerne.brev
import no.nav.familie.http.client.RessursException
import org.springframework.http.HttpStatus
// 410 GONE er unikt for bruker død og ingen dødsboadresse mot Dokdist
// https://nav-it.slack.com/archives/C6W9E5GPJ/p1647956660364779?thread_ts=1647936835.099329&cid=C6W9E5GPJ
fun ... | 3 | Kotlin | 1 | 9 | aa93647aa1ab86907d2934fda0f522fcaa44c45c | 1,177 | familie-ba-sak | MIT License |
app/src/main/java/network/o3/o3wallet/Portfolio/AssetListAdapter.kt | sunny2come | 138,856,357 | true | {"Kotlin": 359213, "Java": 18741} | package network.o3.o3wallet.Portfolio
import android.content.Context
import android.content.Intent
import android.support.v4.content.ContextCompat
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.TextView
import network.o3... | 0 | Kotlin | 0 | 0 | 0c786976e7c81666eca71e6de4b4434f40e9ec3b | 5,239 | O3Android | MIT License |
app/src/main/java/com/simonren/vhal/sample/car/VehicleUxRestrictionsManager.kt | SimonRHW | 553,563,468 | false | {"Kotlin": 30528} | package com.simonren.vhal.sample.car
import android.car.Car
import android.car.drivingstate.CarUxRestrictions
import android.car.drivingstate.CarUxRestrictionsManager
import com.simonren.vhal.sample.util.Logger
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coro... | 0 | Kotlin | 0 | 0 | d5ce0469f266d86b5f926b789ae629e9e75ca174 | 3,043 | AAOSCodeSample | Apache License 2.0 |
app/src/main/java/com/beeete2/android/examples/dagger2/presentation/view/detail/DetailViewModel.kt | beeete2 | 237,577,550 | false | null | package com.beeete2.android.examples.dagger2.presentation.view.detail
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.beeete2.android.examples.dagger2.App
import com.squareup.inject.assisted.Assisted
import com.squareup.inject.assisted.... | 0 | Kotlin | 0 | 0 | a368182c6cda27719f1525a4d740f0c59f4418f0 | 742 | android-dagger2-example | Apache License 2.0 |
app/src/main/java/com/example/counts/ItemModel.kt | jirois | 262,518,092 | false | null | package com.example.counts
data class ItemModel(val name: String, val number: Int) | 1 | Kotlin | 0 | 0 | 0c65db514806ab1518be5e40db08e9e03f35a451 | 83 | counts | MIT License |
src/main/kotlin/net/defracted/adminutils/commands/Back.kt | httpolar | 253,773,988 | false | {"Kotlin": 32939} | package net.defracted.adminutils.commands
import net.defracted.adminutils.Main
import net.defracted.adminutils.util.Formatters.chat
import org.bukkit.Sound
import org.bukkit.command.Command
import org.bukkit.command.CommandExecutor
import org.bukkit.command.CommandSender
import org.bukkit.entity.Player
class Back(pr... | 0 | Kotlin | 1 | 3 | 4436719d5ac2cd3eb77aa23036922ddebbc685bb | 1,568 | AdminUtils-1.15 | MIT License |
app/src/main/java/com/example/androidshowcase/ui/libraries/imageView/CircleImageViewActivity.kt | dudupopkhadze | 279,800,962 | false | null | package com.example.androidshowcase.ui.libraries.imageView
import android.content.Context
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.MenuItem
import com.example.androidshowcase.R
import com.example.androidshowcase.ui.ComponentActivity
cla... | 5 | Kotlin | 4 | 2 | b38c6495a4f1565e6c882bc4e7d55c77384c17b2 | 1,087 | Android-Showcase | MIT License |
features/norris-facts/domain/src/main/kotlin/dev/programadorthi/norris/domain/usecase/FactsUseCase.kt | programadorthi | 352,469,479 | false | null | package dev.programadorthi.norris.domain.usecase
import dev.programadorthi.norris.domain.model.Category
import dev.programadorthi.norris.domain.model.Fact
import dev.programadorthi.norris.domain.model.LastSearch
import dev.programadorthi.shared.domain.Result
interface FactsUseCase {
suspend fun categories(limit: ... | 0 | Kotlin | 1 | 23 | f62cb1811621ec328c567bbe6bd61b02890ad46a | 483 | android-super-app | MIT License |
core/src/test/java/id/rsdiz/thegamedb/core/data/source/remote/response/developer/ListDevelopersResponseTest.kt | rsdiz | 370,336,982 | false | null | package id.rsdiz.thegamedb.core.data.source.remote.response.developer
import org.junit.Assert.*
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
/**
* Class for testing [ListDevelopersResponse] class
*/
@RunWith(JUnit4::class)
class ListDevelopersResponseTest {
/**
* T... | 0 | Kotlin | 0 | 0 | a1eb83210432be9b30c2f6d0d92f618c5ea382a5 | 1,246 | the-game-db-android-app | MIT License |
app/src/main/java/com/san/ui/MainActivity.kt | San-Moshe | 245,814,873 | false | null | package com.san.ui
import android.os.Bundle
import androidx.navigation.findNavController
import androidx.navigation.ui.setupActionBarWithNavController
import com.san.R
import com.san.base.BaseActivity
class MainActivity : BaseActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate... | 0 | Kotlin | 0 | 0 | e49b39b42d0b566c44544099403ba7e3b21cc4fb | 619 | Workout-Tracker | Apache License 2.0 |
.teamcity/BitcoinABC/vcsRoots/BitcoinABCGit.kt | copernet | 140,652,223 | false | null | package BitcoinABC.vcsRoots
import jetbrains.buildServer.configs.kotlin.v2017_2.*
import jetbrains.buildServer.configs.kotlin.v2017_2.vcs.GitVcsRoot
object BitcoinABCGit : GitVcsRoot({
uuid = "57a40841-f1d2-44cc-8b04-843863b08cc6"
id = "BitcoinABCGit"
name = "ssh://vcs@reviews.bitcoinabc.org:2221/source/b... | 1 | null | 22 | 68 | 73342a856b84e2c1f6a043e8e91c3a570772c721 | 573 | wormhole | MIT License |
src/test/kotlin/net/framework/api/rest/data/TestCustomer.kt | Greeneyes-cyber | 261,923,558 | false | {"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "XML": 1, "YAML": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 9, "Java": 15} | package net.framework.api.rest.data
/**
* テスト用Customerデータクラス。
*/
data class TestCustomer (
var id: String,
var name: String,
var gender: Int,
var age: Int
) | 1 | null | 1 | 1 | aa44a909dc0c98d51aff61880eb945873e1a0793 | 191 | rest-api-framework | MIT License |
android/src/org/jetbrains/android/refactoring/UnusedResourcesDialog.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,694 | android | Apache License 2.0 |
PlayerLib/BellsVibrations/src/main/java/com/yc/bellsvibrations/IAudioVolume.kt | yangchong211 | 105,117,953 | false | null | package com.yc.bellsvibrations
/**
* <pre>
* @author yangchong
* blog : https://github.com/yangchong211
* GitHub : https://github.com/yangchong211/YCServerLib
* time : 2018/11/9
* desc : 手机声音设置帮助类接口
* doc :
* </pre>
*/
interface IAudioVolume {
/**
* 获取指定类型铃声的响铃模式
*/
... | 15 | null | 743 | 3,157 | 83c22ffbd61186aa86d29a325755e5f796d1e117 | 1,060 | YCAppTool | Apache License 2.0 |
test-suite-kotlin/src/test/kotlin/io/micronaut/inject/property/MapFormatSpec.kt | weizai118 | 178,312,578 | true | {"Java Properties": 3, "YAML": 3, "Shell": 6, "Gradle": 52, "AsciiDoc": 242, "Markdown": 11, "Batchfile": 1, "Text": 3, "Ignore List": 1, "Java": 2638, "INI": 9, "Groovy": 1086, "XML": 17, "HTML": 11, "CSS": 82, "JavaScript": 4, "SVG": 9, "JSON": 4, "Handlebars": 1, "Fluent": 1, "Kotlin": 64} | /*
* Copyright 2017-2019 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Java | 0 | 0 | c6407591d9550f6f657c275277228c7edfd170df | 1,076 | micronaut-core | Apache License 2.0 |
compiler/tests-spec/testData/diagnostics/linked/constant-literals/integer-literals/long-integer-literals/p-1/neg/2.1.kt | damenez | 189,964,139 | true | {"Kotlin": 37481242, "Java": 7489008, "JavaScript": 157778, "HTML": 74773, "Lex": 23159, "TypeScript": 21255, "IDL": 10895, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80} | // !CHECK_TYPE
// SKIP_TXT
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-draft
* PLACE: constant-literals, integer-literals, long-integer-literals -> paragraph 1 -> sentence 2
* NUMBER: 1
* DESCRIPTION: Various integer literals with not allowed long literal mark in lower case (type checking)... | 0 | Kotlin | 1 | 2 | dca23f871cc22acee9258c3d58b40d71e3693858 | 741 | kotlin | Apache License 2.0 |
db-migration-engine/src/test/kotlin/org/dandelero/dbmigrations/engine/version/semver1/SemverVersionTest.kt | dandelero | 225,947,512 | false | null | /*
* Copyright 2019 Dandelero (<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 agreed t... | 2 | Kotlin | 1 | 1 | ad2a4e3bba5ff13ecc768b067f6d46e5275bda32 | 2,797 | db-migration-builder | Apache License 2.0 |
lib/src/main/java/com/cexdirect/lib/order/identity/util/SsnWatcher.kt | decent-finance | 190,219,501 | false | null | /*
* Copyright 2019 CEX.IO Ltd (UK)
*
* 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 appli... | 1 | Kotlin | 1 | 1 | 0701a5be69007b1c9ffb3d03775410e413629417 | 2,342 | direct-android | Apache License 2.0 |
lib/src/main/java/com/cexdirect/lib/order/identity/util/SsnWatcher.kt | decent-finance | 190,219,501 | false | null | /*
* Copyright 2019 CEX.IO Ltd (UK)
*
* 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 appli... | 1 | Kotlin | 1 | 1 | 0701a5be69007b1c9ffb3d03775410e413629417 | 2,342 | direct-android | Apache License 2.0 |
gdx2d-demoDesktop/src/main/kotlin/ch/hevs/gdx2d/demos/physics/pinball/SensorSpinner.kt | hevs-isi | 10,511,380 | false | {"Maven POM": 6, "Markdown": 6, "Text": 1, "Ignore List": 4, "Shell": 4, "Git Attributes": 1, "XML": 10, "EditorConfig": 1, "YAML": 1, "Java": 66, "Kotlin": 109, "JSON": 1, "GLSL": 28} | package ch.hevs.gdx2d.demos.physics.pinball
import ch.hevs.gdx2d.lib.GdxGraphics
import ch.hevs.gdx2d.lib.interfaces.DrawableObject
import ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.g2d.TextureRegion
import com.badlogic.gdx.math.Vector2
class SensorSp... | 20 | Kotlin | 11 | 30 | 58c1865c9708571271d8e7c468d9b1672e778e31 | 1,274 | gdx2d | Apache License 2.0 |
src/main/kotlin/co/nums/intellij/aem/htl/psi/HtlCommentMixin.kt | paweltarkowski | 81,607,562 | false | {"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Java Properties": 1, "Java": 1, "XML": 4, "JSON": 6, "SVG": 16, "Kotlin": 78, "JFlex": 1} | package co.nums.intellij.aem.htl.psi
import com.intellij.extapi.psi.ASTWrapperPsiElement
import com.intellij.lang.ASTNode
import com.intellij.psi.PsiComment
import com.intellij.psi.tree.IElementType
abstract class HtlCommentMixin(node: ASTNode) : ASTWrapperPsiElement(node), PsiComment {
override fun getTokenType... | 1 | null | 7 | 1 | 14991f7bba6bcddfa40353a7848f3541cb9a28de | 380 | aem-intellij-plugin | MIT License |
app-inspection/api/src/com/android/tools/idea/appinspection/internal/AppInspectionProcessDiscovery.kt | phpc0de | 470,555,455 | 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 | 1 | 1 | 79e20f027ca1d047b91aa7acd92fb71fa2968a09 | 7,741 | idea-android | Apache License 2.0 |
app/src/main/java/com/danhdueexoictif/androidgenericadapter/ui/widgets/VideoEnableWebChromeClient.kt | DanhDue | 251,030,651 | false | {"Gemfile.lock": 1, "Gradle Kotlin DSL": 6, "Shell": 3, "Ignore List": 5, "Dockerfile": 1, "Java Properties": 2, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Ruby": 2, "XML": 121, "Proguard": 2, "Kotlin": 186, "HTML": 1, "SVG": 1, "JSON": 3, "Java": 1, "Gradle": 2, "Text": 1} | package com.danhdueexoictif.androidgenericadapter.ui.widgets
import android.media.MediaPlayer
import android.media.MediaPlayer.OnCompletionListener
import android.media.MediaPlayer.OnPreparedListener
import android.view.SurfaceView
import android.view.View
import android.view.View.INVISIBLE
import android.view.View.VI... | 0 | Kotlin | 5 | 7 | 02e0d14f09140531c8911ff6af46ee5d8eda4941 | 8,832 | AndroidGenericAdapter | Apache License 2.0 |
003.ImportSampleUniversalMusicPlayer/mobile/src/androidTest/java/com/example/android/uamp/playback/SimplePlayback.kt | iOSDevLog | 111,998,970 | false | null | /*
* Copyright (C) 2014 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 applicable l... | 1 | null | 1 | 1 | fd35453373a28a6567bfc5ff8eef9229346b60a6 | 1,589 | KotlinDevLog | MIT License |
app/src/main/java/eu/kanade/tachiyomi/source/online/english/Tsumino.kt | ExiaHan | 119,199,272 | true | {"Kotlin": 1338392, "Java": 148266, "Shell": 1141} | package eu.kanade.tachiyomi.source.online.english
import android.net.Uri
import com.github.salomonbrys.kotson.*
import com.google.gson.JsonParser
import eu.kanade.tachiyomi.network.POST
import eu.kanade.tachiyomi.network.asObservableSuccess
import eu.kanade.tachiyomi.source.model.*
import eu.kanade.tachiyomi.source.on... | 0 | Kotlin | 0 | 1 | 1a811d09179ba1beefeaebc1fa2a70466e8f2c14 | 12,100 | TachiyomiEH | Apache License 2.0 |
app/src/main/java/com/cyberflow/sparkle/profile/viewmodel/ShareViewModel.kt | sparkle-technologies | 678,261,271 | false | {"Java": 2622804, "Kotlin": 426072} | package com.cyberflow.sparkle.profile.viewmodel
import com.cyberflow.base.viewmodel.BaseViewModel
class ShareViewModel : BaseViewModel() {
} | 1 | null | 1 | 1 | dfb48c9312186d3ccd47702c18f175bd0e620a87 | 144 | Sparkle-Android-V2 | MIT License |
src/systemtest/kotlin/de/unisaarland/cs/se/selab/systemtest/eventTests/StormEventTest.kt | Atharvakore | 872,001,311 | false | {"Kotlin": 614544} | package de.unisaarland.cs.se.selab.systemtest.eventTests
import de.unisaarland.cs.se.selab.systemtest.utils.ExampleSystemTestExtension
/**
*
*/
class StormEventTest : ExampleSystemTestExtension() {
override val description = "tests multiple storm events happened at the same tick "
override val corporations ... | 0 | Kotlin | 0 | 0 | 00f5a18e7d4c695f9d5e93451da2f864ebe77151 | 1,904 | Save-The-Saardines | MIT License |
app/src/main/java/com/example/byowsigner/ui/screen/WalletFormInput.kt | bitcoin-education | 607,962,286 | false | null | package com.example.byowsigner.ui.screen
import androidx.compose.foundation.text.KeyboardActionScope
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material3.Text
import androidx.compose.material3.TextField
import androidx.compose... | 0 | Kotlin | 0 | 0 | 3caa4a0c42d1c7c92f788f746693117b426767bb | 1,444 | byow-signer | MIT License |
app/src/main/java/com/commit451/gitlab/model/api/ProjectNamespace.kt | Commit451 | 39,787,724 | false | null | package com.commit451.gitlab.model.api
import android.os.Parcelable
import com.squareup.moshi.Json
import kotlinx.android.parcel.Parcelize
import java.util.Date
@Parcelize
data class ProjectNamespace(
@Json(name = "id")
var id: Long = 0,
@Json(name = "name")
var name: String? = null,
@Json(name = ... | 6 | Kotlin | 27 | 248 | 504b5311c00ac2b87ba728d74925c6f46e6c5781 | 868 | LabCoat | Apache License 2.0 |
src/main/java/top/ceclin/jrmp/ext/Method.kt | ceclin | 420,328,385 | false | null | package top.ceclin.jrmp.ext
import org.joor.Reflect
import java.io.ByteArrayOutputStream
import java.io.DataOutputStream
import java.lang.reflect.Method
import java.security.DigestOutputStream
import java.security.MessageDigest
import kotlin.math.min
@JvmInline
value class MethodSignature(val value: String) {
val... | 0 | Kotlin | 0 | 1 | ede902c568417cf9c5030b778e0a3da9ec41b018 | 1,106 | jrmp | MIT License |
src/test/kotlin/chat/willow/warren/extension/extended_join/ExtendedJoinExtensionTests.kt | WillowChat | 31,275,375 | false | null | package chat.willow.warren.extension.extended_join
import chat.willow.kale.IKale
import chat.willow.kale.IKaleIrcMessageHandler
import chat.willow.kale.IKaleMessageHandler
import chat.willow.kale.IKaleRouter
import chat.willow.kale.helper.CaseMapping
import chat.willow.kale.irc.message.rfc1459.JoinMessage
import chat.... | 5 | Kotlin | 2 | 8 | e4c538ad1e1dfcbd227a3a170cda4d8b162446a3 | 2,042 | Warren | ISC License |
app/src/main/java/io/horizontalsystems/bankwallet/core/Interfaces.kt | paycoin-com | 166,114,359 | true | {"Kotlin": 557149, "Ruby": 4769} | package io.horizontalsystems.bankwallet.core
import android.support.v4.hardware.fingerprint.FingerprintManagerCompat
import com.google.gson.JsonObject
import io.horizontalsystems.bankwallet.entities.*
import io.horizontalsystems.bankwallet.entities.Currency
import io.horizontalsystems.bankwallet.modules.transactions.C... | 0 | Kotlin | 0 | 0 | 485f4557b4e7a5df87b1ad563de032e8636455c7 | 5,244 | bank-wallet-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.