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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kotlin-mui-icons/src/main/generated/mui/icons/material/PhotoLibraryRounded.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/PhotoLibraryRounded")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val PhotoLibraryRounded: SvgIconComponent
| 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 220 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/ogl_samples/tests/gl320/gl-320-caps.kt | jvm-graphics-labs | 87,515,851 | false | {"GLSL": 367659, "Kotlin": 152172} | package ogl_samples.tests.gl320
import glm_.L
import ogl_samples.framework.TestA
import uno.caps.Caps
import uno.gln.glClearColorBuffer
import uno.gln.glViewport
fun main(args: Array<String>) {
gl_320_caps().loop()
}
private class gl_320_caps : TestA("es-320-caps", Caps.Profile.CORE, 3, 2) {
override fun b... | 0 | GLSL | 1 | 0 | d028e032d6b35f2661a39e8ecf0192d6fcb26a9e | 2,702 | ogl-samples | MIT License |
naveditor/testSrc/com/android/tools/idea/naveditor/scene/draw/TestDrawNavScreen.kt | zakharchanka | 314,699,321 | true | {"Java": 39917608, "Kotlin": 17687377, "HTML": 1204348, "Starlark": 501007, "C": 62588, "NSIS": 58512, "Lex": 50354, "JavaScript": 18437, "CMake": 17952, "Shell": 8736, "Smali": 7580, "RenderScript": 4411, "C++": 4407, "Python": 2727, "Makefile": 2290, "FreeMarker": 247, "Prolog": 231} | /*
* Copyright (C) 2018 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... | 0 | null | 0 | 0 | cd393da1a11d2dfe572f4baa6eef882256e95d6a | 3,923 | android-1 | Apache License 2.0 |
app/src/test/kotlin/com/example/valorantandroid/agent/ui/viewmodel/AgentDetailsViewModelTest.kt | jamesdpli | 680,617,148 | false | {"Kotlin": 57532} | package com.example.valorantandroid.agent.ui.viewmodel
import androidx.lifecycle.SavedStateHandle
import com.example.valorantandroid.core.utils.constants.Constants
import com.example.valorantandroid.utils.MainDispatcherRule
import com.example.valorantandroid.utils.TestUtils
import com.example.valorantandroid.utils.fak... | 0 | Kotlin | 0 | 0 | 9015c2b1ee9b324bfb5b9f60b1d7562e12797b81 | 2,681 | ValorantAndroid | Apache License 2.0 |
app/src/main/java/com/example/takeofflabstinder/profiles/ProfilesViewModel.kt | MarcBrout | 410,886,256 | false | {"Kotlin": 19018} | package com.example.takeofflabstinder.profiles
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.takeofflabstinder.data.datasource.local.LocalDataSource
import com.example.takeofflabstinder.data.d... | 0 | Kotlin | 0 | 0 | 09e364661a5d873572bdc7117fab626bc9bdb207 | 1,544 | takeoff_lab_tinder_copycat | Apache License 2.0 |
storiesview/src/main/java/com/adalpari/storiesview/view/StoriesView.kt | adalpari | 306,628,815 | false | {"Kotlin": 19807} | package com.adalpari.storiesview.view
import android.app.Activity
import android.content.Context
import android.util.AttributeSet
import android.widget.LinearLayout
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.adalpari.storiesview.R
import com.adal... | 0 | Kotlin | 4 | 2 | b83e11eb08549c3e3d940cd412b8311592be2f71 | 984 | stories-MVVM-Coroutines-example | Apache License 2.0 |
app/src/androidTest/java/com/example/android/architecture/blueprints/todoapp/test/espresso/example/tests/BaseTest.kt | jakubcekala | 332,780,090 | false | null | package com.example.android.architecture.blueprints.todoapp.test.espresso.example.tests
import android.Manifest
import android.support.test.rule.ActivityTestRule
import android.support.test.rule.GrantPermissionRule
import android.support.test.runner.AndroidJUnit4
import com.example.android.architecture.blueprints.todo... | 1 | null | 1 | 1 | ff41c65223797875371707e492739b9ebbaccdee | 855 | espresso-example-todoapp | Apache License 2.0 |
src/main/kotlin/eu/fizzystuff/krog/scenes/visibility/RaycastingVisibilityStrategy.kt | noseblowhorn | 53,980,499 | false | null | package eu.fizzystuff.krog.scenes.visibility
import eu.fizzystuff.krog.model.DungeonLevel
/**
* Hey, let's be sloppy and inefficient! Here, we can calculate a path between the origin point and each and every
* tile at the edges of the level. And see if something sticks between.
*/
class RaycastingVisibilityStrateg... | 9 | Kotlin | 0 | 0 | 07bd6389b0bb20a60a5ab2e4cc7f31b8c867949c | 2,194 | krog | Apache License 2.0 |
harness/tests/src/main/kotlin/godot/tests/inheritance/ClassInheritanceParent.kt | utopia-rise | 289,462,532 | false | null | package godot.tests.inheritance
import godot.Node
import godot.annotation.RegisterClass
import godot.annotation.RegisterFunction
import godot.annotation.RegisterProperty
import godot.annotation.RegisterSignal
import godot.core.GodotNotification
import godot.global.GD
import godot.signals.signal
@RegisterClass
open cl... | 63 | null | 44 | 634 | ac2a1bd5ea931725e2ed19eb5093dea171962e3f | 1,428 | godot-kotlin-jvm | MIT License |
commerce-services-sample/src/main/java/com/godaddy/commerce/services/sample/catalog/product/ProductFragment.kt | poynt | 26,389,506 | false | {"Gradle": 9, "Java Properties": 2, "Shell": 1, "Text": 4, "Ignore List": 8, "Batchfile": 1, "XML": 129, "Markdown": 1, "TOML": 1, "Proguard": 6, "Java": 48, "Kotlin": 70, "INI": 1} | package com.godaddy.commerce.services.sample.catalog.product
import android.os.Bundle
import android.view.View
import androidx.fragment.app.viewModels
import com.godaddy.commerce.services.sample.R
import com.godaddy.commerce.services.sample.common.extensions.bindTo
import com.godaddy.commerce.services.sample.common.ex... | 6 | Java | 43 | 17 | dc4d5f02a15673667cce596a268401ae8f13a9a6 | 1,266 | PoyntSamples | MIT License |
src/main/kotlin/com/amazon/opendistroforelasticsearch/indexstatemanagement/resthandler/RestIndexPolicyAction.kt | qreshi | 266,040,612 | true | {"Kotlin": 751808} | /*
* Copyright 2019 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://www.apache.org/licenses/LICENSE-2.0
*
* or in the ... | 2 | Kotlin | 0 | 0 | b59492568dda712499c53ecbc018a9e1e9131dcf | 8,709 | index-management | Apache License 2.0 |
app/src/main/java/com/nicoapps/cooktime/ui/screens/recipe/execute/dialogs/SaveExecutionDialog.kt | andremn | 758,641,451 | false | {"Kotlin": 185045} | package com.nicoapps.cooktime.ui.screens.recipe.execute.dialogs
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.Text
import androidx.compose.material3.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
import com.nicoapps.cooktime.R
@Com... | 0 | Kotlin | 0 | 0 | 389af6b6dffccd88ddbf4a434a090fa7c1a65e6a | 1,530 | cooktime | MIT License |
app/src/main/java/com/example/marvelclient/di/AppModules.kt | Prathamesh010 | 284,286,786 | false | null | package com.example.marvelclient.di
val appComponent = listOf(
databaseModule,
networkModule,
repoModule,
viewModelModule
) | 0 | Kotlin | 0 | 0 | a71aade97fe5e52a8d2dfb832a239986bd75dc76 | 140 | Marvel | MIT License |
library/src/main/java/com/afollestad/aesthetic/States.kt | reyadrahman | 153,971,139 | true | {"Kotlin": 158524} | /*
* Licensed under Apache-2.0
*
* Designed and developed by Aidan Follestad (@afollestad)
*/
package com.afollestad.aesthetic
import android.R.attr
import android.content.res.ColorStateList
import androidx.annotation.ColorInt
/** @author Aidan Follestad (afollestad) */
data class ActiveInactiveColors(
@field:C... | 0 | Kotlin | 0 | 0 | 22fa19081f23c37ccf1e140e551c85a8efba805b | 764 | aesthetic | Apache License 2.0 |
app/src/androidTest/java/com/example/traveltogether/MyPostTest.kt | sw21-tug | 351,004,544 | false | null | package com.example.traveltogether
import androidx.test.espresso.Espresso
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.*
import androidx.test.ext.jun... | 2 | Kotlin | 7 | 0 | 6f5519f4fd1d000e87c69531b071cbe611384738 | 4,952 | Team-04 | MIT License |
app/src/main/java/me/zsj/pretty_girl_kotlin/model/GirlData.kt | jijicanyu | 113,018,883 | false | null | package me.zsj.pretty_girl_kotlin.model
/**
* @author zsj
*/
data class GirlData(val error: Boolean,
val results: List<PrettyGirl>) | 0 | Kotlin | 0 | 0 | 410e9b05dbef817660fb6dc4f9c59db8e999a53a | 154 | pretty-girl-kotlin | Apache License 2.0 |
clara-app/src/main/kotlin/de/unistuttgart/iste/sqa/clara/export/graphviz/GraphVizExporter.kt | SteveBinary | 724,727,375 | false | {"Kotlin": 89820} | package de.unistuttgart.iste.sqa.clara.export.graphviz
import arrow.core.Either
import arrow.core.Option
import arrow.core.Some
import arrow.core.getOrElse
import de.unistuttgart.iste.sqa.clara.api.export.ExportFailure
import de.unistuttgart.iste.sqa.clara.api.export.Exporter
import de.unistuttgart.iste.sqa.clara.api.... | 0 | Kotlin | 0 | 0 | bce6976ec77ecd2301f68ca7eb1dfce7216c810e | 3,352 | clara | MIT License |
buildSrc/src/Info.kt | Ricky12Awesome | 282,574,304 | false | null | object Info {
const val modid = "template_mod"
const val name = "Template Mod"
const val description = "Template Mod"
const val version = "1.0"
const val group = "com.template"
} | 0 | Kotlin | 0 | 1 | 99309d74839a9470e7940e6edc9c80087bb5abad | 188 | fabric-kotlin-mod-template | MIT License |
src/main/kotlin/no/nav/syfo/api/v3/domain/Kontaktinfo.kt | navikt | 164,875,446 | false | {"Gradle": 1, "Markdown": 2, "CODEOWNERS": 1, "Gradle Kotlin DSL": 1, "Dockerfile": 1, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "YAML": 13, "INI": 1, "Java": 166, "XML": 11, "SQL": 37, "Kotlin": 160, "XSLT": 2, "GraphQL": 2, "PLSQL": 1} | package no.nav.syfo.api.v3.domain
data class Kontaktinfo(
val fnr: String,
val epost: String? = null,
val tlf: String? = null,
val skalHaVarsel: Boolean,
val feilAarsak: FeilAarsak? = null
)
enum class FeilAarsak {
RESERVERT, UTGAATT, KONTAKTINFO_IKKE_FUNNET, SIKKERHETSBEGRENSNING, PERSON_IKKE... | 7 | Java | 0 | 0 | 383a9d2c6256c2a8a014293d37f7f42962be6972 | 330 | syfooppfolgingsplanservice | MIT License |
src/main/kotlin/cn/soldat/jutils/web/response/ResponseResult.kt | jacob-du | 743,856,862 | false | {"Kotlin": 33233} | package cn.soldat.jutils.web.response
/**
* 统一响应数据类
*/
data class ResponseResult<T> (
/**
* 响应码
*/
val code: Int,
/**
* 响应信息
*/
val msg: String,
/**
* 响应数据
*/
val data: T? = null
){
companion object{
/**
* 成功响应
*/
fun succe... | 0 | Kotlin | 0 | 0 | b74fb635f37d7c633d504c50297c4926632c62ab | 2,301 | jutils-kt | MIT License |
agora.core/src/commonMain/kotlin/org/agorahq/agora/core/api/shared/templates/DefaultLoginPage.kt | agorahq | 228,175,670 | false | null | package org.agorahq.agora.core.api.shared.templates
import kotlinx.html.*
import org.agorahq.agora.core.api.operation.context.OperationContext
import org.agorahq.agora.core.api.shared.layouts.withDefaultLayout
fun HTML.renderDefaultLoginPage(ctx: OperationContext<out Any>) = withDefaultLayout(ctx, "Log In") {
div... | 28 | Kotlin | 0 | 0 | a7aeabc25d31e11090f37733de2b8ec138d1de3b | 720 | agora | Apache License 2.0 |
runtime/src/commonMain/kotlin/land/sungbin/composeinvestigator/runtime/ComposableScope.kt | jisungbin | 703,660,716 | false | {"Kotlin": 257855, "Shell": 447} | // Copyright 2024 <NAME>
// SPDX-License-Identifier: Apache-2.0
package land.sungbin.composeinvestigator.runtime
/** APIs annotated with this should only be used within Composable functions. */
@MustBeDocumented
@Retention(AnnotationRetention.SOURCE)
@Target(
AnnotationTarget.FUNCTION,
AnnotationTarget.PROPERTY,
... | 7 | Kotlin | 7 | 283 | 4c668b87e4b0bf72fdfa6f7d62317b5767741e8f | 433 | ComposeInvestigator | Apache License 2.0 |
api/src/main/kotlin/com/wnsgml972/strada/api/v1/ordering/service/OrderingResponse.kt | Coffee-Street | 289,485,814 | false | {"Kotlin": 267923, "Shell": 2546, "Dockerfile": 174} | package com.wnsgml972.strada.api.v1.ordering.service
import com.wnsgml972.strada.api.base.AbstractValueObject
data class OrderingResponse(
val orderingDTO: OrderingDTO,
val orderingDetailDTOs: List<OrderingDetailDTO>
) : AbstractValueObject() {
override fun equalProperties(other: Any): Boolean {
... | 2 | Kotlin | 2 | 2 | 24422867afe6c7f547a93f98083f655ecb80c0ed | 479 | strada | MIT License |
src/main/kotlin/br/com/zup/pix/registra/ValidPixKey.kt | paullogoncalves | 388,871,641 | true | {"Kotlin": 82362} | package br.com.zup.pix.registra
import javax.inject.Singleton
import javax.validation.*
import kotlin.annotation.AnnotationRetention.RUNTIME
import kotlin.annotation.AnnotationTarget.CLASS
import kotlin.annotation.AnnotationTarget.TYPE
import kotlin.reflect.KClass
@MustBeDocumented
@Target(CLASS, TYPE)
@Retention(RUN... | 0 | Kotlin | 0 | 0 | fbfcb5d00ce859673c305239961caad5a8b9994f | 2,339 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
kotlin/kotlin-feature/src/main/kotlin/top/spencercjh/chapter3/notNull.kt | spencercjh | 175,650,453 | false | {"Java": 512838, "Kotlin": 99897, "Python": 16109, "HTML": 13016, "JavaScript": 11973, "CSS": 3821, "Scala": 3218} | package top.spencercjh.chapter3
import kotlin.properties.Delegates
/**
* @author SpencerCJH
* @date 2019/10/26 14:22
*/
var testNotNull: String by Delegates.notNull()
fun main() {
// assert exception:Property testNotNull should be initialized before get.
// println(testNotNull)
testNotNull = "123"
pr... | 9 | Java | 1 | 7 | be27d99380c0a1bdf4bea9a86b0d436deb7e2d2d | 341 | codeLife | Apache License 2.0 |
plugin-dotnet-server/src/main/kotlin/jetbrains/buildServer/dotCover/DotCoverToolTypeAdapter.kt | JetBrains | 49,584,664 | false | null |
package jetbrains.buildServer.dotCover
import jetbrains.buildServer.dotnet.CoverageConstants
import jetbrains.buildServer.tools.ToolTypeAdapter
class DotCoverToolTypeAdapter : ToolTypeAdapter() {
override fun getType() = CoverageConstants.DOTCOVER_PACKAGE_ID
override fun getDisplayName() = CoverageConstan... | 3 | null | 25 | 94 | 5f444c22b3354955d1060e08478d543d2b0b99b0 | 1,533 | teamcity-dotnet-plugin | Apache License 2.0 |
app/src/main/java/com/santansarah/blescanner/presentation/BleObserver.kt | santansarah | 588,753,371 | false | null | package com.santansarah.blescanner.presentation
import android.app.Activity
import android.bluetooth.BluetoothAdapter
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import androidx.activity.ComponentActivity
import androidx.acti... | 1 | Kotlin | 1 | 7 | 25cf4144258357bcd16a2b4bb708db92f2f7cbcf | 2,765 | ble-scanner | MIT License |
paris/src/testDebug/java/com/airbnb/paris/views/kotlin/WithStyleableChildPropertyDelegateViewStyleExtensionsTest.kt | airbnb | 114,683,464 | false | null | package com.airbnb.paris.views.kotlin
import android.content.Context
import android.view.View
import com.airbnb.paris.R
import com.airbnb.paris.extensions.addDefault
import com.airbnb.paris.extensions.style
import com.airbnb.paris.extensions.testArbitraryStyle
import com.airbnb.paris.extensions.viewStyle
import com.ai... | 56 | null | 91 | 1,897 | d8b5edbc56253bcdd0d0c57930d2e91113dd0f37 | 3,185 | paris | Apache License 2.0 |
plume/src/main/kotlin/io/github/plume/oss/domain/model/DeltaGraph.kt | plume-oss | 285,804,384 | false | null | /*
* Copyright 2021 Plume Authors
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or ... | 6 | null | 7 | 24 | ff0d35bf6986aa56952762bd7c456cad7a44954e | 4,742 | plume | Apache License 2.0 |
app/src/main/java/com/coinninja/coinkeeper/db/migrations/Migrate_V34_to_V35.kt | coinninjadev | 175,276,289 | false | null | package com.coinninja.coinkeeper.db.migrations
import com.coinninja.coinkeeper.db.AbstractMigration
import com.coinninja.coinkeeper.db.Migration
import org.greenrobot.greendao.database.Database
class Migrate_V34_to_V35 : AbstractMigration() {
override val migratedVersion: Int = 35
override val targetVersion:... | 2 | null | 0 | 6 | d67d7c0b9cad27db94470231073c5d6cdda83cd0 | 2,095 | dropbit-android | MIT License |
modules/android/src/main/kotlin/com/waicool20/cvauto/android/AndroidDevice.kt | waicool20 | 219,472,930 | false | {"Kotlin": 147842} | /*
* The MIT License (MIT)
*
* Copyright (c) waicool20
*
* 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, m... | 0 | Kotlin | 3 | 4 | 7d3b2577066a5c15a1af09405c53a3d03412b23c | 8,809 | CVAuto | MIT License |
src/test/kotlin/br/com/zup/ot5/grpc/GlobalGrpcEndpointInterceptorTest.kt | DaviLevi | 383,277,033 | true | {"Kotlin": 84053, "Smarty": 2172} | package br.com.zup.ot5.grpc
import br.com.zup.ot5.compartilhado.interceptors.GlobalGrpcEndpointInterceptor
import br.com.zup.ot5.compartilhado.interceptors.GrpcExceptionResolver
import io.grpc.BindableService
import io.grpc.stub.StreamObserver
import io.micronaut.aop.MethodInvocationContext
import io.micronaut.test.ex... | 0 | Kotlin | 0 | 0 | f00bfecba37e7f78e18c4d89e617d90c6fb13ea3 | 1,643 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
components/app/src/main/java/com/notable/ui/MainActivity.kt | fabricethilaw | 576,792,746 | false | {"Kotlin": 63079, "Shell": 8899} | /*
* Copyright 2022 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 1 | Kotlin | 3 | 20 | 0e3523e289ba0f5a4478e55883b4e900433807a1 | 2,464 | notable-ui-compose | Apache License 2.0 |
testscript/test/org/partiql/testscript/parser/ParserMacroTests.kt | partiql | 186,474,394 | false | null | package org.partiql.testscript.parser
import com.amazon.ion.IonSexp
import com.amazon.ion.IonStruct
import org.junit.jupiter.api.Test
import org.partiql.testscript.parser.ast.TestNode
class ParserForTests : BaseParseTests() {
@Test
fun forWithSingleTestAndVariable() = assertParse(
"""
|fo... | 188 | null | 55 | 519 | ff041b28c6db53853c3b370690246bc01913a400 | 18,478 | partiql-lang-kotlin | Apache License 2.0 |
src/main/kotlin/de/tweerlei/plumber/pipeline/steps/dynamodb/DynamoDBPutStep.kt | tweerlei | 450,150,451 | false | null | /*
* Copyright 2022 <NAME> + Buchmeier GbR - http://www.tweerlei.de/
*
* 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 requ... | 0 | Kotlin | 0 | 2 | ea5ec4d291f6a4a17dc507378e368d6216605926 | 2,555 | plumber | Apache License 2.0 |
src/main/kotlin/io/github/gciatto/kt/mpp/DefaultProperties.kt | gciatto | 611,832,186 | false | null | package org.spectralpowered.speck.plugin
interface DefaultProperties {
val disableJavadocTask: PropertyDescriptor
get() = PropertyDescriptor(
name = "disableJavadocTask",
description = "If true, default javadoc task will be disabled",
mandatory = false,
defa... | 9 | null | 1 | 1 | 91176dd73b89c7ac59d39c82cebdc59680680687 | 12,711 | kt-mpp | Apache License 2.0 |
app/src/main/java/com/words/storageapp/ui/main/di/MainModule.kt | emmasonn | 451,215,073 | false | {"Kotlin": 311218} | package com.words.storageapp.ui.main.di
import android.app.Activity
import android.content.Context
import android.net.ConnectivityManager
import androidx.core.content.getSystemService
import com.words.storageapp.database.AppDatabase
import com.words.storageapp.di.SharedPreference
import com.words.storageapp.di.Storage... | 0 | Kotlin | 0 | 1 | 84e4a537e3f45c21cf4ba121c78006f9fab889de | 1,161 | SkillHub | Apache License 2.0 |
mediator/src/test/kotlin/no/nav/dagpenger/mottak/behov/saksbehandling/arena/ArenaBehovLøserTest.kt | navikt | 351,793,236 | false | {"Kotlin": 450030, "Dockerfile": 205} | package no.nav.dagpenger.mottak.behov.saksbehandling.arena
import com.github.navikt.tbd_libs.rapids_and_rivers.test_support.TestRapid
import io.mockk.coEvery
import io.mockk.mockk
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.j... | 3 | Kotlin | 0 | 0 | df1f48afdb1439a192432ac547b6b985cda2c414 | 5,003 | dp-mottak | MIT License |
domain/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/db/repository/file/JsonFileInteractor.kt | sentinelweb | 220,796,368 | false | {"Kotlin": 2627352, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170} | package uk.co.sentinelweb.cuer.app.db.repository.file
class FileInteractor(
private val file: AFile,
private val operation: PlatformFileOperation
) {
fun loadJson(): String? = try {
operation.readBytes(file).decodeToString()
} catch (e: Exception) {
null
}
fun saveJson(data: St... | 94 | Kotlin | 0 | 2 | f74e211570fe3985ba45848b228e91a3a8593788 | 448 | cuer | Apache License 2.0 |
fluxo-kmp-conf/src/main/kotlin/fluxo/conf/feat/SetupAndroidLint.kt | fluxo-kt | 705,309,218 | false | {"Kotlin": 416263} | package fluxo.conf.feat
import com.android.build.api.dsl.CommonExtension
import com.android.build.gradle.internal.lint.AndroidLintAnalysisTask
import com.android.build.gradle.internal.lint.AndroidLintTask
import com.android.build.gradle.internal.lint.AndroidLintTextOutputTask
import com.android.build.gradle.internal.t... | 5 | Kotlin | 0 | 1 | 8521cd7e0a0d02453603f8e6f736308ff06e1d01 | 3,517 | fluxo-kmp-conf | Apache License 2.0 |
app/src/main/java/com/fafadiatech/newscout/activity/SourceActivity.kt | Vicky-Vicky27 | 484,837,384 | true | {"Kotlin": 430654} | package com.fafadiatech.newscout.activity
import android.content.Context
import android.content.SharedPreferences
import android.content.res.Configuration
import android.content.res.Resources
import android.os.Bundle
import android.util.DisplayMetrics
import android.view.View
import android.view.WindowManager
import a... | 0 | null | 0 | 0 | aa136721998e6c1fa0ab1e2fa1215584a1384b84 | 5,150 | newscout_android | Apache License 2.0 |
src/main/kotlin/vec/useCase/service/PrincipalService.kt | tmyksj | 374,243,992 | false | null | package vec.useCase.service
import org.springframework.web.server.ServerWebExchange
import reactor.core.publisher.Mono
import vec.domain.entity.User
/**
* Principal に関するサービスです。
*/
interface PrincipalService {
/**
* Principal を clear します。
* @param serverWebExchange serverWebExchange
* @return cle... | 13 | Kotlin | 0 | 1 | 751465126e6ee9b2c75989e9b437540009ac9a6b | 597 | vec | Apache License 2.0 |
src/main/kotlin/mingle/chang/api/entities/AppEntity.kt | MingleChang | 217,474,426 | false | null | package mingle.chang.api.entities
import mingle.chang.api.utils.AppUtils
import org.hibernate.annotations.GenericGenerator
import org.springframework.beans.factory.annotation.Value
import java.util.*
import javax.persistence.*
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.anno... | 0 | Kotlin | 0 | 0 | 35744998e64c9d2dd6fb88842d47fc7e53542910 | 1,718 | api_kotlin | MIT License |
VPAwesomeWidgets/src/main/java/awesome/vrund/vpawesomewidgets/VPBackTextView.kt | VrUnd14 | 288,725,242 | false | null | package awesome.vrund.vpawesomewidgets
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.GradientDrawable
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView
class VPBackTextView @JvmOverloads constructor(context: Context, attrs: AttributeSe... | 0 | Kotlin | 0 | 1 | d2c861dd557f4f78f35cf5bc8b646a5eacc1f20a | 3,543 | VPAwesomeWidgets | Apache License 2.0 |
library/src/main/java/com/speshiou/android/common/ui/ads/AdUtils.kt | speshiou | 116,790,796 | false | null | package com.speshiou.android.common.ui.ads
class AdUtils {
companion object {
var AD_ENABLED = true
fun setAdEnabled(enabled: Boolean) {
AD_ENABLED = enabled
}
fun insertAdData(adViewRecycler: AdViewRecycler, data: Array<Any>, adPositions: Array<Int>, adType: String, a... | 0 | Kotlin | 0 | 0 | 42520c587bd583e1397d80002405332cbc52aba8 | 2,916 | android-common | MIT License |
ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletV4R2Contract.kt | andreypfau | 448,983,229 | false | null | package org.ton.contract.wallet
import kotlinx.coroutines.coroutineScope
import kotlinx.datetime.Clock
import kotlinx.datetime.Instant
import org.ton.api.pk.PrivateKeyEd25519
import org.ton.api.pub.PublicKeyEd25519
import org.ton.api.tonnode.TonNodeBlockIdExt
import org.ton.bitstring.BitString
import org.ton.block.*
i... | 15 | Kotlin | 15 | 55 | 2aef7c4dbd494d262aef2bcdc8669d5b3cc41879 | 7,424 | ton-kotlin | Apache License 2.0 |
shared/src/commonMain/kotlin/com/rvcoding/imhere/domain/model/Subscription.kt | revs87 | 842,125,970 | false | {"Kotlin": 125290, "Swift": 621, "HTML": 332, "CSS": 102} | package com.rvcoding.imhere.domain.model
import com.rvcoding.imhere.util.currentTimeMillis
import kotlinx.serialization.Serializable
@Serializable
data class Subscription(
val userId: String = "",
val userSubscribedId: String = "",
val timestamp: Long = currentTimeMillis()
) | 0 | Kotlin | 0 | 0 | 44297ef69d09c9a85e55fc0e6ef4ad8baaea680b | 290 | imhere-cmp | Apache License 2.0 |
.teamcity/settings.kts | KsenX | 162,048,145 | true | {"Python": 33067, "Java": 10973, "Objective-C": 4941, "Shell": 4094, "Kotlin": 3141, "C++": 2305, "C": 87, "HTML": 36} | import jetbrains.buildServer.configs.kotlin.v2018_1.*
import jetbrains.buildServer.configs.kotlin.v2018_1.buildSteps.BazelStep
import jetbrains.buildServer.configs.kotlin.v2018_1.buildSteps.bazel
import jetbrains.buildServer.configs.kotlin.v2018_1.triggers.vcs
/*
The settings script is an entry point for defining a Te... | 0 | Python | 0 | 0 | d8e1cf2996299688f1151636432c9992df320c62 | 3,141 | examples | Apache License 2.0 |
src/main/kotlin/org/fenrirs/stored/Environment.kt | rushmi0 | 713,799,628 | false | {"Kotlin": 117851, "HTML": 326} | package org.fenrirs.stored
import io.github.cdimascio.dotenv.Dotenv
import io.github.cdimascio.dotenv.dotenv
object Environment {
private val dotenv: Dotenv = dotenv {
directory = "." // root path
filename = ".env"
}
val DATABASE_NAME: String by lazy { dotenv["DATABASE_NAME"] }
val D... | 0 | Kotlin | 1 | 8 | ac4e1b9bbf7ddf9c826e79ae50513781caa2e480 | 527 | Fenrir-s | MIT License |
common/designsystem/src/main/java/com/cmc/curtaincall/common/designsystem/component/buttons/common/ButtonsPreview.kt | CurtainCall-App | 659,971,351 | false | {"Kotlin": 1298142} | package com.cmc.curtaincall.common.designsystem.component.buttons.common
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import com.cmc.curtaincall.common.designsystem.theme.CurtainC... | 4 | Kotlin | 1 | 5 | c9f51916e3acbb292f364b3a3191991506d76580 | 813 | CurtainCall-AOS | Apache License 2.0 |
src/main/kotlin/com/moqi/kotlin/ch02/2.3.2_3_WhenEnums2.kt | HiAwesome | 317,410,821 | false | null | package com.moqi.kotlin.ch02
import com.moqi.kotlin.ch02.Color4.*
/**
* 使用 When 处理枚举类型
*
* @author moqi On 12/2/20 16:02
*/
fun getWarmth2(color: Color4) = when (color) {
RED, ORANGE, YELLOW -> "warm"
GREEN -> "neutral"
BLUE, INDIGO, VIOLET -> "cold"
}
fun main() {
println("getWarmth2(INDIGO) = $... | 0 | Kotlin | 0 | 0 | 2228e08f304f06020917b7bea98f32b83ec22f69 | 345 | kotlin-demo | Apache License 2.0 |
src/main/kotlin/com/moqi/kotlin/ch02/2.3.2_3_WhenEnums2.kt | HiAwesome | 317,410,821 | false | null | package com.moqi.kotlin.ch02
import com.moqi.kotlin.ch02.Color4.*
/**
* 使用 When 处理枚举类型
*
* @author moqi On 12/2/20 16:02
*/
fun getWarmth2(color: Color4) = when (color) {
RED, ORANGE, YELLOW -> "warm"
GREEN -> "neutral"
BLUE, INDIGO, VIOLET -> "cold"
}
fun main() {
println("getWarmth2(INDIGO) = $... | 0 | Kotlin | 0 | 0 | 2228e08f304f06020917b7bea98f32b83ec22f69 | 345 | kotlin-demo | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/swap/confirmation/oneinch/OneInchConfirmationModule.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.swap.confirmation.oneinch
import android.os.Bundle
import androidx.core.os.bundleOf
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.navigation.NavOptions
import io.horizontalsystems.ban... | 163 | null | 170 | 320 | a520b87e9553e69c76d9d48a0adb0268a53e65b2 | 2,774 | unstoppable-wallet-android | MIT License |
app/src/main/java/com/ramzmania/tubefy/data/dto/home/youtubei/YoutubeiHomeResponse.kt | rameshvoltella | 834,415,700 | false | {"Kotlin": 517818, "Java": 2426} | package com.ramzmania.tubefy.data.dto.home.youtubei
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class YoutubeiMusicHomeApiResponse(
@Json(name = "responseContext") val responseContext: ResponseContext? = null,
@Json(name = "contents") val contents:... | 0 | Kotlin | 0 | 1 | 2adb4336e4c9c736e241d39bf0773589e72cf897 | 9,667 | TubeFy | MIT License |
faker/edu/src/main/kotlin/io/github/serpro69/kfaker/edu/provider/University.kt | serpro69 | 174,969,439 | false | {"Kotlin": 741942, "Shell": 6192, "Makefile": 4515, "Java": 3978, "Groovy": 1144} | package io.github.serpro69.kfaker.edu.provider
import io.github.serpro69.kfaker.FakerService
import io.github.serpro69.kfaker.dictionary.YamlCategory
import io.github.serpro69.kfaker.provider.FakeDataProvider
import io.github.serpro69.kfaker.provider.YamlFakeDataProvider
import io.github.serpro69.kfaker.provider.uniqu... | 33 | Kotlin | 42 | 462 | 22b0f971c9f699045b30d913c6cbca02060ed9b3 | 1,138 | kotlin-faker | MIT License |
plugin-locationcomponent/src/main/java/com/mapbox/maps/plugin/locationcomponent/generated/LocationComponentAttributeParser.kt | willgan916 | 408,637,684 | true | {"Kotlin": 1873962, "Java": 53692, "Shell": 16849, "Python": 11569, "C++": 10129, "JavaScript": 4344, "Makefile": 3644, "CMake": 1201, "EJS": 1194} | // This file is generated.
package com.mapbox.maps.plugin.locationcomponent.generated
import android.content.Context
import android.graphics.Color
import android.util.AttributeSet
import androidx.core.content.res.ResourcesCompat
import com.mapbox.maps.plugin.LocationPuck2D
import com.mapbox.maps.plugin.LocationPuck3D... | 1 | null | 1 | 0 | e4d2553af0c994ca8ba6897ed3a5d6c6dbc4681b | 4,636 | mapbox-maps-android | Apache License 2.0 |
shared/src/commonMain/kotlin/view/ViewConfig.kt | CherryLover | 685,290,933 | false | {"Kotlin": 15811, "Swift": 592, "Shell": 228} | package view
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
/**
* @description
* @author: Created jiangjiwei in 2023/12/8 13:31
*/
val marginMax = 20.dp
val marginMiddle = 10.dp
val marginMi... | 1 | Kotlin | 0 | 0 | 5c5b8c9410269906dc35f6d94c8a44a3b98eab0e | 737 | Compose-multiplatform-bill-record | Apache License 2.0 |
intellijPlugin/src/main/kotlin/pw/binom/SimpleMaterial.kt | caffeine-mgn | 223,796,620 | false | null | package pw.binom
import mogot.gl.GL
import mogot.gl.MaterialGLSL
import mogot.gl.Shader
import mogot.math.Matrix4fc
import mogot.math.Vector4f
import mogot.rendering.Display
import pw.binom.material.EmptyModuleResolver
import pw.binom.material.SourceModule
import pw.binom.material.compiler.Compiler
import pw.binom.mat... | 6 | Kotlin | 0 | 4 | e673acfcb20e2d62d8e68c43d395731bd9d9d882 | 4,021 | mogot | Apache License 2.0 |
uxmobile/src/main/java/sk/uxtweak/uxmobile/study/study_flow/questionnaire_option/QuestionnaireOptionsRadioButton.kt | macro39 | 389,744,953 | false | null | package sk.uxtweak.uxmobile.study.study_flow.questionnaire_option
import android.graphics.Color
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.RadioButton
import kotlinx.android.synthetic.main.fragment_questionnaire_radio_button.... | 0 | Kotlin | 0 | 0 | 9dc1d26c95c42f739c7aa9610da815a01ea7f5d2 | 1,490 | UxMobile | Apache License 2.0 |
bookcase-core/src/test/kotlin/com/github/vhromada/bookcase/facade/ItemFacadeIntegrationTest.kt | vhromada | 127,519,826 | false | null | package com.github.vhromada.bookcase.facade
import com.github.vhromada.bookcase.BookcaseTestConfiguration
import com.github.vhromada.bookcase.utils.AuditUtils
import com.github.vhromada.bookcase.utils.BookUtils
import com.github.vhromada.bookcase.utils.ItemUtils
import com.github.vhromada.bookcase.utils.fillAudit
impo... | 0 | Kotlin | 0 | 0 | c3b6da21b0be7cdc5a13ceb3f04937316207bf77 | 27,720 | Bookcase | MIT License |
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/CallableReferenceLowering.kt | damalmax | 91,635,300 | true | {"Markdown": 14, "Git Config": 1, "Gradle": 22, "Java Properties": 5, "Shell": 13, "Ignore List": 1, "Batchfile": 1, "XML": 12, "Kotlin": 4177, "C": 24, "Makefile": 1, "Text": 69, "Java": 2, "Protocol Buffer": 2, "C++": 25, "Groovy": 6, "INI": 6, "OpenStep Property List": 1} | /*
* 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 | Kotlin | 0 | 0 | dc80ba34929c47de2933af02f3d0a57ad59e88c3 | 11,868 | kotlin-native | Apache License 2.0 |
app/src/main/java/com/febers/iuestc/lifecycle/IActivity.kt | Febers | 136,202,080 | false | null | package com.febers.iuestc.lifecycle
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
abstract class IActivity: AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(contentLayout())
}
private v... | 3 | Java | 3 | 31 | c83c21f28a78fe6bac6e6359494acec8b8d16799 | 644 | iUESTC | Apache License 2.0 |
ok-marketplace-be-repo-test/src/main/kotlin/ru/otus/otuskotlin/marketplace/backend/repo/test/RepoAdUpdateTest.kt | otuskotlin | 375,767,209 | false | null | package ru.otus.otuskotlin.marketplace.backend.repo.test
import kotlinx.coroutines.runBlocking
import org.junit.Test
import ru.otus.otuskotlin.marketplace.backend.common.models.*
import ru.otus.otuskotlin.marketplace.backend.repo.common.DbAdModelRequest
import ru.otus.otuskotlin.marketplace.backend.repo.common.IRepoAd... | 0 | Kotlin | 5 | 9 | f7b000e861fb35b5e0a641782fb7fe746814da31 | 1,999 | 202105-otuskotlin-marketplace | MIT License |
app/src/main/java/com/torchdragon/gish/api/GitHubApi.kt | torchdragon | 262,654,301 | false | null | package com.torchdragon.gish.api
import com.torchdragon.gish.model.issues.GitHubIssue
import com.torchdragon.gish.model.repositories.GitHubRepository
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query
import retrofit2.http.Url
interface GitHubApi {
companion object {
const va... | 0 | Kotlin | 0 | 0 | ae950c83ed1848a34c89fa7022c4794d9682fdcd | 782 | gish | MIT License |
test-annotations/src/main/kotlin/com/avito/android/test/annotations/Regression.kt | mduisenov | 237,274,875 | true | {"Kotlin": 2360982, "Python": 14063, "Shell": 13206, "Dockerfile": 7097, "Makefile": 35} | package com.avito.android.test.annotations
/**
* Identifies case as part of Regression suite
*/
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
annotation class Regression
| 0 | Kotlin | 0 | 0 | b0513404cc36196fb87ddadd1894b9015beac952 | 226 | avito-android | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/EyeDropper.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
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.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,187 | icons | MIT License |
core-db/src/main/java/io/novafoundation/nova/core_db/model/chain/account/ProxyAccountLocal.kt | novasamatech | 415,834,480 | false | {"Kotlin": 11121812, "Rust": 25308, "Java": 17664, "JavaScript": 425} | package io.novafoundation.nova.core_db.model.chain.account
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.Ignore
import io.novafoundation.nova.common.utils.Identifiable
import io.novafoundation.nova.core_db.model.chain.ChainLocal
import io.novasama.substrate_sdk_android.extensions.toH... | 14 | Kotlin | 6 | 50 | 166755d1c3388a7afd9b592402489ea5ca26fdb8 | 1,688 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/holydev/biocheck/ImageAnalyzer.kt | PovarIsSFEDU | 717,582,038 | false | {"Kotlin": 26255} | package com.holydev.biocheck
import android.content.ContentValues
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Matrix
import android.graphics.Paint
import android.net.Uri
import android.os.Build
import android.... | 0 | Kotlin | 0 | 0 | bd6f1a713dd327a7714a181313fb143b1a5c1d43 | 6,332 | BioCheck | MIT License |
app/src/main/java/io/freshdroid/mediapickerinstagram/lib/utils/TransitionUtils.kt | gm4s | 126,516,097 | false | null | package io.freshdroid.mymonzo.core.ui
import android.app.Activity
import android.content.Context
import androidx.fragment.app.Fragment
import io.freshdroid.mymonzo.core.R
object TransitionUtils {
/**
* Explicitly set a transition after starting an activity.
*
* @param context The activity that sta... | 2 | Kotlin | 24 | 61 | ceaade4ae51ac3dab228d9e04af9653e8ff14e3f | 1,652 | MediaPickerInstagram | Apache License 2.0 |
app/src/main/java/com/jiangkang/ktools/effect/fragment/ShapePathViewFragment.kt | mingrq | 248,896,835 | false | {"Gradle": 29, "Java Properties": 2, "Shell": 4, "Text": 2, "Ignore List": 21, "Batchfile": 1, "Git Attributes": 1, "Markdown": 3, "Proguard": 17, "Java": 174, "XML": 199, "Kotlin": 109, "JSON": 3, "YAML": 2, "CMake": 2, "AIDL": 1, "C++": 1, "JavaScript": 6, "HTML": 4, "CSS": 2, "Dart": 1} | package com.jiangkang.ktools.effect.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.jiangkang.ktools.R
import com.jiangkang.tools.extend.widget.addOnChangeListener
import kotlinx.android.synthe... | 1 | null | 1 | 1 | 3eb2b95e7fc7332173c6cebffac781a8f1547b8d | 1,386 | KTools | MIT License |
src/module/ContentNegotiationModule.kt | alessandroToninelli | 266,056,845 | false | null | package module
import io.ktor.application.Application
import io.ktor.application.install
import io.ktor.features.ContentNegotiation
import io.ktor.gson.gson
class ContentNegotiationModule : AppModule{
override fun install(application: Application) {
application.install(ContentNegotiation){
gso... | 0 | Kotlin | 0 | 0 | 105159069bee4a97715f61165b683c741b01820e | 345 | videostore | Apache License 2.0 |
app/src/main/java/com/samiu/wangank/ui/nav/adapter/NavigationAdapter.kt | SamiuZhong | 244,276,691 | false | null | package com.samiu.wangank.ui.nav.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.ListAdapter
import com.samiu.wangank.databinding.NavMenuItemLayoutBinding
/**
* [BottomNavDrawerFragment]的adapter
*
* @author Samiu 2020/3/31
* @github https://github.com/... | 0 | Kotlin | 3 | 12 | fb5ae9d14ab442c95e0210125f53aef9f060a3a9 | 1,320 | WanAndroid_Gank | MIT License |
Feed/src/main/java/com/j/jface/action/InformUserAction.kt | jeanchalard | 32,686,314 | false | {"Gradle": 6, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Java Properties": 1, "Java": 66, "JSON": 1, "XML": 49, "Kotlin": 43, "Proguard": 1} | package com.j.jface.action
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.text.SpannableStringBuilder
import android.view.View
import androidx.core.text.bold
import com.google.a... | 0 | Java | 0 | 0 | f0d651246ea90a81d598603b733cd24f28d44df5 | 4,337 | jface | Apache License 2.0 |
src/main/kotlin/org/alfalfa/fx/core/WindowStub.kt | dicolar | 49,516,149 | false | {"Kotlin": 9301} | package org.alfalfa.fx.core
import javafx.scene.Parent
import javafx.scene.image.Image
import javafx.stage.Modality
import javafx.stage.StageStyle
import javafx.stage.Window
open class WindowStub<T : AbstractController>(@JvmField val controller: T) {
fun <R : Parent?> getRoot(): R {
return controller.stag... | 1 | Kotlin | 122 | 302 | 30c49f1a542a6537744b08cd40a38c84ec881f0f | 1,729 | jbootx | Apache License 2.0 |
zowe-cli/src/jsMain/kotlin/zowe/cli/zosfiles/strings/Temp127.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | package zowe.cli.zosfiles.strings
external interface Temp127 {
var USSDIRNAME: String
}
| 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 91 | kotlin-externals | MIT License |
core/src/jvmMain/kotlin/kotlinx/fs/core/IOException.kt | cy6erGn0m | 168,707,260 | true | {"Kotlin": 63013} | package kotlinx.fs.core
import java.io.Closeable as JvmCloseable
actual typealias IOException = java.io.IOException | 0 | Kotlin | 0 | 0 | a5f427bf11d781696595c23e03fc7c8bf9558cba | 117 | kotlinx-fs | Apache License 2.0 |
locallydynamic-android-lib/integration-tests/installtimefeature/src/main/java/com/jeppeman/locallydynamic/integration_tests/installtimefeature/IntegrationTestsInstallTimeFeatureImpl.kt | poovarasanvasudevan | 239,129,218 | true | {"Kotlin": 319796, "Java": 302260, "Shell": 7767} | package com.jeppeman.locallydynamic.integration_tests.installtimefeature
import android.content.Context
import android.content.Intent
import androidx.fragment.app.Fragment
import com.google.auto.service.AutoService
import com.jeppeman.locallydynamic.integration_tests.InstallTimeFeature
@AutoService(InstallTimeFeature... | 0 | null | 0 | 0 | 9e52f801e8afdb88b245600dbfd4d6691fd22d95 | 696 | LocallyDynamic | Apache License 2.0 |
src/test/kotlin/br/com/zupacademy/gabrielamartins/endpoint/lista/ListaChavesPixEndpointTest.kt | gabrielamartinszup | 409,667,340 | true | {"Kotlin": 82274} | package br.com.zupacademy.gabrielamartins.endpoint.lista
import br.com.zupacademy.gabrielamartins.KeyManagerListaServiceGrpc
import br.com.zupacademy.gabrielamartins.ListarChavesPixRequest
import br.com.zupacademy.gabrielamartins.model.ChavePix
import br.com.zupacademy.gabrielamartins.model.Conta
import br.com.zupacad... | 0 | Kotlin | 0 | 0 | 1b007c351604cbf3a576fb0ed22d2e3751f333cb | 4,705 | orange-talents-07-template-pix-keymanager-grpc | Apache License 2.0 |
clef-workflow-api/clef-workflow-api-adapter/clef-workflow-api-adapter-element/src/main/java/io/arkitik/clef/workflow/api/adapter/element/repository/ElementFlowRepository.kt | arkitik | 443,436,455 | false | {"Kotlin": 433170, "Shell": 268, "Dockerfile": 244} | package io.arkitik.clef.workflow.api.adapter.element.repository
import io.arkitik.radix.adapter.shared.repository.RadixRepository
import io.arkitik.clef.workflow.api.entity.element.ElementFlow
import org.springframework.stereotype.Repository
/**
* Created By [**Ibrahim Al-Tamimi **](https://www.linkedin.com/in/iloo... | 0 | Kotlin | 0 | 0 | 785e1b4ee583b6a6e3ea01e656eecd8365f171ef | 531 | clef-workflow | Apache License 2.0 |
app/src/main/java/com/garan/wearwind/screens/Loading.kt | garanj | 338,176,338 | false | null | package com.garan.wearwind.screens
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.Alignment
import androidx.... | 0 | null | 2 | 2 | 7a3b9c39f5a02b05d830167840916ed43fdb209d | 1,893 | wearwind | Apache License 2.0 |
app/src/main/java/com/github/colinjeremie/willyoufindit/adapters/GenreAdapter.kt | colinjeremie | 53,530,048 | false | null | package com.github.colinjeremie.willyoufindit.adapters
import android.support.annotation.VisibleForTesting
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.deezer.sdk.model.Genre
import com.... | 0 | Kotlin | 0 | 0 | 12f336815f65bf7b675010913564f133f0b955b8 | 3,178 | WillYouFindIt | Apache License 2.0 |
app/src/main/java/com/thejuki/kformmasterexample/custom/helper/FormBuilderExtensions.kt | 7u4 | 156,162,862 | true | {"Kotlin": 355656, "Java": 12877} | package com.thejuki.kformmasterexample.custom.helper
import com.thejuki.kformmaster.helper.BaseElementBuilder
import com.thejuki.kformmaster.helper.FormBuildHelper
import com.thejuki.kformmasterexample.custom.model.FormCustomElement
/**
* Form Builder Extensions
*
* Used for Kotlin DSL to create the FormBuildHelpe... | 0 | Kotlin | 0 | 0 | 80328b007b7455f0bddbcff838e1bce7b3d28170 | 1,727 | KFormMaster | Apache License 2.0 |
support-refs_heads_androidx-master-dev-ui.tar/ui-foundation/src/main/java/androidx/ui/foundation/Image.kt | cpinan | 215,833,397 | false | null | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 1 | Kotlin | 1 | 3 | a4298de63f0cb4848269a9fe5b6a5ab59d68a4e5 | 3,350 | Android-Jetpack-Composer | Apache License 2.0 |
dbinspector/src/test/kotlin/com/infinum/dbinspector/domain/settings/usecases/SaveIgnoredTableNameUseCaseTest.kt | infinum | 17,116,181 | false | null | package com.infinum.dbinspector.domain.settings.usecases
import com.infinum.dbinspector.domain.Repositories
import com.infinum.dbinspector.shared.BaseTest
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.mockk
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import org.koin.co... | 0 | Kotlin | 93 | 936 | 10b9ac5013ca01e602976a615e754dff7001f11d | 1,086 | android_dbinspector | Apache License 2.0 |
src/main/kotlin/tech/aaregall/lab/functions/question/service/openai/OpenAiDTOs.kt | ArnauAregall | 648,974,932 | false | null | package tech.aaregall.lab.functions.question.service.openai
data class OpenAiChatCompletionRequest(
val model: String,
val messages: List<OpenAiMessage>
)
data class OpenAiChatCompletionResponse(
val choices: List<OpenAiChatAnswerChoice>
)
data class OpenAiChatAnswerChoice(
val index: Int,
val me... | 0 | Kotlin | 0 | 1 | 29279e0d32d8ead56b31463a515529901774d397 | 418 | aws-lambda-spring-cloud-function | Apache License 2.0 |
app/src/main/java/ru/otus/android/finish/services/UploadService.kt | vic-android | 840,340,266 | false | {"Kotlin": 21454} | package ru.otus.android.finish.services
import android.app.Service
import android.content.Intent
import android.os.Binder
import android.os.IBinder
import ru.otus.android.domain.FileUploader
import ru.otus.android.domain.FileUploader.ProgressCallback
import ru.otus.android.finish.MainActivity
import ru.otus.android.ut... | 0 | Kotlin | 1 | 0 | a9266e0e24543a1150e67d192bf23079ce192d59 | 2,076 | otus-service-lesson | Apache License 2.0 |
buildSrc/src/main/kotlin/SpotlessConfiguration.kt | wilksy | 213,588,424 | true | {"Git Config": 1, "Gradle Kotlin DSL": 6, "YAML": 4, "Text": 1, "Markdown": 5, "Java Properties": 1, "Shell": 3, "Ignore List": 5, "INI": 1, "CODEOWNERS": 1, "Proguard": 1, "XML": 78, "Kotlin": 76, "Java": 8, "CMake": 1, "C": 3, "Go Checksums": 1, "Go": 1, "Diff": 1, "Makefile": 1, "Go Module": 1} | /*
* Copyright © 2017-2019 WireGuard LLC.
* Copyright © 2018-2019 Harsh Shandilya <msfjarvis@gmail.com>. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
import com.diffplug.gradle.spotless.SpotlessExtension
import com.diffplug.gradle.spotless.SpotlessPlugin
import org.gradle.api.Project
import org.gra... | 0 | Kotlin | 0 | 0 | a57a384fe6b9da5b204ee2439bf78fbd17356b71 | 2,784 | viscerion | Apache License 2.0 |
api/src/main/java/dev/doubledot/doki/api/tasks/DokiApiCallback.kt | doubledotlabs | 174,850,580 | false | null | package dev.doubledot.doki.api.tasks
import dev.doubledot.doki.api.models.DokiManufacturer
interface DokiApiCallback {
fun onStart() {}
fun onSuccess(response: DokiManufacturer?)
fun onError(e: Throwable?) {
e?.printStackTrace()
}
}
| 11 | null | 15 | 161 | 4bed979c7db295af263f0f97f75d0d3a429513ff | 260 | doki | MIT License |
src/main/kotlin/AdbFinder.kt | parshav | 174,736,199 | false | null | import com.intellij.openapi.project.Project
import org.jetbrains.android.sdk.AndroidSdkUtils
object AdbFinder {
fun isAdbInstalled() = AndroidSdkUtils.isAndroidSdkAvailable()
fun adbPath(project: Project): String {
var adbPath = ""
val adbFile = AndroidSdkUtils.getAdb(project)
if (adb... | 0 | Kotlin | 0 | 1 | 93b14358ab7471807cd4e0ad76ded18e5b32515c | 419 | kwick-activity | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModuleProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.connect
import io.cloudshiftdev.awscdk.CfnTag
import io.cloudshiftdev.awscdk.common.CdkDslMarker
impo... | 1 | Kotlin | 0 | 4 | eb3eef728b34da593a3e55dc423d4f5fa3668e9c | 9,144 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/model/Bunny.kt | tobibo | 342,403,379 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 4ca067d51d01fd9ed1a4aacedc67385bf90979d2 | 3,595 | AdoptABunny | Apache License 2.0 |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/npcs/definitions/critters/giant_bat_level_27.plugin.kts | 2011Scape | 578,880,245 | false | null | package gg.rsmod.plugins.content.npcs.definitions.critters
import gg.rsmod.game.model.combat.SlayerAssignment
import gg.rsmod.plugins.content.drops.DropTableFactory
val ids = intArrayOf(Npcs.GIANT_BAT)
val table = DropTableFactory
val giantBat = table.build {
guaranteed {
obj(Items.BAT_BONES)
}
}
ta... | 39 | null | 45 | 34 | e5400cc71bfa087164153d468979c5a3abc24841 | 1,187 | game | Apache License 2.0 |
broadcast/samples/system/app/src/main/java/com/ansorod/systembroadcasts/receiver/LocaleChangeReceiver.kt | ansorod | 379,045,809 | false | null | package com.ansorod.systembroadcasts.receiver
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
class LocaleChangeReceiver: BroadcastReceiver() {
override fun onReceive(context: Context?, intent: Intent?) {
... | 0 | Kotlin | 0 | 0 | 7a02eadf933d52a521a2dd41fce5606ac8937fff | 819 | android_adv_school | Apache License 2.0 |
app/src/main/java/it/fscarponi/opensea/MainActivity.kt | fscarponi | 499,792,882 | false | null | package it.fscarponi.opensea
import android.content.Context
import android.net.Uri
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultCo... | 0 | Kotlin | 0 | 1 | 33b4e19c7a5d8a38d5ae0e5d4aae5f500c117a55 | 3,879 | OpenSea | MIT License |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/areas/spawns/spawns_15251.plugin.kts | 2011Scape | 578,880,245 | false | {"Kotlin": 8904349, "Dockerfile": 1354} | package gg.rsmod.plugins.content.areas.spawns
spawn_npc(
npc = Npcs.ALBINO_BAT,
x = 3796,
z = 9463,
height = 0,
walkRadius = 5,
direction = Direction.NORTH,
static = false,
) // Albino bat
spawn_npc(
npc = Npcs.ALBINO_BAT,
x = 3802,
z = 9448,
height = 0,
walkRadius = 5,
... | 39 | Kotlin | 143 | 34 | e5400cc71bfa087164153d468979c5a3abc24841 | 5,125 | game | Apache License 2.0 |
spring-boot/API cliente e cadastro/src/main/kotlin/sptech/projetojpa1/dominio/Pergunta.kt | kronos-agendamento | 758,290,087 | false | {"Kotlin": 39215, "HTML": 38487, "CSS": 23175, "JavaScript": 5155} | package sptech.projetojpa1.dominio
import jakarta.persistence.Entity
import jakarta.persistence.GeneratedValue
import jakarta.persistence.GenerationType
import jakarta.persistence.Id
import jakarta.persistence.ManyToOne
import org.hibernate.annotations.JdbcTypeCode
import org.hibernate.type.SqlTypes
@Entity
class Per... | 0 | Kotlin | 0 | 2 | 6ec5df80b3c05b4ea2d0436551da6f00cfaf9f44 | 523 | projeto-teste | MIT License |
threejs_kt/src/main/kotlin/three/CubicBezierCurve3.module_three.kt | liorgonnen | 278,797,136 | false | null | @file:JsQualifier("THREE")
@file:Suppress("ABSTRACT_MEMBER_NOT_IMPLEMENTED", "VAR_TYPE_MISMATCH_ON_OVERRIDE", "INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION", "PackageDirectoryMismatch")
package three.js
import kotlin.js.*
impor... | 0 | Kotlin | 2 | 4 | 6455743160f672803e94c4b9211d38588025746d | 855 | pacman3d | MIT License |
src/main/java/org/ethtrader/ticker/Entry.kt | jaycarey | 69,341,866 | false | null | package org.ethtrader.ticker
import java.io.File
import java.net.CookieHandler
import java.net.CookieManager
import java.net.URL
import java.util.concurrent.TimeUnit
fun main(args: Array<String>) {
try {
CookieHandler.setDefault(CookieManager(null, java.net.CookiePolicy.ACCEPT_ALL));
fun getResou... | 0 | Kotlin | 3 | 3 | 6a4883fa9eed62af2eaa481069406ad52d1f6ad7 | 2,895 | ethtrader-ticker | Apache License 2.0 |
app/src/main/kotlin/me/sweetll/tucao/business/drrr/DrrrDetailActivity.kt | rain2372 | 163,959,729 | true | {"Kotlin": 555375, "Java": 227611, "Makefile": 3381} | package me.sweetll.tucao.business.drrr
import android.app.Activity
import android.app.Dialog
import android.content.Context
import android.content.Intent
import android.databinding.DataBindingUtil
import android.net.Uri
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.view.L... | 1 | Kotlin | 1 | 1 | af67233c8b8e7fb418d0c0135dce58e3ba79f66b | 5,338 | Tucao | MIT License |
libraries/stdlib/jvm/compileOnly/ConcurrentModificationException.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | /*
* 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.
*/
package java.util
public open class ConcurrentModificationException : RuntimeException {
public construct... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 469 | kotlin | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.