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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/ru/tech/imageresizershrinker/presentation/draw_screen/viewModel/DrawViewModel.kt | T8RIN | 478,710,402 | false | null | package ru.tech.imageresizershrinker.presentation.draw_screen.viewModel
import android.content.pm.ActivityInfo
import android.graphics.Bitmap
import android.net.Uri
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compo... | 9 | null | 47 | 514 | c039548b804f7d716972bd5f3648fac26a17e806 | 11,561 | ImageToolbox | Apache License 2.0 |
app/src/main/java/com/example/arvag/fragments/FilterMenuFragment.kt | wahbimo | 621,399,495 | false | null | package com.example.arvag.fragments
import android.content.Context
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.Menu
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.c... | 3 | Kotlin | 0 | 0 | b53dea1cb71f5a888707cf88a58f4617d6bb6e26 | 5,145 | Arvag | MIT License |
app/src/main/java/in/snbapps/vidmeet/ui/pages/Connection.kt | Developer-Harsh | 850,676,425 | false | {"Kotlin": 376020} | package `in`.snbapps.vidmeet.ui.pages
import android.app.Activity
import android.content.Intent
import android.provider.Settings
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Column
impor... | 0 | Kotlin | 0 | 1 | 4ab351f6168e064ccb4428da2888abb65bf309a8 | 4,921 | Voila | Apache License 2.0 |
compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/selection/SelectionHandleTestUtils.kt | RikkaW | 389,105,112 | true | {"Java": 49060640, "Kotlin": 36832495, "Python": 336507, "AIDL": 179831, "Shell": 150493, "C++": 38342, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343} | /*
* Copyright 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 applica... | 0 | Java | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 2,488 | androidx | Apache License 2.0 |
project/src/main/kotlin/cga/exercise/game/Animation.kt | BoomGoesDaBaam | 515,991,731 | false | null | package cga.exercise.game
class AnimatedCharacter(var duration: Float = 1f, charType: Int): Character(charType) {
var frames = mutableListOf<KeyFrame>()
var curKeyFrame = 0
var passedTime = 0.0f
var AnimationStoppedKeyFrame = KeyFrame(0f,0f,0f,0f,0f,0f,0f,0f,0f,0f,0f,0f,0f)
var animationStopped = ... | 0 | Kotlin | 0 | 0 | aa403ddf3bf91e1bf0b85b83cb687ab7d3f0d203 | 5,869 | CGA-Abschlussprojekt | MIT License |
src/app/src/main/java/com/example/pzar/linguisticstoolbox/LinguisticsToolbox.kt | dpurge | 99,100,264 | false | null | package com.example.pzar.linguisticstoolbox
import android.Manifest
import android.view.ViewGroup
import android.widget.LinearLayout
import android.support.v4.app.ActivityCompat
import android.os.Bundle
import android.media.MediaRecorder
import android.media.MediaPlayer
import android.content.pm.PackageManager
import ... | 0 | Kotlin | 0 | 0 | 375688fd59fb139523ad8fe0edd54653c690423f | 6,461 | LinguisticsToolbox | MIT License |
network-protection/network-protection-subscription-internal/src/main/java/com/duckduckgo/networkprotection/subscription/ui/NetpVpnAccessRevokedDialogMonitor.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 11702036, "HTML": 63593, "Ruby": 14445, "JavaScript": 8619, "C++": 1813, "CMake": 1286, "Shell": 784} | /*
* Copyright (c) 2023 DuckDuckGo
*
* 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 ... | 52 | Kotlin | 844 | 3,497 | a2e3a26a33a9a077308a33b763eabdd63b1717b1 | 3,519 | Android | Apache License 2.0 |
app/src/main/java/com/bitrise/app/managers/preferences/FilePreference.kt | andrespaez90 | 295,899,832 | false | null | package com.bitrise.app.managers.preferences
enum class FilePreference(val fileName: String) {
DefaultPreference("SETTINGS"),
InformationPreference("APPINFORMATION")
}
| 1 | Kotlin | 1 | 0 | e5e6c71041fa3c153aba6c239c76ed55b24124da | 179 | BitriseApp | MIT License |
compose-pdf-viewer/app/src/main/java/dev/seabat/android/composepdfviewer/domain/usecase/DeleteFavoriteUseCaseContract.kt | seabat | 685,948,686 | false | {"Kotlin": 119827} | package dev.seabat.android.composepdfviewer.domain.usecase
import dev.seabat.android.composepdfviewer.domain.entity.PdfEntity
interface DeleteFavoriteUseCaseContract {
suspend operator fun invoke(pdf: PdfEntity)
} | 0 | Kotlin | 0 | 0 | ee37b6071d31a8cc027f32f1a58d2f19c3bd00ae | 219 | pdf-viewer | Apache License 2.0 |
app/src/main/java/com/example/trackmysleepquality/sleepquality/SleepQualityViewModelFactory.kt | sdadasdasdwa | 648,535,226 | false | null | package com.example.trackmysleepquality.sleepquality
class SleepQualityViewModelFactory {
} | 0 | Kotlin | 0 | 0 | eaa440f019bcfef7f1badd25bc257fbd607dba36 | 92 | TrackMySleepQuality | Apache License 2.0 |
src/test/kotlin/com/lykke/matching/engine/utils/balance/ReservedVolumesRecalculatorTest.kt | rgrativol | 117,153,696 | false | null | package com.lykke.matching.engine.utils.balance
import com.lykke.matching.engine.daos.Asset
import com.lykke.matching.engine.daos.AssetPair
import com.lykke.matching.engine.database.TestBackOfficeDatabaseAccessor
import com.lykke.matching.engine.database.TestFileOrderDatabaseAccessor
import com.lykke.matching.engine.d... | 0 | null | 0 | 1 | 3cc9b02bf8989d3da5908533288d83097afd24e3 | 4,040 | MatchingEngine | MIT License |
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/intrinsics/IsArrayOf.kt | JakeWharton | 99,388,807 | true | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 4 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,850 | kotlin | Apache License 2.0 |
app/src/main/java/com/xdmpx/routesp/services/LocationService.kt | xDMPx | 748,894,967 | false | {"Kotlin": 52046} | package com.xdmpx.routesp.services
import android.Manifest
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.Service
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bin... | 0 | Kotlin | 0 | 0 | a60a4eb11aea160d5f4f724c736723a419e57db5 | 4,581 | RouteSP | Apache License 2.0 |
app/src/main/java/com/devspacecinenow/common/model/MovieResponse.kt | Wpompeo | 867,803,934 | false | {"Kotlin": 22921} | package com.devspacecinenow.common.model
import com.devspacecinenow.common.model.MovieDto
data class MovieResponse (
val results: List<MovieDto>
) | 0 | Kotlin | 0 | 0 | 0c1c4e018c3cebb3a488a78a552da12ed0f86778 | 152 | CineNow | The Unlicense |
src/test/kotlin/io/inbot/eskotlinwrapper/manual/BulkManualTest.kt | goodhoko | 281,151,501 | false | null | @file:Suppress("unused")
package io.inbot.eskotlinwrapper.manual
import com.fasterxml.jackson.databind.ObjectMapper
import io.inbot.eskotlinwrapper.AbstractElasticSearchTest
import io.inbot.eskotlinwrapper.BulkIndexingSession
import io.inbot.eskotlinwrapper.BulkOperation
import io.inbot.eskotlinwrapper.JacksonModelRe... | 1 | null | 1 | 1 | f9d50ac67d6607be78cf294aff72ed15f01aa729 | 9,924 | es-kotlin-wrapper-client | MIT License |
data/src/main/java/org/michaelbel/data/local/model/ReviewLocal.kt | Takeshi-24 | 304,005,827 | true | {"Kotlin": 308219} | package org.michaelbel.data.local.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable
@Entity(tableName = "reviews")
data class ReviewLocal(
@ColumnInfo(name = "review_id") @PrimaryKey val id: String = "",
@ColumnInfo(name = "re... | 0 | null | 0 | 0 | d46976dee3c1f1b2513f421fbdb630a24a533f5c | 376 | Moviemade | Apache License 2.0 |
PhoneDialHW/app/src/main/java/com/example/phonedialhw/Contact.kt | PFig420 | 571,829,473 | false | null | package com.example.phonedialhw
class Contact {
var name = "Name"
var number = "Phone Number"
} | 0 | Kotlin | 0 | 0 | 99dd67308b14608077f3d5982045b587120a8c7d | 106 | Android_HW | Apache License 2.0 |
src/main/java/me/shadowalzazel/mcodyssey/mobs/hostile/Ruined.kt | ShadowAlzazel | 511,383,377 | false | {"Kotlin": 997651} | package me.shadowalzazel.mcodyssey.mobs.hostile
import me.shadowalzazel.mcodyssey.items.Weapons
import me.shadowalzazel.mcodyssey.mobs.utility.OdysseyMob
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.TextColor
import org.bukkit.Location
import org.bukkit.World
import org.bukkit.encha... | 0 | Kotlin | 0 | 3 | c3b46fa8589efdae68224d423af3b8b33a7fc26a | 2,004 | MinecraftOdyssey | MIT License |
beam-common/src/commonMain/kotlin/dev/d1s/beam/commons/Translation.kt | d1snin | 632,895,652 | false | {"Kotlin": 558952, "Shell": 2444, "JavaScript": 2406} | /*
* Copyright 2023-2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 6 | Kotlin | 0 | 5 | 934806a6a5315092922478995aa0390c3fae4727 | 1,710 | beam | Apache License 2.0 |
Smart Farming Monitor - MobileApp/app/src/main/java/com/ipv/farmmonitor/models/NotificationModel.kt | andrelopes301 | 588,998,139 | false | null | package com.ipv.farmmonitor.models
import java.io.Serializable
data class Notification(
var title: String = "",
var body: String = "",
var type: String = "",
var time: Long = 0,
) : Serializable
| 0 | Kotlin | 0 | 1 | 765b27d823bc108f88f97e54fe23c12156b456b6 | 220 | SmartFarmMonitoring | MIT License |
app/src/main/java/org/covidwatch/android/presentation/util/FragmentExtensions.kt | covidwatchorg | 246,964,242 | false | null | package org.covidwatch.android.presentation.util
import android.app.DatePickerDialog
import androidx.fragment.app.Fragment
import java.util.*
fun Fragment.showDatePicker(callback: (date: Date) -> Unit) {
val calendar = Calendar.getInstance()
val dialog = DatePickerDialog(
requireContext(),
Dat... | 14 | Kotlin | 24 | 52 | 7bb2464e5aa94842ae71a2150a5357c6c5a9fe22 | 787 | covidwatch-android-tcn | Apache License 2.0 |
app/src/test/java/com/buchi/listdetail/MainViewModelTest.kt | SunnyBe | 333,439,178 | false | null | package com.buchi.listdetail
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.buchi.listdetail.data.model.MainEntity
import com.buchi.listdetail.data.repository.MainRepository
import com.buchi.listdetail.data.repository.MainRepositoryImpl
import com.buchi.listdetail.presentation.MainViewMo... | 0 | Kotlin | 0 | 5 | 500d76ecac74a367fc149b4fa58a994e17fdf034 | 4,706 | ListDetail | The Unlicense |
nebulosa-indi-device/src/main/kotlin/nebulosa/indi/device/DevicePropertyChanged.kt | tiagohm | 568,578,345 | false | null | package nebulosa.indi.device
data class DevicePropertyChanged(
override val device: Device,
override val property: PropertyVector<*, *>,
) : DevicePropertyEvent
| 2 | Kotlin | 0 | 2 | 9ccdfa8049d8ff034d282c065e71aec1a6ea6ab8 | 170 | nebulosa | MIT License |
MiaSample/app/src/main/java/eu/nets/miasample/network/response/PaymentResponse.kt | Nets-eCom | 248,162,830 | false | null | package eu.nets.miasample.network.response
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
/**
* *****Copyright (c) 2020 Nets Denmark A/S*****
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documenta... | 16 | null | 3 | 8 | c3fa84a0b50b9aa7d0d31b608dd47ff371328064 | 3,017 | Easy-Android-SDK | RSA Message-Digest License |
developer/src/main/kotlin/house/RealEstateDeveloper.kt | droidchef | 574,382,897 | false | {"Kotlin": 2149} | package house
import dev.droidchef.contractors.WallContractor
import dev.droidchef.foundation.StrongFoundation
import dev.droidchef.wall.Wall
class RealEstateDeveloper {
fun buildASimpleRoom(): FourByFourRoom {
println("Changing Something in Developer Class")
val foundation = StrongFoundation()
... | 0 | Kotlin | 0 | 1 | 7a0e9ffdcb14ecb72b5f055e38e46ac8cf2a81bd | 519 | dep-height-example | The Unlicense |
sample/src/main/java/com/originsdigital/compositeadapter/sample/ui/sample/cell/viewbinding/SampleViewBindingMessageCell.kt | netcosports | 382,011,704 | false | null | package com.originsdigital.compositeadapter.sample.ui.sample.cell.viewbinding
import androidx.recyclerview.widget.RecyclerView
import com.originsdigital.compositeadapter.cell.Cell
import com.originsdigital.compositeadapter.cell.ClickItem
import com.originsdigital.compositeadapter.decoration.ItemDecoration
import com.o... | 0 | Kotlin | 0 | 10 | 584af1b42a89d4564f8e265d0e405f9d4913d6df | 1,205 | CompositeAdapter_Android | Apache License 2.0 |
modules/hir/src/main/kotlin/org/acornlang/hir/lower/AstLoweringVisitor.kt | mworzala | 506,414,489 | false | null | package org.acornlang.hir.lower
import org.acornlang.ast.*
import org.acornlang.hir.*
class AstLoweringVisitor : AstVisitor<Unit, HirNode> {
override val default: HirNode get() = HirNode.None
// SECTION: Module
// ===============
override fun visitModule(module: AstModule, p: Unit): HirNode {
... | 1 | Kotlin | 0 | 0 | f1b2565aa7c3f0d17f516ce594f96c3eb27a7407 | 12,317 | acorn-interpreter | Apache License 2.0 |
starter/sisyphus-grpc-server-starter/src/main/kotlin/com/bybutter/sisyphus/starter/grpc/support/SisyphusGrpcServerInterceptor.kt | ButterCam | 264,589,207 | false | null | package com.bybutter.sisyphus.starter.grpc.support
import com.bybutter.sisyphus.protobuf.Message
import com.bybutter.sisyphus.starter.grpc.StatusRenderer
import io.grpc.Context
import io.grpc.Contexts
import io.grpc.ForwardingServerCall
import io.grpc.ForwardingServerCallListener
import io.grpc.Metadata
import io.grpc... | 9 | null | 11 | 92 | 1f9851c7c45030fa08e018e961110851e029f940 | 4,642 | sisyphus | MIT License |
app/src/main/java/ru/tech/imageresizershrinker/presentation/single_edit_screen/SingeEditScreen.kt | T8RIN | 478,710,402 | false | null | package ru.tech.imageresizershrinker.presentation.single_edit_screen
import android.content.res.Configuration
import android.net.Uri
import androidx.activity.ComponentActivity
import androidx.activity.compose.BackHandler
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
impo... | 21 | null | 77 | 979 | 7d164a02c463afede47c785f8b182c954abfcde9 | 26,009 | ImageToolbox | Apache License 2.0 |
domain/src/main/java/com/duyp/architecture/clean/redux/domain/Constants.kt | duyp | 204,230,842 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 2, "XML": 49, "Fluent": 9, "FreeMarker": 1, "Kotlin": 88, "INI": 2, "Proguard": 2, "Java": 6, "JSON": 2} | package com.duyp.architecture.clean.redux.domain
object DomainConstants {
const val FIRST_PAGE = 1
} | 0 | Kotlin | 1 | 2 | 881bf42f3d5c5c285174aede9645c91994e80095 | 106 | android-redux | MIT License |
Newsify/app/src/main/java/com/example/newsify/adapters/OnAdapterClickListener.kt | Shubh-1-am | 605,701,193 | false | null | package com.example.newsify.adapters
import com.example.newsify.retrofit.response.Article
interface OnAdapterClickListener {
fun onAdapterClick(article : Article);
} | 0 | Kotlin | 0 | 0 | 639165d684768525203ce06e9eb76f8b0409a5a7 | 171 | Newsify | MIT License |
src/main/kotlin/ro/sorin/todolist/service/TodoListService.kt | sorinirimies | 158,558,072 | false | null | package ro.sorin.todolist.service
import org.jetbrains.exposed.sql.*
import ro.sorin.todolist.model.ChangeType
import ro.sorin.todolist.model.DbUpdater
import ro.sorin.todolist.model.TodoItem
import ro.sorin.todolist.model.TodoItems
import ro.sorin.todolist.util.dbQuery
class TodoListService : TodoListApi {
priv... | 0 | Kotlin | 1 | 0 | ea0e1c9f150f07210c95b6807945ebc9ad4c077f | 2,472 | todolist | Apache License 2.0 |
common/src/main/java/com/allsoftdroid/common/base/network/StoreUtils.kt | pravinyo | 209,936,085 | false | null | package com.allsoftdroid.common.base.network
import android.content.Context
object StoreUtils {
fun getStoreUrl(context:Context) : String{
return "https://play.google.com/store/apps/details?id=${context.packageName}"
}
} | 3 | null | 4 | 12 | 8358f69c0cf8dbde18904b0c3a304ec89b518c9b | 238 | AudioBook | MIT License |
app/src/main/java/com/geovnn/meteoapuane/di/AppModule.kt | geovnn | 806,232,559 | false | {"Kotlin": 242411} | package com.geovnn.meteoapuane.di
import com.geovnn.meteoapuane.data.remote.MeteoapuaneApi
import com.geovnn.meteoapuane.data.repository.MeteoRepositoryImplementation
import com.geovnn.meteoapuane.domain.repository.MeteoRepository
import com.geovnn.meteoapuane.domain.use_cases.GetConfiniPage
import com.geovnn.meteoapu... | 0 | Kotlin | 0 | 0 | 4f1706bb9e6cc6d05646367705a5ab032402641c | 1,857 | MeteoApuane-App | MIT License |
app/src/main/java/io/github/rin_da/ucsynews/data/source/DataSource.kt | Rin-Da | 67,884,113 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "Java": 2, "XML": 123, "Kotlin": 43} | package io.github.rin_da.ucsynews.data.source
import io.github.rin_da.ucsynews.data.source.local.LocalBaseSource
import io.github.rin_da.ucsynews.data.source.local.RemoteBaseSource
import io.github.rin_da.ucsynews.presentation.abstract.model.People
import io.github.rin_da.ucsynews.presentation.abstract.model.Post
impo... | 1 | null | 1 | 1 | 274da9a457c473604fd5b576cb5c857af79f8a83 | 967 | UCSY-News | MIT License |
skellig-test-step-processing/src/main/kotlin/org/skellig/teststep/processing/value/property/DefaultPropertyExtractor.kt | skellig-framework | 263,021,995 | false | {"Kotlin": 1283314, "CSS": 525991, "Java": 270216, "FreeMarker": 66859, "HTML": 11313, "ANTLR": 6165} | package org.skellig.teststep.processing.value.property
/**
* DefaultPropertyExtractor is a class that implements the [PropertyExtractor] interface for extracting properties from various sources.
* The sources of properties it extracts from are (in this order):
* 1) [propertyExtractorFunction] if defined
* 2) param... | 8 | Kotlin | 0 | 3 | ed375268b0e444f1928f22f4ac27603e9d1fb66b | 1,833 | skellig-core | Apache License 2.0 |
idea/tests/testData/inspectionsLocal/equalsBetweenInconvertibleTypes/enumEqEnum.kt | JetBrains | 278,369,660 | false | null | // PROBLEM: none
fun test(x: E1, y: E1): Boolean {
return x.<caret>equals(y)
}
enum class E1
| 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 100 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/example/mvvmsampleapp/data/network/responses/ResponseParser.kt | Lekhanshlkr | 580,987,224 | false | null | package com.example.mvvmsampleapp.data.network.responses
import android.os.AsyncTask
import android.util.Log
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
import com.example.mvvmsampleapp.data.db.AppDatabase
import com.example.mvvmsampleapp.data.db.entities.User
import org.json.JSONArray... | 0 | Kotlin | 0 | 0 | a9e167cc15116c1e7c993e075990fc9b3f8176b0 | 1,318 | MVVMSampleApp | MIT License |
src/commonMain/kotlin/io/rebble/libpebblecommon/structmapper/StructMappable.kt | pebble-dev | 264,919,199 | false | {"Kotlin": 217944} | package io.rebble.libpebblecommon.structmapper
import io.rebble.libpebblecommon.util.DataBuffer
import io.rebble.libpebblecommon.util.Endian
abstract class StructMappable(endianness: Endian = Endian.Unspecified) : Mappable(endianness) {
val m = StructMapper(endianness = endianness, debugTag = this::class.simpleNa... | 1 | Kotlin | 4 | 3 | 55cb810a5d4f0fab123100a91f5d71b91aeb9d64 | 520 | libpebblecommon | Apache License 2.0 |
src/main/kotlin/dev/arbjerg/lavalink/client/LavalinkPlayer.kt | lavalink-devs | 642,292,256 | false | null | package dev.arbjerg.lavalink.client
import dev.arbjerg.lavalink.protocol.v4.*
import kotlin.math.min
class LavalinkPlayer(private val node: LavalinkNode, protocolPlayer: Player) : IUpdatablePlayer {
val guildId = protocolPlayer.guildId.toLong()
/**
* Gets the current track that is playing on the player.... | 3 | null | 5 | 9 | c6d430fefbab72a456a38afa5640f82c9ec32324 | 2,896 | lavalink-client | MIT License |
src/main/kotlin/com/sourcegraph/cody/context/ui/ContextNotifications.kt | sourcegraph | 702,947,607 | false | {"Kotlin": 914689, "Java": 201176, "Shell": 4636, "TypeScript": 2153, "Nix": 1122, "JavaScript": 436, "HTML": 294} | package com.sourcegraph.cody.context.ui
import com.intellij.ide.util.PropertiesComponent
import com.intellij.notification.Notification
import com.intellij.notification.NotificationAction
import com.intellij.notification.NotificationType
import com.intellij.notification.impl.NotificationFullContent
import com.intellij.... | 230 | Kotlin | 16 | 55 | 1eb25809c3e51b64f08e851c8da09778000540c6 | 1,918 | jetbrains | Apache License 2.0 |
app/src/main/java/ru/app/olimp/adapters/pager/list/SignalViewHolder.kt | metalink94 | 155,099,732 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "JSON": 1, "Kotlin": 20, "XML": 23, "Java": 1} | package ru.app.olimp.adapters.pager.list
import android.support.v7.widget.RecyclerView
import android.view.View
import com.bumptech.glide.Glide
import kotlinx.android.synthetic.main.row_signal.view.*
import ru.app.olimp.signal.SignalModel
class SignalViewHolder(itemView: View): RecyclerView.ViewHolder(itemView) {
... | 0 | Kotlin | 0 | 0 | 814070216541991102bf2e4445af9fc7c2257c12 | 468 | Olimp | Apache License 2.0 |
core/designsystem/src/main/java/com/hankki/core/designsystem/component/chip/HankkiChipWithIcon.kt | Team-Hankki | 816,081,730 | false | null | package com.hankki.core.designsystem.component.chip
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.... | 9 | null | 0 | 43 | e83ea4cf5cfd0b23d71da164090c29ba0e253b18 | 2,997 | hankki-android | Apache License 2.0 |
client/src/main/kotlin/com/ecwid/upsource/rpc/users/BindVcsUsernameRequestDTO.kt | turchenkoalex | 266,583,029 | false | null | // Generated by the codegen. Please DO NOT EDIT!
// source: message.ftl
package com.ecwid.upsource.rpc.users
/**
* @param userId User ID to register as an alias of the currently logged-in user
*/
@Suppress("unused")
data class BindVcsUsernameRequestDTO(
/**
* User ID to register as an alias of the currently logg... | 0 | Kotlin | 0 | 3 | 0e2ce7aae14a98e1bbdcf6dcb23a3ae089cebaa4 | 444 | upsource-rpc | Apache License 2.0 |
kronor_webview_payment_gateway/src/main/java/io/kronor/component/webview_payment_gateway/WebviewGatewayComponent.kt | kronor-io | 592,811,971 | false | null | package io.kronor.component.webview_payment_gateway
import android.annotation.SuppressLint
import android.content.ActivityNotFoundException
import android.content.ContentResolver
import android.content.Context
import android.content.Intent
import android.database.Cursor
import android.media.MediaDrm
import android.net... | 3 | Kotlin | 0 | 0 | f3bf51ac690ae115e848df56bdbcebe028321900 | 12,456 | kronor-android | MIT License |
src/main/kotlin/anissia/domain/board/core/ports/inbound/GetTicker.kt | anissia-net | 319,510,882 | false | {"Kotlin": 255675, "HTML": 5480, "HCL": 794} | package anissia.domain.board.core.ports.inbound
import anissia.domain.board.core.model.BoardTickerItem
import anissia.domain.board.core.model.GetTickerCommand
interface GetTicker {
fun handle(cmd: GetTickerCommand): BoardTickerItem
}
| 4 | Kotlin | 4 | 13 | 2ae6753685dc26aa5905d98e6088ffdda0c5cce3 | 240 | anissia-core | Creative Commons Attribution 4.0 International |
blockball-bukkit-plugin/src/main/java/com/github/shynixn/blockball/bukkit/logic/business/commandexecutor/menu/AreaProtectionPage.kt | yoloyolicko | 184,437,057 | true | {"Kotlin": 564411, "Java": 290209} | package com.github.shynixn.blockball.bukkit.logic.business.commandexecutor.menu
import com.github.shynixn.blockball.api.persistence.entity.Arena
import com.github.shynixn.blockball.bukkit.logic.business.extension.ChatBuilder
import com.github.shynixn.blockball.core.logic.persistence.entity.PositionEntity
import org.bu... | 0 | Kotlin | 0 | 0 | d64bdbb78fc730cfb52e7cb0d5c55808e69370ac | 5,809 | BlockBall | Apache License 2.0 |
kotlinx-coroutines-core/common/src/internal/Synchronized.common.kt | Kotlin | 61,722,736 | false | {"Kotlin": 3835333, "Java": 34700, "Python": 3107, "Shell": 2685} | package kotlinx.coroutines.internal
import kotlinx.coroutines.*
import kotlin.contracts.*
/**
* @suppress **This an internal API and should not be used from general code.**
*/
@InternalCoroutinesApi
public expect open class SynchronizedObject() // marker abstract class
/**
* @suppress **This an internal API and s... | 295 | Kotlin | 1850 | 13,033 | 6c6df2b850382887462eeaf51f21f58bd982491d | 829 | kotlinx.coroutines | Apache License 2.0 |
feature/feature_current_weather/src/main/java/com/farshatov/feature_current_weather/domain/usecase/GetCurrentWeatherUseCase.kt | timma | 512,421,711 | false | null | package com.farshatov.feature_current_weather.domain.usecase
import com.farshatov.common.network.Result
import com.farshatov.feature_current_weather.domain.model.CurrentWeatherModel
import com.farshatov.feature_current_weather.domain.repository.CurrentWeatherRepository
import kotlinx.coroutines.flow.Flow
class GetCur... | 0 | Kotlin | 0 | 0 | d297259885e02f4b57641f3214b8d41ab3ccca7a | 518 | weatherapiproject | Apache License 2.0 |
libraries/scripting/common/src/kotlin/script/experimental/host/hostConfiguration.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.script.experimental.host
import kotlin.reflect.KClass
import kotlin.script.experimental.api.Ko... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 3,829 | kotlin | Apache License 2.0 |
io-core/src/main/kotlin/io/github/nickacpt/abst/io/sockets/endpoint/TcpEndpointReceiverThread.kt | abst-lib | 499,280,485 | false | null | package io.github.nickacpt.abst.io.sockets.endpoint
import io.github.nickacpt.abst.io.utils.BufferFramer
import org.msgpack.core.MessagePack
import org.msgpack.core.MessageUnpacker
import org.msgpack.core.buffer.InputStreamBufferInput
internal class TcpEndpointReceiverThread<T>(private val endpoint: T) :
Runnable... | 0 | Kotlin | 0 | 0 | 4bdfb5b78139bd9a814412d629627b84ea33b24b | 1,533 | abst-lib-jvm | MIT License |
app/src/main/java/com/vaibhav/taskify/ui/mainScreen/home/upComing/UpComingViewModel.kt | Vaibhav2002 | 375,697,442 | false | null | package com.vaibhav.taskify.ui.mainScreen.home.upComing
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.vaibhav.taskify.data.repo.TaskRepo
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.stateIn
impo... | 1 | null | 29 | 89 | 664a4cd4600a6bfc12082f9f083897fb8b4001c7 | 607 | Taskify | MIT License |
src/main/kotlin/waffle/domain/model/WebSnapshot.kt | tmyksj | 571,796,959 | false | null | package waffle.domain.model
import waffle.core.type.Blob
import java.net.URL
/**
* Snapshot of a page.
*/
data class WebSnapshot(
/**
* URL for a page.
*/
val resource: URL,
/**
* Window width for a page (pixels).
*/
val widthPx: Long = 1920,
/**
* Window height for a... | 0 | Kotlin | 0 | 0 | f9465b3a6096afcbfd9f6a2f98d7501613e2d54a | 781 | waffle | Apache License 2.0 |
domain/src/main/java/com/synrgyacademy/domain/usecase/auth/IsLoginUseCase.kt | Synrgy-Academy-Final-Project | 738,116,027 | false | {"Kotlin": 429514, "Ruby": 1824} | package com.synrgyacademy.domain.usecase.auth
import com.synrgyacademy.common.Resource
import com.synrgyacademy.domain.repository.AuthRepository
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
class IsLoginUseCase @Inject construc... | 0 | Kotlin | 0 | 0 | d7fefca1200efd6eae4a33a34ef0511d90dfd54a | 691 | Android | MIT License |
beam-bundle/src/main/kotlin/dev/d1s/beam/bundle/html/CounterScriptIndexModule.kt | d1snin | 632,895,652 | false | null | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 6 | null | 0 | 5 | ee4d8f17b77f23edfb513ac374474151a8a8fcb9 | 2,346 | beam | Apache License 2.0 |
moshi-kotlin-codegen/src/test/java/com/squareup/moshi/kotlin/codegen/ksp/JsonClassSymbolProcessorTest.kt | square | 22,789,601 | false | null | /*
* Copyright (C) 2018 Square, 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 9 | null | 744 | 9,534 | 7f36bdff42fadb041722d2c8f5292d5e01cf84cf | 26,135 | moshi | Apache License 2.0 |
platform/workspace/jps/src/com/intellij/platform/workspace/jps/serialization/impl/CustomFacetRelatedEntitySerializer.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.workspaceModel.ide.impl.jps.serialization
import com.intellij.openapi.extensions.ExtensionPointName
import com.intellij.workspaceModel.ide.JpsImportedEntitySource
import com.int... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 4,591 | intellij-community | Apache License 2.0 |
shared/src/commonMain/kotlin/ui/theme/MyFonts.kt | EvertW | 629,878,605 | false | null | package ui.theme
import androidx.compose.runtime.Composable
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontStyle
import androidx.compose.ui.text.font.FontWeight
import ui.resources.font
internal object MyFonts {
private const val SORA = "Space Grotesk"
private const v... | 0 | Kotlin | 0 | 1 | 89e3a06d6fcaeca0a8b3ef3604b36a62607f8772 | 2,535 | ComposeMultiplatformExperiment | Apache License 2.0 |
network/src/main/java/com/example/network/Dispatcher.kt | victory316 | 660,866,016 | false | null | package com.example.network
import javax.inject.Qualifier
@Qualifier
@Retention(AnnotationRetention.RUNTIME)
annotation class Dispatcher(val dispatcher: Dispatchers)
enum class Dispatchers {
Default,
IO,
} | 10 | Kotlin | 0 | 0 | 3772673c8a7426f2260cd60481c57107b673475d | 216 | LatestEffort | Apache License 2.0 |
src/main/kotlin/com/github/sam0delkin/intellijpsa/completion/AnyCompletionContributor.kt | sam0delkin | 602,200,047 | false | {"Kotlin": 35630} | package com.github.sam0delkin.intellijpsa.completion
import com.github.sam0delkin.intellijpsa.icons.Icons
import com.github.sam0delkin.intellijpsa.services.CompletionService
import com.github.sam0delkin.intellijpsa.services.RequestType
import com.intellij.codeInsight.completion.*
import com.intellij.codeInsight.lookup... | 0 | Kotlin | 0 | 3 | cf644d5d3c5c4ada4409805e44a58489eb3c4234 | 9,016 | intellij-psa | MIT License |
app/src/main/java/com/fracta7/e_bookshelf/presentation/reading_list/ReadingListAllViewModel.kt | fracta7 | 532,576,663 | false | {"Kotlin": 157376} | package com.fracta7.e_bookshelf.presentation.reading_list
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.fracta7.e_bookshelf.domain.repository.AppRep... | 0 | Kotlin | 0 | 2 | 43e1b6fafa6fc7a55bccf83dfc3a9f4b781c77f7 | 1,568 | e-bookshelf | MIT License |
src/main/kotlin/csense/idea/base/bll/psiWrapper/class/operations/is/IsSubtypeOfRuntimeException.kt | csense-oss | 226,373,994 | false | {"Kotlin": 165209} | @file:Suppress("unused")
package csense.idea.base.bll.psiWrapper.`class`.operations.`is`
import csense.idea.base.bll.psiWrapper.`class`.*
import csense.idea.base.bll.psiWrapper.`class`.operations.*
fun KtPsiClass.isSubtypeOfRuntimeException(): Boolean =
isSubtypeOfKotlinRuntimeException() || isSubtypeOfJavaRunti... | 1 | Kotlin | 0 | 0 | 2888dfc8991ba5eb6d9df5facd4d1ad375d67e81 | 719 | idea-kotlin-shared-base | MIT License |
vector/src/main/java/varta/cdac/app/features/crypto/keys/KeysExporter.kt | sb-child | 395,765,587 | false | null | /*
* Copyright 2019 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 55 | null | 0 | 1 | ef17804af2f134cfbeca5645579f2fbb4b685944 | 1,418 | element-android | Apache License 2.0 |
examples/http-clients/src/test/kotlin/example/spring/boot/http/clients/gateways/libraryservice/LibraryServiceContract.kt | test-automation-in-practice | 506,693,260 | false | null | package example.spring.boot.http.clients.gateways.libraryservice
import ch.qos.logback.classic.Level.convertAnSLF4JLevel
import ch.qos.logback.classic.Logger
import com.github.tomakehurst.wiremock.client.MappingBuilder
import com.github.tomakehurst.wiremock.client.WireMock.aResponse
import com.github.tomakehurst.wirem... | 0 | null | 0 | 54 | 5a4b1fc0cc693a1af50a88057d04516a1303afa9 | 5,280 | cnt-spring-boot | Apache License 2.0 |
src/main/kotlin/com/github/raink1208/radiobot/util/ApplicationIDs.kt | raink1208 | 443,625,927 | false | null | package com.github.raink1208.radiobot.util
enum class ApplicationIDs(val id: Long) {
YOUTUBE_TOGETHER(755600276941176913),
POKER(755827207812677713),
CHESS(832012774040141894),
BETRAYAL(773336526917861400),
FISHING(814288819477020702);
} | 3 | Kotlin | 0 | 0 | b45f283196ee064406af7888cf67668bdd2a6db0 | 258 | radioBot | MIT License |
src/main/kotlin/poc/fileio/writeFile/app/web/FileController.kt | marco-aurelioo | 452,042,508 | false | {"Kotlin": 13548} | package poc.fileio.writeFile.app.web
import org.springframework.core.io.InputStreamResource
import org.springframework.core.io.Resource
import org.springframework.http.MediaType
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.... | 0 | Kotlin | 0 | 0 | 755add3bd3bca6bc3f586cad5a67c218233e2eea | 3,075 | POCArquivos | MIT License |
common/user/domain/src/commonTest/kotlin/dev/alvr/katana/common/user/domain/usecases/ObserveUserInfoUseCaseTest.kt | alvr | 446,535,707 | false | null | package dev.alvr.katana.common.user.domain.usecases
import app.cash.turbine.test
import arrow.core.left
import arrow.core.right
import dev.alvr.katana.common.user.domain.failures.UserFailure
import dev.alvr.katana.common.user.domain.repositories.UserRepository
import dev.alvr.katana.common.user.domain.userInfoMock
imp... | 5 | null | 0 | 59 | 32cd2606337f7073ee274959fdec1a2180177921 | 2,132 | katana | Apache License 2.0 |
app/src/main/java/destinum/tech/pruebawesend/Data/Local/TestDB.kt | ispam | 163,337,826 | false | null | package destinum.tech.pruebawesend.Data.Local
import androidx.room.Database
import androidx.room.RoomDatabase
import destinum.tech.pruebawesend.Data.Local.DAOs.ListDataDAO
import destinum.tech.pruebawesend.Data.Local.DAOs.LogDAO
import destinum.tech.pruebawesend.Data.Local.Entities.ListData
import destinum.tech.prueba... | 0 | Kotlin | 0 | 0 | 994ff12645a58d01040e13b37af7564ef9866833 | 568 | PruebaWeSend | Apache License 2.0 |
app/src/main/java/com/zacharee1/systemuituner/dialogs/SeekBarOptionDialog.kt | zacharee | 221,786,635 | false | {"Kotlin": 681812, "AIDL": 1172} | package com.zacharee1.systemuituner.dialogs
import android.os.Bundle
import android.view.View
import com.zacharee1.systemuituner.R
import kotlinx.coroutines.launch
import tk.zwander.seekbarpreference.SeekBarView
class SeekBarOptionDialog : BaseOptionDialog(), SeekBarView.SeekBarListener {
companion object {
... | 25 | Kotlin | 174 | 994 | 27672d3a0ad7caf1dce360dc1a0651926903b8a8 | 2,567 | Tweaker | MIT License |
app/src/main/java/org/simple/clinic/instantsearch/InstantSearchUiRenderer.kt | simpledotorg | 132,515,649 | false | null | package org.simple.clinic.instantsearch
import org.simple.clinic.instantsearch.InstantSearchProgressState.*
import org.simple.clinic.mobius.ViewRenderer
class InstantSearchUiRenderer(
private val ui: InstantSearchUi
) : ViewRenderer<InstantSearchModel> {
override fun render(model: InstantSearchModel) {
ui.... | 13 | null | 73 | 236 | ff699800fbe1bea2ed0492df484777e583c53714 | 960 | simple-android | MIT License |
app/src/main/java/com/ledboot/toffee/di/androidx/HasAndroidxFragmentInjector.kt | ledboot | 102,470,734 | false | {"C": 3295767, "Shell": 1139239, "Makefile": 382024, "C++": 216570, "HTML": 210960, "Objective-C": 167873, "Kotlin": 141631, "M4": 65721, "Assembly": 40776, "CSS": 18145, "Java": 13473, "Perl": 10762, "Batchfile": 789} | package com.ledboot.toffee.di.androidx
import androidx.fragment.app.Fragment
import dagger.android.AndroidInjector
import dagger.internal.Beta
@Beta
interface HasAndroidxFragmentInjector {
fun androidxFragmentInjector(): AndroidInjector<Fragment>
} | 0 | C | 0 | 0 | e3c1fd8dd4e9f70464d36fa10c78184c6ada55f3 | 255 | Toffee | Apache License 2.0 |
plugins/kotlin/refactorings/kotlin.refactorings.common/src/org/jetbrains/kotlin/idea/refactoring/rename/RenameKotlinFunctionProcessor.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.refactoring.rename
import com.intellij.openapi.actionSystem.ex.ActionUtil
import com.intellij.openapi.application.runReadAction
import com.intellij.openapi.editor.... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 13,271 | intellij-community | Apache License 2.0 |
workshops/moscow_prefinals2020/day3/k.kt | mikhail-dvorkin | 93,438,157 | false | {"Java": 2219540, "Kotlin": 615766, "Haskell": 393104, "Python": 103162, "Shell": 4295, "Batchfile": 408} | package workshops.moscow_prefinals2020.day3
fun main() {
val (x, y, z) = List(3) { readInts().drop(1).reversed() }
var (low, high) = maxOf((x + y + z).maxOrNull()!!, 1).toLong() to Long.MAX_VALUE / 2
binarySearch@while (low + 1 < high) {
val b = (low + high) / 2
val zNew = LongArray(z.size)
var tooLarge = fal... | 0 | Java | 1 | 9 | bf2846347011309aace0c4a04ac5355296dfbd90 | 1,042 | competitions | The Unlicense |
projects/kotlin-project/src/org/lsp/kotlinproject/Constants.kt | Ruin0x11 | 121,824,068 | false | null | package org.lsp.javaproject
internal class Constants {
private val notConstant = "notConstant"
var yes = true
var no = false
var maybe: Boolean? = null
companion object {
const val INT = 42
const private val STRING = "string"
val ENUM_TYPE = EnumType.FOO
var sNotCon... | 24 | Kotlin | 26 | 322 | 50e6726d8535b5f00ef507db19272c551a694db4 | 339 | intellij-lsp-server | MIT License |
remoting/src/main/kotlin/com/agmtopy/kocketmq/remoting/exception/impl/RemotingCommandException.kt | agmtopy | 376,882,907 | false | null | package com.agmtopy.kocketmq.remoting.exception.impl
import com.agmtopy.kocketmq.remoting.exception.RemotingException
class RemotingCommandException : RemotingException {
constructor(message: String?) : super(message, null) {}
constructor(message: String?, cause: Throwable?) : super(message, cause) {}
co... | 1 | null | 1 | 1 | 91e15b054ff8f1784d79b96e498894065ba025f8 | 411 | kocketmq | Apache License 2.0 |
compiler/testData/psi/LocalDeclarations.kt | chashnikov | 14,658,474 | true | {"Java": 14526655, "Kotlin": 6831811, "JavaScript": 897073, "Groovy": 43935, "CSS": 14421, "Shell": 9248} | fun foo() {
out
1
[a] abstract class foof {}
abstract [a] class foof {}
out val foo = 5
[a] var foo = 4
type f = T.() -> Unit
}
| 0 | Java | 0 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 159 | kotlin | Apache License 2.0 |
features/dd-sdk-android-session-replay/src/test/kotlin/com/datadog/android/sessionreplay/forge/SystemInformationForgeryFactory.kt | DataDog | 219,536,756 | false | {"Kotlin": 9121111, "Java": 1179237, "C": 79303, "Shell": 63055, "C++": 32351, "Python": 5556, "CMake": 2000} | /*
* 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.sessionreplay.forge
import android.conte... | 61 | Kotlin | 60 | 151 | d7e640cf6440ab150c2bbfbac261e09b27e258f4 | 1,391 | dd-sdk-android | Apache License 2.0 |
shared/src/commonMain/kotlin/com/kaushalvasava/apps/kmp_api_handling/model/ImageModel.kt | KaushalVasava | 683,397,952 | false | {"Kotlin": 21384, "Swift": 342} | package com.kaushalvasava.apps.kmp_api_handling.model
import kotlinx.serialization.Serializable
@Serializable
data class ImageModel(var urls: UrlModel)
| 0 | Kotlin | 3 | 9 | 973ab6f9a1b07cb1d123aae696ce5d78ae12d4a8 | 154 | KMP_ApiHanding | Apache License 2.0 |
otpcomposable/src/main/java/com/itmagination/otpcomposable/widgets/LoadingView.kt | itmaginationdemos | 554,857,435 | false | null | package com.itmagination.otpcomposable.widgets
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.MaterialTheme
import androidx.compose... | 0 | Kotlin | 0 | 2 | cfed753f5430a3eac5be5f0fb2a1c6f926bd474b | 1,604 | OTPComposable | MIT License |
service/src/test/java/be/hogent/faith/service/usecases/MakeEventFilesAvailableUseCaseTest.kt | hydrolythe | 353,694,404 | false | null | package be.hogent.faith.service.usecases
import be.hogent.faith.domain.models.Event
import be.hogent.faith.service.encryption.IEventEncryptionService
import be.hogent.faith.service.repositories.IEventRepository
import be.hogent.faith.service.repositories.IFileStorageRepository
import be.hogent.faith.service.usecases.e... | 0 | Kotlin | 0 | 0 | 14c6aec4b3c0a42bc73a7f779964d166fffeea20 | 2,355 | FAITHAndroid | The Unlicense |
kotgres-core/src/main/kotlin/kotgres/annotations/Save.kt | mfarsikov | 308,982,204 | false | null | package kotgres.annotations
@Target(AnnotationTarget.FUNCTION)
annotation class Save
| 1 | Kotlin | 0 | 23 | a648d4806a44598f1660c785aad6f53154f922fa | 86 | kotgres | Apache License 2.0 |
samples/simple-routing/src/main/java/com/badoo/ribs/samples/simplerouting/simple_routing_parent/builder/SimpleRoutingParentBuilder.kt | simona-anomis | 335,746,355 | true | {"Kotlin": 1186530} | package com.badoo.ribs.samples.simplerouting.simple_routing_parent.builder
import com.badoo.ribs.builder.SimpleBuilder
import com.badoo.ribs.core.modality.BuildParams
import com.badoo.ribs.samples.simplerouting.simple_routing_parent.SimpleRoutingParent
import com.badoo.ribs.samples.simplerouting.simple_routing_parent.... | 0 | null | 0 | 0 | a9d5cc6dbb9e2bf8cf9240d0e835dc43aefc5cde | 1,210 | RIBs | Apache License 2.0 |
app/src/main/java/jp/kaleidot725/easycalc/compose/app/ComposeAppAction.kt | kaleidot725 | 727,725,457 | false | {"Kotlin": 331996, "Ruby": 106} | package jp.kaleidot725.easycalc.compose.app
interface ComposeAppAction
| 2 | Kotlin | 0 | 0 | d507dd11a73cd67b1b253db0156d3f00cdcf994a | 72 | EasyCalc | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/deliusapi/repository/CourtReportRepository.kt | ministryofjustice | 334,932,480 | false | null | package uk.gov.justice.digital.hmpps.deliusapi.repository
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import uk.gov.justice.digital.hmpps.deliusapi.entity.CourtReport
@Repository
interface CourtReportRepository : JpaRepository<CourtReport, Long>
| 2 | Kotlin | 1 | 4 | 371eb9040373cbc4dfefefb09ecefab47466298b | 314 | hmpps-delius-api | MIT License |
src/main/kotlin/com/helltar/twitchviewerbot/dao/DatabaseFactory.kt | Helltar | 580,061,642 | false | {"Kotlin": 47287} | package com.helltar.twitchviewerbot.dao
import com.helltar.twitchviewerbot.EnvConfig.databaseName
import com.helltar.twitchviewerbot.EnvConfig.databasePassword
import com.helltar.twitchviewerbot.EnvConfig.databaseUser
import com.helltar.twitchviewerbot.EnvConfig.postgresqlHost
import com.helltar.twitchviewerbot.EnvCon... | 0 | Kotlin | 0 | 5 | f570adaf1ca8b5836735649b86aaad00e62204d9 | 1,315 | twitchviewer_bot | MIT License |
plugins/com.flinty.docsflow.web.core/source/com/flinty/docsflow/web/core/order/ShowOrderDifferenceEditorObjectButtonHandler.kt | flint80 | 413,383,841 | false | {"Kotlin": 291036, "HTML": 8515, "CSS": 317} | /*****************************************************************
* Gridnine AB http://www.gridnine.com
* Project: coralina-docs-flow
*****************************************************************/
package com.flinty.docsflow.web.core.order
import com.flinty.docsflow.common.core.model.rest.CalculateOrderDiffere... | 0 | Kotlin | 0 | 0 | d64d64bd2f539a6579ee80dc2c89b22b4c644ddc | 1,549 | coralina-docs-flow | MIT License |
shared/src/commonMain/kotlin/presentation/widgets/PostLists.kt | prashant17d97 | 754,377,560 | false | {"Kotlin": 326072, "Ruby": 2184, "Swift": 657, "Shell": 228} | package presentation.widgets
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.SizeTransform
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
i... | 1 | Kotlin | 0 | 0 | d219d35d81823a049999285f57b5a8d6b1aff1bf | 9,735 | debug-desk | Apache License 2.0 |
src/main/kotlin/io/art/gradle/common/configurator/ExecutableConfigurator.kt | art-community | 200,132,555 | false | null | /*
* ART
*
* Copyright 2019-2022 ART
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | Kotlin | 1 | 3 | 2c6fa18ff4e7b8857a540d042448b2bb425dea2c | 2,482 | art-gradle | Apache License 2.0 |
app/src/main/java/com/cevlikalprn/youneedtodo/domain/useCase/SearchDatabaseUseCase.kt | cevlikalprn | 633,055,594 | false | {"Kotlin": 115649} | package com.cevlikalprn.youneedtodo.domain.useCase
import com.cevlikalprn.youneedtodo.domain.mapper.TaskListMapper
import com.cevlikalprn.youneedtodo.presentation.model.ToDoTask
import com.cevlikalprn.youneedtodo.data.repository.ToDoRepository
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
impo... | 0 | Kotlin | 0 | 0 | be41ed5c8b4197003b66f597748e441f3c53f66c | 734 | Compose-ToDoTasks | Apache License 2.0 |
app/src/main/java/br/com/alura/orgs/dao/ProdutoDAO.kt | JoaoLucasKnight | 771,632,464 | false | {"Kotlin": 6354} | package br.com.alura.orgs.dao
import br.com.alura.orgs.model.Produto
class ProdutoDAO {
fun adicionar (produto: Produto){
produtos.add(produto)
}
fun listar(): List<Produto>{
return produtos.toList()
}
companion object {
private val produtos = mutableListOf<Produto>()
... | 0 | Kotlin | 0 | 0 | 4574567cbabd33a06c247a4389f36f048e959314 | 325 | Android_Fundament | MIT License |
app/src/main/java/com/dekram/trumpetabc/MainActivity.kt | vlmrkv | 609,334,742 | false | {"Kotlin": 10936} | package com.dekram.trumpetabc
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
class MainActivity : AppCompatActivity() {
private lateinit var fingerings: TextView
private lateinit var tones: TextView
private lateinit va... | 0 | Kotlin | 0 | 0 | 1586867f338f0926d0752e9e4c3bb7f5b673216e | 1,101 | TrumpetABC | MIT License |
plugins/grazie/src/main/kotlin/com/intellij/grazie/jlanguage/LangTool.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.grazie.jlanguage
import com.intellij.grazie.GrazieConfig
import com.intellij.grazie.ide.msg.GrazieStateLifecycle
import com.intellij.grazie.jlanguage.broker.... | 1 | null | 2 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 2,224 | intellij-community | Apache License 2.0 |
xhd/src/main/java/com/architecture/light/utils/Test.kt | LingChenJie | 519,031,973 | false | null | package com.architecture.light.utils
import com.architecture.light.helper.FeeHelper
/**
* Created by SuQi on 2022/8/3.
* Describe:
*/
fun main(args: Array<String>) {
// println(AmountHelper.convertAmount("1,010,000.18"))
// val stringCent2Long = AmountHelper.formatAmount(AmountHelper.convertAmount("0.18"))
/... | 0 | Kotlin | 0 | 0 | fa0a0e3eafe01fbe6342c93d350903bd3560e9f9 | 819 | LightArchitecture | Apache License 2.0 |
src/main/kotlin/no/nav/helse/flex/client/DokArkivClient.kt | navikt | 451,810,928 | false | {"Kotlin": 246162, "Dockerfile": 267} | package no.nav.helse.flex.client
import com.fasterxml.jackson.module.kotlin.readValue
import no.nav.helse.flex.domain.JournalpostRequest
import no.nav.helse.flex.domain.JournalpostResponse
import no.nav.helse.flex.domain.LogiskVedleggRequest
import no.nav.helse.flex.domain.LogiskVedleggResponse
import no.nav.helse.fle... | 4 | Kotlin | 0 | 0 | 897e0cb85b9c773c487d9c033ab8dbbb116b53a7 | 3,096 | sykepengesoknad-arkivering-oppgave | MIT License |
data/sqldelight/src/nonAndroidMain/kotlin/com/taetae98/codelab/data/sqldelight/SqldelightModule.kt | taetae98coding | 708,459,882 | false | {"Kotlin": 88745, "Swift": 1267, "HTML": 233, "Ruby": 109} | package com.taetae98.codelab.data.sqldelight
import org.koin.core.annotation.Module
import org.koin.core.annotation.Singleton
@Module
internal expect class SqldelightModule {
@Singleton
fun providesMemoDatabase(): MemoDatabase
}
| 0 | Kotlin | 0 | 0 | 3877e6171172a1a6273461232e0252f1c4605ec8 | 239 | CodeLab | Apache License 2.0 |
app/src/main/java/ilkadam/ilkmuhabbet/presentation/commoncomponents/LogOutCustomText.kt | ademkocamaz | 803,881,747 | false | {"Kotlin": 254039} | package ilkadam.ilkmuhabbet.presentation.commoncomponents
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.Button
import androidx.compose.material3.ButtonDefaults
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runti... | 0 | Kotlin | 0 | 0 | a1024979aa2e679083c3216abd0fd3e60f3850b4 | 1,469 | ilkMuhabbet | MIT License |
BraintreeCore/src/main/java/com/braintreepayments/api/core/DeviceInspector.kt | braintree | 21,631,528 | false | null | package com.braintreepayments.api
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Build
import androidx.annotation.RestrictTo
import androidx.annotation.VisibleForTesting
/**
* @suppress
*/
@RestrictTo(Restr... | 24 | null | 233 | 409 | 92dabb74f14e6203259511f6b6a51367e3247fc5 | 5,202 | braintree_android | MIT License |
src/main/kotlin/me/itstake/neisinfo/NeisParser.kt | EATSTEAK | 182,555,496 | false | {"HTML": 163795, "Kotlin": 31970} | package me.itstake.neisinfo
import java.io.StringWriter
import java.util.HashMap
import kotlin.collections.ArrayList
import kotlin.collections.set
class NeisParser {
companion object {
//FOR SCHOOL INFO
fun parseSchoolInfo(data: String): Info {
val convertKey = hashMapOf("학교명" to "na... | 0 | HTML | 0 | 0 | 36859fece65460efa5eadc0b5bfc1f6bcda42723 | 18,976 | neisinfo | Apache License 2.0 |
backend/src/main/kotlin/br/com/zup/bff/builder/ListViewDslScreenBuilder.kt | ZupIT | 322,612,408 | false | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 4 | Kotlin | 0 | 4 | 3339739c2f0c82cb483febfe43a782995f7f2dc0 | 3,701 | beagle-helpers | Apache License 2.0 |
examples/widgets-gallery/common/src/commonMain/kotlin/org/jetbrains/compose/demo/widgets/ui/screens/Loaders.kt | JetBrains | 293,498,508 | false | null | package org.jetbrains.compose.demo.widgets.ui.screens
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.CircularProgressIndicator
import... | 934 | Kotlin | 826 | 9,090 | 97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c | 1,120 | compose-jb | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.