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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AndroidApp/app/src/main/java/com/sz/huanxue/androidapp/ui/adapter/MoreDataAdapter.kt | huanxue-du | 262,259,406 | false | {"Java": 479156, "Kotlin": 20462} | package com.sz.huanxue.androidapp.ui.adapter
import android.content.Context
import com.sz.huanxue.androidapp.R
/**
* @author huanxue
* Created by HSAE_DCY on 2021.1.27.
*
*/
class MoreDataAdapter(context: Context, data: List<String>) : MyBaseRlvAdapter<String>(context, data) {
private val mStringData: List... | 1 | null | 1 | 1 | fddd634a76746f21f59216c2e0c4d21a2ec9f4a7 | 652 | personal-space | The Unlicense |
app/src/main/kotlin/template/core/database/dao/TeamDao.kt | spekus | 862,202,989 | false | {"Kotlin": 84881} | package template.core.database.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import kotlinx.coroutines.flow.Flow
import template.core.database.model.TeamEntity
@Dao
interface TeamDao {
@Query(value = "SELECT * FROM team")
suspend f... | 0 | Kotlin | 0 | 0 | d2fd5e83441f54192dc059215486e38372f40506 | 564 | NBA | Apache License 2.0 |
clashJ/src/main/kotlin/io/github/maicolantali/types/internal/configuration/LoggingConfiguration.kt | MaicolAntali | 665,565,216 | false | {"Kotlin": 210620} | package io.github.maicolantali.types.internal.configuration
import ch.qos.logback.classic.Level
import io.github.maicolantali.types.internal.HttpClientLogLevel
/**
* Data class representing the configuration for logging in an application.
*
* @property clientLogLevel The log level for general client-side logging.
... | 0 | Kotlin | 0 | 0 | 8534f7ec03d1be8dc94bc9a23e7d056f6f6c919a | 555 | clashJ | MIT License |
kotlin-utils/src/main/kotlin/no/nav/personoversikt/common/utils/ConditionalUtils.kt | navikt | 505,819,547 | false | {"Kotlin": 176924} | package no.nav.personoversikt.common.utils
object ConditionalUtils {
inline fun <T1 : Any, R : Any> ifNotNull(p1: T1?, block: (T1) -> R?): R? {
return if (p1 != null) {
block(p1)
} else {
null
}
}
inline fun <T1 : Any, T2 : Any, R : Any> ifNotNull(p1: T1?, p... | 5 | Kotlin | 0 | 0 | d6429c0f5c33a1179d6004782cbd37fc3cf8aa83 | 2,110 | modia-common-utils | MIT License |
app/src/main/java/com/example/vinilos_mobile/model/models/CollectorDetail.kt | htenezaca | 549,692,326 | false | {"Kotlin": 106610} | package com.example.vinilos_mobile.model.models
import org.json.JSONObject
data class CollectorDetail(
val collectorId: Int,
val name: String,
val telephone: String,
val email: String,
val comments: Array<Comment>,
val favoritePerformers: Array<Performer>,
val collectorAlbums: Array<Collec... | 14 | Kotlin | 0 | 1 | 221227e5df349a5a01af1000b94743d00a3ec6e4 | 1,971 | vinilos-mobile | MIT License |
instrumentation-tests/src/main/java/com/mapbox/navigation/instrumentation_tests/activity/NavigationViewLifecycleTestActivity.kt | mapbox | 87,455,763 | false | null | package com.mapbox.navigation.instrumentation_tests.activity
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.appcompat.app.AppCompatActivity
import androidx.fragme... | 505 | null | 319 | 621 | ad73c6011348cb9b24b92a369024ca06f48845ab | 4,540 | mapbox-navigation-android | Apache License 2.0 |
amazon-chime-sdk/src/main/java/com/amazonaws/services/chime/sdk/meetings/ingestion/EventReporter.kt | aws | 249,543,698 | false | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.amazonaws.services.chime.sdk.meetings.ingestion
import com.amazonaws.services.chime.sdk.meetings.internal.ingestion.SDKEvent
/**
* [EventReporter] is class that process meeting event that ... | 33 | null | 53 | 99 | eb9110d7d34a1a24d8e8162efa0ae1a094c421fd | 721 | amazon-chime-sdk-android | Apache License 2.0 |
app/src/main/java/com/yeahush/quickquest/ui/trivia/TriviaParamsViewModel.kt | d04nhtu | 285,921,095 | false | null | package com.yeahush.quickquest.ui.trivia
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.yeahush.quickquest.data.local.prefs.AppPreferences
import com.yeahush.quickquest.data.remote.TriviaCategory
impor... | 0 | Kotlin | 0 | 1 | 33317c38d0fcd48ef5c34ecbdcc9ff06f898add9 | 1,732 | quick_quest | MIT License |
app/src/main/java/com/pet/chat/network/data/base/Attachment.kt | ViktorMorgachev | 438,899,533 | false | null | package com.pet.chat.network.data.base
data class Attachment(
val id: Number,
val type: String,
val file_id: Number,
val room_id: Number,
val created_at: String,
)
| 0 | Kotlin | 0 | 0 | 14065fa300ece434f4605b56938e7c80a4dde4f4 | 185 | ChatBest | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnBucketPolicy.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.s3express
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspectable
impo... | 1 | Kotlin | 0 | 4 | eb3eef728b34da593a3e55dc423d4f5fa3668e9c | 9,530 | kotlin-cdk-wrapper | Apache License 2.0 |
src/main/kotlin/com/valaphee/cran/impl/command/Command.kt | valaphee | 491,581,166 | false | null | /*
* Copyright (c) 2022, Valaphee.
*
* 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 ... | 0 | Kotlin | 0 | 0 | 490a12843e5b15878c234e0c7327c5bca9f4e7a5 | 8,959 | cran-bukkit | Apache License 2.0 |
app/src/main/java/com/example/gekata_mobile/ui/Screens/PointsScreen/PointsSelectionScreen.kt | Onixx-dev | 754,679,819 | false | {"Kotlin": 103826} | package com.example.gekata_mobile.ui.Screens.PointsScreen
import android.util.Log
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation... | 0 | Kotlin | 0 | 0 | 398ab133654b1a71db30afb669251d2eea1cade0 | 7,439 | Gekata_mobile | MIT License |
dispatcher-service/src/main/kotlin/poc/cx/dispatchapp/handler/OrderCreatedHandler.kt | CXwudi | 778,495,256 | false | {"Kotlin": 29125} | package poc.cx.dispatchapp.handler
import mikufan.cx.inlinelogging.KInlineLogging
import org.springframework.kafka.annotation.KafkaHandler
import org.springframework.kafka.annotation.KafkaListener
import org.springframework.kafka.support.KafkaHeaders
import org.springframework.messaging.handler.annotation.Header
impor... | 0 | Kotlin | 0 | 0 | c96e99cb5b1b898f50596e1a11328013680d42bc | 1,229 | udemy-spring-kafka-practice | MIT License |
core/src/main/java/com/loitp/sv/model/ErrorResponse.kt | tplloi | 126,578,283 | false | null | package com.loitp.sv.model
import androidx.annotation.Keep
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
import java.io.Serializable
/**
* Created by Loitp on 04,August,2022
* Galaxy One company,
* Vietnam
* +840766040293
* freuss47@gmail.com
*/
@Keep
data class Err... | 1 | Kotlin | 1 | 9 | 1bf1d6c0099ae80c5f223065a2bf606a7542c2b9 | 493 | base | Apache License 2.0 |
app/src/main/java/com/wavesplatform/wallet/v2/ui/home/quick_action/receive/bank/BankView.kt | inozemtsev-roman | 202,315,169 | true | {"Kotlin": 1334568, "Java": 306539, "HTML": 25816} | /*
* Created by <NAME> on 1/4/2019
* Copyright © 2019 Waves Platform. All rights reserved.
*/
package com.wavesplatform.wallet.v2.ui.home.quick_action.receive.bank
import com.wavesplatform.wallet.v2.ui.base.view.BaseMvpView
interface BankView : BaseMvpView
| 1 | Kotlin | 1 | 2 | 9359a88dfe96f9fbc78360fd22c17fce252a88ae | 263 | PZU-android | MIT License |
app/src/main/java/com/example/androiddevchallenge/ui/detail/Detail.kt | himattm | 342,639,379 | 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 | c00491bbc3b9eee207023827660c7d1c7c36b39f | 7,645 | pawesome | Apache License 2.0 |
sdk/src/main/java/ch/opentransportdata/ojp/data/dto/response/tir/leg/LegStartEndDto.kt | openTdataCH | 783,593,283 | false | {"Kotlin": 261938} | package ch.opentransportdata.ojp.data.dto.response.tir.leg
import android.os.Parcelable
import ch.opentransportdata.ojp.data.dto.response.GeoPositionDto
import ch.opentransportdata.ojp.data.dto.response.NameDto
import com.tickaroo.tikxml.annotation.Element
import com.tickaroo.tikxml.annotation.PropertyElement
import c... | 0 | Kotlin | 0 | 1 | 46a5c8cf2bd2b70329b53a3ac4606b3059d677af | 702 | ojp-android | MIT License |
dialog/src/main/java/com/xgimi/dialog/ext/UtilsExt.kt | LuffyJoker | 289,462,606 | false | {"Java": 618410, "Kotlin": 538989} | package com.xgimi.dialog.ext
import android.content.Context
import android.content.res.Resources
import android.graphics.Point
import android.os.Build
import android.view.View
import android.view.WindowManager
import androidx.appcompat.app.AppCompatActivity
/**
* author : joker.peng
* e-mail : joker.peng@xgim... | 1 | null | 1 | 1 | b6e06b7f4d587ab2439fd01b6238f7d1ef1a994c | 3,495 | CellFileManager | Apache License 2.0 |
ui/title/src/androidMain/kotlin/com/gnoemes/shimori/title/TitleDetailsViewState.kt | gnoemes | 213,210,354 | false | null | package com.gnoemes.shimori.title
import androidx.compose.runtime.Immutable
import com.gnoemes.shimori.data.core.entities.TitleWithTrackEntity
import com.gnoemes.shimori.data.core.entities.characters.Character
@Immutable
internal data class TitleDetailsViewState(
val title: TitleWithTrackEntity? = null,
val c... | 0 | Kotlin | 0 | 17 | 715c35db0ecbc5c8364ff0de7f7d2291e1756fa1 | 357 | Shimori | Apache License 2.0 |
app/src/main/java/net/mieczkowski/yelpbusinessexample/exts/ImageViewExts.kt | jmiecz | 107,902,905 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 6, "Kotlin": 41, "XML": 22} | package net.mieczkowski.yelpbusinessexample.exts
import android.widget.ImageView
import com.bumptech.glide.Glide
import net.mieczkowski.yelpbusinessexample.R
/**
* Created by <NAME> on 9/12/2018.
*/
fun ImageView.loadUrl(url: String?) {
url?.let {
if (it.isNotEmpty())
Glide.with(context)
... | 1 | null | 1 | 1 | 2479a0b469641fd4c8fe530cfa23e077ac0e54be | 513 | YelpBusinessExample | Apache License 2.0 |
compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/style/DrawStyleSpan.android.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 937 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 2,515 | androidx | Apache License 2.0 |
js/js.translator/testData/incremental/invalidation/breakKlibBinaryCompatibilityWithVariance/lib1/l1.1.kt | napperley | 334,496,834 | false | null | interface GenericInterface<out T>
interface TestInterface {
fun <T> test(f: () -> GenericInterface<T>) {}
}
| 1 | null | 1 | 2 | 6ac562a19da0ee49e8b69c46cadf2113b2a57cfe | 113 | kotlin | Apache License 2.0 |
app/src/main/java/com/conch/bluedhook/common/Constant.kt | EricMo | 113,002,614 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "XML": 24, "Markdown": 1, "Proguard": 1, "JSON": 1, "Kotlin": 13, "Java": 1} | package com.conch.bluedhook.common
/**
* Created by Benjamin on 2017/7/3.
*/
object HookConstant {
//the main process
val processName = "com.soft.blued"
// msgFragment
val msgFragment = "$processName.ui.msg.MsgFragment"
//msg adapter
val msgAdapter = "$processName.ui.msg.adapter.MessageChatA... | 1 | Kotlin | 9 | 30 | 4f16dee29c68a0bac6e3ad288561b880d438c7f9 | 2,535 | BluedHook | Apache License 2.0 |
marcel-android-legacy/app/src/main/java/com/tambapps/marcel/android/marshell/ui/editor/EditorFragment.kt | tambapps | 587,877,674 | false | {"Maven POM": 26, "Text": 1, "Ignore List": 11, "Markdown": 87, "Kotlin": 465, "Gradle Kotlin DSL": 5, "INI": 4, "Java Properties": 4, "Shell": 5, "Batchfile": 2, "Proguard": 8, "XML": 83, "Java": 226, "YAML": 1, "JavaScript": 1, "TOML": 1, "Gradle": 5, "JFlex": 1} | package com.tambapps.marcel.android.marshell.ui.editor
import android.content.DialogInterface
import android.content.Intent
import android.os.Bundle
import android.text.Editable
import android.text.Spannable
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGro... | 0 | Java | 0 | 7 | 83bf3562f8bb6b43fe5d6f2e13c9ed5ad3300bce | 10,705 | marcel | Apache License 2.0 |
plugins/grazie/src/main/kotlin/com/intellij/grazie/ide/ui/proofreading/ProofreadConfigurable.kt | code-general | 320,182,339 | true | null | package com.intellij.grazie.ide.ui.proofreading
import com.intellij.grazie.GrazieConfig
import com.intellij.grazie.ide.ui.components.dsl.msg
import com.intellij.openapi.components.service
import com.intellij.openapi.options.ConfigurableBase
class ProofreadConfigurable : ConfigurableBase<ProofreadSettingsPanel, Grazie... | 1 | null | 1 | 1 | b09673ba8b96e0bb272dda9b509ddf27a3c1c5ca | 645 | intellij-community | Apache License 2.0 |
CW/lesson_06/app/src/main/java/com/marbax/roomorm/room/AppDatabase.kt | Marbax | 336,551,271 | false | null | package com.marbax.roomorm.room
import androidx.room.Database
import androidx.room.RoomDatabase
import com.marbax.roomorm.entity.User
@Database(entities = [User::class], version = 1, exportSchema = false)
abstract class AppDatabase : RoomDatabase(){
abstract fun userDao():UserDao
}
| 1 | null | 1 | 1 | 7d44f516c8230483bb0fc195256eab8665afbcae | 289 | Android | MIT License |
kotlin/shrine/app/src/main/java/com/google/codelabs/mdc/kotlin/shrine/application/ShrineApplication.kt | gshockv | 143,315,020 | false | null | package com.google.codelabs.mdc.kotlin.shrine.application
import android.app.Application
import android.content.Context
import android.support.v7.app.AppCompatDelegate
class ShrineApplication : Application() {
companion object {
lateinit var instance: ShrineApplication
private set
}
o... | 0 | null | 1 | 5 | fe9dfc0d576ec68be6ce43520166df46bc1eaa13 | 471 | ShrineApp | Apache License 2.0 |
app/src/main/java/com/foreveross/atwork/modules/chat/component/multipart/item/MultipartMessageDetailGifView.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.foreveross.atwork.modules.chat.component.multipart.item
import android.annotation.SuppressLint
import android.content.Context
import com.foreveross.atwork.infrastructure.newmessage.post.chat.ImageChatMessage
import com.foreveross.atwork.modules.chat.component.multipart.item.content.MultipartMessageDetailGi... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 651 | w6s_lite_android | MIT License |
jvm/jvm-analysis-tests-api/src/com/intellij/codeInspection/tests/MustAlreadyBeRemovedApiInspectionTestBase.kt | hieuprogrammer | 284,920,751 | true | null | package com.intellij.codeInspection.tests
import com.intellij.codeInspection.MustAlreadyBeRemovedApiInspection
import com.intellij.testFramework.builders.JavaModuleFixtureBuilder
import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase
import com.intellij.util.PathUtil
import org.jetbrains.annotations... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 800 | intellij-community | Apache License 2.0 |
lib/test/src/test/kotlin/schema/SampleEventV4711Test.kt | holixon | 354,810,047 | false | null | package io.holixon.avro.lib.test.schema
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
internal class SampleEventV4711Test {
@Test
fun `load from resource`() {
val schemaData = SampleEventV4711.schemaData
assertThat(schemaData.name).isEqualTo("SampleEvent")
asser... | 8 | Kotlin | 1 | 8 | ca8a6e713888f1ea94f254951600dae5a989cc3a | 442 | avro-registry-adapter | Apache License 2.0 |
app/src/main/java/com/pedro/sample/DeviceSaveResponse.kt | jin-vita | 655,484,840 | false | {"Java": 833804, "Kotlin": 414537, "GLSL": 40954} | package com.pedro.sample
import com.google.gson.annotations.SerializedName
data class DeviceSaveResponse(
@SerializedName("code")
val code: Int,
@SerializedName("data")
val `data`: Data,
@SerializedName("header")
val header: Header,
@SerializedName("message")
val message: String
) {
... | 1 | null | 1 | 1 | 0547c2e04c60d29bf203406b289e2e6d1c6858dd | 994 | my-rtsp-server | Apache License 2.0 |
app/src/main/java/com/shivamkumarjha/supaflix/ui/theme/Color.kt | ShivamKumarJha | 353,360,246 | false | null | package com.shivamkumarjha.supaflix.ui.theme
import androidx.compose.ui.graphics.Color
val Teal200 = Color(0xFF03DAC5)
val Green200 = Color(0xffa5d6a7)
val Green500 = Color(0xff4caf50)
val Green700 = Color(0xff388e3c)
val GraySurface = Color(0xFF2A2A2A)
val blue = Color(0xFF5851DB)
val purple = Color(0xFF833AB4)
val ... | 0 | Kotlin | 1 | 9 | f027c8ae631b032b621ef2f33c8370b8919b7043 | 361 | supaflix | MIT License |
data/src/main/java/tin/thurein/data/usecases/GetLocalJobsUseCaseImpl.kt | ThuReinTin | 234,569,820 | false | null | package tin.thurein.data.usecases
import io.reactivex.Flowable
import tin.thurein.domain.models.Job
import tin.thurein.domain.repositories.JobRepository
import tin.thurein.domain.usecases.GetLocalJobsUseCase
import javax.inject.Inject
class GetLocalJobsUseCaseImpl: GetLocalJobsUseCase {
private val jobRepository:... | 1 | null | 1 | 1 | 9fd5671ef2f18846624153c14fef5b053a2cc1e7 | 552 | haulio-test | MIT License |
core/runtime/src/main/kotlin/edu/byu/uapi/server/util/ExtrapolateGenericType.kt | byu-oit | 130,911,554 | false | null | package edu.byu.uapi.server.util
import edu.byu.uapi.server.inputs.create
import edu.byu.uapi.spi.UAPITypeError
import kotlin.reflect.KCallable
import kotlin.reflect.KClass
inline fun <Type: Any, reified Interface: Any> Interface.extrapolateGenericType(genericName: String, thingToOverride: KCallable<*>): KClass<Type>... | 16 | Kotlin | 0 | 0 | 1ca0e357a1b00cf11c1e1c9a1b00af4455d6d30c | 625 | kotlin-uapi | Apache License 2.0 |
Mobile/Android/app/src/main/java/com/razvantmz/onemove/models/RouteDataPost.kt | razvantmzz | 315,075,478 | false | null | package com.razvantmz.onemove.models
import java.time.LocalDate
import java.util.*
class RouteDataPost(
val id: UUID,
val name:String,
val type:Int,
val setter:UUID,
val location:UUID,
val index: Int,
val dateIso:String,
val holdsColor:Int,
val grade: String,
val imageUrl: Stri... | 1 | Kotlin | 1 | 1 | 05bde5b64e54f6091dedcdd2da7093c3bfa4f522 | 358 | gym-app | MIT License |
basick/src/main/java/com/mozhimen/basick/logk/mos/LogKConfig.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.basick.logk.mos
import com.mozhimen.basick.extsk.toJson
import com.mozhimen.basick.logk.commons.IPrinter
import com.mozhimen.basick.logk.helpers.FormatterStackTrace
import com.mozhimen.basick.logk.helpers.FormatterThread
/**
* @ClassName LogKConfig
* @Description TODO
* @Author <NAME> / Mozhim... | 0 | Kotlin | 0 | 1 | 3dd109aff154bff96379cde86e6e4632967cca40 | 1,202 | SwiftMK | Apache License 2.0 |
Provider/src/test/java/com/spotify/confidence/openfeature/ConfidenceValueMappingsTest.kt | spotify | 627,816,445 | false | {"Kotlin": 225909} | package com.spotify.confidence.openfeature
import com.spotify.confidence.ConfidenceValue
import dev.openfeature.sdk.Value
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNull
import org.junit.Test
class ConfidenceValueMappingsTest {
@Test
fun confidenceStringToValueString() {
val c... | 2 | Kotlin | 1 | 8 | 054fb0fd397eed410b0ae30ebb412c7c897df4ac | 3,868 | confidence-sdk-android | Apache License 2.0 |
kex-runner/src/main/kotlin/org/vorpal/research/kex/asm/analysis/symbolic/InstructionSymbolicChecker.kt | vorpal-research | 204,454,367 | false | null | package org.vorpal.research.kex.asm.analysis.symbolic
import kotlinx.collections.immutable.*
import kotlinx.coroutines.*
import org.vorpal.research.kex.ExecutionContext
import org.vorpal.research.kex.config.kexConfig
import org.vorpal.research.kex.ktype.*
import org.vorpal.research.kex.state.term.*
import org.vorpal.r... | 8 | Kotlin | 13 | 14 | 49539e12586ff074a04faf74f582ce446af17a4c | 1,876 | kex | Apache License 2.0 |
app/src/main/java/toy/narza/clonetracker/db/AppDataBase.kt | Yoon-SeungHwan | 493,072,561 | false | {"Kotlin": 15143} | package toy.narza.clonetracker.db
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
@Database(entities = [CloneData::class], version = 1)
abstract class AppDataBase: RoomDatabase() {
abstract fun CloneDao(): CloneDao
companion object {
... | 0 | Kotlin | 0 | 0 | 6b33391c4ef863e34a9c04de5cd467d5ff6fdfda | 736 | clonetracker | MIT License |
compiler/src/main/kotlin/edu/cornell/cs/apl/viaduct/errors/ParsingError.kt | apl-cornell | 169,159,978 | false | null | package edu.cornell.cs.apl.viaduct.errors
import edu.cornell.cs.apl.prettyprinting.Document
import edu.cornell.cs.apl.prettyprinting.div
import edu.cornell.cs.apl.prettyprinting.joined
import edu.cornell.cs.apl.viaduct.syntax.SourceLocation
import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.... | 20 | Kotlin | 4 | 11 | 2352c676305c595d235bc9024770fc622efb8aa2 | 1,422 | viaduct | MIT License |
app/src/main/kotlin/com/boswelja/contactringtonegenerator/ringtonebuilder/Categories.kt | boswelja | 243,659,835 | false | null | package com.boswelja.contactringtonegenerator.ringtonebuilder
import androidx.annotation.StringRes
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Audiotrack
import androidx.compose.material.icons.filled.ContactPage
import androidx.compose.material.icons.filled.TextFields
imp... | 0 | Kotlin | 0 | 1 | f789ad5b9b0e126339d9d9571b7e6727b5144728 | 1,258 | Ringtonator | Apache License 2.0 |
IRMiddleend/src/main/kotlin/com/cubearrow/cubelang/ir/subcompilers/StructManagementCompiler.kt | CubeArrow | 268,447,506 | false | null | package com.cubearrow.cubelang.ir.subcompilers
import com.cubearrow.cubelang.common.Expression
import com.cubearrow.cubelang.common.definitions.Struct
import com.cubearrow.cubelang.common.ir.*
import com.cubearrow.cubelang.ir.IRCompiler
import com.cubearrow.cubelang.ir.IRCompilerContext
import com.cubearrow.cubelang.i... | 1 | Kotlin | 0 | 3 | 90a67b71351a68ccef35435bfbc8052c6799b72a | 2,621 | Cubelang | MIT License |
app/src/main/java/com/apsoft/cleanhomechecklist/datasource/Repository.kt | Seishin | 100,941,612 | false | null | package com.apsoft.cleanhomechecklist.datasource
import android.arch.persistence.room.*
/**
** Created by <NAME> <<EMAIL>>
** on 8/18/17.
**
** APSoft 2017
*/
@Dao
interface Repository<in E> {
@Insert
fun insert(element: E)
@Update
fun update(element: E)
@Delete
fun remove(element: E)... | 0 | Kotlin | 0 | 0 | 0c54d4c3b747ffad979d9751b4939c310ea0f1b8 | 322 | clear-home-checklist-app | Apache License 2.0 |
app/src/main/java/com/lordinatec/sensoreventbus/db/event/EventDbListener.kt | joven-health-mike | 865,076,012 | false | {"Kotlin": 20426} | package com.lordinatec.sensoreventbus.db.event
import com.lordinatec.sensoreventbus.analytics.event.AnalyticsEvent
class EventDbListener(private val db: EventDatabase) {
fun onEvent(event: AnalyticsEvent) {
db.insert(event)
}
} | 0 | Kotlin | 0 | 0 | 7e5b37721046068be897790921d40fe9b83a8c6e | 245 | SensorEventBus | MIT License |
nlp/front/storage-mongo/target/generated-sources/kapt/compile/fr/vsct/tock/nlp/front/shared/test/EntityTestError_.kt | sycomix | 136,461,807 | true | {"Kotlin": 2056557, "TypeScript": 333554, "HTML": 133330, "CSS": 31450, "JavaScript": 5174, "Shell": 1585} | package fr.vsct.tock.nlp.front.shared.test
import fr.vsct.tock.nlp.front.shared.config.ApplicationDefinition
import fr.vsct.tock.nlp.front.shared.config.ClassifiedEntity_Col
import fr.vsct.tock.nlp.front.shared.config.IntentDefinition
import java.time.Instant
import java.util.Locale
import kotlin.Double
import kotlin.... | 0 | Kotlin | 0 | 0 | 4da4d5c55640b0aede28ec374eca07558fd8b0f4 | 4,396 | tock | Apache License 2.0 |
demo/src/main/java/com/angcyo/behavior/demo/MainActivity.kt | angcyo | 259,872,337 | false | null | package com.angcyo.behavior.demo
import android.os.Bundle
import com.angcyo.activity.BaseAppCompatActivity
import com.angcyo.base.dslFHelper
class MainActivity : BaseAppCompatActivity() {
override fun onCreateAfter(savedInstanceState: Bundle?) {
super.onCreateAfter(savedInstanceState)
dslFHelper ... | 1 | Kotlin | 5 | 23 | 6f06f225e0eae1f42184e4bd5d8428561a17ba67 | 386 | DslBehavior | MIT License |
app/src/main/java/nivaldo/dh/exercise/firebase/auth/model/repository/LoginRepository.kt | nivaldomcj | 335,814,221 | false | null | package nivaldo.dh.exercise.firebase.auth.model.repository
import android.content.Context
import android.content.Context.MODE_PRIVATE
import com.google.firebase.auth.FirebaseAuthException
import com.google.firebase.auth.ktx.auth
import com.google.firebase.ktx.Firebase
import kotlinx.coroutines.tasks.await
import nival... | 0 | Kotlin | 0 | 0 | b1c21af3cdead8a4e2db0276fda9aeccf5783fdc | 2,279 | dh-android-desafio4 | The Unlicense |
fontawesome/src/de/msrd0/fontawesome/icons/FA_CIRCLE_CHEVRON_LEFT.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 1 | Kotlin | 0 | 0 | a49fdedb55f0a931db5121fe187ef199bc72203c | 1,644 | fontawesome-kt | Apache License 2.0 |
src/main/java/com/dongtronic/diabot/data/RuleDTO.kt | alphacentauri82 | 222,849,738 | true | {"Kotlin": 172285} | package com.dongtronic.diabot.data
class RuleDTO(var id: String, var title: String, var text: String, var messageId: String) | 0 | null | 0 | 1 | 0db56a9ed48eb90d73af008adbb95feace7ec062 | 126 | diabot-discord | MIT License |
sample/app/src/androidUnitTest/kotlin/software/amazon/lastmile/kotlin/inject/anvil/sample/AndroidAppComponentTest.kt | amzn | 844,818,788 | false | {"Kotlin": 135742} | package software.amazon.lastmile.kotlin.inject.anvil.sample
import android.app.Application
import assertk.assertThat
import assertk.assertions.isEqualTo
import kotlin.test.Test
class AndroidAppComponentTest {
@Test
fun `the ApplicationIdProvider is provided by the app component`() {
val component = c... | 6 | Kotlin | 1 | 40 | d0919d28f4fdf5a7d1ef96cffdfe2b6be324d1e0 | 760 | kotlin-inject-anvil | Apache License 2.0 |
eth/abi/src/commonMain/kotlin/kosh/eth/abi/eip712/structHash.kt | niallkh | 855,100,709 | false | {"Kotlin": 1849939, "Swift": 768} | package kosh.eth.abi.eip712
import kosh.eth.abi.Value
import kosh.eth.abi.coder.encodeAddress
import kosh.eth.abi.coder.encodeBool
import kosh.eth.abi.coder.encodeFixedBytes
import kosh.eth.abi.coder.encodeInt
import kosh.eth.abi.coder.encodeUInt
import kosh.eth.abi.keccak256
import kotlinx.io.Buffer
import kotlinx.io... | 0 | Kotlin | 0 | 3 | 8c4e7087fd09f5d766b17560528abe055655ae24 | 2,922 | kosh | MIT License |
src/mingwMain/kotlin/Platform.kt | luca992 | 193,977,312 | false | null | import kotlinx.cinterop.*
import platform.windows.addrinfo
import platform.windows.freeaddrinfo
actual fun freeaddrinfo(addr: CPointer<addrinfo>) {
freeaddrinfo(addr)
}
| 0 | Kotlin | 0 | 0 | 18f7f7d9b86100b59197a294594b89f9f567b77c | 177 | Clion-Kotlin-Native-Multiplatform-Import-Bug-Example | Apache License 2.0 |
kotlin/src/main/kotlin/net/timafe/angkor/domain/interfaces/Mappable.kt | tillkuhn | 219,713,329 | false | null | package net.timafe.angkor.domain.interfaces
/**
* Indicates that the implementing class holds coordinates
* and can act as a PoI
*/
interface Mappable {
var coordinates: List<Double> // abstract property
}
| 15 | Kotlin | 3 | 9 | a65a3f3f8a7877dfbc0895f567b7b680f166dc2d | 216 | angkor | Apache License 2.0 |
src/main/kotlin/doublemoon/mahjongcraft/network/CustomPacket.kt | doublemoon1119 | 420,480,909 | false | {"Kotlin": 558749} | package doublemoon.mahjongcraft.network
import io.netty.buffer.Unpooled
import net.minecraft.network.PacketByteBuf
interface CustomPacket {
fun writeByteBuf(byteBuf: PacketByteBuf)
fun createByteBuf(): PacketByteBuf = PacketByteBuf(Unpooled.buffer()).also { writeByteBuf(it) }
} | 1 | Kotlin | 0 | 9 | bedf98c3f840e541f2e372c6bff086d012c92e79 | 290 | MahjongCraft | MIT License |
reduks-core-modules/src/main/kotlin/com/beyondeye/reduks/middlewares/UnwrapActionMiddleware.kt | beyondeye | 59,747,728 | false | {"Kotlin": 505305, "Java": 197882} | package com.beyondeye.reduks.middlewares
import com.beyondeye.reduks.*
import com.beyondeye.reduks.modules.ActionWithContext
/**
* A middleware for unwrapping an action that has some reudks context
*/
class UnwrapActionMiddleware<S> : Middleware<S> {
override fun dispatch(store: Store<S>, nextDispatcher: (An... | 5 | Kotlin | 10 | 111 | e5745262d75235ae40059c1096ed087cb1d9e183 | 497 | Reduks | Apache License 2.0 |
app/app/src/main/java/co/tcc/koga/android/data/network/payload/OpenChatPayload.kt | FelipeKoga | 289,781,345 | false | {"Kotlin": 204658, "TypeScript": 120200, "JavaScript": 67238, "HTML": 59488, "SCSS": 20159} | package co.tcc.koga.android.data.network.payload
import java.io.Serializable
data class OpenChatPayload(
val username: String,
val chatId: String
): Serializable | 0 | Kotlin | 0 | 1 | 0bb0fc56fe86e463d61198ab8b8c7d2405d7d67b | 171 | fleet-management | Apache License 2.0 |
browser-kotlin/src/main/kotlin/web/authentication/PublicKeyCredentialType.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
)
package web.authentication
// language=JavaScript
@JsName("""(/*union*/{publicKey: 'public-key'}/*union*/)""")
external enum class PublicKeyCredentialType {
publicKey,
;
}
| 0 | Kotlin | 5 | 18 | 83aa7866b2353ee7daf1521611bf7f91ea8b0a9b | 281 | types-kotlin | Apache License 2.0 |
moove/application/src/main/kotlin/io/charlescd/moove/application/usergroup/response/SimpleUserGroupResponse.kt | ZupIT | 249,519,503 | false | null | package io.charlescd.moove.application.usergroup.response
import io.charlescd.moove.domain.SimpleUserGroup
data class SimpleUserGroupResponse(
val id: String,
val name: String
) {
companion object {
fun from(userGroup: SimpleUserGroup): SimpleUserGroupResponse {
return SimpleUserGrou... | 93 | null | 76 | 343 | a65319e3712dba1612731b44346100e89cd26a60 | 436 | charlescd | Apache License 2.0 |
app/src/main/java/coolpharaoh/tee/speicher/tea/timer/views/show_tea/countdowntimer/ForegroundTimer.kt | pase13voxi | 189,609,464 | false | null | package coolpharaoh.tee.speicher.tea.timer.views.show_tea.countdowntimer
interface ForegroundTimer {
fun start(timerController: TimerController, millisUntilFinished: Long)
fun cancel()
} | 0 | Kotlin | 0 | 0 | ef4cfd9c13fdf1efa3f10b2f9e8df2f2ba00497e | 197 | TeaMemory | Apache License 2.0 |
src/main/kotlin/com/dotori/v2/global/security/auth/AuthDetailService.kt | Team-Ampersand | 569,110,809 | false | {"Kotlin": 395101, "Shell": 827} | package com.dotori.v2.global.security.auth
import com.dotori.v2.domain.member.domain.repository.MemberRepository
import org.springframework.security.core.userdetails.UserDetails
import org.springframework.security.core.userdetails.UserDetailsService
import org.springframework.stereotype.Service
@Service
class AuthDet... | 0 | Kotlin | 3 | 15 | 1997775ac9191250c522fcd9531d505a5e1f0fa5 | 579 | Dotori-server-V2 | Apache License 2.0 |
app/src/main/java/com/davismiyashiro/expenses/view/opentab/ParticipantRecyclerViewAdapter.kt | DavisJP | 109,140,022 | false | null | /*
* MIT License
*
* Copyright (c) 2019 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 0 | Kotlin | 0 | 0 | e88daf146151fa7ff3d2d4cc0a378af480dc48aa | 5,150 | Expenses | MIT License |
module_home/src/main/java/com/moyoi/module_home/adapter/CustomBannerAdapter.kt | leo0228 | 392,571,636 | false | {"Gradle": 11, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "INI": 1, "Markdown": 1, "Proguard": 8, "XML": 108, "Kotlin": 120, "Java": 8, "HTML": 1} | package com.moyoi.module_home.adapter
import android.view.ViewGroup
import android.widget.ImageView
import androidx.recyclerview.widget.RecyclerView
import com.alibaba.android.arouter.launcher.ARouter
import com.bumptech.glide.Glide
import com.moyoi.library_base.data.ARouterData
import com.moyoi.library_common.constan... | 1 | null | 1 | 1 | 785cd0feaef8cc82b2e2d1eddf08582ecb2acd04 | 1,905 | Kotlin_WanAndroid | Apache License 2.0 |
app/src/main/kotlin/com/mustalk/minisimulator/data/remote/RemoteTeamRepository.kt | mustalk | 829,185,459 | false | {"Kotlin": 191863, "JavaScript": 6806, "Ruby": 4353, "Shell": 656} | package com.mustalk.minisimulator.data.remote
import com.mustalk.minisimulator.data.local.ITeamRepository
import com.mustalk.minisimulator.data.utils.ApiResult
import com.mustalk.minisimulator.data.utils.exceptions.TeamFetchException
import com.mustalk.minisimulator.data.utils.helpers.TeamLogoHelper
import com.mustalk... | 0 | Kotlin | 0 | 1 | a5943be3bdb9b637c846db6ccae994e576673d8f | 1,379 | MiniSoccerSimulator | Apache License 2.0 |
app/src/main/java/com/jorgediazp/kpopcalendar/common/presentation/ui/component/NoResultsView.kt | JorgeDiazP | 707,151,897 | false | {"Kotlin": 144438} | package com.jorgediazp.kpopcalendar.common.presentation.ui
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import andr... | 0 | Kotlin | 0 | 0 | 67808be0904a0bde660f15634e8292887dfcfa41 | 2,192 | KpopCalendar | MIT License |
app/src/main/java/com/ncs/o2/Api/MailApiService.kt | arpitmx | 647,358,015 | false | {"Kotlin": 1700032} | package com.ncs.o2.Api
import com.google.gson.JsonObject
import com.ncs.o2.Domain.Models.Mail
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST
interface MailApiService {
@Headers("Content-Type: application/json")
@POST("/sendmail")
suspend fun ... | 1 | Kotlin | 2 | 2 | 677ab173afc381aa77862fb19061009e697c117c | 383 | Oxygen | Apache License 2.0 |
android/src/main/kotlin/com/ekycsolutions/ekyc_id_flutter/LivenessDetection/LivenessDetectionViewFactory.kt | EKYCSolutions | 507,305,515 | false | {"Dart": 59127, "Swift": 40658, "Kotlin": 33972, "Ruby": 2309, "Objective-C": 732, "Shell": 460} | package com.ekycsolutions.ekyc_id_flutter.LivenessDetection
import com.ekycsolutions.ekyc_id_flutter.DocumentScanner.FlutterDocumentScanner
import android.content.Context
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.Pla... | 0 | Dart | 4 | 18 | 17571db6ccffbed61a1c00e768c19d42c3b74405 | 725 | ekyc-id-flutter | Academic Free License v1.2 |
Kotlin/Factorial.kt | Hacktoberfest-2018 | 151,430,926 | false | null | fun main(args: Array<String>) {
println("Enter the value you want to find factorial of: ")
val factorialOf: String = readLine().orEmpty()
var num = factorialOf.toInt()
var result = 1
while (num > 0) {
result *= num
num--
}
println("The factorial of $factorialOf is: $result... | 21 | Jupyter Notebook | 3019 | 1,464 | 647bad9da901a52d455f05ecc37c6823c22dc77e | 324 | Hello-world | MIT License |
src/hackhub/app/src/main/java/com/univpm/hackhub/viewModel/AuthViewModel.kt | NourCheriff | 792,292,205 | false | {"Kotlin": 258512, "TeX": 48232, "Dart": 45042, "C++": 24274, "CMake": 19478, "Swift": 2209, "HTML": 1849, "C": 1425, "Objective-C": 38} | package com.univpm.hackhub.viewModel
import android.os.Bundle
import androidx.lifecycle.ViewModel
import com.google.firebase.Firebase
import com.google.firebase.auth.FirebaseUser
import com.google.firebase.auth.auth
import com.onesignal.OneSignal
import com.univpm.hackhub.model.User
import com.univpm.hackhub.repositor... | 1 | Kotlin | 0 | 0 | 95337cbef1cbd7a659e49475de3caa28a62bf41d | 3,379 | hackhub | MIT License |
src/main/kotlin/br/com/zup/annotation/UniqueElement.kt | walteralleyz | 357,188,466 | true | {"Gradle Kotlin DSL": 2, "Dockerfile": 1, "INI": 5, "Shell": 1, "YAML": 3, "Text": 2, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 64, "Protocol Buffer": 121, "XML": 20, "Java": 102, "SQL": 4, "Motorola 68K Assembly": 1, "HTML": 17, "CSS": 2, "JavaScript": 1, "Java Properties": 1} | package br.com.zup.annotation
import br.com.zup.exception.internal.AlreadyExistsException
import br.com.zup.utils.valOf
import io.micronaut.core.annotation.AnnotationValue
import io.micronaut.validation.validator.constraints.ConstraintValidator
import io.micronaut.validation.validator.constraints.ConstraintValidatorCo... | 0 | Java | 0 | 0 | 269d18b4e0d14c5950ce7b776661ffb9cb26e308 | 1,639 | orange-talents-02-template-pix-keymanager-grpc | Apache License 2.0 |
src/me/anno/image/svg/SVGStyle.kt | AntonioNoack | 266,471,164 | false | null | package me.anno.image.svg
import me.anno.image.svg.gradient.Gradient1D
import me.anno.io.xml.XMLElement
import me.anno.utils.ColorParsing.parseColor
class SVGStyle(mesh: SVGMesh?, data: XMLElement) {
val stroke = parseColorEx(mesh, data["stroke"] ?: "none")
val isStroke = stroke != null
val fill = parseC... | 0 | Kotlin | 1 | 8 | 421ba71c93c2b660476f96ffb6f4332fa07bd2b3 | 1,306 | RemsStudio | Apache License 2.0 |
enumerated/src/main/kotlin/jp/justincase/jackson/kotlin/enumerated/Enumerated.kt | justincase-jp | 198,945,609 | false | null | package jp.justincase.jackson.kotlin.enumerated
interface Enumerated<V : Any> {
val V.name: String
get() = this::class.simpleName ?: throw IllegalArgumentException(toString())
}
val <V : Any> Enumerated<V>.values: Set<V>
get() = backing.values
operator fun <V : Any> Enumerated<V>.get(name: String): V? =
... | 0 | Kotlin | 0 | 3 | 06942c06aaee36bbc6098794790bb8210347f8a5 | 334 | Jackson-Kotlin-Commons | Apache License 2.0 |
app/src/main/java/com/imdvlpr/chatapp/Shared/firebase/MessagingService.kt | Imdvlpr99 | 600,715,237 | false | {"Kotlin": 80431} | package com.imdvlpr.chatapp.Shared.firebase
import android.util.Log
import androidx.annotation.NonNull
import com.google.firebase.messaging.FirebaseMessagingService
import com.google.firebase.messaging.RemoteMessage
class MessagingService : FirebaseMessagingService() {
override fun onNewToken(@NonNull token: Str... | 0 | Kotlin | 0 | 1 | 1869cb43a12860b2f66cc5f8bb83b28eca383df4 | 576 | Chat-App | MIT License |
app/src/main/java/app/rockstar/feature/genres/list/adapter/GenreViewHolder.kt | UsmonWasTaken | 732,925,673 | false | {"Kotlin": 53881} | /*
* Copyright (c) 2023 The Rockstar authors and contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package app.rockstar.feature.genres.list.adapter
import android.net.Uri
import androidx.recyclerview.widget.RecyclerView
import app.rockstar.andro... | 0 | Kotlin | 0 | 0 | 8ef42719e87a5f2d9fb0f02ece52e7dd48129f96 | 1,035 | Rockstar | Apache License 2.0 |
Android/app/src/main/java/ademar/bitac/ext/Intent.kt | ademar111190 | 111,263,585 | false | null | package ademar.bitac.ext
import ademar.bitac.view.Theme
import android.content.Intent
fun Intent.getTheme() = getSerializableExtra(EXTRA_THEME) as Theme
| 3 | Kotlin | 4 | 8 | 10125a8c708a3840305e5a1491ad6cd88acd68bb | 155 | BitAC | MIT License |
app/src/main/java/com/example/artattoo/ui/AR/ARFragment.kt | TblKBA | 332,597,407 | false | null | package com.example.artattoo.ui.profile
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProviders
import com.example.artattoo.R
import com.example.artattoo.ui.AR.ARViewModel
clas... | 0 | Kotlin | 0 | 0 | 76382f74ceee36c39debaf65316f365e7e8c581a | 742 | AR_Tattoo | MIT License |
common/src/main/java/com/beok/common/di/NetworkModule.kt | BeokBeok | 206,980,782 | true | {"Kotlin": 71871} | package com.beok.common.di
import com.beok.common.BuildConfig
import com.facebook.stetho.okhttp3.StethoInterceptor
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import org.koin.dsl.module
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFacto... | 0 | Kotlin | 0 | 1 | 3d1b4347cc5a626bdd845a6e9dfa486c1d19c52f | 1,434 | GitBeokTree | MIT License |
modules/modules_contact/src/main/java/com/cl/modules_contact/response/TrendPictureData.kt | aaaaaaaazmx | 528,318,389 | false | {"Kotlin": 3795613, "Java": 743721} | package com.cl.modules_contact.response
data class TrendPictureData(
val countId: String,
val current: Int,
val hitCount: Boolean,
val maxLimit: Int,
val optimizeCountSql: Boolean,
val orders: List<Order>,
val pages: Int,
val records: List<Record>,
val searchCount: Boolean,
val ... | 0 | Kotlin | 0 | 0 | 247e94565fc8418fc8c43e543dc52dcd541842b4 | 351 | abby | Apache License 2.0 |
presentation/src/main/java/com/no1/taiwan/stationmusicfm/utils/aac/delegates/MakeLocalMusic.kt | SmashKs | 168,842,876 | false | null | /*
* Copyright (C) 2019 The Smash Ks Open Project
*
* 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, ... | 0 | Kotlin | 1 | 5 | 696fadc54bc30fe72f9115bdec2dacdac8cd4394 | 3,821 | StationMusicFM | MIT License |
composeApp/src/commonMain/kotlin/presentation/NewsItem.kt | devggaurav | 807,938,642 | false | {"Kotlin": 12959, "Swift": 676} | package presentation
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Card
import androidx.compose.material3.CardDefaults
i... | 0 | Kotlin | 0 | 0 | 6efba11995eddb8dc1d718e7610f0882cc1c6a8e | 1,215 | newsApp-compose-multiplatform | Apache License 2.0 |
app/src/main/java/com/example/newbiechen/ireader/widget/page/TxtChapter.kt | EiChinn | 157,148,636 | true | {"Kotlin": 718783, "Java": 2313} | package com.example.newbiechen.ireader.widget.page
/**
* Created by newbiechen on 17-7-1.
*/
class TxtChapter {
//章节所属的小说(网络)
var bookId: String = ""
//章节的链接(网络)
var link: String = ""
//章节名(共用)
var title: String = ""
//章节内容在文章中的起始位置(本地)
var start: Long = 0
//章节内容在文章中的终止位置(本地)
... | 1 | Kotlin | 1 | 1 | ab465c2cfc5af98c8da0927a81e4f6f27930fd32 | 619 | NovelReader | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/calculatereleasedatesapi/validation/AdjustmentValidationService.kt | ministryofjustice | 387,841,000 | false | {"Kotlin": 1613119, "Shell": 7185, "Dockerfile": 1379} | package uk.gov.justice.digital.hmpps.calculatereleasedatesapi.validation
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Service
import org.threeten.extra.LocalDateRange
import uk.gov.justice.digital.hmpps.calculatereleasedatesapi.config.SDS40TrancheConfiguration
import uk.gov.justice.digital.hmpp... | 7 | Kotlin | 0 | 5 | 74c452f2e7ac5c5c2b7cf056e0f0e3001194b38d | 10,738 | calculate-release-dates-api | MIT License |
airin-core/src/jvmMain/kotlin/io/morfly/airin/ComponentsHolder.kt | Morfly | 368,910,388 | false | {"Kotlin": 84697} | package io.morfly.airin
interface ComponentsHolder<P : Module> {
val subcomponents: MutableMap<ComponentId, Component<P>>
}
| 1 | Kotlin | 3 | 31 | 81088b82ecbb646d719ed4ea349cf4a1ca61fe9a | 130 | airin | Apache License 2.0 |
android/src/main/java/si/inova/kotlinova/coroutines/CoroutineViewModel.kt | ksenchy | 248,297,669 | false | {"Gradle": 12, "XML": 18, "Markdown": 2, "Text": 1, "Java Properties": 2, "Shell": 2, "Ignore List": 8, "Batchfile": 1, "JavaScript": 1, "INI": 1, "Kotlin": 235, "Proguard": 5, "Java": 1, "Groovy": 2} | /*
* Copyright 2020 INOVA IT d.o.o.
*
* 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, publish, distrib... | 1 | null | 1 | 1 | d385e2198a647432283265ce25a50b1268b0a19a | 4,126 | kotlinova | MIT License |
src/test/kotlin/io/github/fstaudt/hugo/TestProject.kt | fstaudt | 425,263,215 | false | {"Kotlin": 31556, "HTML": 30} | package io.github.fstaudt.hugo
import io.github.fstaudt.hugo.HugoPluginExtension.Companion.SOURCE_DIRECTORY
import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.GradleRunner
import java.io.File
const val WITH_BUILD_CACHE = "--build-cache"
typealias TestProject = File
val TestProject.buildDi... | 0 | Kotlin | 1 | 12 | 06a2b2dfe7e4f985893535b346ba7e75982615a6 | 1,834 | gradle-hugo-plugin | Apache License 2.0 |
core/ui/src/main/java/com/mcgrady/xproject/core/ui/util/TextViewExtension.kt | mcgrady911 | 208,754,271 | false | null | /*
* Copyright 2022 mcgrady
*
* 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 ... | 1 | null | 1 | 1 | 8120d889c9cc471870cfef6fe553ca1585c6f9c7 | 1,146 | xskeleton | Apache License 2.0 |
features/task/impl/src/main/java/wottrich/github/io/smartchecklist/data/repository/SortItemRepositoryImpl.kt | Wottrich | 295,605,540 | false | {"Kotlin": 355161} | package wottrich.github.io.smartchecklist.data.repository
import kotlinx.coroutines.flow.Flow
import wottrich.github.io.smartchecklist.data.datasource.SortItemSource
import wottrich.github.io.smartchecklist.domain.model.SortItemType
import wottrich.github.io.smartchecklist.domain.repository.SortItemRepository
class S... | 10 | Kotlin | 0 | 8 | 8b51f5c1a7aadce36a93414750cda9f282897bb2 | 901 | android-smart-checklist | MIT License |
features/recipes/recipeDetail/src/main/java/com/example/eziketobenna/bakingapp/recipedetail/ui/adapter/StepViewHolder.kt | Ezike | 270,478,922 | false | null | package com.example.eziketobenna.bakingapp.recipedetail.ui.adapter
import androidx.recyclerview.widget.RecyclerView
import com.example.eziketobenna.bakingapp.recipedetail.databinding.StepListContentBinding
import com.example.eziketobenna.bakingapp.recipedetail.model.StepDetailItem
class StepViewHolder(private val bin... | 1 | Kotlin | 79 | 432 | ba1ee513d08f9d02141f914e3e58abde1abe4c14 | 691 | Baking-App-Kotlin | Apache License 2.0 |
app/src/main/java/com/renaisn/reader/lib/theme/view/ThemeBottomNavigationVIew.kt | RenaisnNce | 598,532,496 | false | null | package com.renaisn.reader.lib.theme.view
import android.content.Context
import android.util.AttributeSet
import com.google.android.material.bottomnavigation.BottomNavigationView
import com.renaisn.reader.lib.theme.Selector
import com.renaisn.reader.lib.theme.ThemeStore
import com.renaisn.reader.lib.theme.bottomBackgr... | 1 | Kotlin | 1 | 4 | 4ac03e214e951f7f4f337d4da1f7e39fa715d1c0 | 1,014 | Renaisn_Android | MIT License |
app/src/main/java/co/candyhouse/app/tabs/account/login/ForgetPassWordFragment.kt | t0yger | 300,552,742 | true | {"Kotlin": 256442, "Java": 124912} | package co.candyhouse.app.tabs.account.login
import android.app.Dialog
import android.graphics.Color
import android.os.Build
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
import androidx.fragment.app.DialogFragment
i... | 0 | null | 0 | 0 | 4cd4da2dcfed0e279cc278b85835444a54fb8742 | 6,262 | SesameSDK_Android_with_DemoApp | MIT License |
src/test/kotlin/no/nav/dagpenger/regel/minsteinntekt/CreateInntektPerioderTest.kt | navikt | 165,808,899 | false | {"Kotlin": 114969, "Dockerfile": 197} | package no.nav.dagpenger.regel.minsteinntekt
import no.nav.dagpenger.inntekt.v1.Inntekt
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import java.math.BigDecimal
import java.time.LocalDate
import java.time.YearMonth
import kotl... | 0 | Kotlin | 0 | 0 | 1d2e85e57849d7282478a77b5fc2cfadfba65dbe | 8,740 | dp-regel-minsteinntekt | MIT License |
financial-connections/src/release/java/com/stripe/android/financialconnections/debug/DebugConfiguration.kt | stripe | 6,926,049 | false | null | package com.stripe.android.financialconnections.debug
import android.app.Application
import javax.inject.Inject
internal class DebugConfiguration @Inject constructor(
@Suppress("unused") context: Application
) {
internal val overridenNative: Boolean?
get() = null
}
| 86 | Kotlin | 584 | 1,078 | 74bf7263f56d53aff2d0035127d84dd40609403d | 285 | stripe-android | MIT License |
functions/src/main/kotlin/io/ashdavies/playground/events/EventsSourceOfTruth.kt | ashdavies | 36,688,248 | false | null | package io.ashdavies.playground.events
import com.google.cloud.firestore.CollectionReference
import io.ashdavies.playground.database.Event
import io.ashdavies.playground.google.readAll
internal class EventsSourceOfTruth(
private val collection: CollectionReference,
private val startAt: String,
private val... | 10 | Kotlin | 32 | 107 | bed73969ca5ec5ec76bdac04592994f847ee2991 | 572 | data-binding | Apache License 2.0 |
notifications/src/main/java/io/karte/android/notifications/internal/BitmapUtil.kt | plaidev | 208,185,127 | false | null | //
// Copyright 2020 PLAID, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 3 | null | 3 | 5 | 72d272b24f503ee6ac1c38472e5e6dc800653a37 | 4,401 | karte-android-sdk | Apache License 2.0 |
src/test/kotlin/io/github/hellorin/mongoql/springboot/templating/TypesSDLGeneratorTest.kt | Hellorin | 226,937,635 | false | null | package io.github.hellorin.mongoql.springboot.templating
import io.github.hellorin.mongoql.Attribute
import io.github.hellorin.mongoql.Type
import io.github.hellorin.mongoql.utils.cleanStringForAssertion
import org.junit.Assert
import org.junit.Test
import java.io.File
import java.util.stream.Collectors
internal clas... | 0 | Kotlin | 0 | 0 | 894225b45adf6e770f5af70fc27dbce2b9425409 | 1,728 | MongoQL-springboot-maven-plugin | MIT License |
knowledgebase-importer/src/main/kotlin/com/hartwig/hmftools/knowledgebaseimporter/civic/readers/CivicCDnaAnnotationReader.kt | jiaan-yu | 171,220,496 | true | {"Maven POM": 28, "XML": 34, "Text": 20, "Ignore List": 1, "Git Attributes": 1, "Markdown": 12, "Java": 954, "Shell": 1, "SQL": 24, "Kotlin": 229, "R": 3, "JSON": 1} | package com.hartwig.hmftools.knowledgebaseimporter.civic.readers
import com.hartwig.hmftools.knowledgebaseimporter.civic.input.CivicVariantInput
import com.hartwig.hmftools.knowledgebaseimporter.knowledgebases.CDnaAnnotation
import com.hartwig.hmftools.knowledgebaseimporter.knowledgebases.readers.CDnaAnnotationReader
... | 0 | Java | 0 | 0 | f619e02cdb166594e7dd4d7d1dd7fe8592267f2d | 1,457 | hmftools | MIT License |
Source_Code/Mobile/Crowcial/app/src/main/java/com/android/crowcial/datas/MailsendModel.kt | Yongjuseong | 433,410,601 | false | {"JavaScript": 364654, "Kotlin": 111594, "Pug": 82848, "CSS": 34139, "Java": 1108} | package com.android.crowcial.datas
import com.google.gson.annotations.SerializedName
// RegisterRouter 에 명시된 REST API로 서버에 통신할 때 서버로부터 받는 데이터들이다.
public class MailcertModel {
@SerializedName("CERTIFIED")
var certified: Boolean = false
@SerializedName("MESSAGE")
var message: String = ""
} | 0 | JavaScript | 0 | 0 | 42d2fbf00f8c4c7718374a26f807861c44ddb800 | 306 | Crowcial | MIT License |
tabler-icons/src/commonMain/kotlin/compose/icons/tablericons/ArrowNarrowUp.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.tablericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeCa... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,106 | compose-icons | MIT License |
src/test/kotlin/io/github/smaugfm/monobank/MonobankPublicApiTest.kt | smaugfm | 613,318,259 | false | null | package io.github.smaugfm.monobank
import assertk.assertThat
import assertk.assertions.isEqualTo
import io.github.smaugfm.monobank.model.MonoCurrencyInfo
import kotlinx.datetime.Instant
import kotlinx.serialization.ExperimentalSerializationApi
import mu.KotlinLogging
import org.junit.jupiter.api.Test
import org.mockse... | 0 | Kotlin | 0 | 0 | 7e7ac94f20d204f01603df778ccdba679220492a | 1,424 | monobank | MIT License |
app/src/main/java/net/dublin/bus/ui/view/realtime/RealTimeActivity.kt | thaleslima | 122,882,200 | false | {"Kotlin": 239207, "Java": 19828} | package net.dublin.bus.ui.view.realtime
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.design.widget.Snackbar
import android.support.v4.widget.SwipeRefreshLayout
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.LinearLayoutMa... | 0 | Kotlin | 1 | 0 | b892fbd87414f71607b7b01ad365d0896c401ba2 | 6,411 | DublinBus | Apache License 2.0 |
decktracker-data/src/main/java/com/jamieadkins/decktracker/data/DeckTrackerRepositoryImpl.kt | jamieadkins95 | 75,647,202 | false | {"Kotlin": 340777, "Java": 15619} | package com.jamieadkins.decktracker.data
import android.annotation.SuppressLint
import com.jamieadkins.gwent.domain.GwentFaction
import com.jamieadkins.gwent.domain.SchedulerProvider
import com.jamieadkins.gwent.domain.card.model.GwentCard
import com.jamieadkins.gwent.domain.card.repository.CardRepository
import com.j... | 4 | Kotlin | 1 | 6 | e3f1e264f8b69ed2903656c95f45611f180283d4 | 4,184 | Roach | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.