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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kcrud-server/src/main/kotlin/kcrud/server/domain/contact/repository/IContactRepository.kt | perracodex | 682,128,013 | false | {"Kotlin": 476627, "CSS": 4664, "JavaScript": 3652, "HTML": 590} | /*
* Copyright (c) 2024-Present <NAME>. All rights reserved.
* This work is licensed under the terms of the MIT license.
* For a copy, see <https://opensource.org/licenses/MIT>
*/
package kcrud.domain.contact.repository
import kcrud.base.data.pagination.Page
import kcrud.base.data.pagination.Pageable
import kcrud... | 0 | Kotlin | 0 | 1 | 982ebb53ff47c6b46bbcf60fa0a901a02a2a675f | 3,264 | Kcrud | MIT License |
capture/android/PressurePulsationsRecorder/src/main/java/com/avyss/ppr/acquisition/PressureCollectingListener.kt | avyss | 165,913,335 | false | null | package com.avyss.ppr.acquisition
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import com.avyss.ppr.data.NamedExportableData
import com.avyss.ppr.data.NamedExportableValuesLine
import com.avyss.ppr.data.RateAccommodatingSampleCollector
class PressureCo... | 3 | Kotlin | 0 | 0 | d6482b25c272a50ded476422185a0b7158a8224c | 1,722 | car-noise-pulsations | MIT License |
src/main/kotlin/com/terraformation/backend/search/table/NurserySpeciesProjectsTable.kt | terraware | 323,722,525 | false | null | package com.terraformation.backend.search.table
import com.terraformation.backend.auth.currentUser
import com.terraformation.backend.db.default_schema.OrganizationId
import com.terraformation.backend.db.default_schema.tables.references.ORGANIZATIONS
import com.terraformation.backend.db.default_schema.tables.references... | 6 | null | 1 | 9 | b22d00af6b23775bee0852717b95ee743ae77f46 | 1,879 | terraware-server | Apache License 2.0 |
app/src/main/java/io/github/hunachi/appointment/ui/profile/ProfileFragment.kt | Hunachi | 257,057,650 | false | null | package io.github.hunachi.appointment.ui.profile
import androidx.lifecycle.ViewModelProviders
import android.os.Bundle
import android.view.*
import androidx.fragment.app.Fragment
import io.github.hunachi.appointment.MyPreference
import io.github.hunachi.appointment.R
import io.github.hunachi.appointment.data.User
imp... | 0 | Kotlin | 0 | 0 | 070523db7d34ce0065d03096819502c69c948a3b | 1,873 | Appointment | MIT License |
shared/src/commonMain/kotlin/ru/blays/ficbook/reader/shared/data/repo/declaration/ICommentsRepo.kt | B1ays | 710,470,973 | false | {"Kotlin": 1547861} | package ru.blays.ficbook.reader.shared.data.repo.declaration
import ru.blays.ficbook.api.dataModels.ListResult
import ru.blays.ficbook.api.result.ApiResult
import ru.blays.ficbook.reader.shared.data.dto.CommentModelStable
interface ICommentsRepo {
suspend fun getForPart(partID: String, page: Int): ApiResult<ListR... | 0 | Kotlin | 2 | 15 | 929543039e0211289ef9a0ed75592ecb6b7d98f8 | 671 | ficbook-reader | MIT License |
app/src/main/java/com/stefan/universe/ui/main/data/model/User.kt | stefan12an | 783,755,453 | false | {"Kotlin": 73012} | package com.stefan.universe.ui.main.data.model
interface User {
val uid: String
val email: String
val displayName: String
val photoUri: String
val emailVerified: Boolean
}
data class FirebaseUserModel(
override val uid: String = "",
override val email: String = "",
override val display... | 0 | Kotlin | 0 | 0 | 044c20e8e5e942367da933e4dee774a4a416d729 | 435 | universe | Apache License 2.0 |
distributed-systems/consistent-hashing/src/Storage.kt | Lascor22 | 331,294,681 | false | {"Java": 1706475, "HTML": 436528, "CSS": 371563, "C++": 342426, "Jupyter Notebook": 274491, "Kotlin": 248153, "Haskell": 189045, "Shell": 186916, "JavaScript": 159132, "Vue": 45665, "Python": 25957, "PLpgSQL": 23402, "Clojure": 11410, "Batchfile": 9677, "FreeMarker": 7201, "Yacc": 7148, "ANTLR": 6303, "Scala": 3020, "L... | class Storage {
private val arr = ArrayList<Entry>(0)
fun addToStorage(hash: Int, shard: Shard) {
arr.add(Entry(hash, shard))
arr.sortBy { entry -> entry.hash }
}
fun isEmpty(): Boolean {
return arr.isEmpty()
}
fun findAllHashes(shard: Shard): List<Int> {
retur... | 1 | null | 1 | 1 | c41dfeb404ce995abdeb18fc93502027e54239ee | 2,101 | ITMO-university | MIT License |
app/src/main/java/com/holiday/data/local/type_converters/ArrayListConverter.kt | kelvinkioko | 595,959,798 | false | null | package com.holiday.data.local.type_converters
import androidx.room.TypeConverter
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import java.lang.reflect.Type
class ArrayListConverter {
@TypeConverter
fun fromStringArrayList(value: List<String>? = null): String {
value?.let {
... | 0 | Kotlin | 0 | 0 | 183d6e084e1803f8ea818697885fa0c51027aa2d | 710 | Public-Holiday | Apache License 2.0 |
android/src/main/java/com/reactnativepedometer/StepCounterRecord.kt | rlmma | 295,883,375 | false | null | package com.mareksaktor.reactnativestepcounteriosandroid
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import android.util.Log
import android.os.SystemClock
import com.facebook.react.bridge.Arguments
import com.face... | 2 | null | 4 | 5 | 26365482ade68319a1b75be5ffe9c059fd6c2d0a | 2,327 | react-native-pedometer | MIT License |
platform/vcs-impl/src/com/intellij/openapi/diff/impl/combined/search/CombinedEditorSearchSessionListener.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.diff.impl.combined.search
import com.intellij.openapi.editor.Editor
import java.util.*
/**
* A listener for events related to [CombinedEditorSearchSession] (session wi... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 970 | intellij-community | Apache License 2.0 |
feature/main/src/main/java/com/t8rin/imagetoolboxlite/feature/main/presentation/components/PickFontFamilySheet.kt | T8RIN | 767,600,774 | false | null | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (Malik Mukhametzyanov)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* dist... | 5 | null | 90 | 8 | f8fe322c2bde32544e207b49a01cfeac92c187ce | 3,155 | ImageToolboxLite | Apache License 2.0 |
src/main/kotlin/cn/enaium/jimmer/gradle/SettingPlugin.kt | Enaium | 762,181,289 | false | {"Kotlin": 97918} | /*
* Copyright 2024 Enaium
*
* 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... | 0 | Kotlin | 0 | 7 | fcb967934dc9c6d848afc74ab00aab424fbe8466 | 2,256 | jimmer-gradle | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ks/sak/kjerne/behandling/domene/BehandlingRepository.kt | navikt | 533,308,075 | false | null | package no.nav.familie.ks.sak.kjerne.behandling.domene
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import java.math.BigInteger
interface BehandlingRepositor... | 5 | null | 1 | 2 | d7a12df78b63280c202bbe4915ba6bd20efe4285 | 4,960 | familie-ks-sak | MIT License |
src/main/kotlin/com/writerai/plugins/Routing.kt | Vaibhav2002 | 512,184,098 | false | {"Kotlin": 44267} | package com.writerai.plugins
import com.writerai.routes.projectRoutes
import com.writerai.routes.userRoutes
import io.ktor.server.application.*
import io.ktor.server.routing.*
fun Application.configureRouting() {
routing {
route("/api") {
userRoutes()
projectRoutes()
}
... | 0 | Kotlin | 13 | 33 | f77f0747f2846127dc6e413b9f32ccdabce91320 | 324 | WriterAI-Backend | MIT License |
beam-daemon/src/main/kotlin/dev/d1s/beam/daemon/database/SpaceRepository.kt | d1snin | 632,895,652 | false | {"Kotlin": 584093, "Shell": 2444, "JavaScript": 2406} | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 5 | Kotlin | 0 | 5 | 09d83345080089b50a4ef868dd63a17d66430a2b | 3,241 | beam | Apache License 2.0 |
theodolite/src/test/kotlin/theodolite/TestBenchmark.kt | cau-se | 265,538,393 | false | null | package theodolite
import theodolite.benchmark.Benchmark
import theodolite.benchmark.BenchmarkDeployment
import theodolite.util.ConfigurationOverride
import theodolite.util.LoadDimension
import theodolite.util.Resource
class TestBenchmark : Benchmark {
override fun setupInfrastructure() {
}
override fun... | 0 | Java | 7 | 20 | a83a9f8bb1f31e5c5e3e0c9ca1e2a366c01df3e5 | 649 | theodolite | Apache License 2.0 |
core/src/main/kotlin/com/labijie/infra/impl/DebugIdGenerator.kt | hongque-pro | 307,931,824 | false | {"Kotlin": 143121} | package com.labijie.infra.impl
import com.labijie.infra.IIdGenerator
import com.labijie.infra.utils.logger
import java.util.concurrent.atomic.AtomicLong
/**
* Created with IntelliJ IDEA.
* @author <NAME>
* @date 2018-08-12
*/
class DebugIdGenerator : IIdGenerator {
val seed = AtomicLong(System.currentTimeMill... | 0 | Kotlin | 0 | 3 | d486e2d186a1074473e874e3882b478a42239b64 | 644 | infra-commons | Apache License 2.0 |
PhoneApp/Conduit/app/src/main/java/ca/uwaterloo/fydp/conduit/LogDumpActivity.kt | davanB | 137,275,499 | false | {"Java": 416953, "Kotlin": 62980, "Objective-C": 15920, "C++": 10948, "C": 7438, "CMake": 1822, "Shell": 345, "Makefile": 67} | package ca.uwaterloo.fydp.conduit
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
import java.io.BufferedReader
import java.io.IOException
import java.io.InputStreamReader
class LogDumpActivity : AppCompatActivity() {
override fun onCreate(savedInstanceSta... | 1 | null | 1 | 1 | 1c134edb3281418c9fd33cd5bc35111fcbcddc93 | 1,020 | Conduit | Apache License 2.0 |
src/main/kotlin/com/zqlite/android/dclib/sevice/DiyCodeService.kt | ZhangQinglian | 99,917,239 | false | null | /*
* Copyright 2017 zhangqinglian
*
* 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... | 1 | null | 1 | 1 | 3f82c591da930bbe77b1d00eca846315d51584d2 | 7,509 | dclib | Apache License 2.0 |
src/main/kotlin/eZmaxApi/models/EzmaxinvoicingsummaryexternalResponseCompound.kt | eZmaxinc | 271,950,932 | false | {"Kotlin": 6909939} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package eZmaxApi.models
import com.squareup.mo... | 0 | Kotlin | 0 | 0 | 961c97a9f13f3df7986ea7ba55052874183047ab | 1,742 | eZmax-SDK-kotlin | MIT License |
packages/expo-image/android/src/main/java/expo/modules/image/thumbhash/ThumbhashDecoder.kt | betomoedano | 462,599,485 | false | null | package expo.modules.image.thumbhash
import android.graphics.Bitmap
import android.graphics.Color
// ThumbHash Java implementation (converted to kotlin) thanks to @evanw https://github.com/evanw/thumbhash
object ThumbhashDecoder {
/**
* Encodes an RGBA image to a ThumbHash. RGB should not be premultiplied by A.
... | 668 | null | 5226 | 4 | 52d6405570a39a87149648d045d91098374f4423 | 12,916 | expo | MIT License |
common/src/commonMain/kotlin/io/github/irack/stonemanager/interface/ui/style/AdvancedTextShape.kt | IRACK000 | 723,712,145 | false | {"Kotlin": 136170, "Swift": 540} | package io.github.irack.stonemanager.`interface`.ui.style
import androidx.compose.animation.core.*
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material3.LocalTextStyle
import androidx.compose.material3.Text
import androidx.compose.runtime.*
import a... | 0 | Kotlin | 0 | 0 | 8e86910e7f2121b99639ab190be36458f7de8b83 | 11,386 | StoneManager | MIT License |
shared/src/iosMain/kotlin/com/mindinventory/kmm/shared/cache/DatabaseDriverFactory.kt | Mindinventory | 309,282,828 | false | null | package com.mindinventory.kmm.shared.cache
import com.squareup.sqldelight.db.SqlDriver
import com.squareup.sqldelight.drivers.native.NativeSqliteDriver
// here we are providing SqlDriver of iOS - a native implementation
actual class DatabaseDriverFactory {
actual fun createDriver(): SqlDriver {
return Nat... | 0 | Kotlin | 4 | 21 | fd4e175b62404b92f825f9ef2ff07540dcffd58a | 378 | Kotlin-multiplatform-sample | MIT License |
app/src/main/java/io/stanwood/mhwdb/glide/GlideAppFactory.kt | stanwood | 156,602,065 | false | null | package io.stanwood.mhwdb.glide
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
interface GlideAppFactory {
fun get(): GlideRequests
}
class GlideAppFragmentFactory(private val fragment: Fragment) : GlideAppFactory {
override fun get() = GlideApp.with(fragment)
}
class ... | 1 | Kotlin | 1 | 4 | 586d82d6f742a1c90626e98b148318e7c37d6817 | 455 | framework-arch-android | MIT License |
src/main/kotlin/org/vitrivr/cottontail/execution/operators/sources/EntityScanOperator.kt | mittulmandhan | 356,384,694 | true | {"Kotlin": 1692179, "Dockerfile": 478} | package org.vitrivr.cottontail.execution.operators.sources
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import org.vitrivr.cottontail.database.column.ColumnDef
import org.vitrivr.cottontail.database.entity.Entity
import org.vitrivr.cottontail.database.entity.EntityTx
import org.vitrivr.cotto... | 0 | null | 0 | 0 | ac203a7ef25a9e331024878029d8b39ee4edda14 | 1,461 | cottontaildb | MIT License |
src/main/kotlin/fe/kartifice/virtualpack/KArtificeResourcePackContainer1.kt | natanfudge | 217,017,390 | false | null | package fe.kartifice.virtualpack
import net.fabricmc.api.EnvType
import net.fabricmc.api.Environment
import net.minecraft.client.resource.ClientResourcePackProfile
import net.minecraft.resource.ResourcePackProfile
import java.util.function.Supplier
/** A wrapper around [ClientResourcePackProfile] exposing optionality... | 0 | Kotlin | 0 | 0 | 0f9e392bcf2cc0df628cf6d22786759be256284b | 983 | Fabricated-Energistics | MIT License |
app/src/main/java/com/concordium/wallet/ui/passphrase/setup/PassPhraseBaseFragment.kt | Concordium | 358,250,608 | false | null | package com.concordium.wallet.ui.passphrase.setup
import android.content.Context
import androidx.fragment.app.Fragment
import com.concordium.wallet.ui.passphrase.setup.PassPhraseViewModel.Companion.PASS_PHRASE_DATA
abstract class PassPhraseBaseFragment : Fragment() {
protected lateinit var viewModel: PassPhraseVi... | 10 | Kotlin | 3 | 9 | 9d744fa7fd08980a2f0ec24aaaa363e8564b812b | 535 | concordium-reference-wallet-android | Apache License 2.0 |
src/main/kotlin/no/nav/familie/klage/behandling/OpprettRevurderingService.kt | navikt | 524,953,794 | false | null | package no.nav.familie.klage.behandling
import no.nav.familie.klage.behandling.OpprettRevurderingUtil.skalOppretteRevurderingAutomatisk
import no.nav.familie.klage.integrasjoner.FagsystemVedtakService
import no.nav.familie.kontrakter.felles.klage.KanOppretteRevurderingResponse
import org.springframework.stereotype.Ser... | 1 | Kotlin | 0 | 2 | 79b9d38a55dab2679aa2c4b6047be57f16462e1e | 916 | familie-klage | MIT License |
solar/src/main/java/com/chiksmedina/solar/outline/arrowsaction/UndoLeft.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.arrowsaction
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Comp... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 3,841 | SolarIconSetAndroid | MIT License |
components/flow/flow-service/src/main/kotlin/net/corda/flow/pipeline/factory/impl/FlowMessageFactoryImpl.kt | corda | 346,070,752 | false | null | package net.corda.flow.pipeline.factory.impl
import net.corda.data.ExceptionEnvelope
import net.corda.data.flow.output.FlowStates
import net.corda.data.flow.output.FlowStatus
import net.corda.flow.pipeline.factory.FlowMessageFactory
import net.corda.flow.state.FlowCheckpoint
import org.osgi.service.component.annotatio... | 96 | null | 27 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 2,389 | corda-runtime-os | Apache License 2.0 |
app/src/main/java/com/example/root/kotlin_eyepetizer/mvp/presenter/RankPresenter.kt | jiwenjie | 156,038,520 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Kotlin": 123, "XML": 91, "Java": 17} | package com.example.root.kotlin_eyepetizer.mvp.presenter
import com.example.baselibrary.baseutils.ExceptionHandle
import com.example.root.kotlin_eyepetizer.basic.base.BasePresenter
import com.example.root.kotlin_eyepetizer.mvp.contract.RankContract
import com.example.root.kotlin_eyepetizer.mvp.model.RankModel
/**
* ... | 1 | null | 1 | 1 | 104af621e315bc5588f97206ca04438a082875b9 | 1,251 | Kotlin_Eyepetizer | Apache License 2.0 |
runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/util/JMESPath.kt | smithy-lang | 294,823,838 | false | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.smithy.kotlin.runtime.util
import aws.smithy.kotlin.runtime.InternalApi
@InternalApi
public fun Short.toNumber(): Short = this
@InternalApi
public fun Int.toNumber(): Int = this
@Internal... | 36 | null | 26 | 82 | ad18e2fb043f665df9add82083c17877a23f8610 | 1,457 | smithy-kotlin | Apache License 2.0 |
feature/src/main/kotlin/de/scout/fireplace/feature/models/Expose.kt | Scout24 | 96,885,938 | false | null | package de.scout.fireplace.feature.models
import android.support.annotation.Keep
import android.view.View
import java.lang.StringBuilder
@Keep
data class Expose(
val id: String,
val pictures: List<Picture>,
val address: Address,
val isProject: Boolean,
val isPrivate: Boolean,
val listingType: ... | 0 | Kotlin | 0 | 0 | 9c4532cf447d6df5a55c42628ce9dd85e7068e76 | 1,482 | is24-fireplace-android | Apache License 2.0 |
src/main/kotlin/com/github/imeszaros/buxfer/BuxferException.kt | imeszaros | 144,388,890 | false | null | package com.github.imeszaros.buxfer
class BuxferException(message: String, val type: String? = null) : RuntimeException(message) | 0 | Kotlin | 0 | 0 | 7c913d9dd9dc4221b4e48863395fedbb23836020 | 129 | buxfer-api | Apache License 2.0 |
kalexa-model/src/main/kotlin/com/hp/kalexa/model/services/proactiveevents/RelationshipToInvite.kt | HPInc | 164,478,295 | false | null | /*
* Copyright 2018 HP Development Company, L.P.
* SPDX-License-Identifier: MIT
*/
package com.hp.kalexa.model.services.proactiveevents
import com.fasterxml.jackson.annotation.JsonCreator
enum class RelationshipToInvite {
FRIEND, CONTACT;
companion object {
@JsonCreator
fun fromValue(tex... | 0 | Kotlin | 1 | 17 | e6674eeb24c255aef1859a62a65b805effdc9676 | 543 | kalexa-sdk | MIT License |
features/finances/impl/src/main/kotlin/br/com/mob1st/features/finances/impl/ui/category/detail/CategoryDetailConsumables.kt | mob1st | 526,655,668 | false | {"Kotlin": 674473, "Shell": 1558} | package br.com.mob1st.features.finances.impl.ui.category.detail
import androidx.compose.runtime.Immutable
import arrow.optics.optics
import br.com.mob1st.core.design.atoms.properties.texts.LocalizedText
import br.com.mob1st.core.design.organisms.snack.SnackbarState
import br.com.mob1st.core.kotlinx.checks.checkIs
impo... | 11 | Kotlin | 0 | 3 | 6860644926fbc9f8fb686d6b14d9ef0545c139c0 | 5,406 | bet-app-android | Apache License 2.0 |
app/src/main/java/com/google/norinori6791/cycledo/MainActivity.kt | norinori777 | 208,719,519 | false | null | package com.google.norinori6791.cycledo
import android.os.Bundle
import com.google.android.material.snackbar.Snackbar
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.navigateUp
import androidx.navigation.ui.setupActionBarWithNavController
imp... | 6 | Kotlin | 0 | 0 | 64d33c5d84b39b4065b4034e45b33bace2eb3b5a | 2,351 | CycleDo | Apache License 2.0 |
BineClient/App/BineClient/app/src/main/java/com/microsoft/mobile/polymer/mishtu/utils/NotificationActionHandler.kt | microsoft | 563,698,948 | false | {"Kotlin": 1296950, "Java": 406327, "Gherkin": 3712, "Shell": 1179} | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package com.microsoft.mobile.polymer.mishtu.utils
import android.app.Activity
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.os.Handler
import android.os.Looper
import android... | 0 | Kotlin | 3 | 1 | fd6d91ba7e2efa1edd1d2fd43e30ee5b27a5a290 | 3,098 | digital-content-distribution-toolkit-client | MIT License |
app/src/test/java/io/jobtools/android/HangulJosaTest.kt | jobtools | 228,480,468 | false | null | package com.sirjuseyo
import com.sirjuseyo.lib.exceptions.HangulJosaException
import com.sirjuseyo.lib.hangul.concatJosa
import org.junit.Assert.assertEquals
import org.junit.Test
class HangulJosaTest {
@Test(expected = HangulJosaException::class)
fun josaExceptionOnNoHangul() {
"ABC".concatJosa("을")... | 1 | null | 1 | 1 | 9e15b0710f0c2c86ad9fed2d7818065f88770d04 | 2,292 | android | MIT License |
src/main/kotlin/com/p4ddy/paddycrm/plugins/gui/compose/contact/ContactListView.kt | Mueller-Patrick | 441,986,437 | false | {"Kotlin": 136386} | package com.p4ddy.paddycrm.plugins.gui.compose.contact
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.material.Button
import androidx.compose... | 0 | Kotlin | 0 | 1 | 0233f023d9763c293f457a176fe84f87cea16b60 | 1,624 | Paddy-CRM | MIT License |
src/main/kotlin/cn/har01d/notebook/vo/NotebookVo.kt | power721 | 455,496,984 | false | {"Vue": 164653, "Kotlin": 149601, "TypeScript": 45280, "HTML": 39446, "JavaScript": 21584, "CSS": 5882, "Shell": 1465} | package cn.har01d.notebook.vo
import cn.har01d.notebook.core.Access
import cn.har01d.notebook.entity.Notebook
import cn.har01d.notebook.util.IdUtils
import cn.har01d.notebook.util.IdUtils.NOTEBOOK_OFFSET
import java.time.Instant
data class NotebookVo(
val id: String,
val name: String,
val slug... | 0 | Vue | 0 | 0 | e8abef8d38b3a98b7bb47988f5f97038878bfc97 | 865 | notebook | MIT License |
app/src/main/java/com/example/housemaster/SignUpSuccessFragment.kt | PubuduGunasekara | 704,944,238 | false | {"Kotlin": 195506, "Java": 347} | package com.example.housemaster
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.example.housemaster.databinding.FragmentSignupSuccessBinding
import com.google.android... | 0 | Kotlin | 0 | 0 | cefcaca13c038be96f6fad0195c48d8885648936 | 1,357 | HouseMaster | MIT License |
src/main/kotlin/com/dkorobtsov/veriff/website/test/urlcheck/SSLSocketFactoryProvider.kt | dkorobtsov | 202,503,293 | false | {"Kotlin": 53525, "JavaScript": 4750, "Shell": 410} | package com.dkorobtsov.veriff.website.test.urlcheck
import java.security.KeyManagementException
import java.security.cert.CertificateException
import java.security.cert.X509Certificate
import javax.net.ssl.SSLContext
import javax.net.ssl.SSLSocketFactory
import javax.net.ssl.TrustManager
import javax.net.ssl.X509Trust... | 0 | Kotlin | 0 | 1 | f4767ed769e04dfee07c90747a4de9a383e8163f | 1,499 | veriff-website-test | MIT License |
src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/websocket/page/GithubStatusPageBuild.kt | TencentBlueKing | 189,153,491 | false | {"Kotlin": 30176725, "Vue": 6739254, "JavaScript": 1256623, "Go": 616850, "Lua": 567159, "TypeScript": 461781, "SCSS": 365654, "Shell": 157561, "Java": 153049, "CSS": 106299, "HTML": 96201, "Python": 39238, "Less": 24714, "Makefile": 10630, "Smarty": 10297, "Dockerfile": 5097, "Batchfile": 4908, "PowerShell": 1626, "VB... | package com.tencent.devops.process.websocket.page
import com.tencent.devops.common.websocket.pojo.BuildPageInfo
class GithubStatusPageBuild : StatusPageBuild() {
override fun extStatusPage(buildPageInfo: BuildPageInfo): String? {
return "/pipeline/${buildPageInfo.projectId}"
}
}
| 719 | Kotlin | 498 | 2,382 | dd483c38bdbe5c17fa0e5e5bc3390cd1cd40757c | 298 | bk-ci | MIT License |
projects/core/src/main/kotlin/site/siredvin/peripheralworks/computercraft/peripherals/RealityForgerPeripheral.kt | SirEdvin | 489,471,520 | false | null | package site.siredvin.peripheralworks.computercraft.peripherals
import dan200.computercraft.api.lua.IArguments
import dan200.computercraft.api.lua.LuaException
import dan200.computercraft.api.lua.LuaFunction
import dan200.computercraft.api.lua.MethodResult
import net.minecraft.core.BlockPos
import net.minecraft.resour... | 3 | Kotlin | 2 | 6 | 4261ad04499375f16704c8df3f3faeb0e314ac54 | 9,099 | UnlimitedPeripheralWorks | MIT License |
app/src/main/java/com/jarvislin/drugstores/base/App.kt | jarvislin | 238,508,346 | false | null | package com.jarvislin.drugstores.base
import android.annotation.SuppressLint
import android.app.Application
import com.facebook.stetho.Stetho
import com.jarvislin.drugstores.BuildConfig
import com.jarvislin.drugstores.module.*
import com.orhanobut.logger.AndroidLogAdapter
import com.orhanobut.logger.Logger
import com.... | 1 | Kotlin | 10 | 39 | 0f45d84d524fed54af0e3f7efb9925b8773eb004 | 2,284 | drugstores | Apache License 1.1 |
app/src/debug/java/com/burrowsapps/gif/search/DebugApplication.kt | jaredsburrows | 61,517,561 | false | null | package com.burrowsapps.gif.search
import android.os.StrictMode
import timber.log.Timber
import timber.log.Timber.DebugTree
class DebugApplication : MainApplication() {
override fun onCreate() {
super.onCreate()
Timber.plant(DebugTree())
StrictMode.setThreadPolicy(
StrictMode.ThreadPolicy.Builde... | 7 | null | 50 | 406 | b1795fbbc0bc40f3ad06b06504733778b0755731 | 620 | android-gif-search | Apache License 2.0 |
app/src/main/java/sk/devprog/firmy/data/model/company/CompanyDeposit.kt | yuraj11 | 637,130,066 | false | null | package sk.devprog.firmy.data.model.company
import kotlinx.serialization.Contextual
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import sk.devprog.firmy.data.model.TimeRangeData
import java.time.LocalDate
@Serializable
data class CompanyDeposit(
@SerialName("validFrom")
@C... | 0 | Kotlin | 0 | 1 | bd10f991ae17fdc1830b7dd79bdda177ff880527 | 787 | firmy | Apache License 2.0 |
helper/src/main/java/me/hgj/mvvmhelper/widget/state/BaseErrorCallback.kt | hegaojian | 318,128,798 | false | null | package me.hgj.mvvmhelper.widget.state
import com.kingja.loadsir.callback.Callback
import me.hgj.mvvmhelper.R
/**
* 作者 : hegaojian
* 时间 : 2021/6/8
* 描述 :
*/
class BaseErrorCallback : Callback() {
override fun onCreateView(): Int {
return R.layout.layout_error
}
} | 3 | Kotlin | 38 | 256 | 4adb416e908db6342c5f58c24d9dd7c75e69edaa | 287 | MvvmHelper | Apache License 2.0 |
app/src/test/java/io/github/drumber/kitsune/domain/mapper/ImageMapperTest.kt | Drumber | 406,471,554 | false | {"Kotlin": 797542, "Ruby": 2045} | package io.github.drumber.kitsune.domain.mapper
import io.github.drumber.kitsune.domain.model.database.DBDimension
import io.github.drumber.kitsune.domain.model.database.DBDimensions
import io.github.drumber.kitsune.domain.model.database.DBImage
import io.github.drumber.kitsune.domain.model.database.DBImageMeta
import... | 5 | Kotlin | 4 | 61 | 6ab88cfacd8ee4daad23edbe4a134ab1f2b1f62c | 4,071 | Kitsune | Apache License 2.0 |
src/lib/kotlin/slatekit-server/src/main/kotlin/slatekit/server/ktor/KtorResponse.kt | cybernetics | 365,666,746 | true | {"Kotlin": 2327187, "Shell": 14381, "Java": 14284, "Swift": 1555} | /**
* <slate_header>
* url: www.slatekit.com
* git: www.github.com/code-helix/slatekit
* org: www.codehelix.co
* author: <NAME>
* copyright: 2016 CodeHelix Solutions Inc.
* license: refer to website and/or github
* about: A tool-kit, utility library and server-backend
* mantra: Simplicity above all else
* </s... | 0 | null | 0 | 0 | b3770d512a72aa9351d16aba4addab41bd961872 | 3,832 | slatekit | Apache License 2.0 |
compiler/testData/diagnostics/testsWithStdLib/contracts/controlflow/initialization/unknown/unknownInvocations.kt | JetBrains | 3,432,266 | false | null | // FIR_IDENTICAL
// !LANGUAGE: +AllowContractsForCustomFunctions +UseCallsInPlaceEffect
// !OPT_IN: kotlin.contracts.ExperimentalContracts
// !DIAGNOSTICS: -INVISIBLE_REFERENCE -INVISIBLE_MEMBER
import kotlin.contracts.*
fun <T> inPlace(block: () -> T): T {
contract {
callsInPlace(block)
}
return ... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 474 | kotlin | Apache License 2.0 |
DocumentScanner/src/main/java/com/zynksoftware/documentscanner/common/extensions/ViewExtensions.kt | zynkware | 302,617,942 | false | null | /**
Copyright 2020 ZynkSoftware SRL
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, publis... | 6 | null | 49 | 99 | f6e20370deb5ad30aa5742cf8e9f4838926067d3 | 1,318 | Document-Scanning-Android-SDK | The Unlicense |
dist/src/main/kotlin/kr/toxicity/hud/manager/CompatibilityManager.kt | toxicity188 | 766,189,896 | false | {"Kotlin": 93642, "Java": 11489} | package kr.toxicity.hud.manager
import kr.toxicity.hud.api.update.UpdateEvent
import kr.toxicity.hud.compatibility.mmocore.MMOCoreCompatibility
import kr.toxicity.hud.compatibility.mythicmobs.MythicMobsCompatibility
import kr.toxicity.hud.compatibility.worldguard.WorldGuardCompatibility
import kr.toxicity.hud.resource... | 0 | Kotlin | 1 | 1 | e93de74cd747e4e39711a4355c4332cae6f7bc15 | 2,121 | BetterHud | MIT License |
CoronaKorea/app/src/main/java/com/mtjin/coronakorea/data/city/source/local/CityDao.kt | mtjin | 259,939,061 | false | null | package com.mtjin.coronakorea.data.city.source.local
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.mtjin.coronakorea.data.city.Korea
@Dao
interface CityDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insertKorea(ko... | 0 | Kotlin | 0 | 2 | 53797f9b4451b2b66716db86595213b6b11b3bbb | 403 | CoronaKoreaReleaseVersion | MIT License |
src/main/kotlin/no/nav/syfo/aktivitetskravvurdering/kafka/KafkaAktivitetskravVurderingTask.kt | navikt | 189,998,720 | false | {"Kotlin": 553842, "Dockerfile": 226} | package no.nav.syfo.aktivitetskravvurdering.kafka
import no.nav.syfo.application.ApplicationState
import no.nav.syfo.application.database.database
import no.nav.syfo.application.kafka.KafkaEnvironment
import no.nav.syfo.application.kafka.kafkaAivenConsumerConfig
import no.nav.syfo.kafka.launchKafkaTask
import no.nav.s... | 2 | Kotlin | 0 | 0 | cfae083829f37d443d2afc23abd47fa5b0f94c5e | 1,625 | syfooversiktsrv | MIT License |
android/src/main/java/com/stripeterminalreactnative/ReactNativeConstants.kt | stripe | 433,542,525 | false | {"TypeScript": 347217, "Kotlin": 105150, "Swift": 80482, "Java": 25595, "JavaScript": 21806, "Objective-C++": 9457, "Objective-C": 8093, "C++": 6971, "Ruby": 5656, "Shell": 3053, "Starlark": 1962, "Makefile": 1528, "C": 103} | package com.stripeterminalreactnative
enum class ReactNativeConstants(val listenerName: String) {
CHANGE_CONNECTION_STATUS("didChangeConnectionStatus"),
CHANGE_PAYMENT_STATUS("didChangePaymentStatus"),
FETCH_TOKEN_PROVIDER("onFetchTokenProviderListener"),
FINISH_DISCOVERING_READERS("didFinishDiscoverin... | 25 | TypeScript | 38 | 70 | 1836ae2290413378105df64aa5ef64444a77468f | 1,005 | stripe-terminal-react-native | MIT License |
src/app/io/portsIn/TerminalPort.kt | JBJamesBrownJB | 200,662,229 | false | null | package io.portsIn
import application.addToDo
import io.portsOut.EmailAdapter
import io.portsOut.TerminalAdapter
import java.time.Instant
import java.time.ZoneOffset
fun main(args: Array<String>) {
println("Adding todo -> ${args.joinToString(" ")}")
addToDo(args.joinToString(" "),
Instant.now().atZon... | 1 | Kotlin | 0 | 0 | 0bde5dd0b592552de0a872fd2ba3fdb80a587f33 | 390 | remto | MIT License |
modules/onboarding/src/main/kotlin/edu/stanford/spezi/module/onboarding/onboarding/OnboardingUiState.kt | StanfordSpezi | 787,513,636 | false | {"Kotlin": 333238, "Ruby": 1659, "Shell": 212} | package edu.stanford.spezi.module.onboarding.onboarding
/**
* A sealed class representing the actions that can be performed on the onboarding screen.
*/
sealed class Action {
data class UpdateArea(val areas: List<Area>) : Action()
data object ContinueButtonAction : Action()
}
/**
* The UI state for the on... | 20 | Kotlin | 1 | 7 | b77e6eacbcb464bf454f3f566642d4f3c6e0b3d3 | 517 | SpeziKt | MIT License |
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt | maheshwari-e | 347,487,780 | false | null | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 0330c9386a57a419d4f2a87e95758cbd859ffeda | 2,558 | week3-jetpack-compose-challenge-d3 | Apache License 2.0 |
app/src/main/java/com/example/digionebank/Pessoa.kt | dantas-barreto | 344,179,815 | false | null | package com.example.digionebank
abstract class Pessoa (
val nome: String,
val cpf: String
) {} | 0 | Kotlin | 0 | 0 | 007250a688a1765eb25d428d36d30d448d5f04b6 | 103 | Digione-Bank | MIT License |
app/src/main/java/com/zaurh/polskismak/presentation/state/QuoteState.kt | zaurh | 774,811,841 | false | {"Kotlin": 104427} | package com.zaurh.polskismak.presentation.state
import com.zaurh.polskismak.data.remote.dto.Quotes
data class QuoteState(
val result: Quotes? = null,
val error: String = "",
val isLoading: Boolean = false
)
| 0 | Kotlin | 0 | 1 | b16f11ec09e78220342c3c4532efa8e0e62b24f5 | 221 | PolskiSmak | The Unlicense |
kzen-auto-common/src/commonMain/kotlin/tech/kzen/auto/common/objects/document/feature/FeatureDocument.kt | alexoooo | 131,353,826 | false | {"Kotlin": 1948872, "Java": 163744, "CSS": 5632, "JavaScript": 203} | package tech.kzen.auto.common.objects.document.feature
import tech.kzen.auto.common.objects.document.DocumentArchetype
import tech.kzen.lib.common.model.document.DocumentPath
import tech.kzen.lib.common.model.location.ObjectLocation
import tech.kzen.lib.common.model.obj.ObjectName
import tech.kzen.lib.common.model.obj... | 1 | Kotlin | 1 | 1 | ffdd5bb5dcc541b884d887a01d7dbbf1d506b610 | 2,004 | kzen-auto | MIT License |
presentation/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsActions.kt | thomaskioko | 361,393,353 | false | {"Kotlin": 605171, "Swift": 88232} | package com.thomaskioko.tvmaniac.presentation.settings
import com.thomaskioko.tvmaniac.datastore.api.Theme
sealed class SettingsActions
data class ThemeSelected(
val theme: Theme,
) : SettingsActions()
object ChangeThemeClicked : SettingsActions()
object DimissThemeClicked : SettingsActions()
object ShowTraktDia... | 9 | Kotlin | 16 | 135 | c77cb4961234b7ae7ae254becbcca8485062e74a | 481 | tv-maniac | Apache License 2.0 |
app/src/main/java/com/techpaliyal/androidkotlinmvvm/ui/view_model/MultiSelectListingActivityViewModel.kt | yogeshpaliyal | 232,743,178 | false | null | package com.techpaliyal.androidkotlinmvvm.ui.view_model
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.techpaliyal.androidkotlinmvvm.model.MultiSelectModel
/**
* @author <NAME>
* <EMAIL>
* https://techpaliyal.com
* https://yogeshpaliyal.com
* Created Date : 9 January 20... | 11 | Kotlin | 4 | 17 | df69d49d769ccf8e25b54a57f4fe7e3af032cb8f | 1,341 | Android-Universal-Recycler-View-Adapter | MIT License |
telegram-bot/src/commonMain/kotlin/eu/vendeli/tgbot/api/message/ForwardMessage.kt | vendelieu | 496,567,172 | false | null | @file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.message
import eu.vendeli.tgbot.interfaces.Action
import eu.vendeli.tgbot.interfaces.features.OptionsFeature
import eu.vendeli.tgbot.types.Message
import eu.vendeli.tgbot.types.User
import eu.vendeli.tgbot.types.chat.Chat
import eu.vendeli.tgbot.t... | 6 | null | 9 | 165 | c1ddf4a42c577410af31249dc650858320668263 | 2,815 | telegram-bot | Apache License 2.0 |
library/src/main/java/renetik/android/core/lang/CSTitleValue.kt | renetik | 506,035,450 | false | {"Kotlin": 168027} | package renetik.android.core.lang
import renetik.android.core.lang.value.CSValue
data class CSTitleValue(
override val title: String, override val value: Int
) : CSHasTitle, CSValue<Int> | 0 | Kotlin | 1 | 1 | 33e3b0827c4428329a3fca07c7970b38376462b5 | 192 | renetik-android-core | MIT License |
kotlin_arch/src/main/java/com/czq/kotlin_arch/common/util/AssetUtil.kt | manondidi | 154,757,414 | false | null | package com.czq.kotlin_arch.common.util
import android.content.Context
import java.io.BufferedReader
import java.io.IOException
import java.io.InputStream
import java.io.InputStreamReader
class AssetUtil {
companion object {
fun getStringFromFile(context: Context, fileName: String): String? {
va... | 2 | null | 24 | 206 | 70182365c6c1755f6a73b0cdc6403b34bd4841ec | 1,449 | kotlinArch | MIT License |
ktask-server/src/main/kotlin/ktask/server/entity/notification/request/EmailRequest.kt | perracodex | 810,476,641 | false | {"Kotlin": 271635, "JavaScript": 11106, "HTML": 8779, "CSS": 4693, "Dockerfile": 3125} | /*
* Copyright (c) 2024-Present Perracodex. Use of this source code is governed by an MIT license.
*/
package ktask.notification.entity.message.request
import kotlinx.serialization.Serializable
import ktask.base.errors.SystemError
import ktask.base.persistence.serializers.SUUID
import ktask.base.persistence.validat... | 0 | Kotlin | 0 | 1 | d6ca6244e5a979cc2d5302237c3d555b2177aef2 | 2,900 | ktask | MIT License |
app/src/main/java/com/davion/github/paging/UserRepository.kt | dragonddavion | 291,616,804 | false | null | package com.davion.github.paging
import android.util.Log
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import com.davion.github.paging.network.GithubApiService
import com.davion.github.paging.model.Repo
import com.davion.github.paging.model.User
import com.davion.gi... | 0 | Kotlin | 0 | 0 | f7ffe65edbbc7ab76b8995c98ab01c08f93dcb87 | 1,897 | github-paging | Apache License 2.0 |
2023/SNMPTools/Snmp4jUtils_KtJvm/src/test/kotlin/SerializerTest.kt | kyoya-p | 253,926,918 | false | null | import jp.wjg.shokkaa.snmp4jutils.jsonSnmp4j
import jp.wjg.shokkaa.snmp4jutils.yamlSnmp4j
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import org.junit.jupiter.api.Test
import org.snmp4j.smi.*
import java.net.InetAddress
class SerializerTest {
val mibs = listOf(
... | 16 | null | 1 | 2 | 5565de461ab064580f5087d055d72a5aeda9da7b | 2,646 | samples | Apache License 2.0 |
src/client/kotlin/org/teamvoided/grappled/entities/GrapplingHookHeadEntityRenderer.kt | theendercore | 814,108,674 | false | {"Kotlin": 26641, "Java": 544} | package org.teamvoided.grappled.entities
import com.mojang.blaze3d.vertex.VertexConsumer
import net.minecraft.client.MinecraftClient
import net.minecraft.client.network.ClientPlayerEntity
import net.minecraft.client.render.Frustum
import net.minecraft.client.render.OverlayTexture
import net.minecraft.client.render.Ren... | 0 | Kotlin | 0 | 0 | e271f7c991c03411a27b0557d4056b200232112f | 4,886 | Grappled | MIT License |
medalseats-core/adapters/http/common/src/main/kotlin/com/medalseats/adapter/http/common/response/MonetaryAmountResponse.kt | MedalSeats | 783,322,804 | false | {"Kotlin": 61788, "Shell": 303} | package com.medalseats.adapter.http.common.response
import kotlinx.serialization.Serializable
@Serializable
data class MonetaryAmountResponse(
val value: Double,
val currency: String
)
| 3 | Kotlin | 0 | 1 | 259353c1d6f7edf0dd1d34c81d87988aba3a0511 | 195 | medalseats-backend | MIT License |
devp2p-eth/src/integrationTest/kotlin/org/apache/tuweni/devp2p/eth/ConnectToAnotherNodeTest.kt | apache | 178,461,625 | false | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 6 | null | 78 | 171 | 0852e0b01ad126b47edae51b26e808cb73e294b1 | 6,467 | incubator-tuweni | Apache License 2.0 |
app/src/main/java/br/com/movieapp/movie_popular_feature/di/MoviePopularFeatureModule.kt | NicholasOliveira | 772,579,579 | false | {"Kotlin": 116427} | package br.com.movieapp.movie_popular_feature.di
import br.com.movieapp.core.data.remote.MovieService
import br.com.movieapp.movie_popular_feature.data.repository.MoviePopularRepositoryImpl
import br.com.movieapp.movie_popular_feature.data.source.MoviePopularRemoteDataSourceImpl
import br.com.movieapp.movie_popular_fe... | 0 | Kotlin | 0 | 1 | 81dc803726b64d732e4b504315cd27fdc25ccc63 | 1,526 | movie-app | MIT License |
src/main/kotlin/org/kowboy/command/CompositeCommandExecutor.kt | cpmcdaniel | 109,547,667 | false | null | package org.kowboy.command
import org.bukkit.command.Command
import org.bukkit.command.CommandExecutor
import org.bukkit.command.CommandSender
import org.bukkit.command.TabCompleter
import org.kowboy.util.ChatUtils.sendError
import org.kowboy.util.ChatUtils.sendHelp
import org.kowboy.util.TabCompletionUtils.partialMat... | 1 | null | 1 | 4 | 571aab50aa3af9e21f37f4ff2d3340a73241f7d1 | 4,805 | spittoon | Apache License 2.0 |
common/presentation/src/main/java/currencyconverter/common/presentation/ui/custom/FontCache.kt | ShabanKamell | 235,781,240 | false | null | package tracker.common.presentation.custom
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Typeface
import android.util.Log
import androidx.core.content.res.ResourcesCompat
import tracker.common.presentation.R
import java.util.*
object FontCache {
@SuppressLint("Use... | 1 | null | 3 | 9 | 40cd5f4eae27217f7f36ed24f24e9d9bb94b4bfa | 1,074 | CurrencyConverter | Apache License 2.0 |
jetpack-bindings-sample/src/main/kotlin/com/github/vmironov/jetpack/sample/SampleFragment.kt | nsk-mironov | 43,271,057 | false | null | package com.github.vmironov.jetpack.sample
import android.app.Fragment
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.util.TypedValue
import android.view.*
import com.github.vmironov.jetpack.preferences.bindOptionalPreference
import com.github.vmironov.jetpack.resources.bindReso... | 1 | Kotlin | 9 | 187 | cad048de889991ffe90a8f11610823124812beb2 | 3,546 | kotlin-jetpack | Apache License 2.0 |
src/main/java/com/github/udioshi85/tooly/extentions/PackageManager.kt | UdiOshi85 | 184,197,361 | false | null | package com.github.udioshi85.tooly.extentions
import android.content.Context
import android.content.pm.PackageManager
import java.util.concurrent.TimeUnit
fun PackageManager.installTimeInDays(context: Context): Long = TimeUnit.MILLISECONDS.toDays(System.currentTimeMillis() - getPackageInfo(context.packageName, 0).fir... | 1 | Kotlin | 1 | 6 | 23f96994a07f62a97873f25c88ea1555f8e4e0e6 | 335 | Tooly | Apache License 2.0 |
app/src/main/java/com/mystic/koffee/petreport/features/reportsScreen/adapter/ReportsScreenViewHolder.kt | jaumpelicon | 559,013,090 | false | {"Kotlin": 71610} | package com.mystic.koffee.petreport.features.reportsScreen.adapter
import android.content.Context
import android.content.res.ColorStateList
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.mystic.koffee.petreport.R
import com.mystic.koffee.pet... | 0 | Kotlin | 0 | 0 | ee888f2cf57e83c855420458db7081e23e9a6f51 | 1,698 | pet-report | MIT License |
src/main/kotlin/no/nav/syfo/sykmelding/kafka/SykmeldingStatusKafkaProducer.kt | navikt | 464,849,616 | false | {"Kotlin": 301480, "TypeScript": 89496, "CSS": 3260, "HTML": 352, "JavaScript": 347, "Dockerfile": 278} | package no.nav.syfo.sykmelding.kafka
import java.time.OffsetDateTime
import java.time.ZoneOffset
import no.nav.syfo.kafka.aiven.KafkaUtils
import no.nav.syfo.kafka.toProducerConfig
import no.nav.syfo.model.sykmeldingstatus.KafkaMetadataDTO
import no.nav.syfo.model.sykmeldingstatus.SykmeldingStatusKafkaEventDTO
import ... | 2 | Kotlin | 1 | 1 | cd6e423e2e2fded4644a21e50d7a2f7d433b890f | 2,893 | teamsykmelding-mock | MIT License |
kork-plugins/src/test/kotlin/com/netflix/spinnaker/kork/plugins/sdk/httpclient/Ok3ResponseTest.kt | spinnaker | 19,836,152 | false | null | /*
* Copyright 2020 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 16 | null | 174 | 41 | e98e84c7f4162fa9570b4c99a6f8cdd48e115d01 | 2,470 | kork | Apache License 2.0 |
bellatrix.core/src/main/java/solutions/bellatrix/core/plugins/Plugin.kt | AutomateThePlanet | 334,964,015 | false | null | /*
* Copyright 2021 Automate The Planet Ltd.
* Author: Anton Angelov
* 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 applic... | 1 | Kotlin | 1 | 1 | 5da5e705b47e12c66937d130b3031ac8703b8279 | 1,450 | BELLATRIX-Kotlin | Apache License 2.0 |
formula-android/src/main/java/com/instacart/formula/android/internal/FormulaFragmentDelegate.kt | instacart | 171,923,573 | false | {"Kotlin": 565903, "Shell": 1203, "Ruby": 256} | package com.instacart.formula.android.internal
import com.instacart.formula.FormulaAndroid
import com.instacart.formula.FormulaAndroid.fragmentEnvironment
import com.instacart.formula.android.FormulaFragment
import com.instacart.formula.android.ViewFactory
internal object FormulaFragmentDelegate {
fun viewFactory... | 8 | Kotlin | 14 | 151 | 26d544ea41b7a5ab2fa1a3b9ac6b668e69fe4dff | 1,090 | formula | BSD 3-Clause Clear License |
src/main/kotlin/com/idonate/springboot/kotlin/demo/DonationNotFoundException.kt | kellyt1 | 167,108,150 | false | null | package com.idonate.springboot.kotlin.demo
import org.springframework.http.HttpStatus
import org.springframework.web.bind.annotation.ResponseStatus
@ResponseStatus(HttpStatus.NOT_FOUND)
class DonationNotFoundException : RuntimeException() | 0 | Kotlin | 0 | 0 | c66ea419a0cf8141cb9c4d44f4fa610e84ea30f3 | 240 | idonate | Apache License 2.0 |
livedata/src/androidMain/kotlin/com/bselzer/library/kotlin/extension/livedata/immutable/nullsafe/SafeCharLiveData.kt | Woody230 | 388,189,330 | false | null | package com.bselzer.library.kotlin.extension.livedata.immutable.nullsafe
/**
* Null-safe live data for booleans.
* @param defaultValue the initial value to store. It is also the value to set upon resetting the instance.
*/
open class SafeBoolLiveData(defaultValue: Boolean = false) : SafeImmutableLiveData<Boolean>(d... | 1 | Kotlin | 0 | 0 | 707e2e20c0765ab40b5951acedbb28783c4af312 | 332 | KotlinExtensions | Apache License 2.0 |
app/src/main/java/com/persadaditya/app/ui/launch/movie/MovieNavigator.kt | persadaditya | 520,727,128 | false | null | package com.persadaditya.app.ui.launch.movie
import android.app.Activity
import android.content.Context
interface MovieNavigator {
fun activity(): Activity
fun context(): Context
} | 0 | Kotlin | 0 | 0 | 7c808a83b1f39db0bced28f51fb7dd319a453d14 | 193 | movie-omdb-app | Apache License 2.0 |
trixnity-crypto-core/src/jsMain/kotlin/net/folivo/trixnity/crypto/core/hmacSha256.kt | benkuly | 330,904,570 | false | null | package net.folivo.trixnity.crypto.core
import createHmac
import io.ktor.util.*
import js.objects.jso
import js.promise.await
import js.typedarrays.Uint8Array
import js.typedarrays.toUint8Array
import web.crypto.HmacImportParams
import web.crypto.KeyFormat
import web.crypto.KeyUsage
import web.crypto.crypto
import kot... | 0 | null | 3 | 30 | 69cc6ff505b218c1c7d8110fb23e95ca1da4c54b | 1,233 | trixnity | Apache License 2.0 |
app/src/main/java/com/example/deamhome/presentation/main/ScreenType.kt | S-OSTeam | 686,905,420 | false | {"Kotlin": 67631} | package com.example.deamhome.presentation.main
import androidx.annotation.IdRes
import com.example.deamhome.R
sealed class ScreenType(val tag: String, val isChangeBottomTab: Boolean) {
sealed class ChangeScreenType(tag: String) : ScreenType(tag, true) {
data object Home : ChangeScreenType("HOME")
... | 0 | Kotlin | 0 | 0 | 753cf19f1ad7e492876b3ed31c96150bd17050e5 | 1,103 | shop-app | MIT License |
src/main/java/com/vortexa/refinery/dsl/MetadataEntryDefinition.kt | VorTECHsa | 423,415,893 | false | {"Kotlin": 171148} | package com.vortexa.refinery.dsl
import org.apache.poi.ss.usermodel.Cell
/**
* Defines where to look for key value data and how to parse it
*
* @property metadataName name that will be available in metadata
* @property matchingCellKey pattern for matching the key cell
* @property valueLocation where to look for ... | 3 | Kotlin | 5 | 40 | d5a95c52ffff9a1be350ef62de6746c8648e56aa | 558 | refinery | MIT License |
src/commonTest/kotlin/kif/instance/InstanceInvokeTest.kt | atomgomba | 471,788,383 | false | null | package kif.instance
import kif.InvokeTest
import kif.KifApi
import kif.kif
class InstanceInvokeTest : InvokeTest() {
override lateinit var subject: KifApi
override fun initSubject() {
subject = kif.new()
}
}
| 0 | Kotlin | 0 | 7 | c1bc950368036916561e45c546ba2140102ca66d | 232 | kif | Apache License 2.0 |
src/main/kotlin/Model.kt | h0tk3y | 211,847,508 | false | null | import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.PropertyNamingStrategy
import com.fasterxml.jackson.databind.annotation.JsonNaming
import dao.GroupChatId
import dao.MessageId
import dao.PersonalChatId
import dao.UserId
import io.ktor.auth.Principal
import java.util.*
data cla... | 0 | Kotlin | 0 | 1 | e9fdfeffc01e8a0f47f1ea056c91b970c3bfee99 | 1,196 | kotlin-spbsu-2019-project-north | Apache License 2.0 |
src/main/kotlin/it/valeriovaudi/vauthenticator/security/registeredclient/ClientAppRegisteredClientRepository.kt | mrFlick72 | 191,632,792 | false | null | package it.valeriovaudi.vauthenticator.security.registeredclient
import it.valeriovaudi.vauthenticator.oauth2.clientapp.ClientAppId
import it.valeriovaudi.vauthenticator.oauth2.clientapp.ClientApplicationRepository
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.security.oauth2.core.A... | 0 | Kotlin | 1 | 5 | 4b5652abac4d47bb6e3c5256242d5dfa1f27b59c | 3,086 | vauthenticator | Apache License 2.0 |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/TextFontSize.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.TextFontSize: ImageVector
get() {
if (_textFontSize != null... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,390 | compose-fluent-ui | Apache License 2.0 |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/ui/coursework/yourSubmission/YourSubmissionComponent.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2033820, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.ui.coursework.yourSubmission
import com.arkivanov.decompose.ComponentContext
import com.arkivanov.decompose.childContext
import com.denchic45.studiversity.api.course.element.model.AttachmentRequest
import com.denchic45.studiversity.api.course.element.model.CreateFileRequest
import co... | 0 | Kotlin | 0 | 7 | 9d1744ffd9e1652e93af711951e924b739e96dcc | 5,700 | Studiversity | Apache License 2.0 |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/ui/coursework/yourSubmission/YourSubmissionComponent.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2033820, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.ui.coursework.yourSubmission
import com.arkivanov.decompose.ComponentContext
import com.arkivanov.decompose.childContext
import com.denchic45.studiversity.api.course.element.model.AttachmentRequest
import com.denchic45.studiversity.api.course.element.model.CreateFileRequest
import co... | 0 | Kotlin | 0 | 7 | 9d1744ffd9e1652e93af711951e924b739e96dcc | 5,700 | Studiversity | Apache License 2.0 |
src/main/kotlin/org/arend/formatting/ArendCodeStyleImportsPanelWrapper.kt | JetBrains | 96,068,447 | false | null | package org.arend.formatting
import com.intellij.application.options.CodeStyleAbstractPanel
import com.intellij.openapi.application.ApplicationBundle
import com.intellij.openapi.editor.colors.EditorColorsScheme
import com.intellij.openapi.editor.highlighter.EditorHighlighter
import com.intellij.openapi.fileTypes.FileT... | 67 | Kotlin | 13 | 79 | 65a989952c2c9830ade7b0b303b09a827ab7dfff | 4,119 | intellij-arend | Apache License 2.0 |
src/me/anno/gpu/texture/ITexture2D.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.gpu.texture
import me.anno.cache.ICacheData
import me.anno.gpu.DepthMode
import me.anno.gpu.framebuffer.IFramebuffer
import me.anno.gpu.framebuffer.VRAMToRAM
import me.anno.gpu.shader.GPUShader
import me.anno.image.raw.IntImage
import me.anno.io.files.FileReference
interface ITexture2D : ICacheData {
... | 0 | null | 3 | 24 | 013af4d92e0f89a83958008fbe1d1fdd9a10e992 | 2,109 | RemsEngine | Apache License 2.0 |
notebooks/visualization/src/org/jetbrains/plugins/notebooks/editor/NotebookIntervalPointer.kt | a1usha | 400,360,974 | false | null | package org.jetbrains.plugins.notebooks.editor
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.util.Key
/**
* Pointer becomes invalid when code cell is edited
* Invalid pointer returns null
*/
interface NotebookIntervalPointer {
fun get(): NotebookCellLines.Interval?
}
private val key = Ke... | 1 | null | 1 | 1 | 6aed5d103e39abb3f6f8276435c3e6059a4a53be | 907 | intellij-community | Apache License 2.0 |
src/main/kotlin/org/serenityos/jakt/psi/declaration/JaktParameterMixin.kt | mattco98 | 494,614,613 | false | null | package org.serenityos.jakt.psi.declaration
import com.intellij.lang.ASTNode
import com.intellij.psi.stubs.IStubElementType
import org.serenityos.jakt.psi.api.JaktParameter
import org.serenityos.jakt.psi.named.JaktStubbedNamedElement
import org.serenityos.jakt.stubs.JaktParameterStub
import org.serenityos.jakt.type.Ty... | 3 | Kotlin | 3 | 14 | c57f43c1ba5a9aef0def7017a454ac16417b1053 | 631 | jakt-intellij-plugin | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.