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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/src/main/kotlin/io/github/oleksivio/tl/kbot/core/controller/annotations/parser/filter/primitive/DoubleFilterParser.kt | oleksivio | 145,889,451 | false | null | package io.github.oleksivio.tl.kbot.core.controller.annotations.parser.filter.primitive
import io.github.oleksivio.tl.kbot.core.annotations.filter.primitive.DoubleFilter
import io.github.oleksivio.tl.kbot.core.controller.annotations.parser.filter.FilterParser
import io.github.oleksivio.tl.kbot.core.controller.annotati... | 0 | Kotlin | 0 | 5 | d38b5be33c5217a3f91e44394995f112fd6b0ab9 | 951 | tl-kbot | Apache License 2.0 |
modules/di/sources-jvm/configuration/TransactionDIRaptorComponent.kt | fluidsonic | 246,018,343 | false | null | package io.fluidsonic.raptor
import kotlin.reflect.*
internal class TransactionDIRaptorComponent : RaptorComponent.Default<RaptorDIComponent>(), RaptorDIComponent {
private val builder = DefaultRaptorDIBuilder()
internal val factoryPropertyKey: RaptorPropertyKey<RaptorDI.Factory> = FactoryPropertyKey()
overrid... | 0 | null | 1 | 3 | 47239ea4c2acb76e14b2125190ee76f253b60e4f | 1,663 | raptor | Apache License 2.0 |
app/src/main/java/com/fatlytics/app/ui/base/BaseFragmentActivity.kt | necatisozer | 177,310,241 | false | null | package com.fatlytics.app.ui.base
import androidx.databinding.ViewDataBinding
import androidx.navigation.NavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.navigateUp
import androidx.navigation.ui.setupActionBarWithNavController
abstract class BaseFragmentActivity<M : BaseVi... | 0 | Kotlin | 0 | 1 | 6f5cadb83570d09f5aea89d9fc1139b7ccb7bc0c | 864 | Fatlytics | Apache License 2.0 |
widgetssdk/src/main/java/com/glia/widgets/chat/domain/MapChatItemUseCases.kt | salemove | 312,288,713 | false | {"Kotlin": 1962263, "Java": 448482, "Shell": 1802} | package com.glia.widgets.chat.domain
import com.glia.androidsdk.chat.AttachmentFile
import com.glia.androidsdk.chat.SingleChoiceAttachment
import com.glia.androidsdk.chat.VisitorMessage
import com.glia.widgets.chat.model.Attachment
import com.glia.widgets.chat.model.OperatorAttachmentItem
import com.glia.widgets.chat.... | 3 | Kotlin | 1 | 7 | 0a8101cc7e6d8347eafd5ee88334157e9eb6936d | 3,113 | android-sdk-widgets | MIT License |
src/test/kotlin/com/grandia/service/CarServiceTest.kt | macongpeng | 736,495,276 | false | {"Kotlin": 25987} | package com.grandia.service
import com.grandia.model.Car
import com.grandia.repository.CarRepository
import com.grandia.repository.CustomerRepository
import org.junit.jupiter.api.Test
import org.mockito.Mockito
import org.junit.jupiter.api.Assertions.*
class CarServiceTest {
private val carRepository: CarReposit... | 0 | Kotlin | 0 | 0 | 4cc5146fb170821e9703d679ed78b92dfa92e549 | 800 | bookingservice | Apache License 2.0 |
fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/FXGLSlider.kt | AlmasB | 32,761,091 | false | null | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package com.almasb.fxgl.ui
import javafx.scene.control.Slider
import javafx.scene.effect.BoxBlur
/**
*
* @author Almas Baimagambetov (almaslvl@gmail.com)
*/
class FXGLSlider : Sli... | 138 | null | 546 | 4,315 | c0eaf4b0af29cf062867a37f3424a4ac37e8dcca | 1,284 | FXGL | MIT License |
core/src/main/kotlin/gropius/service/common/AuditedNodeService.kt | ccims | 487,996,394 | false | {"Kotlin": 1147412, "Dockerfile": 263} | package gropius.service.common
import gropius.dto.input.common.Input
import gropius.dto.input.common.UpdateNodeInput
import gropius.model.common.AuditedNode
import gropius.model.user.User
import gropius.repository.GropiusRepository
import java.time.OffsetDateTime
/**
* Base class for services for subclasses of [Audi... | 5 | Kotlin | 1 | 0 | 80f2f32af490afb818245f0c30cc9afcb40e8817 | 1,789 | gropius-backend | MIT License |
kotlintest-tests/kotlintest-tests-core/src/jvmTest/kotlin/com/sksamuel/kotlintest/tables/CsvDataSourceTest.kt | renatovalezin | 204,740,250 | true | {"Kotlin": 1502843, "JavaScript": 461, "Java": 157, "Shell": 125} | //package com.sksamuel.kotlintest.tables
//
//import com.univocity.parsers.csv.CsvFormat
//import io.kotlintest.matchers.comparables.gt
//import io.kotlintest.specs.WordSpec
//import io.kotlintest.shouldBe
//import io.kotlintest.shouldNotBe
//import io.kotlintest.tables.CsvDataSource
//import io.kotlintest.tables.Heade... | 0 | Kotlin | 0 | 0 | 233d9a559fa1ee678cfdc22c286f49c1de7bf4a4 | 999 | kotlintest | Apache License 2.0 |
src/test/kotlin/muontrap/AppTests.kt | SgtPepperLHCB | 226,919,153 | false | null | package muontrap
import kotlin.test.Test
import kotlin.test.assertNotNull
import kotlin.test.assertTrue
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
import kotlin.test.assertEquals
import kotlin.test.assertTrue
class AppTest {
@Test
fun nop() {
assert... | 0 | Kotlin | 0 | 0 | 139a8ef27b608e9555a6e5f7ac1a998511c44b6f | 467 | muon-trap-kt | Apache License 2.0 |
app/src/main/java/tuver/movies/provider/di/ProviderModule.kt | cemtuver | 611,461,467 | false | null | package tuver.movies.provider.di
import android.content.Context
import tuver.movies.BuildConfig
import tuver.movies.R
import tuver.movies.provider.MovieImageProvider
import tuver.movies.provider.impl.MovieImageProviderImpl
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.andr... | 0 | Kotlin | 0 | 0 | 657f26f39607f47634e97708281426bdb9652a48 | 970 | android-movies | MIT License |
Sushi/app/src/main/java/com/destructo/sushi/ui/anime/animeCharacters/AnimeCharactersFragment.kt | destructo570 | 302,356,237 | false | null | package com.destructo.sushi.ui.anime.animeCharacters
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.widget.Toolbar
import androidx.core.os.bundleOf
import androidx.fragment.app.viewModels
import androidx.navigation.findNavCon... | 3 | Kotlin | 5 | 21 | 68317c04caa596103d3fd32b0f34fe43b189a721 | 3,674 | Sushi-Unofficial-MAL-Client | Apache License 2.0 |
src/main/kotlin/no/nav/bidrag/beregn/forskudd/rest/controller/BeregnForskuddController.kt | navikt | 240,206,383 | false | {"Kotlin": 4969, "Dockerfile": 206, "Shell": 197} | package no.nav.bidrag.beregn.forskudd.rest.controller
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.security.SecurityRequirement
import io.swagger.v3.oas.models.examples.Example
import no.nav.bidrag.beregn.forskudd.BeregnForskuddApi
import no.nav.bidrag.commons.util.OpenApiExample... | 3 | Kotlin | 0 | 1 | c604ee5b6bf7bd164e9a944c3c484eb3c5e21e2f | 1,741 | bidrag-beregn-forskudd-rest | MIT License |
plugin/src/main/kotlin/ru/astrainteractive/aspekt/adminprivate/debounce/RetractKey.kt | Astra-Interactive | 588,890,842 | false | null | package ru.astrainteractive.aspekt.adminprivate.debounce
interface RetractKey {
class Vararg(vararg val value: Any) : RetractKey
}
| 0 | Kotlin | 0 | 0 | 206574be4cd03fcd5dcb0c506e35fd5d52ef82d4 | 136 | AspeKt | MIT License |
app/src/main/java/jp/juggler/wlclient/DlgContextMenu.kt | tateisu | 202,806,522 | false | null | package jp.juggler.wlclient
import android.annotation.SuppressLint
import android.app.Dialog
import android.content.Intent
import android.view.WindowManager
import android.widget.Button
import android.widget.ImageButton
import android.widget.TextView
import androidx.core.content.FileProvider
import com.bumptech.glide.... | 0 | Kotlin | 0 | 1 | 8b02357416a7d2a90b41edf01b4a5a61f7d991c5 | 6,771 | WLClient | Apache License 2.0 |
facebook/src/main/java/co/anitrend/support/auth/facebook/FacebookAuthActivity.kt | AniTrend | 161,173,723 | false | null | package co.anitrend.support.auth.facebook
import android.app.ProgressDialog
import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.facebook.AccessToken
import com.facebook.CallbackManager
import com.facebook.FacebookAuthorizationException
import com.facebook.FacebookCallback
... | 0 | Kotlin | 0 | 2 | c549a1b262443fbdd9dfaa09be9a76906c7e918e | 2,284 | support-auth | Apache License 2.0 |
app/src/main/java/com/yvkalume/gifapp/ui/screen/home/logic/HomeUiState.kt | yveskalume | 604,632,872 | false | null | package com.yvkalume.gifapp.ui.screen.home.logic
sealed interface HomeUiState {
data class Success<T>(val data: List<T>) : HomeUiState
data class Error(val message: String) : HomeUiState
object Loading : HomeUiState
} | 0 | Kotlin | 0 | 3 | 4815a9563f899cbf90237a1a93de2d57d0fedeac | 224 | gif-app | Apache License 2.0 |
build-tools/agp/src/main/java/com/android/builder/dexing/r8Tool.kt | RivanParmar | 526,653,590 | false | {"Java": 48334972, "Kotlin": 8896058, "HTML": 109232, "Lex": 13233, "ReScript": 3232, "Makefile": 2194} | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Java | 2 | 17 | 8fb2bb1433e734aa9901184b76bc4089a02d76ca | 21,884 | androlabs | Apache License 2.0 |
TeamsOverviewFragment.kt | Aqil-design | 339,459,464 | false | null | package com.omrobbie.footballapps.view.teamsDetail
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.omrobbie.footballapps.R
import kotlinx.android.synthetic.main.fragment_teams_overview.*
import org.j... | 0 | Kotlin | 0 | 0 | a32d7089af44bf86bcc077b8f199b48603d3bfff | 1,095 | Aplikasi-Pertandingan-bola | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/melding/kafka/dialogmelding/KafkaDialogmeldingFraBehandlerConsumer.kt | navikt | 602,146,320 | false | {"Kotlin": 373054, "Dockerfile": 226} | package no.nav.syfo.melding.kafka.dialogmelding
import kotlinx.coroutines.runBlocking
import no.nav.syfo.application.database.DatabaseInterface
import no.nav.syfo.application.kafka.*
import no.nav.syfo.client.padm2.Padm2Client
import no.nav.syfo.client.padm2.VedleggDTO
import no.nav.syfo.domain.PersonIdent
import no.n... | 0 | Kotlin | 0 | 0 | cd3e9c3d9e74186d11274e5ba3618d70d7e46f6b | 6,496 | isbehandlerdialog | MIT License |
app/src/main/java/eu/caraus/appsflastfm/ui/search/artists/ArtistsInteractor.kt | alexandrucaraus | 144,028,779 | false | {"Kotlin": 202701} | package eu.caraus.appsflastfm.ui.search.artists
import eu.caraus.appsflastfm.common.extensions.failed
import eu.caraus.appsflastfm.common.extensions.loading
import eu.caraus.appsflastfm.common.extensions.subOnIoObsOnUi
import eu.caraus.appsflastfm.common.extensions.success
import eu.caraus.appsflastfm.common.retrofit.... | 0 | Kotlin | 0 | 0 | fb9b4a218fa4c09b23b253eb75ee62456b4b47ff | 1,478 | ShowCase-AppsFactoryLastFmMvp | MIT License |
app/src/main/java/com/kvl/cyclotrack/util/StravaUtilities.kt | kevinvanleer | 311,970,003 | false | null | package com.kvl.cyclotrack.util
import android.content.Context
import android.util.Log
import com.garmin.fit.DateTime
import com.garmin.fit.Mesg
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.kvl.cyclotrack.*
import com.kvl.cyclotrack.data.CadenceSpeedMeasurementRepository
import com.kvl.cyclotr... | 0 | null | 1 | 7 | e62bbb39eec10d2f3c327c024f1462e3a6736987 | 14,679 | cyclotrack | The Unlicense |
domain/src/commonMain/kotlin/ly/david/musicsearch/domain/search/history/usecase/RecordSearchHistory.kt | lydavid | 458,021,427 | false | {"Kotlin": 1354732, "HTML": 674577, "Python": 3489, "Shell": 1543, "Ruby": 955} | package ly.david.musicsearch.domain.search.history.usecase
import ly.david.musicsearch.core.models.network.MusicBrainzEntity
import ly.david.musicsearch.domain.search.history.SearchHistoryRepository
import org.koin.core.annotation.Single
@Single
class RecordSearchHistory(
private val searchHistoryRepository: Sear... | 104 | Kotlin | 0 | 6 | 4f49e75742e4c2135161e98df9db15b418c6c3fe | 511 | MusicSearch | Apache License 2.0 |
zip/src/test/java/com/microsoft/zip/ZipReaderTest.kt | sayan-chaliha | 359,348,228 | false | null | package com.microsoft.zip
import com.microsoft.zip.internal.ZipReaderImpl
import com.microsoft.zip.internal.cache.MemoryCache
import com.microsoft.zip.internal.input.FileRandomAccessInput
import com.microsoft.zip.internal.input.HttpRandomAccessInput
import com.microsoft.zip.internal.input.RandomAccessInput
import java... | 0 | Kotlin | 0 | 0 | f094180ec28140cde8e6dec34654e07c4704adc8 | 5,880 | remote-zip-android | MIT License |
remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/models/InlineObject131ApiModel.kt | wasabi-muffin | 462,369,263 | false | {"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812} | /**
* GitHub v3 REST API
*
* GitHub's v3 REST API.
*
* The version of the OpenAPI document: 1.1.4
*
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"R... | 0 | Kotlin | 0 | 1 | 2194a2504bde08427ad461d92586497c7187fb40 | 1,021 | github-sample-project | Apache License 2.0 |
aws-storage-s3/src/test/java/com/amplifyframework/storage/s3/operation/AWSS3StorageDownloadFileOperationTest.kt | aws-amplify | 177,009,933 | false | null | /*
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 84 | Java | 71 | 130 | 4b81c77bcd2416e3e65119fed626afe064781354 | 5,206 | amplify-android | Apache License 2.0 |
photo_editor/src/main/java/com/shevelev/photo_editor/MainActivity.kt | AlShevelev | 283,178,554 | false | null | package com.shevelev.photo_editor
import android.app.Activity
import android.content.Intent
import android.graphics.BitmapFactory
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.shevelev.photo_editor.cross_activity_communication.CrossActivityCommunicator
import com.shevelev.photo_ed... | 0 | Kotlin | 0 | 1 | 6894f98fb439f30ef7a9988043ace059b844c81b | 2,622 | MyFootprints_remastered | Apache License 2.0 |
data/src/main/kotlin/io/wax911/sample/data/usecase/show/ShowPagedListUseCase.kt | fossabot | 223,555,788 | true | {"Gradle": 14, "Java Properties": 3, "Markdown": 7, "YAML": 2, "Shell": 1, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Proguard": 10, "Kotlin": 158, "XML": 78, "INI": 6, "JSON": 8, "Java": 1} | package io.wax911.sample.data.usecase.show
import androidx.paging.PagedList
import co.anitrend.arch.data.model.UserInterfaceState
import io.wax911.sample.data.entitiy.show.ShowEntity
import io.wax911.sample.data.repository.show.ShowPagedRepository
import io.wax911.sample.domain.usecases.show.TraktShowUseCase
class Sh... | 0 | Kotlin | 0 | 0 | 50be1a136fc46fb0eaccc041ef40eca2f4c67771 | 664 | support-arch | Apache License 2.0 |
app/src/main/java/com/kaiser/weatherapp/models/HourModel.kt | MisterKaiou | 265,963,712 | false | null | package com.kaiser.weatherapp.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class HourModel(
@SerialName("time_epoch") val timeEpoch: Long,
val time: String,
@SerialName("temp_c") val tempCelsius: Double,
@SerialName("temp_f") val tempFahre... | 0 | Kotlin | 0 | 0 | a45dc69ab93a6cd9b753119df23fb3bbdfa32ca8 | 1,809 | WeatherApp | MIT License |
drapi/src/main/java/dk/youtec/drapi/DrMuRepository.kt | azgul | 113,665,070 | false | null | package dk.youtec.drapi
import okhttp3.OkHttpClient
import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
/**
* Implements a Java API for https://www.dr.dk/mu-online/Help/1.4
*/
class DrMuRepository @JvmOverloads constructor(client: OkHttpClient? = null) {
priv... | 1 | null | 1 | 1 | d064a69c713fcb7c8ce1cec876f7b92702154e2b | 2,446 | drchannels | MIT License |
interactive-text/src/jvmMain/kotlin/me/okonecny/interactivetext/NavigableLazyColumn.kt | konecny-ondrej | 784,920,382 | false | {"Kotlin": 223790} | package me.okonecny.interactivetext
import androidx.compose.foundation.gestures.FlingBehavior
import androidx.compose.foundation.gestures.ScrollableDefaults
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.lazy.*
import and... | 1 | Kotlin | 0 | 6 | 0e1f0019178329dd2f8194bbd760355228ee989c | 2,251 | compose-markdown-editor | MIT License |
tinn-opengl/src/main/kotlin/com/virusbear/tinn/opengl/IndexBufferGL.kt | virusbear | 809,423,131 | false | {"Kotlin": 65340} | package com.virusbear.tinn.opengl
import com.virusbear.tinn.IndexBuffer
import com.virusbear.tinn.Trackable
import org.lwjgl.opengl.GL15C.*
class IndexBufferGL(
override val size: Int
): IndexBuffer, Trackable() {
private val ebo: Int
init {
ebo = glGenBuffers()
checkGLErrors()
b... | 0 | Kotlin | 0 | 0 | 2bede64a6c92dbf2148ef08bc0f3efc8f5008edf | 854 | tinn | Apache License 2.0 |
view/src/main/java/cmm/apps/esmorga/view/theme/Type.kt | cmm-apps-android | 797,188,002 | false | {"Kotlin": 188568} | package cmm.apps.esmorga.view.theme
import androidx.compose.material3.ColorScheme
import androidx.compose.material3.Typography
import androidx.compose.runtime.Composable
import androidx.compose.ui.text.ExperimentalTextApi
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androi... | 1 | Kotlin | 0 | 0 | fc604a8bfd36089a23eefb4029270b039aa3bbfb | 3,393 | EsmorgaAndroid | The Unlicense |
clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/CheckIssueDetail.kt | TabbyML | 614,764,248 | false | {"Rust": 973704, "Python": 74127, "HTML": 20155, "TypeScript": 6661, "Scheme": 6280, "Shell": 3564, "Makefile": 2813, "JavaScript": 1546, "PowerShell": 26, "RenderScript": 1} | package com.tabbyml.intellijtabby.actions
import com.intellij.icons.AllIcons
import com.intellij.openapi.actionSystem.*
import com.intellij.openapi.application.invokeLater
import com.intellij.openapi.components.service
import com.intellij.openapi.components.serviceOrNull
import com.intellij.openapi.ui.Messages
import ... | 204 | Rust | 957 | 21,156 | ca7895b2f80f81c2b723ab7d4bd1f3fc5edd32fc | 4,479 | tabby | Apache License 2.0 |
modules/item/src/main/kotlin/io/heartpattern/spikot/item/NMSItemStack.kt | Spikot | 262,074,229 | false | null | /*
* Copyright (c) 2020 HeartPattern and Spikot authors
*
* 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, mo... | 0 | Kotlin | 0 | 14 | ea00c92973dea15175c42336ec059389655499d7 | 2,584 | Spikot | MIT License |
app/src/main/java/com/gandis/kamera/MainActivity.kt | gandis0713 | 744,609,501 | false | {"Kotlin": 7088, "CMake": 2516, "C++": 894} | package com.gandis.kamera
import android.Manifest
import android.content.Context
import android.content.pm.PackageManager
import android.graphics.SurfaceTexture
import android.hardware.camera2.CameraAccessException
import android.hardware.camera2.CameraCaptureSession
import android.hardware.camera2.CameraCharacteristi... | 0 | Kotlin | 0 | 0 | f9aba8091304ed4e0988992bdf0a2888e00fb333 | 6,074 | kamera | MIT License |
src/main/kotlin/CUnitMainData.kt | argcc | 777,572,651 | false | {"Kotlin": 866115} | package org.example
class CUnitMainData : CUnitMainDataBase() {
var complection = Vec3f()
var body_parts = mutableListOf<String>()
}
| 0 | Kotlin | 0 | 0 | 415f3190279236c8c1335a0f8556f3bb9eac5256 | 142 | ei_reverse_consp | MIT License |
app/src/main/java/com/sample/tmdb/utils/TMDbException.kt | alirezaeiii | 544,156,630 | false | {"Kotlin": 223300} | package com.sample.tmdb.utils
class TMDbException(message: String): Exception(message) | 0 | Kotlin | 1 | 6 | dcc76d9797c400f2a0c365b60719646e1ebef673 | 87 | TMDb-Compose-Playground | The Unlicense |
feature/onboarding/src/main/kotlin/app/logdate/feature/onboarding/ui/EntryPrompt.kt | WillieCubed | 187,304,507 | false | {"Kotlin": 458147, "Java": 1084} | package app.logdate.feature.onboarding.ui
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.l... | 0 | Kotlin | 0 | 0 | 51a51bd8c264aecc9190f67ec1fbb56e37b7e9fc | 1,241 | logdate-mobile | MIT License |
app/src/main/java/com/filkom/banksampahdelima/screen/trash_exchange/TrashExchangeSuccessScreen.kt | fahmigutawan | 572,343,810 | false | null | package com.filkom.banksampahdelima.screen.trash_exchange
import android.annotation.SuppressLint
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.fou... | 0 | Kotlin | 0 | 0 | df1887bd0633922c06f386e36aa19ada2b3d1496 | 2,817 | Jetpack-BankSampahRW5 | MIT License |
release/src/test/kotlin/io/github/serpro69/semverkt/release/configuration/DefaultConfigurationTest.kt | serpro69 | 439,672,455 | false | {"Kotlin": 293170, "Makefile": 1478} | package io.github.serpro69.semverkt.release.configuration
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.shouldBe
class DefaultConfigurationTest : DescribeSpec({
assertSoftly = true
describe("DefaultConfiguration") {
val dc = DefaultConfiguration
val provider = objec... | 3 | Kotlin | 2 | 7 | 92144f0df2cd1ab31993dc0e18aba39d0b184413 | 2,115 | semver.kt | MIT License |
m4-hw6-vafs-biz/src/main/kotlin/general/PrepareResult.kt | smith1984 | 587,390,812 | false | null | package ru.beeline.vafs.biz.general
import ru.beeline.vafs.common.VafsContext
import ru.beeline.vafs.common.models.VafsState
import ru.beeline.vafs.common.models.VafsWorkMode
import ru.beeline.vafs.cor.ICorChainDsl
import ru.beeline.vafs.cor.worker
fun ICorChainDsl<VafsContext>.prepareResult(title: String) = worker {... | 0 | Kotlin | 0 | 0 | ba96e9998cb3cb1d40a4f083840343975bb1a329 | 673 | otuskotlin | Apache License 2.0 |
owntracks-android-2.5/project/app/src/main/java/org/owntracks/android/ui/preferences/AbstractPreferenceFragment.kt | wir3z | 737,346,188 | false | {"Kotlin": 928031, "Groovy": 378108, "Java": 12862, "Shell": 4540} | package org.owntracks.android.ui.preferences
import android.os.Bundle
import androidx.preference.PreferenceFragmentCompat
import javax.inject.Inject
import org.owntracks.android.R
import org.owntracks.android.preferences.PreferenceDataStoreShim
import org.owntracks.android.preferences.Preferences
import org.owntracks.... | 0 | Kotlin | 3 | 5 | 27f788fbc6d5a85a262d04af15e5e3fe6435c53c | 957 | hubitat | Apache License 2.0 |
KmpIO/src/iosX64Main/kotlin/com/oldguy/common/io/Files.kt | skolson | 455,719,247 | false | {"Kotlin": 465364, "Ruby": 2172} | package com.oldguy.common.io
import kotlinx.datetime.LocalDateTime
actual class TimeZones {
actual companion object {
actual fun getDefaultId(): String {
return AppleTimeZones.getDefaultId()
}
}
}
actual class File actual constructor(filePath: String, val platformFd: FileDescripto... | 3 | Kotlin | 2 | 27 | 55661278656462f9b8d2ab4bd8bbc1cb4a927983 | 10,727 | KmpIO | Apache License 2.0 |
app-public/src/main/java/com/brivo/app_sdk_public/TestTags.kt | brivo-mobile-team | 768,173,909 | false | {"Kotlin": 98582, "Shell": 305} | package com.brivo.app_sdk_public
object TestTags {
const val PASSES_LIST = "passes_list"
const val PASSES_LIST_ITEM = "passes_list_item"
} | 0 | Kotlin | 0 | 0 | edf7a7d0f49eefb8d134090d934903d8993449c3 | 148 | brivo-mobile-sdk-android | Apache License 2.0 |
src/main/kotlin/dev/lutergs/lutergsbackend/domain/push/subscriber/ProjectionAndAggregate.kt | lutergs-dev | 634,272,311 | false | {"Kotlin": 124306, "Shell": 142} | package dev.lutergs.lutergsbackend.domain.push.subscriber
import dev.lutergs.lutergsbackend.domain.push.SubscriberReadRepository
import dev.lutergs.lutergsbackend.domain.push.SubscriberWriteRepository
import reactor.core.publisher.Mono
import reactor.kotlin.core.publisher.switchIfEmpty
class SubscriberProjection (
... | 0 | Kotlin | 0 | 0 | cd9b9bc0513aaf364f3e34e647a445cb936e4c0b | 2,358 | backend | MIT License |
app/src/main/java/com/renaisn/reader/ui/book/read/page/provider/ZhLayout.kt | RenaisnNce | 598,532,496 | false | null | package com.renaisn.reader.ui.book.read.page.provider
import android.graphics.Rect
import android.text.Layout
import android.text.TextPaint
import com.renaisn.reader.utils.toStringArray
import kotlin.math.max
/**
* 针对中文的断行排版处理-by hoodie13
* 因为StaticLayout对标点处理不符合国人习惯,继承Layout
* */
@Suppress("MemberVisibilityCanBeP... | 1 | Kotlin | 1 | 4 | 4ac03e214e951f7f4f337d4da1f7e39fa715d1c0 | 8,641 | Renaisn_Android | MIT License |
app/src/main/java/com/example/nordicnews/ui/shared/HorizontalGrid.kt | avanisoam | 803,286,041 | false | {"Kotlin": 160121} | package com.example.nordicnews.ui.shared
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layou... | 0 | Kotlin | 0 | 0 | 07b072261bf7b172745e189fedcf2d017bbb9c51 | 8,320 | NordicNews | MIT License |
compass-geocoder/src/commonMain/kotlin/dev/jordond/compass/geocoder/exception/GeocodeException.kt | jordond | 772,795,864 | false | {"Kotlin": 262383} | package dev.jordond.compass.geocoder.exception
/**
* Indicate something went wrong while using the geocoding service.
*
* @param message The error message.
*/
public class GeocodeException(message: String?) : Throwable(
"Geocoding failed: ${message ?: "Unknown error"}",
) | 5 | Kotlin | 4 | 89 | d0ef39ed66f7af237bbe21ba630dfcdd6f2ff258 | 281 | compass | MIT License |
analytics/src/main/java/io/appmetrica/analytics/impl/modules/ModuleApi.kt | appmetrica | 650,662,094 | false | {"Java": 5812288, "C++": 5729793, "Kotlin": 2632367, "Python": 229161, "Objective-C++": 152166, "C": 127185, "Assembly": 59003, "Emacs Lisp": 14657, "Objective-C": 10302, "Starlark": 7767, "Shell": 5746, "Go": 4930, "CMake": 3562, "CSS": 1454, "AppleScript": 1429, "AIDL": 504} | package io.appmetrica.analytics.impl.modules
import android.location.Location
import io.appmetrica.analytics.coreapi.internal.backport.Consumer
import io.appmetrica.analytics.coreapi.internal.control.Toggle
import io.appmetrica.analytics.modulesapi.internal.service.ModuleLocationSourcesServiceController
import io.appm... | 3 | Java | 5 | 54 | 81572296e16423617822fbc19c2465d6b7b4713e | 775 | appmetrica-sdk-android | MIT License |
src/main/java/nullsafe/CarValidator_kotlin.kt | Cuupa | 350,844,562 | false | null | package nullsafe
import kotlin_java.way1.Car
class CarValidator_kotlin {
fun isValid(car: Car?): Boolean {
if (car != null) {
if (car.model != null) {
if (car.model == "Trabbi") {
return true
}
}
}
return false
... | 1 | null | 1 | 1 | 1d61ee8a296c57740bf92020d6e24bbf033b2348 | 325 | kotlin-training | MIT License |
FredBoat/src/main/java/fredboat/config/property/LavalinkConfigProperties.kt | freyacodes | 53,135,203 | false | null | /*
* MIT License
*
* Copyright (c) 2017-2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... | 93 | Kotlin | 238 | 499 | 580238acdbb1def34014141bd3e69ec07f961ae8 | 2,437 | archived-bot | MIT License |
orca-queue/src/main/kotlin/com/netflix/spinnaker/orca/q/admin/web/QueueAdminController.kt | spinnaker | 19,834,314 | false | null | /*
* Copyright 2018 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 76 | null | 808 | 246 | b06b8c8616ca7add0c9ebba783dfd6ed471a691b | 5,176 | orca | Apache License 2.0 |
reactdroid/src/main/java/com/guymichael/reactdroid/extensions/components/permissions/PermissionProps.kt | GuyMichael | 255,661,405 | false | null | package com.guymichael.reactdroid.extensions.components.permissions
import com.guymichael.kotlinreact.model.OwnProps
import com.guymichael.reactdroid.core.Utils
data class PermissionProps<COMPONENT_PROPS : OwnProps>(
/** Requested permissions to grant. Until ALL are granted, the inner component will
... | 1 | Kotlin | 1 | 9 | 126f0255d804a20adfa682f402957feed0c81100 | 2,073 | Reactdroid | Apache License 2.0 |
app/src/main/java/me/quenchjian/gvotool/ui/splash/SplashScreen.kt | quenchjian | 414,822,634 | false | {"Java": 99528, "Kotlin": 75650} | package me.quenchjian.gvotool.ui.splash
import kotlinx.parcelize.Parcelize
import me.quenchjian.gvotool.R
import me.quenchjian.gvotool.ui.navigation.Screen
@Parcelize
object SplashScreen : Screen() {
override fun layout(): Int = R.layout.view_splash
} | 1 | Java | 1 | 1 | 884dfc3e90ba44b2188e33bfdb4979f4dd2a12fb | 255 | gvotool_android | MIT License |
app/src/main/java/com/andy/kotlin/gank/util/LoggerRequestListener.kt | ClaymanTwinkle | 93,393,057 | false | null | package com.andy.kotlin.gank.util
import com.bumptech.glide.load.resource.drawable.GlideDrawable
import com.bumptech.glide.request.RequestListener
import com.bumptech.glide.request.target.Target
import java.util.*
/**
* LoggerRequestListener
* @author andyqtchen <br></br>
* * Glide logger request listener... | 1 | null | 2 | 8 | 489a07900b6d89c45666c2cc41fa49de600d6cd9 | 1,085 | GankKotlin | Apache License 2.0 |
Framework/src/main/java/com/bihe0832/android/framework/update/UpdateInfoLiveData.kt | AndroidAppFactory | 222,415,705 | false | null | package com.bihe0832.android.framework.update
import androidx.lifecycle.MediatorLiveData
/**
* @author zixie code@bihe0832.com
* Created on 2019-09-17.
* Description: Description
*/
object UpdateInfoLiveData : MediatorLiveData<UpdateDataFromCloud>() | 0 | null | 21 | 72 | e11cbca06d092a3bdd5a58dd4a5260b1f4a208d8 | 257 | AndroidAppFactory | MIT License |
app/src/main/java/io/github/gmathi/novellibrary/util/Utils.kt | Guiorgy | 233,595,061 | true | {"Kotlin": 582529, "Java": 16521} | package io.github.gmathi.novellibrary.util
import android.app.ActivityManager
import android.content.Context
import android.content.Context.ACTIVITY_SERVICE
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Canvas
import android.graphics.Color
im... | 1 | Kotlin | 1 | 1 | 4a9e1b66c508430b6024319658bb50eb5a313e64 | 8,426 | NovelLibrary | Apache License 2.0 |
core/test/com/newardassociates/tictactoe/BoardTests.kt | tedneward | 258,434,631 | false | {"Gradle": 6, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 8, "Java Properties": 2, "Proguard": 1, "XML": 8, "Java": 3, "JSON": 2} | package com.newardassociates.tictactoe
import org.junit.Assert
import org.junit.Test
class BoardTest {
@Test
fun constructBoard() {
val b = Board()
// Nobody should have any squares yet
Assert.assertEquals(b[0, 0].toLong(), 0)
Assert.assertEquals(b[0, 1].toLong(), 0)
A... | 0 | Kotlin | 0 | 0 | 3988ac6f2f0b8cddb7c63022ed2b661c94acc798 | 2,781 | TicTacToe | Creative Commons Zero v1.0 Universal |
Android/dokit-test/src/main/java/com/didichuxing/doraemonkit/kit/test/report/FileUploadManager.kt | didi | 144,705,602 | false | {"Markdown": 26, "Ruby": 5, "Text": 5, "Ignore List": 26, "XML": 404, "OpenStep Property List": 14, "Objective-C": 804, "JSON": 140, "Objective-C++": 1, "C": 8, "Swift": 25, "HTML": 10, "JavaScript": 102, "Vue": 53, "CSS": 2, "Less": 2, "Shell": 19, "Gradle": 27, "Java Properties": 6, "Batchfile": 2, "EditorConfig": 1,... | package com.didichuxing.doraemonkit.kit.test.report
import android.graphics.Bitmap
import com.didichuxing.doraemonkit.kit.connect.data.PackageType
import com.didichuxing.doraemonkit.kit.connect.parser.ByteParser
import com.didichuxing.doraemonkit.kit.connect.parser.JsonParser
import com.didichuxing.doraemonkit.kit.con... | 252 | Java | 3074 | 20,003 | 166a1a92c6fd509f6b0ae3e8dd9993f631b05709 | 2,486 | DoKit | Apache License 2.0 |
app/src/main/java/com/lambdasoup/quickfit/QuickFit.kt | strooooke | 49,067,019 | false | null | /*
* Copyright 2016-2019 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 15 | null | 4 | 14 | 98ac86af3f01396cd5e66d2144f10c50f58c99a9 | 1,439 | quickfit | Apache License 2.0 |
libs/docker-client/src/integrationTest/kotlin/batect/integrationtests/ContainerClientIntegrationTest.kt | batect | 102,647,061 | false | null | /*
Copyright 2017-2021 Charles Korn.
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... | 12 | null | 47 | 620 | 1b6cb1d79d91a70a0cb038cc29b2db1c025fea9e | 4,627 | batect | Apache License 2.0 |
src/main/java/at/petrak/hexcasting/common/casting/operators/spells/great/OpLightning.kt | GameGuruGreenGryphon | 473,804,107 | false | null | package at.petrak.hexcasting.common.casting.operators.spells.great
import at.petrak.hexcasting.api.spell.Operator.Companion.getChecked
import at.petrak.hexcasting.api.spell.ParticleSpray
import at.petrak.hexcasting.api.spell.RenderedSpell
import at.petrak.hexcasting.api.spell.SpellDatum
import at.petrak.hexcasting.api... | 1 | null | 1 | 1 | 7765baf98c6f6a3411c9f5aa090875cea1c54399 | 1,418 | HexMod | MIT License |
CW/lesson_07/MVVM/app/src/main/java/com/example/mvvm/ui/activityes/MainActivity.kt | Marbax | 336,551,271 | false | null | package com.example.mvvm.ui.activityes
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.mvvm.R
import com.example.mvvm.network.GlobalApi
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceSt... | 1 | null | 1 | 1 | 7d44f516c8230483bb0fc195256eab8665afbcae | 410 | Android | MIT License |
app/src/main/java/com/chmichat/chat/ui/activity/add/ReleaseLongVideoActivity.kt | kai0726shanxi | 202,696,066 | false | null | package com.chmichat.chat.ui.activity.add
import android.support.v4.app.Fragment
import android.util.Log
import android.view.View
import com.chmichat.chat.Constants
import com.chmichat.chat.R
import com.chmichat.chat.base.BaseActivity
import com.chmichat.chat.base.BaseFragmentAdapter
import com.chmichat.chat.bean.Post... | 0 | Kotlin | 0 | 0 | 1ee3f69f882673ca141dbcfb51052bc13b75d49c | 7,260 | KotlinBuyCheMi | Apache License 2.0 |
tmp/arrays/youTrackTests/9620.kt | DaniilStepanov | 228,623,440 | false | null | // Original bug: KT-11307
tailrec fun odd(n: Int): Boolean =
if (n == 0) false
else even(n - 1)
tailrec fun even(n: Int): Boolean =
if (n == 0) true
else odd(n - 1)
fun main(args:Array<String>) {
System.out.println(even(99999)) // java.lang.StackOverflowError
}
| 1 | null | 1 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 302 | bbfgradle | Apache License 2.0 |
dd-java-agent/instrumentation/junit-4.10/src/test/kotlin/org/example/TestSucceedParameterizedKotlin.kt | DataDog | 89,221,572 | false | null | package org.example
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameterized
@RunWith(Parameterized::class)
class TestSucceedParameterizedKotlin(
private val param1: ParamObject,
private val param2: String,
private val param3: Int
) {
com... | 258 | null | 288 | 580 | 7010cb865ccf87af54cb2ce6bc0817eb1851c717 | 662 | dd-trace-java | Apache License 2.0 |
mifos-Rocket.Chat.Android/src/main/java/chat/rocket/android/main/presentation/MainPresenter.kt | ShivangiSingh17 | 281,310,134 | false | null | package chat.rocket.android.main.presentation
import chat.rocket.android.core.behaviours.AppLanguageView
import chat.rocket.android.push.GroupedPush
import chat.rocket.android.server.domain.GetCurrentLanguageInteractor
import chat.rocket.android.server.domain.RefreshPermissionsInteractor
import chat.rocket.android.ser... | 1 | Kotlin | 2 | 1 | f1eec6e327b0d78c77cefccb8a232e41e40654ee | 1,832 | mifos-Rocket.Chat | MIT License |
ontrack-extension-issues/src/main/java/net/nemerosa/ontrack/extension/issues/model/IssueServiceConfiguration.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.issues.model
interface IssueServiceConfiguration {
val serviceId: String
val name: String
}
| 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 143 | ontrack | MIT License |
cams-module-square/src/main/java/com/linwei/cams/module/square/ui/SquareActivity.kt | WeiShuaiDev | 390,640,743 | false | null | package com.linwei.cams.module.square.ui
import com.alibaba.android.arouter.facade.annotation.Route
import com.linwei.cams.component.common.base.CommonBaseActivity
import com.linwei.cams.module.square.databinding.SquareActivitySquareBinding
import com.linwei.cams.service.home.HomeRouterTable
import com.linwei.cams.ser... | 1 | null | 1 | 3 | 37ffb7142ce1141c7b09ef69664c535150d25aaa | 646 | CamsModular | Apache License 2.0 |
cams-module-square/src/main/java/com/linwei/cams/module/square/ui/SquareActivity.kt | WeiShuaiDev | 390,640,743 | false | null | package com.linwei.cams.module.square.ui
import com.alibaba.android.arouter.facade.annotation.Route
import com.linwei.cams.component.common.base.CommonBaseActivity
import com.linwei.cams.module.square.databinding.SquareActivitySquareBinding
import com.linwei.cams.service.home.HomeRouterTable
import com.linwei.cams.ser... | 1 | null | 1 | 3 | 37ffb7142ce1141c7b09ef69664c535150d25aaa | 646 | CamsModular | Apache License 2.0 |
mylibrary/src/main/java/com/esp/library/utilities/data/applicants/profile/ESP_LIB_ApplicationProfileDAO.kt | ahsanm155 | 282,847,970 | false | null | package utilities.data.applicants.profile
import utilities.data.ESP_LIB_Base
import utilities.data.applicants.dynamics.ESP_LIB_DyanmicFormSectionFieldDetailsDAO
import utilities.data.applicants.dynamics.ESP_LIB_DynamicFormSectionDAO
import java.io.Serializable
class ESP_LIB_ApplicationProfileDAO : ESP_LIB_Base(), Ser... | 0 | Kotlin | 0 | 0 | 11d17817eb75077ac97309509d20fe5adae1bc43 | 1,497 | ESP_LIBRARY | MIT License |
repository/src/main/java/com/walltip/repository/data/source/remote/RemoteDataSource.kt | passiondroid | 186,500,573 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Ignore List": 5, "JSON": 1, "Batchfile": 1, "Markdown": 1, "YAML": 2, "Proguard": 4, "Java": 10, "XML": 33, "Kotlin": 37} | package com.walltip.repository.data.source.remote
import com.walltip.core.util.Constants
import com.walltip.repository.BuildConfig
import com.walltip.repository.data.source.api.CategoryApi
import com.walltip.repository.data.source.api.UnsplashApi
import com.walltip.repository.data.source.model.Category
import com.wall... | 1 | Kotlin | 2 | 0 | ca81d9a23c968166ae7387c2dca718e0f7592f0d | 2,186 | Walltip | The Unlicense |
domain/src/main/java/io/keepcoding/madridshops/domain/interactor/internetstatus/InternetStatusInteractor.kt | pedrosapro | 122,884,590 | false | null | package io.keepcoding.madridshops.domain.interactor.internetstatus
import io.keepcoding.madridshops.domain.interactor.CodeClosure
import io.keepcoding.madridshops.domain.interactor.ErrorClosure
interface InternetStatusInteractor {
fun execute(success: CodeClosure, error: ErrorClosure)
}
| 1 | null | 1 | 1 | 29b7df3f88dee15a01625664fa5f2d66759646d5 | 295 | kc-androidavanzado | MIT License |
mps-analyser/src/main/kotlin/nl/dslconsultancy/mps/analyser/projectOnDisk.kt | dslmeinte | 131,405,227 | false | null | package nl.dslconsultancy.mps.analyser
import nl.dslconsultancy.mps.analyser.util.asList
import nl.dslconsultancy.mps.analyser.util.csvRowOf
import nl.dslconsultancy.mps.analyser.xml.languageMetaDataXmlFromDisk
import java.nio.file.Files
import java.nio.file.Path
data class MpsProjectOnDisk(val mpsFiles: List<Path>,... | 1 | null | 1 | 8 | d8eb6682f9e6448a212a717ee9d747a0980edd60 | 1,686 | mps-open-source | MIT License |
app/src/main/java/com/linkdev/sample/ui/tabs/adapters/ItemFragmentPagerAdapter.kt | linkdevelopment | 337,698,234 | false | null | /**
Copyright (C) 2020 Link Development
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 writing, softwa... | 1 | Kotlin | 1 | 2 | 430c0a3fc69d32bbca875f71f441b170a5af0f41 | 1,278 | RTLViewPager_Android | Apache License 2.0 |
app/src/main/kotlin/com/bapspatil/elon/ui/detail/ImageDetailViewModel.kt | bapspatil | 202,559,929 | false | null | package com.bapspatil.elon.ui.detail
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.bapspatil.elon.model.NasaImage
import com.bapspatil.elon.ui.base.BaseViewModel
import javax.inject.Inject
/*
** Created by <NAME> {@link https://bapspatil.com}
*/
/**
* ViewModel responsib... | 0 | Kotlin | 1 | 4 | 45b497a09e3ad4391f0d72d0eda10aec64de6826 | 1,064 | Elon | Apache License 2.0 |
motmbrowser/src/main/java/com/bammellab/motm/settings/SettingsFragment.kt | bammellab | 314,793,120 | false | null | /*
* Copyright 2023 Bammellab / <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 agree... | 9 | null | 2 | 2 | 95f040f0ce8f33c35f549fd5828690b7ba0f192d | 3,687 | MotmBrowser | Apache License 2.0 |
src/main/kotlin/adventure/ship/Sailor.kt | bravo2zero | 443,584,596 | false | {"CSS": 13430, "Java": 7624, "Kotlin": 3753, "HTML": 1334} | package adventure.ship
// data class Sailor
| 0 | CSS | 0 | 0 | ae37cf8ebd1d64083ceacc2516a1701c3ddd1b13 | 45 | kotlin-demo-adventure | MIT License |
src/test/kotlin/nl/devhaan/kotlinpoetdsl/interf/InterfaceInvocationTest.kt | tieskedh | 94,718,310 | false | null | package nl.devhaan.kotlinpoetdsl.interf
import com.squareup.kotlinpoet.*
import io.kotest.matchers.shouldBe
import io.kotest.core.spec.style.StringSpec
import nl.devhaan.kotlinpoetdsl.`interface`.implements
import nl.devhaan.kotlinpoetdsl.`interface`.interf
import nl.devhaan.kotlinpoetdsl.classes.buildUpon
import nl.d... | 13 | Kotlin | 0 | 24 | e520db06b9af6d6b8f1678cb147ff0a12d39b9c1 | 4,662 | KotlinPoetDSL | MIT License |
onixlabs-corda-core-contract/src/main/kotlin/io/onixlabs/corda/core/contract/ContractID.kt | onix-labs | 326,621,863 | false | null | /*
* Copyright 2020-2022 ONIXLabs
*
* 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... | 0 | Kotlin | 0 | 4 | 82197de7830ee3ca5646004ed8ac23116ef4bba1 | 934 | onixlabs-corda-core | Apache License 2.0 |
sample/wallet/src/main/kotlin/com/walletconnect/sample/wallet/ui/routes/dialog_routes/session_authenticate/SessionAuthenticateViewModel.kt | WalletConnect | 435,951,419 | false | null | package com.walletconnect.sample.wallet.ui.routes.dialog_routes.session_authenticate
import androidx.lifecycle.ViewModel
import com.google.firebase.crashlytics.ktx.crashlytics
import com.google.firebase.ktx.Firebase
import com.walletconnect.android.cacao.signature.SignatureType
import com.walletconnect.android.utils.c... | 78 | null | 72 | 199 | e373c535d7cefb2f932368c79622ac05763b411a | 6,116 | WalletConnectKotlinV2 | Apache License 2.0 |
feature/topics/src/main/kotlin/uk/govuk/app/topics/data/remote/TopicsApi.kt | alphagov | 788,896,208 | false | {"Kotlin": 294925} | package uk.govuk.app.topics.data.remote
import retrofit2.Response
import retrofit2.http.GET
import uk.govuk.app.topics.data.remote.model.RemoteTopicItem
internal interface TopicsApi {
@GET("list")
suspend fun getTopics(): Response<List<RemoteTopicItem>>
} | 2 | Kotlin | 0 | 1 | 5808d1ee853c12a07146a75af7698fc2063ac871 | 265 | govuk-mobile-android-app | MIT License |
testing/src/androidTest/java/com/ribsky/testing/data/repository/BotRepositoryImplTest.kt | nexy791 | 607,748,138 | false | {"Kotlin": 777643, "Java": 316} | package com.ribsky.testing.data.repository
import android.content.SharedPreferences
import com.ribsky.billing.manager.SubManager
import com.ribsky.data.repository.BotRepositoryImpl
import com.ribsky.domain.repository.BotRepository
import io.mockk.every
import io.mockk.mockk
import junit.framework.TestCase.assertEquals... | 0 | Kotlin | 0 | 17 | a4bb53ce3d9d7275cecd378d7f81f0c7f844c872 | 3,739 | dymka | Apache License 2.0 |
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/ImmutableValNoVarRule.kt | akuleshov7 | 280,211,043 | false | null | package org.cqfn.diktat.ruleset.rules
import org.cqfn.diktat.common.config.rules.RulesConfig
import org.cqfn.diktat.ruleset.constants.EmitType
import org.cqfn.diktat.ruleset.constants.Warnings.SAY_NO_TO_VAR
import org.cqfn.diktat.ruleset.utils.search.findAllVariablesWithAssignments
import org.cqfn.diktat.ruleset.utils... | 1 | null | 1 | 1 | 9eefb12b73fd6b44d164199c3ef0295c8908054d | 2,925 | diKTat | MIT License |
tmp/results/JS/BACKEND_xubix.kt | petukhovv | 216,533,129 | true | {"Kotlin": 4030796, "JavaScript": 3066112, "Python": 2600, "Java": 640, "Shell": 87} | fun A(): Long {
var n = 1L
Int=
return n
} | 0 | Kotlin | 0 | 0 | 6f5c65e49acc03370285b4994afb917cae9d6fda | 50 | bbf | Apache License 2.0 |
app/src/test/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksViewModelTest.kt | wolsz | 339,592,246 | false | null | package com.example.android.architecture.blueprints.todoapp.tasks
import android.os.Build
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.example.android.architecture.blueprints.todoapp.... | 0 | Kotlin | 0 | 0 | 783662cdaf5f711985f588178d01ac51a39a2744 | 2,311 | android_testing | Apache License 2.0 |
app/src/main/java/cn/dong/architecture/ui/NewsViewModel.kt | dongorigin | 112,937,423 | false | null | package cn.dong.architecture.ui
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.ViewModel
import cn.dong.architecture.data.ZhihuDailyRepository
import cn.dong.architecture.data.model.Story
import org.threeten.bp.LocalDate
import org.threeten.bp.format.... | 0 | Kotlin | 0 | 0 | bb73d9703b39c3c1322a173287f544252458ad6a | 1,455 | android-architecture | MIT License |
src/main/kotlin/it/zoo/spring/idea/plugin/dialogs/GenerateModelDialog.kt | kostya05983 | 211,532,606 | false | {"Kotlin": 34867} | package it.zoo.spring.idea.plugin.dialogs
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory
import com.intellij.openapi.ui.LabeledComponent
import com.intellij.openapi.ui.TextFieldWithBrowseButton
import com.intellij.ui.components.JBTextField
import org.jetbrains.kotlin.psi.KtClass
import java.awt.B... | 4 | Kotlin | 0 | 2 | e4fe39c3f5a396d5d5a62479909784b1006e1323 | 1,690 | spring-generate-plugin | MIT License |
data/RF01912/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF01912"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
8 to 1... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 1,941 | Rfam-for-RNArtist | MIT License |
src/main/kotlin/su/vshk/billing/bot/service/dto/InfoDto.kt | arendering | 682,932,625 | false | {"Kotlin": 375935} | package su.vshk.billing.bot.service.dto
import java.math.BigDecimal
data class InfoDto(
/**
* ФИО
*/
val username: String?,
/**
* Номер договора
*/
val agreementNumber: String?,
/**
* Статус интернета
*/
val blocked: Long? = null,
/**
* Баланс
*/
... | 0 | Kotlin | 0 | 0 | 7acf21665002456123a070e4eb2712a47d2fb12f | 798 | billing-bot | MIT License |
gtk-bindings/src/nativeMain/kotlin/bindings/gtk/TreeExpander.kt | vbsteven | 582,302,322 | false | null | package bindings.gtk
import bindings.gobject.*
import internal.BuiltinTypeInfo
import kotlinx.cinterop.CPointer
import native.gtk.*
class TreeExpander : Widget {
val gtkTreeExpanderPointer get() = gtkWidgetPointer.asTypedPointer<GtkTreeExpander>()
constructor(pointer: CPointer<*>) : super(pointer)
constr... | 0 | Kotlin | 0 | 24 | af5f6c9d32498b6e791a92503dfb45ebfd1af6c3 | 1,206 | gtk-kotlin-native | MIT License |
vector/src/main/java/im/vector/app/ext/profile/ProfileActivity.kt | huy22091999 | 542,926,323 | false | {"Kotlin": 9903484, "Java": 166049, "HTML": 24691, "Shell": 23527, "Python": 17848, "FreeMarker": 7722, "JavaScript": 1782} | package im.vector.app.ext.profile
import android.os.Bundle
import android.view.WindowManager
import androidx.core.view.isGone
import androidx.core.view.isVisible
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
import androidx.v... | 0 | Kotlin | 0 | 0 | 9255297220ad63fef367b2c8b1a1065ad5241c92 | 5,299 | edoctor_OCT | Apache License 2.0 |
buildSrc/src/main/kotlin/plugins/ComposePlugin.kt | Muzamilabdallah | 524,350,594 | false | {"Kotlin": 40407} | package plugins
import com.android.build.gradle.BaseExtension
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies
import org.jetbrains.kotlin.gradle.utils.IMPLEMENTATION
class ComposePlugin : Plugin<Project> {
override fun apply(project: Project) {
// here... | 0 | Kotlin | 2 | 19 | 2d54ae386f293f3021077bd496cacd34c2f33b04 | 2,515 | Multi_module_Architecture | MIT License |
app/src/main/java/com/example/viriksha/domain/repository/CategoryRepository.kt | krishnakrish08 | 846,662,011 | false | {"Kotlin": 28869} | package com.example.viriksha.domain.repository
import com.example.viriksha.data.repositoryImpl.Results
import com.example.viriksha.domain.model.CategoriesModel
interface CategoryRepository {
suspend fun getCategories(): Results<List<CategoriesModel>>
} | 0 | Kotlin | 0 | 0 | daa749a025e3d97b1015d8b7a6158b1399e71e6e | 258 | Android-Compose-Navigation | MIT License |
year2023/day10/pipes/src/main/kotlin/com/curtislb/adventofcode/year2023/day10/pipes/Tile.kt | curtislb | 226,797,689 | false | {"Kotlin": 2074798} | package com.curtislb.adventofcode.year2023.day10.pipes
import com.curtislb.adventofcode.common.geometry.Direction
/**
* A type of space that may appear in a [PipeMaze] grid.
*
* @property symbol A character that uniquely identifies the tile.
* @property directions Directions of all adjacent pipe tiles that may be... | 0 | Kotlin | 1 | 1 | 5d28da592cfa3158ef5be6b414cf13452748ac9b | 2,266 | AdventOfCode | MIT License |
year2023/day10/pipes/src/main/kotlin/com/curtislb/adventofcode/year2023/day10/pipes/Tile.kt | curtislb | 226,797,689 | false | {"Kotlin": 2074798} | package com.curtislb.adventofcode.year2023.day10.pipes
import com.curtislb.adventofcode.common.geometry.Direction
/**
* A type of space that may appear in a [PipeMaze] grid.
*
* @property symbol A character that uniquely identifies the tile.
* @property directions Directions of all adjacent pipe tiles that may be... | 0 | Kotlin | 1 | 1 | 5d28da592cfa3158ef5be6b414cf13452748ac9b | 2,266 | AdventOfCode | MIT License |
app/web3proxy/src/main/kotlin/io/hamal/app/proxy/web/EthRequestController.kt | hamal-io | 622,870,037 | false | {"Kotlin": 2271632, "C": 1398396, "TypeScript": 281644, "Lua": 117891, "C++": 40651, "Makefile": 11728, "Java": 7564, "CMake": 2810, "JavaScript": 2640, "CSS": 1567, "Shell": 977, "HTML": 903} | package io.hamal.app.proxy.web
import com.google.gson.JsonArray
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import io.hamal.app.proxy.handler.EthRequestHandler
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.w... | 22 | Kotlin | 0 | 0 | e6e452ee9e66621c4e753209a1936ced4185a3ba | 1,576 | hamal | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/diogoandrebotas/librarycompanionwebapi/model/OpenLibraryBookResponse.kt | DiogoAndreBotas | 655,099,291 | false | null | package com.diogoandrebotas.librarycompanionwebapi.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class OpenLibraryBookResponse(
val title: String,
val authors: List<OpenLibraryBookAuthorResponse>,
@SerialName("publish_date")
val publishDate:... | 0 | Kotlin | 0 | 0 | a0b796011b67beafa9cb42a346e18ba65dc971e8 | 494 | library-companion-web-api | MIT License |
app/src/main/java/br/com/meiadois/decole/presentation/user/account/viewmodel/AccountViewModel.kt | meiadois | 256,744,460 | false | null | package br.com.meiadois.decole.presentation.user.account.viewmodel
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.view.View
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import br.com.meiadois.decole.R
import br.com.meiadois.decole.da... | 0 | Kotlin | 1 | 2 | f9c861124d3a1031bf0b802465eaa166c16f1693 | 18,447 | decole-android | MIT License |
app/src/main/java/com/cerist/summer/virtualassistant/Utils/ServiceLocator.kt | FdevTech | 350,458,396 | false | null | package com.cerist.summer.virtualassistant.Utils
import android.support.v4.app.FragmentActivity
import com.cerist.summer.virtualassistant.Repositories.IRepository
import com.polidea.rxandroidble2.RxBleDevice
import io.reactivex.Observable
import java.util.concurrent.Executor
enum class BleDevices{
BROAD_LINK,
... | 0 | Kotlin | 0 | 0 | 3ab66a9fc551cc6cddaa617a7b9940bb9dcdee6a | 967 | Selma | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.