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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/ChatHelp.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.ChatHelp: ImageVector
get() {
if (_chatHelp != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,382 | compose-fluent-ui | Apache License 2.0 |
app/src/main/java/id/arvigo/arvigobasecore/ui/feature/deepAR/DeepArActivity.kt | C23-PS191-Arvigo | 636,134,744 | false | null | package id.arvigo.arvigobasecore.ui.feature.deepAR
import ai.deepar.ar.ARErrorType
import ai.deepar.ar.AREventListener
import ai.deepar.ar.CameraResolutionPreset
import ai.deepar.ar.DeepAR
import ai.deepar.ar.DeepARImageFormat
import android.Manifest
import android.content.Context
import android.content.pm.ActivityInf... | 1 | Kotlin | 0 | 0 | 7c2cd60a0c8088235784cfab292990dc0f431c1f | 21,048 | arvigo-mobile-app | MIT License |
app/src/main/java/id/arvigo/arvigobasecore/ui/feature/deepAR/DeepArActivity.kt | C23-PS191-Arvigo | 636,134,744 | false | null | package id.arvigo.arvigobasecore.ui.feature.deepAR
import ai.deepar.ar.ARErrorType
import ai.deepar.ar.AREventListener
import ai.deepar.ar.CameraResolutionPreset
import ai.deepar.ar.DeepAR
import ai.deepar.ar.DeepARImageFormat
import android.Manifest
import android.content.Context
import android.content.pm.ActivityInf... | 1 | Kotlin | 0 | 0 | 7c2cd60a0c8088235784cfab292990dc0f431c1f | 21,048 | arvigo-mobile-app | MIT License |
src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/step/rollup/AttemptCreateRollupJobStep.kt | opensearch-project | 354,094,562 | false | null | /*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
/*
* Copyright 2020 Amaz... | 73 | null | 46 | 17 | c5d1739f1a6df255f75171f2b88e51fcde7b7aba | 6,682 | index-management | Apache License 2.0 |
src/main/kotlin/ajdepaul/taggedmusic/songlibraries/SongLibrary.kt | ajdepaul | 273,658,128 | false | null | /*
* Copyright © 2021 <NAME>
* Licensed under the MIT License https://ajdepaul.mit-license.org/
*/
package ajdepaul.taggedmusic.songlibraries
import ajdepaul.taggedmusic.Song
import ajdepaul.taggedmusic.Tag
import ajdepaul.taggedmusic.TagType
import ajdepaul.taggedmusic.librarysources.LibrarySource
import kotlinx.c... | 0 | Kotlin | 0 | 1 | 32cfd709c76734b690ce2999e87f95c92e4cfb08 | 10,712 | TaggedMusic | MIT License |
android/src/main/kotlin/me/yohom/amapbase/search/SearchModels.kt | CaiJingLong | 160,487,654 | false | null | package me.yohom.amapbase.search
import android.content.Context
import com.amap.api.services.core.PoiItem
import com.amap.api.services.core.SuggestionCity
import com.amap.api.services.geocoder.GeocodeAddress
import com.amap.api.services.geocoder.GeocodeQuery
import com.amap.api.services.geocoder.GeocodeResult
import c... | 1 | null | 2 | 3 | 1197e04035d6b004e7f41f659200c2bc1427b079 | 14,448 | amap_base_flutter | Apache License 2.0 |
app/src/main/java/com/bilal/finalproject/SplashScreenActivity.kt | muhBilal | 559,548,444 | false | null | package com.bilal.finalproject
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
class SplashScreenActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | 5593ea8cd74190c45d05fc3aa05cceefa2589fda | 609 | movie | MIT License |
JetpackMvvm/src/main/java/me/hgj/jetpackmvvm/exception/ApiException.kt | aii1991 | 521,137,839 | false | {"Kotlin": 508643, "Java": 46216} | package me.hgj.jetpackmvvm.exception
/**
* @author zjh
* 2022/6/20
*/
sealed class ApiException {
class NotLoginException(val code: Int = 1001,val msg: String = "please login"): Exception(msg)
class ReqErrException(val code:Int = 1002, val msg: String) : Exception(msg)
}
| 0 | Kotlin | 0 | 0 | 49d8c85b5ed3fb4fe067c2cce589242324bd15d0 | 285 | kt-wanandroid | MIT License |
verify/src/main/java/org/who/ddccverifier/verify/divoc/jsonldcrypto/RsaPS256BouncyCastlePublicKeyVerifier.kt | WorldHealthOrganization | 430,942,275 | false | {"Kotlin": 240670, "HTML": 6961, "CSS": 3544, "Procfile": 68} | package org.who.ddccverifier.verify.divoc.jsonldcrypto
import com.danubetech.keyformats.crypto.PublicKeyVerifier
import com.danubetech.keyformats.jose.JWSAlgorithm
import com.nimbusds.jose.crypto.bc.BouncyCastleProviderSingleton
import java.security.PublicKey
import java.security.Signature
import java.security.spec.MG... | 0 | Kotlin | 3 | 9 | 0dc9d8b67da73ce6b93a62ee406f98ac7e2af9ce | 1,134 | ddcc-validator | Apache License 2.0 |
idea/testData/fir/multiModule/basic/m1_java/base.kt | android | 263,405,600 | true | null | package hello
class Hello(val msg: String)
class Test(val set: java.util.Set<*>) | 0 | Kotlin | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 82 | kotlin | Apache License 2.0 |
app/src/main/java/com/marsapi/overview/OverviewFragment.kt | zuzannakuzniar | 721,152,070 | false | null | package com.example.android.marsphotos.overview
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.example.android.marsphotos.databinding.FragmentOverviewBinding
cl... | 0 | Kotlin | 0 | 0 | f96680794cd32c4bf3b969dc4b0c4dcc157e6163 | 792 | marsapi | Apache License 2.0 |
app/src/main/java/info/dvkr/screenstream/ui/tabs/settings/app/settings/general/NightMode.kt | dkrivoruchko | 63,582,643 | false | null | package info.dvkr.screenstream.ui.tabs.settings.app.settings.general
import android.content.res.Resources
import android.os.Build
import androidx.annotation.ArrayRes
import androidx.appcompat.app.AppCompatDelegate
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import andr... | 17 | null | 310 | 1,482 | d8a1f5eec5b212f15e2270710d05888993c18156 | 9,401 | ScreenStream | MIT License |
app/src/main/java/cc/colorcat/viewmodel/sample/AActivity.kt | ccolorcat | 639,976,271 | false | null | package cc.colorcat.viewmodel.sample
import androidx.appcompat.app.AppCompatActivity
/**
* Author: ccolorcat
* Date: 2023-05-14
* GitHub: https://github.com/ccolorcat
*/
class AActivity : BaseActivity() {
override val nextActivity: Class<out AppCompatActivity>?
get() = BActivity::class.java
} | 0 | Kotlin | 0 | 0 | 4ca4cff2929bf31089702bc53ec3ae47961feaf0 | 311 | cached-view-model | Apache License 2.0 |
app/src/main/java/me/banes/chris/tivi/ui/epoxymodels/HeaderModel.kt | takahirom | 115,065,306 | true | {"Kotlin": 277296, "Shell": 387} | /*
* Copyright 2017 Google, 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... | 0 | Kotlin | 0 | 0 | 240cf0115ef533d6aef9e7b44d522c4067687f5a | 1,455 | tivi | Apache License 2.0 |
Rejestrator/app/src/main/java/com/example/rejestrator/view/viewmodel/Admin/AdminLogsListViewModel.kt | rafgasinski | 356,974,392 | false | null | package com.example.rejestrator.view.viewmodel.Admin
import android.app.Application
import android.util.Log
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.example.rejestrator.view.model.entities... | 0 | null | 0 | 0 | 6972cb8658324a9c032554298a2b9f2014e924fa | 2,404 | rejestrator-app | MIT License |
app/src/sharedTest/java/org/oppia/app/story/StoryFragmentTest.kt | netomarin | 235,442,298 | true | {"Kotlin": 1351971} | package org.oppia.app.story
import android.content.Context
import android.content.Intent
import android.content.res.Resources
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import androidx.test.core.app.ActivityScenario.launch
import androidx.test.core.app.ApplicationProvider
import an... | 0 | null | 0 | 0 | 8ebd05b1d195d6d072339fa897bd400db28917c4 | 3,192 | oppia-android | Apache License 2.0 |
safeToRunCore/src/main/kotlin/io/github/dllewellyn/safetorun/features/oscheck/OsCheckConstants.kt | Safetorun | 274,838,056 | false | null | package com.safetorun.features.oscheck
/**
* Constants file for OS Check providing static strings that are used
* when doing OS Checks - primarily these are checks for emulator detection
*/
object OsCheckConstants {
/** Type of board used on emulators */
const val AVD_EMULATOR_BOARD = "goldfish_x86"
/*... | 9 | Kotlin | 1 | 8 | 501a06497485cb40c2b54f4d2a885fc34bcc1898 | 685 | safe_to_run | Apache License 2.0 |
app/src/androidTest/java/com/brainasaservice/reviewbrowser/util/WaitInstruction.kt | damian-burke | 145,307,980 | false | null | package com.brainasaservice.reviewbrowser.util
import com.azimolabs.conditionwatcher.Instruction
class WaitInstruction(ms: Long = DEFAULT_WAIT_TIME) : Instruction() {
private val endTime = System.currentTimeMillis() + ms
override fun getDescription(): String = "Wait a certain amount of milliseconds."
ov... | 0 | Kotlin | 0 | 1 | ad079c64dfd2d68a4769b63cc017f22f9441f793 | 472 | review-browser | Apache License 2.0 |
feature/share/src/main/java/com/xinh/share/widget/inputlayout/StartInputComponent.kt | HuynhXinh | 209,346,576 | false | null | package com.xinh.share.widget.inputlayout
import com.xinh.share.widget.common.ViewComponent
interface StartInputComponent : ViewComponent | 1 | Kotlin | 5 | 19 | 6a704f65592b2bfbb2363697885b871209775b96 | 139 | mvvm-clean-architecture | The Unlicense |
app/src/main/java/net/yslibrary/monotweety/login/LoginController.kt | yshrsmz | 69,078,478 | false | null | package net.yslibrary.monotweety.login
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.bluelinelabs.conductor.ControllerChangeHandler
import com.bluelinelabs.conductor.ControllerChangeType
import com.bluelinela... | 10 | null | 25 | 113 | 7b5b5fe9e0b1dd4667a024d5e22947132b01c426 | 4,570 | monotweety | Apache License 2.0 |
common/src/main/java/cn/lvsong/lib/library/utils/ClickUtil.kt | Jooyer | 243,921,264 | false | null | package cn.lvsong.lib.library.utils
import android.view.View
/**
*
* @ProjectName: android
* @ClassName: Click
* @Description: 各种点击拓展
* @Author: Jooyer
* @CreateDate: 2020/6/2 13:52
* @UpdateUser:
* @UpdateDate:
* @UpdateRemark:
* @Version: 1.0
* https://www.jianshu.com/p/71182... | 0 | null | 3 | 9 | caf3c82d2e2525334e98c59607683f656c1b599b | 2,154 | Basics | Apache License 2.0 |
src/jvmTest/kotlin/software/momento/kotlin/sdk/TopicClientTest.kt | momentohq | 724,323,089 | false | {"Kotlin": 265819} | package software.momento.kotlin.sdk
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.merge
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.flow.takeWhile
import kotlinx.coroutine... | 8 | Kotlin | 1 | 0 | b722c7a0037b79aecdcd2183baa8f721be167aab | 6,537 | client-sdk-kotlin | Apache License 2.0 |
app/src/main/kotlin/com/melih/rocketscience/App.kt | MohamedGElsharkawy | 217,748,879 | true | {"Kotlin": 83542, "Ruby": 5912} | package com.melih.rocketscience
import com.melih.core.di.DaggerCoreComponent
import com.melih.rocketscience.di.DaggerAppComponent
import dagger.android.AndroidInjector
import dagger.android.DaggerApplication
import timber.log.Timber
class App : DaggerApplication() {
override fun applicationInjector(): AndroidInje... | 0 | null | 0 | 1 | 83e39400a97efdcbdfaf3fbe9607027e3fea04ff | 609 | Android-Kotlin-Modulerized-CleanArchitecture | Apache License 2.0 |
basic-auth/src/main/kotlin/ru/tinkoff/testops/droidherd/auth/BasicAuthServiceConfiguration.kt | tinkoff-mobile-tech | 521,161,700 | false | {"Kotlin": 106190, "Java": 54476, "Shell": 3105, "Mustache": 426} | package ru.tinkoff.testops.droidherd.auth
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import org.springframework.boot.autoconfigure.AutoConfigureOrder
import org.springframework.boot.autoconfigur... | 2 | Kotlin | 2 | 31 | 095fe2998808fc92eba1a2cf07c71787be6a735b | 1,577 | droidherd | Apache License 2.0 |
kotlin/kr/owens/ka/KoreanAsm.kt | owen151128 | 401,262,507 | false | null | package kr.owens.ka
/**
* @author <EMAIL>
*
* Created by owen151128 on 2021/08/30 18:04
*
* Providing features related to KoreanAsm class
*/
object KoreanAsm {
private const val KOR_BASE_CODE = 44032
private const val CHO_SUNG_BASE = 588
private const val CHO_SUNG_BASE_2 = 21
private const val JU... | 1 | null | 1 | 1 | 2f5ab06995e9e57db79350d34032385b40ff796e | 2,625 | korean_asm | MIT License |
jext-datadog-apm/jext-datadog-apm-ktor/src/main/kotlin/kr/jadekim/jext/apm/datadog/ktor/adapter/HeadersBuilderTextMapAdapter.kt | jdekim43 | 421,788,472 | false | null | package kr.jadekim.jext.apm.datadog.ktor.adapter
import io.ktor.http.*
import io.opentracing.propagation.TextMap
internal class HeadersBuilderTextMapAdapter(private val headers: HeadersBuilder) : TextMap {
override fun put(key: String, value: String) {
headers.append(key, value)
}
override fun i... | 0 | Kotlin | 1 | 0 | f821862ee1b4b2d6857af12714ff03a7ef3544a7 | 753 | jext | Apache License 2.0 |
app/src/main/java/com/example/moviesdataapp/di/modules/MainActivityModule.kt | raja-arumugam | 646,155,341 | false | null | package com.example.moviesdataapp.di.modules
import com.example.moviesdataapp.ui.activity.MainActivity
import dagger.Module
import dagger.android.ContributesAndroidInjector
@Module
abstract class MainActivityModule {
@ContributesAndroidInjector(modules = [FragmentBuildersModule::class])
abstract fun contribut... | 0 | Kotlin | 0 | 0 | 024ddf6a5939eea49018c529f594cadf31c729f9 | 351 | Flimsify | Apache License 2.0 |
src/test/kotlin/com/github/kerubistan/kerub/services/impl/HostServiceImplTest.kt | kerubistan | 19,528,622 | false | null | package com.github.kerubistan.kerub.services.impl
import com.github.kerubistan.kerub.data.HostDao
import com.github.kerubistan.kerub.getTestKey
import com.github.kerubistan.kerub.host.HostManager
import com.github.kerubistan.kerub.host.SshClientService
import com.github.kerubistan.kerub.model.Host
import com.github.ke... | 109 | null | 4 | 14 | 99cb43c962da46df7a0beb75f2e0c839c6c50bda | 2,886 | kerub | Apache License 2.0 |
project-system-gradle/testSrc/com/android/tools/idea/gradle/project/sync/jdk/integration/GradleSyncJdkIntegrationTest.kt | JetBrains | 60,701,247 | false | {"Kotlin": 43855938, "Java": 36698280, "HTML": 1216565, "Starlark": 735324, "C++": 216476, "Python": 101594, "C": 71515, "Lex": 66026, "NSIS": 58516, "AIDL": 32502, "Shell": 28591, "CMake": 21034, "JavaScript": 18437, "Batchfile": 7774, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18} | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 2 | Kotlin | 230 | 876 | 9c0a89784cca3c01ab99cf251b71a26cdb87cc47 | 6,802 | android | Apache License 2.0 |
db-common/src/main/kotlin/CommonErrors.kt | crowdproj | 543,982,440 | false | null | package com.gitlab.sszuev.flashcards.common
import com.gitlab.sszuev.flashcards.model.common.AppAuthId
import com.gitlab.sszuev.flashcards.model.common.AppError
import com.gitlab.sszuev.flashcards.model.domain.CardId
import com.gitlab.sszuev.flashcards.model.domain.DictionaryId
fun wrongDictionaryLanguageFamilies(
... | 7 | Kotlin | 0 | 0 | db6f77fdb9f3b2940aa19e6cb19da079dacf5f7f | 1,956 | opentutor | Apache License 2.0 |
app/src/main/java/com/bos/oculess/DevAdminReceiver.kt | basti564 | 330,003,646 | false | null | package com.bos.oculess
import android.app.admin.DeviceAdminReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import android.widget.Toast
class DevAdminReceiver : DeviceAdminReceiver() {
private val TAG = "DeviceAdminReceiver"
override fun onEnabled(context: Context... | 4 | null | 79 | 990 | 405758356f40b417f2c8a7a02f03bf22dc8979d5 | 513 | Oculess | The Unlicense |
app/src/main/java/io/redgreen/benchpress/github/GitHubViewRenderer.kt | Aryan210 | 346,594,002 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "Kotlin": 119, "XML": 22, "Java": 6} | package io.redgreen.benchpress.github
import io.redgreen.benchpress.architecture.AsyncOp
import io.redgreen.benchpress.github.domain.User
class GitHubViewRenderer(private val view: GitHubView) {
fun render(model: GitHubModel) {
if (model.fetchFollowersAsyncOp == AsyncOp.SUCCEEDED && model.usernamePresence... | 1 | null | 1 | 1 | 51335bba348794403cca58d0aa9bcea224daeb8b | 2,840 | bench-mark | Apache License 2.0 |
modules/wasm-binary/src/commonMain/kotlin/WasmSource.kt | wasmium | 761,480,110 | false | {"Kotlin": 352107, "JavaScript": 200} | @file:OptIn(ExperimentalUnsignedTypes::class)
package org.wasmium.wasm.binary
import kotlinx.io.EOFException
import kotlinx.io.Source
import kotlinx.io.readTo
import org.wasmium.wasm.binary.tree.ExternalKind
import org.wasmium.wasm.binary.tree.LimitFlags
import org.wasmium.wasm.binary.tree.LinkingKind
import org.wasm... | 0 | Kotlin | 0 | 1 | f7ddef76630278616d221e7c8251adf0f11b9587 | 8,617 | wasmium-wasm-binary | Apache License 2.0 |
kground/src/commonMain/kotlin/Utils.cmn.kt | mareklangiewicz | 676,002,318 | false | null | package pl.mareklangiewicz.kground
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.onEach
import kotlin.time.TimeMark
import kotlin.time.TimeSource
import pl.mareklangiewicz.ulog.hack.ulog
import pl.mareklangiewicz.ulog.i
infix fun <T : Any> List<T>.plusIfNN(... | 0 | Kotlin | 0 | 0 | ebd3cc9574e40d1d77f38311f4b0192490ac3502 | 2,370 | KGround | Apache License 2.0 |
nebulosa-sbd/src/test/kotlin/SmallBodyIdentificationServiceTest.kt | tiagohm | 568,578,345 | false | {"Kotlin": 2467740, "TypeScript": 451309, "HTML": 225848, "SCSS": 13625, "Python": 2817, "JavaScript": 1198, "Makefile": 160} | import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.booleans.shouldBeTrue
import io.kotest.matchers.collections.shouldBeEmpty
import io.kotest.matchers.ints.shouldBeExactly
import io.kotest.matchers.ints.shouldBeGreaterThanOrEqual
import io.kotest.matchers.nulls.shouldNotBeNull
import nebulosa.math.de... | 4 | Kotlin | 2 | 4 | bc81dd82c3c7dce1cf55bd03d0a69a8a1818f9ce | 1,610 | nebulosa | MIT License |
cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/TranslationManager.kt | Fraunhofer-AISEC | 225,386,107 | false | null | /*
* Copyright (c) 2021, Fraunhofer AISEC. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 81 | null | 50 | 161 | 99dfacfcf32281261920f8051521db8980f88716 | 15,473 | cpg | Apache License 2.0 |
app/src/main/java/org/fossasia/openevent/general/attendees/ListAttendeeIdConverter.kt | Kapil706 | 172,433,206 | true | {"Kotlin": 282142, "Java": 3853, "Shell": 3765} | package org.fossasia.openevent.general.attendees
import androidx.room.TypeConverter
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
class ListAttendeeIdConverter {
@TypeConverter
fun fromListAttendeeId(attendeeIdList: List<AttendeeId>): String {
... | 0 | Kotlin | 0 | 1 | e3bf6da900f3715759cd5a4d172ed198a4dd207d | 690 | open-event-android | Apache License 2.0 |
Lab3/app/src/main/java/com/example/lab3/NoScrollExpandableListView.kt | KPI-Labs-NChernikov | 544,145,881 | false | null | package com.example.lab3
import android.content.Context
import android.util.AttributeSet
import android.widget.ExpandableListView
class NoScrollExpandableListView : ExpandableListView {
constructor(context: Context?) : super(context)
constructor(context: Context?, attrs: AttributeSet?) : super(context, attr... | 0 | Kotlin | 0 | 0 | 1ce1d21c929edc23aba92fd359e68093488b1f63 | 815 | Android-Labs | MIT License |
snowplow-tracker/src/androidTest/java/com/snowplowanalytics/snowplow/internal/utils/UtilTest.kt | snowplow | 20,056,757 | false | {"Kotlin": 1227237, "Java": 38410, "Shell": 78} | /*
* Copyright (c) 2015-2023 Snowplow Analytics Ltd. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apach... | 20 | Kotlin | 62 | 102 | c6ad42b49faf979f3f8c13cc8b91304c423872bd | 4,349 | snowplow-android-tracker | Apache License 2.0 |
app/src/main/java/com/hypertrack/android/api/ApiClient.kt | hypertrack | 241,723,736 | false | {"Kotlin": 1523302, "Java": 7006, "Just": 616} | package com.hypertrack.android.api
import android.graphics.Bitmap
import android.util.Log
import com.google.android.gms.maps.model.LatLng
import com.hypertrack.android.api.models.RemoteError
import com.hypertrack.android.api.models.RemoteGeofence
import com.hypertrack.android.api.models.RemoteOrder
import com.hypertra... | 1 | Kotlin | 17 | 30 | 816c9735bf8cab508eebcd966341500aa33fecea | 11,695 | visits-android | MIT License |
app/src/main/java/org/simple/clinic/overdue/Appointment.kt | simpledotorg | 132,515,649 | false | null | package org.simple.clinic.overdue
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Entity
import android.arch.persistence.room.Insert
import android.arch.persistence.room.OnConflictStrategy
import android.arch.persistence.room.PrimaryKey
import android.arch.persistence.room.Query
import co... | 7 | null | 73 | 236 | ff699800fbe1bea2ed0492df484777e583c53714 | 4,133 | simple-android | MIT License |
cosec-jwt/src/test/kotlin/me/ahoo/cosec/jwt/JwtTokenConverterTest.kt | Ahoo-Wang | 567,999,401 | false | {"Kotlin": 588793, "Dockerfile": 594} | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 1 | Kotlin | 4 | 32 | b0edd6e0b096a76d17363778b1aec8dd2c19c9b3 | 2,192 | CoSec | Apache License 2.0 |
app/src/main/java/fr/coppernic/tools/transparent/terminal/TerminalFragment.kt | Coppernic | 171,477,196 | false | null | package fr.coppernic.tools.transparent.terminal
import android.annotation.SuppressLint
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.RecyclerView
import android.view.*
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.Line... | 1 | Kotlin | 0 | 1 | ec441f5251b5bc46b45420da79e3828ce730adfa | 4,419 | Serial | Apache License 2.0 |
data/src/main/java/com/keelim/cnubus/di/CacheInterceptor.kt | keelim | 202,127,420 | false | null | /*
* Designed and developed by 2021 keelim (<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 l... | 6 | Kotlin | 0 | 1 | 836c7fca6793ed74249f9430c798466b1a7aaa27 | 1,497 | project_cnuBus | Apache License 2.0 |
login_framework/src/main/java/com/vmenon/mpo/login/framework/MpoApiUserRegistry.kt | hitoshura25 | 91,402,384 | false | null | package com.vmenon.mpo.login.framework
import com.vmenon.mpo.api.model.RegisterUserRequest
import com.vmenon.mpo.api.model.UserDetails
import com.vmenon.mpo.common.framework.retrofit.MediaPlayerOmegaRetrofitService
import com.vmenon.mpo.login.data.GetUserException
import com.vmenon.mpo.login.data.UserRegistry
import c... | 15 | Kotlin | 0 | 1 | d37ca42046c00bbe3c414482fac67e041c734ecf | 1,658 | Media-Player-Omega-Android | Apache License 2.0 |
core/data/src/main/java/com/t8rin/imagetoolboxlite/core/data/image/AndroidImageTransformer.kt | T8RIN | 767,600,774 | false | null | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (<NAME>)
*
* 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
* distributed under ... | 5 | null | 95 | 8 | f8fe322c2bde32544e207b49a01cfeac92c187ce | 6,000 | ImageToolboxLite | Apache License 2.0 |
tasks/src/main/java/app/tivi/tasks/SyncAllFollowedShows.kt | SagarKisanAvhad | 146,028,545 | false | null | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | null | 1 | 1 | 687191398bd42fc87d4f50c89f21228e89c3a523 | 1,349 | tivi-master | Apache License 2.0 |
filesystem/src/main/java/com/tinkerlog/plip/filesystem/FileSystemPersistence.kt | tinkerlog | 514,838,516 | false | null | package com.tinkerlog.plip.filesystem
import java.io.BufferedReader
import java.io.BufferedWriter
import java.io.File
import java.io.FileReader
import java.io.FileWriter
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
interface FileSystemPersistence {
fun load(): Folder
fun ... | 0 | Kotlin | 0 | 3 | 03eb4d04d8a6fe43de60d3172c49647ec67e5b4b | 2,187 | plip_android | MIT License |
src/main/kotlin/br/com/ecommerce/livros/service/LivrosService.kt | njguilhem2 | 281,196,756 | false | {"Kotlin": 14987} | package br.com.ecommerce.livros.service
import LivrosResponse
import br.com.ecommerce.livros.model.Livros
interface LivrosService {
fun listAll(): LivrosResponse
fun saveLivros(livros: Livros): Livros
fun updateLivros(livros: Livros, id: Long): Livros
fun deleteLivros(id: Long)
fun findById(id: Lo... | 0 | Kotlin | 0 | 1 | 3d6a75f0e243e6b2134e7c6a596c7afd138c7ea2 | 334 | ecommerce-ngbook | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsalertsapi/resource/Headers.kt | ministryofjustice | 750,461,021 | false | {"Kotlin": 603075, "Mermaid": 3411, "Shell": 1799, "Dockerfile": 1387} | package uk.gov.justice.digital.hmpps.hmppsalertsapi.resource
const val USERNAME = "Username"
const val SOURCE = "Source"
| 4 | Kotlin | 0 | 0 | ddb93fe023bed27dea7fab448b8d69dcb2003ef3 | 122 | hmpps-alerts-api | MIT License |
tachikoma-grpc/src/main/kotlin/com/sourceforgery/tachikoma/identifiers/MessageIdFactoryImpl.kt | SourceForgery | 112,076,342 | false | null | package com.sourceforgery.tachikoma.identifiers
import org.kodein.di.DI
import org.kodein.di.DIAware
import java.util.UUID
class MessageIdFactoryImpl(override val di: DI) : MessageIdFactory, DIAware {
override fun createMessageId(domain: MailDomain) =
MessageId("${UUID.randomUUID()}@$domain")
}
| 8 | null | 3 | 5 | 12d8d0e0ccafaa8506b98d6269cae4f1bb228bf4 | 310 | tachikoma | Apache License 2.0 |
app/src/main/java/com/geekymusketeers/uncrack/presentation/auth/login/LoginScreens.kt | uncrack-vault | 569,328,395 | false | {"Kotlin": 304649} | package com.geekymusketeers.uncrack.presentation.auth.login
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.SystemBarStyle
import androidx.activity.compose.setContent
import androidx.activ... | 13 | Kotlin | 3 | 28 | e44b61c21e67ccce684882a54be87e0977f207c8 | 10,440 | android | MIT License |
lib/src/main/java/net/imoya/android/media/audio/AudioDecoder.kt | IceImo-P | 452,667,694 | false | null | /*
* Copyright (C) 2022 IceImo-P
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 0 | 0 | 3ed3fa7799024ca3535e849e98d4975be96a2188 | 10,669 | ImoyaAndroidMediaLib | Apache License 2.0 |
buildSrc/src/main/java/DaggerHilt.kt | tahaak67 | 508,754,612 | false | null | object DaggerHilt {
const val version = "2.44.2"
const val hiltAndroid = "com.google.dagger:hilt-android:$version"
const val hiltCompiler = "com.google.dagger:hilt-android-compiler:$version"
} | 8 | null | 4 | 96 | f7efae3a6d3b0ba52b3cdf082727f6beb8eb74d9 | 206 | Farhan | Apache License 2.0 |
app/src/main/java/com/yinlei/sunnyweather/logic/model/RealtimeResponse.kt | yinleiCoder | 257,759,475 | false | null | package com.sunnyweather.android.logic.model
import com.google.gson.annotations.SerializedName
//{
// "status": "ok",
// "result": {
// "realtime": {
// "temperature": 23.16,
// "skycon": "WIND",
// "air_quality": {
// "aqi": { "... | 0 | null | 0 | 3 | e560b250f72d52fa5d0a7af604d1fd93ea5277f6 | 729 | SunnyWeather | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/apprunner/CfnObservabilityConfigurationPropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.apprunner
import io.cloudshiftdev.awscdkdsl.CfnTagDsl
imp... | 4 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 4,235 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/teobaranga/monica/contacts/detail/ContactDetailScreen.kt | teobaranga | 686,113,276 | false | {"Kotlin": 183003} | package com.teobaranga.monica.contacts.detail
import ContactsNavGraph
import androidx.compose.animation.Crossfade
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.la... | 3 | Kotlin | 0 | 6 | ee45fbea6028a57f73d10154e60a671e80d59fc4 | 5,442 | monica | Apache License 2.0 |
app/src/test/java/com/femi/e_class/domain/use_case/ValidateEmailTest.kt | Vader-Femi | 569,005,599 | false | null | package com.femi.e_class.domain.use_case
import com.google.common.truth.Truth.assertThat
import org.junit.Test
class ValidateEmailTest {
@Test
fun `email is blank fails`(){
val result = ValidateEmail().execute("")
assertThat(result).isEqualTo(
ValidationResult(
fa... | 0 | Kotlin | 0 | 1 | d334fafbac93322715e647827dc830e4221264b9 | 1,194 | ClassKonnect | Apache License 2.0 |
DaggerSingleModuleApp/app/src/main/java/com/github/yamamotoj/daggersinglemoduleapp/package15/Foo01585.kt | yamamotoj | 163,851,411 | false | {"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2} | package com.github.yamamotoj.module4.package15
import javax.inject.Inject
class Foo01585 @Inject constructor(){
fun method0() { Foo01584().method5() }
fun method1() { method0() }
fun method2() { method1() }
fun method3() { method2() }
fun method4() { method3() }
fun method5() { method4() }
}
| 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 317 | android_multi_module_experiment | Apache License 2.0 |
src/test/kotlin/com/forgerock/sapi/gateway/ob/uk/tests/functional/account/statements/junit/v3_1_9/GetStatementsTest.kt | SecureApiGateway | 330,627,234 | false | {"Kotlin": 3153129, "Dockerfile": 478, "Makefile": 215} | package com.forgerock.sapi.gateway.ob.uk.tests.functional.account.statements.junit.v3_1_9
import com.forgerock.sapi.gateway.framework.extensions.junit.CreateTppCallback
import com.forgerock.sapi.gateway.framework.extensions.junit.EnabledIfVersion
import com.forgerock.sapi.gateway.uk.common.shared.api.meta.obie.OBVersi... | 7 | Kotlin | 0 | 5 | cda628f0823fe1f21939dd4affc78588206c1ab2 | 870 | secure-api-gateway-ob-uk-functional-tests | Apache License 2.0 |
app/src/main/java/com/personal/tmdb/settings/presentation/appearance/components/Corners.kt | Avvami | 755,489,313 | false | {"Kotlin": 656155} | package com.personal.tmdb.settings.presentation.appearance.components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
impo... | 0 | Kotlin | 0 | 2 | d5b4d2ee9eb9616ab0e217f8d6fff45723bf5e58 | 2,064 | TMDB | MIT License |
app/src/main/java/com/anubhav_auth/bento/authentication/OTPVerificationPage.kt | anubhav-auth | 850,108,148 | false | {"Kotlin": 125228} | package com.anubhav_auth.bento.authentication
import android.os.CountDownTimer
import android.util.Log
import android.widget.Toast
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.B... | 0 | Kotlin | 0 | 0 | b27c5a1f750ffe58efe2d3b72b9cd35d8c1b9b67 | 8,352 | Bento | MIT License |
markdown/src/main/java/com/bohregard/markdown/extensions/superscript/util/Superscript.kt | bohregard | 284,123,182 | false | {"Kotlin": 177825} | package com.bohregard.markdown.extensions.superscript.util
import org.commonmark.node.CustomNode
class Superscript : CustomNode() | 0 | Kotlin | 0 | 0 | de7011b118bbd97ec9d5a7acd9bb66e0c02519cc | 131 | Compose-Companion | MIT License |
plugins/ide-startup/importSettings/src/com/intellij/ide/startup/importSettings/transfer/backend/providers/vscode/parsers/Json.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.ide.startup.importSettings.transfer.backend.providers.vscode.parsers
import com.fasterxml.jackson.core.json.JsonReadFeature
import com.fasterxml.jackson.databind.ObjectMapper
im... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 548 | intellij-community | Apache License 2.0 |
year2021/day07/part1/src/main/kotlin/com/curtislb/adventofcode/year2021/day07/part1/Year2021Day07Part1.kt | curtislb | 226,797,689 | false | null | /*
--- Day 7: The Treachery of Whales ---
A giant whale has decided your submarine is its next meal, and it's much faster than you are.
There's nowhere to run!
Suddenly, a swarm of crabs (each in its own tiny submarine - it's too deep for them otherwise) zooms
in to rescue you! They seem to be preparing to blast a ho... | 0 | Kotlin | 1 | 1 | e9ef1f42e245d730edeb0ebec57de515992d84e5 | 2,654 | AdventOfCode | MIT License |
app/src/main/java/com/example/housify/propertyInfoActivity.kt | amanahmed97 | 738,706,281 | false | {"Kotlin": 271621} | package com.example.housify
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.net.Uri
import android.os.Bundle
import android.Manifest
import android.annotation.SuppressLint
import android.content.ClipDescription
... | 0 | Kotlin | 0 | 0 | 34a9bbd04d47ce69990a232f19d2c3d969ca25e1 | 21,093 | Housify-android-app | MIT License |
mlkit-smartreply/app/src/main/java/com/google/firebase/samples/apps/mlkit/smartreply/kotlin/chat/MessageListAdapter.kt | SagarBChauhan | 216,040,454 | false | null | package xyz.enterkey.mlkitdemo.smartreply.chat
import androidx.recyclerview.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import xyz.enterkey.mlkitdemo.smartreply.model.Message
import de.hdodenhof.circleimageview.CircleImage... | 5 | null | 0 | 5 | d886d348a681f41f02e78d720cb74fb8c162e339 | 2,136 | quickstart-android | Creative Commons Attribution 4.0 International |
src/main/kotlin/eom/demo/ejh_board/exception/NotFoundException.kt | stephano-tri | 634,144,135 | false | null | package eom.demo.ejh_board.exception
class NotFoundException: RuntimeException {
constructor(message: String): super(message)
constructor(message: String, cause: Throwable): super(message, cause)
constructor(cause: Throwable): super(cause)
}
| 3 | Kotlin | 0 | 0 | 97b6d2ebc844af1a4c6de0fd229a6ed1afc140c0 | 255 | find_similarity_board | Apache License 2.0 |
client/data/src/main/java/com/healthc/data/service/RecipeService.kt | Team-HealthC | 601,915,784 | false | {"Kotlin": 189898, "Java": 9369} | package com.healthc.data.service
import com.healthc.data.BuildConfig
import com.healthc.data.model.remote.recipe.IngredientResultResponse
import com.healthc.data.model.remote.recipe.RecipeResponse
import retrofit2.http.GET
import retrofit2.http.Query
interface RecipeService {
@GET("/recipes/findByIngredients")
... | 17 | Kotlin | 1 | 2 | 93c660eb97636a6d8c3e007d8509589c2ac99386 | 945 | HealthC_Android | MIT License |
simplified-tests/src/test/java/org/nypl/simplified/tests/lcp/LCPContentProtectionProviderTest.kt | ThePalaceProject | 367,082,997 | false | {"Kotlin": 3231877, "JavaScript": 853788, "Java": 400160, "CSS": 65407, "HTML": 49220, "Shell": 5017, "Ruby": 178} | package org.nypl.simplified.tests.lcp
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import org.nypl.simplified.lcp.LCPContentProtectionProvider
import java.lang.IllegalStateException
class LCPContentProtectionProviderTest {
@Test
fun passphrase_returnsUnencodedValue_whenHashedPassphra... | 1 | Kotlin | 4 | 8 | 3f267cda9985bd8dc0351893e2aee021056c334f | 1,207 | android-core | Apache License 2.0 |
oneadapter/src/main/java/com/idanatz/oneadapter/external/holders/OneInternalHolderModels.kt | meruiden | 232,577,694 | true | {"Gradle": 7, "Markdown": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Proguard": 2, "XML": 29, "JSON": 1, "Kotlin": 107, "Java": 7, "INI": 1} | package com.idanatz.oneadapter.external.holders
import com.idanatz.oneadapter.external.interfaces.Diffable
import java.util.*
sealed class OneInternalHolderModel : Diffable {
private val uniqueId = UUID.randomUUID().mostSignificantBits
override fun getUniqueIdentifier() = uniqueId
override fun areConten... | 0 | Kotlin | 0 | 0 | 5eaf19734939f9956d60ceb4a982320921724124 | 450 | OneAdapter | MIT License |
app/src/main/java/com/bonifes/viewbinding/sample/base/nonreflection/BaseBindingQuickAdapter.kt | panicDev | 368,471,018 | false | {"Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "INI": 3, "Proguard": 7, "Kotlin": 57, "XML": 39} | package com.bonifes.viewbinding.sample.base.nonreflection
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.viewbinding.ViewBinding
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
abstract cla... | 1 | null | 1 | 1 | 226fa5c07442aa929b0b4f8bec272ff82cfe135d | 986 | bvbl | Apache License 2.0 |
picturepicker/src/main/java/com/silwek/tools/picturepicker/PermissionRationaleDialog.kt | silwek | 296,909,578 | false | {"Gradle": 11, "Java Properties": 1, "YAML": 1, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 3, "INI": 9, "Proguard": 9, "XML": 20, "Kotlin": 27, "Java": 3} | package com.silwek.tools.location
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.Settings
import androidx.appcompat.app.AlertDialog
interface PermissionRationaleDialog {
fun getSourceContext(): Context?
fun showRationaleDialog(
titleRes: In... | 1 | null | 1 | 1 | 1ca818cbc6fbfeaf9f87e48dc4af391c3ddbd46e | 1,135 | silwek-tools | Apache License 2.0 |
app/src/main/java/com/petrulak/cleankotlin/di/module/InteractorModule.kt | Petrulak | 104,648,833 | false | null | package com.petrulak.cleankotlin.di.module
import com.petrulak.cleankotlin.domain.executor.SchedulerProvider
import com.petrulak.cleankotlin.domain.interactor.GetWeatherLocallyUseCaseImpl
import com.petrulak.cleankotlin.domain.interactor.GetWeatherRemotelyUseCaseImpl
import com.petrulak.cleankotlin.domain.interactor.G... | 0 | Kotlin | 10 | 111 | 51033f30ecdb9573000454f1b8890d20c2438002 | 1,504 | android-kotlin-mvp-clean-architecture | MIT License |
app/src/main/java/com/example/kotlincodingtest/programmers/Lv2/호텔_대실/Solution.kt | ichanguk | 788,416,368 | false | {"Kotlin": 299419} | package com.example.kotlincodingtest.programmers.Lv2.호텔_대실
class Solution {
fun solution(book_time: Array<Array<String>>): Int {
var answer: Int = 0
book_time.sortBy{it[0]}
val N = book_time.size
val isVisit = MutableList(N) { false }
var cnt = 0
var startIdx = 0
... | 0 | Kotlin | 0 | 0 | 298b0b06aebf98a4745fde773a671307f40c6886 | 1,214 | KotlinCodingTest | MIT License |
features/main/src/main/java/com/maximapps/main/ui/MainFragment.kt | merklol | 442,158,957 | false | {"Kotlin": 198978} | /*
* Copyright (c) 2021 Maxim Smolyakov
* 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... | 0 | Kotlin | 0 | 5 | 2306729e92dd9f3c4fed63b7a7afe96d91982aac | 2,933 | Workout-Journal | MIT License |
simplecloud-dependency-loader/src/main/kotlin/eu/thesimplecloud/loader/dependency/DependencyLoader.kt | theSimpleCloud | 270,085,977 | false | null | /*
* MIT License
*
* Copyright (C) 2020-2022 The SimpleCloud authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* the rights to u... | 8 | null | 43 | 98 | 8f10768e2be523e9b2e7c170965ca4f52a99bf09 | 4,477 | SimpleCloud | MIT License |
client-kotlin/src/test/kotlin/com/influxdb/client/kotlin/ITInfluxDBClientKotlin.kt | influxdata | 151,233,646 | false | null | /*
* The MIT License
*
* 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, distribute, s... | 9 | null | 75 | 434 | 94285a18c59beafb89bb3ac516f183722d7c202c | 4,216 | influxdb-client-java | MIT License |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Asciidoctor.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.ui.graphics... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 3,321 | compose-icons | MIT License |
sentry-kotlin-multiplatform/src/commonMain/kotlin/io/sentry/kotlin/multiplatform/protocol/Breadcrumb.kt | getsentry | 285,502,515 | false | null | package io.sentry.kotlin.multiplatform.protocol
import io.sentry.kotlin.multiplatform.SentryLevel
public data class Breadcrumb constructor(
/** The breadcrumb's level */
var level: SentryLevel? = null,
/** The breadcrumb's type */
var type: String? = null,
/** The breadcrumb's message */
var... | 7 | null | 9 | 97 | a42d02cb266274fa4417a29363d8eaa59701f290 | 4,827 | sentry-kotlin-multiplatform | MIT License |
sentry-kotlin-multiplatform/src/commonMain/kotlin/io/sentry/kotlin/multiplatform/protocol/Breadcrumb.kt | getsentry | 285,502,515 | false | null | package io.sentry.kotlin.multiplatform.protocol
import io.sentry.kotlin.multiplatform.SentryLevel
public data class Breadcrumb constructor(
/** The breadcrumb's level */
var level: SentryLevel? = null,
/** The breadcrumb's type */
var type: String? = null,
/** The breadcrumb's message */
var... | 7 | null | 9 | 97 | a42d02cb266274fa4417a29363d8eaa59701f290 | 4,827 | sentry-kotlin-multiplatform | MIT License |
app/src/main/java/com/fch/android_demo/dispatch/DispatchActivity.kt | fangood | 237,617,057 | false | null | package com.fch.android_demo.dispatch
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import androidx.appcompat.app.AppCompatActivity
import com.fch.android_demo.R
class DispatchActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onC... | 0 | Kotlin | 0 | 0 | 60decbe723fd58613972207c627f9d52e2fe3332 | 762 | android_kotlin_demo | Apache License 2.0 |
aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/transfer/worker/PartUploadTransferWorker.kt | aws-amplify | 177,009,933 | false | null | /*
* Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 99 | null | 115 | 245 | 14c71f38f052a964b96d7abaff6e157bd21a64d8 | 3,431 | amplify-android | Apache License 2.0 |
clearnetandroid/src/test/java/clearnet/android/NotNullKotlinFieldsValidatorTest.kt | xelevra | 176,962,795 | true | {"Gradle": 6, "Markdown": 3, "Java Properties": 1, "Shell": 1, "Ignore List": 5, "Batchfile": 1, "Kotlin": 51, "Java": 35, "Proguard": 1, "XML": 2, "INI": 1} | package clearnet.android
import clearnet.android.help.JavaModel
import clearnet.error.ValidationException
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import org.junit.Assert.*
import org.junit.Before
import org.junit.Test
class NotNullKotlinFieldsValidatorTest {
private lateinit var valid... | 0 | Kotlin | 0 | 0 | e9a6e5658b358110d90d0cd7129a9d77ff18af49 | 4,624 | clearnet | Apache License 2.0 |
app/src/main/java/com/skeleton/mvp/fragment/VideoCallInvitationBottomSheetFragment.kt | jungleworks | 387,698,917 | false | null | package com.skeleton.mvp.fragment
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.EditText
import android.widget... | 0 | null | 5 | 3 | 44f1bdd5af887302448b0fad00ab180b0fe98526 | 11,136 | fugu-android | Apache License 2.0 |
ui-app/src/commonMain/kotlin/com/alexvanyo/composelife/ui/app/action/settings/FullscreenSettingsScreen.kt | alexvanyo | 375,146,193 | 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 37 | null | 9 | 99 | 3b697abef92c235eb92dfe3364c3176110a73132 | 35,309 | composelife | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/VisualShaderNodeTransformCompose.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE")
package godot
import godot.`annotation`.G... | 47 | Kotlin | 25 | 301 | 0d33ac361b354b26c31bb36c7f434e6455583738 | 838 | godot-kotlin-jvm | MIT License |
services/csm.cloud.project.api.timeseries/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/translation/facade/rest/TranslationRestController.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.projectmanagement.translation.facade.rest
import com.bosch.pt.cs... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,003 | bosch-pt-refinemysite-backend | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/RecyclingTwoTone.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3079611, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/RecyclingTwoTone")
package mui.icons.material
@JsName("default")
external val RecyclingTwoTone: SvgIconComponent
| 0 | Kotlin | 5 | 35 | 60404a8933357df15ecfd8caf6e83258962ca909 | 196 | mui-kotlin | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/PlaneMesh.kt | ShalokShalom | 343,354,086 | true | {"Kotlin": 516486, "GDScript": 294955, "C++": 262753, "C#": 11670, "CMake": 2060, "Shell": 1628, "C": 959, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName")
package godot
import godot.annotation.GodotBaseType
import god... | 0 | null | 0 | 1 | 7b9b195de5be4a0b88b9831c3a02f9ca06aa399c | 2,159 | godot-jvm | MIT License |
ugc-detail-component/src/main/java/com/kotlin/android/ugc/detail/component/binder/UgcBannerImageBinder.kt | R-Gang-H | 538,443,254 | false | null | package com.kotlin.android.ugc.detail.component.binder
import com.kotlin.android.ugc.detail.component.R
import com.kotlin.android.ugc.detail.component.bean.UgcImageViewBean
import com.kotlin.android.ugc.detail.component.databinding.ItemUgcDetailBannerImageBinding
import com.kotlin.android.widget.adapter.multitype.adap... | 0 | Kotlin | 0 | 1 | e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28 | 833 | Mtime | Apache License 2.0 |
src/com/aedans/plugins/scheme/config/SchemeConfigurationType.kt | aedans | 97,307,821 | false | {"XML": 5, "Text": 1, "Ignore List": 1, "Markdown": 1, "Java": 71, "Kotlin": 18, "JFlex": 1} | package com.aedans.plugins.scheme.config
import com.intellij.execution.configurations.ConfigurationFactory
import com.intellij.execution.configurations.ConfigurationType
import com.intellij.execution.configurations.RunConfiguration
import com.intellij.openapi.project.Project
import icons.SchemePluginIcons
import javax... | 0 | Kotlin | 0 | 1 | 0590203aa8796c91ce043aeb97f12e2207abf1ea | 1,196 | Scheme-Support | MIT License |
src/main/kotlin/com/helltar/aibot/dao/FilesDAO.kt | Helltar | 591,327,331 | false | null | package com.helltar.aibot.dao
import com.helltar.aibot.dao.DatabaseFactory.dbQuery
import org.jetbrains.exposed.sql.insertIgnore
import org.jetbrains.exposed.sql.select
import com.helltar.aibot.dao.tables.FilesIdsTable as FilesIdsTable
class FilesIds {
fun add(name: String, fileId: String) = dbQuery {
Fi... | 0 | null | 3 | 21 | 1a446727f4206d26c786a2958b3a275b1593eefb | 618 | artific_intellig_bot | MIT License |
android_sdk/src/main/java/com/swirepay/android_sdk/retrofit/ApiInterface.kt | swirepay | 344,241,532 | false | {"Kotlin": 269211, "Java": 70043} | package com.swirepay.android_sdk.retrofit
import com.swirepay.android_sdk.checkout.model.*
import com.swirepay.android_sdk.model.*
import com.swirepay.android_sdk.model.OrderInfo
import com.swirepay.android_sdk.model.pusher.AppConfig
import com.swirepay.android_sdk.model.pusher.Request
import com.swirepay.android_sdk.... | 1 | Kotlin | 3 | 1 | a7f2b6bcae57f471ac6520f667e7c86ea9af64ca | 5,498 | swirepay-android | MIT License |
compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/comparisonToNull.kt | JakeWharton | 99,388,807 | false | null | // FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_VARIABLE
fun test(d: dynamic) {
d == null
d != null
d["foo"] == null
d["foo"] != null
d.foo == null
d.foo != null
} | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 182 | kotlin | Apache License 2.0 |
src/main/kotlin/App.kt | Daniel0110000 | 702,220,698 | false | {"Kotlin": 259455} | import com.dr10.database.domain.repositories.AutocompleteSettingsRepository
import com.dr10.editor.ui.viewModels.EditorViewModel
import com.dr10.editor.ui.viewModels.TabsViewModel
import com.dr10.settings.ui.viewModels.AutocompleteSettingsViewModel
import com.dr10.settings.ui.viewModels.SettingsViewModel
import com.dr1... | 1 | Kotlin | 3 | 29 | 9d75ecc560d86e12de14ff3153bcac79b0f0c02d | 1,486 | DeepCodeStudio | Apache License 2.0 |
src/test/kotlin/no/nav/familie/ba/sak/kjerne/eøs/EøsPeriodeTest.kt | navikt | 224,639,942 | false | null | package no.nav.familie.ba.sak.kjerne.eøs
// ktlint-disable no-wildcard-imports
import no.nav.familie.ba.sak.kjerne.autovedtak.fødselshendelse.Resultat
import no.nav.familie.ba.sak.kjerne.eøs.TestUtil.jan
import no.nav.familie.ba.sak.kjerne.eøs.kompetanse.domene.MAX_MÅNED
import no.nav.familie.ba.sak.kjerne.eøs.kompeta... | 3 | Kotlin | 0 | 7 | a33ee2c537dbe9d78dbbf79deb3e932898fed2f4 | 5,430 | familie-ba-sak | MIT License |
app/src/main/java/local/example/jetlike/StartFragment.kt | paolomococci | 176,811,727 | false | null | /**
*
* Copyright 2019 <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 i... | 0 | Kotlin | 0 | 0 | b40d9d81463b41aca4c321ee26ae6b05b5192281 | 1,941 | jetlike | Apache License 2.0 |
app/src/main/java/org/bmsk/beomtube/data/VideoList.kt | AndroidStudy-bmsk | 639,497,085 | false | null | package org.bmsk.beomtube.data
import com.google.gson.annotations.SerializedName
data class VideoList(
@SerializedName("videos")
val videos: List<VideoEntity>
)
data class VideoEntity(
@SerializedName("id")
val id: String,
@SerializedName("title")
val title: String,
@SerializedName("sourc... | 0 | Kotlin | 0 | 0 | cb9b0ae2e5716642dbf0b5b57b78dff9a01e5afb | 650 | BeomTube | MIT License |
core/src/cz/veleto/aoc/core/PosUtils.kt | haluzpav | 573,073,312 | false | {"Kotlin": 164348} | package cz.veleto.aoc.core
import kotlin.math.abs
typealias Pos = Pair<Int, Int>
typealias Pos3 = Triple<Int, Int, Int>
operator fun List<String>.get(pos: Pos): Char = this[pos.first][pos.second]
operator fun Pos.plus(other: Pos): Pos = first + other.first to second + other.second
operator fun Pos.minus(other: Pos... | 0 | Kotlin | 0 | 1 | f42a04376bbaaa8d9a450ca378d21e9aea2cb3ec | 761 | advent-of-pavel | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.