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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/kotlin/me/rei_m/hbfavmaterial/viewmodel/widget/fragment/di/SettingFragmentViewModelModule.kt | rei-m | 45,727,691 | false | null | /*
* Copyright (c) 2017. <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 0 | Kotlin | 7 | 21 | 79ebe1d902212c681df05182bc4e0958b5767be7 | 1,096 | HBFav_material | Apache License 2.0 |
sdk/backend/src/main/kotlin/com/supertokens/sdk/recipes/thirdparty/providers/bitbucket/BitbucketGetUserResponse.kt | Appstractive | 656,572,792 | false | {"Kotlin": 415391, "Ruby": 2302} | package com.supertokens.sdk.recipes.thirdparty.providers.bitbucket
import kotlinx.serialization.Serializable
@Serializable
data class BitbucketGetUserResponse(
val uuid: String,
val email: String?,
)
| 5 | Kotlin | 1 | 3 | e4d0ff3664034d1c4981a0a2cdf58c3a053da2a7 | 210 | supertokens-kt | Apache License 2.0 |
app/src/main/java/cn/starrah/thu_course_helper/data/database/CalendarDatabase.kt | Starrah | 258,453,814 | false | null | package cn.starrah.thu_course_helper.data.database
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import cn.starrah.thu_course_helper.data.declares.calendarEntity.CalendarItemData
import cn.starrah.thu_course_... | 7 | Kotlin | 2 | 20 | 64a543518f9007e2b5a615582bd049acf5d2ada9 | 1,622 | THUCourseHelper | MIT License |
llama-stack-client-kotlin-core/src/main/kotlin/com/llama_stack_client/api/services/blocking/ShieldService.kt | meta-llama | 854,913,926 | false | {"Kotlin": 2020773, "Shell": 2562} | // File generated from our OpenAPI spec by Stainless.
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.llama_stack_client.api.services.blocking
import com.llama_stack_client.api.core.RequestOptions
import com.llama_stack_client.api.models.ShieldGetParams
import c... | 0 | Kotlin | 2 | 0 | ee76c5aec1d582dbbd2759d084ba16b8b74f04ea | 710 | llama-stack-client-kotlin | Apache License 2.0 |
app/src/main/java/com/kl3jvi/animity/data/repository/NotificationsRepositoryImpl.kt | kl3jvi | 286,457,139 | false | null | package com.kl3jvi.animity.data.repository
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import com.kl3jvi.animity.data.network.anilist_service.AniListGraphQlClient
import com.kl3jvi.animity.data.paging.NotificationPagingSource
import com.kl3jvi.animity.data.paging.... | 4 | Kotlin | 31 | 729 | f86d279827fd59974078676a03ec6a6a737f6740 | 1,076 | animity | MIT License |
shared/src/commonMain/kotlin/repository/SessionRepository.kt | sdercolin | 708,470,210 | false | null | package repository
import androidx.compose.runtime.staticCompositionLocalOf
import exception.SessionRenameExistingException
import exception.SessionRenameInvalidException
import io.Paths
import io.sessionsDirectory
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import model.Re... | 1 | null | 1 | 9 | 8ed61865b56192b1e484f2e36ddc0a33ec79e8e5 | 4,608 | recstar | Apache License 2.0 |
androidapp/app/src/main/java/eu/miaounyan/isthereanynetwork/utils/PermittedToast.kt | Tordesillas | 150,395,855 | false | {"Java": 40088, "Kotlin": 24332, "JavaScript": 16705, "Dockerfile": 380, "HTML": 176, "CSS": 111} | package eu.miaounyan.isthereanynetwork.utils
import android.content.Context
import android.widget.Toast
import eu.miaounyan.isthereanynetwork.MainActivity.PERMISSIONS
import eu.miaounyan.isthereanynetwork.service.PermissionManager
class PermittedToast(context: Context) : Toast(context) {
companion object {
... | 1 | null | 1 | 1 | bcb2e9e86f72e6986ea683052c0c678d9927e60c | 766 | IsThereAnyNetwork | MIT License |
travis-interface/src/main/java/com/kevalpatel2106/greenbuild/travisInterface/entities/TravisAuthor.kt | kevalpatel2106 | 129,620,378 | false | null | /*
* Copyright 2018 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
*
* Unless required by applicable law or agreed to in writing, s... | 6 | Kotlin | 14 | 75 | da9f2e64cd09848528f313d0e3188b7c40f4b3f7 | 1,215 | green-build | Apache License 2.0 |
data-app-data/src/main/java/com/melonhead/data_app_data/AppDataService.kt | taffyrat | 542,405,576 | false | null | package com.melonhead.mangadexfollower.services
import android.content.Context
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.edit
import androidx.datastore.... | 8 | Kotlin | 0 | 0 | ee2deda19aa43f7480da66f65ad7409cfe1c53a9 | 6,277 | mangadexdroid | Do What The F*ck You Want To Public License |
data-app-data/src/main/java/com/melonhead/data_app_data/AppDataService.kt | taffyrat | 542,405,576 | false | null | package com.melonhead.mangadexfollower.services
import android.content.Context
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.edit
import androidx.datastore.... | 8 | Kotlin | 0 | 0 | ee2deda19aa43f7480da66f65ad7409cfe1c53a9 | 6,277 | mangadexdroid | Do What The F*ck You Want To Public License |
src/main/kotlin/io/github/ydwk/ydwk/evm/event/events/user/GenericUserUpdateEvent.kt | YDWK | 527,250,343 | false | null | /*
* Copyright 2022 YDWK 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 agreed... | 9 | null | 1 | 2 | 7e479b29ddca2e0d9093ab8c5dae6892f5640d80 | 1,198 | YDWK | Apache License 2.0 |
src/main/kotlin/no/nav/navnosearchapi/service/search/queries/filterQueries.kt | navikt | 654,102,354 | false | {"Kotlin": 80618, "Dockerfile": 257} | package no.nav.navnosearchapi.service.search.queries
import org.opensearch.index.query.ExistsQueryBuilder
import org.opensearch.index.query.RangeQueryBuilder
import org.opensearch.index.query.TermQueryBuilder
import java.time.ZonedDateTime
fun termQuery(field: String, value: String): TermQueryBuilder {
return Ter... | 8 | Kotlin | 0 | 0 | c427296c1b74c2ea53022d8799a6e35806228c33 | 606 | navno-search-api | MIT License |
store/src/commonTest/kotlin/earth/levi/batterybird/store/commonTest.kt | levibostian | 640,550,940 | false | null | package earth.levi.batterybird.store
import kotlin.test.Test
import kotlin.test.assertTrue
class CommonGreetingTest {
@Test
fun testExample() {
assertTrue(true)
}
} | 0 | Kotlin | 0 | 0 | a060baeb7b5abf3d0069d932ed44dd339cc3bc57 | 187 | BatteryBird | MIT License |
codyze-backends/cpg/src/main/kotlin/de/fraunhofer/aisec/codyze/backends/cpg/coko/dsl/ImplementationDsl.kt | Fraunhofer-AISEC | 233,193,643 | false | {"Kotlin": 531673, "Java": 30004, "C++": 2542, "ANTLR": 1935, "Go": 1398, "Python": 617, "Dockerfile": 607} | /*
* Copyright (c) 2022, 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... | 30 | Kotlin | 18 | 86 | 2485254a467b6815a66268f1983a00fb59194390 | 13,237 | codyze | Apache License 2.0 |
app/src/main/java/com/aman/calculator/MainActivity.kt | officially-aman | 832,038,884 | false | {"Kotlin": 14193} | package com.aman.calculator
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.Cir... | 0 | Kotlin | 0 | 0 | bdaac99e01bc952177656574245198720885e208 | 10,213 | Calculator | MIT License |
app/src/main/java/com/nikola/jakshic/dagger/profile/peers/PeerFragment.kt | nikolajakshic | 113,763,638 | false | null | package com.nikola.jakshic.dagger.profile.peers
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.DividerItemDecorat... | 3 | Kotlin | 2 | 9 | b7e3c87cf68bdcc537cf0c56834eb72178c6be99 | 3,542 | dagger | MIT License |
app/src/main/java/cc/sovellus/vrcaa/api/vrchat/models/Notifications.kt | Nyabsi | 745,635,224 | false | {"Kotlin": 581921} | package cc.sovellus.vrcaa.api.vrchat.models
class Notifications : ArrayList<Notification>() | 0 | Kotlin | 3 | 38 | b45497cd686df2583ceb7b9cdefdd7ac2ee39b14 | 92 | VRCAA | Apache License 2.0 |
privacypolicygenerator/src/main/java/com/livin/privacypolicygenerator/WebViewFragment.kt | Livinlawrence | 332,658,293 | false | null | package com.livin.privacypolicygenerator
import android.os.Bundle
import android.view.*
import androidx.fragment.app.Fragment
import com.livin.privacypolicygenerator.Utils.shareFile
import kotlinx.android.synthetic.main.fragment_web_view.*
import kotlinx.coroutines.*
import java.io.File
private const val HTML_STRING ... | 0 | Kotlin | 1 | 3 | 5b4d5a6f263626740dd4895c1db6a6ef38159e61 | 2,516 | Privacy-Policy-Generator-Android-Library | MIT License |
app/src/test/java/hr/hofman/composednews/TestInject.kt | tomislavhofman | 244,845,184 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 64, "JSON": 1, "XML": 24, "Java": 1} | package hr.hofman.composednews
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import dagger.Component
import dagger.Module
import dagger.Provides
import hr.hofman.composednews.data.remote.NewsApiService
import hr.hofman.composednews.data.remote.NewsApiServiceTest
impo... | 1 | null | 1 | 1 | 5f8004a708ef5e2f21df5196689ee30fb5dc6526 | 1,764 | Composed-News | MIT License |
androidApp/src/main/java/com/nkuppan/todo/ui/viewmodel/TaskCreateViewModel.kt | nkuppan | 315,671,446 | false | {"Kotlin": 101459, "Swift": 4233, "Ruby": 2126} | package com.nkuppan.todo.ui.viewmodel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.nkuppan.todo.R
import com.nkuppan.todo.ToDoApplication
import com.nkuppan.todo... | 0 | Kotlin | 0 | 1 | afec61eb4aae7d95ba324885a799ccc0289c2d45 | 8,718 | todo-kmm | Apache License 2.0 |
app/src/main/java/com/josealfonsomora/lastfmmusic/repository/RepositoryModule.kt | josealfonsomora | 274,365,689 | false | null | package com.josealfonsomora.lastfmmusic.repository
import org.koin.dsl.module
fun provideRepositoryModule() = module {
single { AlbumRepository(get()) }
}
| 0 | Kotlin | 0 | 0 | 60ff459a7e4168750dac8ab55a9337cece133349 | 161 | last-fm-music | Apache License 2.0 |
src/Day02.kt | MisterTeatime | 560,956,854 | false | null | fun main() {
/*
A, X = Rock
B, Y = Paper
C, Z = Scissors
*/
fun part1(input: List<String>): Int {
val duelPoints = mapOf(
"AX" to 3 + 1, //Rock, Rock, Draw
"AY" to 6 + 2, //Rock, Paper, Win
"AZ" to 0 + 3, //Rock, Scissors, Loss
... | 0 | Kotlin | 0 | 0 | 8ba0c36992921e1623d9b2ed3585c8eb8d88718e | 1,672 | AoC2022 | Apache License 2.0 |
promptkt/src/test/kotlin/tri/ai/openai/OpenAiTest.kt | aplpolaris | 663,584,917 | false | null | /*-
* #%L
* tri.promptfx:promptkt
* %%
* Copyright (C) 2023 - 2024 Johns Hopkins University Applied Physics Laboratory
* %%
* 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
*
* h... | 41 | null | 1 | 9 | 5fe1926c11bd425b9db2053da5a921994668737e | 6,874 | promptfx | Apache License 2.0 |
native/swift/sir/gen/org/jetbrains/kotlin/sir/SirDeclaration.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// This file was generated automatically. See native/swift/sir/tree-generator/Readme.md.
// DO NOT MODIFY IT M... | 184 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 634 | kotlin | Apache License 2.0 |
projects/wotw-server/src/jsMain/kotlin/wotw/web/ui/bingo/BingoCardComponents.kt | toadettexmushina | 323,713,503 | true | {"C": 48200095, "C++": 47718744, "C#": 1321323, "Kotlin": 174656, "Scala": 116016, "AutoHotkey": 76512, "CMake": 40937, "Objective-C": 9352, "Batchfile": 2888, "CSS": 1766, "JavaScript": 1623, "Shell": 622, "HTML": 262} | package wotw.web.ui.bingo
import io.ktor.client.request.*
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import kotlinx.css.*
import kotlinx.css.properties.border
import kotlinx.html.js.onClickFunction
import react.*
import react.dom.p
import styled.css
import styled.styledDiv
import styled.sty... | 0 | null | 0 | 0 | bc61f913fa87ad7e38b87d2f109eb47bf98fa24c | 9,421 | OriWotwRandomizerClient | MIT License |
shared/src/commonMain/kotlin/AbstractRowBuilder.kt | fcopardo | 643,314,635 | false | null | import androidx.compose.foundation.layout.Arrangement
import androidx.compose.ui.Alignment
abstract class AbstractRowBuilder<T>(id : String) : composable<T>(id) where T : composable<T> {
protected var horizontalArrangement: Arrangement.Horizontal = Arrangement.Start
protected var verticalAlignment: Alignment.... | 0 | Kotlin | 0 | 0 | 163b5d8d3988b17ec2e2df75131b90c5e68abb2d | 674 | kmm-compose-playground | Apache License 2.0 |
src/test/kotlin/org/incava/mmonkeys/trials/rand/StrGenList.kt | jpace | 483,382,354 | false | {"Kotlin": 263784, "Ruby": 674} | package org.incava.mmonkeys.trials.rand
import org.incava.mmonkeys.trials.rand.StrRand.Constants.NUM_CHARS
import org.incava.rando.RandSlottedGenList
import kotlin.random.Random
class StrGenList : StrLenRand() {
private val lengthRand = RandSlottedGenList(NUM_CHARS + 1, 100, 10000)
override fun randomLength()... | 0 | Kotlin | 0 | 0 | b359710848fa9e5126eadd20bb66e1f1d900ac24 | 498 | mmonkeys | MIT License |
vector/src/test/java/im/vector/app/features/onboarding/RegistrationWizardActionDelegateTest.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright (c) 2022 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 4 | Kotlin | 6 | 9 | 02c555858daab03fd2bdac159efd55961f3b6ebe | 6,784 | tchap-android | Apache License 2.0 |
src/main/kotlin/dev/paulshields/aoc/day14/Bitmask.kt | Pkshields | 318,658,287 | false | null | package dev.paulshields.aoc.day14
data class Bitmask(val onesMask: Long, val zerosMask: Long) {
companion object {
val zero = Bitmask(0, 0)
fun fromString(input: String) =
Bitmask(createMaskFromString(input, 0), createMaskFromString(input, 1))
private fun createMaskFromString(... | 0 | Kotlin | 0 | 0 | a7bd42ee17fed44766cfdeb04d41459becd95803 | 521 | AdventOfCode2020 | MIT License |
sdk/analytics/src/test/java/com/klaviyo/analytics/networking/requests/BaseRequestTest.kt | klaviyo | 282,284,680 | false | null | package com.klaviyo.analytics.networking.requests
import com.klaviyo.analytics.DeviceProperties
import com.klaviyo.fixtures.BaseTest
import io.mockk.every
import io.mockk.mockkObject
import org.junit.Before
internal open class BaseRequestTest : BaseTest() {
@Before
override fun setup() {
super.setup(... | 0 | Kotlin | 2 | 6 | a8b4f5751f5f204c0f5a9548148f4b6a138f5ce7 | 1,355 | klaviyo-android-sdk | MIT License |
core/platform-services/interactor/src/androidMain/kotlin/org/michaelbel/movies/platform/analytics/AnalyticsService.kt | michaelbel | 115,437,864 | false | {"Kotlin": 908384, "Swift": 692, "HTML": 606, "Shell": 235} | @file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING")
package org.michaelbel.movies.platform.analytics
import android.os.Bundle
actual interface AnalyticsService {
val screenView: String
val screenName: String
fun logEvent(name: String, params: Bundle)
} | 8 | Kotlin | 36 | 271 | 1da1d67e093ecb76057a06da0ef17f746ca06888 | 282 | movies | Apache License 2.0 |
app/src/main/java/galaxy/qiitaviewer/type/FragmentType.kt | galaxyginx | 126,269,424 | false | null | package galaxy.qiitaviewer.type
import galaxy.qiitaviewer.R
enum class FragmentType(val navigation: NavigationType, var title: String, val menu: Int) {
HOME(NavigationType.USER, "Home", R.menu.home_menu),
ARTICLE(NavigationType.USER, "Article", R.menu.home_menu),
STOCKS(NavigationType.NONE, "Stocks", R.me... | 0 | Kotlin | 0 | 0 | e27389f63e267d04bd0ab76a62d2d6a83c917ccb | 578 | QiitaViewer-Android | Apache License 2.0 |
src/test/kotlin/io/openfuture/api/component/web3/TransactionHandlerTests.kt | ag68 | 189,033,602 | true | {"Kotlin": 209202, "JavaScript": 168887, "CSS": 46474, "FreeMarker": 23569, "HTML": 2076, "Dockerfile": 167} | package io.openfuture.api.component.web3
import io.openfuture.api.component.web3.event.ProcessorEventDecoder
import io.openfuture.api.config.UnitTest
import io.openfuture.api.config.any
import io.openfuture.api.entity.auth.OpenKey
import io.openfuture.api.entity.auth.User
import io.openfuture.api.entity.scaffold.Scaff... | 0 | Kotlin | 0 | 0 | 08de820966c15f54ee19c47c435acb025016157b | 2,517 | open-api | Apache License 2.0 |
app/src/test/java/io/github/mklkj/filmowy/api/repository/FilmRepositoryTest.kt | mklkj | 166,846,534 | false | {"HTML": 181836, "Kotlin": 179891} | package io.github.mklkj.filmowy.api.repository
import io.github.mklkj.filmowy.api.BaseApiTest
import io.github.mklkj.filmowy.api.pojo.FilmPerson
import okhttp3.JavaNetCookieJar
import okhttp3.mockwebserver.MockResponse
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Test
import... | 1 | HTML | 0 | 7 | e7f01ad5d0771254e907e59aa4df4ef0e6fd7293 | 8,756 | filmowy | Apache License 2.0 |
app/src/main/java/top/easelink/lcg/ui/main/source/local/SPConstants.kt | cnandroidlib | 229,791,673 | true | {"Kotlin": 176842, "Java": 158327, "HTML": 533} | package top.easelink.lcg.ui.main.source.local
const val SP_KEY_LOGGED_IN = "sp_key_logged_in"
const val SP_KEY_AUTO_SIGN_IN = "sp_key_auto_sign_in"
const val SP_KEY_SYNC_FAVORITE = "sp_key_sync_favorite"
const val SP_KEY_USER_NAME = "sp_key_user_name" | 0 | null | 0 | 0 | 46c21834111c3eaca4e986f49390313320dfef84 | 253 | lcg | MIT License |
src/commonMain/kotlin/exception/InvalidWorldException.kt | drakon64 | 586,358,669 | false | null | package cloud.drakon.ktuniversalis.exception
/**
* The world requested is invalid.
*/
class InvalidWorldException(message: String = "The world requested is invalid"):
Throwable(message)
| 3 | Kotlin | 0 | 0 | 7b2b2297404f82c6cd80a7254b361a39561a3565 | 193 | KtUniversalis | MIT License |
libraries/navigation/src/nonAndroidMain/kotlin/com/hoc081098/compose_multiplatform_kmpviewmodel_sample/navigation/internal/MultiStackNavigationExecutor.kt | hoc081098 | 675,918,221 | false | {"Kotlin": 173732, "Swift": 580, "Shell": 228, "Ruby": 143} | /**
* Copied from [com.freeletics.khonshu.navigation.internal.MultiStackNavigationExecutor.kt](https://github.com/freeletics/khonshu/blob/1e7732b44e1abf04e2e7468c99300dc140132da1/navigation-experimental/src/main/kotlin/com/freeletics/khonshu/navigation/compose/internal/MultiStackNavigationExecutor.kt).
*/
package co... | 12 | Kotlin | 4 | 8 | b5ab12979e96f40ade3b64324e3f8f9f18ea806a | 2,787 | Compose-Multiplatform-KmpViewModel-Unsplash-Sample | Apache License 2.0 |
src/test/kotlin/no/nav/bidrag/stonad/BidragStonadTest.kt | navikt | 360,850,317 | false | null | package no.nav.bidrag.stonad
import no.nav.bidrag.stonad.BidragStonadTest.Companion.TEST_PROFILE
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotatio... | 7 | Kotlin | 0 | 0 | f6e31fbcc14b71789837a54b022bbbbad7fb53cf | 888 | bidrag-stonad | MIT License |
RenameTest/rename-annotation/src/main/java/nl/peperzaken/renameannotation/Rename.kt | peperzaken | 139,128,693 | false | {"Text": 1, "Gradle": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 4, "Batchfile": 1, "Proguard": 1, "Kotlin": 6, "XML": 9, "Java": 1} | package nl.peperzaken.renameannotation
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
annotation class Rename | 0 | Kotlin | 0 | 0 | 6d59d38a9733d2172a85b0ac7f61aaaec8652b04 | 137 | kotlin-annotation-rename-test | MIT License |
app/src/main/java/org/rfcx/incidents/view/report/deployment/detail/edit/EditDeploymentSiteActivity.kt | rfcx | 104,899,135 | false | {"Kotlin": 1176262, "Java": 1049} | package org.rfcx.incidents.view.report.deployment.detail.edit
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import org.rf... | 30 | Kotlin | 0 | 0 | cbcb9402733a959104aff97f26d04244b73bc109 | 2,677 | guardian-app-android | Apache License 2.0 |
database/src/main/java/com/allsoftdroid/database/common/AudioBookDatabase.kt | pravinyo | 209,936,085 | false | null | package com.allsoftdroid.database.common
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.allsoftdroid.database.bookListDB.AudioBookDao
import com.allsoftdroid.database.bookListDB.DatabaseAudioBook
import com.allsoftdroid.database.liste... | 3 | null | 4 | 12 | 8358f69c0cf8dbde18904b0c3a304ec89b518c9b | 2,336 | AudioBook | MIT License |
plugins/kotlin/idea/tests/testData/codeInsight/lineMarker/overrideImplement/FakeOverrideFun.kt | ingokegel | 72,937,917 | false | null | interface <lineMarker>A</lineMarker> {
fun <lineMarker>f</lineMarker>() {}
}
interface <lineMarker>B</lineMarker> : A
interface <lineMarker>C</lineMarker> : B, A
class SomeClass() : C {
override fun <lineMarker descr="Overrides function in A Press ... to navigate">f</lineMarker>() {}
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 293 | intellij-community | Apache License 2.0 |
shared/src/androidMain/kotlin/dev/sasikanth/rss/reader/network/AndroidAtomParser.kt | msasikanth | 632,826,313 | false | null | /*
* Copyright 2023 Sasikanth Miriyampalli
*
* 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... | 9 | null | 15 | 257 | f09d0e88ac4f611fe88b7022abf5781b81dcb48c | 6,000 | reader | Apache License 2.0 |
app/src/main/kotlin/learnopengl/App.kt | ludovig | 787,352,861 | false | {"Kotlin": 103535, "GLSL": 3219} | package learnopengl
import learnopengl.a_getting_started.HelloWindow
fun main() {
println()
println("Current available tasks:")
println("------------------------")
println("\nGetting Started")
println("---------------")
println("\n\t1. Hello Window")
println("\t---------------")
printl... | 0 | Kotlin | 0 | 1 | afb7d529a690ba81570389161a1f99937a7e0b25 | 1,243 | learnopengl | MIT License |
data/src/main/java/com/ttstranslate/data/storage/dao/FavoritesDao.kt | yiva93 | 510,226,294 | false | {"Kotlin": 188705} | package com.ttstranslate.data.storage.dao
import androidx.paging.DataSource
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.ttstranslate.data.storage.entity.FavoritesEntity
import kotlinx.coroutines.flow.Flow
@Dao
interface FavoritesDa... | 0 | Kotlin | 0 | 0 | 7025799cf3288b6f982074ed956edfdc4677f5e0 | 1,194 | TTSTranslateSample | Apache License 2.0 |
moneyedittext-kotlin/src/main/kotlin/com/shuhart/moneyedittext/MoneyTextUtils.kt | shuhart | 107,895,930 | false | null | package com.shuhart.moneyedittext
import android.text.InputType
import android.text.method.DigitsKeyListener
import android.text.method.KeyListener
import java.text.NumberFormat
import java.util.*
object MoneyTextUtils {
@Suppress("DEPRECATION")
fun buildKeyListener(acceptedChars: CharArray): KeyListener {
... | 1 | Kotlin | 2 | 9 | 5f34c950ae134de96dfca99417dad5e58842b62e | 2,858 | MoneyEditText | Apache License 2.0 |
extension/junit5-platform-8/src/main/kotlin/org/camunda/community/process_test_coverage/junit5/platform8/ProcessEngineCoverageExtension.kt | camunda-community-hub | 43,815,708 | false | null | /*-
* #%L
* Camunda Process Test Coverage JUnit5 Platform 8
* %%
* Copyright (C) 2019 - 2024 Camunda
* %%
* 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.o... | 9 | null | 47 | 76 | f984f9cd2b15ef33528d0d50d147a0004dc2d79e | 6,369 | camunda-process-test-coverage | Apache License 2.0 |
extension/junit5-platform-8/src/main/kotlin/org/camunda/community/process_test_coverage/junit5/platform8/ProcessEngineCoverageExtension.kt | camunda-community-hub | 43,815,708 | false | null | /*-
* #%L
* Camunda Process Test Coverage JUnit5 Platform 8
* %%
* Copyright (C) 2019 - 2024 Camunda
* %%
* 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.o... | 9 | null | 47 | 76 | f984f9cd2b15ef33528d0d50d147a0004dc2d79e | 6,369 | camunda-process-test-coverage | Apache License 2.0 |
src/main/kotlin/turniplabs/industry/blocks/entities/TileEntityCompressor.kt | FatherCheese | 673,567,283 | false | {"Kotlin": 207937, "Java": 3827} | package turniplabs.industry.blocks.entities
import com.mojang.nbt.CompoundTag
import com.mojang.nbt.ListTag
import net.minecraft.core.entity.player.EntityPlayer
import net.minecraft.core.item.ItemStack
import net.minecraft.core.player.inventory.IInventory
import sunsetsatellite.energyapi.impl.ItemEnergyContainer
impor... | 1 | Kotlin | 2 | 1 | 66419a1444ec93518f067eb43fcd723f9ecc2268 | 6,635 | Industry2 | Creative Commons Zero v1.0 Universal |
oauth/src/main/java/jp/co/soramitsu/oauth/base/navigation/NavigationExt.kt | sora-xor | 610,919,196 | false | null | package jp.co.soramitsu.oauth.base.navigation
import android.os.Bundle
import androidx.compose.animation.AnimatedVisibilityScope
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.tween
import androidx.compose.animation.slideInHorizontally
import androidx.compose.animatio... | 18 | Kotlin | 1 | 2 | 410fe1823630ef60c8c9584014f91caf03fd6656 | 2,077 | sora-card-android | Apache License 2.0 |
travis-interface/src/main/java/com/kevalpatel2106/greenbuild/travisInterface/response/BranchesResponse.kt | kevalpatel2106 | 129,620,378 | false | null | package com.kevalpatel2106.greenbuild.travisInterface.response
import com.google.gson.annotations.SerializedName
import com.kevalpatel2106.greenbuild.travisInterface.entities.TravisBranch
internal data class BranchesResponse(
@field:SerializedName("branches")
val branches: ArrayList<TravisBranch>,
@field:Serializ... | 6 | Kotlin | 14 | 75 | da9f2e64cd09848528f313d0e3188b7c40f4b3f7 | 707 | green-build | Apache License 2.0 |
src/test/kotlin/no/nav/permitteringsportal/database/DatabaseTest.kt | navikt | 435,468,925 | false | {"Kotlin": 54535, "Dockerfile": 91} | package no.nav.permitteringsportal.database
import no.nav.permitteringsportal.setup.issuerConfig
import no.nav.permitteringsportal.startLokalApp
import no.nav.security.mock.oauth2.MockOAuth2Server
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import java.util.*
import kotlin.test.assertEquals... | 0 | Kotlin | 0 | 0 | aa1dc34de424934e00835ff17e8b5015d6c23617 | 2,787 | permitteringsportal-api | MIT License |
hideout-core/src/main/kotlin/dev/usbharu/hideout/application/config/OwlConfig.kt | usbharu | 627,026,893 | false | {"Kotlin": 1472831, "Mustache": 111614, "Gherkin": 21440, "JavaScript": 1112, "HTML": 936} | /*
* Copyright (C) 2024 usbharu
*
* 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... | 41 | Kotlin | 0 | 11 | 1c18c6d0dcbd3079ad64f8d211e877c7c41520ed | 3,372 | Hideout | Apache License 2.0 |
graph/graph-application/src/test/kotlin/eu/tib/orkg/prototype/contenttypes/services/ContributionServiceUnitTests.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 2994730, "Cypher": 216833, "Python": 4881, "Groovy": 1936, "Shell": 1803, "HTML": 240} | package org.orkg.contenttypes.domain
import io.kotest.assertions.asClue
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import java.util.*
import org.junit.jupiter.api.Test
import org.orkg.common.PageRequests
import org.orkg.g... | 0 | Kotlin | 2 | 5 | 8739ce33adc28e780a0c98771cd0c91b63dc922a | 2,571 | orkg-backend | MIT License |
common/src/main/java/com/prosabdev/common/roomdatabase/repositories/equalizer/EqualizerPresetBandLevelItemRepository.kt | 4kpros | 555,755,264 | false | {"Kotlin": 948923, "Java": 1923} | package com.prosabdev.common.roomdatabase.repositories.equalizer
import android.content.Context
import com.prosabdev.common.models.equalizer.EqualizerPresetBandLevelItem
import com.prosabdev.common.roomdatabase.AppDatabase
import com.prosabdev.common.roomdatabase.dao.equalizer.EqualizerPresetBandLevelItemDao
import ko... | 0 | Kotlin | 0 | 2 | c9363fa150d1cd34b0fac119c825bfe75e2f96e1 | 2,674 | FluidMusic | Apache License 2.0 |
idea/tests/org/jetbrains/kotlin/idea/lightClasses/LightElementsEqualsTest.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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 agre... | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 4,552 | kotlin | Apache License 2.0 |
backend/src/main/kotlin/org/beckn/one/sandbox/bap/client/discovery/controllers/SearchController.kt | beckn | 508,229,088 | false | null | package org.beckn.one.sandbox.bap.client.discovery.controllers
import org.beckn.one.sandbox.bap.client.discovery.services.ProtocolSearchService
import org.beckn.one.sandbox.bap.client.shared.dtos.SearchRequestDto
import org.beckn.one.sandbox.bap.client.shared.services.LoggingService
import org.beckn.one.sandbox.bap.fa... | 10 | Kotlin | 1 | 0 | 2b26c557bb9b3e32bfbbfcc941e9526532947d90 | 2,630 | mobility-BAP | MIT License |
backend/mandalore-express-infra/src/main/kotlin/com/beyondxscratch/mandaloreexpress/infrastructure/rest/resources/search/Price.kt | davidaparicio | 761,161,576 | false | {"Kotlin": 198124, "JavaScript": 37294, "HTML": 1661, "CSS": 365} | package com.beyondxscratch.mandaloreexpress.infrastructure.rest.resources.search
import com.beyondxscratch.mandaloreexpress.domain.money.Currency
import com.beyondxscratch.mandaloreexpress.infrastructure.rest.resources.Resource
import java.math.BigDecimal
import com.beyondxscratch.mandaloreexpress.domain.search.spacet... | 8 | Kotlin | 0 | 0 | 05dc41e2a5a5ea47ef5d688177631ffa9923fe11 | 500 | model-mitosis | Apache License 2.0 |
app/src/main/kotlin/me/oikvpqya/apps/music/media3/AppMediaControllerImpl.kt | oikvpqya | 835,137,893 | false | {"Kotlin": 288415, "HTML": 303} | package me.oikvpqya.apps.music.media3
import android.content.ComponentName
import android.content.Context
import androidx.media3.common.MediaItem
import androidx.media3.common.Player
import androidx.media3.session.MediaController
import androidx.media3.session.SessionToken
import kotlinx.coroutines.CoroutineScope
impo... | 0 | Kotlin | 0 | 0 | eb46d4bd66e9e8f079b886dc15163d9753636ebf | 11,560 | nextro | Apache License 2.0 |
waypoints-api/src/main/kotlin/de/md5lukas/waypoints/api/BeaconColor.kt | Sytm | 211,378,928 | false | null | package de.md5lukas.waypoints.api
import org.bukkit.Material
/**
* This class represents all possible beacon beam colors that can be created with one colored glass block
*/
enum class BeaconColor(val material: Material) {
/**
* Beacon is covered with [Material.GLASS]
*/
CLEAR(Material.GLASS),
... | 3 | Kotlin | 3 | 12 | 9a69b00457a7308507dea14a54199abb181a6b90 | 2,322 | waypoints | MIT License |
src/main/java/me/han/muffin/client/command/commands/ConnectCommand.kt | SmallFishDD | 425,272,585 | false | {"Kotlin": 1725682, "Java": 943392, "GLSL": 15937} | package me.han.muffin.client.command.commands
import me.han.muffin.client.command.Argument
import me.han.muffin.client.command.Command
import me.han.muffin.client.core.Globals
import net.minecraft.client.gui.GuiMainMenu
import net.minecraft.client.gui.GuiMultiplayer
import net.minecraft.client.multiplayer.GuiConnectin... | 1 | Kotlin | 2 | 2 | 13235eada9edd9ccca039dea4d3a59cc7a930830 | 902 | muffin-0.10.4-src-leaked | MIT License |
ktlint-ruleset-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/rules/importordering/ImportOrderingRuleIdeaTest.kt | pinterest | 64,293,719 | false | {"Kotlin": 3159822, "Shell": 4162, "Batchfile": 518, "Python": 103} | package com.pinterest.ktlint.ruleset.standard.importordering
import com.pinterest.ktlint.core.api.FeatureInAlphaState
import com.pinterest.ktlint.ruleset.standard.ImportOrderingRule
import com.pinterest.ktlint.test.KtLintAssertThat.Companion.assertThat
import com.pinterest.ktlint.test.LintViolation
import org.junit.ju... | 64 | Kotlin | 509 | 6,205 | 80c4d5d822d47bb7077a874ebb9105097f2eb1c2 | 9,585 | ktlint | MIT License |
shared/core/utils/src/main/kotlin/ru/hh/plugins/extensions/psi/PsiClassExt.kt | XiaMuYao | 322,474,012 | true | {"Kotlin": 421608, "Shell": 3230} | package ru.hh.plugins.extensions.psi
import com.intellij.psi.PsiClass
import com.intellij.psi.util.InheritanceUtil
fun PsiClass.isInheritedFrom(fullyQualifiedClassName: String): Boolean {
return InheritanceUtil.isInheritor(this, fullyQualifiedClassName)
} | 0 | null | 0 | 1 | a2328efbcb05c01e644f9eb2cd59848d7ba9f6e6 | 262 | android-multimodule-plugin | MIT License |
app/src/main/java/go/deyu/stupidgame2/presentation/theme/Color.kt | DeyuGoGo | 618,735,859 | false | null | package go.deyu.stupidgame2.presentation.theme
import androidx.compose.ui.graphics.Color
val Purple80 = Color(0xFFD0BCFF)
val PurpleGrey80 = Color(0xFFCCC2DC)
val Pink80 = Color(0xFFEFB8C8)
val Teal200 = Color(0xFF03DAC5)
val Teal700 = Color(0xFF018786)
val Amber200 = Color(0xFFFFE082)
val Amber700 = Color(0xFFFFA000... | 0 | Kotlin | 0 | 0 | a9856f73ffe873f3afadf78d90e4d442b4319534 | 422 | StupidGame2 | Apache License 2.0 |
app/src/main/java/ru/tech/imageresizershrinker/data/image/filters/BilaterialBlurFilter.kt | T8RIN | 478,710,402 | false | null | package ru.tech.imageresizershrinker.data.image.filters
import android.content.Context
import android.graphics.Bitmap
import jp.co.cyberagent.android.gpuimage.filter.GPUImageBilateralBlurFilter
import jp.co.cyberagent.android.gpuimage.filter.GPUImageFilter
import ru.tech.imageresizershrinker.domain.image.filters.Filte... | 20 | null | 77 | 979 | 7d164a02c463afede47c785f8b182c954abfcde9 | 671 | ImageToolbox | Apache License 2.0 |
libraries/csm.cloud.common.web/src/main/kotlin/com/bosch/pt/csm/cloud/common/facade/rest/LinkUtils.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 - 2021
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.common.facade.rest
import java.util.regex.Pattern
import org.spri... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 3,154 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/com/github/kazukinr/android/sample/ui/exo_player_sample/ExoPlayerSampleFragment.kt | kazukinr | 185,600,625 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 4, "XML": 27, "Kotlin": 70} | package com.github.kazukinr.android.sample.ui.exo_player_sample
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import com.github.kazukinr.android.sample.R
import com.github.kazukinr.an... | 1 | null | 1 | 1 | f0254984745a260e53ace6505fc5ceb6edfc8192 | 2,164 | android-project-sample | Apache License 2.0 |
app/src/main/java/xyz/felixb/starwars/di/SwapiModule.kt | FlxB2 | 707,994,622 | false | {"Kotlin": 52364, "Java": 176} | package xyz.felixb.starwars.di
import android.util.Log
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import dev.swapi.client.apis.DefaultApi
import dev.swapi.client.infrastructure.ApiClient
import javax.inject.Singleton
/**
* Module to provi... | 0 | Kotlin | 0 | 0 | 417bb473f63bd76407105b99e53b1632f6d1bcfd | 778 | AndroidStarWarsSample | Apache License 2.0 |
core/src/main/java/com/albro/storyapp/core/domain/models/Story.kt | rifkyhaekal | 640,716,208 | false | null | package com.albro.storyapp.core.domain.models
data class Story(
val id: String,
val name: String,
val description: String,
val photoUrl: String,
)
| 0 | Kotlin | 0 | 1 | 606a83047bc734d616615d70bf5b7bf9026a4be5 | 164 | StoryApp | MIT License |
src/main/kotlin/xyz/attacktive/plugins/Routing.kt | Attacktive | 867,967,479 | false | {"Kotlin": 2850} | package xyz.attacktive.plugins
import io.ktor.http.ContentType
import io.ktor.server.application.Application
import io.ktor.server.application.install
import io.ktor.server.response.respondText
import io.ktor.server.routing.get
import io.ktor.server.routing.routing
import io.ktor.server.webjars.Webjars
fun Applicatio... | 0 | Kotlin | 0 | 0 | 774a0e7ac86eb07cc62c5342a53eb41334354e92 | 600 | ktor-sample | MIT License |
plugins/kotlin/completion/testData/basic/java/syntheticExtensions/ShowGetSetOnSecondCompletion.kt | ingokegel | 72,937,917 | false | null | fun foo(thread: Thread) {
thread.<caret>
}
// IGNORE_K2
// INVOCATION_COUNT: 2
// EXIST: { lookupString: "priority", itemText: "priority", tailText: " (from getPriority()/setPriority())", typeText: "Int", icon: "org/jetbrains/kotlin/idea/icons/field_variable.svg"}
// EXIST: getPriority
// EXIST: setPriority
| 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 314 | intellij-community | Apache License 2.0 |
compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters/NoNamedArgsAllowed.fir.kt | android | 263,405,600 | false | null | // !WITH_NEW_INFERENCE
// FILE: KotlinFile.kt
fun foo(javaClass: JavaClass) {
javaClass.doSomething(p = 1) {
bar()
}
}
fun bar(){}
// FILE: JavaClass.java
public class JavaClass {
public void doSomething(int p, Runnable runnable) { runnable.run(); }
} | 0 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 273 | kotlin | Apache License 2.0 |
telegram-bot/src/jvmTest/kotlin/eu/vendeli/api/botactions/SetMyActionsTest.kt | vendelieu | 496,567,172 | false | null | package eu.vendeli.api.botactions
import BotTestContext
import eu.vendeli.tgbot.api.botactions.deleteMyCommands
import eu.vendeli.tgbot.api.botactions.getMyCommands
import eu.vendeli.tgbot.api.botactions.getMyDefaultAdministratorRights
import eu.vendeli.tgbot.api.botactions.getMyDescription
import eu.vendeli.tgbot.api... | 6 | null | 14 | 176 | 41d50ea8fd014cb31b61eb5c2f4a4bebf4736b45 | 4,826 | telegram-bot | Apache License 2.0 |
app/src/main/java/com/seven_sheesh/greventure/data/repository/BubblePhotoRepositoryImpl.kt | ahargunyllib | 846,841,295 | false | {"Kotlin": 453189} | package com.seven_sheesh.greventure.data.repository
import android.app.Application
import android.content.ContentResolver
import android.net.Uri
import android.util.Log
import com.seven_sheesh.greventure.domain.model.BubblePhoto
import com.seven_sheesh.greventure.domain.repository.BubblePhotoRepository
import io.githu... | 0 | Kotlin | 1 | 0 | 8735831666609ec8f4e017c5120dbe6fbe241916 | 6,697 | Greventure | MIT License |
app/src/main/java/com/fredporciuncula/daggerjourney/business/BusinessUtil.kt | tfcporciuncula | 178,914,410 | false | null | package com.fredporciuncula.daggerjourney.business
import android.content.Context
import android.content.SharedPreferences
import com.fredporciuncula.daggerjourney.R
import dagger.Reusable
import timber.log.Timber
import javax.inject.Inject
@Reusable
class BusinessUtil @Inject constructor(
private val context: Cont... | 0 | Kotlin | 4 | 99 | 555b0258f9fd0f4b674a8fc91c3a92d3d61ec032 | 692 | dagger-journey | Apache License 2.0 |
app/src/main/java/com/mikhailgrigorev/simple_password/common/utils/Constants.kt | grigorevmp | 268,231,866 | false | {"Kotlin": 276476, "AIDL": 8443} | package com.mikhailgrigorev.simple_password.common.utils
const val authorTelegramLink = "https://t.me/grigorevmp"
const val authorGitHubLink = "https://github.com/grigorevmp"
const val Dg_WPX_GitHubLink = "https://github.com/WaifuPX-DG"
const val authorBaseMail = "<EMAIL>" | 2 | Kotlin | 2 | 33 | 20ab0beb627cf8f8fe11af1eb1337f45614651ea | 274 | Simple_Passwords_QuickPass | MIT License |
library/src/main/kotlin/de/eternalwings/focus/storage/data/WithOperation.kt | kumpelblase2 | 259,880,502 | false | null | package de.eternalwings.focus.storage.data
interface WithOperation {
val operation: Operation
}
| 1 | Kotlin | 0 | 5 | 80ed810a66a954739219ac73af3d1e626f55c58c | 101 | focus | Apache License 2.0 |
core/src/main/java/com/hxw/core/adapter/SimpleRecyclerAdapter.kt | huxiaowei008 | 135,882,287 | false | {"Kotlin": 170604, "Java": 119250} | package com.hxw.core.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.recyclerview.widget.RecyclerView
/**
* RecyclerView的Adapter简单封装
*
* @author hxw
* @date 2019/1/28
*/
class SimpleRecyclerAdapter<T>(@param:L... | 0 | Kotlin | 0 | 2 | a5785cfbfd74e6c7399514a0bb2730083ddf3e4a | 1,332 | WanAndroid | Apache License 2.0 |
SKIE/skie-gradle/plugin-api/src/main/kotlin/co/touchlab/skie/plugin/util/BooleanProperty.takeIf.kt | touchlab | 685,579,240 | false | {"Kotlin": 1644009, "Swift": 6029, "Shell": 1040} | package co.touchlab.skie.plugin.util
import org.gradle.api.provider.Property
internal infix fun <T> T.takeIf(property: Property<Boolean>): T? =
this.takeIf { property.orNull ?: false }
| 9 | Kotlin | 8 | 735 | b96044d4dec91e4b85c5b310226c6f56e3bfa2b5 | 191 | SKIE | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/rtc/RTCIceGathererState.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.rtc
import seskar.js.JsValue
sealed external interface RTCIceGathererState {
companion object {
@JsValue("complete")
val complete: RTCIceGathererState
@JsValue("gathering")
val gathering: RTCIceGathererState
@JsValu... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 374 | types-kotlin | Apache License 2.0 |
src/test/kotlin/io/vlang/lang/parser/ParserTestBase.kt | vlang | 754,996,747 | false | {"Kotlin": 1648092, "V": 250415, "Java": 68641, "Lex": 20424, "HTML": 6275} | package org.vlang.lang.parser
import com.intellij.lang.ParserDefinition
import com.intellij.testFramework.ParsingTestCase
import java.io.IOException
abstract class ParserTestBase(dataPath: String, fileExt: String, vararg definitions: ParserDefinition) : ParsingTestCase(dataPath, fileExt, *definitions) {
override ... | 4 | Kotlin | 5 | 33 | 5b05a7b1f71ef8dcd7f26425a756259081fe5122 | 1,321 | intellij-v | MIT License |
gradle-plugin-integration-test-utils/src/main/kotlin/org/unbrokendome/gradle/pluginutils/test/integration/junit/SetupProjectDirAnnotationBased.kt | unbroken-dome | 332,452,514 | false | null | package org.unbrokendome.gradle.pluginutils.test.integration.junit
import org.junit.jupiter.api.extension.BeforeAllCallback
import org.junit.jupiter.api.extension.ExtensionContext
import org.unbrokendome.gradle.pluginutils.test.DirectoryBuilder
import org.unbrokendome.gradle.pluginutils.test.directory
import org.unbro... | 0 | Kotlin | 0 | 0 | 56f3868043230d0f7fafc011e3850c85e11f25c3 | 3,582 | gradle-plugin-utils | MIT License |
erc20/api/src/main/kotlin/com/rarible/protocol/erc20/api/configuration/Erc20IndexerApiConfiguration.kt | NFTDroppr | 418,665,809 | true | {"Kotlin": 2329156, "Scala": 37343, "Shell": 6001, "HTML": 547} | package com.rarible.protocol.erc20.api.configuration
import com.rarible.core.loggingfilter.EnableLoggingContextFilter
import com.rarible.core.mongo.configuration.EnableRaribleMongo
import com.rarible.ethereum.contract.EnableContractService
import com.rarible.ethereum.converters.EnableScaletherMongoConversions
import o... | 0 | Kotlin | 0 | 1 | b1efdaceab8be95429befe80ce1092fab3004d18 | 961 | ethereum-indexer | MIT License |
video-common-ui/src/test/java/com/kaleyra/video_common_ui/contactdetailsprovider/CachedLocalContactDetailsProviderTest.kt | KaleyraVideo | 686,975,102 | false | {"Kotlin": 3508512, "Shell": 7470, "Python": 6756, "Java": 1213} | /*
* Copyright 2023 Kaleyra @ https://www.kaleyra.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 0 | Kotlin | 0 | 1 | 18f298f0e37b089d1ef530eea70bd5e5b9016f9b | 3,024 | VideoAndroidSDK | Apache License 2.0 |
app/src/main/java/com/b_lam/resplash/util/ViewExt.kt | b-lam | 69,628,893 | false | null | package com.b_lam.resplash.util
import android.content.Context
import android.view.View
import android.view.ViewGroup
import android.view.WindowInsets
import android.view.inputmethod.InputMethodManager
import androidx.annotation.IdRes
import androidx.annotation.StringRes
import com.google.android.material.snackbar.Sna... | 33 | Kotlin | 105 | 569 | 4b13d31134d1c31bd331e92ffe8d410984529212 | 3,242 | Resplash | The Unlicense |
app/src/main/java/com/flowfoundation/wallet/widgets/MnemonicWhiteSerialItem.kt | Outblock | 692,942,645 | false | {"Kotlin": 2425609, "Java": 104150} | package com.flowfoundation.wallet.widgets
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.FrameLayout
import android.widget.TextView
import com.flowfoundation.wallet.R
import com.flowfoundation.wallet.page.walletcreate.fragments.mnemonic.Mnemonic... | 62 | Kotlin | 5 | 0 | 2426c3e1fa04986395d95dfd5fa6ae18fcf11043 | 1,002 | FRW-Android | Apache License 2.0 |
opensdk/src/main/java/com/alicloud/databox/opensdk/scope/AliyunpanFileScope.kt | alibaba | 730,014,798 | false | null | package com.alicloud.databox.opensdk.scope
import com.alicloud.databox.opensdk.AliyunpanScope
import org.json.JSONArray
interface AliyunpanFileScope {
/**
* 获取文件列表
* @property driveId drive id
* @property limit 返回文件数量,默认 50,最大 100
* @property marker 分页标记
* @property orderBy created_at, u... | 0 | null | 2 | 9 | 3057d51f04803e043a63f29b7418a0d01da17cdf | 19,035 | aliyunpan-android-sdk | MIT License |
brv/src/main/java/com/drake/brv/utils/PageRefreshUtils.kt | liangjingkanji | 206,460,689 | false | null | /*
* Copyright (C) 2018 Drake, 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 ... | 4 | Kotlin | 87 | 747 | 1519b799fd0c84b765c94ae64e74d83cd33e3d39 | 1,485 | BRV | Apache License 2.0 |
core/local/src/main/java/com/anshtya/movieinfo/core/local/database/entity/FavoriteContentEntity.kt | anshtya | 704,151,092 | false | {"Kotlin": 377757} | package com.anshtya.movieinfo.core.local.database.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
import com.anshtya.movieinfo.core.model.library.LibraryItem
@Entity(
tableName = "favorite_content",
indices = [Index(value = ["media_... | 0 | Kotlin | 0 | 2 | 4af49c0b3b5af426393c8ceee830b877f1e66c92 | 952 | MovieInfo | MIT License |
app/src/main/kotlin/org/mediasoup/droid/demo/utils/ClipboardCopy.kt | crow-misia | 264,322,033 | true | {"Kotlin": 119961} | package org.mediasoup.droid.demo.utils
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.widget.Toast
import androidx.core.content.getSystemService
object ClipboardCopy {
fun clipboardCopy(context: Context, content: String?, tipsResId: Int) {
... | 0 | Kotlin | 3 | 7 | 27869aa9fec304e41424dec644348dff0c3591bb | 572 | mediasoup-demo-android | MIT License |
modules/preferences/src/androidMain/kotlin/splitties/preferences/Changes.kt | LouisCAD | 65,558,914 | false | {"Kotlin": 682428, "Java": 1368, "Shell": 358} | /*
* Copyright 2019 <NAME>. Use of this source code is governed by the Apache 2.0 license.
*/
package splitties.preferences
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.channels.awaitClose
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.channelFlow
import kotlinx.... | 53 | Kotlin | 160 | 2,476 | 1ed56ba2779f31dbf909509c955fce7b9768e208 | 916 | Splitties | Apache License 2.0 |
src/main/kotlin/com/example/ecommerce/shared/domain/event/EventPublisher.kt | IvanGuardado | 197,396,455 | false | null | package com.example.ecommerce.shared.domain.event
interface EventPublisher {
operator fun invoke(event: DomainEvent)
operator fun invoke(events: ArrayList<DomainEvent>) {
events.forEach {
invoke(it)
}
}
}
| 0 | Kotlin | 0 | 1 | 39a87bb2778cddd119df581b8adc052c46b87ef1 | 248 | kotlin-api-clean-architecture | MIT License |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/device/RamFill.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.device
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.Str... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,782 | compose-icon-collections | MIT License |
buildSrc/src/main/kotlin/koleton/Extensions.kt | ericktijerou | 267,768,682 | false | null | @file:Suppress("unused")
package skeletor
import org.gradle.api.Project
val Project.minSdk: Int
get() = intProperty("minSdk")
val Project.targetSdk: Int
get() = intProperty("targetSdk")
val Project.compileSdk: Int
get() = intProperty("compileSdk")
val Project.groupId: String
get() = stringProperty... | 6 | null | 12 | 87 | 58b7a54674ee3bf0c2351f21101181ca203a3d06 | 760 | koleton | Apache License 2.0 |
modules/feature/map/impl/src/main/kotlin/kekmech/ru/feature_map_impl/launcher/DeeplinkDelegate.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.feature_map.launcher
import kekmech.ru.feature_map.screens.main.elm.FilterTab
internal class DeeplinkDelegate {
private var placeUid: String? = null
private var tab: FilterTab? = null
fun putPlaceUid(placeUid: String) {
this.placeUid = placeUid
}
fun getPlaceUid() = pl... | 9 | null | 4 | 41 | 15c3c17e33d0ffffc0e269ad0cd6fe47b0bc971a | 564 | mpeiapp | MIT License |
app/src/main/java/com/afterow/sanyaoyi/SelectActivity.kt | afterow | 856,459,302 | false | {"Kotlin": 32589} | package com.afterow.sanyaoyi
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
class SelectActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?... | 0 | Kotlin | 0 | 0 | adfc849fae5a5717c26fca9abee0e6e53f092209 | 1,608 | sanyaoyi-kotlin | MIT License |
drestaurant-apps/drestaurant-microservices-rest-2/drestaurant-microservices-rest-2-common/src/main/kotlin/com/drestaurant/customer/query/api/queries.kt | idugalic | 135,263,722 | false | null | package com.drestaurant.customer.query.api
import com.drestaurant.customer.domain.api.model.CustomerId
data class FindCustomerQuery(val customerId: CustomerId)
| 0 | Kotlin | 83 | 284 | 920248e62c5b7d9b8d3c365b2f911355aa19c7db | 162 | digital-restaurant | Apache License 2.0 |
bundles/github.com/korlibs/korge-bundles/7439e5c7de7442f2cd33a1944846d44aea31af0a/korge-admob/src/jvmMain/kotlin/com/soywiz/korge/admob/Admob.kt | jfbilodeau | 402,501,246 | false | null | package com.soywiz.korge.admob
import com.soywiz.korge.view.Views
import com.soywiz.korim.bitmap.Bitmaps
import com.soywiz.korim.color.Colors
import com.soywiz.korim.color.RGBA
import com.soywiz.korma.geom.Matrix
actual suspend fun AdmobCreate(views: Views, testing: Boolean): Admob = AdmobCreateDefault(views, testing... | 0 | Kotlin | 1 | 2 | 306f034be2d9832743c3fb0acfbfd46b53c7f01f | 322 | BeyondBeachball | Apache License 2.0 |
Mobile App/app/src/main/java/com/example/scar/interfaces/LinkWeapon.kt | gursimar03 | 704,020,851 | false | {"Kotlin": 147166, "Python": 75744, "CSS": 12172, "JavaScript": 8955, "HTML": 5933, "Java": 198} | package com.example.scar.interfaces
import android.util.Log
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.Row
import androidx.co... | 3 | Kotlin | 0 | 0 | 2537e60a25aea46db22146178f6bd1989f3ed2ae | 8,751 | SCAR | MIT License |
app/src/main/java/com/aditya/to_do/ui/screens/task/TaskScreen.kt | aditya-bhawsar | 413,261,754 | false | {"Kotlin": 73381} | package com.aditya.to_do.ui.screens.task
import android.content.Context
import android.widget.Toast
import androidx.activity.compose.BackHandler
import androidx.compose.material.Scaffold
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.ui.platform.LocalContext... | 0 | Kotlin | 0 | 1 | e2e4d58c9e6d3463ccafa93e427f27b30b008b12 | 2,109 | to-do-compose | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.