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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pusher-platform-core/src/main/kotlin/com/pusher/platform/subscription/ResumingSubscription.kt | pusher | 79,348,896 | false | null | package com.pusher.platform.subscription
import com.pusher.platform.ErrorResolver
import com.pusher.platform.SubscriptionListeners
import com.pusher.platform.logger.Logger
import com.pusher.platform.retrying.RetryStrategy.DoNotRetry
import com.pusher.platform.retrying.RetryStrategy.Retry
import elements.EOSEvent
impor... | 1 | Kotlin | 2 | 8 | fc36f9f242664c78559e22b644b0b862770b966d | 8,556 | pusher-platform-android | MIT License |
pusher-platform-core/src/main/kotlin/com/pusher/platform/subscription/ResumingSubscription.kt | pusher | 79,348,896 | false | null | package com.pusher.platform.subscription
import com.pusher.platform.ErrorResolver
import com.pusher.platform.SubscriptionListeners
import com.pusher.platform.logger.Logger
import com.pusher.platform.retrying.RetryStrategy.DoNotRetry
import com.pusher.platform.retrying.RetryStrategy.Retry
import elements.EOSEvent
impor... | 1 | Kotlin | 2 | 8 | fc36f9f242664c78559e22b644b0b862770b966d | 8,556 | pusher-platform-android | MIT License |
app/src/main/java/com/cusx/sunnyweather/SunnyWeatherApplication.kt | asveryniubi | 378,439,204 | false | null | package com.cusx.sunnyweather
import android.annotation.SuppressLint
import android.content.Context
import android.app.Application
class SunnyWeatherApplication : Application(){
companion object {
const val TOKEN = "<KEY>" // 填入你申请到的令牌值
@SuppressLint("StaticFieldLeak")
lateinit var cont... | 0 | Kotlin | 0 | 0 | 4a4652cd90022403baa7ff9359a67a7dd1465de4 | 437 | SunnyWeather | Apache License 2.0 |
app/src/main/java/com/swayy/musicpark/domain/use_cases/GetMusicUseCase.kt | gideonrotich | 557,405,183 | false | {"Kotlin": 274873} | package com.swayy.musicpark.domain.use_cases
import com.swayy.musicpark.domain.models.Track
import com.swayy.musicpark.domain.repository.MusicRepository
import com.swayy.musicpark.util.Resource
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
class GetMusicUseCase @Inject constructor(
private val re... | 0 | Kotlin | 6 | 58 | aa7ce4d7d4481a76b28de61a82d27958f92192d0 | 461 | MusicPark | MIT License |
src/main/kotlin/com/dotori/v2/domain/music/service/impl/ToggleMusicLikeServiceImpl.kt | Team-Ampersand | 569,110,809 | false | {"Kotlin": 421826, "Shell": 827} | package com.dotori.v2.domain.music.service.impl
import com.dotori.v2.domain.member.domain.entity.Member
import com.dotori.v2.domain.music.domain.entity.Music
import com.dotori.v2.domain.music.domain.entity.MusicLike
import com.dotori.v2.domain.music.domain.repository.MusicLikeRepository
import com.dotori.v2.domain.mus... | 2 | Kotlin | 3 | 15 | 6647b1f03ae7424af188d0003ad7025f992dca11 | 2,428 | Dotori-server-V2 | Apache License 2.0 |
src/main/kotlin/Main.kt | hugmouse | 391,981,044 | false | null | import java.net.InetSocketAddress
import java.net.ServerSocket
val QuotesOfTheDay = arrayOf("Play Team Fortress 2, it's free!\r\n", "Pay Team Fortress, it's not free!\r\n")
const val IP = "0.0.0.0"
const val PORT = 17
fun server() {
val server = ServerSocket()
server.bind(InetSocketAddress(IP, PORT))
prin... | 0 | Kotlin | 0 | 0 | 659223960abe05486dc02b57ef8f63e6372e5e32 | 764 | QOTDkotlin | The Unlicense |
app/src/main/java/com/example/tp1/MainActivity.kt | ClementTtn | 599,344,781 | false | null | package com.example.tp1
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.AutoCompleteTextView
import android.widget.ListView
import raw.TypeTrain
import raw.station
import raw.train
import java.time.Local... | 0 | Kotlin | 1 | 0 | 7483f1bafe6d2f2dfb7db08d0234d5c46cda813d | 5,197 | app_sncf | MIT License |
src/main/kotlin/redux/form/types.kt | night-crawler | 239,825,339 | false | null | @file:Suppress("PackageDirectoryMismatch")
package redux.form
import org.w3c.dom.events.Event
typealias Normalizer = (value: Any, previousValue: Any, allValues: Any, previousAllValues: Any) -> Any
typealias Formatter = (value: Any, name: String) -> Any
typealias Parser = (value: Any, name: String) -> Any
typealia... | 0 | Kotlin | 0 | 13 | 2088cf140358341cf5a49d0144fb010eb22a9048 | 1,888 | quiz-frontend | MIT License |
examples/micronaut/src/main/kotlin/xyz/chrisime/micronaut/Application.kt | chrisime | 318,823,804 | false | {"Kotlin": 42864} | package xyz.chrisime.micronaut
import io.micronaut.configuration.jooq.DSLContextFactory
import io.micronaut.context.annotation.EachBean
import io.micronaut.context.annotation.Factory
import io.micronaut.context.annotation.Replaces
import io.micronaut.runtime.Micronaut
import org.jooq.Configuration
import org.jooq.DSLC... | 0 | Kotlin | 0 | 1 | 8928ef38a891d697973790d354793fd07db16dc2 | 986 | CRooD | Apache License 2.0 |
vite-base/src/main/kotlin/config/ViteConfig.kt | CLOVIS-AI | 864,971,308 | false | {"Kotlin": 26104, "Shell": 556, "Dockerfile": 153} | package opensavvy.gradle.vite.base.config
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.provider.ListProperty
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.Nested
import org.intellij.lang.annotations.Language
/**
* The main configuration... | 0 | Kotlin | 0 | 0 | a9bb71f97e76be726a8410a9c42ed74740c7f7de | 3,948 | Vite-Kotlin | Apache License 2.0 |
backend/src/main/kotlin/com/congcoi123/example/backend/initializer/InternalTesting.kt | congcoi123 | 407,735,356 | false | {"Kotlin": 43120} | /**
The MIT License
Copyright (c) 2021 kong <<EMAIL>>
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, pub... | 0 | Kotlin | 0 | 2 | d181339c93ebb33d650217e3fa00dbd82fa57f57 | 3,715 | grpc-webflux-h2dbc | MIT License |
gaia-sdk-java/gaia-sdk-graphql/src/main/kotlin/gaia/sdk/request/type/EdgeKeyOne.kt | leftshiftone | 218,051,248 | false | {"Python": 597076, "TypeScript": 553203, "Kotlin": 517386, "JavaScript": 6976, "ANTLR": 2281} | package gaia.sdk.request.type
import gaia.sdk.client.Type
import gaia.sdk.request.intf.*
import gaia.sdk.client.Input
import gaia.sdk.Uuid
import gaia.sdk.ISO8601
import gaia.sdk.Struct
import gaia.sdk.request.input.*
import gaia.sdk.request.enumeration.*
/**
* This entity represents the output of an edge delete imp... | 8 | Python | 2 | 1 | 10190c1de4b2b5f1d4a5f014602c4ccc5c11bee4 | 463 | gaia-sdk | MIT License |
packages/graalvm/src/main/kotlin/elide/runtime/gvm/internals/node/inspector/NodeInspector.kt | elide-dev | 506,113,888 | false | null | /*
* Copyright (c) 2024 Elide Technologies, Inc.
*
* Licensed under the MIT license (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* https://opensource.org/license/mit/
*
* Unless required by applicable law or agreed to in writing,... | 39 | null | 16 | 97 | 652036fb4e8394e8ad1aced2f4bbfaa9e00a5181 | 1,562 | elide | MIT License |
src/main/kotlin/de/bringmeister/connect/product/application/cdn/ImageCdnService.kt | bringmeister | 142,316,754 | false | null | package de.bringmeister.connect.product.application.cdn
import de.bringmeister.connect.product.domain.CommandListener
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Service
@Service
class ImageCdnService() {
private val log: Logger = LoggerFactory.getLogger(this.java... | 0 | Kotlin | 15 | 71 | 237a48e37e71b467a02e5732010ad9d0339569c3 | 604 | event-sourcing-with-kotlin | MIT License |
demo-android/src/main/kotlin/com/kyant/monetdemo/MainActivity.kt | Kyant0 | 530,457,963 | false | {"Kotlin": 41150} | package com.kyant.monetdemo
import android.os.Bundle
import android.view.WindowManager
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.core.view.WindowCompat
import com.kyant.monet.demo.common.App
import com.kyant.monet.demo.com... | 0 | Kotlin | 3 | 60 | 34bf4b2c75efcb351111121020b634db5b79d2b8 | 876 | Monet | Apache License 2.0 |
adoptable-tails-mappers/src/main/kotlin/exception/UnsupportedCommandException.kt | ponomain | 665,605,182 | false | null | package ru.otus.otuskotlin.adoptabletails.mappers.exception
import ru.otus.otuskotlin.adoptabletails.common.models.PetAdCommand
class UnsupportedCommandException(cmd: PetAdCommand)
: Throwable("Wrong command $cmd at mapping toTransport stage") | 0 | Kotlin | 0 | 0 | c72d47b705241db900f432bbe5cfa049f35ab210 | 249 | AdoptableTails | Apache License 2.0 |
app/src/main/java/org/stepic/droid/code/data/AutocompleteDictionary.kt | StepicOrg | 42,045,161 | false | null | package org.stepic.droid.code.data
import ru.nobird.app.core.model.isNotOrdered
/**
* Class for fast search strings with common prefix
*/
class AutocompleteDictionary(
private val dict: Array<String>,
needSort: Boolean = true,
private val isCaseSensitive : Boolean = true
) {
companion object {
... | 13 | null | 56 | 189 | dd12cb96811a6fc2a7addcd969381570e335aca7 | 1,931 | stepik-android | Apache License 2.0 |
src/main/kotlin/AbstractExample.kt | Ravinnpawar | 518,852,237 | false | {"Kotlin": 13845, "Java": 4387} | //Abstract example
abstract class Person(name: String) {
init {
println("My name is $name.")
}
fun displaySSN(ssn: Int) {
println("My SSN is $ssn.")
}
abstract fun displayJob(description: String)
}
class AbstractExample(name: String): Person(name) {
override fun displayJob(... | 0 | Kotlin | 0 | 1 | 26b2b12c60581a62a5b241e9b5db4ddcf71f322a | 536 | KotlinStarter | MIT License |
websocket/src/main/java/com/angcyo/websocket/data/WSServerMessageInfo.kt | angcyo | 229,037,684 | false | {"Kotlin": 3365355, "JavaScript": 5542, "HTML": 1598} | package com.angcyo.websocket.data
import com.angcyo.websocket.WSClient
/**
*
* Email:<EMAIL>
* @author angcyo
* @date 2023/03/24
* Copyright (c) 2020 angcyo. All rights reserved.
*/
data class WSServerMessageInfo(
val client: WSClient,
/**消息*/
val message: String? = null,
/**消息字节数组, 不为空时, 优先使用此数... | 0 | Kotlin | 4 | 4 | 9b2d016c90f8cd6823fbcb675f3ef23a360e183c | 1,092 | UICoreEx | MIT License |
server-side/src/database/entity/UsersEntity.kt | sarnavakonar | 404,768,470 | false | {"Kotlin": 149152} | package main.database.entity
import main.util.Constants
import org.ktorm.entity.Entity
import org.ktorm.schema.Table
import org.ktorm.schema.int
import org.ktorm.schema.varchar
object UsersTable : Table<UsersEntity>(Constants.USERS_TABLE) {
val id = int("id").primaryKey().bindTo { it.id }
val username = varch... | 0 | Kotlin | 17 | 89 | ea0b04980ba82db5f85f9a64b64b10911a1f3f7a | 591 | Gamebaaz | MIT License |
android/src/main/java/io/github/alphicc/android/overlaySample/overlayScreen/OverlayViewModel.kt | alphicc | 426,521,641 | false | {"Kotlin": 97968} | package io.github.alphicc.android.overlaySample.overlayScreen
import com.alphicc.brick.TreeRouter
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
class OverlayViewModel(private val treeRouter: TreeRouter) {
private val _isVisible: MutableStateFlow<Boolean> = MutableStateF... | 3 | Kotlin | 1 | 55 | a7769d7e0480847cd016a85b0030f393f7ac57ee | 527 | Brick | MIT License |
domain/src/main/kotlin/no/nav/su/se/bakover/domain/klage/KlageClient.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.domain.klage
import arrow.core.Either
import no.nav.su.se.bakover.common.journal.JournalpostId
interface KlageClient {
fun sendTilKlageinstans(
klage: OversendtKlage,
journalpostIdForVedtak: JournalpostId,
): Either<KunneIkkeOversendeTilKlageinstans, Unit>
}
objec... | 4 | null | 1 | 1 | fbeb1614c40e0f6fce631d4beb1ba25e2f78ddda | 356 | su-se-bakover | MIT License |
ast/src/commonMain/kotlin/com/strumenta/kolasu/transformation/Transformation.kt | Strumenta | 91,565,400 | false | {"Kotlin": 1294547, "Java": 12160, "ANTLR": 5642} | package com.strumenta.kolasu.transformation
import com.strumenta.kolasu.model.Origin
internal sealed class ParameterValue
internal class PresentParameterValue(
val value: Any?,
) : ParameterValue()
internal data object AbsentParameterValue : ParameterValue()
fun asOrigin(source: Any): Origin? = if (source is O... | 94 | Kotlin | 12 | 112 | 2053bffbc615a35f06a3d49f59984a5e6a6568dd | 344 | kolasu | Apache License 2.0 |
demo-modalsheet/src/commonMain/kotlin/ModalBottomSheetDemo.kt | composablehorizons | 792,741,661 | false | {"Kotlin": 448181, "HTML": 4427, "Shell": 2331, "Swift": 538} | package com.composables.core.demo
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import ... | 4 | Kotlin | 12 | 347 | a0ad4da77edf38bbbb0d89f834f7255671b65167 | 3,355 | compose-unstyled | MIT License |
magellanx-core/src/test/java/com/ryanmoelter/magellanx/core/lifecycle/LifecycleStateTest.kt | ryanmoelter | 119,760,054 | true | {"Kotlin": 78473} | package com.ryanmoelter.magellanx.core.lifecycle
import com.ryanmoelter.magellanx.core.lifecycle.LifecycleState.Created
import com.ryanmoelter.magellanx.core.lifecycle.LifecycleState.Destroyed
import com.ryanmoelter.magellanx.core.lifecycle.LifecycleState.Resumed
import com.ryanmoelter.magellanx.core.lifecycle.Lifecyc... | 3 | Kotlin | 0 | 1 | 05667839f9acc95756addcffe57f3c967bad6f29 | 1,753 | magellanx | Apache License 2.0 |
android/src/main/java/jp/cordea/independence/MainFragment.kt | CORDEA | 273,670,110 | false | null | package jp.cordea.independence
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class MainFragment : Fragment(R.layout.main_fragment) {
private val viewModel by viewModels<MainViewModel>()
}
| 0 | Kotlin | 0 | 0 | c15c99ec39bda4cf3e96eb02f1ce27b0e6624bfb | 290 | Independence | Apache License 2.0 |
app/src/main/java/com/example/cheapac/data/mapper/CategoryMapper.kt | mtndrms | 715,470,930 | false | {"Kotlin": 198219} | package com.example.cheapac.data.mapper
import com.example.cheapac.domain.model.Category
import com.example.cheapac.presentation.common.CheapacIcons
import com.example.cheapac.utils.capitalize
fun stringtoCategory(category: String): Category {
return Category(
code = category,
title = betterCatego... | 0 | Kotlin | 0 | 0 | 0c3984513ff028fb404dfc21e0844795e7fe602b | 2,007 | cheapac | The Unlicense |
base/src/main/kotlin/browser/action/Import.kt | DATL4G | 372,873,797 | false | null | @file:JsModule("webextension-polyfill")
@file:JsQualifier("action")
package browser.action
import browser.browserAction.ColorArray
import browser.events.Event
import kotlin.js.Promise
/**
* Sets the title of the action. This shows up in the tooltip.
*/
public external fun setTitle(details: SetTitleDetails): Promis... | 0 | Kotlin | 1 | 37 | ab2a825dd8dd8eb704278f52c603dbdd898d1875 | 3,042 | Kromex | Apache License 2.0 |
app/src/main/java/com/example/amphibians/data/AppContainer.kt | aastorl | 864,301,505 | false | {"Kotlin": 24814} | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 0 | Kotlin | 0 | 0 | a3642e58624a58dd2612c53e932979b4ea8d64ac | 2,051 | Amphibians | Apache License 2.0 |
modules/thermo/gateway/src/main/kotlin/com/mussonindustrial/embr/thermo/ThermoGatewayHook.kt | mussonindustrial | 755,767,058 | false | {"Kotlin": 123703, "TypeScript": 47231, "JavaScript": 4721, "HTML": 2823, "CSS": 1212} | package com.mussonindustrial.embr.thermo
import com.inductiveautomation.ignition.common.expressions.ExpressionFunctionManager
import com.inductiveautomation.ignition.common.licensing.LicenseState
import com.inductiveautomation.ignition.common.script.ScriptManager
import com.inductiveautomation.ignition.common.script.h... | 5 | Kotlin | 1 | 5 | 181905c7d1460d74ad94d4c948983c3fc2e2992c | 2,108 | embr | MIT License |
database/src/main/java/com/cerminnovations/database/entities/tv/showingtoday/ShowingTodayRemoteKey.kt | mbobiosio | 324,425,383 | false | null | package com.cerminnovations.database.entities.tv.showingtoday
import androidx.room.Entity
import androidx.room.PrimaryKey
/**
* @Author <NAME>
* https://linktr.ee/mbobiosio
*/
@Entity(tableName = "showing_today_tv_remote_keys")
data class ShowingTodayRemoteKey(
@PrimaryKey
val tvId: Long,
val prevKey: ... | 0 | Kotlin | 3 | 7 | 07270aa17f45edabfb6792fd529c212e1c585ce4 | 350 | MoviesBoard | MIT License |
app/src/main/java/com/github/pakka_papad/search/SearchViewModel.kt | pakka-papad | 539,192,838 | false | {"Kotlin": 620531, "Java": 238206} | package com.github.pakka_papad.search
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.github.pakka_papad.Constants
import com.github.pakka_papad.R
import com.github.pakka_papad.data.music.Song
import com.github.pakka_papad.data.services.PlayerService
import com.github.pakka_papa... | 8 | Kotlin | 19 | 222 | 5235163fcb575bd14ccfb03343e2b995739dade6 | 3,599 | Zen | MIT License |
PluginsAndFeatures/azure-toolkit-for-intellij/src/test/java/com/microsoft/intellij/feedback/MSErrorReportHandlerScenario.kt | cyberstormdotmu | 440,130,291 | true | {"Java": 7164260, "Kotlin": 756475, "Scala": 151316, "JavaScript": 139165, "Gherkin": 127304, "CSS": 25903, "HTML": 23824, "Groovy": 22262, "Shell": 9550, "XSLT": 7141, "Batchfile": 2155} | package com.microsoft.intellij.feedback
import io.cucumber.java.en.Given
import io.cucumber.java.en.Then
import kotlin.test.assertEquals
class MSErrorReportHandlerScenario {
private lateinit var fullStacks: String
@Given("^the full call stacks to filter MSCallStacks$")
fun checkFilterMSCallStacks(input: ... | 0 | Java | 0 | 0 | f180ac262e0b84c6c8083166f0bb49010e134855 | 547 | azure-tools-for-java | MIT License |
app/src/main/java/com/example/gallery/ui/MainActivity.kt | Lmh170 | 482,977,075 | false | null | package org.kenvyra.gallery.ui
import android.Manifest
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.provider.MediaStore
import android.provider.Set... | 5 | null | 4 | 12 | 411c5be3c5f80ad8d7240e1b1397e59767187a16 | 12,061 | Android-Gallery-App | MIT License |
app/src/main/java/com/hxl/arithmathics/presentation/fragment/game_history/GameHistoryFragmentViewModel.kt | hexley21 | 507,946,022 | false | {"Kotlin": 87163} | package com.hxl.arithmathics.presentation.fragment.game_history
import androidx.lifecycle.ViewModel
import com.hxl.domain.usecase.database.game_history.ReadGameHistory
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
@HiltViewModel
class GameHistoryFragmentViewModel @Inject constructor(va... | 0 | Kotlin | 0 | 1 | d0f9a19c28e3646966d0c66d192109a20fc0a293 | 373 | ArithMathics | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/licensemanager/ConsumptionConfigurationPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.licensemanager
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.licensemanager.CfnLicense
@Generated
public fun buildConsumptionConfigurationProperty(initializer: @AwsCdkDsl
CfnLicens... | 1 | Kotlin | 0 | 0 | a1cf8fbfdfef9550b3936de2f864543edb76348b | 511 | aws-cdk-kt | Apache License 2.0 |
plot-base-portable/src/commonMain/kotlin/jetbrains/datalore/plot/base/stat/QQ2Stat.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2022. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.base.stat
import jetbrains.datalore.plot.base.Aes
import jetbrains.datalore.plot.base.DataFrame
import jetbrains.datalore.plot.base.StatContex... | 97 | Kotlin | 47 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 2,028 | lets-plot | MIT License |
videoplayer-api/src/main/java/net/intbird/soft/lib/video/player/api/error/MediaError.kt | intbird | 262,362,955 | false | null | package net.intbird.soft.lib.video.player.api.error
/**
* created by intbird
* on 2020/9/8
* DingTalk id: intbird
*/
object MediaError {
const val NO_ERROR = 0
const val NO_MORE_FILES = 1
const val PLAYER_INIT_ERROR = 10
const val PLAYER_PREPARE_ERROR = 11
const val PLAYER_ERROR_CALLBACK = 12... | 1 | Kotlin | 1 | 9 | 6282bf14680e77866fc04713e0088dbaeb75ec76 | 401 | VideoPlayerLib | Apache License 2.0 |
api/src/main/kotlin/com/carservice/models/requests/CarRequest.kt | ttomasicc | 393,166,266 | false | {"Kotlin": 103210} | package com.carservice.models.requests
import com.carservice.domain.Car
import com.carservice.domain.CarName
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import com.fasterxml.jackson.datatype.jsr310.deser.YearDeserializer
import com.fas... | 0 | Kotlin | 0 | 1 | c2d0fb1d4fc2dc469b1c993f5e0a59fe9203632b | 1,870 | car-service | MIT License |
clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/apis/BoardsApi.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
* Pinterest REST API
* Pinterest's REST API
*
* The version of the OpenAPI document: 5.12.0
* Contact: blah+oapicf@cliffano.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 20,180 | pinterest-sdk | MIT License |
platform/webSymbols/src/com/intellij/webSymbols/context/impl/WebSymbolsContextDiscovery.kt | StingNevermore | 113,538,568 | false | {"Text": 9369, "INI": 518, "YAML": 419, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 9, "Shell": 633, "Markdown": 741, "Ignore List": 143, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7809, "SVG": 4412, "Kotlin": 58074, "Java": 83551, "HTML": 3783, "Java Properties": 215, "Gradle"... | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@file:Suppress("TestOnlyProblems")
package com.intellij.webSymbols.context.impl
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer
import com.intellij.lang.injection.InjectedLanguageManager
... | 1 | null | 1 | 1 | da982277a1db650154baf710b44f43a4b167413c | 22,629 | intellij-community | Apache License 2.0 |
src/main/kotlin/chjaeggi/Day6.kt | chjaeggi | 296,447,759 | false | null | package chjaeggi
class Day6(input: String) {
private val answers: List<String> = input.split("\n\n")
private var count = 0
fun solvePart1(): Int {
answers.forEach {
count += it.replace("\n", "").toCharArray().toSet().count()
}
return count
}
fun solvePart2():... | 0 | Kotlin | 0 | 1 | 3ab7867a5c3b06b8f5f90380f0ada1a73f5ffa71 | 737 | aoc2020 | Apache License 2.0 |
android/app/src/main/kotlin/se/gotapps/arber/MainActivity.kt | Hannnes1 | 386,401,237 | false | {"HTML": 3689, "Dart": 2467, "Swift": 404, "Kotlin": 121, "Objective-C": 38} | package se.gotapps.arber
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | HTML | 0 | 1 | 202246606d0bbfe153946b97869ae00d51346362 | 121 | arber | MIT License |
chipmango-revenue-cat/src/main/java/io/chipmango/revenuecat/ui/DashedDivider.kt | tiendung717 | 714,695,778 | false | {"Kotlin": 184407} | package io.chipmango.revenuecat.ui
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import and... | 0 | Kotlin | 0 | 1 | 73cd48dc0690874ae1164a43c168ddca68779e13 | 1,407 | chipmango | Apache License 2.0 |
src/test/kotlin/io/github/universeproject/dataservice/supplier/database/StoreEntitySupplierTest.kt | UniverseProject | 496,665,529 | false | {"Kotlin": 106495} | package io.github.universeproject.dataservice.supplier.database
import io.github.universeproject.dataservice.cache.CacheClient
import io.github.universeproject.dataservice.container.createRedisContainer
import io.github.universeproject.dataservice.data.ClientIdentity
import io.github.universeproject.dataservice.data.C... | 0 | Kotlin | 0 | 2 | 0178e9af7d6714c501ebfcb88092f7d526375432 | 4,860 | data-service | MIT License |
keel-slack/src/main/kotlin/com/netflix/spinnaker/keel/slack/handlers/GitDataGenerator.kt | danielpeach | 349,431,977 | true | {"Kotlin": 2753406, "Java": 20143, "Shell": 1691, "Slim": 359} | package com.netflix.spinnaker.keel.slack.handlers
import com.netflix.spinnaker.config.BaseUrlConfig
import com.netflix.spinnaker.keel.api.ScmInfo
import com.netflix.spinnaker.keel.api.artifacts.GitMetadata
import com.netflix.spinnaker.keel.api.artifacts.PublishedArtifact
import com.netflix.spinnaker.keel.artifacts.get... | 0 | null | 0 | 0 | 8171db64cada9db4e483e6b3f3e06a329f9fc1df | 9,001 | keel | Apache License 2.0 |
generalui/src/main/java/com/kyleduo/app/klab/m/generalui/GeneralUIActivity.kt | kyleduo | 341,073,541 | false | null | package com.kyleduo.app.klab.m.generalui
import android.annotation.SuppressLint
import android.os.Bundle
import android.os.SystemClock
import com.kyleduo.app.klab.foundation.BaseActivity
import kotlinx.android.synthetic.main.activity_general_ui.*
import kotlin.random.Random
/**
* @author kyleduo on 4/12/21
*/
class... | 0 | Kotlin | 0 | 0 | 61bc51731a1039a087fcea28ce3b2a41e0373654 | 1,636 | KLab | MIT License |
src/jvmMain/kotlin/com.otc.application/Names.kt | gvbl | 596,753,383 | false | {"Kotlin": 165187, "CSS": 613, "Dockerfile": 317} | package com.otc.application
import kotlin.random.Random
val maleFirstNames = arrayOf(
"Aaron",
"Abdul",
"Abe",
"Abel",
"Abraham",
"Abram",
"Adalberto",
"Adam",
"Adan",
"Adolfo",
"Adolph",
"Adrian",
"Agustin",
"Ahmad",
"Ahmed",
"Al",
"Alan",
"Albe... | 0 | Kotlin | 0 | 0 | 3626d3eb80a34e2230035fa93f3e591e62555306 | 85,200 | otc | MIT License |
src/main/java/net/gtaun/shoebill/common/dialog/ListDialogItemCheck.kt | Shoebill | 7,183,898 | false | null | /**
* Copyright (C) 2012-2014 MK124
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wri... | 1 | null | 3 | 5 | d81527689cef880490f07e27813ba92b5057961f | 3,676 | shoebill-common | Apache License 2.0 |
app/src/main/java/com/sample/movies/di/AppUtilsModule.kt | alirezaeiii | 507,119,013 | false | {"Kotlin": 41042} | package com.sample.movies.di
import android.content.Context
import com.sample.movies.utils.NetworkUtils
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@InstallIn(SingletonComponent::class)
class AppUtilsMo... | 0 | Kotlin | 0 | 1 | 7e4cfc03ca11d026c64ef88542bb7d5f167eb940 | 462 | Movies-Cache | The Unlicense |
ktRssReader/src/main/java/tw/ktrssreader/config/KtRssReaderGlobalConfig.kt | ladroshan | 306,819,266 | true | {"Kotlin": 239541} | /*
* Copyright 2020 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | 0 | null | 0 | 0 | 784e3df4bab47e228999aff158e17d96cdfe27d8 | 1,256 | KtRssReader | Apache License 2.0 |
src/main/kotlin/dev/talkischeap/nio/server/logging/Logging.kt | michalperlak | 289,465,637 | false | null | package dev.talkischeap.nio.server.logging
import java.util.logging.Logger
open class Logging {
protected val log: Logger = Logger.getLogger(javaClass.name)
} | 0 | Kotlin | 0 | 0 | 9dc4c53d6f024bc763ea9b5c2330fd15569269fc | 164 | nio-server | Apache License 2.0 |
dd-sdk-android/src/test/kotlin/com/datadog/android/core/internal/persistence/file/advanced/ConsentAwareFileMigratorTest.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.core.internal.persistence.file.advanced
... | 28 | Kotlin | 32 | 72 | 51c64b7d7b09049a149fd3e7f473fafa63b10326 | 9,626 | dd-sdk-android | Apache License 2.0 |
src/main/kotlin/de/lancom/openapi/common/converter/simple/Encoding.kt | lancomsystems | 733,524,954 | false | {"Kotlin": 989799, "Mustache": 16764} | package de.lancom.openapi.common.converter.simple
fun toSimple(
encoding: de.lancom.openapi.parser.entity.Encoding,
): de.lancom.openapi.simple.entity.Encoding {
return de.lancom.openapi.simple.entity.Encoding(
contentType = encoding.contentType,
headers = encoding.headers.toSimple(::toSimple),... | 3 | Kotlin | 0 | 1 | db17ca7c0d488d2782a417bdb671a3c92f73a0b4 | 498 | openapi-parser | Apache License 2.0 |
buildSrc/src/main/kotlin/me/glicz/airflow/plugin/AirflowPlugin.kt | AirflowMC | 847,000,569 | false | {"Kotlin": 26013, "Java": 16475} | package me.glicz.airflow.plugin
import me.glicz.airflow.plugin.task.*
import me.glicz.airflow.plugin.task.mache.ApplyMachePatches
import me.glicz.airflow.plugin.util.*
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.tasks.JavaExec
import org.gradle.api.tasks.SourceSetContainer
import o... | 0 | Kotlin | 0 | 1 | 8fb946813f3feebabd6154f893344cd967daf3a0 | 4,765 | Airflow | MIT License |
codegen-compiler/src/main/kotlin/com/freeletics/khonshu/codegen/codegen/FileGenerator.kt | freeletics | 375,363,637 | false | null | package com.freeletics.khonshu.codegen.codegen
import com.freeletics.khonshu.codegen.BaseData
import com.freeletics.khonshu.codegen.ComposeFragmentData
import com.freeletics.khonshu.codegen.ComposeScreenData
import com.freeletics.khonshu.codegen.NavEntryData
import com.freeletics.khonshu.codegen.RendererFragmentData
i... | 12 | Kotlin | 8 | 66 | 529d606518e04fd1a1cdb13259ef809527db9f90 | 4,361 | khonshu | Apache License 2.0 |
app/src/main/java/pers/optsimauth/todolist/basecomponent/TaskDialog.kt | optsimauth | 865,155,829 | false | {"Kotlin": 94748} | import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.OutlinedTextField
import androidx.compose.material3.Text
import androidx.compose.material3.... | 0 | Kotlin | 0 | 0 | cdb95ee11a8d3d43336c152d3a28389f4127cc22 | 4,137 | ToDoList | MIT License |
app/src/main/java/com/strings/cryptoapp/modual/login/fragment/ScriptFragment.kt | Harshal0708 | 590,730,210 | false | null | package com.strings.cryptoapp.modual.login.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.Linear... | 0 | Kotlin | 0 | 0 | c130bac32913e6f78a0324a586907dc670e58045 | 7,364 | Crypto-AppWithShoket | Apache License 2.0 |
shared/compose/src/main/kotlin/team/applemango/runnerbe/shared/compose/component/TopBar.kt | ricky-buzzni | 485,390,072 | false | {"Kotlin": 615137} | /*
* RunnerBe © 2022 Team AppleMango. all rights reserved.
* RunnerBe license is under the MIT.
*
* [TopBar.kt] created by Ji Sungbin on 22. 3. 23. 오전 9:47
*
* Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE.
*/
package team.applemango.runnerbe.shared.compose.component
imp... | 0 | null | 0 | 0 | f48fb298c07732a9c32afcff0bddb16f9fe2e37a | 1,176 | RunnerBe-Android | MIT License |
src/main/kotlin/interactor/GetCitiesNameSortedByBananaPrice.kt | FlourlessTeam | 652,238,006 | false | null | package interactor
import model.CityEntity
//task 7
class GetCitiesNameSortedByBananaPrice {
fun getCitiesNameSortedByBananaPrice(vararg cities: CityEntity) =
cities.filter { it.fruitAndVegetablesPrices.banana1kg != null && !it.fruitAndVegetablesPrices.banana1kg.isNaN() }
.sortedBy { it.fruitA... | 0 | Kotlin | 0 | 0 | 8a53a82a864c25bd3ae38456bbef97ef7db484b5 | 374 | cost-of-living | Apache License 2.0 |
android/src/main/java/org/fossasia/badgemagic/ui/TaskerStateActivity.kt | mehow | 299,102,094 | true | {"Kotlin": 230039, "Swift": 15553, "Shell": 3257, "Ruby": 305} | package org.fossasia.badgemagic.ui
import android.app.Activity
import android.content.Context
import android.os.Bundle
import com.joaomgcd.taskerpluginlibrary.condition.TaskerPluginRunnerConditionNoOutputOrInputOrUpdateState
import com.joaomgcd.taskerpluginlibrary.config.TaskerPluginConfig
import com.joaomgcd.taskerpl... | 0 | Kotlin | 0 | 0 | 974957fb8857e2e0ca9b7afb563df74a7997eb41 | 1,836 | badge-magic-android | Apache License 2.0 |
app/src/main/java/com/example/c24_android_food_track_app/data/models/FoodTrackOrder.kt | matiasServettoC24 | 639,816,577 | false | null | package com.example.c24_android_food_track_app.data.models
import com.example.c24_android_food_track_app.domain.ViewEntity
data class FoodTrackOrder(
val id: String,
val title: String,
val status: Status,
val email: String,
val slot: String,
val timeStart: String,
val slotTime: String?,
) | 0 | Kotlin | 0 | 4 | 4c857eb7d74d36e5d57630b6820d205ccfc722f0 | 319 | c24-android-food-track-app | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Pickaxe.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 1,946 | icons | MIT License |
samples/sample/shared/src/desktopMain/kotlin/com/hoc081098/solivagant/sample/di.desktop.kt | hoc081098 | 736,617,487 | false | {"Kotlin": 275389, "Shell": 371} | package com.hoc081098.solivagant.sample
import com.hoc081098.solivagant.sample.common.AppDispatchers
import com.hoc081098.solivagant.sample.common.DesktopAppDispatchers
import io.github.aakira.napier.DebugAntilog
import io.github.aakira.napier.Napier
import org.koin.core.module.Module
import org.koin.core.module.dsl.b... | 3 | Kotlin | 3 | 9 | b8b714e593f2b60ef6fee68de50a528fc68601c5 | 635 | solivagant | Apache License 2.0 |
legacy/src/main/java/com/onevn/browser/legacy/userjs/OnUserJsItemClickListener.kt | 1-vn | 186,006,245 | true | {"Kotlin": 2104535, "Java": 697833, "HTML": 44658, "CSS": 4743, "JavaScript": 3209} | /*
* Copyright (C) 2017-2019 DiepDT
*
* 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... | 0 | Kotlin | 0 | 0 | 50d5221a959da6b35c492db02ec4d46d3dd6850a | 840 | OneVNBrowser | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Maximize21.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 5,479 | VuesaxIcons | MIT License |
app/src/main/java/com/example/branchandatmlocator/ui/ActionBottomDialogFragment.kt | davidimbong | 561,121,589 | false | {"Kotlin": 32800} | package com.example.branchandatmlocator.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.branchandatmlocator.databinding.FragmentBottomSheetDialogFragmentBinding
import com.google.android.material.bottomsheet.BottomSheetDialogFragm... | 0 | Kotlin | 0 | 0 | e33a4974c57a35931531814c00594bb68fba2569 | 1,478 | BranchandATMLocator | MIT License |
idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/secondStep/SourcesetSettingsComponent.kt | Ndex471 | 236,524,761 | false | null | package org.jetbrains.kotlin.tools.projectWizard.wizard.ui.secondStep
import com.intellij.ui.components.JBTabbedPane
import org.jetbrains.kotlin.tools.projectWizard.core.ValuesReadingContext
import org.jetbrains.kotlin.tools.projectWizard.settings.buildsystem.Sourceset
import org.jetbrains.kotlin.tools.projectWizard.w... | 0 | null | 0 | 1 | f7626d6474bff5fceba8506c37480e8918bd11cf | 853 | kotlin | Apache License 2.0 |
app/src/main/java/com/yuriisurzhykov/pointdetector/presentation/permissions/AbstractPermissionFragment.kt | yuriisurzhykov | 524,002,724 | false | {"Kotlin": 270404, "Java": 1165} | package com.yuriisurzhykov.pointdetector.presentation.permissions
import android.content.pm.PackageManager
import androidx.activity.result.contract.ActivityResultContracts
import androidx.annotation.LayoutRes
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
import com.yuriisurzhykov.p... | 1 | Kotlin | 0 | 2 | b0882a4a7f80705cff8432b3c0a2155c4650fe67 | 2,440 | PointDetector | MIT License |
common/src/commonMain/kotlin/me/kshulzh/farm/dto/ProduceFeedDto.kt | kshulzh | 656,292,459 | false | null | package me.kshulzh.farm.dto
class ProduceFeedDto {
lateinit var receiptId: String
lateinit var count: String
} | 0 | Kotlin | 0 | 0 | 64d4c36c37464e5f394a43a6ea674960434bc512 | 119 | Farm | Apache License 2.0 |
app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/ChangeViewDialog.kt | tjb | 85,851,175 | false | null | package com.simplemobiletools.calendar.dialogs
import android.app.Activity
import android.support.v7.app.AlertDialog
import android.view.LayoutInflater
import android.widget.RadioGroup
import com.simplemobiletools.calendar.R
import com.simplemobiletools.calendar.extensions.config
import com.simplemobiletools.calendar.... | 0 | null | 0 | 1 | 1b80f167234914e4491e1853361856073764db6a | 1,892 | Simple-Calendar | Apache License 2.0 |
src/main/kotlin/com/tyro/oss/pairing/PairingToolInitializer.kt | steveorourke | 339,976,936 | true | {"Kotlin": 64182, "Shell": 1031} | /**
* Copyright 2021 Tyro Payments 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... | 0 | Kotlin | 0 | 0 | df0cc50e2a1e53d0922d85d8f44c68421206de01 | 10,754 | pairing-tool | Apache License 2.0 |
product-properties-auth/src/commonMain/kotlin/ResolveRelationsTo.kt | crowdproj | 508,536,199 | false | null | package com.crowdproj.marketplace.auth
import com.crowdproj.marketplace.common.models.ProductProperty
import com.crowdproj.marketplace.common.models.ProductPropertyId
import com.crowdproj.marketplace.common.permissions.PropPrincipalModel
import com.crowdproj.marketplace.common.permissions.PropPrincipalRelations
fun P... | 0 | Kotlin | 4 | 1 | 8140a4c44773f18275fde7c70f71db625405b797 | 673 | crowdproj-product-properties | Apache License 2.0 |
common/src/main/java/fr/outadoc/homeslide/common/extensions/UniflowExt.kt | outadoc | 304,091,031 | false | null | package fr.outadoc.homeslide.common.extensions
import fr.outadoc.homeslide.logging.KLog
import io.uniflow.core.flow.ActionFunction_T
import io.uniflow.core.flow.DataFlow
import io.uniflow.core.flow.data.UIState
inline fun <reified T : UIState> DataFlow.actionWith(noinline onAction: ActionFunction_T<T>): Unit =
ac... | 37 | Kotlin | 7 | 51 | 72019dd36b976d9ec001c3e2829736b2744b982b | 594 | home-slide-android | Apache License 2.0 |
model/src/commonMain/kotlin/com/toxicbakery/game/dungeon/model/character/Global.kt | ToxicBakery | 224,311,645 | false | null | @file:Suppress("MagicNumber")
package com.toxicbakery.game.dungeon.model.character
import kotlinx.serialization.Serializable
import kotlinx.serialization.protobuf.ProtoNumber
/**
* Global data about a character unrelated to the world.
*/
@Serializable
data class Global(
@ProtoNumber(1)
val hasFinishedRegis... | 0 | Kotlin | 0 | 1 | e35fd23c23acf91028f400bc6f6f1d768b9a542a | 347 | dungeon | Apache License 2.0 |
core/src/main/kotlin/at.hschroedl.fluentast/ast/expression/PrefixExpression.kt | hschne | 103,569,412 | false | null | package at.hschroedl.fluentast.ast.expression
import at.hschroedl.fluentast.exception.FluentArgumentException
import org.eclipse.jdt.core.dom.AST
import org.eclipse.jdt.core.dom.PrefixExpression
class FluentPrefixExpression internal constructor(private val operator: String,
private val ex... | 0 | Kotlin | 0 | 0 | 49510f0cadf3083b58de6011215b76c1b720d72f | 1,146 | Fluentast | Apache License 2.0 |
operator/src/main/kotlin/eu/glasskube/operator/apps/metabase/dependent/MetabaseIngress.kt | glasskube | 528,301,150 | false | null | package eu.glasskube.operator.apps.metabase.dependent
import eu.glasskube.kubernetes.api.model.extensions.ingress
import eu.glasskube.kubernetes.api.model.extensions.ingressBackend
import eu.glasskube.kubernetes.api.model.extensions.ingressPath
import eu.glasskube.kubernetes.api.model.extensions.ingressRule
import eu.... | 19 | Kotlin | 4 | 57 | 0cb51187275bfc1f17d7386a790645604532c052 | 2,332 | operator | MIT License |
mobile/src/main/java/com/krisbiketeam/smarthomeraspbpi3/ui/NewRoomDialogFragment.kt | GITkrisbiketeam | 139,046,047 | false | null | package com.krisbiketeam.smarthomeraspbpi3.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.os.bundleOf
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNav... | 1 | null | 1 | 1 | f85cc18ef75ef6a73c940c4fc86b46dbca729fb2 | 1,901 | SmartHomeRaspbPi3 | Apache License 2.0 |
lib-multisrc/zeistmanga/src/eu/kanade/tachiyomi/multisrc/zeistmanga/ZeistMangaDto.kt | komikku-app | 720,497,299 | false | {"Kotlin": 6775539, "JavaScript": 2160} | package eu.kanade.tachiyomi.multisrc.zeistmanga
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.jsoup.Jsoup
import java.text.SimpleDateFormat
import java.util.Locale
private val... | 22 | Kotlin | 8 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 3,003 | komikku-extensions | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/balance/BalanceViewModel.kt | WaltonChain | 263,802,120 | false | null | package io.horizontalsystems.bankwallet.modules.balance
import android.os.Handler
import android.os.Looper
import androidx.lifecycle.ViewModel
import io.horizontalsystems.core.SingleLiveEvent
import io.horizontalsystems.bankwallet.entities.Account
import io.horizontalsystems.bankwallet.entities.Coin
import io.horizont... | 0 | Kotlin | 2 | 4 | ec877434f12db879faabcfbd69d8647f8c2eefdc | 3,378 | waltonchain-wallet-android | MIT License |
rest/src/main/kotlin/bz/stewart/bracken/rest/conf/RestRuntimeContext.kt | abigpotostew | 92,021,572 | false | null | package bz.stewart.bracken.rest.conf
import bz.stewart.bracken.db.database.DatabaseClient
import bz.stewart.bracken.db.database.mongo.DefaultMongoClient
import bz.stewart.bracken.db.database.mongo.RemoteMongoClient
import bz.stewart.bracken.shared.conf.FileProperties
import com.mongodb.MongoClient
class RestRuntimeCo... | 0 | Kotlin | 0 | 0 | edd326981cc23168d7bf23852e638767dbac3547 | 1,820 | easypolitics | Apache License 2.0 |
Chapter-3/WhatsPackt/feature/chat/src/main/java/com/packt/feature/chat/ui/ChatViewModel.kt | PacktPublishing | 621,206,516 | false | {"Kotlin": 543087} | package com.packt.feature.chat.ui
import android.util.Log
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.packt.domain.user.GetUserData
import com.packt.feature.chat.domain.models.ChatRoom
import com.packt.feature.chat.domain.usecases.DisconnectMessages
import com.packt.feature.... | 1 | Kotlin | 7 | 23 | aeeb4e61395cf08830841762e0cfcfbdcd5836d0 | 4,318 | Thriving-in-Android-Development-using-Kotlin | MIT License |
app/src/main/java/com/bimalghara/tv_shows/common/dispatcher/DispatcherProviderSource.kt | bimalgharagithubprofile | 731,006,121 | false | {"Kotlin": 79293} | package com.bimalghara.tv_shows.common.dispatcher
import kotlinx.coroutines.Dispatchers
import kotlin.coroutines.CoroutineContext
interface DispatcherProviderSource {
val main: CoroutineContext
get() = Dispatchers.Main
val default: CoroutineContext
get() = Dispatchers.Default
val io: Corou... | 0 | Kotlin | 0 | 0 | 0d7f1a26fee1104b3b6529d98e0cfd804769bcd4 | 440 | Tv-Shows | Apache License 2.0 |
app/src/main/java/com/sergiocasero/commit/di/Modules.kt | sergiocasero | 216,584,987 | false | null | package com.sergiocasero.commit.di
import android.content.Context
import com.sergiocasero.commit.datasource.local.CommonLocalDataSource
import com.sergiocasero.commit.datasource.local.LocalDataSource
import com.sergiocasero.commit.datasource.remote.CommonRemoteDataSource
import com.sergiocasero.commit.datasource.remot... | 0 | Kotlin | 0 | 7 | 3c2935343fa25e97a4067b6763b0c9d86e9fd3fc | 1,532 | commit-mpp | Apache License 2.0 |
core/bluetooth/src/test/kotlin/edu/stanford/spezi/core/bluetooth/domain/BLEDeviceScannerTest.kt | StanfordSpezi | 787,513,636 | false | {"Kotlin": 865422, "Ruby": 1755, "Shell": 212} | package edu.stanford.spezi.core.bluetooth.domain
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothDevice
import android.bluetooth.le.BluetoothLeScanner
import android.bluetooth.le.ScanCallback
import android.bluetooth.le.ScanFilter
import android.bluetooth.le.ScanResult
import android.blueto... | 8 | Kotlin | 2 | 8 | ac28a4eab4e6d6b300202260ed8269f3b512fb40 | 5,958 | SpeziKt | MIT License |
compiler/src/main/kotlin/io/github/apl_cornell/viaduct/errors/UnknownDatatypeError.kt | apl-cornell | 169,159,978 | false | null | package io.github.apl_cornell.viaduct.errors
import io.github.apl_cornell.viaduct.prettyprinting.Document
import io.github.apl_cornell.viaduct.prettyprinting.plus
import io.github.apl_cornell.viaduct.prettyprinting.times
import io.github.apl_cornell.viaduct.syntax.ObjectVariableNode
import io.github.apl_cornell.viaduc... | 26 | Kotlin | 5 | 15 | e681f77562fdafa93b8fb5b929d96aca08affc1a | 1,027 | viaduct | MIT License |
integration-tests/src/test/resources/incremental-removal2/validator/src/main/kotlin/Validator.kt | google | 297,744,725 | false | {"Kotlin": 2173589, "Shell": 5321, "Java": 3893} | import com.google.devtools.ksp.processing.*
import com.google.devtools.ksp.symbol.*
import com.google.devtools.ksp.validate
import java.io.OutputStreamWriter
class Validator : SymbolProcessor {
lateinit var codeGenerator: CodeGenerator
lateinit var logger: KSPLogger
fun init(
options: Map<String, ... | 370 | Kotlin | 268 | 2,854 | a977fb96b05ec9c3e15b5a0cf32e8e7ea73ab3b3 | 1,494 | ksp | Apache License 2.0 |
tools/intellij/src/main/kotlin/org/acornlang/language/psi/impl/AcornNamedElementImpl.kt | mworzala | 506,414,489 | false | null | package org.acornlang.language.psi.impl
import com.intellij.extapi.psi.ASTWrapperPsiElement
import com.intellij.lang.ASTNode
import org.acornlang.language.psi.AcornNamedElement
abstract class AcornNamedElementImpl(node: ASTNode) : ASTWrapperPsiElement(node), AcornNamedElement | 1 | Kotlin | 0 | 0 | f1b2565aa7c3f0d17f516ce594f96c3eb27a7407 | 278 | acorn-interpreter | Apache License 2.0 |
sudoscan-api/src/main/kotlin/com/github/pintowar/sudoscan/api/spi/Recognizer.kt | pintowar | 291,176,963 | false | null | package com.github.pintowar.sudoscan.api.spi
import com.github.pintowar.sudoscan.api.Digit
import com.github.pintowar.sudoscan.api.SudokuCell
import com.github.pintowar.sudoscan.api.spi.Recognizer.Companion.provider
import java.util.*
/**
* This interface represents the main contract (function and properties) of a R... | 0 | Kotlin | 0 | 4 | 1ed84d0717d4d6bf382f11170be20ec8ceaff24c | 3,065 | sudoscan | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/educationandworkplanapi/app/resource/EducationController.kt | ministryofjustice | 653,598,082 | false | {"Kotlin": 1309284, "Mustache": 2705, "Dockerfile": 1375} | package uk.gov.justice.digital.hmpps.educationandworkplanapi.app.resource
import jakarta.validation.constraints.Pattern
import org.springframework.http.HttpStatus
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bin... | 5 | Kotlin | 0 | 2 | 2342be2e0b94c24f8a25bb58b5e0c5964b3af9cd | 1,498 | hmpps-education-and-work-plan-api | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/educationandworkplanapi/app/resource/EducationController.kt | ministryofjustice | 653,598,082 | false | {"Kotlin": 1309284, "Mustache": 2705, "Dockerfile": 1375} | package uk.gov.justice.digital.hmpps.educationandworkplanapi.app.resource
import jakarta.validation.constraints.Pattern
import org.springframework.http.HttpStatus
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bin... | 5 | Kotlin | 0 | 2 | 2342be2e0b94c24f8a25bb58b5e0c5964b3af9cd | 1,498 | hmpps-education-and-work-plan-api | MIT License |
src/commonMain/kotlin/org/bubenheimer/util/Exam.kt | bubenheimer | 296,078,921 | false | {"Kotlin": 23690} | /*
* Copyright (c) 2015-2020 Uli Bubenheimer
*
* 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... | 0 | Kotlin | 0 | 1 | e694c253e39dd709d3345cfcd06b131241971139 | 9,254 | kotlinutil | Apache License 2.0 |
src/main/kotlin/org/telegram/SendLocation.kt | wirelib | 124,762,024 | false | null | package org.telegram
data class SendLocation(
/**
* Unique identifier for the target chat or username of the target channel (in the format @channelusername)
*/
val chatId: String,
/**
* Latitude of the location
*/
val latitude: Float,
/**
... | 0 | Kotlin | 0 | 0 | 86f10b323b24187e97606c2d92598a56360bf658 | 1,120 | telegram-models | MIT License |
app/src/main/java/com/lavos/features/photoReg/api/GetUserListPhotoRegRepository.kt | DebashisINT | 408,324,332 | false | null | package com.lavos.features.photoReg.api
import android.content.Context
import android.net.Uri
import android.text.TextUtils
import android.util.Log
import com.lavos.app.FileUtils
import com.lavos.base.BaseResponse
import com.lavos.features.addshop.model.AddShopRequestCompetetorImg
import com.lavos.features.dashboard.p... | 0 | Kotlin | 0 | 0 | 8926f80a2527e00724f1b7e1211508f8601470f9 | 4,743 | Lavos | Apache License 2.0 |
savedelegate/src/main/java/cn/yzl/saved/delegate/SavedDelegateProvider.kt | yizems | 262,277,862 | false | null | /*
* MIT License
*
* Copyright (c) 2021 yizems
*
* 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, ... | 1 | Kotlin | 0 | 0 | 32d5c207f0cd2b33a918030590339ed622356602 | 2,114 | SavedDelegate | MIT License |
app/src/main/java/com/rahul/gitsearch/App.kt | rahulkhurana0123 | 264,376,633 | false | null | package com.rahul.gitsearch
import android.app.Application
import android.content.Context
import android.support.multidex.MultiDex
import com.rahul.di.component.DaggerAppComponent
import dagger.android.AndroidInjector
import dagger.android.DaggerApplication
import kotlin.properties.Delegates
/**
* Created by <NAME> ... | 0 | Kotlin | 0 | 0 | e01a49810ac838d30cd13815a3be96827a89b26b | 912 | GithubUserSearach | Apache License 2.0 |
app/src/main/java/com/mgws/adownkyi/ui/compose/home/VideoList.kt | 2468785842 | 780,206,932 | false | {"Kotlin": 281453} | package com.mgws.adownkyi.ui.compose.home
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.IntrinsicSize
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.... | 0 | Kotlin | 0 | 2 | 769161517fd233d604051207556e9c2a17e3cf7c | 28,222 | ADownkyi | MIT License |
app/src/main/java/com/ibrahimcanerdogan/masterplayerguide/data/model/weapon/WeaponData.kt | icanerdogan | 742,144,951 | false | {"Kotlin": 107708} | package com.ibrahimcanerdogan.masterplayerguide.data.model.weapon
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
import com.ibrahimcanerdogan.masterplayerguide.data.model.weapon.shop.WeaponShopData
import com.ibrahimcanerdogan.masterplayerguide.data.model.... | 0 | Kotlin | 0 | 1 | 15c73918d5bc4404c4a9a91fc561fdf46f3d11d5 | 1,125 | Valorant-Master-Player-Guide | MIT License |
backend/src/test/kotlin/taxFetcher/SocialSecurityTests.kt | adamWeesner | 239,233,558 | false | null | package taxFetcher
import Path
import com.weesnerdevelopment.shared.auth.User
import com.weesnerdevelopment.shared.base.History
import com.weesnerdevelopment.shared.taxFetcher.SocialSecurity
import com.weesnerdevelopment.shared.taxFetcher.responses.SocialSecurityResponse
import com.weesnerdevelopment.test.utils.BaseTe... | 2 | Kotlin | 1 | 1 | bfb3161173d75ea43acd990e9a024210cd1b87e7 | 6,209 | weesnerDevelopment | MIT License |
lib/android/src/main/java/com/reactnativeldk/LdkPackage.kt | synonymdev | 489,280,368 | false | {"C++": 3820404, "TypeScript": 234035, "Swift": 158954, "Kotlin": 130865, "C": 68592, "JavaScript": 26794, "Objective-C": 14184, "Java": 7968, "Shell": 3332, "Ruby": 3171, "Objective-C++": 744, "Dockerfile": 138} | package com.reactnativeldk
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
class LdkPackage : ReactPackage {
override fun createNativeModules(reactContext: ReactApplicatio... | 20 | C++ | 15 | 52 | 2008108ba6ae6e9225d5e11e57b9f48d3cb4ee97 | 543 | react-native-ldk | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.