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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
executioncontext/projectview/src/main/java/org/jetbrains/bsp/bazel/projectview/generator/DefaultProjectViewGenerator.kt | steveniemitz | 485,935,051 | true | {"Shell": 3, "Markdown": 10, "Java": 138, "Kotlin": 46, "C++": 1, "Scala": 10} | package org.jetbrains.bsp.bazel.projectview.generator
import io.vavr.control.Try
import org.jetbrains.bsp.bazel.projectview.generator.sections.ProjectViewBazelPathSectionGenerator
import org.jetbrains.bsp.bazel.projectview.generator.sections.ProjectViewBuildFlagsSectionGenerator
import org.jetbrains.bsp.bazel.projectv... | 0 | null | 0 | 0 | 36b98966249b6616f86c035b7f48c8ca816d3188 | 2,183 | bazel-bsp | Apache License 2.0 |
generator/bin/main/com/laidpack/sourcerer/generator/index/ClassSymbolDescription.kt | dpnolte | 151,090,095 | false | null | package com.laidpack.sourcerer.generator.index
import com.laidpack.sourcerer.generator.resources.Widget
import com.squareup.kotlinpoet.ClassName
data class ClassSymbolDescription (
val targetClassName: ClassName,
val widget: Widget?,
val classCategory : ClassCategory,
val isViewGroup: ... | 8 | Kotlin | 1 | 0 | 9513bbc54768e9248c450b0aba125b433c447e68 | 420 | sourcerer | Apache License 2.0 |
app/src/main/java/com/example/rental_mobil/Repository/SopirRepository.kt | mrAldirs | 691,938,449 | false | {"Kotlin": 333860} | package com.example.rental_mobil.Repository
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.example.rental_mobil.Model.Sopir
import com.google.firebase.firestore.FirebaseFirestore
class SopirRepository {
private val firestore: FirebaseFirestore = FirebaseFirestore.getInstan... | 1 | Kotlin | 0 | 2 | 624e82b43797c514a0f424ef025d66c4eab53ee8 | 1,749 | kotlin-rent-car-app | Apache License 2.0 |
app/src/main/java/com/gsabr/assetscare/GerenciarOsActivity.kt | darian-catalin-cucer | 558,810,429 | true | {"Kotlin": 32645} | package com.gsabr.assetscare
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.Rec... | 0 | null | 0 | 1 | 8380546e7bd02cedc49d2b52d78b604c0e32b6b0 | 2,701 | AssetsCare | MIT License |
app/src/main/java/com/gsabr/assetscare/GerenciarOsActivity.kt | darian-catalin-cucer | 558,810,429 | true | {"Kotlin": 32645} | package com.gsabr.assetscare
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.Rec... | 0 | null | 0 | 1 | 8380546e7bd02cedc49d2b52d78b604c0e32b6b0 | 2,701 | AssetsCare | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/SquareO.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,195 | icons | MIT License |
app/src/main/java/org/openmrs/android/fhir/data/IdentifierTypeManager.kt | icrc | 792,320,820 | false | {"Kotlin": 212982, "Shell": 148} | import android.annotation.SuppressLint
import android.content.Context
import androidx.datastore.preferences.core.edit
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.withContext
import okhttp3.Request
import org.json.JSONObject
import org.openmrs.android.fhir.FhirApp... | 6 | Kotlin | 3 | 2 | 62f1a7dc4801d93c0a7f6d3f870477aa7226649b | 4,533 | openmrs-android-fhir | Apache License 2.0 |
src/main/kotlin/com/inteligenciadigital/bookmarket/models/Customer.kt | GabrielIFPB | 436,716,510 | false | null | package com.inteligenciadigital.bookmarket.models
import org.hibernate.Hibernate
import java.time.LocalDate
import java.util.UUID
import javax.persistence.*
@Entity
@Table(name = "customer")
data class Customer(
@Column(name = "name", length = 64, nullable = false)
var name: String,
@Column(name = "birthdate")
v... | 0 | Kotlin | 0 | 0 | 56bf7d6058951639f5d6c8d23daf1039e9f0e1a0 | 1,151 | book-market | MIT License |
presentation/src/main/java/com/heady/test/modules/products/models/ProductVariantModel.kt | praveen-kanwar | 237,142,130 | false | null | package com.heady.test.modules.products.models
import com.heady.test.common.models.IModel
/**
* Product Variant Model Class
*
* Created by Praveen.
*/
data class ProductVariantModel(
var id: Int,
var color: String,
var size: Int,
var price: Double
) : IModel | 0 | Kotlin | 0 | 0 | 6e04500a6911946a612bed5786364980b294183a | 280 | Heady-AT | MIT License |
polyfill/src/main/kotlin/me/xx2bab/polyfill/VariantExtension.kt | 2BAB | 150,435,649 | false | null | package me.xx2bab.polyfill
import com.android.Version
import com.android.build.api.component.analytics.AnalyticsEnabledApplicationVariant
import com.android.build.api.component.analytics.AnalyticsEnabledLibraryVariant
import com.android.build.api.component.impl.ApkCreationConfigImpl
import com.android.build.api.varian... | 1 | Kotlin | 4 | 68 | ffd96c102aa5c5aa28f3d4e0078298d028d5f1d4 | 4,508 | Polyfill | Apache License 2.0 |
app/src/main/java/dev/zezula/books/domain/CreateOrUpdateNoteUseCase.kt | zezulaon | 589,699,261 | false | {"Kotlin": 556103} | package dev.zezula.books.domain
import dev.zezula.books.data.NotesRepository
import dev.zezula.books.data.model.note.Note
import dev.zezula.books.data.model.note.NoteFormData
import dev.zezula.books.domain.model.Response
import dev.zezula.books.domain.model.asResponse
import timber.log.Timber
class CreateOrUpdateNote... | 1 | Kotlin | 0 | 6 | 84750e18ee62d57081096275936ded053b64e6f1 | 735 | my-library | Apache License 2.0 |
src/main/kotlin/fr/medicapp/plugins/Security.kt | Renarde-dev | 738,557,006 | false | {"Kotlin": 13056} | package fr.medicapp.plugins
import fr.medicapp.dao.DaoUser
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
fun Application.configureSecurity() {
authentication {
basic(name = "authenticationAPI") {
realm = "User ... | 0 | Kotlin | 0 | 2 | 4c5dec80191b0662118d5e49cebecdf13162af5d | 1,100 | MedicApp-API | MIT License |
src/main/java/uk/ac/shef/tracker/core/monitors/BatteryMonitor.kt | oakgroup | 630,448,719 | false | {"Kotlin": 383102} | /*
*
Copyright (c) 2023.
This code was developed by <NAME>, The University of Sheffield.
All rights reserved.
No part of this code can be used without the explicit written permission by the author
*/
package uk.ac.shef.tracker.core.monitors
import android.content.Context
import kotlinx.coroutines.CoroutineScop... | 0 | Kotlin | 0 | 0 | 78e517e98a63e8d0f379b33a4e410db7dd5abf45 | 2,062 | android-bhf-tracker | MIT License |
app/src/main/java/com/angelo/destinystatusapp/domain/usecase/FetchBungieHelpUpdatesUseCaseImpl.kt | angelorohit | 777,418,508 | false | {"Kotlin": 59270, "Shell": 455} | package com.angelo.destinystatusapp.domain.usecase
import com.angelo.destinystatusapp.domain.State
import com.angelo.destinystatusapp.domain.map
import com.angelo.destinystatusapp.domain.model.BungieHelpUpdate
import com.angelo.destinystatusapp.domain.repository.DestinyStatusRepository
import kotlinx.collections.immut... | 0 | Kotlin | 0 | 0 | 7ce01586037172584f4ff28b9d878ae4ebe8b48a | 716 | DestinyStatusApp | MIT License |
app/src/main/java/online/taxcore/pos/data/realm/TaxesSettings.kt | Data-Tech-International | 581,201,452 | false | {"Kotlin": 357648, "Java": 64900} | package online.taxcore.pos.data.realm
import io.realm.RealmObject
open class TaxesSettings : RealmObject() {
var code: String = "" // tax label
var isChecked = false
var name: String = "-"
var rate: Double = 0.0
var value: String = ""
}
| 3 | Kotlin | 3 | 4 | 62ff854a1bd16bd85f755065760c9389460bda5e | 259 | Taxcore-MobilePOS-Android | MIT License |
src/main/kotlin/pro/darc/cake/module/menu/dsl/pagination/slot/PaginationSlotEventHandler.kt | LittleLightMC | 378,219,935 | false | null | package pro.darc.cake.module.menu.dsl.pagination.slot
import org.bukkit.entity.Player
import org.bukkit.inventory.Inventory
import pro.darc.cake.module.menu.Menu
import pro.darc.cake.module.menu.slot.*
typealias MenuPlayerSlotPageChangeEvent<T> = MenuPlayerSlotPageChange.(T?) -> Unit
typealias MenuPlayerPageSlotInter... | 5 | Kotlin | 0 | 3 | 71e7277cdacb58e9309de08a658dd89f99cd874b | 1,827 | CakeAPI | MIT License |
vector/src/main/java/im/vector/app/features/home/room/list/actions/RoomListQuickActionsSharedAction.kt | tchapgouv | 340,329,238 | false | {"Kotlin": 15176162, "HTML": 82783, "Shell": 61484, "Java": 28011, "Python": 25839, "FreeMarker": 7662, "JavaScript": 6854, "Ruby": 1587} | /*
* 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 to i... | 95 | Kotlin | 7 | 20 | 965b02bf4cf51d317456a3334ceab57aae5e58ce | 2,811 | tchap-android | Apache License 2.0 |
rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/operation/ResponderRequestResponseOperation.kt | rsocket | 109,894,810 | false | {"Kotlin": 628647, "JavaScript": 203} | /*
* Copyright 2015-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 23 | Kotlin | 37 | 550 | b7f27ba4c3a0d639d375731231f347e595ed307c | 1,285 | rsocket-kotlin | Apache License 2.0 |
samples/demo-app/app/src/main/java/cash/z/wallet/sdk/demoapp/demos/home/HomeFragment.kt | CHMEX | 234,180,004 | true | {"Kotlin": 212444, "Rust": 75835} | package cash.z.wallet.sdk.demoapp.demos.home
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import cas... | 0 | Kotlin | 0 | 0 | 320e87fe075176a2a36ae10a7e7f030dedcb6605 | 1,408 | zcash-android-wallet-sdk | Apache License 2.0 |
analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryInScriptDestructuringDeclaration.kts | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // LOOK_UP_FOR_ELEMENT_OF_TYPE: KtDestructuringDeclarationEntry
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE
data class X(val a: Int, val b: Int)
val (<expr>c</expr>, d) = X(1, 2)
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 176 | kotlin | Apache License 2.0 |
app/src/main/java/com/has/copa/GrupoD.kt | acrrf | 573,949,661 | false | {"Kotlin": 6776} | package com.has.copa
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.RecyclerView
import com.has.copa.adapter.DinamarcaAdapter
import com.has.copa.data.Datasource
class GrupoD : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?)... | 0 | Kotlin | 0 | 0 | 3930ca3f9467aee8c44b1b026512a44e66885398 | 661 | copa-do-mundo | The Unlicense |
app/weather/src/main/java/jp/co/mixi/androidtraining/weather/ui/WeatherViewModel.kt | mixigroup | 776,812,769 | false | {"Kotlin": 31815} | package jp.co.mixi.androidtraining.weather.ui
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import jp.co.mixi.androidtraining.weather.data.repository.DefaultWe... | 0 | Kotlin | 0 | 0 | 397828f021528e6b254e5fa105651746ff781945 | 867 | 2024AndroidTraining | Apache License 2.0 |
magic/src/jsMain/kotlin/enchant/magic/Utils.kt | TeraThought | 432,392,027 | false | {"Kotlin": 103646, "Swift": 2320, "Ruby": 119} | package enchant.magic
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
actual val Dispatchers.Background: CoroutineDispatcher get() = Dispatchers.Default | 0 | Kotlin | 4 | 0 | 76314d5b30afa0896ee5cf593cbff7886fae163a | 190 | magic | Apache License 2.0 |
app/src/main/java/com/example/tdmpa_1p_pr01_dvla/MainActivity.kt | onlydonos | 699,563,625 | false | {"Kotlin": 3954} | package com.example.tdmpa_1p_pr01_dvla
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.ImageView
import android.widget.RadioGroup
import android.widget.TextView
import android.widget.Toast
import com.bumptech.glide.Glide... | 0 | Kotlin | 0 | 0 | a2f5ab8a78e100ddaa912e0860b6d548fef27fa6 | 2,912 | Android_PR01_1P | MIT License |
api/src/jvmMain/kotlin/net/kigawa/kutil/kutil/api/io/DefaultIo.jvm.kt | kigawa01 | 421,088,101 | false | {"Kotlin": 56828, "Java": 914} | package net.kigawa.kutil.kutil.api.io
import kotlinx.coroutines.channels.Channel
import net.kigawa.kutil.kutil.api.concurrent.Coroutines
actual object DefaultIo {
actual val error: WriterIo<String>
actual val out: WriterIo<String>
init {
val infoChannel = Channel<String>()
val errorChannel = Channel<St... | 0 | Kotlin | 0 | 0 | d7a00a5a63cb3c10509f6ee6352c864e867f203f | 602 | kutil | MIT License |
server/src/main/kotlin/net/eiradir/server/player/event/HeadlessJoinedEvent.kt | Eiradir | 635,460,745 | false | null | package net.eiradir.server.player.event
import com.badlogic.ashley.core.Entity
data class HeadlessJoinedEvent(val connection: Entity) | 12 | Kotlin | 0 | 0 | 7ae18b87a37ebd9f20766796b9fa94e2dd6dafc6 | 135 | eiradir-server | MIT License |
src/main/kotlin/io/mustelidae/otter/sumatrana/api/domain/slack/Slack.kt | otter-world | 595,030,375 | false | null | package io.mustelidae.otter.sumatrana.api.domain.slack
import io.mustelidae.otter.sumatrana.api.domain.tunneling.SentryToSlackTunneling
import javax.persistence.CascadeType
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.Id
import javax.p... | 0 | Kotlin | 0 | 0 | dc22b11823bace8b21c3fcf12bb1eb53f6a3db71 | 1,308 | sumatrana-otter | MIT License |
app/src/main/java/me/tylerbwong/stack/data/persistence/dao/UserDao.kt | cdubthecoolcat | 208,213,243 | true | {"Kotlin": 307183} | package me.tylerbwong.stack.data.persistence.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import me.tylerbwong.stack.data.persistence.entity.UserEntity
@Dao
interface UserDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspe... | 0 | Kotlin | 0 | 0 | e2eeaed0acd96ea6260e3208c066c54e29d6f08a | 463 | stack | Apache License 2.0 |
src/main/kotlin/archives/tater/netherarchives/NetherArchives.kt | JosiahFu | 711,624,418 | false | {"Kotlin": 68510, "Java": 10019} | package archives.tater.netherarchives
import archives.tater.netherarchives.block.NetherArchivesBlocks
import archives.tater.netherarchives.block.entity.NetherArchivesBlockEntities
import archives.tater.netherarchives.entity.NetherArchivesEntities
import archives.tater.netherarchives.item.NetherArchivesItems
import arc... | 0 | Kotlin | 0 | 0 | 5366abcd00d958d62206e8df0f90e36e659a446d | 1,291 | NetherArchives | MIT License |
core/src/main/kotlin/io/github/serpro69/kfaker/provider/Zelda.kt | serpro69 | 174,969,439 | false | {"Kotlin": 618723, "Shell": 6190, "Makefile": 5561, "Java": 3978, "Groovy": 1144} | package io.github.serpro69.kfaker.provider
import io.github.serpro69.kfaker.*
import io.github.serpro69.kfaker.dictionary.*
import io.github.serpro69.kfaker.provider.unique.LocalUniqueDataProvider
import io.github.serpro69.kfaker.provider.unique.UniqueProviderDelegate
/**
* [FakeDataProvider] implementation for [Yam... | 33 | Kotlin | 39 | 393 | 1b6f7c9c29e775e1cd36fe5cd3188311346f71e9 | 1,026 | kotlin-faker | MIT License |
english/language-rooms/src/main/kotlin/by/jprof/telegram/bot/english/language_rooms/model/LanguageRoom.kt | JavaBy | 367,980,780 | false | null | package by.jprof.telegram.bot.english.language_rooms.model
enum class Language {
ENGLISH,
}
enum class Violence {
POLITE,
MOTHERFUCKER,
}
data class LanguageRoom(
val chatId: Long,
val threadId: Long?,
val language: Language,
val violence: Violence,
val urbanWordOfTheDay: Boolean,
)
| 21 | Kotlin | 2 | 2 | 7e0f2c68e3acc9ff239effa34f5823e4ef8212c9 | 319 | jprof_by_bot | MIT License |
app/src/main/kotlin/com/slesarew/cv/cvscreen/view/CvActivity.kt | sliskiCode | 261,400,312 | false | null | package com.slesarew.cv.cvscreen.view
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import com.slesarew.cv.R
import com.slesarew.cv.cvscreen.model.CvAction
import com.slesarew.cv.cvscreen.model.CvAction.OnMediumClickedAction
import com.sl... | 4 | Kotlin | 0 | 1 | 8861b3d220bffd1c241b6f28b40a5b0c2359ffe7 | 1,950 | CV | Apache License 2.0 |
src/main/kotlin/de/sambalmueslie/eventorg/game/api/UnitSlotAPI.kt | sambalmueslie | 363,757,768 | false | {"Kotlin": 73386, "PLpgSQL": 5480} | package de.sambalmueslie.eventorg.game.api
import de.sambalmueslie.eventorg.common.CrudAPI
interface UnitSlotAPI : CrudAPI<UnitSlot, UnitSlotChangeRequest> {
}
| 0 | Kotlin | 0 | 1 | f7442ed15a42dfd37f94fc87ac83e2eea6704b52 | 164 | event-organizer-server | Apache License 2.0 |
src/main/kotlin/be/zvz/alsong/dto/SearchResult.kt | JellyBrick | 373,705,678 | false | null | package be.zvz.alsong.dto
import be.zvz.alsong.serializer.DateSerializer
import kotlinx.serialization.Serializable
import java.util.Date
@Serializable
data class SearchResult(
val lyricId: Long,
val playtime: Long,
val artist: String,
val album: String,
val title: String,
@Serializable(with = ... | 2 | Kotlin | 0 | 6 | a3d105933b46b4f89e4bfd869fb685b61ec195d0 | 381 | alsong-kt | Apache License 2.0 |
app/src/main/java/com/simples/j/worldtimealarm/WakeUpActivity.kt | ladroshan | 272,342,211 | true | {"Kotlin": 478985, "Java": 16869} | package com.simples.j.worldtimealarm
import android.app.NotificationManager
import android.content.*
import android.os.Build
import android.os.Bundle
import android.os.Vibrator
import android.text.format.DateFormat
import android.text.method.ScrollingMovementMethod
import android.util.Log
import android.view.View
impo... | 0 | null | 0 | 0 | ad3790f0c297cffec42c2755ed10ad2dd6708cf2 | 6,867 | WorldTimeAlarm | Apache License 2.0 |
features/home/src/main/java/com/fappslab/features/home/presentation/viewmodel/HomeViewAction.kt | F4bioo | 693,834,465 | false | {"Kotlin": 304361, "Python": 2171, "Shell": 900} | package com.fappslab.features.home.presentation.viewmodel
import com.fappslab.features.common.navigation.DetailsArgs
internal sealed class HomeViewAction {
object Add : HomeViewAction()
data class AdapterItem(val args: DetailsArgs) : HomeViewAction()
}
| 0 | Kotlin | 0 | 0 | 3a4247596555400bf2128ded9f54aaa9491de0a8 | 263 | Seedcake | MIT License |
app/src/test/java/com/viniciusjanner/android_github_actions_sonar_cloud/util/LiveDataTestUtil.kt | viniciusjanner | 686,749,263 | false | {"Kotlin": 28916} | package com.viniciusjanner.android_github_actions_sonar_cloud.util
import androidx.lifecycle.LiveData
import java.util.concurrent.CountDownLatch
import java.util.concurrent.TimeUnit
object LiveDataTestUtil {
fun <T> getValue(liveData: LiveData<T>): T {
val data = arrayOfNulls<Any>(1)
val latch = C... | 0 | Kotlin | 0 | 0 | 591a00ee87abc6cc048f1ebf1075a365696bfe03 | 556 | android_github_actions_sonar_cloud | Apache License 2.0 |
kittybot/src/main/kotlin/org/bezsahara/kittybot/telegram/classes/messages/reactions/MessageReactionCountUpdated.kt | bezsahara | 846,146,531 | false | {"Kotlin": 752625} | package org.bezsahara.kittybot.telegram.classes.messages.reactions
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.bezsahara.kittybot.telegram.classes.chats.Chat
import org.bezsahara.kittybot.telegram.classes.reactions.ReactionCount
/**
* This object represents reaction... | 0 | Kotlin | 1 | 5 | a0b831c9f4ad00f681b2bfba5376e321766a8cfe | 933 | TelegramKitty | MIT License |
i18n4k-core/src/commonMain/kotlin/de/comahe/i18n4k/strings/StringTools.kt | comahe-de | 340,499,429 | false | {"Kotlin": 657212} | package de.comahe.i18n4k.strings
/**
* Returns a copy (if needed) of this string having its first letter titlecased using the rules of
* the default locale, or the original string if it's empty or already starts with a title case
* letter.
*
* This function does not support one-to-many character mapping. If neede... | 4 | Kotlin | 9 | 70 | b5b5b3751f22da683682bd4464494e00e7db67b3 | 1,372 | i18n4k | Apache License 2.0 |
data/RF00639/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF00639"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
2 to 5... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 1,939 | Rfam-for-RNArtist | MIT License |
subscriptions/subscriptions-api/src/main/java/com/duckduckgo/subscriptions/api/PrivacyProUnifiedFeedback.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2024 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 1,070 | Android | Apache License 2.0 |
src/main/kotlin/com/randolphledesma/gad/managers/ContactServiceManager.kt | randop | 251,366,857 | false | null | package com.randolphledesma.gad.managers
import com.randolphledesma.gad.ApplicationContext
import com.randolphledesma.gad.EventStoreEvent
import com.randolphledesma.gad.EventStoreResource
import com.randolphledesma.gad.models.Account
import com.randolphledesma.gad.models.Contact
import com.randolphledesma.gad.models.C... | 0 | Kotlin | 0 | 0 | 15d52e6e1ae43b56bbc58256d2344acc609fee21 | 2,037 | kotlin-vertx | MIT License |
src/main/kotlin/gay/pizza/pkg/apk/core/ApkSupportedArches.kt | azenla | 590,581,912 | false | null | package gay.pizza.pkg.apk.core
interface ApkSupportedArches {
fun read(): List<String>
fun write(arches: List<String>)
}
| 0 | Kotlin | 0 | 1 | 79c5e8708a43e8663f1243d51893a2b7fb0fc27a | 126 | apk-tools | MIT License |
app/src/main/java/com/example/inventory/ItemDetailFragment.kt | huuhieu2905 | 740,658,657 | false | {"Kotlin": 26964} | /*
* Copyright (C) 2021 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 | Kotlin | 0 | 0 | 9a3563e0b205006f781222db23209c24dc8328aa | 4,155 | StudentManagement | Apache License 2.0 |
src/main/kotlin/bvanseg/kotlincommons/io/net/http/rest/endpoint/Endpoint.kt | bvanseg | 211,717,677 | false | null | /*
* MIT License
*
* Copyright (c) 2021 Boston Vanseghi
*
* 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, ... | 0 | Kotlin | 0 | 1 | f02d97922c743fffc0c520ed2be30ad6b95dd8a3 | 3,654 | KotlinCommons | MIT License |
src/nativeGen/kotlin/godot/ARVRCamera.kt | piiertho | 237,614,467 | true | {"Kotlin": 5300589} | // DO NOT EDIT, THIS FILE IS GENERATED FROM api.json
package godot
import gdnative.godot_method_bind
import godot.core.Godot
import godot.core.Variant
import godot.core.VariantArray
import kotlin.reflect.KCallable
import kotlinx.cinterop.CFunction
import kotlinx.cinterop.COpaquePointer
import kotlinx.cinterop.cstr
imp... | 0 | null | 0 | 1 | 3a8c598040f9b47b2b8cf8f5432543f61d6f83e8 | 1,005 | godot-kotlin | MIT License |
product/web3modal/src/main/kotlin/com/walletconnect/web3/modal/ui/routes/account/AccountState.kt | WalletConnect | 435,951,419 | false | {"Kotlin": 1615883, "Java": 4358} | package com.walletconnect.web3.modal.ui.routes.account
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.navigation.NavController
import com.walletconnect.android.internal.common.wcKoinApp
import com.walletconnect.foundation.util.Logger
import com.walletconnect.web3.mo... | 154 | Kotlin | 61 | 161 | 198ac87ef4d5d5a698c875761c0b544faf5f7d0b | 4,302 | WalletConnectKotlinV2 | Apache License 2.0 |
chatbot/src/main/kotlin/io/github/lunarwatcher/chatbot/bot/commands/basic/HelpCommand.kt | LunarWatcher | 123,192,353 | false | null | package io.github.lunarwatcher.chatbot.bot.commands.basic
import com.google.common.base.Strings
import io.github.lunarwatcher.chatbot.NO_DEFINED_RANK
import io.github.lunarwatcher.chatbot.bot.ReplyBuilder
import io.github.lunarwatcher.chatbot.bot.chat.Message
import io.github.lunarwatcher.chatbot.bot.chat.ReplyMessage... | 0 | Kotlin | 2 | 11 | f72194b98900bad53839e99326eaabed035ecf5b | 8,362 | NN-chatbot | Apache License 2.0 |
data/src/main/kotlin/com/ilgiz/kitsu/data/remote/dtos/manga/Installments.kt | ilgiz05 | 493,248,856 | false | null | package com.ilgiz.kitsu.data.remote.dtos.manga
import com.google.gson.annotations.SerializedName
import com.ilgiz.kitsu.domain.models.manga.InstallmentsModel
data class Installments(
@SerializedName("links")
val links: LinksXXXX
)
fun Installments.toDomain() =
InstallmentsModel(links.toDomain()) | 0 | Kotlin | 0 | 0 | f9d4b4b9899bc2faa3fc992233c3187774d3d8d8 | 312 | kitsuApi | MIT License |
src/commonMain/kotlin/com/github/kotlinizer/mqtt/internal/connection/packet/received/PubRec.kt | kotlinizer | 182,853,094 | false | null | package com.github.kotlinizer.mqtt.internal.connection.packet.received
internal data class PubRec(override val packetIdentifier: Short) : MqttReceivedPacket | 0 | Kotlin | 3 | 3 | 02fa88d75c676f55d33ae7df213b009982b7dc1d | 157 | kotlin-mqtt-client | Apache License 2.0 |
src/main/kotlin/saarland/cispa/frontmatter/analyses/CollectMetadata.kt | uds-se | 384,046,711 | false | null | package saarland.cispa.frontmatter.analyses
import mu.KLogging
import saarland.cispa.frontmatter.ActivityClass
import saarland.cispa.frontmatter.ApkInfo
import saarland.cispa.frontmatter.FrontmatterSettings
import saarland.cispa.frontmatter.LanguageDetector
import saarland.cispa.frontmatter.Utils.getSuperclasses
impor... | 1 | Kotlin | 0 | 1 | 2ce4b52fc84e4c837749a205c9b32d48b9423c4c | 3,457 | Frontmatter | MIT License |
app/src/main/java/com/example/buynow/data/local/room/item/ItemDao.kt | Shanan23 | 794,368,317 | false | {"Kotlin": 210564} | package com.example.buynow.data.local.room.item
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Update
@Dao
interface ItemDao {
@Query("SELECT * FROM items o... | 0 | Kotlin | 0 | 0 | adca126dd1a8e90dab6153963f3b7e2368b809db | 899 | ToSerba | MIT License |
LuraPlayerSampleApp/src/main/java/com/akta/luraplayersampleapp/modern/custom/AssetsReader.kt | ramdevblim | 816,915,917 | false | {"Kotlin": 333757} | package com.akta.luraplayersampleapp.modern.custom
import android.content.Context
import com.akta.luraplayer.api.logger.LuraLog
import com.akta.luraplayersampleapp.BuildConfig
import com.akta.luraplayersampleapp.modern.data.Assets
import com.akta.luraplayersampleapp.modern.data.Video
import kotlinx.serialization.decod... | 0 | Kotlin | 0 | 0 | 708586303f1206d1eaa3515bf836ba725d248246 | 2,729 | akta-v4-downloads | MIT License |
email/src/commonTest/kotlin/EmailTest.kt | aSoft-Ltd | 258,530,471 | false | null | import tz.co.asoft.Email
import kotlin.test.*
class EmailTest {
@Test
fun should_pass() {
assertEquals("<EMAIL>", Email("<EMAIL>").value)
}
@Test
fun should_fail() {
assertFails { Email("kitimtim") }
assertFails { Email("test.com") }
}
} | 0 | Kotlin | 3 | 1 | 8233558139144a26c40ae30526bfd0b26bc7b3cb | 288 | kotlin | MIT License |
src/en/fmovies/src/eu/kanade/tachiyomi/animeextension/en/fmovies/FMoviesDto.kt | aniyomiorg | 360,630,872 | false | {"Kotlin": 4099794} | package eu.kanade.tachiyomi.animeextension.en.fmovies
import kotlinx.serialization.Serializable
@Serializable
data class VrfResponse(
val url: String,
val vrfQuery: String? = null,
)
@Serializable
data class AjaxResponse(
val result: String,
)
@Serializable
data class AjaxServerResponse(
val result:... | 375 | Kotlin | 138 | 342 | e4eb7cdf6379102c903338402d2b8b96b42d3fa7 | 921 | aniyomi-extensions | Apache License 2.0 |
library/core/engine/src/main/kotlin/de/lise/fluxflow/engine/state/AssumingChangeDetector.kt | lisegmbh | 740,936,659 | false | {"Kotlin": 732949} | package de.lise.fluxflow.engine.state
import de.lise.fluxflow.api.state.ChangeDetector
/**
* The [AssumingChangeDetector] always assumes that an entity did change if [assumedResult] is set to `true`.
* If it is set to `false`, it always assumes that it did not change.
*/
class AssumingChangeDetector<in TEntity>(
... | 21 | Kotlin | 0 | 7 | 1ad9ce84c8aa3d87d6b7114125962db5b30801c9 | 504 | fluxflow | Apache License 2.0 |
dashboard/dashboard_presentation/src/main/java/com/nstudiosappdev/games/dashboard/presentation/GameViewEntityMapper.kt | harrunisk | 231,150,453 | false | null | package com.nstudiosappdev.games.dashboard.presentation
import com.nstudiosappdev.core.presentation.recyclerview.DisplayItem
import com.nstudiosappdev.games.dashboard.domain.objects.Game
import io.reactivex.functions.Function
class GameViewEntityMapper : Function<Game, DisplayItem> {
override fun apply(t:Game): ... | 0 | Kotlin | 1 | 15 | b0059ae52e7875b78815bfe80a9384adb213846e | 547 | Games | MIT License |
app/src/main/java/com/starkbank/cocoatouch/uikit/UIStoryboard.kt | starkbank | 542,751,615 | false | {"Kotlin": 45758} | package com.starkbank.cocoatouch.uikit
open class UIStoryboard: UIActivity() {
//
// Public instance methods
//
fun instantiateViewControllerWithIdentifier(identifier: Int): UIViewController {
val viewController: UIViewController = this.viewControllerForIdentifier(identifier)
viewCont... | 0 | Kotlin | 0 | 0 | f857b1c8e97342024f12959cebd6b9182f903f29 | 1,375 | cocoatouch-for-android | MIT License |
Weather/domain/src/main/java/com/farhan/domain/common/Mapper.kt | hfarhanahmed | 438,925,610 | false | null | package com.farhan.domain.common
import io.reactivex.Observable
abstract class Mapper<in From, To> {
abstract fun mapFrom(from: From): To
fun mapFromList(from: List<From>): List<To> {
return from.map { mapFrom(it) }
}
fun observable(from: From): Observable<To> {
return Observable.fr... | 0 | Kotlin | 0 | 0 | b17bfc384364e7afc30dac684d9adb6eb9a0497a | 485 | WeatherApp | MIT License |
app/src/main/java/com/gowittgroup/smartassist/util/NetworkUtil.kt | wittgroup-inc | 606,868,969 | false | {"Kotlin": 183771} | package com.gowittgroup.smartassist.util
import android.content.Context
import android.content.Context.CONNECTIVITY_SERVICE
import android.net.ConnectivityManager
import android.util.Log
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject
class NetworkUtilImpl @Inject constructor(@Appl... | 0 | Kotlin | 0 | 0 | eadf19e9852c213c607e9068d2685ba5e01720a3 | 977 | smartassist | Apache License 2.0 |
src/main/kotlin/krayon/editor/base/command/ApplicationCommand.kt | draeger-lab | 156,102,188 | true | {"Kotlin": 800067, "Java": 123973, "CSS": 34315, "Inno Setup": 1574} | /*
* Copyright (c) 2018 Roland Wiese
* This software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software 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 a... | 0 | Kotlin | 0 | 1 | d40dc53b35367a81099b929a22b1b36f8f601a42 | 5,037 | krayon4sbgn | Apache License 2.0 |
core/domain/src/main/java/com/halilozcan/animearch/core/domain/usecase/single/GetSingleCharacterUseCase.kt | halilozcan | 572,966,235 | false | null | package com.halilozcan.animearch.core.domain.usecase.single
import com.halilozcan.animearch.core.common.NetworkResponseState
import com.halilozcan.animearch.core.domain.entity.SingleAnimeEntity
import kotlinx.coroutines.flow.Flow
interface GetSingleCharacterUseCase {
operator fun invoke(id: String): Flow<NetworkR... | 1 | Kotlin | 8 | 97 | 5903644dbabf505702d488d8ec7bb19b78174467 | 354 | AnimeArch | Apache License 2.0 |
module-domain/src/main/kotlin/io/klaytn/finder/domain/mysql/set4/GovernanceCouncilsInfo.kt | klaytn | 678,353,482 | false | {"Kotlin": 1783784, "Solidity": 71874, "Shell": 4003} | package io.klaytn.finder.domain.mysql.set4
import io.klaytn.finder.domain.mysql.BaseEntity
import java.time.LocalDateTime
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Table
@Entity
@Table(name = "governance_councils_info")
data class GovernanceCouncilsInfo (
@Column
... | 7 | Kotlin | 0 | 0 | 19229490436cf5c0096f25310959286645dc3914 | 1,813 | finder-api | MIT License |
sphinx/application/network/features/queries/feature-network-query-contact/src/main/java/chat/sphinx/feature_network_query_contact/model/GetLatestContactsRelayResponse.kt | stakwork | 340,103,148 | false | {"Kotlin": 4002700, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453} | package chat.sphinx.feature_network_query_contact.model
import chat.sphinx.concept_network_query_contact.model.GetContactsResponse
import chat.sphinx.concept_network_query_contact.model.GetLatestContactsResponse
import chat.sphinx.concept_network_relay_call.RelayResponse
import com.squareup.moshi.JsonClass
@JsonClass... | 99 | Kotlin | 11 | 18 | 01d4be42df107d5e4fa8d2411f5390aeea60ea74 | 566 | sphinx-kotlin | MIT License |
src/main/kotlin/no/acntech/easycontainers/util/lang/Validator.kt | acntech | 739,332,140 | false | {"Kotlin": 369659, "HTML": 485} | package no.acntech.easycontainers.util.lang
/**
* Interface for validating objects.
*/
interface Validator<T> {
/**
* Validates the given object.
*
* @param t the object to validate
* @throws ValidationException if the object is not valid
*/
@Throws(ValidationException::class)
fun vali... | 3 | Kotlin | 0 | 1 | 896e213887aee8c3baf8fe38fa4023b60c35be77 | 332 | easycontainers | Apache License 2.0 |
app/src/main/java/ru/axcheb/spotifyapi/di/AppModule.kt | axcheb | 402,218,865 | false | null | package ru.axcheb.spotifyapi.di
import dagger.Module
@Module(includes = [NetworkModule::class])
object AppModule
| 0 | Kotlin | 0 | 0 | a40c53cfe39d9e9b2ee58c09236e9b0d57e4462d | 115 | SpotifyBrowser | MIT License |
shared/src/test/kotlin/com/egm/stellio/shared/model/ExpandedMembersTests.kt | stellio-hub | 257,818,724 | false | {"Kotlin": 1717826, "Dockerfile": 2088, "Shell": 1825} | package com.egm.stellio.shared.model
import com.egm.stellio.shared.util.*
import com.egm.stellio.shared.util.JsonLdUtils.NGSILD_CREATED_AT_PROPERTY
import com.egm.stellio.shared.util.JsonLdUtils.NGSILD_MODIFIED_AT_PROPERTY
import com.egm.stellio.shared.util.JsonLdUtils.NGSILD_RELATIONSHIP_OBJECT
import com.egm.stellio... | 35 | Kotlin | 11 | 27 | a740e148f22e05c0add8b841fe976dccdb98cf59 | 6,881 | stellio-context-broker | Apache License 2.0 |
app/src/main/java/com/luismunyoz/catalogue/ui/screens/main/di/MainActivityModule.kt | luismunyoz | 129,391,557 | false | null | package com.luismunyoz.catalogue.ui.screens.main.di
import androidx.fragment.app.FragmentActivity
import com.luismunyoz.catalogue.ui.screens.main.MainActivity
import com.luismunyoz.catalogue.ui.screens.main.MainContract
import com.luismunyoz.catalogue.ui.screens.main.MainPresenter
import dagger.Binds
import dagger.Mod... | 0 | Kotlin | 1 | 0 | 8114e8359717aba467a71c2c5ddb70b51cbe5666 | 570 | catalogue | Apache License 2.0 |
src/main/kotlin/com/imyvm/essentialCommandsImyvmAddition/EssentialEconomyConfig.kt | Dream-Rainy | 708,880,142 | false | {"Kotlin": 41443, "Java": 16503} | package com.imyvm.essentialCommandsImyvmAddition
import com.fibermc.essentialcommands.EssentialCommands.LOGGER
import dev.jpcode.eccore.config.Config
import dev.jpcode.eccore.config.ConfigOption
import dev.jpcode.eccore.config.Option
import java.nio.file.Path
import java.time.ZoneId
class EssentialEconomyConfig(save... | 0 | Kotlin | 0 | 1 | 447385aab7d88f03219e3f533ff34fb2517a602c | 3,263 | EssentialCommandsImyvmAddition | MIT License |
app/src/main/java/com/jonathanlee/animation/SystemAnimationHelper.kt | jonathanlee06 | 374,100,648 | false | null | package com.jonathanlee.animation
import android.content.ContentResolver
import android.content.Context
import android.content.pm.PackageManager
import android.provider.Settings
import android.util.Log
/**
* A helper object to get/set system animation
*
* Note that this requires a system level permission, so must ... | 0 | Kotlin | 0 | 0 | 9d4169cab4a0ae1ef3e59d03386591ec3365e35a | 2,725 | AnimationToggle | MIT License |
data/seasondetails/testing/src/commonMain/kotlin/com/thomaskioko/tvmaniac/seasondetails/testing/FakeSeasonDetailsRepository.kt | thomaskioko | 361,393,353 | false | {"Kotlin": 560203, "Swift": 94284} | package com.thomaskioko.tvmaniac.seasondetails.testing
import com.thomaskioko.tvmaniac.core.db.SeasonEpisodeDetailsById
import com.thomaskioko.tvmaniac.seasondetails.api.SeasonDetailsRepository
import com.thomaskioko.tvmaniac.util.model.Either
import com.thomaskioko.tvmaniac.util.model.Failure
import kotlinx.coroutine... | 4 | Kotlin | 16 | 136 | 625b1bbab9aba4e5031778ba5020639106d4b4e9 | 1,246 | tv-maniac | Apache License 2.0 |
screen/main/src/main/java/ru/maksonic/beresta/screen/main/presentation/core/MainSandbox.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.screen.main.presentation.core
import ru.maksonic.beresta.elm.Sandbox
import ru.maksonic.beresta.elm.UpdatedModel
/**
* @Author maksonic on 16.01.2023
*/
private typealias UpdateResult = UpdatedModel<Model, Set<Cmd>, Set<Eff>>
class MainSandbox(
mainProgram: MainProgram
) : Sandbox<M... | 0 | Kotlin | 0 | 0 | 5704d413cd57a8eabe27b02a185a999fce2ca1e4 | 3,004 | Beresta | MIT License |
sample/src/main/kotlin/ru/github/pavelannin/sample/presentation/screen/menu/MenuFragment.kt | pavelannin | 237,843,733 | false | null | package ru.github.pavelannin.sample.presentation.screen.menu
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.observe
import androidx.navigation.fragment.findNavController
import com.jakewharton.rxbinding3.view.cli... | 0 | Kotlin | 1 | 1 | d1d0868735cccac4c31f7cbe268d5f106af0c10e | 1,360 | android-oneway | Apache License 2.0 |
scientist4k-core/src/main/kotlin/com/github/squirrelgrip/scientist4k/core/consumer/ConsoleConsumer.kt | SquirrelGrip | 247,915,957 | true | {"Kotlin": 234965, "JavaScript": 2164, "HTML": 1653, "CSS": 930} | package com.github.squirrelgrip.scientist4k.core.consumer
import com.github.squirrelgrip.scientist4k.simple.model.SimpleExperimentResult
import com.google.common.eventbus.Subscribe
class ConsoleConsumer<T> {
@Subscribe
fun receiveResult(simpleExperimentResult: SimpleExperimentResult<T>) {
println(simp... | 0 | Kotlin | 0 | 2 | 5c88eb2bf0275c1c8ad139a78c9a1222f499ce4e | 348 | Scientist4K | MIT License |
app/src/main/kotlin/com/evastos/bux/inject/module/UtilModule.kt | eveey | 147,939,147 | false | null | package com.evastos.bux.inject.module
import com.evastos.bux.ui.util.DateTimeUtil
import com.evastos.bux.ui.util.NumberUtil
import com.evastos.bux.ui.util.PriceUtil
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
@Suppress("unused")
@Module
class UtilModule {
@Provides
@Singleton
... | 0 | Kotlin | 0 | 0 | eb8d7fd92bc659e9da523941b4bd3c96a2797de5 | 646 | BUXDemo | The Unlicense |
parser/src/main/java/com/malt/parser/cert/pkcs7/SignerInfo.kt | MALTF | 679,156,908 | false | {"Kotlin": 288486} | package com.malt.parser.cert.pkcs7
import com.malt.parser.cert.asn1.Asn1Class
import com.malt.parser.cert.asn1.Asn1Field
import com.malt.parser.cert.asn1.Asn1OpaqueObject
import com.malt.parser.cert.asn1.Asn1Tagging
import com.malt.parser.cert.asn1.Asn1Type
import java.nio.ByteBuffer
/**
* PKCS #7 `SignerInfo` as sp... | 1 | Kotlin | 0 | 4 | 7aabf1d6d9741190d1527744dd168edd751911a4 | 1,287 | APK-Parser | MIT License |
fhg-repository/src/main/java/de/jbamberger/fhg/repository/api/FhgApiImpl.kt | radmat64 | 191,036,357 | true | {"Kotlin": 129363, "HTML": 47474, "Java": 1378} | package de.jbamberger.fhg.repository.api
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MediatorLiveData
import de.jbamberger.fhg.repository.data.FeedItem
import de.jbamberger.fhg.repository.data.VPlan
import java.util.concurrent.atomic.AtomicBoolean
import javax.inject.Inject
/**
* @author <NA... | 0 | Kotlin | 0 | 0 | 4d95930b8f8df3cb3c734e1e11e47a08f182034e | 2,373 | fhg-android-app | MIT License |
core/src/commonMain/kotlin/work/socialhub/kmastodon/entity/Field.kt | uakihir0 | 783,390,459 | false | {"Kotlin": 168825, "Ruby": 2191, "Shell": 2164, "Makefile": 319} | package work.socialhub.kmastodon.entity
import kotlinx.serialization.Serializable
import kotlin.js.JsExport
@JsExport
@Serializable
class Field {
var name: String? = null
var value: String? = null
}
| 0 | Kotlin | 0 | 1 | b1d48ee425c8a4724848d5686ce08f73edcc880d | 210 | kmastodon | MIT License |
retrofitlivedatacalladapter/src/main/kotlin/com/aqrlei/open/retrofit/livedatacalladapter/LiveObservableSource.kt | AqrLei | 163,495,242 | false | null | package com.aqrlei.open.retrofit.livedatacalladapter
/**
* @author aqrlei on 2018/12/21
*/
interface LiveObservableSource {
fun cancel()
}
| 0 | Kotlin | 0 | 0 | 7619a8552092f9098fdf12a34e4642fe596195a7 | 146 | RetrofitLivedataCallAdapter | Apache License 2.0 |
app/src/main/java/com/fang/scroll/TypeAlias.kt | FangMessi | 306,215,663 | false | null | package com.fang.scroll
/**
* @author fangkw on 2020-10-23
**/
typealias MoreCallback = (Boolean) -> Unit | 0 | Kotlin | 2 | 7 | 3d2c8e5c4806d0f68b6ef7d369d7a0d6d424328d | 108 | nested_scroll_demo | Apache License 2.0 |
app/src/main/java/at/shockbytes/dante/navigation/ActivityNavigator.kt | shockbytes | 92,944,830 | false | {"Kotlin": 790848} | package at.shockbytes.dante.navigation
import android.content.Context
import android.os.Bundle
object ActivityNavigator {
fun navigateTo(
context: Context?,
destination: Destination,
transitionBundle: Bundle? = null,
intentFlags: Int? = null
) {
context?.let { ctx ->
... | 21 | Kotlin | 7 | 73 | 626fd7c12691be646fcd7b55a9c46539073af675 | 498 | Dante | Apache License 2.0 |
core/network/src/commonMain/kotlin/com/cdcoding/network/client/ton/TonTransactionStatusClient.kt | Christophe-DC | 822,562,468 | false | {"Kotlin": 728291, "Ruby": 4739, "Swift": 617} | package com.cdcoding.network.client.ton
import com.cdcoding.model.Chain
import com.cdcoding.model.HashChanges
import com.cdcoding.model.TransactionChages
import com.cdcoding.model.TransactionState
import com.cdcoding.network.client.TransactionStatusClient
import com.cdcoding.network.util.getOrNull
import com.trustwall... | 0 | Kotlin | 0 | 0 | bc7c3eb161ee18db83402ded314e2e0b72196974 | 1,212 | secureWallet | Apache License 2.0 |
presentation/src/main/java/com/amaringo/presentation/feature/center_list/model/Location.kt | AdrianMarinGonzalez | 329,634,066 | false | null | package com.amaringo.presentation.feature.center_list.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class Location(val latitude: Double, val longitude: Double): Parcelable | 0 | Kotlin | 0 | 0 | 23375a1c62cdce702d81b65f1b70e0c198bd144b | 218 | CAM-care | The Unlicense |
app/src/main/java/com/example/helloworld/MainActivity.kt | smrithy23 | 736,462,677 | false | {"Kotlin": 1638} | package com.example.helloworld
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.Toast
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInsta... | 0 | Kotlin | 0 | 0 | ecd07cca9c915d9e6776222bcd11d68c6edc7786 | 621 | CP-HelloWorld | Apache License 2.0 |
src/main/kotlin/days/DayTempalte.kt | couturierb | 728,250,155 | false | {"Kotlin": 20183} | package days
class DayTempalte : Day(11) {
override fun partOne(): Any {
return ""
}
override fun partTwo(): Any {
return ""
}
}
| 0 | Kotlin | 0 | 0 | 264d5f5063cd1c738bc4e1d8b5cd52d5569a489a | 166 | adventofcode2023 | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/yorick/cokotools/util/ApplicationUtils.kt | Yorick-Ryu | 542,501,945 | false | {"Kotlin": 179759, "Java": 13012} | package com.yorick.cokotools.util
import android.annotation.SuppressLint
import android.app.Application
import android.os.Build
import java.lang.reflect.InvocationTargetException
object ApplicationUtils {
var application: Application? = null
val processName: String
get() = if (Build.VERSION.SDK_INT >=... | 1 | Kotlin | 0 | 3 | 6e2b0f838546aa940211287d01aa2f1e8da8b7ce | 1,092 | CokoTools | Apache License 2.0 |
app/src/main/java/uk/co/wedgetech/hostpinger/ui/common/HostCardHolder.kt | sfeatherstone | 121,163,506 | false | {"Kotlin": 30818} | package uk.co.wedgetech.hostpinger.ui.common
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.card_host.*
import kotlinx.android.extensions.LayoutContainer
import android.view.View
import com.squareup.picasso.Picasso
import io.reactivex.SingleObserver
import io.reactivex.android.s... | 0 | Kotlin | 0 | 0 | d514913758d36ea207ec6ae9d4644996363ea8ca | 2,055 | HostPingerMVVM-vs-MVP | MIT License |
api/src/main/kotlin/com/gmtkgamejam/models/posts/Skills.kt | GameMakersToolkit | 388,757,910 | false | {"TypeScript": 95359, "Kotlin": 64720, "CSS": 8095, "JavaScript": 2911, "Dockerfile": 1539, "Shell": 644, "HTML": 366} | package com.gmtkgamejam.models.posts
enum class Skills {
ART_2D,
ART_3D,
CODE,
DESIGN_PRODUCTION,
SFX,
MUSIC,
TESTING_SUPPORT,
TEAM_LEAD,
OTHER;
}
| 11 | TypeScript | 7 | 12 | f46e67944e18b7a52d827b5b02062bbb50a53d2d | 184 | team-finder | X11 License |
app/src/main/java/com/domatix/yevbes/nucleus/core/utils/recycler/entities/LessViewHolder.kt | sm2x | 234,568,179 | true | {"Kotlin": 782306} | package com.domatix.yevbes.nucleus.core.utils.recycler.entities
import android.support.v7.widget.RecyclerView
import com.domatix.yevbes.nucleus.databinding.ItemViewRecyclerLessBinding
class LessViewHolder(
val binding: ItemViewRecyclerLessBinding
) : RecyclerView.ViewHolder(binding.root)
| 0 | null | 0 | 0 | 237e9496b5fb608f543e98111269da9b91a06ed3 | 299 | nucleus | MIT License |
app/src/main/java/com/bsuir/bsuirschedule/receiver/ScheduleUpdateAlarmHandler.kt | Saydullin | 526,953,048 | false | {"Kotlin": 678273, "HTML": 7301} | package com.bsuir.bsuirschedule.receiver
import android.app.AlarmManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.os.Build
import com.bsuir.bsuirschedule.service.ScheduleUpdateService
import java.text.SimpleDateFormat
import java.util.*
class Schedul... | 0 | Kotlin | 0 | 4 | 989325e764d14430d5d124efd063f7190b075f4a | 2,275 | BSUIR_Schedule | Creative Commons Zero v1.0 Universal |
src/main/java/in/dragonbra/javasteam/steam/handlers/steamapps/callback/DepotKeyCallback.kt | Longi94 | 122,125,610 | false | {"Java": 560633, "Kotlin": 420136, "JavaScript": 4778} | package `in`.dragonbra.javasteam.steam.handlers.steamapps.callback
import `in`.dragonbra.javasteam.base.ClientMsgProtobuf
import `in`.dragonbra.javasteam.base.IPacketMsg
import `in`.dragonbra.javasteam.enums.EResult
import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgClientGetDepotDecr... | 8 | Java | 19 | 95 | ad7377fdbaf7b1e48c7f0d74602268871ad2d698 | 1,336 | JavaSteam | MIT License |
imitate/src/main/java/com/engineer/imitate/interfaces/testinterfaces/SimpleJavaInterface1.kt | REBOOTERS | 65,188,539 | false | null | package com.engineer.imitate.interfaces.testinterfaces
/**
* @authro: Rookie
* @since: 2019-05-30
*/
interface SimpleJavaInterface1 {
fun dooe()
}
| 4 | null | 352 | 1,880 | 278998c8da1da2b47778dba3dbd3f2de1e12f2ed | 155 | AndroidAnimationExercise | Apache License 2.0 |
core/src/main/java/at/specure/util/ActiveFilter.kt | rtr-nettest | 195,193,208 | false | null | package at.specure.util
import android.content.Context
import at.rmbt.client.control.FilterOperatorOptionResponse
import at.rmbt.client.control.FilterPeriodOptionResponse
import at.rmbt.client.control.FilterProviderOptionResponse
import at.rmbt.client.control.FilterStatisticOptionResponse
import at.rmbt.client.control... | 1 | Kotlin | 8 | 6 | a2d2bf493a12aceae2da96ce6536467be6038aca | 3,386 | open-rmbt-android | Apache License 2.0 |
collector/src/main/java/com/bitmovin/analytics/error/ExceptionMapper.kt | bitmovin | 120,633,749 | false | {"Kotlin": 1336909, "Java": 25098, "Shell": 13133} | package com.bitmovin.analytics.error
import com.bitmovin.analytics.data.ErrorCode
interface ExceptionMapper<in T> {
fun map(throwable: T): ErrorCode
}
| 1 | Kotlin | 6 | 9 | c7c1b9a7016534c0e07620d3d7e863ca99575c86 | 157 | bitmovin-analytics-collector-android | Amazon Digital Services License |
core/src/main/kotlin/org/predicode/predicator/grammar/Printers.kt | robstoll | 154,004,921 | true | {"Markdown": 1, "Java": 53, "Kotlin": 23} | package org.predicode.predicator.grammar
import org.predicode.predicator.terms.Term
typealias CodePoint = Int
fun printTerms(terms: Iterable<Term>): String =
TermPrinter.printTerms(terms)
fun printTerms(terms: Iterable<Term>, print: (CodePoint) -> Unit) =
TermPrinter.printTerms(terms, print)
fun St... | 0 | Java | 1 | 0 | bc229b1c574e7d1fe880f8a730e7bd6d759e9945 | 1,302 | predicator | MIT License |
android/src/main/java/com/arlocalizerrn/LocationList.kt | netguru | 295,680,229 | false | null | package com.arlocalizerrn
import java.io.Serializable
class LocationList(locationArray: java.util.ArrayList<Any>) : Serializable {
var locations: java.util.ArrayList<HashMap<String,Double>> = locationArray as java.util.ArrayList<HashMap<String,Double>>
}
| 0 | Java | 2 | 12 | 6d3b533b81271cc77959024bffbe3a39f63c0857 | 263 | react-native-ar-localizer | MIT License |
infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/core/InAppChatWidgetError.kt | infobip | 56,227,769 | false | null | package org.infobip.mobile.messaging.chat.core
import org.infobip.mobile.messaging.api.support.http.serialization.JsonSerializer
import org.infobip.mobile.messaging.logging.MobileMessagingLogger
data class InAppChatWidgetError(
val message: String? = null,
val code: Int? = null
) {
companion object {
... | 6 | null | 17 | 51 | 87f9daa5e37c71a3591662190c31a22e263600c0 | 734 | mobile-messaging-sdk-android | Apache License 2.0 |
Kotlin-Samples-Android/app/src/main/kotlin/samuel/urbanowicz/MainActivity.kt | PacktPublishing | 126,314,798 | false | null | package samuel.urbanowicz
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.GenericLifecycleObserver
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import com.example.unclesam.myapplication.R
import kotlinx.android.... | 0 | Kotlin | 24 | 26 | a9118396250ded6f4466c20fd0dc62ea6a598ed1 | 2,104 | Kotlin-Standard-Library-Cookbook | MIT License |
src/test/kotlin/ru/iopump/koproc/ExtensionKtIT.kt | kochetkov-ma | 315,046,551 | false | {"Gradle": 6, "Java Properties": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "INI": 2, "Java": 1, "Batchfile": 1, "Shell": 1, "Kotlin": 5, "YAML": 1, "Groovy": 1} | package ru.iopump.koproc
import io.kotest.assertions.asClue
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.nulls.shouldBeNull
import io.kotest.matchers.shouldBe
import io.kotest.matchers.string.shouldBeBlank
import io.kotest.matchers.string.shouldContain
import io.kotest.matchers.string.shouldNo... | 0 | Kotlin | 0 | 6 | fb80983ace117de1e5eccc1d11a30d8e82b16439 | 4,605 | koproc | Apache License 2.0 |
src/test/kotlin/ru/iopump/koproc/ExtensionKtIT.kt | kochetkov-ma | 315,046,551 | false | {"Gradle": 6, "Java Properties": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "INI": 2, "Java": 1, "Batchfile": 1, "Shell": 1, "Kotlin": 5, "YAML": 1, "Groovy": 1} | package ru.iopump.koproc
import io.kotest.assertions.asClue
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.nulls.shouldBeNull
import io.kotest.matchers.shouldBe
import io.kotest.matchers.string.shouldBeBlank
import io.kotest.matchers.string.shouldContain
import io.kotest.matchers.string.shouldNo... | 0 | Kotlin | 0 | 6 | fb80983ace117de1e5eccc1d11a30d8e82b16439 | 4,605 | koproc | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.