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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ComicX/src/main/java/com/qiuchenly/comicparse/Modules/MainActivity/Fragments/ComicDashBoard/Recommend/Beans/HotComicStrut.kt | MyGhost233 | 203,593,656 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 2, "Java": 128, "XML": 116, "Kotlin": 93} | package com.qiuchenly.comicparse.Modules.MainActivity.Fragments.ComicDashBoard.Recommend.Beans
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
import io.realm.annotations.RealmClass
@RealmClass
open class HotComicStrut : RealmObject() {
@PrimaryKey
var BookName: String? = null
var BookI... | 1 | null | 1 | 1 | 057406d81e685aeb272df22450e40cfc64a535bb | 663 | iComic | MIT License |
dependencies/infrastructure/src/main/java/com/foreveross/atwork/infrastructure/model/FloatPos.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.foreveross.atwork.infrastructure.model
import android.os.Parcel
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
/**
* create by reyzhang22 at 2019-08-28
*/
data class FloatPos(
var posX: Int = 0,
var posY: Int = 0
) : Parcelable {
constructor(parcel: Parcel) ... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 883 | w6s_lite_android | MIT License |
emoji/src/androidMain/kotlin/com/vanniktech/emoji/internal/EmojiPagerAdapter.kt | vanniktech | 53,511,222 | false | {"Kotlin": 2552475, "JavaScript": 19229, "Ruby": 15950} | /*
* Copyright (C) 2016 - <NAME>, <NAME>, <NAME> and contributors
*
* 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 requir... | 5 | Kotlin | 292 | 1,537 | 60efe8bbfe4f2900e424c4cdddf01dcc59e0b4bb | 2,354 | Emoji | Apache License 2.0 |
mocker-core/src/commonMain/kotlin/fr/speekha/httpmocker/io/MockResponder.kt | speekha | 190,229,886 | false | null | /*
* Copyright 2019-2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 1 | null | 1 | 1 | bb4f8ea57f40fd149171632e86b63e2304d60402 | 2,268 | httpmocker | Apache License 2.0 |
sample/src/main/java/dev/gerlot/securewebview/sample/SecurableWebViewFragment.kt | balazsgerlei | 786,827,564 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 19, "XML": 38, "HTML": 2, "INI": 1, "Java": 4} | package dev.gerlot.securewebview.sample
interface SecurableWebViewFragment {
fun secureWebView()
fun unSecureWebView()
}
| 1 | Java | 2 | 3 | bf29f205b0e3c509bf7e402686d34220a02273a2 | 133 | SecureWebView | Creative Commons Zero v1.0 Universal |
portal/src/jvmMain/kotlin/com/sourceplusplus/portal/display/ActivityDisplay.kt | Serial-Of-APM | 385,567,632 | true | {"Kotlin": 776589, "Java": 17645, "CSS": 8296, "JavaScript": 3693, "HTML": 477} | package com.sourceplusplus.portal.display
import com.sourceplusplus.portal.SourcePortal
import com.sourceplusplus.portal.extensions.displayActivity
import com.sourceplusplus.protocol.ProtocolAddress.Global.ActivityTabOpened
import com.sourceplusplus.protocol.ProtocolAddress.Global.ArtifactMetricsUpdated
import com.sou... | 0 | null | 0 | 0 | 69870cc134e66cd128c9175a4099d53a650b68ba | 4,883 | SourceMarker | Apache License 2.0 |
base-android/src/main/kotlin/com/jpaya/base/utils/ThemeUtils.kt | jpaya17 | 254,323,532 | false | null | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 20 | Kotlin | 6 | 49 | 5f6b5583f1a259407e85f6ecad6333b208b98885 | 1,252 | englishisfun | Apache License 2.0 |
definitions/src/commonMain/kotlin/com/divpundir/mavlink/definitions/common/PositionTargetLocalNed.kt | divyanshupundir | 484,943,163 | false | null | package com.divpundir.mavlink.definitions.common
import com.divpundir.mavlink.api.GeneratedMavField
import com.divpundir.mavlink.api.GeneratedMavMessage
import com.divpundir.mavlink.api.MavBitmaskValue
import com.divpundir.mavlink.api.MavEnumValue
import com.divpundir.mavlink.api.MavMessage
import com.divpundir.mavlin... | 5 | null | 7 | 48 | 647efb2f1a1d00ae410a0a5ad08e2111fe17214e | 8,823 | mavlink-kotlin | Apache License 2.0 |
EcosystemSimulation/src/shmp/simulation/space/resource/transformer/SizeTransformer.kt | ShMPMat | 212,499,539 | false | null | package shmp.simulation.space.resource.transformer
import shmp.simulation.space.resource.Resource
import shmp.simulation.space.resource.flingConversionLinks
class SizeTransformer(val size: Double) : ResourceTransformer {
override fun transform(resource: Resource): Resource {
val genome = resource.genome.... | 0 | Kotlin | 0 | 0 | 43fbb9f6db25f651cb7328408468513491296fb0 | 475 | CulturesSim | MIT License |
kotlock-core/src/main/kotlin/com/github/darkxanter/KotlockChallenger.kt | darkxanter | 424,168,790 | false | null | @file:Suppress("unused")
package com.github.darkxanter
import java.time.OffsetDateTime
public data class KotlockChallenger(
val name: String,
val lockBy: String,
val lockUntil: OffsetDateTime
)
public fun KotlockChallenger.success(lockedAt: OffsetDateTime = OffsetDateTime.now()): KotlockResult {
ret... | 0 | Kotlin | 0 | 0 | 258749211a146b04eda6fb7631e94f4ebabdfe74 | 539 | kotlock | MIT License |
app/src/main/java/com/mathroda/dashcoin/presentation/watchlist_screen/state/WatchListState.kt | MathRoda | 507,060,394 | false | null | package com.mathroda.dashcoin.presentation.watchlist_screen.state
import com.mathroda.dashcoin.domain.model.CoinById
data class WatchListState(
val isLoading: Boolean = false,
val coin: List<CoinById> = emptyList(),
val error: String? = null
)
| 1 | Kotlin | 16 | 111 | e32b7caa921303c754cc67320bd23d1d6aab18b0 | 258 | DashCoin | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ef/sak/vedtak/dto/TotrinnskontrollStatusDto.kt | navikt | 206,805,010 | false | null | package no.nav.familie.ef.sak.vedtak.dto
import java.time.LocalDateTime
data class BeslutteVedtakDto(
val godkjent: Boolean,
val begrunnelse: String? = null
)
data class TotrinnskontrollStatusDto(
val status: TotrinnkontrollStatus,
val totrinnskontroll: TotrinnskontrollDto? = null
)
data class Totri... | 8 | Kotlin | 2 | 0 | 826996ddfeb9a0ec01a8b3525cb5841bd41bd7dd | 602 | familie-ef-sak | MIT License |
trixnity-client/src/commonMain/kotlin/net/folivo/trixnity/client/user/LazyMemberEventHandler.kt | benkuly | 330,904,570 | false | {"Kotlin": 4221955, "JavaScript": 5352, "TypeScript": 2906, "CSS": 1454, "Dockerfile": 1328} | package net.folivo.trixnity.client.user
import net.folivo.trixnity.core.model.events.ClientEvent.RoomEvent.StateEvent
import net.folivo.trixnity.core.model.events.m.room.MemberEventContent
interface LazyMemberEventHandler {
suspend fun handleLazyMemberEvents(memberEvents: List<StateEvent<MemberEventContent>>)
} | 0 | Kotlin | 3 | 30 | 22fb903ea05828914d3e3fd53f5e4be6b7878474 | 318 | trixnity | Apache License 2.0 |
src/main/kotlin/com/dharma/algo/data/UserData.kt | rowanfoo | 409,441,365 | false | null | package com.dharma.algo.data
import com.google.gson.JsonObject
object UserData {
var rsi: Int = 14
var rsialgo: Int = 25
var volumex: Double = 3.0
var volumema: Int = 60
var pricefall: Double = -0.04
val fallpriod = 10
var fallperiodval = -0.08
//fall in 2 years > 35%
var perc... | 0 | Kotlin | 0 | 0 | de50e39fd83fd92e07da6cab2708d07a70e0dafb | 1,002 | ta4j | Open LDAP Public License v2.8 |
m7-repo-inmemory/src/main/kotlin/com/finyou/fintrack/backend/repo/inmemory/models/FinTransactionRow.kt | otuskotlin | 377,713,994 | false | null | package com.finyou.fintrack.backend.repo.inmemory.models
import com.finyou.fintrack.backend.common.models.*
import java.io.Serializable
import java.math.BigDecimal
import java.time.Instant
data class FinTransactionRow(
val id: String? = null,
val userId: String? = null,
val name: String? = null,
val d... | 0 | Kotlin | 0 | 0 | 2827e9759ee6ad745c8721316b500015a452f129 | 1,963 | ok-202105-finrec-do | MIT License |
src/test/kotlin/net/pwall/text/StringMapperTest.kt | pwall567 | 551,916,881 | false | {"Kotlin": 30723} | /*
* @(#) StringMapperTest.kt
*
* string-mapper String mapping utilities
* Copyright (c) 2022 <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 ... | 0 | Kotlin | 0 | 1 | eae4b5010a84ffc83cae38dae9d1af622e1848b7 | 4,003 | string-mapper | MIT License |
solar/src/main/java/com/chiksmedina/solar/broken/medicine/HeartPulse.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.broken.medicine
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.StrokeCap.Companion.... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 6,470 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/hoc/comicapp/ui/downloaded_comics/DownloadedComicsFragment.kt | hoang06kx1 | 216,228,666 | true | {"Kotlin": 353295} | package com.hoc.comicapp.ui.downloaded_comics
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.LinearLayoutManager
import com... | 0 | null | 0 | 0 | 8ff2ea495d56c2d73bfd5cfc4c6244d2b7c8faaa | 5,555 | ComicReaderApp_MVI_Coroutine_RxKotlin_Jetpack | MIT License |
sdn-sdk-android/src/main/java/org/sdn/android/sdk/internal/network/UserAgentHolder.kt | Sending-Network | 598,095,527 | false | {"Kotlin": 5152971, "Java": 43127, "JavaScript": 1782} | /*
* Copyright 2020 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 1 | Kotlin | 1 | 6 | b0c6dc8cec4a82d1f90e9314a81a959e94ac4814 | 1,107 | sendingnetwork-android | Apache License 2.0 |
sample/src/main/java/com/example/countrypicker/Preferences.kt | hendraanggrian | 71,345,005 | false | null | package com.example.countrypicker
const val PREFERENCE_FLAG_DISPLAY = "flag_display"
const val PREFERENCE_NAME_DISPLAY = "name_display"
const val PREFERENCE_SHOW_DIALOG = "show_dialog"
const val PREFERENCE_SHOW_SHEET = "show_sheet"
| 1 | Java | 4 | 12 | c9cf8cc4a5a71b511981a178fa4c93f65a19388f | 233 | countrypicker | Apache License 2.0 |
app/src/main/java/id/oratakashi/pekalonganstore/ui/addresses/AddressViewModel.kt | oratakashi | 237,870,164 | false | null | package id.oratakashi.pekalonganstore.ui.addresses
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import id.oratakashi.pekalonganstore.BuildConfig
import id.oratakashi.pekalonganstore.data.model.addresses.ResponseAddresses
import id.oratakashi.pekalonganstore.data.model.addresses.delete.... | 0 | Kotlin | 0 | 3 | 74f443129b28f657e92eee0b9f407e2ddc77b3de | 3,903 | PekalonganStore | Apache License 2.0 |
Kernl.Consumer/src/test/kotlin/associativememorycache/impl/MultiSameParamComplexReturnTest.kt | mattshoe | 825,957,770 | false | {"Kotlin": 344588, "Shell": 1045} | package associativememorycache.impl
import org.mattshoe.shoebox.kernl.runtime.cache.associativecache.AssociativeCacheKernl
import org.mattshoe.shoebox.kernl.models.ServiceResponse
import kernl.org.mattshoe.shoebox.kernl.associativememorycache.MultiSameParamComplexReturnKernl
import associativememorycache.AssociativeMe... | 10 | Kotlin | 1 | 9 | 9682fcafeb1dccd468443e1265eab55c05757e52 | 1,138 | kernl | Apache License 2.0 |
core/src/main/java/com/github/grishberg/profiler/ui/dialogs/info/DependenciesListDialog.kt | Grigory-Rylov | 256,819,360 | false | null | package com.github.grishberg.profiler.ui.dialogs.info
import com.github.grishberg.profiler.core.ProfileData
import com.github.grishberg.profiler.common.CyclicTableRowSorter
import com.github.grishberg.profiler.common.DoubleRenderer
import com.github.grishberg.profiler.ui.dialogs.CloseByEscapeDialog
import java.awt.Bor... | 38 | null | 3 | 97 | e0ba609640cea72c301ff1537dc9cdd9b67bfe4c | 6,043 | android-methods-profiler | Apache License 2.0 |
src/main/kotlin/dev/hybridlabs/aquatic/item/MoonJellyfishArmorItem.kt | hybridlabs | 661,391,321 | false | {"Kotlin": 892890, "Java": 69899} | package dev.hybridlabs.aquatic.item
import dev.hybridlabs.aquatic.client.GeoRenderProviderStorage
import net.minecraft.client.item.TooltipContext
import net.minecraft.item.ArmorItem
import net.minecraft.item.ArmorMaterial
import net.minecraft.item.ItemStack
import net.minecraft.text.Text
import net.minecraft.util.Form... | 6 | Kotlin | 0 | 4 | 82c3b26d6697d2e5666b173101ade38505a3fe4c | 1,779 | hybrid-aquatic | MIT License |
app/src/main/java/com/aspark/carebuddynurse/notification/FirebaseNotificationService.kt | Ashutoshgupta22 | 655,854,784 | false | null | package com.aspark.carebuddynurse.notification
import android.util.Log
import com.google.firebase.messaging.FirebaseMessagingService
import com.google.firebase.messaging.RemoteMessage
class FirebaseNotificationService : FirebaseMessagingService(){
override fun onNewToken(token: String) {
Log.i("Firebase... | 0 | Kotlin | 0 | 1 | f78dcc575f83360ce1a66fd0ebbc6cba06390278 | 911 | Care-Buddy-Nurse | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/WeekendOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/WeekendOutlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val WeekendOutlined: SvgIconComponent
| 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 212 | kotlin-wrappers | Apache License 2.0 |
app/src/main/kotlin/com/example/tdd/utils/Constants.kt | racka98 | 563,313,909 | false | {"Kotlin": 24464} | package com.example.tdd.utils
object Constants {
const val PREFERENCE_NAME = "settings_preference"
}
| 0 | Kotlin | 0 | 0 | 374156358ae4a6dd96ad0775a459adcddbbc4e0f | 106 | TDD-Sample | MIT License |
app/src/main/java/com/dot/dotkotlinboilerplate/menu/listplace/viewmodels/ItemListPlaceViewModel.kt | jawsnfl | 259,620,618 | true | {"Kotlin": 18647} | package com.dot.dotkotlinboilerplate.menu.listplace.viewmodels
import android.app.Activity
import android.content.Intent
import androidx.databinding.ObservableField
import android.view.View
import com.dot.dotkotlinboilerplate.menu.listplace.models.ListPlaceResponseModel.ListPlaceModel
import com.dot.dotkotlinboilerpla... | 0 | null | 0 | 0 | a95e2c3dd15233f0fea11c8beb6767da06ca8382 | 909 | DOT-Kotlin-Boilerplate | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsaccreditedprogrammesapi/common/jpa/RepositoryTest.kt | ministryofjustice | 615,402,552 | false | {"Kotlin": 215996, "Shell": 9504, "Dockerfile": 1397} | package uk.gov.justice.digital.hmpps.hmppsaccreditedprogrammesapi.common.jpa
import org.junit.jupiter.api.BeforeEach
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase
import org.springframework.boot.test.context.SpringBootT... | 3 | Kotlin | 0 | 0 | 21e46a66a6fa45602ae99854e026af5385b2eeca | 1,922 | hmpps-accredited-programmes-api | MIT License |
app/src/main/java/com/mehmedmert/gameofthroneshouses/data/model/NetworkResult.kt | mmert1988 | 504,935,746 | false | {"Kotlin": 30660} | package com.mehmedmert.gameofthroneshouses.data.model
sealed class NetworkResult<out T> {
data class Success<T>(val data: T) : NetworkResult<T>()
data class Error<T>(val message: String, val error: Throwable? = null) : NetworkResult<T>()
}
| 0 | Kotlin | 0 | 0 | 15d4c28401ef85a7b0f06ee3117e1dea745da5fc | 249 | game-of-thrones-houses | Apache License 2.0 |
app/src/main/java/de/comobi/MainActivity.kt | Sheroziy-CODE | 428,068,297 | false | {"Kotlin": 44271} | package de.comobi
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import com.google.firebase.FirebaseApp
import de.comobi.ui.theme.DefaultTheme
import android.preference.PreferenceManager
import android.content.SharedPreferences
import androidx.compose.u... | 0 | Kotlin | 0 | 0 | 9e90e55078208c1e5250af27fe5b3d9f6eb85ac4 | 771 | comobi | Open Market License |
webui/src/main/kotlin/com/simiacryptus/skyenet/servlet/SessionSettingsServlet.kt | SimiaCryptus | 619,329,127 | false | {"Kotlin": 170461, "JavaScript": 17844, "CSS": 11163, "Java": 5935, "Scala": 5261, "HTML": 2533} | package com.simiacryptus.skyenet.servlet
import com.simiacryptus.skyenet.ApplicationBase
import com.simiacryptus.skyenet.ApplicationBase.Companion.getCookie
import com.simiacryptus.skyenet.config.ApplicationServices
import com.simiacryptus.skyenet.config.AuthenticationManager
import com.simiacryptus.util.JsonUtil
impo... | 1 | Kotlin | 0 | 1 | 0558081bc584b387b6f95b0fc51d29549559b937 | 2,805 | SkyeNet | Apache License 2.0 |
paysafe-core/src/main/java/com/paysafe/android/core/util/ApiKeyUtils.kt | paysafegroup | 768,755,663 | false | {"Kotlin": 918773, "Shell": 912} | /*
* Copyright (c) 2024 Paysafe Group
*/
package com.paysafe.android.core.util
private const val API_KEY_CONTENT_SIZE = 2
private const val API_KEY_CONTENT_DELIMITER = ':'
fun isApiKeyEmpty(apiKey: String): Boolean = apiKey.isBlank()
fun isApiKeyInvalid(apiKey: String): Boolean = getApiKeyContentList(apiKey) == n... | 0 | Kotlin | 0 | 0 | ca9404fc3944705ec7fa629efb3ebeb69c3d83c1 | 1,025 | paysafe_sdk_android_payments_api | MIT License |
multipicker/src/main/java/com/edwardstock/multipicker/data/MediaFile.kt | edwardstock | 152,248,388 | false | null | package com.edwardstock.multipicker.data
import android.net.Uri
import android.os.Build
import android.os.Parcelable
import androidx.annotation.RequiresApi
import com.edwardstock.multipicker.internal.PickerUtils
import kotlinx.parcelize.Parcelize
import java.io.File
import java.nio.file.FileSystems
import java.nio.fil... | 0 | Kotlin | 0 | 0 | b8ada7f5cef5c3d5e5d7416b807171a453b662a4 | 2,120 | android-multipicker | MIT License |
app/src/main/java/com/muzo/sitesupervisor/core/data/remote/repository/fireBaseData/FireBaseRepositoryImpl.kt | erkocali1 | 714,963,330 | false | {"Kotlin": 357069} | package com.muzo.sitesupervisor.core.data.remote.repository.fireBaseData
import android.net.Uri
import com.google.android.gms.maps.model.LatLng
import com.muzo.sitesupervisor.core.data.model.DataModel
import com.muzo.sitesupervisor.core.data.model.TaskModel
import com.muzo.sitesupervisor.core.data.model.UserConstructi... | 0 | Kotlin | 0 | 0 | 05d00698a815e44aa31e1acaaebadcacce2a78cc | 7,006 | SiteSupervisor | MIT License |
onboarding-android/app/src/main/java/run/jkdev/dec4iot/jetpack/gsonmodels/CellGeoloc.kt | dec112 | 660,288,430 | false | {"Kotlin": 103576, "C++": 38826, "JavaScript": 20214, "C": 19418, "Java": 1287} | package run.jkdev.dec4iot.jetpack.gsonmodels
import com.google.gson.annotations.SerializedName
data class CellGeolocPayload(
val carrier: String,
@SerializedName("considerIp")
val shouldConsiderIpAddress: Boolean,
@SerializedName("homeMobileCountryCode")
val simMobileCountryCode: Number,
@Seri... | 0 | Kotlin | 0 | 0 | 17d53e056b60f907235c1213b046026640220486 | 1,155 | sensors_iot | MIT License |
sdk/src/commonMain/kotlin/gitfox/model/interactor/TodoInteractor.kt | dector | 341,706,824 | false | null | package gitfox.model.interactor
import gitfox.entity.*
import gitfox.entity.app.target.*
import gitfox.model.data.server.GitlabApi
import gitfox.model.data.state.ServerChanges
import kotlinx.coroutines.flow.Flow
/**
* @author Eugene Shapovalov (CraggyHaggy). Date: 20.09.17
*/
class TodoInteractor internal construct... | 0 | Kotlin | 0 | 1 | 7258eb2bc4ca9fcd1ebf3029217d80d6fd2de4b9 | 3,090 | gitfox-mirror | Apache License 2.0 |
src/main/kotlin/no/nav/helse/spout/App.kt | navikt | 617,935,079 | false | {"Kotlin": 19006, "HTML": 18696, "CSS": 4499, "JavaScript": 459, "Dockerfile": 108} | package no.nav.helse.spout
import com.auth0.jwk.JwkProviderBuilder
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.auth.jwt.*
import io.ktor.server.cio.*
import io.ktor.server.engine.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import java.net.URL
internal ... | 0 | Kotlin | 0 | 0 | a2342009c52337df8bb0568528cc44f656becbf0 | 1,908 | helse-spout | MIT License |
spannablehelper/src/main/java/com/dc/spannablehelper/TextClickMovementMethod.kt | CuiZhaoHui | 234,050,037 | false | null | package com.dc.spannablehelper
import android.annotation.SuppressLint
import android.text.Selection
import android.text.Spannable
import android.text.style.ClickableSpan
import android.view.MotionEvent
import android.view.View
import android.view.ViewConfiguration
import android.view.ViewParent
import android.widget.T... | 0 | Kotlin | 1 | 13 | 53ac7f3ee995aca39921866d98df14106d28d4e3 | 2,857 | SpannableHelper | Apache License 2.0 |
src/main/kotlin/unibz/cs/semint/kprime/domain/db/schemalgo/powerSet.kt | kprime-dev | 722,929,885 | false | {"Kotlin": 383495, "XSLT": 1078, "HTML": 372, "Makefile": 218} | package unibz.cs.semint.kprime.domain.db.schemalgo
fun <T> powerSet(originalSet: Set<T>): Set<Set<T>> {
val sets = HashSet<Set<T>>()
if (originalSet.isEmpty()) {
sets.add(HashSet<T>())
return sets
}
val list = ArrayList<T>(originalSet)
val head = list.get(0)
val rest = HashSet<... | 0 | Kotlin | 0 | 0 | 34ceb56e3da8b2e64329c7655d50f40400487f25 | 542 | kprime-arm | MIT License |
console-client/src/test/kotlin/cz/vutbr/fit/knot/enticing/index/client/utils.kt | d-kozak | 180,137,313 | false | {"Kotlin": 1104829, "TypeScript": 477922, "Python": 23617, "Shell": 19609, "HTML": 8510, "ANTLR": 2005, "CSS": 1432} | package cz.vutbr.fit.knot.enticing.index.client
fun String.asArgs() = this.split("""\s+""".toRegex()).toTypedArray() | 0 | Kotlin | 0 | 0 | 1ea9f874c6d2e4ea158e20bbf672fc45bcb4a561 | 117 | enticing | MIT License |
src/main/kotlin/net/kaupenjoe/tutorialmod/item/custom/ModArmorItem.kt | PixelSam123 | 474,980,263 | false | {"Kotlin": 60835, "Java": 476} | package net.kaupenjoe.tutorialmod.item.custom
import net.kaupenjoe.tutorialmod.item.ModArmorMaterials
import net.minecraft.entity.Entity
import net.minecraft.entity.EquipmentSlot
import net.minecraft.entity.effect.StatusEffectInstance
import net.minecraft.entity.effect.StatusEffects
import net.minecraft.entity.player.... | 0 | Kotlin | 0 | 0 | fcbb2a8a0dea559a8b0653d43463cbb0454a068d | 3,041 | Kaupenlin-1.18.2 | MIT License |
frontend/modules/buildscript/entry-point/src/main/kotlin/io/github/andrewk2112/kjsbox/frontend/buildscript/entrypoint/SelfWrittenEntryPointGenerationTask.kt | andrew-k-21-12 | 497,585,003 | false | {"Kotlin": 483806, "JavaScript": 16893, "HTML": 770} | package io.github.andrewk2112.kjsbox.frontend.buildscript.entrypoint
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Input
import org.intellij.lang.annotations.Language
/**
* Generates and writes an entry point source file
* which uses a fully customizable bootstrap function to set up everything... | 14 | Kotlin | 0 | 3 | 53ea29e327b572599aa68944ae59dd47dbec3c17 | 966 | kjs-box | MIT License |
lib/kore/src/main/kotlin/dev/buijs/klutter/kore/tasks/codegen/GenerateProtoSchemasTask.kt | buijs-dev | 436,644,099 | false | {"Kotlin": 415674, "Groovy": 202700, "Shell": 4390, "Ruby": 3246} | /* Copyright (c) 2021 - 2024 Buijs Software
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... | 3 | Kotlin | 5 | 220 | 93d360ce7e391c0b60d7a1c63f7ba949df09f44e | 4,640 | klutter | MIT License |
app/src/main/java/com/kopai/shinkansen/view/main/home/MainHomeFragment.kt | kopiai | 805,653,375 | false | {"Kotlin": 198594} | package com.kopai.shinkansen.view.main.home
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
... | 0 | Kotlin | 0 | 0 | 7756ffc4353475562b0a0cebd5f60e552967dcef | 4,014 | kopai-android | MIT License |
src/main/kotlin/org/jetbrains/teamcity/rest/models/Comment.kt | JetBrains | 321,975,548 | false | {"Kotlin": 638039} | /**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package org.jetbrains.teamcity.rest.models
import com.google.gson.annotations.SerializedName
import org.jetbrains.teamcity.rest.base.*
import org.jet... | 0 | Kotlin | 1 | 1 | 0e29bfb12d0d17c481c295d8ec89815a4a9fb0c2 | 843 | teamcity-rest-auto-kotlin-client | Apache License 2.0 |
app/wear/src/main/java/com/victorrubia/tfg/domain/usecase/SaveSignificantMovMeasureUseCase.kt | VictorRubia | 597,809,981 | false | null | package com.victorrubia.tfg.domain.usecase
import com.victorrubia.tfg.data.model.significant_mov_measure.SignificantMovMeasure
import com.victorrubia.tfg.domain.repository.SignificantMovMeasureRepository
/**
* Use case to save a SignificantMov measure
*
* @property significantMovMeasureRespository [SignificantMovM... | 1 | Kotlin | 0 | 0 | 131722463ebeaaf777e476b69f80ab875798138e | 840 | TFM | Creative Commons Zero v1.0 Universal |
src/test/kotlin/dev/shtanko/algorithms/leetcode/FloodFillTest.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2020 Oleksii Shtanko
*
* 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... | 4 | null | 0 | 19 | 776159de0b80f0bdc92a9d057c852b8b80147c11 | 1,840 | kotlab | Apache License 2.0 |
src/maia/ml/learner/standard/hoeffdingtree/node/ParentBranch.kt | waikato-maia | 387,326,961 | false | null | package maia.ml.learner.standard.hoeffdingtree.node
/**
* TODO: What class does.
*
* @author <NAME> (csterlin at waikato dot ac dot nz)
*/
data class ParentBranch(
val parent: SplitNode,
val branch: Int
) {
val child: Node?
get() = parent[branch]
fun setChild(child: Node) {
parent[... | 0 | Kotlin | 0 | 0 | 4b1890f38fc261ea2addf294be68f5fd2839b97c | 344 | maia-standard-learners | Apache License 2.0 |
src/main/kotlin/com/github/rsredsq/ridea/RemoteFileDocumentBeforeSaveVetoer.kt | zhelezkov | 164,738,415 | false | {"Kotlin": 17613, "Shell": 9953, "Java": 12} | package com.github.rsredsq.ridea
import com.github.rsredsq.ridea.utils.REMOTE_SESSION_KEY
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.editor.Document
import com.intellij.openapi.fileEditor.FileDocumentManager
import com.intellij.openapi.fileEditor.FileDocumentSynchronizationV... | 0 | Kotlin | 0 | 0 | c62d96eb6c99fc39722a8de7fa8f968ea9d7f635 | 1,256 | ridea-plugin | MIT License |
app/src/main/java/com/anangkur/footbalku/feature/custom/LeagueSliderFragment.kt | anangkur | 228,181,423 | false | null | package com.anangkur.footbalku.feature.custom
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.anangkur.footbalku.R
import com.anangkur.footbalku.util.setImageUrl
import kotlinx.android.synthetic.main.fra... | 0 | Kotlin | 0 | 1 | 40e60bad7c73849114af407e1cd9c108f849674d | 1,211 | Football-Ku | MIT License |
common/src/commonMain/kotlin/com/noorifytech/multiplatform/repository/QuotationRepository.kt | umairkhancis | 220,927,113 | false | null | package com.noorifytech.multiplatform.repository
import com.noorifytech.multiplatform.domain.Quote
interface QuotationRepository {
val quotesNumber: Int
fun getQuote(quoteId: Int): Quote
} | 0 | Kotlin | 0 | 0 | 42df5fe2f3fae4ce309c37e48baebb02343c6d1d | 198 | kotlin-multiplatform-app | Apache License 2.0 |
android/anc/src/main/java/org/smartregister/fhircore/anc/ui/anccare/shared/AncItemMapper.kt | opensrp | 339,242,809 | false | null | /*
* Copyright 2021 Ona Systems, 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 agr... | 158 | null | 8 | 18 | 9d7044a12ef2726705a3019cb26ab03bc48bc28c | 3,144 | fhircore | Apache License 2.0 |
model-aws/src/main/kotlin/uy/kohesive/iac/model/aws/cloudformation/resources/builders/SSM.kt | kohesive | 81,814,921 | false | null | package uy.kohesive.iac.model.aws.cloudformation.resources.builders
import com.amazonaws.AmazonWebServiceRequest
import com.amazonaws.services.simplesystemsmanagement.model.CreateAssociationRequest
import com.amazonaws.services.simplesystemsmanagement.model.CreateDocumentRequest
import uy.kohesive.iac.model.aws.cloudf... | 0 | Kotlin | 1 | 3 | c52427c99384396ea60f436750932ed12aad4e6d | 1,773 | kohesive-iac | MIT License |
src/main/kotlin/com/cognifide/gradle/aem/api/AemExtension.kt | ergo123 | 137,851,057 | true | {"Kotlin": 236402, "Shell": 5207, "Java": 1813, "Batchfile": 233} | package com.cognifide.gradle.aem.api
import groovy.lang.Closure
import org.gradle.api.Project
import org.gradle.util.ConfigureUtil
/**
* Extension holding collection of AEM configuration properties.
* Provides also nice DSL for configuring OSGi bundles and configuring custom interactive
* build notifications.
*/
... | 0 | Kotlin | 0 | 0 | 0745e781c7a6b7aea6896b0a0618f52a855c68be | 848 | gradle-aem-plugin | Apache License 2.0 |
app/src/main/java/com/animestudios/animeapp/ui/screen/profile/page/source/SourcePage.kt | Sozo-app | 702,850,697 | false | {"Kotlin": 789146} | package com.animestudios.animeapp.ui.screen.profile.page.source
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.animest... | 0 | Kotlin | 5 | 22 | 50c65f924489bb94632b40ab840a15377e846686 | 2,121 | Sozo | MIT License |
app/src/main/java/com/wan/android/ui/girl/GirlActivity.kt | qinghuaAndroid | 252,683,218 | false | null | package com.wan.android.ui.girl
import androidx.recyclerview.widget.StaggeredGridLayoutManager
import com.alibaba.android.arouter.facade.annotation.Route
import com.wan.baselib.mvp.BaseMvpActivity
import com.wan.baselib.widget.LoadMoreView
import com.wan.android.R
import com.wan.android.adapter.GirlAdapter
import com.... | 1 | Kotlin | 2 | 1 | b59c858e33a80196ffaf5d3cafc641bccaf8ee88 | 1,946 | WanAndroid-qh | Apache License 2.0 |
examples/image_classification/android/app/src/main/java/com/google/mediapipe/examples/imageclassification/fragments/ClassificationResultsAdapter.kt | googlesamples | 555,519,447 | false | {"Jupyter Notebook": 940565, "JavaScript": 116392, "Kotlin": 46206, "HTML": 6974, "Python": 1494, "CSS": 1381} | /*
* Copyright 2022 The TensorFlow Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 48 | Jupyter Notebook | 257 | 988 | 0fc6e2b809b13b7cb1de1792288409624f5f6007 | 2,966 | mediapipe | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/VisualShaderNodeGroupBase.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1455718, "C++": 480143, "GDScript": 464697, "C#": 10278, "C": 8523, "Shell": 7976, "Java": 2136, "CMake": 939, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 60 | Kotlin | 28 | 412 | fe7379a450ed32ad069f3b672709a2520b86f092 | 8,615 | godot-kotlin-jvm | MIT License |
milkyway-core/src/main/kotlin/com/milkcocoa/info/milkyway/atproto/method/AtProtocolGet.kt | milkcocoa0902 | 777,786,753 | false | {"Kotlin": 267523} | package com.milkcocoa.info.milkyway.atproto.method
import com.milkcocoa.info.milkyway.atproto.action.Action
import com.milkcocoa.info.milkyway.domain.Domain
import com.milkcocoa.info.milkyway.models.AtProtocolGetRequestModel
import com.milkcocoa.info.milkyway.models.AtProtocolModel
import com.milkcocoa.info.milkyway.m... | 0 | Kotlin | 0 | 0 | b1a215337f7dc18bca8b7bf69a6fc5b16937df9c | 4,561 | Milkyway | MIT License |
app/src/androidTest/java/org/wikipedia/ext/ViewAssertionExt.kt | AlexeyMozgovoy92 | 861,896,798 | false | {"Kotlin": 3399593, "Java": 54651, "Python": 24797, "Jinja": 533, "Shell": 521} | package org.wikipedia.ext
import android.view.View
import androidx.test.espresso.NoMatchingViewException
import androidx.test.espresso.ViewAssertion
inline fun <reified T : View> ViewAssertion.getTypedView(
view: View?,
noViewFoundException: NoMatchingViewException?
): T {
return view as? T ?: throw (noVi... | 0 | Kotlin | 0 | 0 | 7d2b07b7e9550dbb14cf113e0ade86878cf728c2 | 411 | wikipedia | Apache License 2.0 |
src/main/kotlin/Build.kt | rtmigo | 552,581,689 | false | {"Kotlin": 78659, "Python": 973, "Shell": 148} | // DO NOT EDIT. Generated by Gradle task "generateBuildKt"
object Build {
const val version = "0.6.0"
const val date = "2022-10-24"
} | 0 | Kotlin | 0 | 1 | b0a6fced70eb91300a39d451515160343c03f698 | 146 | mavence | ISC License |
app/src/main/java/uk/nhs/nhsx/covid19/android/app/remote/ExposureConfigurationApi.kt | nhsx-mirror | 289,296,773 | true | {"Kotlin": 2761696, "Shell": 1098, "Ruby": 847, "Batchfile": 197} | package uk.nhs.nhsx.covid19.android.app.remote
import retrofit2.http.GET
import uk.nhs.nhsx.covid19.android.app.remote.data.ExposureConfigurationResponse
interface ExposureConfigurationApi {
@GET("distribution/exposure-configuration")
suspend fun getExposureConfiguration(): ExposureConfigurationResponse
}
| 0 | Kotlin | 0 | 0 | 296c9decde1b5ed904b760ff77b05afc51f24281 | 317 | covid-19-app-android-ag-public | MIT License |
app/src/main/java/com/sergiobelda/androidtodometer/domain/usecase/UpdateTaskUseCase.kt | serbelga | 245,540,004 | false | {"Kotlin": 173227} | /*
* Copyright 2021 Sergio Belda Galbis
*
* 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 ag... | 1 | Kotlin | 33 | 310 | 4ce465e3e494821a2c538898fc016e0984ad4b19 | 929 | ToDometer | Apache License 2.0 |
textk/src/main/java/com/mozhimen/composek/textk/TextLayoutResultProxy.kt | mozhimen | 695,569,271 | false | {"Kotlin": 864315, "Java": 1272} | package com.mozhimen.composek.textk
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.layout.LayoutCoordinates
import androidx.compose.ui.text.TextLayoutResult
/**
* @ClassName TextLayoutResultProxy
* @Description TODO
* @Author mozhimen
* @Date 2024/10... | 0 | Kotlin | 0 | 0 | a7c6d1e306638af40f41c2b89958c7335ebe8806 | 5,449 | AComposeKit | Apache License 2.0 |
example/android/app/src/main/java/br/com/zup/beaglehackday/beagle/widgets/ColorSelector.kt | ZupIT | 276,733,925 | false | null | /*
* Copyright (c) 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA.
*
* 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 ... | 1 | Kotlin | 2 | 7 | a5e8501dc61c86e249fc1ffd13bbec3ba32e6529 | 1,915 | beagle-adoption-demo | Apache License 2.0 |
backend/core/src/main/kotlin/at/sensatech/openfastlane/domain/services/StartupConfigurationService.kt | sensatech | 724,093,399 | false | {"Kotlin": 442921, "Dart": 408727, "HTML": 5563, "FreeMarker": 2659, "Dockerfile": 946, "Shell": 554} | package at.sensatech.openfastlane.domain.services
import org.springframework.core.io.Resource
interface StartupConfigurationService {
fun loadStartupConfiguration(campaignsJsonResource: Resource): Boolean
}
| 0 | Kotlin | 1 | 1 | f80421a9db7a2b3b4fee71ebc9724789623d74bd | 213 | openfastlane | Apache License 2.0 |
app/src/main/java/dev/luizleal/markdowneditor/ui/view/MainActivity.kt | luizlealdev | 827,843,447 | false | {"Kotlin": 39007} | package dev.luizleal.markdowneditor.ui.view
import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import dev.luizleal.markdowneditor.MyApplication
import dev.luizleal.markdowneditor.databinding.ActivityMainBinding
import dev.luizleal.markdowneditor.ui.viewmodel.No... | 0 | Kotlin | 0 | 1 | 77aa464a115c03f9c9b786e9bc1be52285d2a090 | 780 | markdown-editor | Apache License 2.0 |
shared/src/commonMain/kotlin/data/post/PostDataSource.kt | ahmedhnewa | 643,011,204 | false | null | package data.post
import data.CrudRepository
interface PostDataSource: CrudRepository<Post, Int> | 0 | Kotlin | 0 | 0 | 08dfbb083ec768f3fa9d971f767e50085ea6c147 | 98 | ComposeMultiplatformMobileFirstTry | Apache License 2.0 |
src/main/kotlin/ast/Type.kt | xiaoxigua-1 | 368,578,818 | false | null | package xiaoLanguage.ast
import xiaoLanguage.tokens.Token
sealed class Type {
abstract val typeString: String
data class TypeExpression(val tokens: List<Token>, override val typeString: String) : Type()
data class IntType(override val typeString: String = "Int") : Type()
data class StrType(override... | 0 | Kotlin | 0 | 9 | a06d8ad21741f8b5464a80972d1a4f15580881a8 | 628 | Xiao-Language | MIT License |
app/src/main/java/com/getcode/view/main/account/AccountDebugOptionsViewModel.kt | code-payments | 723,049,264 | false | {"Kotlin": 1159591, "C": 198685, "C++": 83029, "Java": 51811, "CMake": 2594, "JavaScript": 1912, "Ruby": 1714, "Shell": 1706} | package com.getcode.view.main.account
import com.getcode.model.PrefsBool
import com.getcode.network.repository.PrefRepository
import com.getcode.utils.ErrorUtils
import com.getcode.view.BaseViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import javax.inject.... | 2 | Kotlin | 5 | 9 | 7e0181d44164f62511e9f21ba8160d68037c0749 | 2,231 | code-android-app | MIT License |
app/src/main/java/com/example/catsapi/data/ApiInterface.kt | ZeAndradee | 753,814,233 | false | {"Kotlin": 10654} | package com.example.catsapi.data
import com.example.catsapi.model.CatFacts
import retrofit2.Response
import retrofit2.http.GET
interface ApiInterface {
@GET("/fact")
suspend fun getRandomFact() : Response<CatFacts>
} | 0 | Kotlin | 0 | 0 | e4b9e9ae5e04e08cacafd839710943cdcf74b796 | 226 | CatFacts | MIT License |
app/src/main/java/com/nanoware/pakokkunotification/presentation/viewmodel/MainViewModel.kt | aungpyaekyaw | 563,395,166 | false | null | package com.nanoware.pakokkunotification.presentation.viewmodel
import android.util.Log
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.androi... | 0 | Kotlin | 0 | 0 | 3d4bdb50ad31f83100cbc00a155a44f0b80b4aaa | 3,617 | city-notification-android | Apache License 2.0 |
src/main/kotlin/me/kvdpxne/dtm/listeners/PlayerItemConsumeListener.kt | kvdpxne | 666,098,225 | false | {"Kotlin": 364964} | package me.kvdpxne.dtm.listeners
import me.kvdpxne.dtm.game.GameManager
import me.kvdpxne.dtm.shared.minecraft.bukkit.localUser
import org.bukkit.Material
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bukkit.event.player.PlayerItemConsumeEvent
import org.bukkit.potion.PotionEffect
im... | 0 | Kotlin | 0 | 2 | c73d1498d92b8077a3e833d81ae947ffb2af4b94 | 851 | destroy-the-monument | Apache License 2.0 |
app/src/main/java/com/mumetngoding/dicodingapps/Activity/DetailActivity.kt | MumetNgoding | 227,974,729 | false | null | package com.mumetngoding.dicodingapps.Activity
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.mumetngoding.dicodingapps.Model.MovieModel
import com.mumetngoding.dicodingapps.R
import kotlinx.android.synthetic.main.activity_detail.*
class DetailActivity : AppCompatActivity() {
... | 0 | Kotlin | 0 | 0 | 803adad7dc4ade8dbda3ed77b80cead12247ec38 | 879 | DicodingMovieListApps | Apache License 2.0 |
src/main/java/com/statsig/androidsdk/StatsigOverrides.kt | statsig-io | 357,712,105 | false | null | package com.statsig.androidsdk
import com.google.gson.annotations.SerializedName
data class StatsigOverrides(
@SerializedName("gates")
val gates: MutableMap<String, Boolean>,
@SerializedName("configs")
val configs: MutableMap<String, Map<String, Any>>
)
{} | 1 | Kotlin | 1 | 3 | df0fab388e9b9aea65e3bd86e85106f3f2340cab | 279 | android-sdk | ISC License |
nodecore-cli/src/main/java/nodecore/cli/commands/rpc/WalletCommands.kt | VeriBlock | 179,742,374 | false | null | package nodecore.cli.commands.rpc
import com.google.protobuf.ByteString
import io.grpc.StatusRuntimeException
import nodecore.api.grpc.RpcBackupWalletRequest
import nodecore.api.grpc.RpcDecryptWalletRequest
import nodecore.api.grpc.RpcEncryptWalletRequest
import nodecore.api.grpc.RpcGetWalletTransactionsReply
import n... | 72 | null | 16 | 12 | ef06c51c1410ba59da13403b65e367b21dcfed21 | 12,230 | nodecore | MIT License |
widget/src/main/java/app/allever/android/lib/widget/recycler/binding/BaseBindingViewHolder.kt | xinji6651 | 577,139,816 | true | {"Java Properties": 2, "Gradle": 20, "Shell": 1, "Markdown": 3, "Batchfile": 1, "Text": 1, "Ignore List": 19, "INI": 18, "Proguard": 18, "XML": 128, "Kotlin": 301, "Java": 95, "JSON": 1} | package app.allever.android.lib.widget.recycler.binding
import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
class BaseBindingViewHolder<DB : ViewDataBinding>(val binding: DB) :
RecyclerView.ViewHolder(binding.root) {
}
| 0 | null | 0 | 1 | 0f9b13685b2e7c64e3389fec5799a64f7ca17c98 | 266 | AndroidBaseLibs | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/sagemaker/CfnModelDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.sagemaker
import io.cloudshiftdev.awscdkdsl.CfnTagDsl
imp... | 4 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 15,781 | awscdk-dsl-kotlin | Apache License 2.0 |
unboks/src/main/kotlin/unboks/IrFactory.kt | flababah | 420,456,365 | false | {"Kotlin": 267652, "Java": 2338, "Shell": 156} | package unboks
import unboks.invocation.Invocation
class IrFactory internal constructor(private val block: Block, private val offset: Offset) {
/**
* @see IrCmp1
*/
fun newCmp(cmp: Cmp1, yes: BasicBlock, no: BasicBlock, op: Def): IrCmp1 =
register(IrCmp1(block, cmp, yes, no, op))
fun newCmp(cmp: Cmp2, yes... | 0 | Kotlin | 0 | 1 | 44460c67e8bc806a2c12ea3b96670ad1eb45a569 | 1,355 | unboks | MIT License |
domain/src/main/java/io/genry/template/domain/models/ItemModel.kt | wookoowooko | 762,817,361 | false | {"Kotlin": 36851} | package io.genry.template.domain.models
data class ItemModel(
val id: Long? = null,
val title: String = "",
val description: String = ""
) | 0 | Kotlin | 0 | 0 | f8aeef9fb373ae0e7c43a5554454008cae176838 | 151 | Template_Jetpack_Compose_CleanArchitecture_MultiModule_MVVM_ROOM_CRUD_Destinations_Dagger_Hilt | MIT License |
app/src/main/java/com/example/hobbyfi/viewmodels/chatroom/ChatroomMessageListFragmentViewModel.kt | GGLozanov | 310,078,278 | false | null | package com.example.hobbyfi.viewmodels.chatroom
import android.app.Application
import androidx.databinding.Bindable
import androidx.lifecycle.LiveData
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.viewModelScope
import androidx.paging.ExperimentalPagingApi
import com.example.hobbyfi.BuildConfig
im... | 0 | Kotlin | 3 | 1 | afb30f72a4213c924fdf8e3cb5eefd76d6a0d320 | 10,325 | Hobbyfi | Apache License 2.0 |
app/src/main/java/com/ancientlore/lexio/Runnable1.kt | ancientloregames | 137,992,000 | false | {"Kotlin": 28918} | package com.ancientlore.lexio
interface Runnable1<T> {
fun run(param: T)
} | 0 | Kotlin | 1 | 1 | 6a8cb88dd2bad0858166e6535e045dfa9f75bf65 | 76 | Lexio | Apache License 2.0 |
app/src/main/java/com/kev/tvguide/db/FavoriteMoviesDao.kt | kev87ian | 552,365,004 | false | {"Kotlin": 63787} | package com.kev.tvguide.db
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 com.kev.tvguide.models.MovieDetailsResponse
@Dao
interface FavoriteMoviesDao {
@Insert(onConflict ... | 0 | Kotlin | 0 | 1 | 121d7c2bc8ee3aa5fd2f5f0542853c91c2631cb2 | 599 | TvGuide | MIT License |
src/main/kotlin/me/grison/aoc/y2017/Day11.kt | agrison | 315,292,447 | false | null | package me.grison.aoc.y2017
import me.grison.aoc.*
class Day11 : Day(11, 2017) {
override fun title() = "Hex Ed"
override fun partOne() = solve().first
override fun partTwo() = solve().second
private fun solve(): Pair<Int, Int> {
val dirs = mapOf(
"n" to pd(0.0, -1.0),
... | 0 | Kotlin | 4 | 20 | ea6899817458f7ee76d4ba24d36d33f8b58ce9e8 | 841 | advent-of-code | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/example/androidonkotlin/view/details/WeatherLoaderService.kt | Melsen93 | 383,181,645 | false | null | package com.example.androidonkotlin.view.details
import android.app.IntentService
import android.content.Intent
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.localbroadcastmanager.content.LocalBroadcastManager
import com.example.androidonkotlin.BuildConfig
import com.example.androidonk... | 1 | Kotlin | 0 | 0 | 7508def321bc34b1293cfb1aa723bf11ba50f150 | 4,508 | Android-Kotlin | MIT License |
shared/src/main/java/de/loosetie/k8s/dsl/manifests/FCVolumeSource.kt | loosetie | 283,145,621 | false | {"Kotlin": 12443871} | package de.loosetie.k8s.dsl.manifests
import de.loosetie.k8s.dsl.K8sTopLevel
import de.loosetie.k8s.dsl.K8sDslMarker
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasMetadata
@K8sDslMarker
interface FCVolumeSource_core_v1_k8s1_16: K8sManifest {
/** Filesystem type to mount. Must be a files... | 0 | Kotlin | 0 | 1 | 3dd2d00220dbf71151d56b75b3bd7f26583b1fd3 | 1,406 | k8s-dsl | Apache License 2.0 |
HW4/WalmartStoreApp/app/src/main/java/com/pheakdey/lesson4createlogin/MainActivity.kt | nhatpk | 292,409,495 | false | null | package com.pheakdey.lesson4createlogin
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
import kotlinx.android.synthetic.main.activity_register.*
import... | 0 | Kotlin | 0 | 0 | c26a4a9d46d551b755feed35c0f927f56137e7ee | 3,398 | CS473-Moblie-Device-Programming | MIT License |
app/src/main/java/com/example/absencemanagementapp/activities/home/TeacherActivity.kt | abdellatif-laghjaj | 556,344,078 | false | {"Kotlin": 182266} | package com.example.absencemanagementapp.activities.home
import android.app.AlertDialog
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.r... | 0 | Kotlin | 0 | 6 | d1d2ef75a4ffc116d5da7482c3b3be21a7d5a2a6 | 5,876 | absence-management-app | MIT License |
server/notification/github/src/main/kotlin/projektor/notification/github/comment/GitHubCommentCreator.kt | CodedChai | 329,426,007 | true | {"Kotlin": 699143, "TypeScript": 286831, "Groovy": 218345, "JavaScript": 155322, "Java": 15226, "HTML": 566, "Dockerfile": 175, "Python": 72, "Shell": 35} | package projektor.notification.github.comment
import java.math.BigDecimal
import java.time.format.DateTimeFormatter
object GitHubCommentCreator {
const val headerText = "Projektor reports"
private val dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm a")
fun appendComment(existingComment: St... | 0 | null | 0 | 0 | afdbec0d9c4ea0906369923409ccb4d8121d062c | 2,717 | projektor | MIT License |
app/src/main/java/com/android/datingclone/feature_signin/presentation/SignInViewModel.kt | TeinTraveler | 676,953,926 | false | null | package com.android.datingclone.feature_signin.presentation
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.android.datingclone.core.util.ProgressiveResource
import com.android.datingclone.featu... | 0 | Kotlin | 0 | 0 | d0a8e95150cad18a18e933706e293853d64cd100 | 3,839 | FacebookDatingClone | MIT License |
app19_conversor_de_moedas_usando_api/android/app/src/main/kotlin/com/example/app19_conversor_de_moedas_usando_api/MainActivity.kt | lari987 | 478,737,504 | false | {"C++": 387340, "CMake": 183649, "Dart": 154435, "HTML": 91350, "C": 16882, "Swift": 9292, "Kotlin": 3378, "Objective-C": 874} | package com.example.app19_conversor_de_moedas_usando_api
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | C++ | 0 | 0 | 579ec0a01effeb1d0a71d9d682d8155fc9707f7e | 153 | Flutter | MIT License |
data/src/main/java/data/foundation/utils/RxEventBus.kt | Bhanditz | 168,963,623 | true | {"Kotlin": 127389, "Java": 1243} | package data.foundation.utils
import io.reactivex.Observable
import io.reactivex.subjects.BehaviorSubject
class RxEventBus<T : Any>(maxKeys: Int = 100) {
private val buffer = RxEventBusBuffer<T>(maxKeys)
private val subject = BehaviorSubject.createDefault<RxEventBusMessage<T>>(RxEventBusMessage("", null))
... | 0 | Kotlin | 0 | 0 | 8384126c9251812205ab5264363b495d9efc52e7 | 2,026 | KDirtyAndroid | Apache License 2.0 |
androidApp/src/main/java/com/renting/app/android/app/RootScreen.kt | vitalir2 | 603,790,041 | false | null | package com.renting.app.android.app
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.State
import androidx.compos... | 0 | Kotlin | 0 | 0 | 4233a9b2fdcfee0630e975f8df489254a23b3c77 | 2,186 | renting-mobile | Apache License 2.0 |
showcase/src/jsMain/kotlin/app.softwork.bootstrapcompose.showcase/NavbarView.kt | hfhbd | 372,465,451 | false | null | package app.softwork.bootstrapcompose.showcase
import androidx.compose.runtime.*
import app.softwork.bootstrapcompose.*
import kotlinx.uuid.*
import org.jetbrains.compose.web.attributes.*
import org.jetbrains.compose.web.dom.*
@Composable
fun NavbarView() {
Hr()
navBarExpand(NavbarCollapseBehavior.Always, tr... | 7 | Kotlin | 4 | 27 | 73f12791448b4056f95ee3c80baee08b03a4bc59 | 8,625 | bootstrap-compose | Apache License 2.0 |
app/src/main/java/br/fgr/myjobs/CustomAdapter.kt | felipegr6 | 158,253,203 | false | null | package br.fgr.myjobs
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.RecyclerView.Adapter
import android.view.LayoutInflater
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import android.view.ViewGroup
import android.widget.TextView
class Custom... | 0 | Kotlin | 0 | 0 | 5d315ce4861f3003f5810055527793962c3890fe | 1,943 | MyJobs | Apache License 2.0 |
app/src/main/java/id/alian/reservasikelas/view/callback/Helper.kt | alianhakim9 | 499,686,812 | false | null | package id.alian.reservasikelas.view.callback
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
import android.view.View
import com.google.android.material.snackbar.Snackbar
import id.alian... | 0 | Kotlin | 0 | 1 | 266f2a10504690401add4dc95a37a4ec9f54f96d | 1,576 | Reservasi-Ruangan-Kelas-Android-App | Apache License 2.0 |
common/session/domain/src/commonTest/kotlin/dev/alvr/katana/common/session/domain/usecases/LogOutUseCaseTest.kt | alvr | 446,535,707 | false | {"Kotlin": 465666, "Swift": 594} | package dev.alvr.katana.common.session.domain.usecases
import arrow.core.left
import arrow.core.right
import dev.alvr.katana.common.session.domain.failures.SessionFailure
import dev.alvr.katana.common.session.domain.repositories.SessionRepository
import dev.alvr.katana.core.common.coroutines.KatanaDispatcher
import de... | 4 | Kotlin | 0 | 59 | 842fd4e05c0dd68cd677878a0e542fbedca8ee47 | 1,926 | katana | Apache License 2.0 |
workflow/src/test/kotlin/com/r3/corda/sdk/token/workflow/FlowHelpers.kt | qianyan | 189,926,708 | true | {"Kotlin": 345383} | package com.r3.corda.sdk.token.workflow
import com.r3.corda.sdk.token.contracts.states.EvolvableTokenType
import com.r3.corda.sdk.token.contracts.types.TokenType
import com.r3.corda.sdk.token.contracts.utilities.heldBy
import com.r3.corda.sdk.token.contracts.utilities.issuedBy
import com.r3.corda.sdk.token.contracts.u... | 0 | Kotlin | 0 | 0 | 4a776b817d0f8aab432a94dcae41d25f95d8fb95 | 3,956 | token-sdk | Apache License 2.0 |
bunting4k/src/main/kotlin/dev/forkhandles/bunting/Config.kt | fork-handles | 275,203,729 | false | {"Kotlin": 484488, "Jupyter Notebook": 362707, "Shell": 1702} | package dev.forkhandles.bunting
import java.io.File
import java.util.Properties
interface Config {
operator fun get(key: String): String?
operator fun set(key: String, value: String)
}
class InMemoryConfig : Config {
private val map = mutableMapOf<String, String>()
override fun get(key: String) = map... | 10 | Kotlin | 27 | 221 | b880ec6d694561b6bf432e74396a57398e247baa | 994 | forkhandles | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.