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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
platform/vcs-impl/testSrc/com/intellij/openapi/vcs/LineStatusClientIdTrackerTest.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.vcs
import com.intellij.codeWithMe.ClientId
import com.intellij.openapi.vcs.ex.mergeSortedClientIds
import org.junit.Assert.assertEquals
import org.junit.Test
class Lin... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 2,061 | intellij-community | Apache License 2.0 |
plugins/kotlin/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/DebuggerTestUtils.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
@file:JvmName("DebuggerTestUtils")
package org.jetbrains.kotlin.idea.debugger.test
import org.jetbrains.kotlin.test.KotlinRoot
const val DEBUGGER_TESTDATA_PA... | 186 | null | 4323 | 13,182 | 26261477d6e3d430c5fa50c42b80ea8cfee45525 | 476 | intellij-community | Apache License 2.0 |
src/main/kotlin/io/github/gaming32/worldhostserver/serialization/FieldedSerializer.kt | Gaming32 | 609,157,750 | false | {"Kotlin": 97573, "Java": 5869, "Dockerfile": 364} | package io.github.gaming32.worldhostserver.serialization
import io.github.gaming32.worldhostserver.serialization.PacketSerializable.Companion.toSerializable
import java.nio.ByteBuffer
interface FieldedSerializer : PacketSerializable {
val fields: List<Any>
override fun encode(buf: ByteBuffer) = fields.fold(b... | 0 | Kotlin | 1 | 4 | 6865918769172ec1f453aaebc4523b684aaa1dee | 456 | world-host-server-kotlin | MIT License |
app/src/main/java/com/hazz/aipick/mvp/contract/CollectionContract.kt | backin | 286,701,113 | true | {"Java Properties": 2, "YAML": 3, "Gradle": 6, "Shell": 1, "Batchfile": 1, "Text": 1, "Ignore List": 4, "XML": 213, "Proguard": 2, "Java": 144, "Kotlin": 155, "JSON": 1} | package com.hazz.aipick.mvp.contract
import com.hazz.aipick.mvp.model.bean.*
import com.hazz.aipick.mvp.model.bean.Collection
import com.hazz.aipick.net.BaseView
import com.hazz.aipick.net.IBaseView
/**
* Description:
* Date:2019/4/9-14:03
* Author: cwh
*/
interface CollectionContract {
interface collection... | 0 | null | 0 | 0 | 14dc6cd6d28f186d68f423e3985f2258f8ecc90c | 623 | Aipick | Apache License 2.0 |
src/main/kotlin/com/eric/leetcode/PathSumII.kt | wanglikun7342 | 163,727,208 | false | null | package com.eric.leetcode
class TreeNode(var `val`: Int) {
var left: TreeNode? = null
var right: TreeNode? = null
}
class PathSumII {
fun pathSum(root: TreeNode?, sum: Int): List<List<Int>> {
val result = mutableListOf<List<Int>>()
if (root != null) {
val list = mutableListOf<... | 1 | Kotlin | 3 | 8 | c582a042dab299899893244365a4106a8b30d590 | 921 | Leetcode-Kotlin | Apache License 2.0 |
libraries/pushproviders/unifiedpush/src/main/kotlin/io/element/android/libraries/pushproviders/unifiedpush/network/DiscoveryUnifiedPush.kt | element-hq | 546,522,002 | false | {"Kotlin": 8692554, "Python": 57175, "Shell": 39911, "JavaScript": 20399, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44} | /*
* Copyright (c) 2023 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... | 263 | Kotlin | 129 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 859 | element-x-android | Apache License 2.0 |
sipservice/src/main/java/com/phone/sip/PhoneComLogger.kt | phonedotcom | 646,764,010 | false | {"Git Config": 1, "Gradle": 3, "Markdown": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "YAML": 2, "Proguard": 1, "Java": 315, "XML": 3, "Kotlin": 15} | package com.phone.sip
import android.content.Context
class PhoneComLogger(
var context: Context? = null,
var enableSipConsoleLogging: Boolean,
var enableSipFileLogging: Boolean,
var logFilePath: String
) {
private constructor(builder: Builder) : this(
builder.context,
builder.enab... | 1 | Java | 1 | 1 | c8fb9540398591b98277c84fc0f4d95de3bc2e01 | 1,575 | pdc-voip-android-sdk | Apache License 2.0 |
src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccessControlCluster.kt | project-chip | 244,694,174 | false | {"C++": 23580999, "Java": 6220546, "Python": 3675274, "C": 2251760, "Kotlin": 1773635, "Objective-C": 1369219, "ZAP": 815702, "Objective-C++": 757226, "Shell": 291840, "CMake": 174761, "Jinja": 132617, "Dockerfile": 70720, "Swift": 29310, "JavaScript": 2379, "Emacs Lisp": 1042, "Tcl": 311} | /*
*
* Copyright (c) 2023 Project CHIP Authors
*
* 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 requir... | 1,271 | C++ | 1709 | 6,518 | f06d9520d02d68076c5accbf839f168cda89c47c | 5,306 | connectedhomeip | Apache License 2.0 |
src/main/kotlin/org/platestack/api/plugin/PluginNamespace.kt | PlateStack | 91,766,401 | 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 agre... | 1 | Kotlin | 1 | 3 | e39e4f06b489a07677fff49553c02153f9af76f3 | 1,061 | PlateAPI | Apache License 2.0 |
oneadapter/src/androidTest/java/com/idanatz/oneadapter/tests/api/SetItems.kt | meruiden | 283,176,867 | true | {"Kotlin": 127601} | package com.idanatz.oneadapter.tests.api
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.idanatz.oneadapter.helpers.BaseTest
import org.amshove.kluent.shouldContainAll
import org.amshove.kluent.shouldEqualTo
import org.junit.Test
import org.junit.runner.RunWith
private const val NUM_OF_ITEMS_TO_GENERA... | 0 | null | 0 | 0 | 6ec600659874c1012ba1222d098eca8a78cddb2b | 1,198 | OneAdapter | MIT License |
compiler/testData/codegen/box/multiplatform/k2/defaultArguments/dispatchReceiverValue.kt | JetBrains | 3,432,266 | false | null | // LANGUAGE: +MultiPlatformProjects
// ISSUE: KT-41901, KT-57181
// MODULE: common
// FILE: common.kt
expect class C {
val value: String
fun test(result: String = value): String
}
// MODULE: platform()()(common)
// FILE: platform.kt
actual class C(actual val value: String) {
actual fun test(result: Str... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 378 | kotlin | Apache License 2.0 |
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/tasks/GenerateBuildConfig.kt | RivanParmar | 526,653,590 | false | {"Java": 48334972, "Kotlin": 8896058, "HTML": 109232, "Lex": 13233, "ReScript": 3232, "Makefile": 2194} | /*
* Copyright (C) 2012 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... | 1 | Java | 2 | 17 | 8fb2bb1433e734aa9901184b76bc4089a02d76ca | 12,976 | androlabs | Apache License 2.0 |
platform/util/progress/src/context.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@file:Suppress("DeprecatedCallableAddReplaceWith")
package com.intellij.platform.util.progress
import com.intellij.platform.util.progress.impl.EmptyProgressStep
import com.intellij.platform.util.pr... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 4,677 | intellij-community | Apache License 2.0 |
flowLib/src/main/java/net/globulus/easyflows/BundleProducer.kt | globulus | 206,127,537 | false | null | package net.globulus.easyflows
import android.os.Bundle
/**
* Retrieves a non-null Bundle from an activity. The main purpose of this interface is to allow
* flow activities to supply custom Bundles of data to their successor activities in the flow.
*/
@FunctionalInterface
interface BundleProducer {
val bundle:... | 0 | Kotlin | 0 | 5 | c726e6f96583a5bd99488caede6bb54c5314dc27 | 330 | easyflows | MIT License |
command/src/main/kotlin/com/seanshubin/game_4x/command/UniverseCommand.kt | SeanShubin | 204,213,077 | false | null | package com.seanshubin.game_4x.command
import arrow.core.Either
import com.seanshubin.game_4x.game.HasToObject
import com.seanshubin.game_4x.game.Universe
interface UniverseCommand : HasToObject {
fun execute(universe: Universe): Either<UniverseFailure, UniverseSuccess>
}
| 0 | Kotlin | 0 | 0 | a05479651479b5ab1470b925c015c7fa74cd59cb | 279 | game-4x | The Unlicense |
fotoapparat/src/main/java/io/fotoapparat/preview/Frame.kt | RedApparat | 85,997,051 | false | {"Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Markdown": 5, "Proguard": 2, "XML": 18, "Java": 9, "Kotlin": 163, "INI": 1} | package io.fotoapparat.preview
import io.fotoapparat.parameter.Resolution
import java.util.Arrays
/**
* Frame of the preview stream.
*/
data class Frame(
/**
* Resolution of the frame in pixels (before rotation).
*/
val size: Resolution,
/**
* Image in NV21 format.... | 91 | Kotlin | 418 | 3,813 | 9454f3e4d1d222799049b00f3d84b274c3e02ee6 | 1,267 | Fotoapparat | Apache License 2.0 |
app/src/main/java/com/unagit/douuajobsevents/ui/list/ItemAdapter.kt | mirokolodii | 147,497,109 | false | null | package com.unagit.douuajobsevents.ui.list
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.core.text.HtmlCompat
import androidx.paging.PagedListAdapter
import androidx.recyclerview.widget.DiffUtil
i... | 1 | null | 1 | 1 | d2b2f25596c8826180a2e097f5a92180890cb389 | 3,127 | Dou.ua-Jobs-Events | Apache License 2.0 |
kotlin/kotest-with-testcontainers/src/main/kotlin/de/welcz/kotestwithtestcontainers/BeerRepository.kt | enolive | 65,559,078 | false | {"Java": 150911, "Kotlin": 130819, "TypeScript": 121966, "Groovy": 76917, "JavaScript": 53147, "C#": 40972, "Haskell": 36546, "Python": 14709, "Scala": 12193, "HTML": 11513, "Clojure": 8840, "Gherkin": 8730, "Dart": 6755, "Ruby": 5800, "CSS": 3279, "Elm": 2803, "PHP": 2211, "Svelte": 1783, "Rust": 821, "Swift": 404, "P... | package de.welcz.kotestwithtestcontainers
import org.springframework.data.annotation.Id
import org.springframework.data.relational.core.mapping.Column
import org.springframework.data.relational.core.mapping.Table
import org.springframework.data.repository.kotlin.CoroutineCrudRepository
import java.math.BigDecimal
impo... | 88 | Java | 3 | 9 | f01141469ac86352f8dc511579ead10dc7563413 | 555 | learning | MIT License |
ConstraintLayoutDemo/app/src/main/java/com/renyu/constraintlayoutdemo/view/KeyTriggerView.kt | r17171709 | 23,950,456 | false | null | package com.renyu.constraintlayoutdemo.view
import android.content.Context
import android.graphics.Color
import android.util.AttributeSet
import android.view.View
class KeyTriggerView @JvmOverloads constructor(
context: Context,
attributeSet: AttributeSet?,
defStyleAttr: Int = 0
) : View(context, attribut... | 8 | null | 333 | 612 | ee75780c1187355d81bab329e62ecaad985d6832 | 486 | StudyDemo | Apache License 2.0 |
android/src/main/java/com/project5e/react/navigation/utils/NavHelper.kt | Project5E | 294,659,516 | false | null | package com.project5e.react.navigation.utils
import androidx.navigation.NavController
import androidx.navigation.NavDestination
import androidx.navigation.NavGraphNavigator
import androidx.navigation.NavigatorProvider
import androidx.navigation.fragment.NavHostFragment
import com.project5e.react.navigation.navigator.R... | 1 | Kotlin | 3 | 5 | 65f3ef0a6535e7c86ad40289ac5fd48725a145d6 | 1,343 | react-native-awesome-navigation | MIT License |
plugins/kotlin/idea/tests/testData/inspectionsLocal/usePropertyAccessSyntax/dotQualifiedExpressions/dontReplaceNotRealGetter.kt | JetBrains | 2,489,216 | false | null | // PROBLEM: none
fun main() {
J().<caret>canGetX()
} | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 57 | intellij-community | Apache License 2.0 |
clients/android/NewsBlur/src/com/newsblur/viewModel/StoryUserTagsViewModel.kt | samuelclay | 101,248 | false | null | package com.newsblur.viewModel
import android.database.Cursor
import android.os.CancellationSignal
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.newsblur.util.FeedUtils
import kotlinx.coroutines.Dispa... | 139 | Objective-C | 951 | 5,900 | 4502c17f893a491712d8b536ddcf740f97179a89 | 960 | NewsBlur | MIT License |
app/src/main/kotlin/com/ivanovsky/passnotes/domain/entity/filter/FilterCustomTypesStrategy.kt | aivanovski | 95,774,290 | false | null | package com.ivanovsky.passnotes.domain.entity.filter
import com.ivanovsky.passnotes.data.entity.Property
import com.ivanovsky.passnotes.domain.entity.filter.FilterDefaultTypesStrategy.Companion.DEFAULT_TYPES
class FilterCustomTypesStrategy : PropertyFilterStrategy {
override fun apply(properties: Sequence<Proper... | 4 | null | 1 | 7 | dc4abdf847393919f5480129b64240ae0469b74c | 424 | kpassnotes | Apache License 2.0 |
instrumented/nightly-tests/src/main/kotlin/com/datadog/android/nightly/activities/ViewTrackingMixedFragmentActivity.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.nightly.activities
import android.os.Bun... | 33 | Kotlin | 39 | 86 | bcf0d12fd978df4e28848b007d5fcce9cb97df1c | 889 | dd-sdk-android | Apache License 2.0 |
core/src/main/kotlin/ch/ergon/dope/QueryBuilder.kt | ergon | 745,483,606 | false | {"Kotlin": 1598239} | package ch.ergon.dope
import ch.ergon.dope.resolvable.clause.model.DeleteClause
import ch.ergon.dope.resolvable.clause.model.SelectClause
import ch.ergon.dope.resolvable.clause.model.SelectDistinctClause
import ch.ergon.dope.resolvable.clause.model.SelectRawClause
import ch.ergon.dope.resolvable.clause.model.UpdateCla... | 5 | Kotlin | 0 | 6 | 68697444eff3f46c4293438d060fb69a8f4cde9f | 1,283 | dope-query-builder | MIT License |
app/src/main/java/io/github/zwieback/familyfinance/business/chart/service/converter/pie/OperationPieSimpleConverter.kt | zwieback | 111,666,879 | false | null | package io.github.zwieback.familyfinance.business.chart.service.converter.pie
import android.content.Context
import com.github.mikephil.charting.data.PieEntry
import io.github.zwieback.familyfinance.business.chart.display.type.PieChartGroupByType
import io.github.zwieback.familyfinance.business.chart.service.calculato... | 0 | Kotlin | 0 | 0 | a640c6ce73ca195f2ee5e41ed71fbf6169d9bb3e | 2,686 | FamilyFinance | Apache License 2.0 |
testsuite/testrun-vaadin-hilla-hybrid/src/test/kotlin/AllTests.kt | mvysny | 401,408,279 | false | {"Kotlin": 182084} | package com.github.mvysny.kaributools.hybrid
import allTests21
import com.github.mvysny.dynatest.DynaTest
import com.github.mvysny.kaributools.*
import com.vaadin.flow.server.Platform
import java.io.File
import java.util.*
import kotlin.test.expect
class AllTests : DynaTest({
test("vaadin version") {
expe... | 1 | Kotlin | 2 | 5 | 2504a5e5038b8dab82be41089244d93bb915a654 | 1,132 | karibu-tools | Apache License 2.0 |
util/graph/src/main/kotlin/de/gleex/pltcmd/util/graph/typealias.kt | Baret | 227,677,538 | false | null | package de.gleex.pltcmd.util.graph
import org.jgrapht.Graph
internal typealias AnyGraph = Graph<*, *> | 46 | Kotlin | 0 | 4 | e82f7df817cfeec7b9441ecec756865f3f87104e | 103 | pltcmd | MIT License |
src/main/kotlin/me/yunleah/plugin/coldestiny/util/ItemUtil.kt | Yunleah | 664,422,335 | false | null | package me.yunleah.plugin.coldestiny.util
import me.yunleah.plugin.coldestiny.ColdEstiny
import org.bukkit.Location
import org.bukkit.entity.Player
import org.bukkit.inventory.ItemStack
import org.bukkit.util.Vector
import java.util.concurrent.ThreadLocalRandom
import kotlin.math.*
object ItemUtil {
/**
* 根据... | 0 | Kotlin | 0 | 2 | 366825bb2e2f495f145677ab5f18d7a81dc71ad3 | 3,385 | ColdEstiny | MIT License |
src/main/kotlin/com/mleon/forumkotlin/users/application/useCases/UserFinderAll.kt | ManuelLG92 | 738,086,273 | false | {"Kotlin": 62030, "Dockerfile": 252} | package com.mleon.forumkotlin.users.application.useCases
import com.mleon.forumkotlin.shared.application.dto.input.PaginationInputDto
import com.mleon.forumkotlin.shared.application.useCases.UseCasesHandler
import com.mleon.forumkotlin.users.application.dto.output.UserDtoBody
import com.mleon.forumkotlin.users.domain.... | 0 | Kotlin | 0 | 0 | ec3004e9c18dccb276d4c1991ad51f7ae1bd72a6 | 740 | forum-kotlin | MIT License |
src/test/kotlin/tech/relaycorp/veraid/pki/MemberCertificateTest.kt | relaycorp | 598,082,603 | false | null | package tech.relaycorp.veraid.pki
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.matchers.collections.shouldHaveSize
import io.kotest.matchers.date.shouldBeBefore
import io.kotest.matchers.date.shouldNotBeBefore
import io.kotest.matchers.shouldBe
import org.bouncycastle.asn1.x509.BasicConstraints
... | 7 | null | 0 | 2 | 9a42b70bfbf31fd95b3f071adc6f0073abea84e1 | 8,351 | veraid-jvm | Apache License 2.0 |
src/main/kotlin/edu/tuwien/maDMP/Validator/models/rda/Contact.kt | HasanKhatib | 197,985,156 | false | null | package edu.tuwien.maDMP.Validator.models.rda
class Contact {
var mail : String = ""
var name : String = ""
var contact_id : TypeIdentifier? = null
var contact : String = ""
override fun toString(): String {
return "(mail='$mail', name='$name', contact_id=${contact_id?.identifier}, contact=... | 0 | Kotlin | 0 | 2 | 52aa0b470d6755e69315caf99125506394299bbb | 342 | maDMPValidator-SpringBoot | MIT License |
app/src/main/java/com/ryosuke_mita/anatadare/IncomingCallSearchService.kt | sasakissa | 517,370,297 | false | {"Kotlin": 8374} | package com.ryosuke_mita.anatadare
import android.app.*
import android.content.Context
import android.content.Intent
import android.telecom.Call
import android.telecom.CallScreeningService
import android.util.Log
import androidx.core.app.NotificationCompat
const val CHANNEL_ID = "anatadare_notification_id"
class Inco... | 0 | Kotlin | 0 | 0 | bb91fd50a48d9c7eefad050f25e31818e26b3b7a | 1,577 | who-is-calling | MIT License |
android/core/src/main/java/com/coinbase/wallet/core/extensions/Observable+Core.kt | jaredxx1 | 238,661,303 | true | {"Swift": 41608, "Kotlin": 32769, "Ruby": 1104, "Objective-C": 469, "Makefile": 255} | package com.coinbase.wallet.core.extensions
import com.coinbase.wallet.core.util.Optional
import io.reactivex.Observable
import io.reactivex.Single
/**
* Take the first entry from an observable and return it as a single.
*
* @param T The observable type
*
* @return A [Single] element from the first emitted eleme... | 0 | null | 0 | 1 | c0794273603bcd5e53b770f3d3595e333b4bc356 | 1,806 | CBCore | Apache License 2.0 |
app/src/main/java/com/prush/justanotherplayer/repositories/GenreRepository.kt | iamporus | 203,219,989 | false | null | package com.prush.justanotherplayer.repositories
import android.content.Context
import android.database.Cursor
import android.provider.MediaStore
import android.util.Log
import com.prush.justanotherplayer.model.*
private const val TAG = "GenreRepository"
class GenreRepository : IGenreRepository {
override suspe... | 0 | Kotlin | 2 | 8 | 1d83a0cd55fa1d92c5bc1a6b0a95c34056809a14 | 2,941 | Yamp | Apache License 2.0 |
core-persistence/src/main/java/page/smirnov/wallester/core_persistence/domain/interactor/GetFavorites.kt | RankoR | 465,888,502 | false | {"Kotlin": 104194} | package page.smirnov.wallester.core_persistence.domain.interactor
import page.smirnov.wallester.core_persistence.data.model.Beer
import page.smirnov.wallester.core_persistence.data.repository.FavoritesRepository
interface GetFavorites {
suspend fun exec(): Result<List<Beer>>
}
class GetFavoritesImpl(
private... | 0 | Kotlin | 0 | 0 | 5720264750d5240281d45fc6c7341e09277e52db | 502 | WallesterTest | Apache License 2.0 |
network/src/main/java/com/migu/android/network/model/base/DynamicImage.kt | migu316 | 774,883,955 | false | {"Kotlin": 157386} | package com.migu.android.network.model.base
import com.google.gson.annotations.SerializedName
data class DynamicImage(
@SerializedName("imageId") val image:FileImage
) | 0 | Kotlin | 0 | 0 | 450c47d985042918bf22c687ea441273c3850b0a | 173 | LinkYou | Apache License 2.0 |
arrow-libs/core/arrow-core/src/jvmTest/kotlin/examples/example-option-24.kt | arrow-kt | 86,057,409 | false | {"Kotlin": 2793646, "Java": 7691} | // This file was automatically generated from Option.kt by Knit tool. Do not edit.
package arrow.core.examples.exampleOption24
import arrow.core.None
import arrow.core.Some
import io.kotest.matchers.shouldBe
fun test() {
Some(12).getOrNull() shouldBe 12
None.getOrNull() shouldBe null
}
| 38 | Kotlin | 436 | 5,958 | 5f0da6334b834bad481c7e3c906bee5a34c1237b | 293 | arrow | Apache License 2.0 |
android-aop-ksp/src/main/java/com/flyjingfish/android_aop_ksp/AndroidAopSymbolProcessorProvider.kt | FlyJingFish | 722,020,803 | false | {"Kotlin": 166067, "Java": 40881} | package com.flyjingfish.android_aop_ksp
import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
import com.google.devtools.ksp.processing.SymbolProcessorProvider
class AndroidAopSymbolProcessorProvider : SymbolProcessorProvider {
override fun cre... | 0 | Kotlin | 3 | 84 | dbda228d57afd1d0dc122d1bce6377e83616ca20 | 473 | AndroidAOP | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/Replay30.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Replay30")
package mui.icons.material
@JsName("default")
external val Replay30: SvgIconComponent
| 12 | null | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 180 | kotlin-wrappers | Apache License 2.0 |
libraries/rib-base/src/test/java/com/badoo/ribs/core/NodePluginNodeLifecycleAwareTest.kt | badoo | 170,855,556 | false | null | package com.badoo.ribs.core
import com.badoo.ribs.core.modality.BuildContext
import com.badoo.ribs.core.helper.TestBuilder
import com.badoo.ribs.core.plugin.NodeLifecycleAware
import com.nhaarman.mockitokotlin2.eq
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.verify
import org.junit.Test
i... | 30 | Kotlin | 45 | 144 | 200e81b11df212ece28fbced0516eb7033065afe | 1,333 | RIBs | Apache License 2.0 |
app/src/main/java/com/hailey/heating/android/logic/network/WeatherService.kt | sihui-w | 506,474,335 | false | {"Kotlin": 25117} | package com.hailey.heating.android.logic.network
import com.hailey.heating.android.HeatingApplication
import com.hailey.heating.android.logic.model.DailyResponse
import com.hailey.heating.android.logic.model.RealtimeResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
interface WeatherS... | 0 | Kotlin | 0 | 0 | f3d17336f01eb9827533ec6cfbb2ce6e0441361e | 686 | HeatingApp | Apache License 2.0 |
app/src/main/java/com/serpentcs/odoorpc/core/utils/recycler/entities/ErrorViewHolder.kt | shouyejing | 111,658,984 | false | null | package com.serpentcs.odoorpc.core.utils.recycler.entities
import android.support.v7.widget.RecyclerView
import com.serpentcs.odoorpc.databinding.ItemViewRecyclerErrorBinding
class ErrorViewHolder(
val binding: ItemViewRecyclerErrorBinding
) : RecyclerView.ViewHolder(binding.root)
| 0 | Kotlin | 1 | 0 | 230740e7979adcc89248a02f0632455e49ca40bc | 292 | odoo-rpc-android | MIT License |
app/src/main/java/com/steven/movieapp/adapter/MovieAdapter.kt | StevenYan88 | 174,098,969 | false | null | package com.steven.movieapp.adapter
import android.content.Context
import com.steven.movieapp.R
import com.steven.movieapp.bean.Movie
import com.steven.movieapp.utils.StringFormat
import com.steven.movieapp.widget.recyclerview.BaseRecyclerAdapter
import com.steven.movieapp.widget.recyclerview.BaseViewHolder
/**
* De... | 1 | null | 23 | 76 | 7903af00677417a20cf1e06e8b647c762ed90585 | 1,046 | MovieApp | Apache License 2.0 |
data/src/test/java/com/example/data/repository/MovieRemoteRepositoryImplTest.kt | rovargas15 | 504,692,026 | false | {"Kotlin": 102787} | package com.example.data.repository
import com.example.data.remote.api.MovieApi
import com.example.data.remote.dto.MovieDto
import com.example.data.remote.dto.MovieResponseDto
import com.example.data.util.Mapper
import com.example.domain.exception.BadRequestException
import com.example.domain.model.Movie
import com.ex... | 0 | Kotlin | 0 | 0 | a052c045f501e7399a68e3cb4453716f1aadc097 | 2,560 | Wigilabs | Apache License 2.0 |
shared/src/commonMain/kotlin/io.newm.shared/public/models/error/KMMException.kt | projectNEWM | 435,674,758 | false | {"Kotlin": 326567, "Swift": 233616} | package io.newm.shared.public.models.error
open class KMMException(message: String) : Throwable(message)
| 1 | Kotlin | 8 | 9 | 98b9e2d2dfe9ce29d53cf31f73a5a0172f742717 | 106 | newm-mobile | Apache License 2.0 |
modules/common/common_cache/src/main/kotlin/kekmech/ru/common_cache/core/DelegatingCacheHandle.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.common_cache.core
import io.reactivex.rxjava3.core.Maybe
import io.reactivex.rxjava3.core.Observable
import io.reactivex.rxjava3.core.Single
import kekmech.ru.common_cache.in_memory_cache.InMemoryCache
/**
* Taken from: https://github.com/vivid-money/lazycache
*/
internal class DelegatingCacheHan... | 9 | null | 4 | 25 | f94cb1d5234e3f8bb7632d5d78ac4f1cd74440e7 | 1,013 | mpeiapp | MIT License |
app/src/main/java/bakiev/artour/asyncu/ui/GoogleFoldersScreen.kt | artour-bakiev | 543,976,838 | false | {"Kotlin": 31177} | package bakiev.artour.asyncu.ui
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.runtime.... | 0 | Kotlin | 0 | 0 | f6178bd02ffb90a18179f368504058ec77bc77a2 | 1,100 | AsyncU | MIT License |
bindings/gtk/gtk4/src/nativeMain/kotlin/org/gtkkn/bindings/gtk/TextMark.kt | gtk-kn | 609,191,895 | false | {"Kotlin": 10448515, "Shell": 2740} | // This is a generated file. Do not modify.
package org.gtkkn.bindings.gtk
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.reinterpret
import kotlinx.cinterop.toKString
import org.gtkkn.bindings.gobject.Object
import org.gtkkn.extensions.common.asBoolean
import org.gtkkn.extensions.common.asGBoolean
import or... | 0 | Kotlin | 0 | 13 | c033c245f1501134c5b9b46212cd153c61f7efea | 6,719 | gtk-kn | Creative Commons Attribution 4.0 International |
amazon/secretsmanager/client/src/main/kotlin/org/http4k/connect/amazon/secretsmanager/action/DeleteSecret.kt | http4k | 295,641,058 | false | {"Kotlin": 1624385, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675} | package org.http4k.connect.amazon.secretsmanager.action
import org.http4k.connect.Http4kConnectAction
import org.http4k.connect.amazon.core.model.ARN
import org.http4k.connect.amazon.secretsmanager.SecretsManagerAction
import org.http4k.connect.amazon.secretsmanager.model.SecretId
import org.http4k.connect.model.Times... | 7 | Kotlin | 17 | 37 | 3522f4a2bf5e476b849ec367700544d89e006f71 | 735 | http4k-connect | Apache License 2.0 |
app/src/main/java/com/example/todolist/utils/extension/EditTextExt.kt | yoempanha | 730,547,101 | false | {"Kotlin": 38263} | package com.example.todolist.utils.extension
import android.os.Looper
import android.widget.EditText
import androidx.annotation.CheckResult
import androidx.core.widget.doOnTextChanged
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.channels.awaitClose
import kotlinx.coroutines.flow.Flow
i... | 0 | Kotlin | 0 | 0 | fb0dcd9f83ce886641f9966eb3ea112baa4bd246 | 939 | todo-list | Apache License 2.0 |
app/src/main/java/app/weatherapp/utils/CommonExtension.kt | akashjaindev | 243,681,534 | false | null | package app.weatherapp.utils
import android.content.Context
import android.widget.Toast
fun Any.toast(context: Context?, duration: Int = Toast.LENGTH_SHORT): Toast {
return Toast.makeText(context, this.toString(), duration).apply { show() }
} | 0 | Kotlin | 0 | 0 | 3a46e057497942ec5d539c02ebaf2dafddd73310 | 248 | WeatherApp | Apache License 2.0 |
paraglider-vbaa-be-repo-inmemory/src/test/kotlin/RepoSchoolInMemoryDeleteTest.kt | otuskotlin | 378,049,879 | false | null | import ru.kotlin.paraglider.vbaa.be.repo.common.IRepoSchool
import ru.kotlin.paraglider.vbaa.be.repo.test.RepoSchoolCreateTest
import ru.kotlin.paraglider.vbaa.be.repo.test.RepoSchoolDeleteTest
class RepoSchoolInMemoryDeleteTest: RepoSchoolDeleteTest() {
override val repo: IRepoSchool = RepoSchoolInMemory(
... | 0 | Kotlin | 0 | 0 | 59ab19ce0bdad96adfad0ef3b3d6e60f52789cb8 | 354 | ok-202105-paraglider-vbaa | MIT License |
app/src/main/java/io/exzocoin/wallet/entities/Address.kt | rexdev0211 | 403,525,735 | false | {"Kotlin": 2356794, "Shell": 2039, "Ruby": 966} | package io.exzocoin.wallet.entities
class Address(val hex: String, val domain: String? = null) {
val title: String
get() = domain ?: hex
}
| 0 | Kotlin | 1 | 0 | 1ed5d80490ecf1574499cafa5aad922c4ea9a362 | 152 | exzo-android-wallet-main | MIT License |
solar/src/main/java/com/chiksmedina/solar/bold/homefurniture/Chair2.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.homefurniture
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.Compan... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 5,859 | SolarIconSetAndroid | MIT License |
finish/src/main/java/org/tensorflow/lite/examples/classification/Map.kt | aauu1234 | 648,887,662 | false | null | package org.tensorflow.lite.examples.classification
import android.Manifest
import android.Manifest.permission.ACCESS_BACKGROUND_LOCATION
import android.Manifest.permission.ACCESS_FINE_LOCATION
import android.annotation.SuppressLint
import android.app.Activity
import android.app.NotificationChannel
import android.app.... | 0 | Kotlin | 0 | 0 | 6dfcaf7ea0cfe08dd981d5909df347856e120ac2 | 26,382 | mobile_cw2 | Apache License 2.0 |
ComposeArticle/app/src/main/java/com/example/composearticle/MainActivity.kt | mochfarizalhazmi | 702,006,868 | false | {"Kotlin": 149755} | package com.example.composearticle
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.l... | 0 | Kotlin | 0 | 0 | 9184529a93e1f2368c59a83ae7aa7d1168fe6f00 | 3,559 | ComposeCamp | MIT License |
app/src/main/java/msa/myfit/fragment/route/FinishRouteFragment.kt | IoanBasnic | 411,378,423 | false | null | package msa.myfit.fragment.route
import android.os.Build
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.RequiresApi
import androidx.appcompat.app.AppCompatActivit... | 0 | Kotlin | 0 | 0 | 646cec38ac07261a56d6b871b9ce3fe79e7c3b0c | 5,983 | MyFit | MIT License |
app/src/main/java/com/JYLeon/ScrollTextTest/MainActivity.kt | a369155609 | 854,428,875 | false | {"Kotlin": 25724} | package com.JYLeon.ScrollTextTest
import android.app.Activity
import android.os.Bundle
import android.widget.Button
import androidx.core.app.ComponentActivity
import com.jyleon.scrolltext.TextScrollView
class MainActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(... | 0 | Kotlin | 0 | 0 | f51b319bfd10c77d96237cd93deba805792d061b | 615 | ScrollText | Apache License 2.0 |
app/src/main/kotlin/io/github/importre/eddystone/UidValidator.kt | hojinchu99 | 46,778,834 | false | {"Kotlin": 79978, "Java": 674} | // Copyright 2015 Google Inc. 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 required by applicable ... | 0 | Kotlin | 0 | 0 | 50ff11b443d953f4212268326095c65fd4be5be8 | 3,233 | yeobara-android | MIT License |
geary-core/src/main/kotlin/com/mineinabyss/geary/ecs/api/engine/EngineHelpers.kt | MineInAbyss | 306,093,350 | false | null | package com.mineinabyss.geary.ecs.api.engine
import com.mineinabyss.geary.ecs.api.GearyComponentId
import com.mineinabyss.geary.ecs.api.entities.GearyEntity
import com.mineinabyss.geary.ecs.api.entities.toGeary
import com.mineinabyss.geary.ecs.api.systems.GearySystem
import com.mineinabyss.geary.ecs.components.Compone... | 20 | Kotlin | 9 | 16 | 6cae001ed4eb7803a921f772752d26f4e7a1d85d | 2,551 | Geary | MIT License |
livemap/src/commonMain/kotlin/jetbrains/livemap/api/Bars.kt | randomnetcat | 414,676,595 | true | {"Kotlin": 5330777, "Python": 751506, "C": 2832, "CSS": 1949, "Shell": 1759, "JavaScript": 1121} | package jetbrains.livemap.api
import jetbrains.datalore.base.typedGeometry.Vec
import jetbrains.datalore.base.typedGeometry.explicitVec
import jetbrains.datalore.base.values.Color
import jetbrains.livemap.Client
import jetbrains.livemap.chart.BarChart
import jetbrains.livemap.chart.ChartElementComponent
import jetbrai... | 0 | null | 0 | 0 | e7092424bb0c62183328552faec16ed062e42e7b | 4,678 | lets-plot | MIT License |
src/main/kotlin/network/commercio/sdk/entities/docs/CommercioDocReceipt.kt | liberorignanese | 242,141,981 | true | {"Kotlin": 77393} | package network.commercio.sdk.entities.docs
import com.fasterxml.jackson.annotation.JsonProperty
/**
* Represents a document receipt that indicates that the document having the given [documentUuid]
* present inside the transaction with has [txHash] and sent by [recipientDid] has been received from the [senderDid].
... | 0 | Kotlin | 0 | 0 | a9e6e46d6d780c92837c254a0591b671872e205b | 712 | commercio-sdk.kt | MIT License |
src/main/kotlin/com/quakbo/euler/Euler2.kt | quincy | 120,237,243 | false | null | package com.quakbo.euler
/*
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of t... | 0 | Kotlin | 0 | 0 | 01d96f61bda6e87f1f58ddf7415d9bca8a4913de | 2,354 | euler-kotlin | The Unlicense |
Line/src/main/java/io/github/devzwy/socialhelper/line/LineSocialConst.kt | devzwy | 493,205,062 | false | {"Kotlin": 69289, "Java": 10050} | package io.github.devzwy.socialhelper.line
class LineSocialConst {
companion object{
const val REQUEST_CODE_LINE_AUTH = 888
}
} | 0 | Kotlin | 0 | 12 | ef9417e624c5c41ed8dae86c25c4f1dbee12075a | 144 | SocialHelper | Apache License 2.0 |
app/src/main/java/com/technipixl/filrouge/Model/Center.kt | loich91 | 413,696,305 | false | {"Kotlin": 51678} | package com.technipixl.filrouge.Model
data class Center(
val latitude: Double,
val longitude: Double
) | 0 | Kotlin | 0 | 0 | 63ed5925c7b90ca2f9964ae2e17b3f35f008ce0a | 111 | technifutur-fil-rouge-and | Apache License 2.0 |
src/test/resources/test-compile-data/jvm/kotlin-web-site/whatsnew11/8ca7b9291f3de4ce4943237efbe85652.8.kt | AlexanderPrendota | 219,478,945 | false | null | //sampleStart
data class Person(val name: String, val age: Int) {
val isAdult get() = age >= 20 // Property type inferred to be 'Boolean'
}
//sampleEnd
fun main(args: Array<String>) {
val akari = Person("Akari", 26)
println("$akari.isAdult = ${akari.isAdult}")
} | 14 | Kotlin | 47 | 89 | 95326951087813b6dea8b5ef4234fc06f252bd80 | 278 | kotlin-compiler-server | Apache License 2.0 |
app/src/test/java/com/github/wanderwise_inc/app/ui/itineraries/ItineraryBannerTest.kt | WanderWise-Inc | 775,382,316 | false | {"Kotlin": 366771} | package com.github.wanderwise_inc.app.ui.itineraries
import androidx.compose.ui.test.assertHasClickAction
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithTag
import com.github.wanderwise_inc.app.model.location.Itinerar... | 8 | Kotlin | 0 | 1 | 418cd2e0015df86246be33742ab85e7f5bb86431 | 2,007 | app | MIT License |
app/src/main/java/com/hinterlong/kevin/swishticker/ui/MainActivity.kt | denzelpfeifer | 179,320,631 | true | {"Kotlin": 26219, "Java": 2184} | package com.hinterlong.kevin.swishticker.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import butterknife.ButterKnife
import com.hinterlong.kevin.swishticker.AppDatabase
imp... | 0 | Kotlin | 0 | 0 | 4c08ac9dda83fcead6e35507deeb711ec7a7455d | 5,291 | SwishTicker | Apache License 2.0 |
installation/installation-impl/src/main/java/com/duckduckgo/installation/impl/installer/InstallSourceExtractor.kt | hojat72elect | 822,396,044 | false | {"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784} |
package com.duckduckgo.installation.impl.installer
import android.annotation.SuppressLint
import android.content.Context
import android.os.Build.VERSION_CODES
import androidx.annotation.RequiresApi
import com.duckduckgo.appbuildconfig.api.AppBuildConfig
import com.duckduckgo.di.scopes.AppScope
import com.squareup.an... | 0 | Kotlin | 0 | 0 | 54351d039b85138a85cbfc7fc3bd5bc53637559f | 1,323 | DuckDuckGo | Apache License 2.0 |
src/commonMain/kotlin/ui/TamraUi.kt | lifenjoy51 | 514,788,143 | false | null | package ui
import com.soywiz.korge.view.*
import com.soywiz.korim.bitmap.Bitmap
import com.soywiz.korim.color.Colors
import com.soywiz.korim.color.RGBA
inline fun Container.tamraRect(
width: Double,
height: Double,
color: RGBA = Colors.WHITE,
px: Int = 0, // x 위치.
py: Int = 0, // y 위치.
h... | 0 | Kotlin | 0 | 0 | 8f445630f312a629955e42a4e233d25176414094 | 1,260 | tamra-voyager | MIT License |
app/src/main/java/com/mezhendosina/sgo/app/activities/MainViewModel.kt | mezhendosina | 448,087,094 | false | {"Kotlin": 580262, "Java": 5030} | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 11 | 747c5d1dcfe093009f51c0bf16009076a6784007 | 2,374 | che-zadali-app | Apache License 2.0 |
kotlin/goi/src/main/kotlin/net/paploo/goi/persistence/jsonfile/grammarrule/JsonFileGrammarRuleDao.kt | paploo | 526,415,165 | false | {"Kotlin": 551045, "Ruby": 153592, "Java": 50625, "ANTLR": 2824, "CSS": 1827, "PLpgSQL": 274} | package net.paploo.goi.persistence.jsonfile.grammarrule
import net.paploo.goi.common.extensions.flatMap
import net.paploo.goi.common.extensions.sequenceToResult
import net.paploo.goi.domain.data.grammar.GrammarRule
import net.paploo.goi.persistence.common.BulkDao
import java.nio.file.Path
class JsonFileGrammarRuleDao... | 3 | Kotlin | 0 | 0 | 88b9e39268e22f071d6825c052395d5a1bf3b8c5 | 737 | goi | MIT License |
src/main/kotlin/ru/tinkoff/cyclohexane/persistence/tables.kt | chemeugene | 562,566,384 | false | null | package ru.tinkoff.cyclohexane.persistence
import org.jetbrains.exposed.dao.id.UUIDTable
object Cluster : UUIDTable() {
val name = varchar("name", length = 255)
val bootstrapServers = text("bootstrapServers")
val saslMechanism = varchar("saslMechanism", length = 255)
val schemaRegistry = varchar("sche... | 0 | Kotlin | 0 | 0 | 70e9823f743a43c17c8f7de24826c29fafec2763 | 472 | cyclohexane | Apache License 2.0 |
src/main/kotlin/com/br/maximo/MaximoApplication.kt | oliveirabalsa | 347,522,073 | false | null | package com.br.maximo
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class MaximoApplication
fun main(args: Array<String>) {
runApplication<MaximoApplication>(*args)
}
| 0 | Kotlin | 0 | 0 | c021cfc0a6863a1462512b34571cdfa5f96685f0 | 263 | maximo-kotlin | MIT License |
widgetssdk/src/main/java/com/glia/widgets/view/unifiedui/theme/chat/MediaUpgradeTheme.kt | salemove | 312,288,713 | false | {"Kotlin": 1945551, "Java": 459268, "Shell": 1802} | package com.glia.widgets.view.unifiedui.theme.chat
import com.glia.widgets.view.unifiedui.Mergeable
import com.glia.widgets.view.unifiedui.merge
import com.glia.widgets.view.unifiedui.theme.base.ColorTheme
import com.glia.widgets.view.unifiedui.theme.base.LayerTheme
import com.glia.widgets.view.unifiedui.theme.base.Te... | 3 | Kotlin | 1 | 7 | 40ee60fa683c155eee923b5c3ae1a2c0610f0677 | 856 | android-sdk-widgets | MIT License |
src/main/kotlin/com/okta/demospringboot/DemoApplication.kt | oktadev | 320,715,748 | true | {"Kotlin": 2419} | package com.okta.demospringboot
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.Configuration
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.secur... | 0 | Kotlin | 2 | 3 | fd9e95f87d023598c4d9dc3db299c5f97bc70da2 | 1,159 | okta-spring-boot-docker-buildpacks-example | Apache License 2.0 |
src/commonMain/kotlin/com/drjcoding/plow/parser/parse_functions/expression_parse_functions/parseMemberAccess.kt | PlowLang | 377,725,033 | false | null | package com.drjcoding.plow.parser.parse_functions.expression_parse_functions
import com.drjcoding.plow.lexer.LexTokenStream
import com.drjcoding.plow.lexer.LexTokenType
import com.drjcoding.plow.parser.cst_nodes.expression_CST_nodes.ExpressionCSTNode
import com.drjcoding.plow.parser.cst_nodes.expression_CST_nodes.Memb... | 0 | Kotlin | 0 | 2 | d308cf06d1fa6a9c78022e96a1937fded78ec58f | 1,041 | Plow | MIT License |
src/main/kotlin/xd/arkosammy/cocoon/screen/TypeableView.kt | ArkoSammy12 | 836,117,966 | false | {"Kotlin": 16417, "Nix": 297} | package xd.arkosammy.cocoon.screen
import com.googlecode.lanterna.TerminalPosition
interface TypeableView : View {
val cursorPosition: TerminalPosition
} | 0 | Kotlin | 0 | 1 | 2ca9eb9694d3ba49909c440c271ee721d8b63d87 | 161 | cocoon | MIT License |
app/src/main/java/com/wreckingballsoftware/design/repos/SignMarkersRepo.kt | leewaggoner | 698,812,124 | false | {"Kotlin": 108052} | package com.wreckingballsoftware.design.repos
import com.wreckingballsoftware.design.database.DBSignMarker
import com.wreckingballsoftware.design.database.SignMarkersDao
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.withContext
class SignMarkersRepo(private val si... | 0 | Kotlin | 0 | 0 | e50de819b5d568124a1c982fb09209e197691a0e | 1,184 | design | Apache License 2.0 |
ProgrammingFundamentals/Ep4/StringPalindrome/src/Task.kt | The-Streamliners | 784,466,451 | false | {"Kotlin": 10641} | import com.faangx.ktp.basics.StringPalindromeCheckerMiniApp
fun reverseStr(str: String): String {
TODO()
}
fun isPalindrome(str: String, ignoreCase: Boolean): Boolean {
TODO()
}
fun areStringsEqual(s1: String, s2: String, ignoreCase: Boolean): Boolean {
TODO()
}
fun areCharsEqual(c1: Char, c2: Char, ign... | 0 | Kotlin | 17 | 0 | 84458fc973222d2a2f06bc74f188d48461b96aee | 521 | KTP-Course | MIT License |
app/shared/cloud-store/impl/src/iosMain/kotlin/build/wallet/cloud/store/iCloudAccountRepositoryImpl.kt | proto-at-block | 761,306,853 | false | {"C": 10551861, "Kotlin": 6455657, "Rust": 1874547, "Swift": 629125, "Python": 329146, "HCL": 257498, "Shell": 97542, "TypeScript": 81148, "C++": 64770, "Meson": 64252, "JavaScript": 36229, "Just": 26345, "Ruby": 9265, "Dockerfile": 5755, "Makefile": 3839, "Open Policy Agent": 1456, "Procfile": 80} | package build.wallet.cloud.store
import build.wallet.catching
import com.github.michaelbull.result.Result
import com.github.michaelbull.result.mapError
import platform.Foundation.NSFileManager
@Suppress("ClassName", "unused")
class iCloudAccountRepositoryImpl : iCloudAccountRepository {
override fun currentAccount(... | 0 | C | 6 | 74 | b7401e0b96f9378cbd96eb01914a4f888e0a9303 | 586 | bitkey | MIT License |
core/src/main/kotlin/org/tty/dioc/core/key/TransientKey.kt | h1542462994 | 374,315,892 | false | null | package org.tty.dioc.core.key
import org.tty.dioc.annotation.Component
import org.tty.dioc.annotation.Lifecycle
import org.tty.dioc.core.scope.Scope
import kotlin.reflect.KClass
/**
* the service of the identifier which lifecycle is [Lifecycle.Transient]
* @see [Lifecycle]
*/
@Component(lifecycle = Lifecycle.Trans... | 0 | Kotlin | 0 | 1 | f24ce47a59936ee21a7d705ef19b5c2e17208868 | 620 | dioc | MIT License |
app/src/main/java/com/rezen/reminderapp/di/DatabaseModule.kt | martinlutter | 370,136,236 | false | null | package com.rezen.reminderapp.di
import android.content.Context
import com.rezen.reminderapp.data.AppDatabase
import com.rezen.reminderapp.data.dao.ReminderDao
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components... | 0 | Kotlin | 0 | 0 | 137daa45aea7d1f0f0edff1880ee8531be4c35f9 | 726 | reminder-app | MIT License |
src/main/kotlin/dev/shtanko/algorithms/codingbat/recursion1/CountAbc.kt | ashtanko | 203,993,092 | false | {"Kotlin": 5994492, "Shell": 1168, "Makefile": 961} | /*
* Copyright 2024 <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 w... | 4 | Kotlin | 0 | 19 | aacc85a5d7a83b8a0294ee7311eb97990d53366b | 1,536 | kotlab | Apache License 2.0 |
app/src/main/java/com/udacity/location/reminder/main/MainViewModel.kt | RicardoBravoA | 319,756,115 | false | null | package com.udacity.location.reminder.main
import android.app.Application
import androidx.lifecycle.map
import com.udacity.location.reminder.base.BaseViewModel
class MainViewModel(app: Application) : BaseViewModel(app) {
val authenticationState = FirebaseUserLiveData().map { user ->
user?.let {
... | 0 | Kotlin | 0 | 0 | 4c88bdaf0ba56682fea18886718a69f76576544f | 414 | LocationReminder | Apache License 2.0 |
app/src/main/java/ru/popov/bodya/howmoney/presentation/ui/pendings/PendingTransactionsFragment.kt | lounah | 143,020,637 | true | {"Kotlin": 182292} | package ru.popov.bodya.howmoney.presentation.ui.pendings
import android.os.Bundle
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.view.View
import com.arellomobile.mvp.presenter.InjectPresenter
impo... | 0 | Kotlin | 0 | 0 | 5b0e4b42cbaa45bfe5e22cfd4005541694d37229 | 3,349 | HowMoney | MIT License |
src/main/kotlin/org/rust/lang/doc/RsDocPipeline.kt | artemmukhin | 139,466,496 | true | {"Kotlin": 3288683, "Rust": 77474, "Lex": 18933, "HTML": 11268, "Python": 6617, "Shell": 760, "Java": 586, "RenderScript": 318} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.doc
import com.intellij.codeInsight.documentation.DocumentationManagerProtocol
import com.intellij.psi.PsiComment
import com.intellij.psi.PsiWhiteSpace
import com.intellij.psi.SyntaxTravers... | 0 | Kotlin | 0 | 1 | 284a9eebf006df6ef99dfb28ad03b8cbf7eabd04 | 5,594 | intellij-rust | MIT License |
IdentityVerification/IdentityVerificationKotlinExample/app/src/main/java/com/transmitsecurity/idvsdkdemoapp/fragments/ProcessingFragment.kt | TransmitSecurity | 665,969,421 | false | null | package com.transmitsecurity.idvsdkdemoapp.fragments
import android.graphics.Typeface
import com.transmitsecurity.idvsdkdemoapp.R
class ProcessingFragment() : FirstFragment() {
override val title: String
get() = getString(R.string.processing_title)
override val visibleBtn: Boolean
get() = fal... | 0 | Kotlin | 0 | 0 | fb4ad7d3978b3c91ec2a05fbe8211b2829fc9f38 | 924 | transmit-android-samples | MIT License |
sykepenger-model/src/main/kotlin/no/nav/helse/serde/migration/JsonMigration.kt | navikt | 193,907,367 | false | null | package no.nav.helse.serde.migration
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.node.ObjectNode
import java.time.LocalDate
import java.util.UUID
import no.nav.helse.hendelser.somPeriode
import no.nav.helse.hendelser.til
import org.slf4j.LoggerFactory
fun interface MeldingerSu... | 2 | Kotlin | 6 | 5 | 2f940cad2bc6a756033a4e19edc5236a0648c971 | 3,542 | helse-spleis | MIT License |
app/src/main/java/github/sachin2dehury/owlmail/database/OwlMailDatabase.kt | owlmail | 391,310,709 | false | null | package github.sachin2dehury.owlmail.database
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import github.sachin2dehury.owlmail.datamodel.Mail
import github.sachin2dehury.owlmail.datamodel.ParsedMail
@Database(
entities = [Mail::class, ParsedMail::class, Datab... | 1 | Kotlin | 1 | 1 | 6b4415aafc8d7c3071b0d0e1f3a0cecbee867b12 | 606 | OwlMail-Legacy | Apache License 2.0 |
src/test/kotlin/com/forgerock/securebanking/tests/functional/funds/FundsConfirmationsTest.kt | SecureBankingAccessToolkit | 330,627,234 | false | null | package com.forgerock.securebanking.tests.functional.funds
import assertk.assertThat
import assertk.assertions.isEqualTo
import assertk.assertions.isNotEmpty
import assertk.assertions.isNotNull
import com.forgerock.openbanking.common.model.version.OBVersion
import com.forgerock.securebanking.framework.conditions.Statu... | 4 | null | 0 | 3 | faa318b17c67761dfe3a625f45ac29cbfdd1f2b7 | 16,484 | securebanking-openbanking-uk-functional-tests | Apache License 2.0 |
deck-extras/src/main/kotlin/conversation/Conversation.kt | SrGaabriel | 444,842,991 | false | null | package io.github.srgaabriel.deck.extras.conversation
import io.github.srgaabriel.deck.common.util.DeckExperimental
import io.github.srgaabriel.deck.core.entity.Message
import io.github.srgaabriel.deck.core.stateless.StatelessUser
import io.github.srgaabriel.deck.rest.builder.SendMessageRequestBuilder
import kotlinx.c... | 0 | Kotlin | 1 | 14 | 11b89730c01c3e620271c104dd745696c46be392 | 830 | deck | MIT License |
cosmos-sdk/src/jvmMain/kotlin/cosmos/bank/v1beta1/authz.converter.kt | jdekim43 | 759,720,689 | false | {"Kotlin": 8940168, "Java": 3242559} | // Transform from cosmos/bank/v1beta1/authz.proto
@file:GeneratorVersion(version = "0.3.1")
package cosmos.bank.v1beta1
import kr.jadekim.protobuf.`annotation`.GeneratorVersion
import kr.jadekim.protobuf.converter.ProtobufConverter
public actual object SendAuthorizationConverter : ProtobufConverter<SendAuthorization... | 0 | Kotlin | 0 | 0 | eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc | 359 | chameleon.proto | Apache License 2.0 |
app/src/main/java/tedee/mobile/demo/bluetooth/BluetoothWrapperListener.kt | tedee-com | 580,772,923 | false | {"Kotlin": 53395, "Java": 3604} | package tedee.mobile.demo.bluetooth
interface BluetoothWrapperListener {
fun onConnectionChanged(connected: Boolean, isSecure: Boolean)
fun onIndicationChanged(message: ByteArray)
fun onError(throwable: Throwable)
} | 0 | Kotlin | 0 | 1 | c1183bce6a56cbb9dedee9d71e2109ee86b4edb3 | 222 | tedee-example-ble-android | Apache License 2.0 |
app/src/main/java/com/example/careerboast/domain/model/mentors/Skills.kt | Ev4esem | 771,869,351 | false | {"Kotlin": 251126} | package com.example.careerboast.domain.model.mentors
data class Skills(
val id : Int = 0,
val title : String = ""
)
| 0 | Kotlin | 0 | 2 | 47152f44e977d6512b8d9f85f185515fafeff80b | 125 | CareerBoast | Apache License 2.0 |
app/src/main/java/com/nilsinojiya/cowin20/helper/ApiState.kt | nilsinojiya1 | 403,682,420 | false | {"Kotlin": 64236} | package com.nilsinojiya.cowin20.helper
import com.nilsinojiya.cowin20.models.Districts
import com.nilsinojiya.cowin20.models.Sessions
import com.nilsinojiya.cowin20.models.States
import retrofit2.Call
sealed class ApiState{
object Loading : ApiState()
class Failure(val mssg: Throwable) : ApiState()
class ... | 0 | Kotlin | 0 | 0 | 7f91fd33528f7e3134c7685c25f60ad93b201595 | 515 | CoWin2.0 | MIT License |
configurario-client-kotlin/src/main/kotlin/tech/harmonysoft/oss/configurario/client/factory/impl/KotlinConfigProviderFactory.kt | harmonysoft-tech | 792,802,600 | false | {"Kotlin": 96122, "Java": 26401} | package tech.harmonysoft.oss.configurario.client.factory.impl
import org.slf4j.LoggerFactory
import tech.harmonysoft.oss.configurario.client.ConfigProvider
import tech.harmonysoft.oss.configurario.client.context.ContextProvider
import tech.harmonysoft.oss.configurario.client.event.ConfigChangedEvent
import tech.harmon... | 0 | Kotlin | 0 | 0 | bff79f31c8e87c68e8f3dfcf1c80217c757ebc78 | 2,624 | configurario-client-jvm | MIT License |
modules/optics/arrow-optics/src/test/kotlin/arrow/optics/GetterTest.kt | paulcadman | 145,338,319 | true | {"Kotlin": 1537570, "CSS": 142107, "JavaScript": 66545, "HTML": 11364, "Java": 4465, "Shell": 3043} | package arrow.optics
import arrow.core.*
import arrow.data.k
import arrow.instances.StringMonoidInstance
import arrow.instances.monoid
import arrow.test.UnitSpec
import io.kotlintest.KTestJUnitRunner
import io.kotlintest.properties.Gen
import io.kotlintest.properties.forAll
import org.junit.runner.RunWith
@RunWith(KT... | 0 | Kotlin | 0 | 0 | 73bf80923d18c9a22d5383e93b99af4eb29c9f0d | 3,910 | arrow | Apache License 2.0 |
android/src/main/java/io/github/tonnyl/moka/ui/release/ReleaseScreen.kt | ETSEmpiricalStudyKotlinAndroidApps | 496,360,843 | false | {"Kotlin": 1391177, "Swift": 100384, "CSS": 30407, "JavaScript": 13933, "Shell": 2990} | package io.github.tonnyl.moka.ui.release
import android.text.format.DateUtils
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.CircleShap... | 0 | null | 0 | 0 | 34db6153b274028158de1ee08f080b1a8f985325 | 12,139 | Moka | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.